Creates an Environment and returns the newly created Environment (or an error if creating the Environment fails).
Arguments
CreateEnvironmentInput
required
Show CreateEnvironmentInput
The fields for creating an Environment.
String
required
The Environment’s unique name.
String
The Environment’s description.
Returns
Non-null
EnvironmentResponse
Show EnvironmentResponse
The result of a mutation which creates or modifies an Environment.
Environment
The Environment which was created or modified.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
Modifies an Environment with the provided fields. If any of the optional fields are omitted, those properties will be unchanged on the Environment.
Arguments
ModifyEnvironmentInput
required
Show ModifyEnvironmentInput
The fields for modifying an Environment.
ID
required
String
The Environment’s unique name.
String
The Environment’s description.
Returns
Non-null
EnvironmentResponse
Show EnvironmentResponse
The result of a mutation which creates or modifies an Environment.
Environment
The Environment which was created or modified.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
Row-level filters that the Access Policy applies before executing queries.deprecated: Use filtersSql insteadSee Filter
modifyDataPoolAccessPolicy
Modifies a Data Pool Access Policy with the provided unique name, description, columns and rows. If any of the optional arguments are omitted, those properties will be unchanged on the Data Pool Access Policy.
Arguments
ModifyDataPoolAccessPolicyInput
required
Show ModifyDataPoolAccessPolicyInput
ID
required
String
The Data Pool Access Policy’s new unique name.
String
The Data Pool Access Policy’s new description.
[String!]
Columns that the Access Policy makes available for querying. If not provided this property will not be modified.
String
Row-level filters that the Access Policy applies before executing queries, in the form of SQL. If not provided this property will not be modified.
Show Deprecated Fields
[FilterInput!]
deprecated
Row-level filters that the Access Policy applies before executing queries. If not provided this property will not be modified.deprecated: Use filterSql instead
Show FilterInput
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
Row-level filters that the Access Policy applies before executing queries.deprecated: Use filtersSql insteadSee Filter
deleteDataPoolAccessPolicy
Deletes a Data Pool Access Policy by ID and returns its ID if the Data Pool Access Policy was deleted successfully.
Arguments
ID
required
assignDataPoolAccessPolicyToApplication
Assign a Data Pool Access Policy to an Application.The Data Pool Access Policy will restrict the Data Pool rows and columns that the Application
can query. If the Data Pool has accessControlEnabled set to true, the Application
must have a Data Pool Access Policy assigned in order to query the Data Pool.An Application can have at most one Data Pool Access Policy assigned for a given Data Pool. If
an Application already has a Data Pool Access Policy for a given Data Pool, and you call this
mutation with another Data Pool Access Policy for the same Data Pool, the Application’s Data Pool Access
Policy will be replaced.
Arguments
ID
required
ID
required
unAssignDataPoolAccessPolicyFromApplication
Unassign a Data Pool Access Policy from an Application.Once unassigned, whether the Application will be able to query the Data Pool is
controlled by the Data Pool’s accessControlEnabled property. If
accessControlEnabled is true, the Application will no longer be able to query the
Data Pool. If accessControlEnabled is false, the Application will be able to query
all data in the Data Pool, unrestricted.
Arguments
ID
required
ID
required
createApplication
Creates a new Application and returns the newly created Application (or an error message if creating the Application fails).Required scopes:
APPLICATION_ADMIN
mutation { createApplication( input: { uniqueName: "example_sample_application" description: "My dashboard app" scopes: [DATA_POOL_QUERY] propeller: P1_X_SMALL } ) { ... on ApplicationResponse { application { id uniqueName } } ... on FailureResponse { error { code message } } }}
Arguments
createApplicationInput
required
Show createApplicationInput
The fields for creating an Application.
String
The Application’s unique name. If not specified, Propel will set the ID as unique name.
String
The Application’s description.
Propeller
The Application’s Propeller. If no Propeller is provided, Propel will set the Propeller to P1_X_SMALL.
Show Propeller
A Propeller determines your Application’s query processing power. The larger the Propeller, the faster the queries and the higher the cost. Every Propel Application (and therefore every set of API credentials) has a Propeller that determines the speed and cost of queries.
P1_X_SMALL: Max records per second: 5,000,000 records per second
P1_SMALL: Max records per second: 25,000,000 records per second
P1_MEDIUM: Max records per second: 100,000,000 records per second
P1_LARGE: Max records per second: 250,000,000 records per second
P1_X_LARGE: Max records per second: 500,000,000 records per second
[ApplicationScope!]
The Application’s API authorization scopes. If specified, at least one scope must be provided; otherwise, all scopes will be granted to the Application by default.
Show ApplicationScope
The API operations an Application is authorized to perform.
ADMIN: Grant read/write access to Data Sources, Data Pools, Metrics and Policies.
APPLICATION_ADMIN: Grant read/write access to Applications.
DATA_POOL_QUERY: Grant read access to query Data Pools.
DATA_POOL_READ: Grant read access to read Data Pools.
DATA_POOL_STATS: Grant read access to fetch column statistics from Data Pools.
ENVIRONMENT_ADMIN: Grant read/write access to Environments.
METRIC_QUERY: Grant read access to query Metrics.
METRIC_STATS: Grant read access to fetch Dimension statistics from Metrics.
METRIC_READ: Grant read access to Metrics.
This does not allow querying Metrics. For that, see METRIC_QUERY.
Returns
Nullable
ApplicationOrFailureResponse
Show ApplicationOrFailureResponse
The result of a mutation which creates or modifies an Application.If successful, an ApplicationResponse will be returned; otherwise, a
FailureResponse will be returned.
ApplicationResponse | FailureResponse
Show ApplicationResponse
The result of a mutation which creates or modifies an Application.
Application
The Application which was created or modified.See Application
Modifies an Application with the provided unique name, description, Propeller, and scopes. If any of the optional arguments are omitted, those properties will be unchanged on the Application.
Arguments
modifyApplicationInput
required
Show modifyApplicationInput
The fields for modifying an Application.
idOrUniqueName
required
The ID or unique name of the Application to modify.
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
String
The Application’s new unique name.
String
The Application’s new description.
Propeller
The Application’s new Propeller.
Show Propeller
A Propeller determines your Application’s query processing power. The larger the Propeller, the faster the queries and the higher the cost. Every Propel Application (and therefore every set of API credentials) has a Propeller that determines the speed and cost of queries.
P1_X_SMALL: Max records per second: 5,000,000 records per second
P1_SMALL: Max records per second: 25,000,000 records per second
P1_MEDIUM: Max records per second: 100,000,000 records per second
P1_LARGE: Max records per second: 250,000,000 records per second
P1_X_LARGE: Max records per second: 500,000,000 records per second
[ApplicationScope!]
The Application’s new API authorization scopes.
Show ApplicationScope
The API operations an Application is authorized to perform.
ADMIN: Grant read/write access to Data Sources, Data Pools, Metrics and Policies.
APPLICATION_ADMIN: Grant read/write access to Applications.
DATA_POOL_QUERY: Grant read access to query Data Pools.
DATA_POOL_READ: Grant read access to read Data Pools.
DATA_POOL_STATS: Grant read access to fetch column statistics from Data Pools.
ENVIRONMENT_ADMIN: Grant read/write access to Environments.
METRIC_QUERY: Grant read access to query Metrics.
METRIC_STATS: Grant read access to fetch Dimension statistics from Metrics.
METRIC_READ: Grant read access to Metrics.
This does not allow querying Metrics. For that, see METRIC_QUERY.
Returns
Nullable
ApplicationOrFailureResponse
Show ApplicationOrFailureResponse
The result of a mutation which creates or modifies an Application.If successful, an ApplicationResponse will be returned; otherwise, a
FailureResponse will be returned.
ApplicationResponse | FailureResponse
Show ApplicationResponse
The result of a mutation which creates or modifies an Application.
Application
The Application which was created or modified.See Application
Deletes an Application by ID and returns its ID if the Application was deleted successfully.
Arguments
ID
required
deleteApplicationByName
Deletes an Application by unique name and returns its ID if the Application was deleted successfully.
Arguments
String
required
createSnowflakeDataSource
Creates a new Data Source from the given Snowflake database using the specified Snowflake account, warehouse, schema, username, and role.Returns the newly created Data Source (or an error message if creating the Data Source fails).
Arguments
createSnowflakeDataSourceInput
required
Show createSnowflakeDataSourceInput
The fields for creating a Snowflake Data Source.
String
The Data Source’s unique name. If not specified, Propel will set the ID as unique name.
String
The Data Source’s description.
SnowflakeConnectionSettingsInput
required
The Data Source’s connection settings.
Show SnowflakeConnectionSettingsInput
The fields for creating a Snowflake Data Source’s connection settings.
String
required
The Snowflake account. Only include the part before the “snowflakecomputing.com” part of your Snowflake URL (make sure you are in classic console, not Snowsight). For AWS-based accounts, this looks like “znXXXXX.us-east-2.aws”. For Google Cloud-based accounts, this looks like “ffXXXXX.us-central1.gcp”.
String
required
The Snowflake database name.
String
required
The Snowflake warehouse name. It should be “PROPELLING” if you used the default name in the setup script.
String
required
The Snowflake schema.
String
required
The Snowflake username. It should be “PROPEL” if you used the default name in the setup script.
String
required
The Snowflake password.
String
required
The Snowflake role. It should be “PROPELLER” if you used the default name in the setup script.
Returns
Nullable
DataSourceOrFailureResponse
Show DataSourceOrFailureResponse
The result of a mutation which creates or modifies a DataSource.If successful, an DataSourceResponse will be returned; otherwise, a
FailureResponse will be returned.
DataSourceResponse | FailureResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.See DataSource
Modifies a Data Source with the provided unique name, description, and connection settings. If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.
Arguments
modifySnowflakeDataSourceInput
required
Show modifySnowflakeDataSourceInput
The fields for modifying a Snowflake Data Source.
idOrUniqueName
required
The ID or unique name of the Data Source to modify.
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
String
The Data Source’s new unique name.
String
The Data Source’s new description.
PartialSnowflakeConnectionSettingsInput
The Data Source’s new connection settings.
Show PartialSnowflakeConnectionSettingsInput
The fields for modifying a Snowflake Data Source’s connection settings.
String
The Snowflake account. Only include the part before the “snowflakecomputing.com” part of your Snowflake URL (make sure you are in classic console, not Snowsight). For AWS-based accounts, this looks like “znXXXXX.us-east-2.aws”. For Google Cloud-based accounts, this looks like “ffXXXXX.us-central1.gcp”. If not provided this property will not be modified.
String
The Snowflake database name. If not provided this property will not be modified.
String
The Snowflake warehouse name. It should be “PROPELLING” if you used the default name in the setup script. If not provided this property will not be modified.
String
The Snowflake schema. If not provided this property will not be modified.
String
The Snowflake username. It should be “PROPEL” if you used the default name in the setup script. If not provided this property will not be modified.
String
The Snowflake password. If not provided this property will not be modified.
String
The Snowflake role. It should be “PROPELLER” if you used the default name in the setup script. If not provided this property will not be modified.
Returns
Nullable
DataSourceOrFailureResponse
Show DataSourceOrFailureResponse
The result of a mutation which creates or modifies a DataSource.If successful, an DataSourceResponse will be returned; otherwise, a
FailureResponse will be returned.
DataSourceResponse | FailureResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.See DataSource
Attempts to reconnect a Data Source. The mutation then returns the Data Source object.
Arguments
idOrUniqueName
required
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
Returns
Nullable
DataSource
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
ID
required
The Data Source’s unique identifier.
String
required
The Data Source’s unique name.
String
required
The Data Source’s description.
Account
required
The Data Source’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Data Source’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
A list of checks performed on the Data Source during its most recent connection attempt.
Show DataSourceCheck
The Data Source Check object.Data Source Checks are executed when setting up your Data Source. They check that Propel will be able to receive data and setup Data Pools.The exact Checks to perform vary by Data Source. For example, Snowflake-backed Data Sources will have their own specific Checks.
String
required
The name of the Data Source Check to be performed.
String
A description of the Data Source Check to be performed.
DataSourceCheckStatus
required
The status of the Data Source Check (all checks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).See DataSourceCheckStatus
Error
If the Data Source Check failed, this field includes a descriptive error message.See Error
DateTime
The time at which the Data Source Check was performed.
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Introspects the tables in a Data Source.Returns the tables along with when they were last cached from the Data Source.
Arguments
idOrUniqueName
required
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
Returns
Nullable
TableIntrospection
Show TableIntrospection
The table introspection object.When setting up a Data Source, Propel may need to introspect tables in order to determine what tables and columns are available to create Data Pools from. The table introspection represents the lifecycle of this operation (whether it’s in-progress, succeeded, or failed) and the resulting tables and columns. These will be captured as table and column objects, respectively.
DataSource
required
The Data Source the table introspection was performed for.
See DataSource
TableIntrospectionStatus
required
The status of the table introspection.
Show TableIntrospectionStatus
The status of a table introspection.
NOT_STARTED: The table introspection has not started.
STARTED: The table introspection has started.
SUCCEEDED: The table introspection succeeded.
FAILED: The table introspection failed.
DateTime
required
The table introspection’s creation date and time in UTC.
String
required
The table introspection’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.
DateTime
required
The table introspection’s last modification date and time in UTC.
String
required
The table introspection’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.
Tests that Propel can actually connect to the data warehouse. Updates the status.
Arguments
idOrUniqueName
required
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
Returns
Nullable
DataSourceOrFailureResponse
Show DataSourceOrFailureResponse
The result of a mutation which creates or modifies a DataSource.If successful, an DataSourceResponse will be returned; otherwise, a
FailureResponse will be returned.
DataSourceResponse | FailureResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.See DataSource
Deletes a Data Source by ID and returns its ID if the Data Source was deleted successfully.
Arguments
ID
required
deleteDataSourceByName
Deletes a Data Source by unique name and returns its ID if the Data Source was deleted successfully.
Arguments
String
required
createDataPoolV2
Creates a new Data Pool.Returns the newly created Data Pool or an error message if it fails.
mutation { createDataPoolV2(input: { dataSource: "DSOXXXXX" table: "tacosoft_sales_analytics" timestamp: { columnName: "timestamp" } columns: [ { columnName: "timestamp", type: TIMESTAMP, isNullable: true }, { columnName: "order_id", type: STRING, isNullable: true }, { columnName: "taco_name", type: STRING, isNullable: true }, { columnName: "toppings", type: JSON, isNullable: true }, { columnName: "quantity", type: INT32, isNullable: true }, { columnName: "taco_unit_price", type: INT32, isNullable: true }, { columnName: "taco_total_price", type: INT32, isNullable: true } ] }) { dataPool { id uniqueName tableSettings { orderBy engine { ... on MergeTreeTableEngine { type } ... on ReplacingMergeTreeTableEngine { type ver } ... on SummingMergeTreeTableEngine { type columns } ... on AggregatingMergeTreeTableEngine { type } ... on PostgreSqlTableEngine { type } } } }}}
Arguments
CreateDataPoolInputV2
required
Show CreateDataPoolInputV2
The fields for creating a Data Pool.
ID
The Data Source that will be used to create the Data Pool.
String
The table that the Data Pool will sync from.
TimestampInput
The table’s primary timestamp column.Propel uses the primary timestamp to order and partition your data in Data Pools. It’s part of what makes Propel
fast for larger data sets. It will also serve as the time dimension for your Metrics.If you do not provide a primary timestamp column, you will need to supply an alternate timestamp when querying your
Data Pool or its Metrics using the TimeRangeInput.
Show TimestampInput
The fields to specify the Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.
String
required
The name of the column that represents the primary timestamp.
String
The Data Pool’s unique name. If not specified, Propel will set the ID as the unique name.
String
The Data Pool’s description.
[DataPoolColumnInput!]
The list of columns.
Show DataPoolColumnInput
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
The ClickHouse type to use when type is set to CLICKHOUSE.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Enables or disables access control for the Data Pool.If the Data Pool has access control enabled, Applications must be assigned Data Pool Access
Policies in order to query the Data Pool and its Metrics.
TableSettingsInput
Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a
default will be chosen based on the Data Pool’s timestamp and uniqueId values, if any. You can override these
defaults in order to specify a custom table engine, custom ORDER BY, etc.
Show TableSettingsInput
A Data Pool’s table settings.These describe how the Data Pool’s table is created in ClickHouse.
TableEngineInput
The ClickHouse table engine for the Data Pool’s table.This field is optional. A default will be chosen based on the Data Pool’s timestamp and uniqueId values, if specified.See TableEngineInput
[String!]
The PARTITION BY clause for the Data Pool’s table.This field is optional. A default will be chosen based on the Data Pool’s timestamp and uniqueId values, if specified.
[String!]
The PRIMARY KEY clause for the Data Pool’s table.This field is optional. A default will be chosen based on the Data Pool’s timestamp and uniqueId values, if specified.
[String!]
The ORDER BY clause for the Data Pool’s table.This field is optional. A default will be chosen based on the Data Pool’s timestamp and uniqueId values, if specified.
String
The TTL clause for the Data Pool’s table.
Show Deprecated Fields
TenantInput
deprecated
The Data Pool’s optional tenant ID column. The tenant ID column is used to control access to your data with access policies.deprecated: Will be removed; use Data Pool Access Policies instead
Show TenantInput
The fields to specify the Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.
String
required
The name of the column that represents the tenant ID.
UniqueIdInput
deprecated
The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.deprecated: Will be removed; use table settings to define the primary key.
Show UniqueIdInput
The fields to specify the Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.
String
required
The name of the column that represents the unique ID.
Returns
Nullable
DataPoolResponse
Show DataPoolResponse
The result of a mutation which creates or modifies a Data Pool.
DataPool
The Data Pool which was created or modified.
Show DataPool
The Data Pool object. Data Pools are Propel’s high-speed data store and cache
Whether the Data Pool has access control enabled or not.If the Data Pool has access control enabled, Applications must be assigned Data Pool Access
Policies in order to query the Data Pool and its Metrics.
DataPoolAccessPolicyConnection
required
A paginated list of Data Pool Access Policies available on the Data Pool.
Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.
The Data Pool’s tenant ID, if configured.deprecated: Will be removed; use Data Pool Access Policies insteadSee Tenant
UniqueId
deprecated
The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.deprecated: Will be removed; use table settings to define the primary key.See UniqueId
modifyDataPool
Modifies a Data Pool with the provided unique name, description, and data retention time. If any of the optional arguments are omitted, those properties will be unchanged on the Data Pool.
Arguments
modifyDataPoolInput
required
Show modifyDataPoolInput
The fields for modifying a Data Pool.
idOrUniqueName
required
The ID or unique name of the Data Pool to modify.
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
The table’s primary timestamp column.Propel uses the primary timestamp to order and partition your data in Data Pools. It’s part of what makes Propel
fast for larger data sets. It will also serve as the time dimension for your Metrics.If you do not provide a primary timestamp column, you will need to supply an alternate timestamp when querying your
Data Pool or its Metrics using the TimeRangeInput.
Show TimestampInput
The fields to specify the Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.
String
required
The name of the column that represents the primary timestamp.
Boolean
Enables or disables access control for the Data Pool.If the Data Pool has access control enabled, Applications must be assigned Data Pool Access
Policies in order to query the Data Pool and its Metrics.
Returns
Nullable
DataPoolOrFailureResponse
Show DataPoolOrFailureResponse
The result of a mutation which creates or modifies a Data Pool.If successful, an DataPoolResponse will be returned; otherwise, a
FailureResponse will be returned.
DataPoolResponse | FailureResponse
Show DataPoolResponse
The result of a mutation which creates or modifies a Data Pool.
DataPool
The Data Pool which was created or modified.See DataPool
Retries to set up the Data Pool identified by the given ID.
Arguments
ID
required
Returns
Nullable
DataPool
Show DataPool
The Data Pool object. Data Pools are Propel’s high-speed data store and cache
ID
required
The Data Pool’s unique identifier.
String
required
The Data Pool’s unique name.
String
required
The Data Pool’s description.
Account
required
The Data Pool’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Data Pool’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
CREATED: The Data Pool has been created and will be set up soon.
PENDING: Propel is attempting to set up the Data Pool.
LIVE: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.
SETUP_FAILED: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.
CONNECTING
CONNECTED
BROKEN
PAUSING
PAUSED
DELETING: Propel is deleting the Data Pool and all of its associated data.
Int
required
The Data Pool’s data retention in days (not yet supported).
String
required
The name of the Data Pool’s table.
Timestamp
The Data Pool’s primary timestamp column, if any.
Show Timestamp
A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.
String
required
The name of the column that represents the primary timestamp.
String
required
The primary timestamp column’s type.
String
The number of records in the Data Pool.
Float
The amount of storage in terabytes used by the Data Pool.
The Data Pool column connection’s nodes.See DataPoolColumn
PageInfo
required
The Data Pool column connection’s page info.See PageInfo
[DataPoolSetupTask!]
A list of setup tasks performed on the Data Pool during its most recent setup attempt.
Show DataPoolSetupTask
The Data Pool Setup Task object.Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.
String
required
The name of the Data Pool Setup Task to be performed.
String
A description of the Data Pool Setup Task to be performed.
DataPoolSetupTaskStatus
required
The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).See DataPoolSetupTaskStatus
Error
If the Data Pool Setup Task failed, this field includes a descriptive error message.See Error
DateTime
The time at which the Data Pool Setup Task was completed.
The syncing interval.Note that the syncing interval is approximate. For example, setting the syncing interval to EVERY_1_HOUR
does not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to
when the Data Pool goes LIVE, and Propel will attempt to sync approximately every hour. Additionally,
if you pause or resume syncing, this too can shift the syncing interval around.See DataPoolSyncInterval
DateTime
The date and time of the most recent Sync in UTC.
SyncConnection
The list of Syncs of the Data Pool.
Arguments
SyncsFilter
Show SyncsFilter
The filter to apply when listing the Syncs for a Data Pool.
EMPTY: Returns only Syncs with empty records.
NOT_EMPTY: Returns only Syncs that contain one or more records.
ALL: Returns all Syncs, regardless of whether they contain records or not.
Whether the Data Pool has access control enabled or not.If the Data Pool has access control enabled, Applications must be assigned Data Pool Access
Policies in order to query the Data Pool and its Metrics.
DataPoolAccessPolicyConnection
required
A paginated list of Data Pool Access Policies available on the Data Pool.
Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.
Arguments
String
required
Show ValidateExpressionResult
Response returned by the validateExpression query for validating expressions in Custom Metrics.Returns whether the expression is valid or not with a reason explaining why.
Boolean
required
True if the expression is valid, false otherwise.
String
The reason for why the expression is not valid in case it isn’t, null otherwise.
TableSettings
required
The Data Pool’s table settings.
Show TableSettings
A Data Pool’s table settings.These describe how the Data Pool’s table is created in ClickHouse.
TableEngine
The ClickHouse table engine for the Data Pool’s table.See TableEngine
[String!]
The PARTITION BY clause for the Data Pool’s table.
[String!]
The PRIMARY KEY clause for the Data Pool’s table.
[String!]
The ORDER BY clause for the Data Pool’s table.
String
The TTL clause for the Data Pool’s table.
[DataPoolColumn!]
The Data Pool’s columns that participate in its PARTITION BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its PRIMARY KEY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its ORDER BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
Show Deprecated Fields
Error
deprecated
deprecated: Refer to setupTasks instead
Show Error
The error object.
Int
The error code.
String
required
The error message.
Tenant
deprecated
The Data Pool’s tenant ID, if configured.deprecated: Will be removed; use Data Pool Access Policies instead
Show Tenant
A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.
String
required
The name of the column that represents the tenant ID.
String
required
The tenant ID column’s type.
UniqueId
deprecated
The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.deprecated: Will be removed; use table settings to define the primary key.
Show UniqueId
A Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.
String
required
The name of the column that represents the unique ID.
retryDataPoolSetupByName
Retries to set up the Data Pool identified by the given unique name.
Arguments
String
required
Returns
Nullable
DataPool
Show DataPool
The Data Pool object. Data Pools are Propel’s high-speed data store and cache
ID
required
The Data Pool’s unique identifier.
String
required
The Data Pool’s unique name.
String
required
The Data Pool’s description.
Account
required
The Data Pool’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Data Pool’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
CREATED: The Data Pool has been created and will be set up soon.
PENDING: Propel is attempting to set up the Data Pool.
LIVE: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.
SETUP_FAILED: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.
CONNECTING
CONNECTED
BROKEN
PAUSING
PAUSED
DELETING: Propel is deleting the Data Pool and all of its associated data.
Int
required
The Data Pool’s data retention in days (not yet supported).
String
required
The name of the Data Pool’s table.
Timestamp
The Data Pool’s primary timestamp column, if any.
Show Timestamp
A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.
String
required
The name of the column that represents the primary timestamp.
String
required
The primary timestamp column’s type.
String
The number of records in the Data Pool.
Float
The amount of storage in terabytes used by the Data Pool.
The Data Pool column connection’s nodes.See DataPoolColumn
PageInfo
required
The Data Pool column connection’s page info.See PageInfo
[DataPoolSetupTask!]
A list of setup tasks performed on the Data Pool during its most recent setup attempt.
Show DataPoolSetupTask
The Data Pool Setup Task object.Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.
String
required
The name of the Data Pool Setup Task to be performed.
String
A description of the Data Pool Setup Task to be performed.
DataPoolSetupTaskStatus
required
The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).See DataPoolSetupTaskStatus
Error
If the Data Pool Setup Task failed, this field includes a descriptive error message.See Error
DateTime
The time at which the Data Pool Setup Task was completed.
The syncing interval.Note that the syncing interval is approximate. For example, setting the syncing interval to EVERY_1_HOUR
does not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to
when the Data Pool goes LIVE, and Propel will attempt to sync approximately every hour. Additionally,
if you pause or resume syncing, this too can shift the syncing interval around.See DataPoolSyncInterval
DateTime
The date and time of the most recent Sync in UTC.
SyncConnection
The list of Syncs of the Data Pool.
Arguments
SyncsFilter
Show SyncsFilter
The filter to apply when listing the Syncs for a Data Pool.
EMPTY: Returns only Syncs with empty records.
NOT_EMPTY: Returns only Syncs that contain one or more records.
ALL: Returns all Syncs, regardless of whether they contain records or not.
Whether the Data Pool has access control enabled or not.If the Data Pool has access control enabled, Applications must be assigned Data Pool Access
Policies in order to query the Data Pool and its Metrics.
DataPoolAccessPolicyConnection
required
A paginated list of Data Pool Access Policies available on the Data Pool.
Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.
Arguments
String
required
Show ValidateExpressionResult
Response returned by the validateExpression query for validating expressions in Custom Metrics.Returns whether the expression is valid or not with a reason explaining why.
Boolean
required
True if the expression is valid, false otherwise.
String
The reason for why the expression is not valid in case it isn’t, null otherwise.
TableSettings
required
The Data Pool’s table settings.
Show TableSettings
A Data Pool’s table settings.These describe how the Data Pool’s table is created in ClickHouse.
TableEngine
The ClickHouse table engine for the Data Pool’s table.See TableEngine
[String!]
The PARTITION BY clause for the Data Pool’s table.
[String!]
The PRIMARY KEY clause for the Data Pool’s table.
[String!]
The ORDER BY clause for the Data Pool’s table.
String
The TTL clause for the Data Pool’s table.
[DataPoolColumn!]
The Data Pool’s columns that participate in its PARTITION BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its PRIMARY KEY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its ORDER BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
Show Deprecated Fields
Error
deprecated
deprecated: Refer to setupTasks instead
Show Error
The error object.
Int
The error code.
String
required
The error message.
Tenant
deprecated
The Data Pool’s tenant ID, if configured.deprecated: Will be removed; use Data Pool Access Policies instead
Show Tenant
A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.
String
required
The name of the column that represents the tenant ID.
String
required
The tenant ID column’s type.
UniqueId
deprecated
The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.deprecated: Will be removed; use table settings to define the primary key.
Show UniqueId
A Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.
String
required
The name of the column that represents the unique ID.
inspectDataPoolSchema
Extracts the schema from the table and updates the schema object.
Arguments
idOrUniqueName
required
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
Returns
Nullable
DataPoolOrFailureResponse
Show DataPoolOrFailureResponse
The result of a mutation which creates or modifies a Data Pool.If successful, an DataPoolResponse will be returned; otherwise, a
FailureResponse will be returned.
DataPoolResponse | FailureResponse
Show DataPoolResponse
The result of a mutation which creates or modifies a Data Pool.
DataPool
The Data Pool which was created or modified.See DataPool
Tests that Propel has access to the Data Pool’s table in its corresponding Data Source and will be able to Sync data. Updates the status.
Arguments
idOrUniqueName
required
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
Returns
Nullable
DataPoolOrFailureResponse
Show DataPoolOrFailureResponse
The result of a mutation which creates or modifies a Data Pool.If successful, an DataPoolResponse will be returned; otherwise, a
FailureResponse will be returned.
DataPoolResponse | FailureResponse
Show DataPoolResponse
The result of a mutation which creates or modifies a Data Pool.
DataPool
The Data Pool which was created or modified.See DataPool
Deletes a Data Pool by ID and returns its ID if the Data Pool was deleted successfully.
Arguments
ID
required
deleteDataPoolByName
Deletes a Data Pool by unique name and returns its ID if the Data Pool was deleted successfully.
Arguments
String
required
disableSyncing
Disables syncing of a Data Pool.
Arguments
ID
required
Returns
Nullable
DataPool
Show DataPool
The Data Pool object. Data Pools are Propel’s high-speed data store and cache
ID
required
The Data Pool’s unique identifier.
String
required
The Data Pool’s unique name.
String
required
The Data Pool’s description.
Account
required
The Data Pool’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Data Pool’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
CREATED: The Data Pool has been created and will be set up soon.
PENDING: Propel is attempting to set up the Data Pool.
LIVE: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.
SETUP_FAILED: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.
CONNECTING
CONNECTED
BROKEN
PAUSING
PAUSED
DELETING: Propel is deleting the Data Pool and all of its associated data.
Int
required
The Data Pool’s data retention in days (not yet supported).
String
required
The name of the Data Pool’s table.
Timestamp
The Data Pool’s primary timestamp column, if any.
Show Timestamp
A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.
String
required
The name of the column that represents the primary timestamp.
String
required
The primary timestamp column’s type.
String
The number of records in the Data Pool.
Float
The amount of storage in terabytes used by the Data Pool.
The Data Pool column connection’s nodes.See DataPoolColumn
PageInfo
required
The Data Pool column connection’s page info.See PageInfo
[DataPoolSetupTask!]
A list of setup tasks performed on the Data Pool during its most recent setup attempt.
Show DataPoolSetupTask
The Data Pool Setup Task object.Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.
String
required
The name of the Data Pool Setup Task to be performed.
String
A description of the Data Pool Setup Task to be performed.
DataPoolSetupTaskStatus
required
The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).See DataPoolSetupTaskStatus
Error
If the Data Pool Setup Task failed, this field includes a descriptive error message.See Error
DateTime
The time at which the Data Pool Setup Task was completed.
The syncing interval.Note that the syncing interval is approximate. For example, setting the syncing interval to EVERY_1_HOUR
does not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to
when the Data Pool goes LIVE, and Propel will attempt to sync approximately every hour. Additionally,
if you pause or resume syncing, this too can shift the syncing interval around.See DataPoolSyncInterval
DateTime
The date and time of the most recent Sync in UTC.
SyncConnection
The list of Syncs of the Data Pool.
Arguments
SyncsFilter
Show SyncsFilter
The filter to apply when listing the Syncs for a Data Pool.
EMPTY: Returns only Syncs with empty records.
NOT_EMPTY: Returns only Syncs that contain one or more records.
ALL: Returns all Syncs, regardless of whether they contain records or not.
Whether the Data Pool has access control enabled or not.If the Data Pool has access control enabled, Applications must be assigned Data Pool Access
Policies in order to query the Data Pool and its Metrics.
DataPoolAccessPolicyConnection
required
A paginated list of Data Pool Access Policies available on the Data Pool.
Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.
Arguments
String
required
Show ValidateExpressionResult
Response returned by the validateExpression query for validating expressions in Custom Metrics.Returns whether the expression is valid or not with a reason explaining why.
Boolean
required
True if the expression is valid, false otherwise.
String
The reason for why the expression is not valid in case it isn’t, null otherwise.
TableSettings
required
The Data Pool’s table settings.
Show TableSettings
A Data Pool’s table settings.These describe how the Data Pool’s table is created in ClickHouse.
TableEngine
The ClickHouse table engine for the Data Pool’s table.See TableEngine
[String!]
The PARTITION BY clause for the Data Pool’s table.
[String!]
The PRIMARY KEY clause for the Data Pool’s table.
[String!]
The ORDER BY clause for the Data Pool’s table.
String
The TTL clause for the Data Pool’s table.
[DataPoolColumn!]
The Data Pool’s columns that participate in its PARTITION BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its PRIMARY KEY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its ORDER BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
Show Deprecated Fields
Error
deprecated
deprecated: Refer to setupTasks instead
Show Error
The error object.
Int
The error code.
String
required
The error message.
Tenant
deprecated
The Data Pool’s tenant ID, if configured.deprecated: Will be removed; use Data Pool Access Policies instead
Show Tenant
A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.
String
required
The name of the column that represents the tenant ID.
String
required
The tenant ID column’s type.
UniqueId
deprecated
The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.deprecated: Will be removed; use table settings to define the primary key.
Show UniqueId
A Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.
String
required
The name of the column that represents the unique ID.
enableSyncing
Re-enables syncing of a Data Pool.
Arguments
ID
required
Returns
Nullable
DataPool
Show DataPool
The Data Pool object. Data Pools are Propel’s high-speed data store and cache
ID
required
The Data Pool’s unique identifier.
String
required
The Data Pool’s unique name.
String
required
The Data Pool’s description.
Account
required
The Data Pool’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Data Pool’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
CREATED: The Data Pool has been created and will be set up soon.
PENDING: Propel is attempting to set up the Data Pool.
LIVE: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.
SETUP_FAILED: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.
CONNECTING
CONNECTED
BROKEN
PAUSING
PAUSED
DELETING: Propel is deleting the Data Pool and all of its associated data.
Int
required
The Data Pool’s data retention in days (not yet supported).
String
required
The name of the Data Pool’s table.
Timestamp
The Data Pool’s primary timestamp column, if any.
Show Timestamp
A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.
String
required
The name of the column that represents the primary timestamp.
String
required
The primary timestamp column’s type.
String
The number of records in the Data Pool.
Float
The amount of storage in terabytes used by the Data Pool.
The Data Pool column connection’s nodes.See DataPoolColumn
PageInfo
required
The Data Pool column connection’s page info.See PageInfo
[DataPoolSetupTask!]
A list of setup tasks performed on the Data Pool during its most recent setup attempt.
Show DataPoolSetupTask
The Data Pool Setup Task object.Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.
String
required
The name of the Data Pool Setup Task to be performed.
String
A description of the Data Pool Setup Task to be performed.
DataPoolSetupTaskStatus
required
The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).See DataPoolSetupTaskStatus
Error
If the Data Pool Setup Task failed, this field includes a descriptive error message.See Error
DateTime
The time at which the Data Pool Setup Task was completed.
The syncing interval.Note that the syncing interval is approximate. For example, setting the syncing interval to EVERY_1_HOUR
does not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to
when the Data Pool goes LIVE, and Propel will attempt to sync approximately every hour. Additionally,
if you pause or resume syncing, this too can shift the syncing interval around.See DataPoolSyncInterval
DateTime
The date and time of the most recent Sync in UTC.
SyncConnection
The list of Syncs of the Data Pool.
Arguments
SyncsFilter
Show SyncsFilter
The filter to apply when listing the Syncs for a Data Pool.
EMPTY: Returns only Syncs with empty records.
NOT_EMPTY: Returns only Syncs that contain one or more records.
ALL: Returns all Syncs, regardless of whether they contain records or not.
Whether the Data Pool has access control enabled or not.If the Data Pool has access control enabled, Applications must be assigned Data Pool Access
Policies in order to query the Data Pool and its Metrics.
DataPoolAccessPolicyConnection
required
A paginated list of Data Pool Access Policies available on the Data Pool.
Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.
Arguments
String
required
Show ValidateExpressionResult
Response returned by the validateExpression query for validating expressions in Custom Metrics.Returns whether the expression is valid or not with a reason explaining why.
Boolean
required
True if the expression is valid, false otherwise.
String
The reason for why the expression is not valid in case it isn’t, null otherwise.
TableSettings
required
The Data Pool’s table settings.
Show TableSettings
A Data Pool’s table settings.These describe how the Data Pool’s table is created in ClickHouse.
TableEngine
The ClickHouse table engine for the Data Pool’s table.See TableEngine
[String!]
The PARTITION BY clause for the Data Pool’s table.
[String!]
The PRIMARY KEY clause for the Data Pool’s table.
[String!]
The ORDER BY clause for the Data Pool’s table.
String
The TTL clause for the Data Pool’s table.
[DataPoolColumn!]
The Data Pool’s columns that participate in its PARTITION BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its PRIMARY KEY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its ORDER BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
Show Deprecated Fields
Error
deprecated
deprecated: Refer to setupTasks instead
Show Error
The error object.
Int
The error code.
String
required
The error message.
Tenant
deprecated
The Data Pool’s tenant ID, if configured.deprecated: Will be removed; use Data Pool Access Policies instead
Show Tenant
A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.
String
required
The name of the column that represents the tenant ID.
String
required
The tenant ID column’s type.
UniqueId
deprecated
The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.deprecated: Will be removed; use table settings to define the primary key.
Show UniqueId
A Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.
String
required
The name of the column that represents the unique ID.
createCountMetric
Creates a new Count Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).
Arguments
CreateCountMetricInput
Show CreateCountMetricInput
The fields for creating a new Count Metric.
ID
required
The Data Pool that powers this Metric.
String
The Metric’s unique name. If not specified, Propel will set the ID as unique name.
String
The Metric’s description.
String
The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.
[DimensionInput!]
The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
Show Deprecated Fields
[FilterInput!]
deprecated
The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.deprecated: Use filterSql instead
Show FilterInput
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The Metric’s type. The different Metric types determine how the values are calculated.See MetricType
MetricSettings
required
The settings for the Metric. The settings are specific to the Metric’s type.See MetricSettings
Show Deprecated Fields
Dimension
deprecated
The Metric’s measure. Access this from the Metric’s settings object instead.deprecated: Use the Metric settings object instead.See Dimension
CounterResponse
deprecated
Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.deprecated: Use the top-level counter query instead
Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.deprecated: Use the top-level timeSeries query instead
Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.deprecated: Use the top-level leaderboard query instead
Whether or not access control is enabled for the Metric.deprecated: Use Data Pool Access Policies instead
createCountDistinctMetric
Creates a new Count Distinct Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).
Arguments
CreateCountDistinctMetricInput
Show CreateCountDistinctMetricInput
The fields for creating a new Count Distinct Metric.
ID
required
The Data Pool that powers this Metric.
String
The Metric’s unique name. If not specified, Propel will set the ID as unique name.
String
The Metric’s description.
String
The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.
[DimensionInput!]
The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
DimensionInput
required
The Dimension over which the count distinct operation is going to be performed.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
Show Deprecated Fields
[FilterInput!]
deprecated
The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.deprecated: Use filterSql instead
Show FilterInput
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The Metric’s type. The different Metric types determine how the values are calculated.See MetricType
MetricSettings
required
The settings for the Metric. The settings are specific to the Metric’s type.See MetricSettings
Show Deprecated Fields
Dimension
deprecated
The Metric’s measure. Access this from the Metric’s settings object instead.deprecated: Use the Metric settings object instead.See Dimension
CounterResponse
deprecated
Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.deprecated: Use the top-level counter query instead
Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.deprecated: Use the top-level timeSeries query instead
Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.deprecated: Use the top-level leaderboard query instead
Whether or not access control is enabled for the Metric.deprecated: Use Data Pool Access Policies instead
createSumMetric
Creates a new Sum Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).
Arguments
CreateSumMetricInput
Show CreateSumMetricInput
The fields for creating a new Sum Metric.
ID
required
The Data Pool that powers this Metric.
String
The Metric’s unique name. If not specified, Propel will set the ID as unique name.
String
The Metric’s description.
String
The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.
[DimensionInput!]
The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
DimensionInput
required
The column to be summed.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
Show Deprecated Fields
[FilterInput!]
deprecated
The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.deprecated: Use filterSql instead
Show FilterInput
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The Metric’s type. The different Metric types determine how the values are calculated.See MetricType
MetricSettings
required
The settings for the Metric. The settings are specific to the Metric’s type.See MetricSettings
Show Deprecated Fields
Dimension
deprecated
The Metric’s measure. Access this from the Metric’s settings object instead.deprecated: Use the Metric settings object instead.See Dimension
CounterResponse
deprecated
Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.deprecated: Use the top-level counter query instead
Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.deprecated: Use the top-level timeSeries query instead
Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.deprecated: Use the top-level leaderboard query instead
Whether or not access control is enabled for the Metric.deprecated: Use Data Pool Access Policies instead
createAverageMetric
Creates a new Average Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).
Arguments
CreateAverageMetricInput
Show CreateAverageMetricInput
The fields for creating a new Average Metric.
ID
required
The Data Pool that powers this Metric.
String
The Metric’s unique name.
String
The Metric’s description.
String
The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.
[DimensionInput!]
The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
DimensionInput
required
The column to be averaged.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
Show Deprecated Fields
[FilterInput!]
deprecated
The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.deprecated: Use filterSql instead
Show FilterInput
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The Metric’s type. The different Metric types determine how the values are calculated.See MetricType
MetricSettings
required
The settings for the Metric. The settings are specific to the Metric’s type.See MetricSettings
Show Deprecated Fields
Dimension
deprecated
The Metric’s measure. Access this from the Metric’s settings object instead.deprecated: Use the Metric settings object instead.See Dimension
CounterResponse
deprecated
Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.deprecated: Use the top-level counter query instead
Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.deprecated: Use the top-level timeSeries query instead
Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.deprecated: Use the top-level leaderboard query instead
Whether or not access control is enabled for the Metric.deprecated: Use Data Pool Access Policies instead
createMinMetric
Creates a new Min Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).
Arguments
CreateMinMetricInput
Show CreateMinMetricInput
The fields for creating a new Minimum (Min) Metric.
ID
required
The Data Pool that powers this Metric.
String
The Metric’s unique name. If not specified, Propel will set the ID as unique name.
String
The Metric’s description.
String
The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.
[DimensionInput!]
The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
DimensionInput
required
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
Show Deprecated Fields
[FilterInput!]
deprecated
The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.deprecated: Use filterSql instead
Show FilterInput
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The Metric’s type. The different Metric types determine how the values are calculated.See MetricType
MetricSettings
required
The settings for the Metric. The settings are specific to the Metric’s type.See MetricSettings
Show Deprecated Fields
Dimension
deprecated
The Metric’s measure. Access this from the Metric’s settings object instead.deprecated: Use the Metric settings object instead.See Dimension
CounterResponse
deprecated
Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.deprecated: Use the top-level counter query instead
Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.deprecated: Use the top-level timeSeries query instead
Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.deprecated: Use the top-level leaderboard query instead
Whether or not access control is enabled for the Metric.deprecated: Use Data Pool Access Policies instead
createMaxMetric
Creates a new Max Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).
Arguments
CreateMaxMetricInput
Show CreateMaxMetricInput
The fields for creating a new Maximum (Max) Metric.
ID
required
The Data Pool that powers this Metric.
String
The Metric’s unique name. If not specified, Propel will set the ID as unique name.
String
The Metric’s description.
String
The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.
[DimensionInput!]
The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
DimensionInput
required
The column to calculate the maximum from.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
Show Deprecated Fields
[FilterInput!]
deprecated
The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.deprecated: Use filterSql instead
Show FilterInput
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The Metric’s type. The different Metric types determine how the values are calculated.See MetricType
MetricSettings
required
The settings for the Metric. The settings are specific to the Metric’s type.See MetricSettings
Show Deprecated Fields
Dimension
deprecated
The Metric’s measure. Access this from the Metric’s settings object instead.deprecated: Use the Metric settings object instead.See Dimension
CounterResponse
deprecated
Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.deprecated: Use the top-level counter query instead
Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.deprecated: Use the top-level timeSeries query instead
Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.deprecated: Use the top-level leaderboard query instead
Whether or not access control is enabled for the Metric.deprecated: Use Data Pool Access Policies instead
createCustomMetric
Creates a new Custom Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).
Arguments
CreateCustomMetricInput
Show CreateCustomMetricInput
The fields for creating a new Custom Metric.
ID
required
The Data Pool that powers this Metric.
String
The Metric’s unique name. If not specified, Propel will set the ID as unique name.
String
The Metric’s description.
String
The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.
[DimensionInput!]
The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
String
required
The expression that defines the aggregation function for this Metric.
Show Deprecated Fields
[FilterInput!]
deprecated
The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.deprecated: Use filterSql instead
Show FilterInput
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The Metric’s type. The different Metric types determine how the values are calculated.See MetricType
MetricSettings
required
The settings for the Metric. The settings are specific to the Metric’s type.See MetricSettings
Show Deprecated Fields
Dimension
deprecated
The Metric’s measure. Access this from the Metric’s settings object instead.deprecated: Use the Metric settings object instead.See Dimension
CounterResponse
deprecated
Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.deprecated: Use the top-level counter query instead
Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.deprecated: Use the top-level timeSeries query instead
Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.deprecated: Use the top-level leaderboard query instead
Whether or not access control is enabled for the Metric.deprecated: Use Data Pool Access Policies instead
modifyMetric
Modifies a Metric by ID with the provided unique name, description, and Dimensions. If any of the optional arguments are omitted, those properties will be unchanged on the Metric.
Arguments
ModifyMetricInput
Show ModifyMetricInput
The fields for modifying a Metric.
ID
required
The ID of the Metric to modify.
String
The Metric’s new unique name.
String
The Metric’s new description.
[DimensionInput!]
The Metric’s new Dimensions. Used to add or remove Dimensions.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
String
The Metric’s new Filters, in the form of SQL. Used to add or remove Metric Filters.
Boolean
Enables or disables access control for the Metric.
Show Deprecated Fields
[FilterInput!]
deprecated
The Metric’s new Filters. Used to add or remove Metric Filters.deprecated: Use filterSql instead
Show FilterInput
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The Metric’s type. The different Metric types determine how the values are calculated.See MetricType
MetricSettings
required
The settings for the Metric. The settings are specific to the Metric’s type.See MetricSettings
Show Deprecated Fields
Dimension
deprecated
The Metric’s measure. Access this from the Metric’s settings object instead.deprecated: Use the Metric settings object instead.See Dimension
CounterResponse
deprecated
Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.deprecated: Use the top-level counter query instead
Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.deprecated: Use the top-level timeSeries query instead
Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.deprecated: Use the top-level leaderboard query instead
Whether or not access control is enabled for the Metric.deprecated: Use Data Pool Access Policies instead
migrateMetric
Migrates a Metric from one Data Pool to another.
Arguments
MigrateMetricInput
required
Show MigrateMetricInput
The fields for migrating a Metric’s Data Pool.
ID
required
The Metric that is going to be migrated.
ID
required
The DataPool to which the Metric is going to be migrated.
Returns
Nullable
Metric
Show Metric
The Metric object.A Metric is a business indicator measured over time.
ID
required
The Metric’s unique identifier.
String
required
The Metric’s unique name.
String
required
The Metric’s description.
Account
required
The Metric’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Metric’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
The Metric’s last modification date and time in UTC.
String
required
The Metric’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.
String
required
The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.
DataPool
The Data Pool that powers this Metric.
See DataPool
[Dimension!]
required
The Metric’s Dimensions. These Dimensions are available to Query Filters.
Show Dimension
The Dimension object that represents a column in a table.
String
required
The column name it represents.
String
required
The column data type.
Boolean
Whether the column is nullable.
Show Deprecated Fields
Boolean
deprecated
Whether the column is a unique key.deprecated: This is Snowflake-specific, and will be removed
DimensionStatistics
deprecated
The statistics for the dimension values. Fetching statistics incurs query costs.deprecated: Issue normal queries for calculating statsSee DimensionStatistics
Dimension
The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.
Show Dimension
The Dimension object that represents a column in a table.
String
required
The column name it represents.
String
required
The column data type.
Boolean
Whether the column is nullable.
Show Deprecated Fields
Boolean
deprecated
Whether the column is a unique key.deprecated: This is Snowflake-specific, and will be removed
DimensionStatistics
deprecated
The statistics for the dimension values. Fetching statistics incurs query costs.deprecated: Issue normal queries for calculating statsSee DimensionStatistics
The Metric’s type. The different Metric types determine how the values are calculated.
Show MetricType
The available Metric types.
COUNT: Counts the number of records that matches the Metric Filters. For time series, it will count the values for each time granularity.
SUM: Sums the values of the specified column for every record that matches the Metric Filters. For time series, it will sum the values for each time granularity.
COUNT_DISTINCT: Counts the number of distinct values in the specified column for every record that matches the Metric Filters. For time series, it will count the distinct values for each time granularity.
AVERAGE: Averages the values of the specified column for every record that matches the Metric Filters. For time series, it will average the values for each time granularity.
MIN: Selects the minimum value of the specified column for every record that matches the Metric Filters. For time series, it will select the minimum value for each time granularity.
MAX: Selects the maximum value of the specified column for every record that matches the Metric Filters. For time series, it will select the maximum value for each time granularity.
CUSTOM: Aggregates values based on the provided custom expression.
MetricSettings
required
The settings for the Metric. The settings are specific to the Metric’s type.
The Metric’s measure. Access this from the Metric’s settings object instead.deprecated: Use the Metric settings object instead.
Show Dimension
The Dimension object that represents a column in a table.
String
required
The column name it represents.
String
required
The column data type.
Boolean
Whether the column is nullable.
Show Deprecated Fields
Boolean
deprecated
Whether the column is a unique key.deprecated: This is Snowflake-specific, and will be removed
DimensionStatistics
deprecated
The statistics for the dimension values. Fetching statistics incurs query costs.deprecated: Issue normal queries for calculating statsSee DimensionStatistics
CounterResponse
deprecated
Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.deprecated: Use the top-level counter query instead
Arguments
CounterInput
required
Show CounterInput
The fields for querying a Metric in counter format.A Metric’s counter query returns a single value over a given time range.
MetricInput
The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.See MetricInput
TimeRangeInput
The time range for calculating the counter.See TimeRangeInput
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
String
The Query Filters to apply before retrieving the counter data, in the form of SQL. If no Query Filters are provided, all data is included.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the counter data. If no Query Filters are provided, all data is included.deprecated: Use filterSql insteadSee FilterInput
Show CounterResponse
The counter response object. It contains a single Metric value for the given time range and Query Filters.
Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.deprecated: Use the top-level timeSeries query instead
Arguments
TimeSeriesInput
required
Show TimeSeriesInput
The fields for querying a Metric in time series format.A Metric’s time series query returns the values over a given time range aggregated by a given time granularity; day, month, or year, for example.
MetricInput
The Metric to Query. It can be a pre-created one or it can be inlined here.See MetricInput
TimeRangeInput
The time range for calculating the time series.See TimeRangeInput
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
TimeSeriesGranularity
required
The time granularity (hour, day, month, etc.) to aggregate the Metric values by.See TimeSeriesGranularity
String
The Query Filters to apply before retrieving the time series data, in the form of SQL. If no Query Filters are provided, all data is included.
[String!]
Columns to group by.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the time series data. If no Query Filters are provided, all data is included.deprecated: Use filterSql insteadSee FilterInput
Show TimeSeriesResponse
The time series response object. It contains an array of time series labels and an array of Metric values for the given time range and Query Filters.
Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.deprecated: Use the top-level leaderboard query instead
Arguments
LeaderboardInput
required
Show LeaderboardInput
The fields for querying a Metric in leaderboard format.A Metric’s leaderboard query returns an ordered table of Dimension and Metric values over a given time range.
MetricInput
The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.See MetricInput
TimeRangeInput
The time range for calculating the leaderboard.See TimeRangeInput
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
[DimensionInput!]
required
One or many Dimensions to group the Metric values by. Typically, Dimensions in a leaderboard are what you want to compare and rank.See DimensionInput
Sort
The sort order of the rows. It can be ascending (ASC) or descending (DESC) order. Defaults to descending (DESC) order when not provided.See Sort
Int
required
The number of rows to be returned. It can be a number between 1 and 1,000.
String
The Query Filters to apply before retrieving the leaderboard data, in the form of SQL. If no Query Filters are provided, all data is included.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the leaderboard data. If no Query Filters are provided, all data is included.deprecated: Use filterSql insteadSee FilterInput
Show LeaderboardResponse
The leaderboard response object. It contains an array of headers and a table (array of rows) with the selected Dimensions and corresponding Metric values for the given time range and Query Filters.
[String!]
required
The table headers. It contains the Dimension and Metric names.
[[String]!]
required
An ordered array of rows. Each row contains the Dimension values and the corresponding Metric value. A Dimension value can be empty. A Metric value will never be empty.
Whether or not access control is enabled for the Metric.deprecated: Use Data Pool Access Policies instead
deleteMetric
Deletes a Metric by ID and returns its ID if the Metric was deleted successfully.
Arguments
ID
required
deleteMetricByName
Deletes a Metric by unique name and returns its ID if the Metric was deleted successfully.
Arguments
String
required
createBooster
Creates a new Booster for the given Metric and returns the newly created Booster.A Booster significantly improves the query performance for a Metric.
Arguments
CreateBoosterInput
required
Show CreateBoosterInput
The fields for creating a new Booster.Boosters can be understood as an aggregating index. The index is formed from left to right as follows:
The Data Pool’s Tenant ID column (if present)
Metric Filter columns (if present)
Query Filter Dimensions (see dimensions)
The Data Pool’s timestamp column
ID
required
The Booster’s Metric.
[DimensionInput!]
required
Dimensions to include in the Booster.Follow these guidelines when specifying Dimensions:
Specify Dimensions in descending order of importance for filtering and in ascending order of cardinality.
Take into consideration hierarchical relationships as well (for example, a “country” Dimension should appear before a “state” Dimension).
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
Returns
Nullable
BoosterResponse
Show BoosterResponse
The result of a mutation which creates or modifies a Booster.
Booster
The Booster which was created or modified.
Show Booster
Boosters allow you to optimize Metric Queries for a subset of commonly used Dimensions. A Metric can have one or many Boosters to optimize for the different Query patterns.Boosters can be understood as an aggregating index. The index is formed from left to right as follows:
The amount of storage in terabytes used by the Booster.
deleteBooster
Deletes a Booster by ID and then returns the same ID if the Booster was deleted successfully.A Booster significantly improves the query performance for a Metric.
Arguments
ID
required
createDeletionJob
Schedules a new Deletion Job on the specified Data Pool.
Arguments
CreateDeletionJobInput
required
Show CreateDeletionJobInput
The fields for creating a Deletion Job.
ID
required
The Data Pool that is going to get the data deleted
String
The filters that will be used for deleting data, in the form of SQL. Data matching these filters will be deleted.
Show Deprecated Fields
[FilterInput!]
deprecated
The list of filters that will be used for deleting data. Data matching these filters will be deleted.deprecated: Use filterSql instead
Show FilterInput
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The operation to perform when comparing the column and filter values.See FilterOperator
String
The value to compare the column to.
[FilterInput!]
Additional filters to AND with this one. AND takes precedence over OR.
[FilterInput!]
Additional filters to OR with this one. AND takes precedence over OR.
Returns
Non-null
DeletionJobResponse
Show DeletionJobResponse
The response returned by the Deletion Job.
DeletionJob
required
The Deletion Job that was just created.
Show DeletionJob
Deletion Job scheduled for a specific Data Pool.The Deletion Job represents the asynchronous process of deleting data
given some filters inside a Data Pool. It tracks the deletion process
until it is finished, showing the progress and the outcome when it is finished.
ID
required
The Deletion Job’s ID.
DateTime
required
The Deletion Job’s creation date and time in UTC.
String
required
Who created the Deletion Job.
DateTime
required
The Deletion Job’s last modification date and time in UTC.
String
required
Who last modified the Deletion Job.
Account
required
Account to which the Deletion Job belongs.See Account
Environment
required
Environment to which the Deletion Job belongs.See Environment
DataPool
required
The Data Pool whose records will be deleted by the Deletion Job.
See DataPool
The filters that will be used for deleting data, in the form of SQL. Data matching the filters will be deleted.
Error
The error that occurred while deleting data, if any.See Error
Float
required
The current progress of the Deletion Job, from 0.0 to 1.0.
DateTime
The time at which the Deletion Job started.
DateTime
The time at which the Deletion Job succeeded.
DateTime
The time at which the Deletion Job failed.
Show Deprecated Fields
[Filter!]
deprecated
The list of filters that will be used for deleting data. Data matching the filters will be deleted.deprecated: Use filterSql insteadSee Filter
createAddColumnToDataPoolJob
Schedules a new AddColumnToDataPoolJob on the specified Data Pool.
Arguments
CreateAddColumnToDataPoolJobInput
required
Show CreateAddColumnToDataPoolJobInput
The fields for creating an Add Column Job.
ID
required
The Data Pool to which the column will be added.
String
required
Name of the new column.
ColumnType
required
Type of the new column.
Show ColumnType
The Propel data types.
BOOLEAN: True or false.
STRING: A variable-length string.
FLOAT: A 32-bit signed double-precision floating point number.
DOUBLE: A 64-bit signed double-precision floating point number.
INT8: An 8-bit signed integer, with a minimum value of -2⁷ and a maximum value of 2⁷-1.
INT16: A 16-bit signed integer, with a minimum value of -2¹⁵ and a maximum value of 2¹⁵-1.
INT32: A 32-bit signed integer, with a minimum value of -2³¹ and a maximum value of 2³¹-1.
INT64: A 64-bit signed integer, with a minimum value of -2⁶³ and a maximum value of 2⁶³-1.
DATE: A date without a timestamp. For example, “YYYY-MM-DD”.
TIMESTAMP: A date with a timestamp. For example, “yyy-MM-dd HH:mm:ss”.
JSON: A JavaScript Object Notation (JSON) document.
CLICKHOUSE: A ClickHouse-specific type.
String
The ClickHouse type of the new column when columnType is set to CLICKHOUSE.
String
JSON property to which the new column corresponds.
Returns
Non-null
AddColumnToDataPoolJobResponse
Show AddColumnToDataPoolJobResponse
The response returned by the Add Column Job.
AddColumnToDataPoolJob
required
The AddColumnToDataPool Job that was just created.
Show AddColumnToDataPoolJob
AddColumnToDataPoolJob scheduled for a specific Data Pool.The Add Column Job represents the asynchronous process of adding a column,
given its name and type, to a Data Pool. It tracks the process of adding a column
until it is finished, showing the progress and the outcome when it is finished.
ID
required
The AddColumnToDataPoolJob’s ID.
DateTime
required
The AddColumnToDataPoolJob’s creation date and time in UTC.
String
required
Who created the AddColumnToDataPoolJob.
DateTime
required
The AddColumnToDataPoolJob’s last modification date and time in UTC.
String
required
Who modified the AddColumnToDataPoolJob last.
Account
required
Account to which the AddColumnToDataPoolJob belongs.See Account
Environment
required
Environment to which the AddColumnToDataPoolJob belongs.See Environment
DataPool
required
The Data Pool to which a column will be added by the Job.
See DataPool
JobStatus
required
The current AddColumnToDataPoolJob’s status.See JobStatus
The operation to perform when comparing the column and filter values.See FilterOperator
String
The value to compare the column to.
[FilterInput!]
Additional filters to AND with this one. AND takes precedence over OR.
[FilterInput!]
Additional filters to OR with this one. AND takes precedence over OR.
Returns
Non-null
UpdateDataPoolRecordsJobResponse
Show UpdateDataPoolRecordsJobResponse
The response returned by the Update Data Pool Records Job.
UpdateDataPoolRecordsJob
required
The UpdateDataPoolRecords Job that was just created.
Show UpdateDataPoolRecordsJob
UpdateDataPoolRecords Job scheduled for a specific Data Pool.
The Update Data Pool Records Job represents the asynchronous process of updating records
given some filters, inside a Data Pool. It tracks the process of updating records
until it is finished, showing the progress and the outcome when it is finished.
ID
required
The UpdateDataPoolRecords Job’s ID
DateTime
required
The UpdateDataPoolRecords Job’s creation date and time in UTC
String
required
Who created the UpdateDataPoolRecords Job
DateTime
required
The UpdateDataPoolRecords Job’s last modification date and time in UTC
String
required
Who last modified the UpdateDataPoolRecords Job
Account
required
Account to which the UpdateDataPoolRecords Job belongsSee Account
Environment
required
Environment to which the UpdateDataPoolRecords Job belongsSee Environment
DataPool
required
The Data Pool whose records will be updated by the UpdateDataPoolRecords Job
See DataPool
JobStatus
required
The current UpdateDataPoolRecords Job’s statusSee JobStatus
String
The filters that will be used for updating data, in the form of SQL. Data matching the filters will be updated.
The error that occurred while updating data, if any.See Error
Float
required
The current progress of the UpdateDataPoolRecords Job, from 0.0 to 1.0.
DateTime
The time at which the UpdateDataPoolRecords Job started.
DateTime
The time at which the UpdateDataPoolRecords Job succeeded.
DateTime
The time at which the UpdateDataPoolRecords Job failed.
Show Deprecated Fields
[Filter!]
deprecated
The list of filters that will be used for updating data. Data matching the filters will be updated.deprecated: Use filterSql insteadSee Filter
syncDataPool
Manually trigger a Sync for a Data Pool.
Arguments
ID
required
Returns
Nullable
Sync
Show Sync
The Sync object.This represents the process of syncing data from your Data Source (for example, a Snowflake data warehouse) to your Data Pool.
ID
required
The Sync’s unique identifier.
Account
The Sync’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
The Sync’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
The number of new, updated, and deleted records contained within the Sync, if known. This excludes filtered records.
String
The (compressed) size of the Sync, in bytes, if known.
SyncStatus
required
The status of the Sync (all Syncs begin as SYNCING before transitioning to SUCCEEDED or FAILED).
Show SyncStatus
The status of a Sync.
SYNCING: Propel is actively syncing records contained within the Sync.
SUCCEEDED: The Sync succeeded. Propel successfully synced all records contained within the Sync.
FAILED: The Sync failed. Propel failed to sync some or all records contained within the Sync.
DELETING: Propel is deleting the Sync.
DateTime
The time at which the Sync started.
DateTime
The time at which the Sync succeeded.
DateTime
The time at which the Sync failed.
Error
If the Sync failed, this represents the reason the Sync failed.
Show Error
The error object.
Int
The error code.
String
required
The error message.
Show Deprecated Fields
String
deprecated
The number of new records contained within the Sync, if known. This excludes filtered records.deprecated: All records are considered to be processed; see processedRecords instead
String
deprecated
The number of updated records contained within the Sync, if known. This excludes filtered records.deprecated: All records are considered to be processed; see processedRecords instead
String
deprecated
The number of deleted records contained within the Sync, if known. This excludes filtered records.deprecated: All records are considered to be processed; see processedRecords instead
String
deprecated
The number of filtered records contained within the Sync, due to issues such as a missing timestamp Dimension, if any are known to be invalid.deprecated: All records are considered to be processed; see processedRecords instead
resyncDataPool
Manually trigger a re-Sync for a Data Pool.
Arguments
ID
required
Returns
Nullable
Sync
Show Sync
The Sync object.This represents the process of syncing data from your Data Source (for example, a Snowflake data warehouse) to your Data Pool.
ID
required
The Sync’s unique identifier.
Account
The Sync’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
The Sync’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
The number of new, updated, and deleted records contained within the Sync, if known. This excludes filtered records.
String
The (compressed) size of the Sync, in bytes, if known.
SyncStatus
required
The status of the Sync (all Syncs begin as SYNCING before transitioning to SUCCEEDED or FAILED).
Show SyncStatus
The status of a Sync.
SYNCING: Propel is actively syncing records contained within the Sync.
SUCCEEDED: The Sync succeeded. Propel successfully synced all records contained within the Sync.
FAILED: The Sync failed. Propel failed to sync some or all records contained within the Sync.
DELETING: Propel is deleting the Sync.
DateTime
The time at which the Sync started.
DateTime
The time at which the Sync succeeded.
DateTime
The time at which the Sync failed.
Error
If the Sync failed, this represents the reason the Sync failed.
Show Error
The error object.
Int
The error code.
String
required
The error message.
Show Deprecated Fields
String
deprecated
The number of new records contained within the Sync, if known. This excludes filtered records.deprecated: All records are considered to be processed; see processedRecords instead
String
deprecated
The number of updated records contained within the Sync, if known. This excludes filtered records.deprecated: All records are considered to be processed; see processedRecords instead
String
deprecated
The number of deleted records contained within the Sync, if known. This excludes filtered records.deprecated: All records are considered to be processed; see processedRecords instead
String
deprecated
The number of filtered records contained within the Sync, due to issues such as a missing timestamp Dimension, if any are known to be invalid.deprecated: All records are considered to be processed; see processedRecords instead
createMaterializedView
Creates a new Materialized View.
Returns the newly created Materialized View (or an error message if creating the Materialized View fails).
Arguments
CreateMaterializedViewInput
required
Show CreateMaterializedViewInput
The fields for creating a Materialized View.
String
The Materialized View’s unique name. If not specified, Propel will set the ID as the unique name.
String
The Materialized View’s description.
String
required
The SQL that the Materialized View will execute.
CreateMaterializedViewDestinationInput
required
By default, a destination Data Pool with default settings will be created for the Materialized View;
however, you can customize the destination Data Pool (or point to an existing Data Pool), by setting
this field. Use this to target an existing Data Pool or the engine settings of a new Data Pool.
Show CreateMaterializedViewDestinationInput
The fields for targeting an existing Data Pool or a new Data Pool.
DataPoolInput
If specified, the Materialized View will target an existing Data Pool.
Ensure the Data Pool’s schema is compatible with your Materialized View’s SQL statement.See DataPoolInput
By default, a Materialized View only applies to records added after its creation. This option allows
to backfill all the data that was present before the Materialized View creation.
Show BackfillOptionsInput
Boolean
Whether historical data should be backfilled or not
PartitionOrder
Defines the order in which historical data is backfilled. Defaults to OLDEST_FIRST if not specified.See PartitionOrder
Returns
Non-null
MaterializedViewResponse
Show MaterializedViewResponse
The result of a mutation which creates or modifies a Materialized View.
MaterializedView
required
The Materialized View which was created or modified.
The Materialized View’s Environment.See Environment
DateTime
required
The Materialized View’s creation date and time in UTC.
DateTime
required
The Materialized View’s last modification date and time in UTC.
String
required
The Materialized View’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.
String
required
The Materialized View’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.
String
required
The SQL that the Materialized View executes.
DataPool
required
The Materialized View’s destination (AKA “target”) Data Pool.See DataPool
DataPool
The Materialized View’s source Data Pool.See DataPool
[DataPool!]
required
Other Data Pools queried by the Materialized View.See DataPool
deleteMaterializedView
Deletes a Materialized View and returns its ID if the Materialized View was deleted successfully.
Note that deleting a Materialized View does not delete its target Data Pool. If you want to delete its target
Data Pool, you must use the deleteDataPool mutation.
Arguments
ID
required
createAmazonDataFirehoseDataSource
Creates a new Amazon Data Firehose Data Source from the given settings.Returns the newly created Data Source (or an error message if creating the Data Source fails).
Arguments
CreateAmazonDataFirehoseDataSourceInput
required
Show CreateAmazonDataFirehoseDataSourceInput
AmazonDataFirehoseConnectionSettingsInput
required
The Amazon Data Firehose Data Source’s connection settings
Show AmazonDataFirehoseConnectionSettingsInput
The Amazon Data Firehose Data Source’s connection settings.
Boolean
Enables or disables access control for the Data Pool.
If the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.
HttpBasicAuthInput
required
HTTP basic access authentication credentials. You must configure these same credentials to be included in the
X-Amz-Firehose-Access-Key header when Amazon Data Firehose issues requests to its custom HTTP endpoint.See HttpBasicAuthInput
Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a
default will be chosen based on the Data Pool’s timestamp value, if any. You can override these
defaults in order to specify a custom table engine, custom ORDER BY, etc.See TableSettingsInput
String
The primary timestamp column, if any.
String
The Amazon Data Firehose Data Source’s description.
String
The Amazon Data Firehose Data Source’s unique name. If not specified, Propel will set the ID as unique name.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Modifies the Data Source by the ID or unique name provided with the given unique name, description, and connection settings.If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.
Arguments
ModifyAmazonDataFirehoseDataSourceInput
required
Show ModifyAmazonDataFirehoseDataSourceInput
PartialAmazonDataFirehoseConnectionSettingsInput
The Amazon Data Firehose Data Source’s new connection settings. If not provided this property will not be modified.
Show PartialAmazonDataFirehoseConnectionSettingsInput
The Amazon Data Firehose Data Source’s connection settings.
HttpBasicAuthInput
HTTP basic access authentication credentials. You must configure these same credentials to be included in the
X-Amz-Firehose-Access-Key header when Amazon Data Firehose issues requests to its custom HTTP endpoint. If not provided this property will not be modified.See HttpBasicAuthInput
String
The Amazon Data Firehose Data Source’s new description. If not provided this property will not be modified.
idOrUniqueName
required
The ID or unique name of the Amazon Data Firehose Data Source to modify.
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
String
The Amazon Data Firehose Data Source’s new unique name. If not provided this property will not be modified.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Creates a new Amazon DynamoDB Data Source from the given settings.Returns the newly created Data Source (or an error message if creating the Data Source fails).
Arguments
CreateAmazonDynamoDBDataSourceInput
required
Show CreateAmazonDynamoDBDataSourceInput
AmazonDynamoDBConnectionSettingsInput
required
The Amazon DynamoDB Data Source’s connection settings
Show AmazonDynamoDBConnectionSettingsInput
The Amazon DynamoDB Data Source’s connection settings.
Boolean
Enables or disables access control for the Data Pool.
If the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.
HttpBasicAuthInput
required
HTTP basic access authentication credentials. You must configure these same credentials to be included in the
X-Amz-Firehose-Access-Key header when Amazon Data Firehose transmits records from your DynamoDB table to its
custom HTTP endpoint.See HttpBasicAuthInput
Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a
default will be chosen based on the Data Pool’s timestamp value, if any. You can override these
defaults in order to specify a custom table engine, custom ORDER BY, etc.See TableSettingsInput
String
The primary timestamp column, if any.
String
The Amazon DynamoDB Data Source’s description.
String
The Amazon DynamoDB Data Source’s unique name. If not specified, Propel will set the ID as unique name.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Modifies the Data Source by the ID or unique name provided with the given unique name, description, and connection settings.If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.
Arguments
ModifyAmazonDynamoDBDataSourceInput
required
Show ModifyAmazonDynamoDBDataSourceInput
PartialAmazonDynamoDBConnectionSettingsInput
The Amazon DynamoDB Data Source’s new connection settings. If not provided this property will not be modified.
Show PartialAmazonDynamoDBConnectionSettingsInput
The Amazon DynamoDB Data Source’s connection settings.
HttpBasicAuthInput
HTTP basic access authentication credentials. You must configure these same credentials to be included in the
X-Amz-Firehose-Access-Key header when Amazon Data Firehose transmits records from your DynamoDB table to its
custom HTTP endpoint. If not provided this property will not be modified.See HttpBasicAuthInput
String
The Amazon DynamoDB Data Source’s new description. If not provided this property will not be modified.
idOrUniqueName
required
The ID or unique name of the Amazon DynamoDB Data Source to modify.
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
String
The Amazon DynamoDB Data Source’s new unique name. If not provided this property will not be modified.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
This mutation creates a new ClickHouse Data Source.The mutation returns the newly created Data Source (or an error message if creating the Data Source fails).
Arguments
CreateClickHouseDataSourceInput
required
Show CreateClickHouseDataSourceInput
ClickHouseConnectionSettingsInput
required
The ClickHouse Data Source’s connection settings
Show ClickHouseConnectionSettingsInput
The ClickHouse Data Source connection settings.
String
required
Which database to connect to
String
required
The password for the provided user
String
required
The URL where the ClickHouse host is listening to HTTP[S] connections
String
required
The user for authenticating against the ClickHouse host
String
The ClickHouse Data Source’s description.
String
The ClickHouse Data Source’s unique name. If not specified, Propel will set the ID as unique name.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
This mutation selects a Data Source by its ID or unique name and modifies it to have the given unique name, description, and connection settings.If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.
Arguments
ModifyClickHouseDataSourceInput
required
Show ModifyClickHouseDataSourceInput
PartialClickHouseConnectionSettingsInput
The ClickHouse Data Source’s new connection settings. If not provided this property will not be modified.
Show PartialClickHouseConnectionSettingsInput
The ClickHouse Data Source connection settings.
String
Which database to connect to If not provided this property will not be modified.
String
The password for the provided user If not provided this property will not be modified.
String
The URL where the ClickHouse host is listening to HTTP[S] connections If not provided this property will not be modified.
String
The user for authenticating against the ClickHouse host If not provided this property will not be modified.
String
The ClickHouse Data Source’s new description. If not provided this property will not be modified.
idOrUniqueName
required
The ID or unique name of the ClickHouse Data Source to modify.
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
String
The ClickHouse Data Source’s new unique name. If not provided this property will not be modified.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Creates a new HTTP Data Source from the given settings.Returns the newly created Data Source (or an error message if creating the Data Source fails).
Arguments
CreateHttpDataSourceInput
required
Show CreateHttpDataSourceInput
HttpConnectionSettingsInput
required
The HTTP Data Source’s connection settings
Show HttpConnectionSettingsInput
The HTTP Data Source connection settings.
HttpBasicAuthInput
The HTTP Basic authentication settings for uploading new data.If this parameter is not provided, anyone with the URL to your tables will be able to upload data. While it’s OK to test without HTTP Basic authentication, we recommend enabling it.See HttpBasicAuthInput
The HTTP Data Source’s unique name. If not specified, Propel will set the ID as unique name.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
This mutation selects a Data Source by its ID or unique name and modifies it to have the given unique name, description, and connection settings.If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.
Arguments
ModifyHttpDataSourceInput
required
Show ModifyHttpDataSourceInput
PartialHttpConnectionSettingsInput
The HTTP Data Source’s new connection settings. If not provided this property will not be modified.
Show PartialHttpConnectionSettingsInput
The HTTP Data Source connection settings.
HttpBasicAuthInput
The HTTP Basic authentication settings for uploading new data.If this parameter is not provided, anyone with the URL to your tables will be able to upload data. While it’s OK to test without HTTP Basic authentication, we recommend enabling it. If not provided this property will not be modified.See HttpBasicAuthInput
Boolean
Set this to false to disable HTTP Basic authentication. Any previously stored HTTP Basic authentication settings will be cleared out. If not provided this property will not be modified.
[HttpDataSourceTableInput!]
The HTTP Data Source’s tables. If not provided this property will not be modified.See HttpDataSourceTableInput
String
The HTTP Data Source’s new description. If not provided this property will not be modified.
idOrUniqueName
required
The ID or unique name of the HTTP Data Source to modify.
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
String
The HTTP Data Source’s new unique name. If not provided this property will not be modified.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
This mutation creates a new Kafka Data Source.The mutation returns the newly created Data Source (or an error message if creating the Data Source fails).
Arguments
CreateKafkaDataSourceInput
required
Show CreateKafkaDataSourceInput
KafkaConnectionSettingsInput
required
The Kafka Data Source’s connection settings
Show KafkaConnectionSettingsInput
The Kafka Data Source connection settings.
String
required
The type of authentication to use. Can be SCRAM-SHA-256, SCRAM-SHA-512, PLAIN or NONE
[String!]
required
The bootstrap server(s) to connect to
String
required
The password for the provided user
Boolean
Whether the the connection to the Kafka servers is encrypted or not
String
required
The user for authenticating against the Kafka servers
String
The Kafka Data Source’s description.
String
The Kafka Data Source’s unique name. If not specified, Propel will set the ID as unique name.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
This mutation selects a Data Source by its ID or unique name and modifies it to have the given unique name, description, and connection settings.If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.
Arguments
ModifyKafkaDataSourceInput
required
Show ModifyKafkaDataSourceInput
PartialKafkaConnectionSettingsInput
The Kafka Data Source’s new connection settings. If not provided this property will not be modified.
Show PartialKafkaConnectionSettingsInput
The Kafka Data Source connection settings.
String
The type of authentication to use. Can be SCRAM-SHA-256, SCRAM-SHA-512, PLAIN or NONE If not provided this property will not be modified.
[String!]
required
The bootstrap server(s) to connect to If not provided this property will not be modified.
String
The password for the provided user If not provided this property will not be modified.
Boolean
Whether the the connection to the Kafka servers is encrypted or not If not provided this property will not be modified.
String
The user for authenticating against the Kafka servers If not provided this property will not be modified.
String
The Kafka Data Source’s new description. If not provided this property will not be modified.
idOrUniqueName
required
The ID or unique name of the Kafka Data Source to modify.
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
String
The Kafka Data Source’s new unique name. If not provided this property will not be modified.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Replace the placeholder values with your actual configuration.
Arguments
CreatePostgreSqlDataSourceInput
required
Show CreatePostgreSqlDataSourceInput
PostgreSqlConnectionSettingsInput
required
The PostgreSQL Data Source’s connection settings
Show PostgreSqlConnectionSettingsInput
The PostgreSQL Data Source connection settings.
String
Which database to connect to
String
required
The host where PostgreSQL is listening
String
required
The password for the provided user
Int
The port where PostgreSQL is listening (usually 5432)
String
Which schema to use
String
required
The user for authenticating against PostgreSQL
String
The PostgreSQL Data Source’s description.
String
The PostgreSQL Data Source’s unique name. If not specified, Propel will set the ID as unique name.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Selects a Data Source by its ID or unique name and modifies it to have the given unique name, description, and connection settings.If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.
Arguments
ModifyPostgreSqlDataSourceInput
required
Show ModifyPostgreSqlDataSourceInput
PartialPostgreSqlConnectionSettingsInput
The PostgreSQL Data Source’s new connection settings. If not provided this property will not be modified.
Show PartialPostgreSqlConnectionSettingsInput
The PostgreSQL Data Source connection settings.
String
Which database to connect to If not provided this property will not be modified.
String
The host where PostgreSQL is listening If not provided this property will not be modified.
String
The password for the provided user If not provided this property will not be modified.
Int
The port where PostgreSQL is listening (usually 5432) If not provided this property will not be modified.
String
Which schema to use If not provided this property will not be modified.
String
The user for authenticating against PostgreSQL If not provided this property will not be modified.
String
The PostgreSQL Data Source’s new description. If not provided this property will not be modified.
idOrUniqueName
required
The ID or unique name of the PostgreSQL Data Source to modify.
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
String
The PostgreSQL Data Source’s new unique name. If not provided this property will not be modified.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Creates a new Amazon S3 Data Source pointed at the specified Amazon S3 bucket.Returns the newly created Data Source (or an error message if creating the Data Source fails).
Arguments
CreateS3DataSourceInput
required
Show CreateS3DataSourceInput
S3ConnectionSettingsInput
required
The Amazon S3 Data Source’s connection settings
Show S3ConnectionSettingsInput
The connection settings for an Amazon S3 Data Source. These include the Amazon S3 bucket name, the AWS access key ID, and the tables (along with their paths). We do not allow fetching the AWS secret access key after it has been set.
String
required
The AWS access key ID for an IAM user with sufficient access to the Amazon S3 bucket.
String
required
The AWS secret access key for an IAM user with sufficient access to the Amazon S3 bucket.
The Amazon S3 Data Source’s unique name. If not specified, Propel will set the ID as unique name.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
This mutation selects a Data Source by its ID or unique name and modifies it to have the given unique name, description, and connection settings.If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.
Arguments
ModifyS3DataSourceInput
required
Show ModifyS3DataSourceInput
PartialS3ConnectionSettingsInput
The Amazon S3 Data Source’s new connection settings. If not provided this property will not be modified.
Show PartialS3ConnectionSettingsInput
The connection settings for an Amazon S3 Data Source. These include the Amazon S3 bucket name, the AWS access key ID, and the tables (along with their paths). We do not allow fetching the AWS secret access key after it has been set.
String
The AWS access key ID for an IAM user with sufficient access to the Amazon S3 bucket. If not provided this property will not be modified.
String
The AWS secret access key for an IAM user with sufficient access to the Amazon S3 bucket. If not provided this property will not be modified.
String
The name of the Amazon S3 bucket. If not provided this property will not be modified.
[S3DataSourceTableInput!]
The Amazon S3 Data Source’s tables. If not provided this property will not be modified.See S3DataSourceTableInput
String
The Amazon S3 Data Source’s new description. If not provided this property will not be modified.
idOrUniqueName
required
The ID or unique name of the Amazon S3 Data Source to modify.
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
String
The Amazon S3 Data Source’s new unique name. If not provided this property will not be modified.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Creates a new Twilio Segment Data Source from the given settings.Returns the newly created Data Source (or an error message if creating the Data Source fails).
Arguments
CreateTwilioSegmentDataSourceInput
required
Show CreateTwilioSegmentDataSourceInput
TwilioSegmentConnectionSettingsInput
required
The Twilio Segment Data Source’s connection settings
Show TwilioSegmentConnectionSettingsInput
The Twilio Segment Data Source connection settings.
Boolean
Enables or disables access control for the Data Pool.
If the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.
HttpBasicAuthInput
The HTTP basic authentication settings for the Twilio Segment Data Source URL. If this parameter is not provided, anyone with the webhook URL will be able to send events. While it’s OK to test without HTTP Basic authentication, we recommend enabling it.See HttpBasicAuthInput
Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a
default will be chosen based on the Data Pool’s timestamp and uniqueId values, if any. You can override these
defaults in order to specify a custom table engine, custom ORDER BY, etc.See TableSettingsInput
String
The primary timestamp column, if any.
String
The Twilio Segment Data Source’s description.
String
The Twilio Segment Data Source’s unique name. If not specified, Propel will set the ID as unique name.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Modifies the Data Source by the ID or unique name provided with the given unique name, description, and connection settings.If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.
Arguments
ModifyTwilioSegmentDataSourceInput
required
Show ModifyTwilioSegmentDataSourceInput
PartialTwilioSegmentConnectionSettingsInput
The Twilio Segment Data Source’s new connection settings. If not provided this property will not be modified.
Show PartialTwilioSegmentConnectionSettingsInput
The Twilio Segment Data Source connection settings.
HttpBasicAuthInput
The HTTP basic authentication settings for the Twilio Segment Data Source URL. If this parameter is not provided, anyone with the webhook URL will be able to send events. While it’s OK to test without HTTP Basic authentication, we recommend enabling it. If not provided this property will not be modified.See HttpBasicAuthInput
Boolean
Set this to false to disable HTTP Basic authentication. Any previously stored HTTP Basic authentication settings will be cleared out. If not provided this property will not be modified.
String
The Twilio Segment Data Source’s new description. If not provided this property will not be modified.
idOrUniqueName
required
The ID or unique name of the Twilio Segment Data Source to modify.
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
String
The Twilio Segment Data Source’s new unique name. If not provided this property will not be modified.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Creates a new Webhook Data Source from the given settings.Returns the newly created Data Source (or an error message if creating the Data Source fails).
Arguments
CreateWebhookDataSourceInput
required
Show CreateWebhookDataSourceInput
WebhookConnectionSettingsInput
required
The Webhook Data Source’s connection settings
Show WebhookConnectionSettingsInput
The Webhook Data Source connection settings.
Boolean
Enables or disables access control for the Data Pool.
If the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.
HttpBasicAuthInput
The HTTP basic authentication settings for the Webhook Data Source URL. If this parameter is not provided, anyone with the webhook URL will be able to send events. While it’s OK to test without HTTP Basic authentication, we recommend enabling it.See HttpBasicAuthInput
Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a
default will be chosen based on the Data Pool’s timestamp and uniqueId values, if any. You can override these
defaults in order to specify a custom table engine, custom ORDER BY, etc.See TableSettingsInput
String
The tenant ID column, if any.
String
The primary timestamp column, if any.
String
The unique ID column, if any. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated.
String
The Webhook Data Source’s description.
String
The Webhook Data Source’s unique name. If not specified, Propel will set the ID as unique name.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Modifies the Data Source by the ID or unique name provided with the given unique name, description, and connection settings.If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.
Arguments
ModifyWebhookDataSourceInput
required
Show ModifyWebhookDataSourceInput
PartialWebhookConnectionSettingsInput
The Webhook Data Source’s new connection settings. If not provided this property will not be modified.
Show PartialWebhookConnectionSettingsInput
The Webhook Data Source connection settings.
HttpBasicAuthInput
The HTTP basic authentication settings for the Webhook Data Source URL. If this parameter is not provided, anyone with the webhook URL will be able to send events. While it’s OK to test without HTTP Basic authentication, we recommend enabling it. If not provided this property will not be modified.See HttpBasicAuthInput
Boolean
Set this to false to disable HTTP Basic authentication. Any previously stored HTTP Basic authentication settings will be cleared out. If not provided this property will not be modified.
String
The Webhook Data Source’s new description. If not provided this property will not be modified.
idOrUniqueName
required
The ID or unique name of the Webhook Data Source to modify.
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
String
The Webhook Data Source’s new unique name. If not provided this property will not be modified.
Returns
Non-null
DataSourceResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
Deprecated. Use retryDataPoolSetup instead.deprecated: Use retryDataPoolSetup instead
Arguments
idOrUniqueName
required
Show idOrUniqueName
The ID or unique name input.If both ID and unique name are provided, the ID will take precedence.
String
The unique identifier of the object.
String
The unique name of the object.
Returns
Nullable
DataPool
Show DataPool
The Data Pool object. Data Pools are Propel’s high-speed data store and cache
ID
required
The Data Pool’s unique identifier.
String
required
The Data Pool’s unique name.
String
required
The Data Pool’s description.
Account
required
The Data Pool’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Data Pool’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
CREATED: The Data Pool has been created and will be set up soon.
PENDING: Propel is attempting to set up the Data Pool.
LIVE: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.
SETUP_FAILED: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.
CONNECTING
CONNECTED
BROKEN
PAUSING
PAUSED
DELETING: Propel is deleting the Data Pool and all of its associated data.
Int
required
The Data Pool’s data retention in days (not yet supported).
String
required
The name of the Data Pool’s table.
Timestamp
The Data Pool’s primary timestamp column, if any.
Show Timestamp
A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.
String
required
The name of the column that represents the primary timestamp.
String
required
The primary timestamp column’s type.
String
The number of records in the Data Pool.
Float
The amount of storage in terabytes used by the Data Pool.
The Data Pool column connection’s nodes.See DataPoolColumn
PageInfo
required
The Data Pool column connection’s page info.See PageInfo
[DataPoolSetupTask!]
A list of setup tasks performed on the Data Pool during its most recent setup attempt.
Show DataPoolSetupTask
The Data Pool Setup Task object.Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.
String
required
The name of the Data Pool Setup Task to be performed.
String
A description of the Data Pool Setup Task to be performed.
DataPoolSetupTaskStatus
required
The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).See DataPoolSetupTaskStatus
Error
If the Data Pool Setup Task failed, this field includes a descriptive error message.See Error
DateTime
The time at which the Data Pool Setup Task was completed.
The syncing interval.Note that the syncing interval is approximate. For example, setting the syncing interval to EVERY_1_HOUR
does not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to
when the Data Pool goes LIVE, and Propel will attempt to sync approximately every hour. Additionally,
if you pause or resume syncing, this too can shift the syncing interval around.See DataPoolSyncInterval
DateTime
The date and time of the most recent Sync in UTC.
SyncConnection
The list of Syncs of the Data Pool.
Arguments
SyncsFilter
Show SyncsFilter
The filter to apply when listing the Syncs for a Data Pool.
EMPTY: Returns only Syncs with empty records.
NOT_EMPTY: Returns only Syncs that contain one or more records.
ALL: Returns all Syncs, regardless of whether they contain records or not.
Whether the Data Pool has access control enabled or not.If the Data Pool has access control enabled, Applications must be assigned Data Pool Access
Policies in order to query the Data Pool and its Metrics.
DataPoolAccessPolicyConnection
required
A paginated list of Data Pool Access Policies available on the Data Pool.
Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.
Arguments
String
required
Show ValidateExpressionResult
Response returned by the validateExpression query for validating expressions in Custom Metrics.Returns whether the expression is valid or not with a reason explaining why.
Boolean
required
True if the expression is valid, false otherwise.
String
The reason for why the expression is not valid in case it isn’t, null otherwise.
TableSettings
required
The Data Pool’s table settings.
Show TableSettings
A Data Pool’s table settings.These describe how the Data Pool’s table is created in ClickHouse.
TableEngine
The ClickHouse table engine for the Data Pool’s table.See TableEngine
[String!]
The PARTITION BY clause for the Data Pool’s table.
[String!]
The PRIMARY KEY clause for the Data Pool’s table.
[String!]
The ORDER BY clause for the Data Pool’s table.
String
The TTL clause for the Data Pool’s table.
[DataPoolColumn!]
The Data Pool’s columns that participate in its PARTITION BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its PRIMARY KEY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its ORDER BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
Show Deprecated Fields
Error
deprecated
deprecated: Refer to setupTasks instead
Show Error
The error object.
Int
The error code.
String
required
The error message.
Tenant
deprecated
The Data Pool’s tenant ID, if configured.deprecated: Will be removed; use Data Pool Access Policies instead
Show Tenant
A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.
String
required
The name of the column that represents the tenant ID.
String
required
The tenant ID column’s type.
UniqueId
deprecated
The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.deprecated: Will be removed; use table settings to define the primary key.
Show UniqueId
A Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.
String
required
The name of the column that represents the unique ID.
createPolicy
deprecated
Creates a new Policy granting an Application access to a Metric’s data.deprecated: Use Data Pool Access Policies instead
Arguments
CreatePolicyInput
required
Show CreatePolicyInput
The fields for creating a Policy.
ID
required
The Metric to which the Policy will be applied.
PolicyType
required
The type of Policy to create.
Show PolicyType
The types of Policies that can be applied to a Metric.
ALL_ACCESS: Grants access to all Metric data.
TENANT_ACCESS: Grants access to a specified tenant’s Metric data.
ID
required
The Application that will be granted access to the Metric.
Returns
Nullable
PolicyResponse
Show PolicyResponse
The result of a mutation which creates or modifies a Policy.
Policy
The Policy which was created or modified.
Show Policy
The Policy type. It governs an Application’s access to a Metric’s data.
The operation to perform when comparing the column and filter values.See FilterOperator
String
The value to compare the column to.
[FilterInput!]
Additional filters to AND with this one. AND takes precedence over OR.
[FilterInput!]
Additional filters to OR with this one. AND takes precedence over OR.
Returns
Non-null
RequestDeleteResponse
Show RequestDeleteResponse
The response returned by the Deletion Job.
DeletionJob
required
The Deletion Job that was just created.
Show DeletionJob
Deletion Job scheduled for a specific Data Pool.The Deletion Job represents the asynchronous process of deleting data
given some filters inside a Data Pool. It tracks the deletion process
until it is finished, showing the progress and the outcome when it is finished.
ID
required
The Deletion Job’s ID.
DateTime
required
The Deletion Job’s creation date and time in UTC.
String
required
Who created the Deletion Job.
DateTime
required
The Deletion Job’s last modification date and time in UTC.
String
required
Who last modified the Deletion Job.
Account
required
Account to which the Deletion Job belongs.See Account
Environment
required
Environment to which the Deletion Job belongs.See Environment
DataPool
required
The Data Pool whose records will be deleted by the Deletion Job.
See DataPool
The filters that will be used for deleting data, in the form of SQL. Data matching the filters will be deleted.
Error
The error that occurred while deleting data, if any.See Error
Float
required
The current progress of the Deletion Job, from 0.0 to 1.0.
DateTime
The time at which the Deletion Job started.
DateTime
The time at which the Deletion Job succeeded.
DateTime
The time at which the Deletion Job failed.
Show Deprecated Fields
[Filter!]
deprecated
The list of filters that will be used for deleting data. Data matching the filters will be deleted.deprecated: Use filterSql insteadSee Filter
Was this page helpful?
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Propel docs","colors":{"primary":"#53389E","light":"#B692F6","dark":"#42307D"},"favicon":"/logo/favicon.svg","styling":{"eyebrows":null,"codeblocks":"system"},"logo":{"light":"https://mintcdn.com/propeldocs/sNpmg5Sbvcqytj17/logo/light.svg?fit=max\u0026auto=format\u0026n=sNpmg5Sbvcqytj17\u0026q=85\u0026s=9d44dbaa0d94a0b0efe5b94548583b52","dark":"https://mintcdn.com/propeldocs/sNpmg5Sbvcqytj17/logo/dark.svg?fit=max\u0026auto=format\u0026n=sNpmg5Sbvcqytj17\u0026q=85\u0026s=018cb109a52097ee645367f1cabdbac1","href":"https://www.propeldata.com/docs"},"background":{"decoration":"windows"},"navbar":{"links":[{"label":"Sign up","href":"https://console.propeldata.com/get-started"}],"primary":{"type":"button","label":"Console","href":"https://console.propeldata.com"}},"footer":{"socials":{"website":"https://www.propeldata.com","x":"https://x.com/PropelDataCloud","github":"https://github.com/propeldata","linkedin":"https://www.linkedin.com/company/propeldata"}},"integrations":{"gtm":{"tagId":"GTM-KWHDSH7X"},"segment":{"key":"JofuhN1DoSM6E42ZVPcVUN3jqCmyWVP1"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"propeldocs","hasAudioNarration":false,"actualSubdomain":"propeldocs","customDomains":["www.propeldata.com"],"gitSource":{"type":"github","owner":"propeldata","repo":"docsv2","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae921c25a187fc783f53d53:success","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Embeddable UI","count":72},{"language":"default","tag":"Serverless Cloud","count":65},{"language":"default","tag":"Ingestion","count":44},{"language":"default","tag":"Query APIs","count":40},{"language":"default","tag":"API Reference","count":18},{"language":"default","tag":"Get Started","count":17},{"language":"default","tag":"Guides","count":16},{"language":"default","tag":"Changelog","count":9},{"language":"default","tag":"Manage","count":9},{"language":"default","tag":"Themes","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"docs/management-api/mutations","slug":"/docs/management-api/mutations","pageMetadata":{"title":"Mutations","description":"Available mutations in the Management API","icon":"pen-to-square","href":"/docs/management-api/mutations"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Available mutations in the Management API\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsx(`div`,{}),`\n`,_jsx(Heading,{level:`2`,id:`createenvironment`,children:`createEnvironment`}),`\n`,_jsxs(ParamField,{path:` `,id:`param`,children:[_jsx(_components.p,{children:`Creates an Environment and returns the newly created Environment (or an error if creating the Environment fails).`}),_jsx(Heading,{level:`3`,id:`arguments`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateEnvironmentInput`,required:true,id:`param-input`,children:_jsxs(Expandable,{title:`CreateEnvironmentInput`,children:[_jsx(_components.p,{children:`The fields for creating an Environment.`}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description`,children:_jsx(_components.p,{children:`The Environment’s description.`})})]})}),_jsx(Heading,{level:`3`,id:`returns`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`EnvironmentResponse`})]}),_jsxs(Expandable,{title:`EnvironmentResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies an Environment.`}),_jsxs(ParamField,{path:`environment`,type:`Environment`,id:`param-environment`,children:[_jsx(_components.p,{children:`The Environment which was created or modified.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-1`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-1`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifyenvironment`,children:`modifyEnvironment`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-1`,children:[_jsx(_components.p,{children:`Modifies an Environment with the provided fields. If any of the optional fields are omitted, those properties will be unchanged on the Environment.`}),_jsx(Heading,{level:`3`,id:`arguments-2`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyEnvironmentInput`,required:true,id:`param-input-1`,children:_jsxs(Expandable,{title:`ModifyEnvironmentInput`,children:[_jsx(_components.p,{children:`The fields for modifying an Environment.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-1`}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-2`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-2`,children:_jsx(_components.p,{children:`The Environment’s description.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-2`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`EnvironmentResponse`})]}),_jsxs(Expandable,{title:`EnvironmentResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies an Environment.`}),_jsxs(ParamField,{path:`environment`,type:`Environment`,id:`param-environment-1`,children:[_jsx(_components.p,{children:`The Environment which was created or modified.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-2`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-3`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-3`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-1`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-1`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-1`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-1`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-1`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`deleteenvironment`,children:`deleteEnvironment`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-2`,children:[_jsx(_components.p,{children:`Deletes a Environment by ID and returns its ID if the Environment was deleted successfully.`}),_jsx(Heading,{level:`3`,id:`arguments-3`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-3`})]}),`\n`,_jsx(Heading,{level:`2`,id:`createdatapoolaccesspolicy`,children:`createDataPoolAccessPolicy`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-3`,children:[_jsx(_components.p,{children:`Creates a Data Pool Access Policy for the specified Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-4`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateDataPoolAccessPolicyInput`,required:true,id:`param-input-2`,children:_jsxs(Expandable,{title:`CreateDataPoolAccessPolicyInput`,children:[_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-4`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s unique name. If not specified, Propel will set the ID as unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-4`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s description.`})}),_jsx(ParamField,{path:`dataPool`,type:`ID`,required:true,id:`param-data-pool`,children:_jsx(_components.p,{children:`The Data Pool to which the Access Policy belongs.`})}),_jsxs(ParamField,{path:`columns`,type:`[String!]`,required:true,id:`param-columns`,children:[_jsx(_components.p,{children:`Columns that the Access Policy makes available for querying.`}),_jsxs(_components.p,{children:[`If set to `,_jsx(_components.code,{children:`[\"*\"]`}),`, all columns will be available for querying.`]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql`,children:_jsx(_components.p,{children:`Row-level filters that the Access Policy applies before executing queries, in the form of SQL.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`rows`,type:`[FilterInput!]`,deprecated:true,id:`param-rows`,children:[_jsx(_components.p,{children:`Row-level filters that the Access Policy applies before executing queries.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-3`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPoolAccessPolicyResponse`})]}),_jsx(Expandable,{title:`DataPoolAccessPolicyResponse`,children:_jsxs(ParamField,{path:`dataPoolAccessPolicy`,type:`DataPoolAccessPolicy`,required:true,id:`param-data-pool-access-policy`,children:[_jsx(_components.p,{children:`The Data Pool Access Policy.`}),_jsxs(Expandable,{title:`DataPoolAccessPolicy`,children:[_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-4`,children:_jsx(_components.p,{children:`The ID of the Data Pool Access Policy.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-5`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-5`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-2`,children:[_jsx(_components.p,{children:`The Data Pool Access Policy’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-2`,children:[_jsx(_components.p,{children:`The Data Pool Access Policy’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-2`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-2`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-2`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-2`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,required:true,id:`param-data-pool-1`,children:_jsxs(_components.p,{children:[`The Data Pool to which the Access Policy belongs.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsx(ParamField,{path:`columns`,type:`[String!]`,required:true,id:`param-columns-1`,children:_jsx(_components.p,{children:`Columns that the Access Policy makes available for querying.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-1`,children:_jsx(_components.p,{children:`Row-level filters that the Access Policy applies before executing queries, in the form of SQL.`})}),_jsxs(ParamField,{path:`applications`,type:`ApplicationConnection`,required:true,id:`param-applications`,children:[_jsx(_components.p,{children:`Applications that are assigned to this Data Pool Access Policy.`}),_jsx(Heading,{level:`3`,id:`arguments-5`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#applicationconnection`,children:`ApplicationConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`rows`,type:`[Filter!]`,deprecated:true,id:`param-rows-1`,children:[_jsx(_components.p,{children:`Row-level filters that the Access Policy applies before executing queries.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filtersSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#filter`,children:`Filter`})]})]})})]})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifydatapoolaccesspolicy`,children:`modifyDataPoolAccessPolicy`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-4`,children:[_jsx(_components.p,{children:`Modifies a Data Pool Access Policy with the provided unique name, description, columns and rows. If any of the optional arguments are omitted, those properties will be unchanged on the Data Pool Access Policy.`}),_jsx(Heading,{level:`3`,id:`arguments-6`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyDataPoolAccessPolicyInput`,required:true,id:`param-input-3`,children:_jsxs(Expandable,{title:`ModifyDataPoolAccessPolicyInput`,children:[_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-5`}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-6`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s new unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-6`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s new description.`})}),_jsx(ParamField,{path:`columns`,type:`[String!]`,id:`param-columns-2`,children:_jsx(_components.p,{children:`Columns that the Access Policy makes available for querying. If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-2`,children:_jsx(_components.p,{children:`Row-level filters that the Access Policy applies before executing queries, in the form of SQL. If not provided this property will not be modified.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`rows`,type:`[FilterInput!]`,deprecated:true,id:`param-rows-2`,children:[_jsx(_components.p,{children:`Row-level filters that the Access Policy applies before executing queries. If not provided this property will not be modified.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-1`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-1`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-1`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and-1`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or-1`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-4`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPoolAccessPolicyResponse`})]}),_jsx(Expandable,{title:`DataPoolAccessPolicyResponse`,children:_jsxs(ParamField,{path:`dataPoolAccessPolicy`,type:`DataPoolAccessPolicy`,required:true,id:`param-data-pool-access-policy-1`,children:[_jsx(_components.p,{children:`The Data Pool Access Policy.`}),_jsxs(Expandable,{title:`DataPoolAccessPolicy`,children:[_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-6`,children:_jsx(_components.p,{children:`The ID of the Data Pool Access Policy.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-7`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-7`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-3`,children:[_jsx(_components.p,{children:`The Data Pool Access Policy’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-3`,children:[_jsx(_components.p,{children:`The Data Pool Access Policy’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-3`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-3`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-3`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-3`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,required:true,id:`param-data-pool-2`,children:_jsxs(_components.p,{children:[`The Data Pool to which the Access Policy belongs.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsx(ParamField,{path:`columns`,type:`[String!]`,required:true,id:`param-columns-3`,children:_jsx(_components.p,{children:`Columns that the Access Policy makes available for querying.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-3`,children:_jsx(_components.p,{children:`Row-level filters that the Access Policy applies before executing queries, in the form of SQL.`})}),_jsxs(ParamField,{path:`applications`,type:`ApplicationConnection`,required:true,id:`param-applications-1`,children:[_jsx(_components.p,{children:`Applications that are assigned to this Data Pool Access Policy.`}),_jsx(Heading,{level:`3`,id:`arguments-7`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-1`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-1`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-1`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-1`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#applicationconnection`,children:`ApplicationConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`rows`,type:`[Filter!]`,deprecated:true,id:`param-rows-3`,children:[_jsx(_components.p,{children:`Row-level filters that the Access Policy applies before executing queries.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filtersSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#filter`,children:`Filter`})]})]})})]})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`deletedatapoolaccesspolicy`,children:`deleteDataPoolAccessPolicy`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-5`,children:[_jsx(_components.p,{children:`Deletes a Data Pool Access Policy by ID and returns its ID if the Data Pool Access Policy was deleted successfully.`}),_jsx(Heading,{level:`3`,id:`arguments-8`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-7`})]}),`\n`,_jsx(Heading,{level:`2`,id:`assigndatapoolaccesspolicytoapplication`,children:`assignDataPoolAccessPolicyToApplication`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-6`,children:[_jsx(_components.p,{children:`Assign a Data Pool Access Policy to an Application.`}),_jsxs(_components.p,{children:[`The Data Pool Access Policy will restrict the Data Pool rows and columns that the Application\ncan query. If the Data Pool has `,_jsx(_components.code,{children:`accessControlEnabled`}),` set to true, the Application\n`,_jsx(_components.em,{children:`must`}),` have a Data Pool Access Policy assigned in order to query the Data Pool.`]}),_jsx(_components.p,{children:`An Application can have at most one Data Pool Access Policy assigned for a given Data Pool. If\nan Application already has a Data Pool Access Policy for a given Data Pool, and you call this\nmutation with another Data Pool Access Policy for the same Data Pool, the Application’s Data Pool Access\nPolicy will be replaced.`}),_jsx(Heading,{level:`3`,id:`arguments-9`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`dataPoolAccessPolicy`,type:`ID`,required:true,id:`param-data-pool-access-policy-2`}),_jsx(ParamField,{notPatch:true,path:`application`,type:`ID`,required:true,id:`param-application`})]}),`\n`,_jsx(Heading,{level:`2`,id:`unassigndatapoolaccesspolicyfromapplication`,children:`unAssignDataPoolAccessPolicyFromApplication`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-7`,children:[_jsx(_components.p,{children:`Unassign a Data Pool Access Policy from an Application.`}),_jsxs(_components.p,{children:[`Once unassigned, whether the Application will be able to query the Data Pool is\ncontrolled by the Data Pool’s `,_jsx(_components.code,{children:`accessControlEnabled`}),` property. If\n`,_jsx(_components.code,{children:`accessControlEnabled`}),` is true, the Application will no longer be able to query the\nData Pool. If `,_jsx(_components.code,{children:`accessControlEnabled`}),` is false, the Application will be able to query\n`,_jsx(_components.em,{children:`all`}),` data in the Data Pool, unrestricted.`]}),_jsx(Heading,{level:`3`,id:`arguments-10`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`dataPoolAccessPolicy`,type:`ID`,required:true,id:`param-data-pool-access-policy-3`}),_jsx(ParamField,{notPatch:true,path:`application`,type:`ID`,required:true,id:`param-application-1`})]}),`\n`,_jsx(Heading,{level:`2`,id:`createapplication`,children:`createApplication`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-8`,children:[_jsx(_components.p,{children:`Creates a new Application and returns the newly created Application (or an error message if creating the Application fails).`}),_jsx(_components.p,{children:`Required scopes:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`APPLICATION_ADMIN`}),`\n`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`23`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`mutation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` createApplication`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` uniqueName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example_sample_application\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"My dashboard app\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` scopes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`DATA_POOL_QUERY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` propeller`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` P1_X_SMALL`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ) {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` ApplicationResponse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` application`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` id`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` uniqueName`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` FailureResponse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` code`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` message`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`arguments-11`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`createApplicationInput`,required:true,id:`param-input-4`,children:_jsxs(Expandable,{title:`createApplicationInput`,children:[_jsx(_components.p,{children:`The fields for creating an Application.`}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-8`,children:_jsx(_components.p,{children:`The Application’s unique name. If not specified, Propel will set the ID as unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-8`,children:_jsx(_components.p,{children:`The Application’s description.`})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,id:`param-propeller`,children:[_jsxs(_components.p,{children:[`The Application’s Propeller. If no Propeller is provided, Propel will set the Propeller to `,_jsx(_components.code,{children:`P1_X_SMALL`}),`.`]}),_jsxs(Expandable,{title:`Propeller`,children:[_jsx(_components.p,{children:`A Propeller determines your Application’s query processing power. The larger the Propeller, the faster the queries and the higher the cost. Every Propel Application (and therefore every set of API credentials) has a Propeller that determines the speed and cost of queries.`}),_jsx(ParamField,{path:` `,id:`param-9`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_X_SMALL`}),`: Max records per second: 5,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_SMALL`}),`: Max records per second: 25,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_MEDIUM`}),`: Max records per second: 100,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_LARGE`}),`: Max records per second: 250,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_X_LARGE`}),`: Max records per second: 500,000,000 records per second`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`scopes`,type:`[ApplicationScope!]`,id:`param-scopes`,children:[_jsx(_components.p,{children:`The Application’s API authorization scopes. If specified, at least one scope must be provided; otherwise, all scopes will be granted to the Application by default.`}),_jsxs(Expandable,{title:`ApplicationScope`,children:[_jsx(_components.p,{children:`The API operations an Application is authorized to perform.`}),_jsxs(ParamField,{path:` `,id:`param-10`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ADMIN`}),`: Grant read/write access to Data Sources, Data Pools, Metrics and Policies.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`APPLICATION_ADMIN`}),`: Grant read/write access to Applications.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATA_POOL_QUERY`}),`: Grant read access to query Data Pools.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATA_POOL_READ`}),`: Grant read access to read Data Pools.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATA_POOL_STATS`}),`: Grant read access to fetch column statistics from Data Pools.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ENVIRONMENT_ADMIN`}),`: Grant read/write access to Environments.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`METRIC_QUERY`}),`: Grant read access to query Metrics.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`METRIC_STATS`}),`: Grant read access to fetch Dimension statistics from Metrics.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`METRIC_READ`}),`: Grant read access to Metrics.`]}),`\n`]}),_jsxs(_components.p,{children:[`This does not allow querying Metrics. For that, see `,_jsx(_components.code,{children:`METRIC_QUERY`}),`.`]})]})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-5`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`ApplicationOrFailureResponse`})]}),_jsxs(Expandable,{title:`ApplicationOrFailureResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies an Application.`}),_jsxs(_components.p,{children:[`If successful, an `,_jsx(_components.code,{children:`ApplicationResponse`}),` will be returned; otherwise, a\n`,_jsx(_components.code,{children:`FailureResponse`}),` will be returned.`]}),_jsxs(ParamField,{path:`ApplicationOrFailureResponse`,type:`ApplicationResponse | FailureResponse`,id:`param-application-or-failure-response`,children:[_jsxs(Expandable,{title:`ApplicationResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies an Application.`}),_jsxs(ParamField,{path:`application`,type:`Application`,id:`param-application-2`,children:[_jsx(_components.p,{children:`The Application which was created or modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#application`,children:`Application`})]})]})]}),_jsxs(Expandable,{title:`FailureResponse`,children:[_jsx(_components.p,{children:`The failure response object.`}),_jsxs(ParamField,{path:`error`,type:`Error`,required:true,id:`param-error`,children:[_jsx(_components.p,{children:`The error that caused the failure.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifyapplication`,children:`modifyApplication`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-11`,children:[_jsx(_components.p,{children:`Modifies an Application with the provided unique name, description, Propeller, and scopes. If any of the optional arguments are omitted, those properties will be unchanged on the Application.`}),_jsx(Heading,{level:`3`,id:`arguments-12`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`modifyApplicationInput`,required:true,id:`param-input-5`,children:_jsxs(Expandable,{title:`modifyApplicationInput`,children:[_jsx(_components.p,{children:`The fields for modifying an Application.`}),_jsxs(ParamField,{path:`idOrUniqueName`,type:`idOrUniqueName`,required:true,id:`param-id-or-unique-name`,children:[_jsx(_components.p,{children:`The ID or unique name of the Application to modify.`}),_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-8`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-9`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-10`,children:_jsx(_components.p,{children:`The Application’s new unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-9`,children:_jsx(_components.p,{children:`The Application’s new description.`})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,id:`param-propeller-1`,children:[_jsx(_components.p,{children:`The Application’s new Propeller.`}),_jsxs(Expandable,{title:`Propeller`,children:[_jsx(_components.p,{children:`A Propeller determines your Application’s query processing power. The larger the Propeller, the faster the queries and the higher the cost. Every Propel Application (and therefore every set of API credentials) has a Propeller that determines the speed and cost of queries.`}),_jsx(ParamField,{path:` `,id:`param-12`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_X_SMALL`}),`: Max records per second: 5,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_SMALL`}),`: Max records per second: 25,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_MEDIUM`}),`: Max records per second: 100,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_LARGE`}),`: Max records per second: 250,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_X_LARGE`}),`: Max records per second: 500,000,000 records per second`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`scopes`,type:`[ApplicationScope!]`,id:`param-scopes-1`,children:[_jsx(_components.p,{children:`The Application’s new API authorization scopes.`}),_jsxs(Expandable,{title:`ApplicationScope`,children:[_jsx(_components.p,{children:`The API operations an Application is authorized to perform.`}),_jsxs(ParamField,{path:` `,id:`param-13`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ADMIN`}),`: Grant read/write access to Data Sources, Data Pools, Metrics and Policies.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`APPLICATION_ADMIN`}),`: Grant read/write access to Applications.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATA_POOL_QUERY`}),`: Grant read access to query Data Pools.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATA_POOL_READ`}),`: Grant read access to read Data Pools.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATA_POOL_STATS`}),`: Grant read access to fetch column statistics from Data Pools.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ENVIRONMENT_ADMIN`}),`: Grant read/write access to Environments.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`METRIC_QUERY`}),`: Grant read access to query Metrics.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`METRIC_STATS`}),`: Grant read access to fetch Dimension statistics from Metrics.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`METRIC_READ`}),`: Grant read access to Metrics.`]}),`\n`]}),_jsxs(_components.p,{children:[`This does not allow querying Metrics. For that, see `,_jsx(_components.code,{children:`METRIC_QUERY`}),`.`]})]})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-6`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`ApplicationOrFailureResponse`})]}),_jsxs(Expandable,{title:`ApplicationOrFailureResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies an Application.`}),_jsxs(_components.p,{children:[`If successful, an `,_jsx(_components.code,{children:`ApplicationResponse`}),` will be returned; otherwise, a\n`,_jsx(_components.code,{children:`FailureResponse`}),` will be returned.`]}),_jsxs(ParamField,{path:`ApplicationOrFailureResponse`,type:`ApplicationResponse | FailureResponse`,id:`param-application-or-failure-response-1`,children:[_jsxs(Expandable,{title:`ApplicationResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies an Application.`}),_jsxs(ParamField,{path:`application`,type:`Application`,id:`param-application-3`,children:[_jsx(_components.p,{children:`The Application which was created or modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#application`,children:`Application`})]})]})]}),_jsxs(Expandable,{title:`FailureResponse`,children:[_jsx(_components.p,{children:`The failure response object.`}),_jsxs(ParamField,{path:`error`,type:`Error`,required:true,id:`param-error-1`,children:[_jsx(_components.p,{children:`The error that caused the failure.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`deleteapplication`,children:`deleteApplication`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-14`,children:[_jsx(_components.p,{children:`Deletes an Application by ID and returns its ID if the Application was deleted successfully.`}),_jsx(Heading,{level:`3`,id:`arguments-13`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-9`})]}),`\n`,_jsx(Heading,{level:`2`,id:`deleteapplicationbyname`,children:`deleteApplicationByName`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-15`,children:[_jsx(_components.p,{children:`Deletes an Application by unique name and returns its ID if the Application was deleted successfully.`}),_jsx(Heading,{level:`3`,id:`arguments-14`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-11`})]}),`\n`,_jsx(Heading,{level:`2`,id:`createsnowflakedatasource`,children:`createSnowflakeDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-16`,children:[_jsx(_components.p,{children:`Creates a new Data Source from the given Snowflake database using the specified Snowflake account, warehouse, schema, username, and role.`}),_jsx(_components.p,{children:`Returns the newly created Data Source (or an error message if creating the Data Source fails).`}),_jsx(Heading,{level:`3`,id:`arguments-15`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`createSnowflakeDataSourceInput`,required:true,id:`param-input-6`,children:_jsxs(Expandable,{title:`createSnowflakeDataSourceInput`,children:[_jsx(_components.p,{children:`The fields for creating a Snowflake Data Source.`}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-12`,children:_jsx(_components.p,{children:`The Data Source’s unique name. If not specified, Propel will set the ID as unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-10`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`connectionSettings`,type:`SnowflakeConnectionSettingsInput`,required:true,id:`param-connection-settings`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(Expandable,{title:`SnowflakeConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The fields for creating a Snowflake Data Source’s connection settings.`}),_jsx(ParamField,{path:`account`,type:`String`,required:true,id:`param-account-4`,children:_jsx(_components.p,{children:`The Snowflake account. Only include the part before the “snowflakecomputing.com” part of your Snowflake URL (make sure you are in classic console, not Snowsight). For AWS-based accounts, this looks like “znXXXXX.us-east-2.aws”. For Google Cloud-based accounts, this looks like “ffXXXXX.us-central1.gcp”.`})}),_jsx(ParamField,{path:`database`,type:`String`,required:true,id:`param-database`,children:_jsx(_components.p,{children:`The Snowflake database name.`})}),_jsx(ParamField,{path:`warehouse`,type:`String`,required:true,id:`param-warehouse`,children:_jsx(_components.p,{children:`The Snowflake warehouse name. It should be “PROPELLING” if you used the default name in the setup script.`})}),_jsx(ParamField,{path:`schema`,type:`String`,required:true,id:`param-schema`,children:_jsx(_components.p,{children:`The Snowflake schema.`})}),_jsx(ParamField,{path:`username`,type:`String`,required:true,id:`param-username`,children:_jsx(_components.p,{children:`The Snowflake username. It should be “PROPEL” if you used the default name in the setup script.`})}),_jsx(ParamField,{path:`password`,type:`String`,required:true,id:`param-password`,children:_jsx(_components.p,{children:`The Snowflake password.`})}),_jsx(ParamField,{path:`role`,type:`String`,required:true,id:`param-role`,children:_jsx(_components.p,{children:`The Snowflake role. It should be “PROPELLER” if you used the default name in the setup script.`})})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-7`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceOrFailureResponse`})]}),_jsxs(Expandable,{title:`DataSourceOrFailureResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a DataSource.`}),_jsxs(_components.p,{children:[`If successful, an `,_jsx(_components.code,{children:`DataSourceResponse`}),` will be returned; otherwise, a\n`,_jsx(_components.code,{children:`FailureResponse`}),` will be returned.`]}),_jsxs(ParamField,{path:`DataSourceOrFailureResponse`,type:`DataSourceResponse | FailureResponse`,id:`param-data-source-or-failure-response`,children:[_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})]})]}),_jsxs(Expandable,{title:`FailureResponse`,children:[_jsx(_components.p,{children:`The failure response object.`}),_jsxs(ParamField,{path:`error`,type:`Error`,required:true,id:`param-error-2`,children:[_jsx(_components.p,{children:`The error that caused the failure.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifysnowflakedatasource`,children:`modifySnowflakeDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-17`,children:[_jsx(_components.p,{children:`Modifies a Data Source with the provided unique name, description, and connection settings. If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.`}),_jsx(Heading,{level:`3`,id:`arguments-16`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`modifySnowflakeDataSourceInput`,required:true,id:`param-input-7`,children:_jsxs(Expandable,{title:`modifySnowflakeDataSourceInput`,children:[_jsx(_components.p,{children:`The fields for modifying a Snowflake Data Source.`}),_jsxs(ParamField,{path:`idOrUniqueName`,type:`idOrUniqueName`,required:true,id:`param-id-or-unique-name-1`,children:[_jsx(_components.p,{children:`The ID or unique name of the Data Source to modify.`}),_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-10`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-13`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-14`,children:_jsx(_components.p,{children:`The Data Source’s new unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-11`,children:_jsx(_components.p,{children:`The Data Source’s new description.`})}),_jsxs(ParamField,{path:`connectionSettings`,type:`PartialSnowflakeConnectionSettingsInput`,id:`param-connection-settings-1`,children:[_jsx(_components.p,{children:`The Data Source’s new connection settings.`}),_jsxs(Expandable,{title:`PartialSnowflakeConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The fields for modifying a Snowflake Data Source’s connection settings.`}),_jsx(ParamField,{path:`account`,type:`String`,id:`param-account-5`,children:_jsx(_components.p,{children:`The Snowflake account. Only include the part before the “snowflakecomputing.com” part of your Snowflake URL (make sure you are in classic console, not Snowsight). For AWS-based accounts, this looks like “znXXXXX.us-east-2.aws”. For Google Cloud-based accounts, this looks like “ffXXXXX.us-central1.gcp”. If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`database`,type:`String`,id:`param-database-1`,children:_jsx(_components.p,{children:`The Snowflake database name. If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`warehouse`,type:`String`,id:`param-warehouse-1`,children:_jsx(_components.p,{children:`The Snowflake warehouse name. It should be “PROPELLING” if you used the default name in the setup script. If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`schema`,type:`String`,id:`param-schema-1`,children:_jsx(_components.p,{children:`The Snowflake schema. If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`username`,type:`String`,id:`param-username-1`,children:_jsx(_components.p,{children:`The Snowflake username. It should be “PROPEL” if you used the default name in the setup script. If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`password`,type:`String`,id:`param-password-1`,children:_jsx(_components.p,{children:`The Snowflake password. If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`role`,type:`String`,id:`param-role-1`,children:_jsx(_components.p,{children:`The Snowflake role. It should be “PROPELLER” if you used the default name in the setup script. If not provided this property will not be modified.`})})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-8`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceOrFailureResponse`})]}),_jsxs(Expandable,{title:`DataSourceOrFailureResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a DataSource.`}),_jsxs(_components.p,{children:[`If successful, an `,_jsx(_components.code,{children:`DataSourceResponse`}),` will be returned; otherwise, a\n`,_jsx(_components.code,{children:`FailureResponse`}),` will be returned.`]}),_jsxs(ParamField,{path:`DataSourceOrFailureResponse`,type:`DataSourceResponse | FailureResponse`,id:`param-data-source-or-failure-response-1`,children:[_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-1`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})]})]}),_jsxs(Expandable,{title:`FailureResponse`,children:[_jsx(_components.p,{children:`The failure response object.`}),_jsxs(ParamField,{path:`error`,type:`Error`,required:true,id:`param-error-3`,children:[_jsx(_components.p,{children:`The error that caused the failure.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`reconnectdatasource`,children:`reconnectDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-18`,children:[_jsx(_components.p,{children:`Attempts to reconnect a Data Source. The mutation then returns the Data Source object.`}),_jsx(Heading,{level:`3`,id:`arguments-17`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`idOrUniqueName`,required:true,id:`param-input-8`,children:_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-11`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-15`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-9`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSource`})]}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-12`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-16`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-12`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-6`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-13`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-4`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-14`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-17`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-13`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-4`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-4`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-4`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-4`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-7`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-5`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-5`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-5`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-5`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(Expandable,{title:`DataSourceType`,children:[_jsx(_components.p,{children:`The types of Data Sources.`}),_jsx(ParamField,{path:` `,id:`param-19`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`WEBHOOK`}),`: Indicates a Webhook Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TWILIO_SEGMENT`}),`: Indicates a Twilio Segment Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`S3`}),`: Indicates an Amazon S3 Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Redshift`}),`: Indicates a Redshift Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`POSTGRESQL`}),`: Indicates a PostgreSQL Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`KAFKA`}),`: Indicates a Kafka Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Http`}),`: Indicates an Http Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CLICKHOUSE`}),`: Indicates a ClickHouse Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AMAZON_DYNAMODB`}),`: Indicates an Amazon DynamoDB Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AMAZON_DATA_FIREHOSE`}),`: Indicates an Amazon Data Firehose Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Snowflake`}),`: Indicates a Snowflake Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INTERNAL`}),`: Indicates an internal Data Source.`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(Expandable,{title:`DataSourceStatus`,children:[_jsx(_components.p,{children:`The status of a Data Source.`}),_jsx(ParamField,{path:` `,id:`param-20`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Data Source has been created, but it is not connected yet.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CONNECTING`}),`: Propel is attempting to connect the Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CONNECTED`}),`: The Data Source is connected.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BROKEN`}),`: The Data Source failed to connect.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Data Source.`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-2`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsx(Expandable,{title:`ConnectionSettings`,children:_jsxs(ParamField,{path:`ConnectionSettings`,type:`SnowflakeConnectionSettings | InternalConnectionSettings | AmazonDataFirehoseConnectionSettings | AmazonDynamoDBConnectionSettings | ClickHouseConnectionSettings | HttpConnectionSettings | KafkaConnectionSettings | PostgreSqlConnectionSettings | S3ConnectionSettings | TwilioSegmentConnectionSettings | WebhookConnectionSettings`,id:`param-connection-settings-3`,children:[_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#snowflakeconnectionsettings`,children:`SnowflakeConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#internalconnectionsettings`,children:`InternalConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#amazondatafirehoseconnectionsettings`,children:`AmazonDataFirehoseConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#amazondynamodbconnectionsettings`,children:`AmazonDynamoDBConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#clickhouseconnectionsettings`,children:`ClickHouseConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#httpconnectionsettings`,children:`HttpConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#kafkaconnectionsettings`,children:`KafkaConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#postgresqlconnectionsettings`,children:`PostgreSqlConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#s3connectionsettings`,children:`S3ConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#twiliosegmentconnectionsettings`,children:`TwilioSegmentConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#webhookconnectionsettings`,children:`WebhookConnectionSettings`})]})]})})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-18`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-2`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-2`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-2`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-2`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-19`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-3`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-3`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-3`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-3`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(Expandable,{title:`DataSourceCheck`,children:[_jsx(_components.p,{children:`The Data Source Check object.`}),_jsx(_components.p,{children:`Data Source Checks are executed when setting up your Data Source. They check that Propel will be able to receive data and setup Data Pools.`}),_jsx(_components.p,{children:`The exact Checks to perform vary by Data Source. For example, Snowflake-backed Data Sources will have their own specific Checks.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The name of the Data Source Check to be performed.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-14`,children:_jsx(_components.p,{children:`A description of the Data Source Check to be performed.`})}),_jsxs(ParamField,{path:`status`,type:`DataSourceCheckStatus`,required:true,id:`param-status-1`,children:[_jsx(_components.p,{children:`The status of the Data Source Check (all checks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcecheckstatus`,children:`DataSourceCheckStatus`})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-4`,children:[_jsx(_components.p,{children:`If the Data Source Check failed, this field includes a descriptive error message.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`checkedAt`,type:`DateTime`,id:`param-checked-at`,children:_jsx(_components.p,{children:`The time at which the Data Source Check was performed.`})})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-20`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-4`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-4`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-4`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-4`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-5`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message`,children:_jsx(_components.p,{children:`The error message.`})})]})]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`introspecttables`,children:`introspectTables`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-21`,children:[_jsx(_components.p,{children:`Introspects the tables in a Data Source.`}),_jsx(_components.p,{children:`Returns the tables along with when they were last cached from the Data Source.`}),_jsx(Heading,{level:`3`,id:`arguments-21`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`idOrUniqueName`,required:true,id:`param-input-9`,children:_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-15`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-18`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-10`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`TableIntrospection`})]}),_jsxs(Expandable,{title:`TableIntrospection`,children:[_jsx(_components.p,{children:`The table introspection object.`}),_jsx(_components.p,{children:`When setting up a Data Source, Propel may need to introspect tables in order to determine what tables and columns are available to create Data Pools from. The table introspection represents the lifecycle of this operation (whether it’s in-progress, succeeded, or failed) and the resulting tables and columns. These will be captured as table and column objects, respectively.`}),_jsx(ParamField,{path:`dataSource`,type:`DataSource`,required:true,id:`param-data-source-2`,children:_jsxs(_components.p,{children:[`The Data Source the table introspection was performed for.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})}),_jsxs(ParamField,{path:`status`,type:`TableIntrospectionStatus`,required:true,id:`param-status-2`,children:[_jsx(_components.p,{children:`The status of the table introspection.`}),_jsxs(Expandable,{title:`TableIntrospectionStatus`,children:[_jsx(_components.p,{children:`The status of a table introspection.`}),_jsx(ParamField,{path:` `,id:`param-22`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NOT_STARTED`}),`: The table introspection has not started.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`STARTED`}),`: The table introspection has started.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUCCEEDED`}),`: The table introspection succeeded.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FAILED`}),`: The table introspection failed.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-6`,children:_jsx(_components.p,{children:`The table introspection’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-6`,children:_jsx(_components.p,{children:`The table introspection’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-6`,children:_jsx(_components.p,{children:`The table introspection’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-6`,children:_jsx(_components.p,{children:`The table introspection’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`numTables`,type:`Int`,id:`param-num-tables`,children:_jsx(_components.p,{children:`The number of tables introspected.`})}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-1`,children:[_jsx(_components.p,{children:`The tables introspected.`}),_jsx(Heading,{level:`3`,id:`arguments-22`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-5`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-5`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-5`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-5`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`testdatasource`,children:`testDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-23`,children:[_jsx(_components.p,{children:`Tests that Propel can actually connect to the data warehouse. Updates the status.`}),_jsx(Heading,{level:`3`,id:`arguments-23`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`idOrUniqueName`,required:true,id:`param-input-10`,children:_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-16`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-19`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-11`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceOrFailureResponse`})]}),_jsxs(Expandable,{title:`DataSourceOrFailureResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a DataSource.`}),_jsxs(_components.p,{children:[`If successful, an `,_jsx(_components.code,{children:`DataSourceResponse`}),` will be returned; otherwise, a\n`,_jsx(_components.code,{children:`FailureResponse`}),` will be returned.`]}),_jsxs(ParamField,{path:`DataSourceOrFailureResponse`,type:`DataSourceResponse | FailureResponse`,id:`param-data-source-or-failure-response-2`,children:[_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-3`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})]})]}),_jsxs(Expandable,{title:`FailureResponse`,children:[_jsx(_components.p,{children:`The failure response object.`}),_jsxs(ParamField,{path:`error`,type:`Error`,required:true,id:`param-error-6`,children:[_jsx(_components.p,{children:`The error that caused the failure.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`deletedatasource`,children:`deleteDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-24`,children:[_jsx(_components.p,{children:`Deletes a Data Source by ID and returns its ID if the Data Source was deleted successfully.`}),_jsx(Heading,{level:`3`,id:`arguments-24`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-17`})]}),`\n`,_jsx(Heading,{level:`2`,id:`deletedatasourcebyname`,children:`deleteDataSourceByName`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-25`,children:[_jsx(_components.p,{children:`Deletes a Data Source by unique name and returns its ID if the Data Source was deleted successfully.`}),_jsx(Heading,{level:`3`,id:`arguments-25`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-20`})]}),`\n`,_jsx(Heading,{level:`2`,id:`createdatapoolv2`,children:`createDataPoolV2`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-26`,children:[_jsx(_components.p,{children:`Creates a new Data Pool.`}),_jsx(_components.p,{children:`Returns the newly created Data Pool or an error message if it fails.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`71`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`71`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`mutation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` createDataPoolV2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dataSource`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"DSOXXXXX\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` table`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tacosoft_sales_analytics\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` timestamp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`columnName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` columns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` columnName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` TIMESTAMP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` isNullable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` columnName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` STRING`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` isNullable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` columnName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"taco_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` STRING`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` isNullable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` columnName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"toppings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` isNullable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` columnName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"quantity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` INT32`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` isNullable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` columnName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"taco_unit_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` INT32`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` isNullable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` columnName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"taco_total_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` INT32`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` isNullable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }) {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` dataPool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` id`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` uniqueName`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` tableSettings`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` orderBy`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` engine`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` MergeTreeTableEngine`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` ReplacingMergeTreeTableEngine`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` ver`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` SummingMergeTreeTableEngine`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` columns`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` AggregatingMergeTreeTableEngine`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` PostgreSqlTableEngine`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`arguments-26`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateDataPoolInputV2`,required:true,id:`param-input-11`,children:_jsxs(Expandable,{title:`CreateDataPoolInputV2`,children:[_jsx(_components.p,{children:`The fields for creating a Data Pool.`}),_jsx(ParamField,{path:`dataSource`,type:`ID`,id:`param-data-source-4`,children:_jsx(_components.p,{children:`The Data Source that will be used to create the Data Pool.`})}),_jsx(ParamField,{path:`table`,type:`String`,id:`param-table`,children:_jsx(_components.p,{children:`The table that the Data Pool will sync from.`})}),_jsxs(ParamField,{path:`timestamp`,type:`TimestampInput`,id:`param-timestamp`,children:[_jsx(_components.p,{children:`The table’s primary timestamp column.`}),_jsx(_components.p,{children:`Propel uses the primary timestamp to order and partition your data in Data Pools. It’s part of what makes Propel\nfast for larger data sets. It will also serve as the time dimension for your Metrics.`}),_jsx(_components.p,{children:`If you do not provide a primary timestamp column, you will need to supply an alternate timestamp when querying your\nData Pool or its Metrics using the TimeRangeInput.`}),_jsxs(Expandable,{title:`TimestampInput`,children:[_jsx(_components.p,{children:`The fields to specify the Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name`,children:_jsx(_components.p,{children:`The name of the column that represents the primary timestamp.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-21`,children:_jsx(_components.p,{children:`The Data Pool’s unique name. If not specified, Propel will set the ID as the unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-15`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`columns`,type:`[DataPoolColumnInput!]`,id:`param-columns-4`,children:[_jsx(_components.p,{children:`The list of columns.`}),_jsxs(Expandable,{title:`DataPoolColumnInput`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-1`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-1`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,id:`param-click-house-type`,children:_jsxs(_components.p,{children:[`The ClickHouse type to use when `,_jsx(_components.code,{children:`type`}),` is set to `,_jsx(_components.code,{children:`CLICKHOUSE`}),`.`]})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})})]})]}),_jsxs(ParamField,{path:`syncing`,type:`DataPoolSyncingInput`,id:`param-syncing`,children:[_jsx(_components.p,{children:`The Data Pool’s syncing settings.`}),_jsxs(Expandable,{title:`DataPoolSyncingInput`,children:[_jsx(_components.p,{children:`The fields for modifying the Data Pool syncing.`}),_jsx(ParamField,{path:`interval`,type:`DataPoolSyncInterval`,required:true,id:`param-interval`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncinterval`,children:`DataPoolSyncInterval`})]})})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,id:`param-access-control-enabled`,children:[_jsx(_components.p,{children:`Enables or disables access control for the Data Pool.`}),_jsx(_components.p,{children:`If the Data Pool has access control enabled, Applications must be assigned Data Pool Access\nPolicies in order to query the Data Pool and its Metrics.`})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettingsInput`,id:`param-table-settings`,children:[_jsxs(_components.p,{children:[`Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a\ndefault will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` and `,_jsx(_components.code,{children:`uniqueId`}),` values, if any. You can override these\ndefaults in order to specify a custom table engine, custom ORDER BY, etc.`]}),_jsxs(Expandable,{title:`TableSettingsInput`,children:[_jsx(_components.p,{children:`A Data Pool’s table settings.`}),_jsx(_components.p,{children:`These describe how the Data Pool’s table is created in ClickHouse.`}),_jsxs(ParamField,{path:`engine`,type:`TableEngineInput`,id:`param-engine`,children:[_jsx(_components.p,{children:`The ClickHouse table engine for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`This field is optional. A default will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` and `,_jsx(_components.code,{children:`uniqueId`}),` values, if specified.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#tableengineinput`,children:`TableEngineInput`})]})]}),_jsxs(ParamField,{path:`partitionBy`,type:`[String!]`,id:`param-partition-by`,children:[_jsx(_components.p,{children:`The PARTITION BY clause for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`This field is optional. A default will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` and `,_jsx(_components.code,{children:`uniqueId`}),` values, if specified.`]})]}),_jsxs(ParamField,{path:`primaryKey`,type:`[String!]`,id:`param-primary-key`,children:[_jsx(_components.p,{children:`The PRIMARY KEY clause for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`This field is optional. A default will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` and `,_jsx(_components.code,{children:`uniqueId`}),` values, if specified.`]})]}),_jsxs(ParamField,{path:`orderBy`,type:`[String!]`,id:`param-order-by`,children:[_jsx(_components.p,{children:`The ORDER BY clause for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`This field is optional. A default will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` and `,_jsx(_components.code,{children:`uniqueId`}),` values, if specified.`]})]}),_jsx(ParamField,{path:`ttl`,type:`String`,id:`param-ttl`,children:_jsx(_components.p,{children:`The TTL clause for the Data Pool’s table.`})})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`tenant`,type:`TenantInput`,deprecated:true,id:`param-tenant`,children:[_jsx(_components.p,{children:`The Data Pool’s optional tenant ID column. The tenant ID column is used to control access to your data with access policies.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use Data Pool Access Policies instead`}),_jsxs(Expandable,{title:`TenantInput`,children:[_jsx(_components.p,{children:`The fields to specify the Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-2`,children:_jsx(_components.p,{children:`The name of the column that represents the tenant ID.`})})]})]}),_jsxs(ParamField,{path:`uniqueId`,type:`UniqueIdInput`,deprecated:true,id:`param-unique-id`,children:[_jsx(_components.p,{children:`The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use table settings to define the primary key.`}),_jsxs(Expandable,{title:`UniqueIdInput`,children:[_jsx(_components.p,{children:`The fields to specify the Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-3`,children:_jsx(_components.p,{children:`The name of the column that represents the unique ID.`})})]})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-12`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPoolResponse`})]}),_jsxs(Expandable,{title:`DataPoolResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Pool.`}),_jsxs(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-3`,children:[_jsx(_components.p,{children:`The Data Pool which was created or modified.`}),_jsxs(Expandable,{title:`DataPool`,children:[_jsx(_components.p,{children:`The Data Pool object. Data Pools are Propel’s high-speed data store and cache`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-18`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-22`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-16`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-8`,children:[_jsx(_components.p,{children:`The Data Pool’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-5`,children:[_jsx(_components.p,{children:`The Data Pool’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-7`,children:_jsx(_components.p,{children:`The Data Pool’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-7`,children:_jsx(_components.p,{children:`The Data Pool’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-7`,children:_jsx(_components.p,{children:`The Data Pool’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-7`,children:_jsx(_components.p,{children:`The Data Pool’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataSource`,type:`DataSource`,required:true,id:`param-data-source-5`,children:_jsxs(_components.p,{children:[`The Data Pool’s Data Source.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})}),_jsxs(ParamField,{path:`status`,type:`DataPoolStatus`,required:true,id:`param-status-3`,children:[_jsx(_components.p,{children:`The Data Pool’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolstatus`,children:`DataPoolStatus`})]})]}),_jsx(ParamField,{path:`dataRetentionInDays`,type:`Int`,required:true,id:`param-data-retention-in-days`,children:_jsx(_components.p,{children:`The Data Pool’s data retention in days (not yet supported).`})}),_jsx(ParamField,{path:`table`,type:`String`,required:true,id:`param-table-1`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-1`,children:[_jsx(_components.p,{children:`The Data Pool’s primary timestamp column, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timestamp`,children:`Timestamp`})]})]}),_jsx(ParamField,{path:`recordCount`,type:`String`,id:`param-record-count`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes`,children:_jsx(_components.p,{children:`The amount of storage in terabytes used by the Data Pool.`})}),_jsxs(ParamField,{path:`columns`,type:`DataPoolColumnConnection`,id:`param-columns-5`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-27`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-6`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-6`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-6`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-6`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnconnection`,children:`DataPoolColumnConnection`})]})]}),_jsxs(ParamField,{path:`availableMeasures`,type:`DataPoolColumnConnection`,id:`param-available-measures`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-28`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-7`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-7`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-7`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-7`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnconnection`,children:`DataPoolColumnConnection`})]})]}),_jsxs(ParamField,{path:`setupTasks`,type:`[DataPoolSetupTask!]`,id:`param-setup-tasks`,children:[_jsx(_components.p,{children:`A list of setup tasks performed on the Data Pool during its most recent setup attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolsetuptask`,children:`DataPoolSetupTask`})]})]}),_jsxs(ParamField,{path:`syncing`,type:`DataPoolSyncing`,required:true,id:`param-syncing-1`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolsyncing`,children:`DataPoolSyncing`})]})]}),_jsxs(ParamField,{path:`syncs`,type:`SyncConnection`,id:`param-syncs`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-29`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#syncsfilter`,children:`SyncsFilter`})]})}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-8`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-8`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-8`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-8`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#syncconnection`,children:`SyncConnection`})]})]}),_jsxs(ParamField,{path:`metrics`,type:`MetricConnection`,id:`param-metrics`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-30`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-9`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-9`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-9`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-9`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#metricconnection`,children:`MetricConnection`})]})]}),_jsxs(ParamField,{path:`deletionJobs`,type:`DeletionJobConnection`,id:`param-deletion-jobs`,children:[_jsx(_components.p,{children:`The Deletion Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-31`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-10`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-10`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-10`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-10`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#deletionjobconnection`,children:`DeletionJobConnection`})]})]}),_jsxs(ParamField,{path:`addColumnToDataPoolJobs`,type:`AddColumnToDataPoolJobConnection`,id:`param-add-column-to-data-pool-jobs`,children:[_jsx(_components.p,{children:`The Add Column Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-32`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-11`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-11`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-11`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-11`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#addcolumntodatapooljobconnection`,children:`AddColumnToDataPoolJobConnection`})]})]}),_jsxs(ParamField,{path:`updateDataPoolRecordsJobs`,type:`UpdateDataPoolRecordsJobConnection`,id:`param-update-data-pool-records-jobs`,children:[_jsx(_components.p,{children:`The UpdateDataPoolRecords Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-33`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-12`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-12`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-12`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-12`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#updatedatapoolrecordsjobconnection`,children:`UpdateDataPoolRecordsJobConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,id:`param-access-control-enabled-1`,children:[_jsx(_components.p,{children:`Whether the Data Pool has access control enabled or not.`}),_jsx(_components.p,{children:`If the Data Pool has access control enabled, Applications must be assigned Data Pool Access\nPolicies in order to query the Data Pool and its Metrics.`})]}),_jsxs(ParamField,{path:`dataPoolAccessPolicies`,type:`DataPoolAccessPolicyConnection`,required:true,id:`param-data-pool-access-policies`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-34`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-13`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-13`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-13`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-13`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolaccesspolicyconnection`,children:`DataPoolAccessPolicyConnection`})]})]}),_jsxs(ParamField,{path:`validateExpression`,type:`ValidateExpressionResult`,required:true,id:`param-validate-expression`,children:[_jsx(_components.p,{children:`Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.`}),_jsx(Heading,{level:`3`,id:`arguments-35`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#validateexpressionresult`,children:`ValidateExpressionResult`})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,required:true,id:`param-table-settings-1`,children:[_jsx(_components.p,{children:`The Data Pool’s table settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tablesettings`,children:`TableSettings`})]})]}),_jsxs(ParamField,{path:`partitionByColumns`,type:`[DataPoolColumn!]`,id:`param-partition-by-columns`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PARTITION BY clause.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`primaryKeyColumns`,type:`[DataPoolColumn!]`,id:`param-primary-key-columns`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PRIMARY KEY clause.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`orderByColumns`,type:`[DataPoolColumn!]`,id:`param-order-by-columns`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its ORDER BY clause.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-7`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`setupTasks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsxs(ParamField,{path:`tenant`,type:`Tenant`,deprecated:true,id:`param-tenant-1`,children:[_jsx(_components.p,{children:`The Data Pool’s tenant ID, if configured.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use Data Pool Access Policies instead`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tenant`,children:`Tenant`})]})]}),_jsxs(ParamField,{path:`uniqueId`,type:`UniqueId`,deprecated:true,id:`param-unique-id-1`,children:[_jsx(_components.p,{children:`The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use table settings to define the primary key.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#uniqueid`,children:`UniqueId`})]})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifydatapool`,children:`modifyDataPool`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-27`,children:[_jsx(_components.p,{children:`Modifies a Data Pool with the provided unique name, description, and data retention time. If any of the optional arguments are omitted, those properties will be unchanged on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-36`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`modifyDataPoolInput`,required:true,id:`param-input-12`,children:_jsxs(Expandable,{title:`modifyDataPoolInput`,children:[_jsx(_components.p,{children:`The fields for modifying a Data Pool.`}),_jsxs(ParamField,{path:`idOrUniqueName`,type:`idOrUniqueName`,required:true,id:`param-id-or-unique-name-2`,children:[_jsx(_components.p,{children:`The ID or unique name of the Data Pool to modify.`}),_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-19`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-23`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-24`,children:_jsx(_components.p,{children:`The Data Pool’s new unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-17`,children:_jsx(_components.p,{children:`The Data Pool’s new description.`})}),_jsx(ParamField,{path:`dataRetentionInDays`,type:`Int`,id:`param-data-retention-in-days-1`,children:_jsx(_components.p,{children:`The Data Pool’s new data retention in days.`})}),_jsxs(ParamField,{path:`syncing`,type:`DataPoolSyncingInput`,id:`param-syncing-2`,children:[_jsx(_components.p,{children:`The Data Pool’s new syncing settings.`}),_jsxs(Expandable,{title:`DataPoolSyncingInput`,children:[_jsx(_components.p,{children:`The fields for modifying the Data Pool syncing.`}),_jsx(ParamField,{path:`interval`,type:`DataPoolSyncInterval`,required:true,id:`param-interval-1`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncinterval`,children:`DataPoolSyncInterval`})]})})]})]}),_jsxs(ParamField,{path:`timestamp`,type:`TimestampInput`,id:`param-timestamp-2`,children:[_jsx(_components.p,{children:`The table’s primary timestamp column.`}),_jsx(_components.p,{children:`Propel uses the primary timestamp to order and partition your data in Data Pools. It’s part of what makes Propel\nfast for larger data sets. It will also serve as the time dimension for your Metrics.`}),_jsx(_components.p,{children:`If you do not provide a primary timestamp column, you will need to supply an alternate timestamp when querying your\nData Pool or its Metrics using the TimeRangeInput.`}),_jsxs(Expandable,{title:`TimestampInput`,children:[_jsx(_components.p,{children:`The fields to specify the Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-4`,children:_jsx(_components.p,{children:`The name of the column that represents the primary timestamp.`})})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,id:`param-access-control-enabled-2`,children:[_jsx(_components.p,{children:`Enables or disables access control for the Data Pool.`}),_jsx(_components.p,{children:`If the Data Pool has access control enabled, Applications must be assigned Data Pool Access\nPolicies in order to query the Data Pool and its Metrics.`})]})]})}),_jsx(Heading,{level:`3`,id:`returns-13`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPoolOrFailureResponse`})]}),_jsxs(Expandable,{title:`DataPoolOrFailureResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Pool.`}),_jsxs(_components.p,{children:[`If successful, an `,_jsx(_components.code,{children:`DataPoolResponse`}),` will be returned; otherwise, a\n`,_jsx(_components.code,{children:`FailureResponse`}),` will be returned.`]}),_jsxs(ParamField,{path:`DataPoolOrFailureResponse`,type:`DataPoolResponse | FailureResponse`,id:`param-data-pool-or-failure-response`,children:[_jsxs(Expandable,{title:`DataPoolResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Pool.`}),_jsxs(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-4`,children:[_jsx(_components.p,{children:`The Data Pool which was created or modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})]})]}),_jsxs(Expandable,{title:`FailureResponse`,children:[_jsx(_components.p,{children:`The failure response object.`}),_jsxs(ParamField,{path:`error`,type:`Error`,required:true,id:`param-error-8`,children:[_jsx(_components.p,{children:`The error that caused the failure.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`retrydatapoolsetup`,children:`retryDataPoolSetup`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-28`,children:[_jsx(_components.p,{children:`Retries to set up the Data Pool identified by the given ID.`}),_jsx(Heading,{level:`3`,id:`arguments-37`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-20`}),_jsx(Heading,{level:`3`,id:`returns-14`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPool`})]}),_jsxs(Expandable,{title:`DataPool`,children:[_jsx(_components.p,{children:`The Data Pool object. Data Pools are Propel’s high-speed data store and cache`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-21`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-25`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-18`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-9`,children:[_jsx(_components.p,{children:`The Data Pool’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-22`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-6`,children:[_jsx(_components.p,{children:`The Data Pool’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-23`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-26`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-19`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-8`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-8`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-8`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-8`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-10`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-9`,children:_jsx(_components.p,{children:`The Data Pool’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-9`,children:_jsx(_components.p,{children:`The Data Pool’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-9`,children:_jsx(_components.p,{children:`The Data Pool’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-9`,children:_jsx(_components.p,{children:`The Data Pool’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataSource`,type:`DataSource`,required:true,id:`param-data-source-6`,children:_jsxs(_components.p,{children:[`The Data Pool’s Data Source.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})}),_jsxs(ParamField,{path:`status`,type:`DataPoolStatus`,required:true,id:`param-status-4`,children:[_jsx(_components.p,{children:`The Data Pool’s status.`}),_jsxs(Expandable,{title:`DataPoolStatus`,children:[_jsx(_components.p,{children:`The status of a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-29`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Data Pool has been created and will be set up soon.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PENDING`}),`: Propel is attempting to set up the Data Pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LIVE`}),`: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SETUP_FAILED`}),`: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTED`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`BROKEN`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSED`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Data Pool and all of its associated data.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`dataRetentionInDays`,type:`Int`,required:true,id:`param-data-retention-in-days-2`,children:_jsx(_components.p,{children:`The Data Pool’s data retention in days (not yet supported).`})}),_jsx(ParamField,{path:`table`,type:`String`,required:true,id:`param-table-2`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-3`,children:[_jsx(_components.p,{children:`The Data Pool’s primary timestamp column, if any.`}),_jsxs(Expandable,{title:`Timestamp`,children:[_jsx(_components.p,{children:`A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-5`,children:_jsx(_components.p,{children:`The name of the column that represents the primary timestamp.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-2`,children:_jsx(_components.p,{children:`The primary timestamp column’s type.`})})]})]}),_jsx(ParamField,{path:`recordCount`,type:`String`,id:`param-record-count-1`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-1`,children:_jsx(_components.p,{children:`The amount of storage in terabytes used by the Data Pool.`})}),_jsxs(ParamField,{path:`columns`,type:`DataPoolColumnConnection`,id:`param-columns-6`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-38`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-14`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-14`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-14`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-14`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`availableMeasures`,type:`DataPoolColumnConnection`,id:`param-available-measures-1`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-39`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-15`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-15`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-15`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-15`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-1`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-1`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-1`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`setupTasks`,type:`[DataPoolSetupTask!]`,id:`param-setup-tasks-1`,children:[_jsx(_components.p,{children:`A list of setup tasks performed on the Data Pool during its most recent setup attempt.`}),_jsxs(Expandable,{title:`DataPoolSetupTask`,children:[_jsx(_components.p,{children:`The Data Pool Setup Task object.`}),_jsx(_components.p,{children:`Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.`}),_jsx(_components.p,{children:`The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`The name of the Data Pool Setup Task to be performed.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-20`,children:_jsx(_components.p,{children:`A description of the Data Pool Setup Task to be performed.`})}),_jsxs(ParamField,{path:`status`,type:`DataPoolSetupTaskStatus`,required:true,id:`param-status-5`,children:[_jsx(_components.p,{children:`The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsetuptaskstatus`,children:`DataPoolSetupTaskStatus`})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-9`,children:[_jsx(_components.p,{children:`If the Data Pool Setup Task failed, this field includes a descriptive error message.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`completedAt`,type:`DateTime`,id:`param-completed-at`,children:_jsx(_components.p,{children:`The time at which the Data Pool Setup Task was completed.`})})]})]}),_jsxs(ParamField,{path:`syncing`,type:`DataPoolSyncing`,required:true,id:`param-syncing-3`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(Expandable,{title:`DataPoolSyncing`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(ParamField,{path:`status`,type:`DataPoolSyncStatus`,required:true,id:`param-status-6`,children:[_jsx(_components.p,{children:`Indicates whether syncing is enabled or disabled.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncstatus`,children:`DataPoolSyncStatus`})]})]}),_jsxs(ParamField,{path:`interval`,type:`DataPoolSyncInterval`,id:`param-interval-2`,children:[_jsx(_components.p,{children:`The syncing interval.`}),_jsxs(_components.p,{children:[`Note that the syncing interval is approximate. For example, setting the syncing interval to `,_jsx(_components.code,{children:`EVERY_1_HOUR`}),`\ndoes not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to\nwhen the Data Pool goes `,_jsx(_components.code,{children:`LIVE`}),`, and Propel will attempt to sync approximately every hour. Additionally,\nif you pause or resume syncing, this too can shift the syncing interval around.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncinterval`,children:`DataPoolSyncInterval`})]})]}),_jsx(ParamField,{path:`lastSyncedAt`,type:`DateTime`,id:`param-last-synced-at`,children:_jsx(_components.p,{children:`The date and time of the most recent Sync in UTC.`})})]})]}),_jsxs(ParamField,{path:`syncs`,type:`SyncConnection`,id:`param-syncs-1`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-40`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter-1`,children:_jsxs(Expandable,{title:`SyncsFilter`,children:[_jsx(_components.p,{children:`The filter to apply when listing the Syncs for a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-30`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EMPTY`}),`: Returns only Syncs with empty records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NOT_EMPTY`}),`: Returns only Syncs that contain one or more records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALL`}),`: Returns all Syncs, regardless of whether they contain records or not.`]}),`\n`]})})]})}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-16`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-16`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-16`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-16`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#syncconnection`,children:`SyncConnection`})]})]}),_jsxs(ParamField,{path:`metrics`,type:`MetricConnection`,id:`param-metrics-1`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-41`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-17`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-17`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-17`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-17`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#metricconnection`,children:`MetricConnection`})]})]}),_jsxs(ParamField,{path:`deletionJobs`,type:`DeletionJobConnection`,id:`param-deletion-jobs-1`,children:[_jsx(_components.p,{children:`The Deletion Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-42`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-18`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-18`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-18`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-18`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#deletionjobconnection`,children:`DeletionJobConnection`})]})]}),_jsxs(ParamField,{path:`addColumnToDataPoolJobs`,type:`AddColumnToDataPoolJobConnection`,id:`param-add-column-to-data-pool-jobs-1`,children:[_jsx(_components.p,{children:`The Add Column Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-43`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-19`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-19`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-19`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-19`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#addcolumntodatapooljobconnection`,children:`AddColumnToDataPoolJobConnection`})]})]}),_jsxs(ParamField,{path:`updateDataPoolRecordsJobs`,type:`UpdateDataPoolRecordsJobConnection`,id:`param-update-data-pool-records-jobs-1`,children:[_jsx(_components.p,{children:`The UpdateDataPoolRecords Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-44`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-20`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-20`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-20`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-20`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#updatedatapoolrecordsjobconnection`,children:`UpdateDataPoolRecordsJobConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,id:`param-access-control-enabled-3`,children:[_jsx(_components.p,{children:`Whether the Data Pool has access control enabled or not.`}),_jsx(_components.p,{children:`If the Data Pool has access control enabled, Applications must be assigned Data Pool Access\nPolicies in order to query the Data Pool and its Metrics.`})]}),_jsxs(ParamField,{path:`dataPoolAccessPolicies`,type:`DataPoolAccessPolicyConnection`,required:true,id:`param-data-pool-access-policies-1`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-45`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-21`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-21`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-21`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-21`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolaccesspolicyconnection`,children:`DataPoolAccessPolicyConnection`})]})]}),_jsxs(ParamField,{path:`validateExpression`,type:`ValidateExpressionResult`,required:true,id:`param-validate-expression-1`,children:[_jsx(_components.p,{children:`Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.`}),_jsx(Heading,{level:`3`,id:`arguments-46`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression-1`}),_jsxs(Expandable,{title:`ValidateExpressionResult`,children:[_jsx(_components.p,{children:`Response returned by the validateExpression query for validating expressions in Custom Metrics.`}),_jsx(_components.p,{children:`Returns whether the expression is valid or not with a reason explaining why.`}),_jsx(ParamField,{path:`valid`,type:`Boolean`,required:true,id:`param-valid`,children:_jsx(_components.p,{children:`True if the expression is valid, false otherwise.`})}),_jsx(ParamField,{path:`reason`,type:`String`,id:`param-reason`,children:_jsx(_components.p,{children:`The reason for why the expression is not valid in case it isn’t, null otherwise.`})})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,required:true,id:`param-table-settings-2`,children:[_jsx(_components.p,{children:`The Data Pool’s table settings.`}),_jsxs(Expandable,{title:`TableSettings`,children:[_jsx(_components.p,{children:`A Data Pool’s table settings.`}),_jsx(_components.p,{children:`These describe how the Data Pool’s table is created in ClickHouse.`}),_jsxs(ParamField,{path:`engine`,type:`TableEngine`,id:`param-engine-1`,children:[_jsx(_components.p,{children:`The ClickHouse table engine for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#tableengine`,children:`TableEngine`})]})]}),_jsx(ParamField,{path:`partitionBy`,type:`[String!]`,id:`param-partition-by-1`,children:_jsx(_components.p,{children:`The PARTITION BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`primaryKey`,type:`[String!]`,id:`param-primary-key-1`,children:_jsx(_components.p,{children:`The PRIMARY KEY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`orderBy`,type:`[String!]`,id:`param-order-by-1`,children:_jsx(_components.p,{children:`The ORDER BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`ttl`,type:`String`,id:`param-ttl-1`,children:_jsx(_components.p,{children:`The TTL clause for the Data Pool’s table.`})})]})]}),_jsxs(ParamField,{path:`partitionByColumns`,type:`[DataPoolColumn!]`,id:`param-partition-by-columns-1`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PARTITION BY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-6`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-3`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-1`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-1`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-2`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(ParamField,{path:`primaryKeyColumns`,type:`[DataPoolColumn!]`,id:`param-primary-key-columns-1`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PRIMARY KEY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-7`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-4`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-2`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-2`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-3`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(ParamField,{path:`orderByColumns`,type:`[DataPoolColumn!]`,id:`param-order-by-columns-1`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its ORDER BY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-8`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-5`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-3`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-3`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-4`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-10`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`setupTasks`}),` instead`]}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-1`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-1`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_jsxs(ParamField,{path:`tenant`,type:`Tenant`,deprecated:true,id:`param-tenant-2`,children:[_jsx(_components.p,{children:`The Data Pool’s tenant ID, if configured.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use Data Pool Access Policies instead`}),_jsxs(Expandable,{title:`Tenant`,children:[_jsx(_components.p,{children:`A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-9`,children:_jsx(_components.p,{children:`The name of the column that represents the tenant ID.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-6`,children:_jsx(_components.p,{children:`The tenant ID column’s type.`})})]})]}),_jsxs(ParamField,{path:`uniqueId`,type:`UniqueId`,deprecated:true,id:`param-unique-id-2`,children:[_jsx(_components.p,{children:`The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use table settings to define the primary key.`}),_jsxs(Expandable,{title:`UniqueId`,children:[_jsx(_components.p,{children:`A Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-10`,children:_jsx(_components.p,{children:`The name of the column that represents the unique ID.`})})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`retrydatapoolsetupbyname`,children:`retryDataPoolSetupByName`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-31`,children:[_jsx(_components.p,{children:`Retries to set up the Data Pool identified by the given unique name.`}),_jsx(Heading,{level:`3`,id:`arguments-47`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-27`}),_jsx(Heading,{level:`3`,id:`returns-15`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPool`})]}),_jsxs(Expandable,{title:`DataPool`,children:[_jsx(_components.p,{children:`The Data Pool object. Data Pools are Propel’s high-speed data store and cache`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-24`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-28`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-21`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-11`,children:[_jsx(_components.p,{children:`The Data Pool’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-25`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-7`,children:[_jsx(_components.p,{children:`The Data Pool’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-26`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-29`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-22`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-10`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-10`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-10`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-10`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-12`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-11`,children:_jsx(_components.p,{children:`The Data Pool’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-11`,children:_jsx(_components.p,{children:`The Data Pool’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-11`,children:_jsx(_components.p,{children:`The Data Pool’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-11`,children:_jsx(_components.p,{children:`The Data Pool’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataSource`,type:`DataSource`,required:true,id:`param-data-source-7`,children:_jsxs(_components.p,{children:[`The Data Pool’s Data Source.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})}),_jsxs(ParamField,{path:`status`,type:`DataPoolStatus`,required:true,id:`param-status-7`,children:[_jsx(_components.p,{children:`The Data Pool’s status.`}),_jsxs(Expandable,{title:`DataPoolStatus`,children:[_jsx(_components.p,{children:`The status of a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-32`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Data Pool has been created and will be set up soon.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PENDING`}),`: Propel is attempting to set up the Data Pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LIVE`}),`: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SETUP_FAILED`}),`: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTED`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`BROKEN`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSED`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Data Pool and all of its associated data.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`dataRetentionInDays`,type:`Int`,required:true,id:`param-data-retention-in-days-3`,children:_jsx(_components.p,{children:`The Data Pool’s data retention in days (not yet supported).`})}),_jsx(ParamField,{path:`table`,type:`String`,required:true,id:`param-table-3`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-4`,children:[_jsx(_components.p,{children:`The Data Pool’s primary timestamp column, if any.`}),_jsxs(Expandable,{title:`Timestamp`,children:[_jsx(_components.p,{children:`A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-11`,children:_jsx(_components.p,{children:`The name of the column that represents the primary timestamp.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-7`,children:_jsx(_components.p,{children:`The primary timestamp column’s type.`})})]})]}),_jsx(ParamField,{path:`recordCount`,type:`String`,id:`param-record-count-2`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-2`,children:_jsx(_components.p,{children:`The amount of storage in terabytes used by the Data Pool.`})}),_jsxs(ParamField,{path:`columns`,type:`DataPoolColumnConnection`,id:`param-columns-7`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-48`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-22`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-22`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-22`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-22`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-2`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-2`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-2`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`availableMeasures`,type:`DataPoolColumnConnection`,id:`param-available-measures-2`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-49`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-23`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-23`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-23`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-23`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-3`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-3`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-3`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`setupTasks`,type:`[DataPoolSetupTask!]`,id:`param-setup-tasks-2`,children:[_jsx(_components.p,{children:`A list of setup tasks performed on the Data Pool during its most recent setup attempt.`}),_jsxs(Expandable,{title:`DataPoolSetupTask`,children:[_jsx(_components.p,{children:`The Data Pool Setup Task object.`}),_jsx(_components.p,{children:`Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.`}),_jsx(_components.p,{children:`The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-5`,children:_jsx(_components.p,{children:`The name of the Data Pool Setup Task to be performed.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-23`,children:_jsx(_components.p,{children:`A description of the Data Pool Setup Task to be performed.`})}),_jsxs(ParamField,{path:`status`,type:`DataPoolSetupTaskStatus`,required:true,id:`param-status-8`,children:[_jsx(_components.p,{children:`The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsetuptaskstatus`,children:`DataPoolSetupTaskStatus`})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-11`,children:[_jsx(_components.p,{children:`If the Data Pool Setup Task failed, this field includes a descriptive error message.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`completedAt`,type:`DateTime`,id:`param-completed-at-1`,children:_jsx(_components.p,{children:`The time at which the Data Pool Setup Task was completed.`})})]})]}),_jsxs(ParamField,{path:`syncing`,type:`DataPoolSyncing`,required:true,id:`param-syncing-4`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(Expandable,{title:`DataPoolSyncing`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(ParamField,{path:`status`,type:`DataPoolSyncStatus`,required:true,id:`param-status-9`,children:[_jsx(_components.p,{children:`Indicates whether syncing is enabled or disabled.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncstatus`,children:`DataPoolSyncStatus`})]})]}),_jsxs(ParamField,{path:`interval`,type:`DataPoolSyncInterval`,id:`param-interval-3`,children:[_jsx(_components.p,{children:`The syncing interval.`}),_jsxs(_components.p,{children:[`Note that the syncing interval is approximate. For example, setting the syncing interval to `,_jsx(_components.code,{children:`EVERY_1_HOUR`}),`\ndoes not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to\nwhen the Data Pool goes `,_jsx(_components.code,{children:`LIVE`}),`, and Propel will attempt to sync approximately every hour. Additionally,\nif you pause or resume syncing, this too can shift the syncing interval around.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncinterval`,children:`DataPoolSyncInterval`})]})]}),_jsx(ParamField,{path:`lastSyncedAt`,type:`DateTime`,id:`param-last-synced-at-1`,children:_jsx(_components.p,{children:`The date and time of the most recent Sync in UTC.`})})]})]}),_jsxs(ParamField,{path:`syncs`,type:`SyncConnection`,id:`param-syncs-2`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-50`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter-2`,children:_jsxs(Expandable,{title:`SyncsFilter`,children:[_jsx(_components.p,{children:`The filter to apply when listing the Syncs for a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-33`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EMPTY`}),`: Returns only Syncs with empty records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NOT_EMPTY`}),`: Returns only Syncs that contain one or more records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALL`}),`: Returns all Syncs, regardless of whether they contain records or not.`]}),`\n`]})})]})}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-24`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-24`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-24`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-24`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#syncconnection`,children:`SyncConnection`})]})]}),_jsxs(ParamField,{path:`metrics`,type:`MetricConnection`,id:`param-metrics-2`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-51`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-25`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-25`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-25`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-25`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#metricconnection`,children:`MetricConnection`})]})]}),_jsxs(ParamField,{path:`deletionJobs`,type:`DeletionJobConnection`,id:`param-deletion-jobs-2`,children:[_jsx(_components.p,{children:`The Deletion Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-52`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-26`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-26`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-26`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-26`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#deletionjobconnection`,children:`DeletionJobConnection`})]})]}),_jsxs(ParamField,{path:`addColumnToDataPoolJobs`,type:`AddColumnToDataPoolJobConnection`,id:`param-add-column-to-data-pool-jobs-2`,children:[_jsx(_components.p,{children:`The Add Column Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-53`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-27`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-27`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-27`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-27`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#addcolumntodatapooljobconnection`,children:`AddColumnToDataPoolJobConnection`})]})]}),_jsxs(ParamField,{path:`updateDataPoolRecordsJobs`,type:`UpdateDataPoolRecordsJobConnection`,id:`param-update-data-pool-records-jobs-2`,children:[_jsx(_components.p,{children:`The UpdateDataPoolRecords Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-54`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-28`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-28`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-28`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-28`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#updatedatapoolrecordsjobconnection`,children:`UpdateDataPoolRecordsJobConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,id:`param-access-control-enabled-4`,children:[_jsx(_components.p,{children:`Whether the Data Pool has access control enabled or not.`}),_jsx(_components.p,{children:`If the Data Pool has access control enabled, Applications must be assigned Data Pool Access\nPolicies in order to query the Data Pool and its Metrics.`})]}),_jsxs(ParamField,{path:`dataPoolAccessPolicies`,type:`DataPoolAccessPolicyConnection`,required:true,id:`param-data-pool-access-policies-2`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-55`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-29`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-29`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-29`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-29`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolaccesspolicyconnection`,children:`DataPoolAccessPolicyConnection`})]})]}),_jsxs(ParamField,{path:`validateExpression`,type:`ValidateExpressionResult`,required:true,id:`param-validate-expression-2`,children:[_jsx(_components.p,{children:`Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.`}),_jsx(Heading,{level:`3`,id:`arguments-56`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression-2`}),_jsxs(Expandable,{title:`ValidateExpressionResult`,children:[_jsx(_components.p,{children:`Response returned by the validateExpression query for validating expressions in Custom Metrics.`}),_jsx(_components.p,{children:`Returns whether the expression is valid or not with a reason explaining why.`}),_jsx(ParamField,{path:`valid`,type:`Boolean`,required:true,id:`param-valid-1`,children:_jsx(_components.p,{children:`True if the expression is valid, false otherwise.`})}),_jsx(ParamField,{path:`reason`,type:`String`,id:`param-reason-1`,children:_jsx(_components.p,{children:`The reason for why the expression is not valid in case it isn’t, null otherwise.`})})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,required:true,id:`param-table-settings-3`,children:[_jsx(_components.p,{children:`The Data Pool’s table settings.`}),_jsxs(Expandable,{title:`TableSettings`,children:[_jsx(_components.p,{children:`A Data Pool’s table settings.`}),_jsx(_components.p,{children:`These describe how the Data Pool’s table is created in ClickHouse.`}),_jsxs(ParamField,{path:`engine`,type:`TableEngine`,id:`param-engine-2`,children:[_jsx(_components.p,{children:`The ClickHouse table engine for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#tableengine`,children:`TableEngine`})]})]}),_jsx(ParamField,{path:`partitionBy`,type:`[String!]`,id:`param-partition-by-2`,children:_jsx(_components.p,{children:`The PARTITION BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`primaryKey`,type:`[String!]`,id:`param-primary-key-2`,children:_jsx(_components.p,{children:`The PRIMARY KEY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`orderBy`,type:`[String!]`,id:`param-order-by-2`,children:_jsx(_components.p,{children:`The ORDER BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`ttl`,type:`String`,id:`param-ttl-2`,children:_jsx(_components.p,{children:`The TTL clause for the Data Pool’s table.`})})]})]}),_jsxs(ParamField,{path:`partitionByColumns`,type:`[DataPoolColumn!]`,id:`param-partition-by-columns-2`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PARTITION BY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-12`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-8`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-4`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-4`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-6`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(ParamField,{path:`primaryKeyColumns`,type:`[DataPoolColumn!]`,id:`param-primary-key-columns-2`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PRIMARY KEY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-13`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-9`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-5`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-5`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-7`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(ParamField,{path:`orderByColumns`,type:`[DataPoolColumn!]`,id:`param-order-by-columns-2`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its ORDER BY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-14`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-10`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-6`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-6`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-8`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-12`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`setupTasks`}),` instead`]}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-2`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-2`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_jsxs(ParamField,{path:`tenant`,type:`Tenant`,deprecated:true,id:`param-tenant-3`,children:[_jsx(_components.p,{children:`The Data Pool’s tenant ID, if configured.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use Data Pool Access Policies instead`}),_jsxs(Expandable,{title:`Tenant`,children:[_jsx(_components.p,{children:`A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-15`,children:_jsx(_components.p,{children:`The name of the column that represents the tenant ID.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-11`,children:_jsx(_components.p,{children:`The tenant ID column’s type.`})})]})]}),_jsxs(ParamField,{path:`uniqueId`,type:`UniqueId`,deprecated:true,id:`param-unique-id-3`,children:[_jsx(_components.p,{children:`The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use table settings to define the primary key.`}),_jsxs(Expandable,{title:`UniqueId`,children:[_jsx(_components.p,{children:`A Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-16`,children:_jsx(_components.p,{children:`The name of the column that represents the unique ID.`})})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`inspectdatapoolschema`,children:`inspectDataPoolSchema`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-34`,children:[_jsx(_components.p,{children:`Extracts the schema from the table and updates the schema object.`}),_jsx(Heading,{level:`3`,id:`arguments-57`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`idOrUniqueName`,required:true,id:`param-input-13`,children:_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-27`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-30`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-16`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPoolOrFailureResponse`})]}),_jsxs(Expandable,{title:`DataPoolOrFailureResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Pool.`}),_jsxs(_components.p,{children:[`If successful, an `,_jsx(_components.code,{children:`DataPoolResponse`}),` will be returned; otherwise, a\n`,_jsx(_components.code,{children:`FailureResponse`}),` will be returned.`]}),_jsxs(ParamField,{path:`DataPoolOrFailureResponse`,type:`DataPoolResponse | FailureResponse`,id:`param-data-pool-or-failure-response-1`,children:[_jsxs(Expandable,{title:`DataPoolResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Pool.`}),_jsxs(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-5`,children:[_jsx(_components.p,{children:`The Data Pool which was created or modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})]})]}),_jsxs(Expandable,{title:`FailureResponse`,children:[_jsx(_components.p,{children:`The failure response object.`}),_jsxs(ParamField,{path:`error`,type:`Error`,required:true,id:`param-error-13`,children:[_jsx(_components.p,{children:`The error that caused the failure.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`testdatapool`,children:`testDataPool`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-35`,children:[_jsx(_components.p,{children:`Tests that Propel has access to the Data Pool’s table in its corresponding Data Source and will be able to Sync data. Updates the status.`}),_jsx(Heading,{level:`3`,id:`arguments-58`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`idOrUniqueName`,required:true,id:`param-input-14`,children:_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-28`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-31`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-17`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPoolOrFailureResponse`})]}),_jsxs(Expandable,{title:`DataPoolOrFailureResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Pool.`}),_jsxs(_components.p,{children:[`If successful, an `,_jsx(_components.code,{children:`DataPoolResponse`}),` will be returned; otherwise, a\n`,_jsx(_components.code,{children:`FailureResponse`}),` will be returned.`]}),_jsxs(ParamField,{path:`DataPoolOrFailureResponse`,type:`DataPoolResponse | FailureResponse`,id:`param-data-pool-or-failure-response-2`,children:[_jsxs(Expandable,{title:`DataPoolResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Pool.`}),_jsxs(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-6`,children:[_jsx(_components.p,{children:`The Data Pool which was created or modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})]})]}),_jsxs(Expandable,{title:`FailureResponse`,children:[_jsx(_components.p,{children:`The failure response object.`}),_jsxs(ParamField,{path:`error`,type:`Error`,required:true,id:`param-error-14`,children:[_jsx(_components.p,{children:`The error that caused the failure.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`deletedatapool`,children:`deleteDataPool`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-36`,children:[_jsx(_components.p,{children:`Deletes a Data Pool by ID and returns its ID if the Data Pool was deleted successfully.`}),_jsx(Heading,{level:`3`,id:`arguments-59`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-29`})]}),`\n`,_jsx(Heading,{level:`2`,id:`deletedatapoolbyname`,children:`deleteDataPoolByName`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-37`,children:[_jsx(_components.p,{children:`Deletes a Data Pool by unique name and returns its ID if the Data Pool was deleted successfully.`}),_jsx(Heading,{level:`3`,id:`arguments-60`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-32`})]}),`\n`,_jsx(Heading,{level:`2`,id:`disablesyncing`,children:`disableSyncing`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-38`,children:[_jsx(_components.p,{children:`Disables syncing of a Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-61`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-30`}),_jsx(Heading,{level:`3`,id:`returns-18`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPool`})]}),_jsxs(Expandable,{title:`DataPool`,children:[_jsx(_components.p,{children:`The Data Pool object. Data Pools are Propel’s high-speed data store and cache`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-31`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-33`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-24`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-13`,children:[_jsx(_components.p,{children:`The Data Pool’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-32`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-8`,children:[_jsx(_components.p,{children:`The Data Pool’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-33`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-34`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-25`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-12`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-12`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-12`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-12`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-14`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-13`,children:_jsx(_components.p,{children:`The Data Pool’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-13`,children:_jsx(_components.p,{children:`The Data Pool’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-13`,children:_jsx(_components.p,{children:`The Data Pool’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-13`,children:_jsx(_components.p,{children:`The Data Pool’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataSource`,type:`DataSource`,required:true,id:`param-data-source-8`,children:_jsxs(_components.p,{children:[`The Data Pool’s Data Source.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})}),_jsxs(ParamField,{path:`status`,type:`DataPoolStatus`,required:true,id:`param-status-10`,children:[_jsx(_components.p,{children:`The Data Pool’s status.`}),_jsxs(Expandable,{title:`DataPoolStatus`,children:[_jsx(_components.p,{children:`The status of a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-39`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Data Pool has been created and will be set up soon.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PENDING`}),`: Propel is attempting to set up the Data Pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LIVE`}),`: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SETUP_FAILED`}),`: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTED`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`BROKEN`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSED`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Data Pool and all of its associated data.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`dataRetentionInDays`,type:`Int`,required:true,id:`param-data-retention-in-days-4`,children:_jsx(_components.p,{children:`The Data Pool’s data retention in days (not yet supported).`})}),_jsx(ParamField,{path:`table`,type:`String`,required:true,id:`param-table-4`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-5`,children:[_jsx(_components.p,{children:`The Data Pool’s primary timestamp column, if any.`}),_jsxs(Expandable,{title:`Timestamp`,children:[_jsx(_components.p,{children:`A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-17`,children:_jsx(_components.p,{children:`The name of the column that represents the primary timestamp.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-12`,children:_jsx(_components.p,{children:`The primary timestamp column’s type.`})})]})]}),_jsx(ParamField,{path:`recordCount`,type:`String`,id:`param-record-count-3`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-3`,children:_jsx(_components.p,{children:`The amount of storage in terabytes used by the Data Pool.`})}),_jsxs(ParamField,{path:`columns`,type:`DataPoolColumnConnection`,id:`param-columns-8`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-62`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-30`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-30`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-30`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-30`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-4`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-4`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-4`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`availableMeasures`,type:`DataPoolColumnConnection`,id:`param-available-measures-3`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-63`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-31`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-31`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-31`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-31`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-5`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-5`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-5`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`setupTasks`,type:`[DataPoolSetupTask!]`,id:`param-setup-tasks-3`,children:[_jsx(_components.p,{children:`A list of setup tasks performed on the Data Pool during its most recent setup attempt.`}),_jsxs(Expandable,{title:`DataPoolSetupTask`,children:[_jsx(_components.p,{children:`The Data Pool Setup Task object.`}),_jsx(_components.p,{children:`Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.`}),_jsx(_components.p,{children:`The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-9`,children:_jsx(_components.p,{children:`The name of the Data Pool Setup Task to be performed.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-26`,children:_jsx(_components.p,{children:`A description of the Data Pool Setup Task to be performed.`})}),_jsxs(ParamField,{path:`status`,type:`DataPoolSetupTaskStatus`,required:true,id:`param-status-11`,children:[_jsx(_components.p,{children:`The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsetuptaskstatus`,children:`DataPoolSetupTaskStatus`})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-15`,children:[_jsx(_components.p,{children:`If the Data Pool Setup Task failed, this field includes a descriptive error message.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`completedAt`,type:`DateTime`,id:`param-completed-at-2`,children:_jsx(_components.p,{children:`The time at which the Data Pool Setup Task was completed.`})})]})]}),_jsxs(ParamField,{path:`syncing`,type:`DataPoolSyncing`,required:true,id:`param-syncing-5`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(Expandable,{title:`DataPoolSyncing`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(ParamField,{path:`status`,type:`DataPoolSyncStatus`,required:true,id:`param-status-12`,children:[_jsx(_components.p,{children:`Indicates whether syncing is enabled or disabled.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncstatus`,children:`DataPoolSyncStatus`})]})]}),_jsxs(ParamField,{path:`interval`,type:`DataPoolSyncInterval`,id:`param-interval-4`,children:[_jsx(_components.p,{children:`The syncing interval.`}),_jsxs(_components.p,{children:[`Note that the syncing interval is approximate. For example, setting the syncing interval to `,_jsx(_components.code,{children:`EVERY_1_HOUR`}),`\ndoes not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to\nwhen the Data Pool goes `,_jsx(_components.code,{children:`LIVE`}),`, and Propel will attempt to sync approximately every hour. Additionally,\nif you pause or resume syncing, this too can shift the syncing interval around.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncinterval`,children:`DataPoolSyncInterval`})]})]}),_jsx(ParamField,{path:`lastSyncedAt`,type:`DateTime`,id:`param-last-synced-at-2`,children:_jsx(_components.p,{children:`The date and time of the most recent Sync in UTC.`})})]})]}),_jsxs(ParamField,{path:`syncs`,type:`SyncConnection`,id:`param-syncs-3`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-64`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter-3`,children:_jsxs(Expandable,{title:`SyncsFilter`,children:[_jsx(_components.p,{children:`The filter to apply when listing the Syncs for a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-40`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EMPTY`}),`: Returns only Syncs with empty records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NOT_EMPTY`}),`: Returns only Syncs that contain one or more records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALL`}),`: Returns all Syncs, regardless of whether they contain records or not.`]}),`\n`]})})]})}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-32`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-32`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-32`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-32`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#syncconnection`,children:`SyncConnection`})]})]}),_jsxs(ParamField,{path:`metrics`,type:`MetricConnection`,id:`param-metrics-3`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-65`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-33`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-33`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-33`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-33`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#metricconnection`,children:`MetricConnection`})]})]}),_jsxs(ParamField,{path:`deletionJobs`,type:`DeletionJobConnection`,id:`param-deletion-jobs-3`,children:[_jsx(_components.p,{children:`The Deletion Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-66`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-34`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-34`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-34`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-34`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#deletionjobconnection`,children:`DeletionJobConnection`})]})]}),_jsxs(ParamField,{path:`addColumnToDataPoolJobs`,type:`AddColumnToDataPoolJobConnection`,id:`param-add-column-to-data-pool-jobs-3`,children:[_jsx(_components.p,{children:`The Add Column Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-67`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-35`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-35`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-35`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-35`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#addcolumntodatapooljobconnection`,children:`AddColumnToDataPoolJobConnection`})]})]}),_jsxs(ParamField,{path:`updateDataPoolRecordsJobs`,type:`UpdateDataPoolRecordsJobConnection`,id:`param-update-data-pool-records-jobs-3`,children:[_jsx(_components.p,{children:`The UpdateDataPoolRecords Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-68`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-36`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-36`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-36`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-36`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#updatedatapoolrecordsjobconnection`,children:`UpdateDataPoolRecordsJobConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,id:`param-access-control-enabled-5`,children:[_jsx(_components.p,{children:`Whether the Data Pool has access control enabled or not.`}),_jsx(_components.p,{children:`If the Data Pool has access control enabled, Applications must be assigned Data Pool Access\nPolicies in order to query the Data Pool and its Metrics.`})]}),_jsxs(ParamField,{path:`dataPoolAccessPolicies`,type:`DataPoolAccessPolicyConnection`,required:true,id:`param-data-pool-access-policies-3`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-69`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-37`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-37`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-37`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-37`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolaccesspolicyconnection`,children:`DataPoolAccessPolicyConnection`})]})]}),_jsxs(ParamField,{path:`validateExpression`,type:`ValidateExpressionResult`,required:true,id:`param-validate-expression-3`,children:[_jsx(_components.p,{children:`Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.`}),_jsx(Heading,{level:`3`,id:`arguments-70`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression-3`}),_jsxs(Expandable,{title:`ValidateExpressionResult`,children:[_jsx(_components.p,{children:`Response returned by the validateExpression query for validating expressions in Custom Metrics.`}),_jsx(_components.p,{children:`Returns whether the expression is valid or not with a reason explaining why.`}),_jsx(ParamField,{path:`valid`,type:`Boolean`,required:true,id:`param-valid-2`,children:_jsx(_components.p,{children:`True if the expression is valid, false otherwise.`})}),_jsx(ParamField,{path:`reason`,type:`String`,id:`param-reason-2`,children:_jsx(_components.p,{children:`The reason for why the expression is not valid in case it isn’t, null otherwise.`})})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,required:true,id:`param-table-settings-4`,children:[_jsx(_components.p,{children:`The Data Pool’s table settings.`}),_jsxs(Expandable,{title:`TableSettings`,children:[_jsx(_components.p,{children:`A Data Pool’s table settings.`}),_jsx(_components.p,{children:`These describe how the Data Pool’s table is created in ClickHouse.`}),_jsxs(ParamField,{path:`engine`,type:`TableEngine`,id:`param-engine-3`,children:[_jsx(_components.p,{children:`The ClickHouse table engine for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#tableengine`,children:`TableEngine`})]})]}),_jsx(ParamField,{path:`partitionBy`,type:`[String!]`,id:`param-partition-by-3`,children:_jsx(_components.p,{children:`The PARTITION BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`primaryKey`,type:`[String!]`,id:`param-primary-key-3`,children:_jsx(_components.p,{children:`The PRIMARY KEY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`orderBy`,type:`[String!]`,id:`param-order-by-3`,children:_jsx(_components.p,{children:`The ORDER BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`ttl`,type:`String`,id:`param-ttl-3`,children:_jsx(_components.p,{children:`The TTL clause for the Data Pool’s table.`})})]})]}),_jsxs(ParamField,{path:`partitionByColumns`,type:`[DataPoolColumn!]`,id:`param-partition-by-columns-3`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PARTITION BY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-18`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-13`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-7`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-7`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-10`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(ParamField,{path:`primaryKeyColumns`,type:`[DataPoolColumn!]`,id:`param-primary-key-columns-3`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PRIMARY KEY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-19`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-14`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-8`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-8`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-11`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(ParamField,{path:`orderByColumns`,type:`[DataPoolColumn!]`,id:`param-order-by-columns-3`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its ORDER BY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-20`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-15`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-9`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-9`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-12`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-16`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`setupTasks`}),` instead`]}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-3`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-3`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_jsxs(ParamField,{path:`tenant`,type:`Tenant`,deprecated:true,id:`param-tenant-4`,children:[_jsx(_components.p,{children:`The Data Pool’s tenant ID, if configured.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use Data Pool Access Policies instead`}),_jsxs(Expandable,{title:`Tenant`,children:[_jsx(_components.p,{children:`A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-21`,children:_jsx(_components.p,{children:`The name of the column that represents the tenant ID.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-16`,children:_jsx(_components.p,{children:`The tenant ID column’s type.`})})]})]}),_jsxs(ParamField,{path:`uniqueId`,type:`UniqueId`,deprecated:true,id:`param-unique-id-4`,children:[_jsx(_components.p,{children:`The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use table settings to define the primary key.`}),_jsxs(Expandable,{title:`UniqueId`,children:[_jsx(_components.p,{children:`A Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-22`,children:_jsx(_components.p,{children:`The name of the column that represents the unique ID.`})})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`enablesyncing`,children:`enableSyncing`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-41`,children:[_jsx(_components.p,{children:`Re-enables syncing of a Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-71`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-34`}),_jsx(Heading,{level:`3`,id:`returns-19`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPool`})]}),_jsxs(Expandable,{title:`DataPool`,children:[_jsx(_components.p,{children:`The Data Pool object. Data Pools are Propel’s high-speed data store and cache`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-35`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-35`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-27`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-15`,children:[_jsx(_components.p,{children:`The Data Pool’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-36`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-9`,children:[_jsx(_components.p,{children:`The Data Pool’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-37`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-36`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-28`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-14`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-14`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-14`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-14`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-16`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-15`,children:_jsx(_components.p,{children:`The Data Pool’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-15`,children:_jsx(_components.p,{children:`The Data Pool’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-15`,children:_jsx(_components.p,{children:`The Data Pool’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-15`,children:_jsx(_components.p,{children:`The Data Pool’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataSource`,type:`DataSource`,required:true,id:`param-data-source-9`,children:_jsxs(_components.p,{children:[`The Data Pool’s Data Source.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})}),_jsxs(ParamField,{path:`status`,type:`DataPoolStatus`,required:true,id:`param-status-13`,children:[_jsx(_components.p,{children:`The Data Pool’s status.`}),_jsxs(Expandable,{title:`DataPoolStatus`,children:[_jsx(_components.p,{children:`The status of a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-42`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Data Pool has been created and will be set up soon.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PENDING`}),`: Propel is attempting to set up the Data Pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LIVE`}),`: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SETUP_FAILED`}),`: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTED`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`BROKEN`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSED`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Data Pool and all of its associated data.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`dataRetentionInDays`,type:`Int`,required:true,id:`param-data-retention-in-days-5`,children:_jsx(_components.p,{children:`The Data Pool’s data retention in days (not yet supported).`})}),_jsx(ParamField,{path:`table`,type:`String`,required:true,id:`param-table-5`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-6`,children:[_jsx(_components.p,{children:`The Data Pool’s primary timestamp column, if any.`}),_jsxs(Expandable,{title:`Timestamp`,children:[_jsx(_components.p,{children:`A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-23`,children:_jsx(_components.p,{children:`The name of the column that represents the primary timestamp.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-17`,children:_jsx(_components.p,{children:`The primary timestamp column’s type.`})})]})]}),_jsx(ParamField,{path:`recordCount`,type:`String`,id:`param-record-count-4`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-4`,children:_jsx(_components.p,{children:`The amount of storage in terabytes used by the Data Pool.`})}),_jsxs(ParamField,{path:`columns`,type:`DataPoolColumnConnection`,id:`param-columns-9`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-72`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-38`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-38`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-38`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-38`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-6`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-6`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-6`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`availableMeasures`,type:`DataPoolColumnConnection`,id:`param-available-measures-4`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-73`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-39`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-39`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-39`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-39`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-7`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-7`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-7`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`setupTasks`,type:`[DataPoolSetupTask!]`,id:`param-setup-tasks-4`,children:[_jsx(_components.p,{children:`A list of setup tasks performed on the Data Pool during its most recent setup attempt.`}),_jsxs(Expandable,{title:`DataPoolSetupTask`,children:[_jsx(_components.p,{children:`The Data Pool Setup Task object.`}),_jsx(_components.p,{children:`Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.`}),_jsx(_components.p,{children:`The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-13`,children:_jsx(_components.p,{children:`The name of the Data Pool Setup Task to be performed.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-29`,children:_jsx(_components.p,{children:`A description of the Data Pool Setup Task to be performed.`})}),_jsxs(ParamField,{path:`status`,type:`DataPoolSetupTaskStatus`,required:true,id:`param-status-14`,children:[_jsx(_components.p,{children:`The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsetuptaskstatus`,children:`DataPoolSetupTaskStatus`})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-17`,children:[_jsx(_components.p,{children:`If the Data Pool Setup Task failed, this field includes a descriptive error message.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`completedAt`,type:`DateTime`,id:`param-completed-at-3`,children:_jsx(_components.p,{children:`The time at which the Data Pool Setup Task was completed.`})})]})]}),_jsxs(ParamField,{path:`syncing`,type:`DataPoolSyncing`,required:true,id:`param-syncing-6`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(Expandable,{title:`DataPoolSyncing`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(ParamField,{path:`status`,type:`DataPoolSyncStatus`,required:true,id:`param-status-15`,children:[_jsx(_components.p,{children:`Indicates whether syncing is enabled or disabled.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncstatus`,children:`DataPoolSyncStatus`})]})]}),_jsxs(ParamField,{path:`interval`,type:`DataPoolSyncInterval`,id:`param-interval-5`,children:[_jsx(_components.p,{children:`The syncing interval.`}),_jsxs(_components.p,{children:[`Note that the syncing interval is approximate. For example, setting the syncing interval to `,_jsx(_components.code,{children:`EVERY_1_HOUR`}),`\ndoes not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to\nwhen the Data Pool goes `,_jsx(_components.code,{children:`LIVE`}),`, and Propel will attempt to sync approximately every hour. Additionally,\nif you pause or resume syncing, this too can shift the syncing interval around.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncinterval`,children:`DataPoolSyncInterval`})]})]}),_jsx(ParamField,{path:`lastSyncedAt`,type:`DateTime`,id:`param-last-synced-at-3`,children:_jsx(_components.p,{children:`The date and time of the most recent Sync in UTC.`})})]})]}),_jsxs(ParamField,{path:`syncs`,type:`SyncConnection`,id:`param-syncs-4`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-74`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter-4`,children:_jsxs(Expandable,{title:`SyncsFilter`,children:[_jsx(_components.p,{children:`The filter to apply when listing the Syncs for a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-43`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EMPTY`}),`: Returns only Syncs with empty records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NOT_EMPTY`}),`: Returns only Syncs that contain one or more records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALL`}),`: Returns all Syncs, regardless of whether they contain records or not.`]}),`\n`]})})]})}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-40`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-40`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-40`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-40`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#syncconnection`,children:`SyncConnection`})]})]}),_jsxs(ParamField,{path:`metrics`,type:`MetricConnection`,id:`param-metrics-4`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-75`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-41`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-41`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-41`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-41`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#metricconnection`,children:`MetricConnection`})]})]}),_jsxs(ParamField,{path:`deletionJobs`,type:`DeletionJobConnection`,id:`param-deletion-jobs-4`,children:[_jsx(_components.p,{children:`The Deletion Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-76`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-42`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-42`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-42`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-42`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#deletionjobconnection`,children:`DeletionJobConnection`})]})]}),_jsxs(ParamField,{path:`addColumnToDataPoolJobs`,type:`AddColumnToDataPoolJobConnection`,id:`param-add-column-to-data-pool-jobs-4`,children:[_jsx(_components.p,{children:`The Add Column Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-77`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-43`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-43`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-43`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-43`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#addcolumntodatapooljobconnection`,children:`AddColumnToDataPoolJobConnection`})]})]}),_jsxs(ParamField,{path:`updateDataPoolRecordsJobs`,type:`UpdateDataPoolRecordsJobConnection`,id:`param-update-data-pool-records-jobs-4`,children:[_jsx(_components.p,{children:`The UpdateDataPoolRecords Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-78`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-44`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-44`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-44`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-44`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#updatedatapoolrecordsjobconnection`,children:`UpdateDataPoolRecordsJobConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,id:`param-access-control-enabled-6`,children:[_jsx(_components.p,{children:`Whether the Data Pool has access control enabled or not.`}),_jsx(_components.p,{children:`If the Data Pool has access control enabled, Applications must be assigned Data Pool Access\nPolicies in order to query the Data Pool and its Metrics.`})]}),_jsxs(ParamField,{path:`dataPoolAccessPolicies`,type:`DataPoolAccessPolicyConnection`,required:true,id:`param-data-pool-access-policies-4`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-79`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-45`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-45`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-45`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-45`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolaccesspolicyconnection`,children:`DataPoolAccessPolicyConnection`})]})]}),_jsxs(ParamField,{path:`validateExpression`,type:`ValidateExpressionResult`,required:true,id:`param-validate-expression-4`,children:[_jsx(_components.p,{children:`Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.`}),_jsx(Heading,{level:`3`,id:`arguments-80`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression-4`}),_jsxs(Expandable,{title:`ValidateExpressionResult`,children:[_jsx(_components.p,{children:`Response returned by the validateExpression query for validating expressions in Custom Metrics.`}),_jsx(_components.p,{children:`Returns whether the expression is valid or not with a reason explaining why.`}),_jsx(ParamField,{path:`valid`,type:`Boolean`,required:true,id:`param-valid-3`,children:_jsx(_components.p,{children:`True if the expression is valid, false otherwise.`})}),_jsx(ParamField,{path:`reason`,type:`String`,id:`param-reason-3`,children:_jsx(_components.p,{children:`The reason for why the expression is not valid in case it isn’t, null otherwise.`})})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,required:true,id:`param-table-settings-5`,children:[_jsx(_components.p,{children:`The Data Pool’s table settings.`}),_jsxs(Expandable,{title:`TableSettings`,children:[_jsx(_components.p,{children:`A Data Pool’s table settings.`}),_jsx(_components.p,{children:`These describe how the Data Pool’s table is created in ClickHouse.`}),_jsxs(ParamField,{path:`engine`,type:`TableEngine`,id:`param-engine-4`,children:[_jsx(_components.p,{children:`The ClickHouse table engine for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#tableengine`,children:`TableEngine`})]})]}),_jsx(ParamField,{path:`partitionBy`,type:`[String!]`,id:`param-partition-by-4`,children:_jsx(_components.p,{children:`The PARTITION BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`primaryKey`,type:`[String!]`,id:`param-primary-key-4`,children:_jsx(_components.p,{children:`The PRIMARY KEY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`orderBy`,type:`[String!]`,id:`param-order-by-4`,children:_jsx(_components.p,{children:`The ORDER BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`ttl`,type:`String`,id:`param-ttl-4`,children:_jsx(_components.p,{children:`The TTL clause for the Data Pool’s table.`})})]})]}),_jsxs(ParamField,{path:`partitionByColumns`,type:`[DataPoolColumn!]`,id:`param-partition-by-columns-4`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PARTITION BY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-24`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-18`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-10`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-10`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-14`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(ParamField,{path:`primaryKeyColumns`,type:`[DataPoolColumn!]`,id:`param-primary-key-columns-4`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PRIMARY KEY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-25`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-19`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-11`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-11`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-15`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(ParamField,{path:`orderByColumns`,type:`[DataPoolColumn!]`,id:`param-order-by-columns-4`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its ORDER BY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-26`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-20`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-12`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-12`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-16`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-18`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`setupTasks`}),` instead`]}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-4`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-4`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_jsxs(ParamField,{path:`tenant`,type:`Tenant`,deprecated:true,id:`param-tenant-5`,children:[_jsx(_components.p,{children:`The Data Pool’s tenant ID, if configured.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use Data Pool Access Policies instead`}),_jsxs(Expandable,{title:`Tenant`,children:[_jsx(_components.p,{children:`A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-27`,children:_jsx(_components.p,{children:`The name of the column that represents the tenant ID.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-21`,children:_jsx(_components.p,{children:`The tenant ID column’s type.`})})]})]}),_jsxs(ParamField,{path:`uniqueId`,type:`UniqueId`,deprecated:true,id:`param-unique-id-5`,children:[_jsx(_components.p,{children:`The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use table settings to define the primary key.`}),_jsxs(Expandable,{title:`UniqueId`,children:[_jsx(_components.p,{children:`A Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-28`,children:_jsx(_components.p,{children:`The name of the column that represents the unique ID.`})})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createcountmetric`,children:`createCountMetric`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-44`,children:[_jsx(_components.p,{children:`Creates a new Count Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).`}),_jsx(Heading,{level:`3`,id:`arguments-81`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateCountMetricInput`,id:`param-input-15`,children:_jsxs(Expandable,{title:`CreateCountMetricInput`,children:[_jsx(_components.p,{children:`The fields for creating a new Count Metric.`}),_jsx(ParamField,{path:`dataPool`,type:`ID`,required:true,id:`param-data-pool-7`,children:_jsx(_components.p,{children:`The Data Pool that powers this Metric.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-37`,children:_jsx(_components.p,{children:`The Metric’s unique name. If not specified, Propel will set the ID as unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-30`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-4`,children:_jsx(_components.p,{children:`The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`})}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,id:`param-dimensions`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-29`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters`,children:[_jsx(_components.p,{children:`The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-2`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-2`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-2`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and-2`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or-2`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-20`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MetricResponse`})]}),_jsxs(Expandable,{title:`MetricResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Metric.`}),_jsxs(ParamField,{path:`metric`,type:`Metric`,id:`param-metric`,children:[_jsx(_components.p,{children:`The Metric which was created or modified.`}),_jsxs(Expandable,{title:`Metric`,children:[_jsx(_components.p,{children:`The Metric object.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-38`,children:_jsx(_components.p,{children:`The Metric’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-38`,children:_jsx(_components.p,{children:`The Metric’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-31`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-17`,children:[_jsx(_components.p,{children:`The Metric’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-10`,children:[_jsx(_components.p,{children:`The Metric’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-16`,children:_jsx(_components.p,{children:`The Metric’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-16`,children:_jsx(_components.p,{children:`The Metric’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-16`,children:_jsx(_components.p,{children:`The Metric’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-16`,children:_jsx(_components.p,{children:`The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-8`,children:_jsxs(_components.p,{children:[`The Data Pool that powers this Metric.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions-1`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. These Dimensions are available to Query Filters.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`timestamp`,type:`Dimension`,id:`param-timestamp-7`,children:[_jsx(_components.p,{children:`The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`boosters`,type:`BoosterConnection`,required:true,id:`param-boosters`,children:[_jsx(_components.p,{children:`List the Boosters associated to the Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-82`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-46`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-46`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-46`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-46`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#boosterconnection`,children:`BoosterConnection`})]})]}),_jsxs(ParamField,{path:`type`,type:`MetricType`,required:true,id:`param-type-22`,children:[_jsx(_components.p,{children:`The Metric’s type. The different Metric types determine how the values are calculated.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#metrictype`,children:`MetricType`})]})]}),_jsxs(ParamField,{path:`settings`,type:`MetricSettings`,required:true,id:`param-settings`,children:[_jsx(_components.p,{children:`The settings for the Metric. The settings are specific to the Metric’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#metricsettings`,children:`MetricSettings`})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`measure`,type:`Dimension`,deprecated:true,id:`param-measure`,children:[_jsxs(_components.p,{children:[`The Metric’s measure. Access this from the Metric’s `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the Metric `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`counter`,type:`CounterResponse`,deprecated:true,id:`param-counter`,children:[_jsx(_components.p,{children:`Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`counter`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-83`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CounterInput`,required:true,id:`param-input-16`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#counterinput`,children:`CounterInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#counterresponse`,children:`CounterResponse`})]})]}),_jsxs(ParamField,{path:`timeSeries`,type:`TimeSeriesResponse`,deprecated:true,id:`param-time-series`,children:[_jsx(_components.p,{children:`Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`timeSeries`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-84`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TimeSeriesInput`,required:true,id:`param-input-17`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timeseriesinput`,children:`TimeSeriesInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timeseriesresponse`,children:`TimeSeriesResponse`})]})]}),_jsxs(ParamField,{path:`leaderboard`,type:`LeaderboardResponse`,deprecated:true,id:`param-leaderboard`,children:[_jsx(_components.p,{children:`Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`leaderboard`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-85`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`LeaderboardInput`,required:true,id:`param-input-18`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#leaderboardinput`,children:`LeaderboardInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#leaderboardresponse`,children:`LeaderboardResponse`})]})]}),_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies`,children:[_jsx(_components.p,{children:`List the Policies associated to the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-86`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-47`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-47`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-47`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-47`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#policyconnection`,children:`PolicyConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,deprecated:true,id:`param-access-control-enabled-7`,children:[_jsx(_components.p,{children:`Whether or not access control is enabled for the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createcountdistinctmetric`,children:`createCountDistinctMetric`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-45`,children:[_jsx(_components.p,{children:`Creates a new Count Distinct Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).`}),_jsx(Heading,{level:`3`,id:`arguments-87`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateCountDistinctMetricInput`,id:`param-input-19`,children:_jsxs(Expandable,{title:`CreateCountDistinctMetricInput`,children:[_jsx(_components.p,{children:`The fields for creating a new Count Distinct Metric.`}),_jsx(ParamField,{path:`dataPool`,type:`ID`,required:true,id:`param-data-pool-9`,children:_jsx(_components.p,{children:`The Data Pool that powers this Metric.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-39`,children:_jsx(_components.p,{children:`The Metric’s unique name. If not specified, Propel will set the ID as unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-32`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-5`,children:_jsx(_components.p,{children:`The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`})}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,id:`param-dimensions-2`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-30`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsxs(ParamField,{path:`dimension`,type:`DimensionInput`,required:true,id:`param-dimension`,children:[_jsx(_components.p,{children:`The Dimension over which the count distinct operation is going to be performed.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-31`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-1`,children:[_jsx(_components.p,{children:`The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-3`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-3`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-3`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and-3`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or-3`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-21`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MetricResponse`})]}),_jsxs(Expandable,{title:`MetricResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Metric.`}),_jsxs(ParamField,{path:`metric`,type:`Metric`,id:`param-metric-1`,children:[_jsx(_components.p,{children:`The Metric which was created or modified.`}),_jsxs(Expandable,{title:`Metric`,children:[_jsx(_components.p,{children:`The Metric object.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-39`,children:_jsx(_components.p,{children:`The Metric’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-40`,children:_jsx(_components.p,{children:`The Metric’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-33`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-18`,children:[_jsx(_components.p,{children:`The Metric’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-11`,children:[_jsx(_components.p,{children:`The Metric’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-17`,children:_jsx(_components.p,{children:`The Metric’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-17`,children:_jsx(_components.p,{children:`The Metric’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-17`,children:_jsx(_components.p,{children:`The Metric’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-17`,children:_jsx(_components.p,{children:`The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-10`,children:_jsxs(_components.p,{children:[`The Data Pool that powers this Metric.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions-3`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. These Dimensions are available to Query Filters.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`timestamp`,type:`Dimension`,id:`param-timestamp-8`,children:[_jsx(_components.p,{children:`The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`boosters`,type:`BoosterConnection`,required:true,id:`param-boosters-1`,children:[_jsx(_components.p,{children:`List the Boosters associated to the Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-88`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-48`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-48`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-48`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-48`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#boosterconnection`,children:`BoosterConnection`})]})]}),_jsxs(ParamField,{path:`type`,type:`MetricType`,required:true,id:`param-type-23`,children:[_jsx(_components.p,{children:`The Metric’s type. The different Metric types determine how the values are calculated.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#metrictype`,children:`MetricType`})]})]}),_jsxs(ParamField,{path:`settings`,type:`MetricSettings`,required:true,id:`param-settings-1`,children:[_jsx(_components.p,{children:`The settings for the Metric. The settings are specific to the Metric’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#metricsettings`,children:`MetricSettings`})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`measure`,type:`Dimension`,deprecated:true,id:`param-measure-1`,children:[_jsxs(_components.p,{children:[`The Metric’s measure. Access this from the Metric’s `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the Metric `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`counter`,type:`CounterResponse`,deprecated:true,id:`param-counter-1`,children:[_jsx(_components.p,{children:`Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`counter`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-89`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CounterInput`,required:true,id:`param-input-20`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#counterinput`,children:`CounterInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#counterresponse`,children:`CounterResponse`})]})]}),_jsxs(ParamField,{path:`timeSeries`,type:`TimeSeriesResponse`,deprecated:true,id:`param-time-series-1`,children:[_jsx(_components.p,{children:`Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`timeSeries`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-90`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TimeSeriesInput`,required:true,id:`param-input-21`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timeseriesinput`,children:`TimeSeriesInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timeseriesresponse`,children:`TimeSeriesResponse`})]})]}),_jsxs(ParamField,{path:`leaderboard`,type:`LeaderboardResponse`,deprecated:true,id:`param-leaderboard-1`,children:[_jsx(_components.p,{children:`Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`leaderboard`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-91`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`LeaderboardInput`,required:true,id:`param-input-22`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#leaderboardinput`,children:`LeaderboardInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#leaderboardresponse`,children:`LeaderboardResponse`})]})]}),_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies-1`,children:[_jsx(_components.p,{children:`List the Policies associated to the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-92`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-49`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-49`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-49`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-49`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#policyconnection`,children:`PolicyConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,deprecated:true,id:`param-access-control-enabled-8`,children:[_jsx(_components.p,{children:`Whether or not access control is enabled for the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createsummetric`,children:`createSumMetric`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-46`,children:[_jsx(_components.p,{children:`Creates a new Sum Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).`}),_jsx(Heading,{level:`3`,id:`arguments-93`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateSumMetricInput`,id:`param-input-23`,children:_jsxs(Expandable,{title:`CreateSumMetricInput`,children:[_jsx(_components.p,{children:`The fields for creating a new Sum Metric.`}),_jsx(ParamField,{path:`dataPool`,type:`ID`,required:true,id:`param-data-pool-11`,children:_jsx(_components.p,{children:`The Data Pool that powers this Metric.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-41`,children:_jsx(_components.p,{children:`The Metric’s unique name. If not specified, Propel will set the ID as unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-34`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-6`,children:_jsx(_components.p,{children:`The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`})}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,id:`param-dimensions-4`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-32`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsxs(ParamField,{path:`measure`,type:`DimensionInput`,required:true,id:`param-measure-2`,children:[_jsx(_components.p,{children:`The column to be summed.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-33`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-2`,children:[_jsx(_components.p,{children:`The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-4`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-4`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-4`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and-4`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or-4`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-22`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MetricResponse`})]}),_jsxs(Expandable,{title:`MetricResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Metric.`}),_jsxs(ParamField,{path:`metric`,type:`Metric`,id:`param-metric-2`,children:[_jsx(_components.p,{children:`The Metric which was created or modified.`}),_jsxs(Expandable,{title:`Metric`,children:[_jsx(_components.p,{children:`The Metric object.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-40`,children:_jsx(_components.p,{children:`The Metric’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-42`,children:_jsx(_components.p,{children:`The Metric’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-35`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-19`,children:[_jsx(_components.p,{children:`The Metric’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-12`,children:[_jsx(_components.p,{children:`The Metric’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-18`,children:_jsx(_components.p,{children:`The Metric’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-18`,children:_jsx(_components.p,{children:`The Metric’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-18`,children:_jsx(_components.p,{children:`The Metric’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-18`,children:_jsx(_components.p,{children:`The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-12`,children:_jsxs(_components.p,{children:[`The Data Pool that powers this Metric.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions-5`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. These Dimensions are available to Query Filters.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`timestamp`,type:`Dimension`,id:`param-timestamp-9`,children:[_jsx(_components.p,{children:`The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`boosters`,type:`BoosterConnection`,required:true,id:`param-boosters-2`,children:[_jsx(_components.p,{children:`List the Boosters associated to the Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-94`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-50`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-50`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-50`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-50`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#boosterconnection`,children:`BoosterConnection`})]})]}),_jsxs(ParamField,{path:`type`,type:`MetricType`,required:true,id:`param-type-24`,children:[_jsx(_components.p,{children:`The Metric’s type. The different Metric types determine how the values are calculated.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#metrictype`,children:`MetricType`})]})]}),_jsxs(ParamField,{path:`settings`,type:`MetricSettings`,required:true,id:`param-settings-2`,children:[_jsx(_components.p,{children:`The settings for the Metric. The settings are specific to the Metric’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#metricsettings`,children:`MetricSettings`})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`measure`,type:`Dimension`,deprecated:true,id:`param-measure-3`,children:[_jsxs(_components.p,{children:[`The Metric’s measure. Access this from the Metric’s `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the Metric `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`counter`,type:`CounterResponse`,deprecated:true,id:`param-counter-2`,children:[_jsx(_components.p,{children:`Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`counter`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-95`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CounterInput`,required:true,id:`param-input-24`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#counterinput`,children:`CounterInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#counterresponse`,children:`CounterResponse`})]})]}),_jsxs(ParamField,{path:`timeSeries`,type:`TimeSeriesResponse`,deprecated:true,id:`param-time-series-2`,children:[_jsx(_components.p,{children:`Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`timeSeries`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-96`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TimeSeriesInput`,required:true,id:`param-input-25`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timeseriesinput`,children:`TimeSeriesInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timeseriesresponse`,children:`TimeSeriesResponse`})]})]}),_jsxs(ParamField,{path:`leaderboard`,type:`LeaderboardResponse`,deprecated:true,id:`param-leaderboard-2`,children:[_jsx(_components.p,{children:`Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`leaderboard`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-97`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`LeaderboardInput`,required:true,id:`param-input-26`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#leaderboardinput`,children:`LeaderboardInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#leaderboardresponse`,children:`LeaderboardResponse`})]})]}),_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies-2`,children:[_jsx(_components.p,{children:`List the Policies associated to the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-98`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-51`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-51`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-51`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-51`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#policyconnection`,children:`PolicyConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,deprecated:true,id:`param-access-control-enabled-9`,children:[_jsx(_components.p,{children:`Whether or not access control is enabled for the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createaveragemetric`,children:`createAverageMetric`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-47`,children:[_jsx(_components.p,{children:`Creates a new Average Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).`}),_jsx(Heading,{level:`3`,id:`arguments-99`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateAverageMetricInput`,id:`param-input-27`,children:_jsxs(Expandable,{title:`CreateAverageMetricInput`,children:[_jsx(_components.p,{children:`The fields for creating a new Average Metric.`}),_jsx(ParamField,{path:`dataPool`,type:`ID`,required:true,id:`param-data-pool-13`,children:_jsx(_components.p,{children:`The Data Pool that powers this Metric.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-43`,children:_jsx(_components.p,{children:`The Metric’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-36`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-7`,children:_jsx(_components.p,{children:`The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`})}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,id:`param-dimensions-6`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-34`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsxs(ParamField,{path:`measure`,type:`DimensionInput`,required:true,id:`param-measure-4`,children:[_jsx(_components.p,{children:`The column to be averaged.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-35`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-3`,children:[_jsx(_components.p,{children:`The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-5`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-5`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-5`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and-5`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or-5`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-23`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MetricResponse`})]}),_jsxs(Expandable,{title:`MetricResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Metric.`}),_jsxs(ParamField,{path:`metric`,type:`Metric`,id:`param-metric-3`,children:[_jsx(_components.p,{children:`The Metric which was created or modified.`}),_jsxs(Expandable,{title:`Metric`,children:[_jsx(_components.p,{children:`The Metric object.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-41`,children:_jsx(_components.p,{children:`The Metric’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-44`,children:_jsx(_components.p,{children:`The Metric’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-37`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-20`,children:[_jsx(_components.p,{children:`The Metric’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-13`,children:[_jsx(_components.p,{children:`The Metric’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-19`,children:_jsx(_components.p,{children:`The Metric’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-19`,children:_jsx(_components.p,{children:`The Metric’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-19`,children:_jsx(_components.p,{children:`The Metric’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-19`,children:_jsx(_components.p,{children:`The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-14`,children:_jsxs(_components.p,{children:[`The Data Pool that powers this Metric.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions-7`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. These Dimensions are available to Query Filters.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`timestamp`,type:`Dimension`,id:`param-timestamp-10`,children:[_jsx(_components.p,{children:`The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`boosters`,type:`BoosterConnection`,required:true,id:`param-boosters-3`,children:[_jsx(_components.p,{children:`List the Boosters associated to the Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-100`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-52`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-52`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-52`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-52`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#boosterconnection`,children:`BoosterConnection`})]})]}),_jsxs(ParamField,{path:`type`,type:`MetricType`,required:true,id:`param-type-25`,children:[_jsx(_components.p,{children:`The Metric’s type. The different Metric types determine how the values are calculated.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#metrictype`,children:`MetricType`})]})]}),_jsxs(ParamField,{path:`settings`,type:`MetricSettings`,required:true,id:`param-settings-3`,children:[_jsx(_components.p,{children:`The settings for the Metric. The settings are specific to the Metric’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#metricsettings`,children:`MetricSettings`})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`measure`,type:`Dimension`,deprecated:true,id:`param-measure-5`,children:[_jsxs(_components.p,{children:[`The Metric’s measure. Access this from the Metric’s `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the Metric `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`counter`,type:`CounterResponse`,deprecated:true,id:`param-counter-3`,children:[_jsx(_components.p,{children:`Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`counter`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-101`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CounterInput`,required:true,id:`param-input-28`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#counterinput`,children:`CounterInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#counterresponse`,children:`CounterResponse`})]})]}),_jsxs(ParamField,{path:`timeSeries`,type:`TimeSeriesResponse`,deprecated:true,id:`param-time-series-3`,children:[_jsx(_components.p,{children:`Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`timeSeries`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-102`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TimeSeriesInput`,required:true,id:`param-input-29`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timeseriesinput`,children:`TimeSeriesInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timeseriesresponse`,children:`TimeSeriesResponse`})]})]}),_jsxs(ParamField,{path:`leaderboard`,type:`LeaderboardResponse`,deprecated:true,id:`param-leaderboard-3`,children:[_jsx(_components.p,{children:`Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`leaderboard`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-103`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`LeaderboardInput`,required:true,id:`param-input-30`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#leaderboardinput`,children:`LeaderboardInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#leaderboardresponse`,children:`LeaderboardResponse`})]})]}),_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies-3`,children:[_jsx(_components.p,{children:`List the Policies associated to the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-104`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-53`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-53`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-53`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-53`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#policyconnection`,children:`PolicyConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,deprecated:true,id:`param-access-control-enabled-10`,children:[_jsx(_components.p,{children:`Whether or not access control is enabled for the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createminmetric`,children:`createMinMetric`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-48`,children:[_jsx(_components.p,{children:`Creates a new Min Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).`}),_jsx(Heading,{level:`3`,id:`arguments-105`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateMinMetricInput`,id:`param-input-31`,children:_jsxs(Expandable,{title:`CreateMinMetricInput`,children:[_jsx(_components.p,{children:`The fields for creating a new Minimum (Min) Metric.`}),_jsx(ParamField,{path:`dataPool`,type:`ID`,required:true,id:`param-data-pool-15`,children:_jsx(_components.p,{children:`The Data Pool that powers this Metric.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-45`,children:_jsx(_components.p,{children:`The Metric’s unique name. If not specified, Propel will set the ID as unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-38`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-8`,children:_jsx(_components.p,{children:`The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`})}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,id:`param-dimensions-8`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-36`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsx(ParamField,{path:`measure`,type:`DimensionInput`,required:true,id:`param-measure-6`,children:_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-37`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-4`,children:[_jsx(_components.p,{children:`The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-6`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-6`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-6`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and-6`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or-6`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-24`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MetricResponse`})]}),_jsxs(Expandable,{title:`MetricResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Metric.`}),_jsxs(ParamField,{path:`metric`,type:`Metric`,id:`param-metric-4`,children:[_jsx(_components.p,{children:`The Metric which was created or modified.`}),_jsxs(Expandable,{title:`Metric`,children:[_jsx(_components.p,{children:`The Metric object.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-42`,children:_jsx(_components.p,{children:`The Metric’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-46`,children:_jsx(_components.p,{children:`The Metric’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-39`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-21`,children:[_jsx(_components.p,{children:`The Metric’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-14`,children:[_jsx(_components.p,{children:`The Metric’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-20`,children:_jsx(_components.p,{children:`The Metric’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-20`,children:_jsx(_components.p,{children:`The Metric’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-20`,children:_jsx(_components.p,{children:`The Metric’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-20`,children:_jsx(_components.p,{children:`The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-16`,children:_jsxs(_components.p,{children:[`The Data Pool that powers this Metric.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions-9`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. These Dimensions are available to Query Filters.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`timestamp`,type:`Dimension`,id:`param-timestamp-11`,children:[_jsx(_components.p,{children:`The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`boosters`,type:`BoosterConnection`,required:true,id:`param-boosters-4`,children:[_jsx(_components.p,{children:`List the Boosters associated to the Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-106`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-54`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-54`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-54`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-54`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#boosterconnection`,children:`BoosterConnection`})]})]}),_jsxs(ParamField,{path:`type`,type:`MetricType`,required:true,id:`param-type-26`,children:[_jsx(_components.p,{children:`The Metric’s type. The different Metric types determine how the values are calculated.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#metrictype`,children:`MetricType`})]})]}),_jsxs(ParamField,{path:`settings`,type:`MetricSettings`,required:true,id:`param-settings-4`,children:[_jsx(_components.p,{children:`The settings for the Metric. The settings are specific to the Metric’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#metricsettings`,children:`MetricSettings`})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`measure`,type:`Dimension`,deprecated:true,id:`param-measure-7`,children:[_jsxs(_components.p,{children:[`The Metric’s measure. Access this from the Metric’s `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the Metric `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`counter`,type:`CounterResponse`,deprecated:true,id:`param-counter-4`,children:[_jsx(_components.p,{children:`Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`counter`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-107`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CounterInput`,required:true,id:`param-input-32`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#counterinput`,children:`CounterInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#counterresponse`,children:`CounterResponse`})]})]}),_jsxs(ParamField,{path:`timeSeries`,type:`TimeSeriesResponse`,deprecated:true,id:`param-time-series-4`,children:[_jsx(_components.p,{children:`Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`timeSeries`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-108`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TimeSeriesInput`,required:true,id:`param-input-33`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timeseriesinput`,children:`TimeSeriesInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timeseriesresponse`,children:`TimeSeriesResponse`})]})]}),_jsxs(ParamField,{path:`leaderboard`,type:`LeaderboardResponse`,deprecated:true,id:`param-leaderboard-4`,children:[_jsx(_components.p,{children:`Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`leaderboard`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-109`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`LeaderboardInput`,required:true,id:`param-input-34`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#leaderboardinput`,children:`LeaderboardInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#leaderboardresponse`,children:`LeaderboardResponse`})]})]}),_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies-4`,children:[_jsx(_components.p,{children:`List the Policies associated to the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-110`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-55`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-55`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-55`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-55`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#policyconnection`,children:`PolicyConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,deprecated:true,id:`param-access-control-enabled-11`,children:[_jsx(_components.p,{children:`Whether or not access control is enabled for the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createmaxmetric`,children:`createMaxMetric`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-49`,children:[_jsx(_components.p,{children:`Creates a new Max Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).`}),_jsx(Heading,{level:`3`,id:`arguments-111`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateMaxMetricInput`,id:`param-input-35`,children:_jsxs(Expandable,{title:`CreateMaxMetricInput`,children:[_jsx(_components.p,{children:`The fields for creating a new Maximum (Max) Metric.`}),_jsx(ParamField,{path:`dataPool`,type:`ID`,required:true,id:`param-data-pool-17`,children:_jsx(_components.p,{children:`The Data Pool that powers this Metric.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-47`,children:_jsx(_components.p,{children:`The Metric’s unique name. If not specified, Propel will set the ID as unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-40`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-9`,children:_jsx(_components.p,{children:`The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`})}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,id:`param-dimensions-10`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-38`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsxs(ParamField,{path:`measure`,type:`DimensionInput`,required:true,id:`param-measure-8`,children:[_jsx(_components.p,{children:`The column to calculate the maximum from.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-39`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-5`,children:[_jsx(_components.p,{children:`The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-7`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-7`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-7`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and-7`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or-7`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-25`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MetricResponse`})]}),_jsxs(Expandable,{title:`MetricResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Metric.`}),_jsxs(ParamField,{path:`metric`,type:`Metric`,id:`param-metric-5`,children:[_jsx(_components.p,{children:`The Metric which was created or modified.`}),_jsxs(Expandable,{title:`Metric`,children:[_jsx(_components.p,{children:`The Metric object.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-43`,children:_jsx(_components.p,{children:`The Metric’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-48`,children:_jsx(_components.p,{children:`The Metric’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-41`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-22`,children:[_jsx(_components.p,{children:`The Metric’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-15`,children:[_jsx(_components.p,{children:`The Metric’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-21`,children:_jsx(_components.p,{children:`The Metric’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-21`,children:_jsx(_components.p,{children:`The Metric’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-21`,children:_jsx(_components.p,{children:`The Metric’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-21`,children:_jsx(_components.p,{children:`The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-18`,children:_jsxs(_components.p,{children:[`The Data Pool that powers this Metric.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions-11`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. These Dimensions are available to Query Filters.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`timestamp`,type:`Dimension`,id:`param-timestamp-12`,children:[_jsx(_components.p,{children:`The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`boosters`,type:`BoosterConnection`,required:true,id:`param-boosters-5`,children:[_jsx(_components.p,{children:`List the Boosters associated to the Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-112`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-56`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-56`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-56`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-56`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#boosterconnection`,children:`BoosterConnection`})]})]}),_jsxs(ParamField,{path:`type`,type:`MetricType`,required:true,id:`param-type-27`,children:[_jsx(_components.p,{children:`The Metric’s type. The different Metric types determine how the values are calculated.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#metrictype`,children:`MetricType`})]})]}),_jsxs(ParamField,{path:`settings`,type:`MetricSettings`,required:true,id:`param-settings-5`,children:[_jsx(_components.p,{children:`The settings for the Metric. The settings are specific to the Metric’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#metricsettings`,children:`MetricSettings`})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`measure`,type:`Dimension`,deprecated:true,id:`param-measure-9`,children:[_jsxs(_components.p,{children:[`The Metric’s measure. Access this from the Metric’s `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the Metric `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`counter`,type:`CounterResponse`,deprecated:true,id:`param-counter-5`,children:[_jsx(_components.p,{children:`Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`counter`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-113`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CounterInput`,required:true,id:`param-input-36`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#counterinput`,children:`CounterInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#counterresponse`,children:`CounterResponse`})]})]}),_jsxs(ParamField,{path:`timeSeries`,type:`TimeSeriesResponse`,deprecated:true,id:`param-time-series-5`,children:[_jsx(_components.p,{children:`Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`timeSeries`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-114`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TimeSeriesInput`,required:true,id:`param-input-37`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timeseriesinput`,children:`TimeSeriesInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timeseriesresponse`,children:`TimeSeriesResponse`})]})]}),_jsxs(ParamField,{path:`leaderboard`,type:`LeaderboardResponse`,deprecated:true,id:`param-leaderboard-5`,children:[_jsx(_components.p,{children:`Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`leaderboard`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-115`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`LeaderboardInput`,required:true,id:`param-input-38`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#leaderboardinput`,children:`LeaderboardInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#leaderboardresponse`,children:`LeaderboardResponse`})]})]}),_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies-5`,children:[_jsx(_components.p,{children:`List the Policies associated to the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-116`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-57`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-57`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-57`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-57`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#policyconnection`,children:`PolicyConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,deprecated:true,id:`param-access-control-enabled-12`,children:[_jsx(_components.p,{children:`Whether or not access control is enabled for the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createcustommetric`,children:`createCustomMetric`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-50`,children:[_jsx(_components.p,{children:`Creates a new Custom Metric from the given Data Pool and returns the newly created Metric (or an error message if creating the Metric fails).`}),_jsx(Heading,{level:`3`,id:`arguments-117`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateCustomMetricInput`,id:`param-input-39`,children:_jsxs(Expandable,{title:`CreateCustomMetricInput`,children:[_jsx(_components.p,{children:`The fields for creating a new Custom Metric.`}),_jsx(ParamField,{path:`dataPool`,type:`ID`,required:true,id:`param-data-pool-19`,children:_jsx(_components.p,{children:`The Data Pool that powers this Metric.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-49`,children:_jsx(_components.p,{children:`The Metric’s unique name. If not specified, Propel will set the ID as unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-42`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-10`,children:_jsx(_components.p,{children:`The Metric’s Filters, in the form of SQL. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`})}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,id:`param-dimensions-12`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. Dimensions define the columns that will be available to filter the Metric at query time.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-40`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsx(ParamField,{path:`expression`,type:`String`,required:true,id:`param-expression-5`,children:_jsx(_components.p,{children:`The expression that defines the aggregation function for this Metric.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-6`,children:[_jsx(_components.p,{children:`The Metric’s Filters. Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Filters are present, all records will be included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-8`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-8`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-8`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and-8`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or-8`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-26`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MetricResponse`})]}),_jsxs(Expandable,{title:`MetricResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Metric.`}),_jsxs(ParamField,{path:`metric`,type:`Metric`,id:`param-metric-6`,children:[_jsx(_components.p,{children:`The Metric which was created or modified.`}),_jsxs(Expandable,{title:`Metric`,children:[_jsx(_components.p,{children:`The Metric object.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-44`,children:_jsx(_components.p,{children:`The Metric’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-50`,children:_jsx(_components.p,{children:`The Metric’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-43`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-23`,children:[_jsx(_components.p,{children:`The Metric’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-16`,children:[_jsx(_components.p,{children:`The Metric’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-22`,children:_jsx(_components.p,{children:`The Metric’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-22`,children:_jsx(_components.p,{children:`The Metric’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-22`,children:_jsx(_components.p,{children:`The Metric’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-22`,children:_jsx(_components.p,{children:`The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-20`,children:_jsxs(_components.p,{children:[`The Data Pool that powers this Metric.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions-13`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. These Dimensions are available to Query Filters.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`timestamp`,type:`Dimension`,id:`param-timestamp-13`,children:[_jsx(_components.p,{children:`The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`boosters`,type:`BoosterConnection`,required:true,id:`param-boosters-6`,children:[_jsx(_components.p,{children:`List the Boosters associated to the Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-118`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-58`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-58`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-58`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-58`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#boosterconnection`,children:`BoosterConnection`})]})]}),_jsxs(ParamField,{path:`type`,type:`MetricType`,required:true,id:`param-type-28`,children:[_jsx(_components.p,{children:`The Metric’s type. The different Metric types determine how the values are calculated.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#metrictype`,children:`MetricType`})]})]}),_jsxs(ParamField,{path:`settings`,type:`MetricSettings`,required:true,id:`param-settings-6`,children:[_jsx(_components.p,{children:`The settings for the Metric. The settings are specific to the Metric’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#metricsettings`,children:`MetricSettings`})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`measure`,type:`Dimension`,deprecated:true,id:`param-measure-10`,children:[_jsxs(_components.p,{children:[`The Metric’s measure. Access this from the Metric’s `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the Metric `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`counter`,type:`CounterResponse`,deprecated:true,id:`param-counter-6`,children:[_jsx(_components.p,{children:`Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`counter`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-119`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CounterInput`,required:true,id:`param-input-40`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#counterinput`,children:`CounterInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#counterresponse`,children:`CounterResponse`})]})]}),_jsxs(ParamField,{path:`timeSeries`,type:`TimeSeriesResponse`,deprecated:true,id:`param-time-series-6`,children:[_jsx(_components.p,{children:`Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`timeSeries`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-120`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TimeSeriesInput`,required:true,id:`param-input-41`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timeseriesinput`,children:`TimeSeriesInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timeseriesresponse`,children:`TimeSeriesResponse`})]})]}),_jsxs(ParamField,{path:`leaderboard`,type:`LeaderboardResponse`,deprecated:true,id:`param-leaderboard-6`,children:[_jsx(_components.p,{children:`Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`leaderboard`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-121`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`LeaderboardInput`,required:true,id:`param-input-42`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#leaderboardinput`,children:`LeaderboardInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#leaderboardresponse`,children:`LeaderboardResponse`})]})]}),_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies-6`,children:[_jsx(_components.p,{children:`List the Policies associated to the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-122`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-59`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-59`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-59`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-59`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#policyconnection`,children:`PolicyConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,deprecated:true,id:`param-access-control-enabled-13`,children:[_jsx(_components.p,{children:`Whether or not access control is enabled for the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifymetric`,children:`modifyMetric`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-51`,children:[_jsx(_components.p,{children:`Modifies a Metric by ID with the provided unique name, description, and Dimensions. If any of the optional arguments are omitted, those properties will be unchanged on the Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-123`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyMetricInput`,id:`param-input-43`,children:_jsxs(Expandable,{title:`ModifyMetricInput`,children:[_jsx(_components.p,{children:`The fields for modifying a Metric.`}),_jsx(ParamField,{path:`metric`,type:`ID`,required:true,id:`param-metric-7`,children:_jsx(_components.p,{children:`The ID of the Metric to modify.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-51`,children:_jsx(_components.p,{children:`The Metric’s new unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-44`,children:_jsx(_components.p,{children:`The Metric’s new description.`})}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,id:`param-dimensions-14`,children:[_jsx(_components.p,{children:`The Metric’s new Dimensions. Used to add or remove Dimensions.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-41`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-11`,children:_jsx(_components.p,{children:`The Metric’s new Filters, in the form of SQL. Used to add or remove Metric Filters.`})}),_jsx(ParamField,{path:`accessControlEnabled`,type:`Boolean`,id:`param-access-control-enabled-14`,children:_jsx(_components.p,{children:`Enables or disables access control for the Metric.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-7`,children:[_jsx(_components.p,{children:`The Metric’s new Filters. Used to add or remove Metric Filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-9`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-9`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-9`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and-9`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or-9`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-27`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MetricResponse`})]}),_jsxs(Expandable,{title:`MetricResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Metric.`}),_jsxs(ParamField,{path:`metric`,type:`Metric`,id:`param-metric-8`,children:[_jsx(_components.p,{children:`The Metric which was created or modified.`}),_jsxs(Expandable,{title:`Metric`,children:[_jsx(_components.p,{children:`The Metric object.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-45`,children:_jsx(_components.p,{children:`The Metric’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-52`,children:_jsx(_components.p,{children:`The Metric’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-45`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-24`,children:[_jsx(_components.p,{children:`The Metric’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-17`,children:[_jsx(_components.p,{children:`The Metric’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-23`,children:_jsx(_components.p,{children:`The Metric’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-23`,children:_jsx(_components.p,{children:`The Metric’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-23`,children:_jsx(_components.p,{children:`The Metric’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-23`,children:_jsx(_components.p,{children:`The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-21`,children:_jsxs(_components.p,{children:[`The Data Pool that powers this Metric.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions-15`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. These Dimensions are available to Query Filters.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`timestamp`,type:`Dimension`,id:`param-timestamp-14`,children:[_jsx(_components.p,{children:`The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`boosters`,type:`BoosterConnection`,required:true,id:`param-boosters-7`,children:[_jsx(_components.p,{children:`List the Boosters associated to the Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-124`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-60`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-60`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-60`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-60`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#boosterconnection`,children:`BoosterConnection`})]})]}),_jsxs(ParamField,{path:`type`,type:`MetricType`,required:true,id:`param-type-29`,children:[_jsx(_components.p,{children:`The Metric’s type. The different Metric types determine how the values are calculated.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#metrictype`,children:`MetricType`})]})]}),_jsxs(ParamField,{path:`settings`,type:`MetricSettings`,required:true,id:`param-settings-7`,children:[_jsx(_components.p,{children:`The settings for the Metric. The settings are specific to the Metric’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#metricsettings`,children:`MetricSettings`})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`measure`,type:`Dimension`,deprecated:true,id:`param-measure-11`,children:[_jsxs(_components.p,{children:[`The Metric’s measure. Access this from the Metric’s `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the Metric `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsxs(ParamField,{path:`counter`,type:`CounterResponse`,deprecated:true,id:`param-counter-7`,children:[_jsx(_components.p,{children:`Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`counter`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-125`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CounterInput`,required:true,id:`param-input-44`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#counterinput`,children:`CounterInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#counterresponse`,children:`CounterResponse`})]})]}),_jsxs(ParamField,{path:`timeSeries`,type:`TimeSeriesResponse`,deprecated:true,id:`param-time-series-7`,children:[_jsx(_components.p,{children:`Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`timeSeries`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-126`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TimeSeriesInput`,required:true,id:`param-input-45`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timeseriesinput`,children:`TimeSeriesInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timeseriesresponse`,children:`TimeSeriesResponse`})]})]}),_jsxs(ParamField,{path:`leaderboard`,type:`LeaderboardResponse`,deprecated:true,id:`param-leaderboard-7`,children:[_jsx(_components.p,{children:`Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`leaderboard`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-127`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`LeaderboardInput`,required:true,id:`param-input-46`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#leaderboardinput`,children:`LeaderboardInput`})]})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#leaderboardresponse`,children:`LeaderboardResponse`})]})]}),_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies-7`,children:[_jsx(_components.p,{children:`List the Policies associated to the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-128`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-61`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-61`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-61`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-61`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#policyconnection`,children:`PolicyConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,deprecated:true,id:`param-access-control-enabled-15`,children:[_jsx(_components.p,{children:`Whether or not access control is enabled for the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`migratemetric`,children:`migrateMetric`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-52`,children:[_jsx(_components.p,{children:`Migrates a Metric from one Data Pool to another.`}),_jsx(Heading,{level:`3`,id:`arguments-129`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`MigrateMetricInput`,required:true,id:`param-input-47`,children:_jsxs(Expandable,{title:`MigrateMetricInput`,children:[_jsx(_components.p,{children:`The fields for migrating a Metric’s Data Pool.`}),_jsx(ParamField,{path:`metricId`,type:`ID`,required:true,id:`param-metric-id`,children:_jsx(_components.p,{children:`The Metric that is going to be migrated.`})}),_jsx(ParamField,{path:`newDataPoolId`,type:`ID`,required:true,id:`param-new-data-pool-id`,children:_jsx(_components.p,{children:`The DataPool to which the Metric is going to be migrated.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-28`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`Metric`})]}),_jsxs(Expandable,{title:`Metric`,children:[_jsx(_components.p,{children:`The Metric object.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-46`,children:_jsx(_components.p,{children:`The Metric’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-53`,children:_jsx(_components.p,{children:`The Metric’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-46`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-25`,children:[_jsx(_components.p,{children:`The Metric’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-47`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-18`,children:[_jsx(_components.p,{children:`The Metric’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-48`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-54`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-47`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-24`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-24`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-24`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-24`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-26`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-25`,children:_jsx(_components.p,{children:`The Metric’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-25`,children:_jsx(_components.p,{children:`The Metric’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-25`,children:_jsx(_components.p,{children:`The Metric’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-25`,children:_jsx(_components.p,{children:`The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-22`,children:_jsxs(_components.p,{children:[`The Data Pool that powers this Metric.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions-16`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. These Dimensions are available to Query Filters.`}),_jsxs(Expandable,{title:`Dimension`,children:[_jsx(_components.p,{children:`The Dimension object that represents a column in a table.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-42`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-30`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable-13`,children:_jsx(_components.p,{children:`Whether the column is nullable.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`isUniqueKey`,type:`Boolean`,deprecated:true,id:`param-is-unique-key`,children:[_jsx(_components.p,{children:`Whether the column is a unique key.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`stats`,type:`DimensionStatistics`,deprecated:true,id:`param-stats`,children:[_jsx(_components.p,{children:`The statistics for the dimension values. Fetching statistics incurs query costs.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Issue normal queries for calculating stats`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimensionstatistics`,children:`DimensionStatistics`})]})]})]})]})]}),_jsxs(ParamField,{path:`timestamp`,type:`Dimension`,id:`param-timestamp-15`,children:[_jsx(_components.p,{children:`The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.`}),_jsxs(Expandable,{title:`Dimension`,children:[_jsx(_components.p,{children:`The Dimension object that represents a column in a table.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-43`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-31`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable-14`,children:_jsx(_components.p,{children:`Whether the column is nullable.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`isUniqueKey`,type:`Boolean`,deprecated:true,id:`param-is-unique-key-1`,children:[_jsx(_components.p,{children:`Whether the column is a unique key.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`stats`,type:`DimensionStatistics`,deprecated:true,id:`param-stats-1`,children:[_jsx(_components.p,{children:`The statistics for the dimension values. Fetching statistics incurs query costs.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Issue normal queries for calculating stats`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimensionstatistics`,children:`DimensionStatistics`})]})]})]})]})]}),_jsxs(ParamField,{path:`boosters`,type:`BoosterConnection`,required:true,id:`param-boosters-8`,children:[_jsx(_components.p,{children:`List the Boosters associated to the Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-130`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-62`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-62`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-62`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-62`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#boosterconnection`,children:`BoosterConnection`})]})]}),_jsxs(ParamField,{path:`type`,type:`MetricType`,required:true,id:`param-type-32`,children:[_jsx(_components.p,{children:`The Metric’s type. The different Metric types determine how the values are calculated.`}),_jsxs(Expandable,{title:`MetricType`,children:[_jsx(_components.p,{children:`The available Metric types.`}),_jsx(ParamField,{path:` `,id:`param-53`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`COUNT`}),`: Counts the number of records that matches the Metric Filters. For time series, it will count the values for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUM`}),`: Sums the values of the specified column for every record that matches the Metric Filters. For time series, it will sum the values for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`COUNT_DISTINCT`}),`: Counts the number of distinct values in the specified column for every record that matches the Metric Filters. For time series, it will count the distinct values for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AVERAGE`}),`: Averages the values of the specified column for every record that matches the Metric Filters. For time series, it will average the values for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MIN`}),`: Selects the minimum value of the specified column for every record that matches the Metric Filters. For time series, it will select the minimum value for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MAX`}),`: Selects the maximum value of the specified column for every record that matches the Metric Filters. For time series, it will select the maximum value for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CUSTOM`}),`: Aggregates values based on the provided custom expression.`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`settings`,type:`MetricSettings`,required:true,id:`param-settings-8`,children:[_jsx(_components.p,{children:`The settings for the Metric. The settings are specific to the Metric’s type.`}),_jsxs(Expandable,{title:`MetricSettings`,children:[_jsx(_components.p,{children:`A Metric’s settings, depending on its type.`}),_jsxs(ParamField,{path:`MetricSettings`,type:`CountMetricSettings | SumMetricSettings | CountDistinctMetricSettings | AverageMetricSettings | MinMetricSettings | MaxMetricSettings | CustomMetricSettings`,id:`param-metric-settings`,children:[_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#countmetricsettings`,children:`CountMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#summetricsettings`,children:`SumMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#countdistinctmetricsettings`,children:`CountDistinctMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#averagemetricsettings`,children:`AverageMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#minmetricsettings`,children:`MinMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#maxmetricsettings`,children:`MaxMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#custommetricsettings`,children:`CustomMetricSettings`})]})]})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`measure`,type:`Dimension`,deprecated:true,id:`param-measure-12`,children:[_jsxs(_components.p,{children:[`The Metric’s measure. Access this from the Metric’s `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the Metric `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(Expandable,{title:`Dimension`,children:[_jsx(_components.p,{children:`The Dimension object that represents a column in a table.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-44`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-33`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable-15`,children:_jsx(_components.p,{children:`Whether the column is nullable.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`isUniqueKey`,type:`Boolean`,deprecated:true,id:`param-is-unique-key-2`,children:[_jsx(_components.p,{children:`Whether the column is a unique key.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`stats`,type:`DimensionStatistics`,deprecated:true,id:`param-stats-2`,children:[_jsx(_components.p,{children:`The statistics for the dimension values. Fetching statistics incurs query costs.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Issue normal queries for calculating stats`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimensionstatistics`,children:`DimensionStatistics`})]})]})]})]})]}),_jsxs(ParamField,{path:`counter`,type:`CounterResponse`,deprecated:true,id:`param-counter-8`,children:[_jsx(_components.p,{children:`Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`counter`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-131`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CounterInput`,required:true,id:`param-input-48`,children:_jsxs(Expandable,{title:`CounterInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in counter format.`}),_jsx(_components.p,{children:`A Metric’s counter query returns a single value over a given time range.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-9`,children:[_jsx(_components.p,{children:`The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#metricinput`,children:`MetricInput`})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range`,children:[_jsx(_components.p,{children:`The time range for calculating the counter.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timerangeinput`,children:`TimeRangeInput`})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-12`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the counter data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id-1`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-8`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the counter data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#filterinput`,children:`FilterInput`})]})]})]})]})}),_jsxs(Expandable,{title:`CounterResponse`,children:[_jsx(_components.p,{children:`The counter response object. It contains a single Metric value for the given time range and Query Filters.`}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-10`,children:_jsx(_components.p,{children:`The value of the counter.`})}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#queryinfo`,children:`QueryInfo`})]})]})]})]}),_jsxs(ParamField,{path:`timeSeries`,type:`TimeSeriesResponse`,deprecated:true,id:`param-time-series-8`,children:[_jsx(_components.p,{children:`Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`timeSeries`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-132`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TimeSeriesInput`,required:true,id:`param-input-49`,children:_jsxs(Expandable,{title:`TimeSeriesInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in time series format.`}),_jsx(_components.p,{children:`A Metric’s time series query returns the values over a given time range aggregated by a given time granularity; day, month, or year, for example.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-10`,children:[_jsx(_components.p,{children:`The Metric to Query. It can be a pre-created one or it can be inlined here.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#metricinput`,children:`MetricInput`})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-1`,children:[_jsx(_components.p,{children:`The time range for calculating the time series.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timerangeinput`,children:`TimeRangeInput`})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-1`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsxs(ParamField,{path:`granularity`,type:`TimeSeriesGranularity`,required:true,id:`param-granularity`,children:[_jsx(_components.p,{children:`The time granularity (hour, day, month, etc.) to aggregate the Metric values by.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#timeseriesgranularity`,children:`TimeSeriesGranularity`})]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-13`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the time series data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsx(ParamField,{path:`groupBy`,type:`[String!]`,id:`param-group-by`,children:_jsx(_components.p,{children:`Columns to group by.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id-2`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name-1`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-9`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the time series data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#filterinput`,children:`FilterInput`})]})]})]})]})}),_jsxs(Expandable,{title:`TimeSeriesResponse`,children:[_jsx(_components.p,{children:`The time series response object. It contains an array of time series labels and an array of Metric values for the given time range and Query Filters.`}),_jsx(ParamField,{path:`labels`,type:`[String!]`,required:true,id:`param-labels`,children:_jsx(_components.p,{children:`The time series labels.`})}),_jsx(ParamField,{path:`values`,type:`[String]`,required:true,id:`param-values`,children:_jsx(_components.p,{children:`The time series values.`})}),_jsxs(ParamField,{path:`groups`,type:`[TimeSeriesResponseGroup!]`,id:`param-groups`,children:[_jsxs(_components.p,{children:[`The time series values for each group in `,_jsx(_components.code,{children:`groupBy`}),`, if specified.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timeseriesresponsegroup`,children:`TimeSeriesResponseGroup`})]})]}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-1`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#queryinfo`,children:`QueryInfo`})]})]})]})]}),_jsxs(ParamField,{path:`leaderboard`,type:`LeaderboardResponse`,deprecated:true,id:`param-leaderboard-8`,children:[_jsx(_components.p,{children:`Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`leaderboard`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-133`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`LeaderboardInput`,required:true,id:`param-input-50`,children:_jsxs(Expandable,{title:`LeaderboardInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in leaderboard format.`}),_jsx(_components.p,{children:`A Metric’s leaderboard query returns an ordered table of Dimension and Metric values over a given time range.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-11`,children:[_jsx(_components.p,{children:`The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#metricinput`,children:`MetricInput`})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-2`,children:[_jsx(_components.p,{children:`The time range for calculating the leaderboard.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timerangeinput`,children:`TimeRangeInput`})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-2`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,required:true,id:`param-dimensions-17`,children:[_jsx(_components.p,{children:`One or many Dimensions to group the Metric values by. Typically, Dimensions in a leaderboard are what you want to compare and rank.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#dimensioninput`,children:`DimensionInput`})]})]}),_jsxs(ParamField,{path:`sort`,type:`Sort`,id:`param-sort`,children:[_jsxs(_components.p,{children:[`The sort order of the rows. It can be ascending (`,_jsx(_components.code,{children:`ASC`}),`) or descending (`,_jsx(_components.code,{children:`DESC`}),`) order. Defaults to descending (`,_jsx(_components.code,{children:`DESC`}),`) order when not provided.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#sort`,children:`Sort`})]})]}),_jsx(ParamField,{path:`rowLimit`,type:`Int`,required:true,id:`param-row-limit`,children:_jsx(_components.p,{children:`The number of rows to be returned. It can be a number between 1 and 1,000.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-14`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the leaderboard data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id-3`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name-2`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-10`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the leaderboard data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#filterinput`,children:`FilterInput`})]})]})]})]})}),_jsxs(Expandable,{title:`LeaderboardResponse`,children:[_jsx(_components.p,{children:`The leaderboard response object. It contains an array of headers and a table (array of rows) with the selected Dimensions and corresponding Metric values for the given time range and Query Filters.`}),_jsx(ParamField,{path:`headers`,type:`[String!]`,required:true,id:`param-headers`,children:_jsx(_components.p,{children:`The table headers. It contains the Dimension and Metric names.`})}),_jsx(ParamField,{path:`rows`,type:`[[String]!]`,required:true,id:`param-rows-4`,children:_jsx(_components.p,{children:`An ordered array of rows. Each row contains the Dimension values and the corresponding Metric value. A Dimension value can be empty. A Metric value will never be empty.`})}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-2`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#queryinfo`,children:`QueryInfo`})]})]})]})]}),_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies-8`,children:[_jsx(_components.p,{children:`List the Policies associated to the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-134`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-63`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-63`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-63`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-63`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#policyconnection`,children:`PolicyConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,deprecated:true,id:`param-access-control-enabled-16`,children:[_jsx(_components.p,{children:`Whether or not access control is enabled for the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`deletemetric`,children:`deleteMetric`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-54`,children:[_jsx(_components.p,{children:`Deletes a Metric by ID and returns its ID if the Metric was deleted successfully.`}),_jsx(Heading,{level:`3`,id:`arguments-135`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-49`})]}),`\n`,_jsx(Heading,{level:`2`,id:`deletemetricbyname`,children:`deleteMetricByName`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-55`,children:[_jsx(_components.p,{children:`Deletes a Metric by unique name and returns its ID if the Metric was deleted successfully.`}),_jsx(Heading,{level:`3`,id:`arguments-136`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-55`})]}),`\n`,_jsx(Heading,{level:`2`,id:`createbooster`,children:`createBooster`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-56`,children:[_jsx(_components.p,{children:`Creates a new Booster for the given Metric and returns the newly created Booster.`}),_jsx(_components.p,{children:`A Booster significantly improves the query performance for a Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-137`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateBoosterInput`,required:true,id:`param-input-51`,children:_jsxs(Expandable,{title:`CreateBoosterInput`,children:[_jsx(_components.p,{children:`The fields for creating a new Booster.`}),_jsx(_components.p,{children:`Boosters can be understood as an aggregating index. The index is formed from left to right as follows:`}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`The Data Pool’s Tenant ID column (if present)`}),`\n`,_jsx(_components.li,{children:`Metric Filter columns (if present)`}),`\n`,_jsxs(_components.li,{children:[`Query Filter Dimensions (see `,_jsx(_components.code,{children:`dimensions`}),`)`]}),`\n`,_jsx(_components.li,{children:`The Data Pool’s timestamp column`}),`\n`]}),_jsx(ParamField,{path:`metric`,type:`ID`,required:true,id:`param-metric-12`,children:_jsx(_components.p,{children:`The Booster’s Metric.`})}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,required:true,id:`param-dimensions-18`,children:[_jsx(_components.p,{children:`Dimensions to include in the Booster.`}),_jsx(_components.p,{children:`Follow these guidelines when specifying Dimensions:`}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Specify Dimensions in descending order of importance for filtering and in ascending order of cardinality.`}),`\n`,_jsx(_components.li,{children:`Take into consideration hierarchical relationships as well (for example, a “country” Dimension should appear before a “state” Dimension).`}),`\n`]}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-45`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-29`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`BoosterResponse`})]}),_jsxs(Expandable,{title:`BoosterResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Booster.`}),_jsxs(ParamField,{path:`booster`,type:`Booster`,id:`param-booster`,children:[_jsx(_components.p,{children:`The Booster which was created or modified.`}),_jsxs(Expandable,{title:`Booster`,children:[_jsx(_components.p,{children:`Boosters allow you to optimize Metric Queries for a subset of commonly used Dimensions. A Metric can have one or many Boosters to optimize for the different Query patterns.`}),_jsx(_components.p,{children:`Boosters can be understood as an aggregating index. The index is formed from left to right as follows:`}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`The Data Pool’s Tenant ID column (if present)`}),`\n`,_jsx(_components.li,{children:`Metric Filter columns (if present)`}),`\n`,_jsxs(_components.li,{children:[`Query Filter Dimensions (see `,_jsx(_components.code,{children:`dimensions`}),`)`]}),`\n`,_jsx(_components.li,{children:`The Data Pool’s timestamp column`}),`\n`]}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-50`,children:_jsx(_components.p,{children:`The Booster’s unique identifier.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-27`,children:[_jsx(_components.p,{children:`The Booster’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-19`,children:[_jsx(_components.p,{children:`The Booster’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-26`,children:_jsx(_components.p,{children:`The Booster’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-26`,children:_jsx(_components.p,{children:`The Booster’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-26`,children:_jsx(_components.p,{children:`The Booster’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-26`,children:_jsx(_components.p,{children:`The Booster’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`metric`,type:`Metric`,required:true,id:`param-metric-13`,children:_jsxs(_components.p,{children:[`The Metric this Booster is associated to.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#metric`,children:`Metric`})]})}),_jsxs(ParamField,{path:`status`,type:`BoosterStatus`,required:true,id:`param-status-16`,children:[_jsx(_components.p,{children:`The status of the Booster (once LIVE it will be available for speeding up Metric queries).`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#boosterstatus`,children:`BoosterStatus`})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-19`,children:[_jsx(_components.p,{children:`If the Booster fails during the optimization process, this field includes a descriptive\nerror message.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`progress`,type:`Float`,id:`param-progress`,children:_jsx(_components.p,{children:`When the Booster is OPTIMIZING, this represents its progress as a number from 0 to 1.\nIn all other states, progress is null.`})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions-19`,children:[_jsx(_components.p,{children:`Dimensions included in the Booster.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimension`,children:`Dimension`})]})]}),_jsx(ParamField,{path:`recordCount`,type:`String`,id:`param-record-count-5`,children:_jsx(_components.p,{children:`The number of records in the Booster.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-5`,children:_jsx(_components.p,{children:`The amount of storage in terabytes used by the Booster.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`deletebooster`,children:`deleteBooster`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-57`,children:[_jsx(_components.p,{children:`Deletes a Booster by ID and then returns the same ID if the Booster was deleted successfully.`}),_jsx(_components.p,{children:`A Booster significantly improves the query performance for a Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-138`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-51`})]}),`\n`,_jsx(Heading,{level:`2`,id:`createdeletionjob`,children:`createDeletionJob`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-58`,children:[_jsx(_components.p,{children:`Schedules a new Deletion Job on the specified Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-139`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateDeletionJobInput`,required:true,id:`param-input-52`,children:_jsxs(Expandable,{title:`CreateDeletionJobInput`,children:[_jsx(_components.p,{children:`The fields for creating a Deletion Job.`}),_jsx(ParamField,{path:`dataPool`,type:`ID`,required:true,id:`param-data-pool-23`,children:_jsx(_components.p,{children:`The Data Pool that is going to get the data deleted`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-15`,children:_jsx(_components.p,{children:`The filters that will be used for deleting data, in the form of SQL. Data matching these filters will be deleted.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-11`,children:[_jsx(_components.p,{children:`The list of filters that will be used for deleting data. Data matching these filters will be deleted.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-10`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-10`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-11`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and-10`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or-10`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-30`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DeletionJobResponse`})]}),_jsxs(Expandable,{title:`DeletionJobResponse`,children:[_jsx(_components.p,{children:`The response returned by the Deletion Job.`}),_jsxs(ParamField,{path:`job`,type:`DeletionJob`,required:true,id:`param-job`,children:[_jsx(_components.p,{children:`The Deletion Job that was just created.`}),_jsxs(Expandable,{title:`DeletionJob`,children:[_jsx(_components.p,{children:`Deletion Job scheduled for a specific Data Pool.`}),_jsx(_components.p,{children:`The Deletion Job represents the asynchronous process of deleting data\ngiven some filters inside a Data Pool. It tracks the deletion process\nuntil it is finished, showing the progress and the outcome when it is finished.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-52`,children:_jsx(_components.p,{children:`The Deletion Job’s ID.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-27`,children:_jsx(_components.p,{children:`The Deletion Job’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-27`,children:_jsx(_components.p,{children:`Who created the Deletion Job.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-27`,children:_jsx(_components.p,{children:`The Deletion Job’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-27`,children:_jsx(_components.p,{children:`Who last modified the Deletion Job.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-28`,children:[_jsx(_components.p,{children:`Account to which the Deletion Job belongs.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-20`,children:[_jsx(_components.p,{children:`Environment to which the Deletion Job belongs.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,required:true,id:`param-data-pool-24`,children:_jsxs(_components.p,{children:[`The Data Pool whose records will be deleted by the Deletion Job.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`status`,type:`JobStatus`,required:true,id:`param-status-17`,children:[_jsx(_components.p,{children:`The current Deletion Job’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#jobstatus`,children:`JobStatus`})]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-16`,children:_jsx(_components.p,{children:`The filters that will be used for deleting data, in the form of SQL. Data matching the filters will be deleted.`})}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-20`,children:[_jsx(_components.p,{children:`The error that occurred while deleting data, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`progress`,type:`Float`,required:true,id:`param-progress-1`,children:_jsx(_components.p,{children:`The current progress of the Deletion Job, from 0.0 to 1.0.`})}),_jsx(ParamField,{path:`startedAt`,type:`DateTime`,id:`param-started-at`,children:_jsx(_components.p,{children:`The time at which the Deletion Job started.`})}),_jsx(ParamField,{path:`succeededAt`,type:`DateTime`,id:`param-succeeded-at`,children:_jsx(_components.p,{children:`The time at which the Deletion Job succeeded.`})}),_jsx(ParamField,{path:`failedAt`,type:`DateTime`,id:`param-failed-at`,children:_jsx(_components.p,{children:`The time at which the Deletion Job failed.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[Filter!]`,deprecated:true,id:`param-filters-12`,children:[_jsx(_components.p,{children:`The list of filters that will be used for deleting data. Data matching the filters will be deleted.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#filter`,children:`Filter`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createaddcolumntodatapooljob`,children:`createAddColumnToDataPoolJob`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-59`,children:[_jsx(_components.p,{children:`Schedules a new AddColumnToDataPoolJob on the specified Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-140`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateAddColumnToDataPoolJobInput`,required:true,id:`param-input-53`,children:_jsxs(Expandable,{title:`CreateAddColumnToDataPoolJobInput`,children:[_jsx(_components.p,{children:`The fields for creating an Add Column Job.`}),_jsx(ParamField,{path:`dataPool`,type:`ID`,required:true,id:`param-data-pool-25`,children:_jsx(_components.p,{children:`The Data Pool to which the column will be added.`})}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-46`,children:_jsx(_components.p,{children:`Name of the new column.`})}),_jsxs(ParamField,{path:`columnType`,type:`ColumnType`,required:true,id:`param-column-type`,children:[_jsx(_components.p,{children:`Type of the new column.`}),_jsxs(Expandable,{title:`ColumnType`,children:[_jsx(_components.p,{children:`The Propel data types.`}),_jsx(ParamField,{path:` `,id:`param-60`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BOOLEAN`}),`: True or false.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`STRING`}),`: A variable-length string.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FLOAT`}),`: A 32-bit signed double-precision floating point number.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DOUBLE`}),`: A 64-bit signed double-precision floating point number.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INT8`}),`: An 8-bit signed integer, with a minimum value of -2⁷ and a maximum value of 2⁷-1.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INT16`}),`: A 16-bit signed integer, with a minimum value of -2¹⁵ and a maximum value of 2¹⁵-1.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INT32`}),`: A 32-bit signed integer, with a minimum value of -2³¹ and a maximum value of 2³¹-1.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INT64`}),`: A 64-bit signed integer, with a minimum value of -2⁶³ and a maximum value of 2⁶³-1.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATE`}),`: A date without a timestamp. For example, “YYYY-MM-DD”.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TIMESTAMP`}),`: A date with a timestamp. For example, “yyy-MM-dd HH:mm:ss”.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`JSON`}),`: A JavaScript Object Notation (JSON) document.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CLICKHOUSE`}),`: A ClickHouse-specific type.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`columnClickHouseType`,type:`String`,id:`param-column-click-house-type`,children:_jsxs(_components.p,{children:[`The ClickHouse type of the new column when `,_jsx(_components.code,{children:`columnType`}),` is set to `,_jsx(_components.code,{children:`CLICKHOUSE`}),`.`]})}),_jsx(ParamField,{path:`jsonProperty`,type:`String`,id:`param-json-property`,children:_jsx(_components.p,{children:`JSON property to which the new column corresponds.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-31`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`AddColumnToDataPoolJobResponse`})]}),_jsxs(Expandable,{title:`AddColumnToDataPoolJobResponse`,children:[_jsx(_components.p,{children:`The response returned by the Add Column Job.`}),_jsxs(ParamField,{path:`job`,type:`AddColumnToDataPoolJob`,required:true,id:`param-job-1`,children:[_jsx(_components.p,{children:`The AddColumnToDataPool Job that was just created.`}),_jsxs(Expandable,{title:`AddColumnToDataPoolJob`,children:[_jsx(_components.p,{children:`AddColumnToDataPoolJob scheduled for a specific Data Pool.`}),_jsx(_components.p,{children:`The Add Column Job represents the asynchronous process of adding a column,\ngiven its name and type, to a Data Pool. It tracks the process of adding a column\nuntil it is finished, showing the progress and the outcome when it is finished.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-53`,children:_jsx(_components.p,{children:`The AddColumnToDataPoolJob’s ID.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-28`,children:_jsx(_components.p,{children:`The AddColumnToDataPoolJob’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-28`,children:_jsx(_components.p,{children:`Who created the AddColumnToDataPoolJob.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-28`,children:_jsx(_components.p,{children:`The AddColumnToDataPoolJob’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-28`,children:_jsx(_components.p,{children:`Who modified the AddColumnToDataPoolJob last.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-29`,children:[_jsx(_components.p,{children:`Account to which the AddColumnToDataPoolJob belongs.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-21`,children:[_jsx(_components.p,{children:`Environment to which the AddColumnToDataPoolJob belongs.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,required:true,id:`param-data-pool-26`,children:_jsxs(_components.p,{children:[`The Data Pool to which a column will be added by the Job.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`status`,type:`JobStatus`,required:true,id:`param-status-18`,children:[_jsx(_components.p,{children:`The current AddColumnToDataPoolJob’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#jobstatus`,children:`JobStatus`})]})]}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-47`,children:_jsx(_components.p,{children:`Name of the new column.`})}),_jsxs(ParamField,{path:`columnType`,type:`ColumnType`,required:true,id:`param-column-type-1`,children:[_jsx(_components.p,{children:`Type of the new column.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`columnClickHouseType`,type:`String`,id:`param-column-click-house-type-1`,children:_jsxs(_components.p,{children:[`The ClickHouse type of the new column when `,_jsx(_components.code,{children:`columnType`}),` is set to `,_jsx(_components.code,{children:`CLICKHOUSE`}),`.`]})}),_jsx(ParamField,{path:`jsonProperty`,type:`String`,id:`param-json-property-1`,children:_jsx(_components.p,{children:`JSON property to which the new column corresponds.`})}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-21`,children:[_jsx(_components.p,{children:`The error that occurred while adding the column data, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`progress`,type:`Float`,required:true,id:`param-progress-2`,children:_jsx(_components.p,{children:`The current progress of the AddColumnToDataPool Job, from 0.0 to 1.0.`})}),_jsx(ParamField,{path:`startedAt`,type:`DateTime`,id:`param-started-at-1`,children:_jsx(_components.p,{children:`The time at which the AddColumnToDataPool Job started.`})}),_jsx(ParamField,{path:`succeededAt`,type:`DateTime`,id:`param-succeeded-at-1`,children:_jsx(_components.p,{children:`The time at which the AddColumnToDataPool Job succeeded.`})}),_jsx(ParamField,{path:`failedAt`,type:`DateTime`,id:`param-failed-at-1`,children:_jsx(_components.p,{children:`The time at which the AddColumnToDataPool Job failed.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createupdatedatapoolrecordsjob`,children:`createUpdateDataPoolRecordsJob`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-61`,children:[_jsx(_components.p,{children:`Schedules a new UpdateDataPoolRecords Job on the specified Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-141`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateUpdateDataPoolRecordsJobInput`,required:true,id:`param-input-54`,children:_jsxs(Expandable,{title:`CreateUpdateDataPoolRecordsJobInput`,children:[_jsx(_components.p,{children:`The fields for creating an Update Data Pool Records Job.`}),_jsx(ParamField,{path:`dataPool`,type:`ID`,required:true,id:`param-data-pool-27`,children:_jsx(_components.p,{children:`The Data Pool that is going to get its records updated.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-17`,children:_jsx(_components.p,{children:`The filters that will be used for updating records, in the form of SQL. Records matching these filters will be updated.`})}),_jsxs(ParamField,{path:`set`,type:`[UpdateDataPoolRecordsJobSetColumnInput!]`,required:true,id:`param-set`,children:[_jsx(_components.p,{children:`Describes how the job will update the records.`}),_jsxs(Expandable,{title:`UpdateDataPoolRecordsJobSetColumnInput`,children:[_jsx(_components.p,{children:`The fields for creating an Update Data Pool Records Job.`}),_jsx(CodeBlock,{numberOfLines:`15`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"expression\": \"'completed'\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"column\": \"counter\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"expression\": \"counter + 1\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"column\": \"full_name\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"expression\": \"concat(first_name, ' ', last_name)\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-11`,children:_jsx(_components.p,{children:`The name of the column to update.`})}),_jsx(ParamField,{path:`expression`,type:`String`,required:true,id:`param-expression-6`,children:_jsx(_components.p,{children:`The value to which the column will be updated. Once evaluated, it should be of the same data type as the column.`})})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-13`,children:[_jsx(_components.p,{children:`The list of filters that will be used for updating records. Records matching these filters will be updated.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-12`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-11`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-12`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and-11`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or-11`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-32`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`UpdateDataPoolRecordsJobResponse`})]}),_jsxs(Expandable,{title:`UpdateDataPoolRecordsJobResponse`,children:[_jsx(_components.p,{children:`The response returned by the Update Data Pool Records Job.`}),_jsxs(ParamField,{path:`job`,type:`UpdateDataPoolRecordsJob`,required:true,id:`param-job-2`,children:[_jsx(_components.p,{children:`The UpdateDataPoolRecords Job that was just created.`}),_jsxs(Expandable,{title:`UpdateDataPoolRecordsJob`,children:[_jsx(_components.p,{children:`UpdateDataPoolRecords Job scheduled for a specific Data Pool.\nThe Update Data Pool Records Job represents the asynchronous process of updating records\ngiven some filters, inside a Data Pool. It tracks the process of updating records\nuntil it is finished, showing the progress and the outcome when it is finished.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-54`,children:_jsx(_components.p,{children:`The UpdateDataPoolRecords Job’s ID`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-29`,children:_jsx(_components.p,{children:`The UpdateDataPoolRecords Job’s creation date and time in UTC`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-29`,children:_jsx(_components.p,{children:`Who created the UpdateDataPoolRecords Job`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-29`,children:_jsx(_components.p,{children:`The UpdateDataPoolRecords Job’s last modification date and time in UTC`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-29`,children:_jsx(_components.p,{children:`Who last modified the UpdateDataPoolRecords Job`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-30`,children:[_jsx(_components.p,{children:`Account to which the UpdateDataPoolRecords Job belongs`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-22`,children:[_jsx(_components.p,{children:`Environment to which the UpdateDataPoolRecords Job belongs`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,required:true,id:`param-data-pool-28`,children:_jsxs(_components.p,{children:[`The Data Pool whose records will be updated by the UpdateDataPoolRecords Job\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`status`,type:`JobStatus`,required:true,id:`param-status-19`,children:[_jsx(_components.p,{children:`The current UpdateDataPoolRecords Job’s status`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#jobstatus`,children:`JobStatus`})]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-18`,children:_jsx(_components.p,{children:`The filters that will be used for updating data, in the form of SQL. Data matching the filters will be updated.`})}),_jsxs(ParamField,{path:`set`,type:`[UpdateDataPoolRecordsJobSetColumn!]`,required:true,id:`param-set-1`,children:[_jsx(_components.p,{children:`Describes how the job will update the records.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#updatedatapoolrecordsjobsetcolumn`,children:`UpdateDataPoolRecordsJobSetColumn`})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-22`,children:[_jsx(_components.p,{children:`The error that occurred while updating data, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`progress`,type:`Float`,required:true,id:`param-progress-3`,children:_jsx(_components.p,{children:`The current progress of the UpdateDataPoolRecords Job, from 0.0 to 1.0.`})}),_jsx(ParamField,{path:`startedAt`,type:`DateTime`,id:`param-started-at-2`,children:_jsx(_components.p,{children:`The time at which the UpdateDataPoolRecords Job started.`})}),_jsx(ParamField,{path:`succeededAt`,type:`DateTime`,id:`param-succeeded-at-2`,children:_jsx(_components.p,{children:`The time at which the UpdateDataPoolRecords Job succeeded.`})}),_jsx(ParamField,{path:`failedAt`,type:`DateTime`,id:`param-failed-at-2`,children:_jsx(_components.p,{children:`The time at which the UpdateDataPoolRecords Job failed.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[Filter!]`,deprecated:true,id:`param-filters-14`,children:[_jsx(_components.p,{children:`The list of filters that will be used for updating data. Data matching the filters will be updated.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#filter`,children:`Filter`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`syncdatapool`,children:`syncDataPool`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-62`,children:[_jsx(_components.p,{children:`Manually trigger a Sync for a Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-142`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`dataPoolId`,type:`ID`,required:true,id:`param-data-pool-id`}),_jsx(Heading,{level:`3`,id:`returns-33`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`Sync`})]}),_jsxs(Expandable,{title:`Sync`,children:[_jsx(_components.p,{children:`The Sync object.`}),_jsx(_components.p,{children:`This represents the process of syncing data from your Data Source (for example, a Snowflake data warehouse) to your Data Pool.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-55`,children:_jsx(_components.p,{children:`The Sync’s unique identifier.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-31`,children:[_jsx(_components.p,{children:`The Sync’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-56`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,id:`param-environment-23`,children:[_jsx(_components.p,{children:`The Sync’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-57`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-56`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-48`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-30`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-30`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-30`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-30`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-32`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-31`,children:_jsx(_components.p,{children:`The Sync’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-31`,children:_jsx(_components.p,{children:`The Sync’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-31`,children:_jsx(_components.p,{children:`The Sync’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-31`,children:_jsx(_components.p,{children:`The Sync’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-29`,children:_jsxs(_components.p,{children:[`The Sync’s Data Pool.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-10`,children:[_jsx(_components.p,{children:`The Sync’s Data Pool’s Data Source.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-58`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-57`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-49`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-33`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-24`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-32`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-32`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-32`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-32`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-34`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-20`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-4`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-2`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-143`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-64`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-64`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-64`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-64`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-1`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-144`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-65`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-65`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-65`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-65`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-1`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-1`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-145`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-66`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-66`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-66`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-66`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-23`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]}),_jsx(ParamField,{path:`processedRecords`,type:`String`,id:`param-processed-records`,children:_jsx(_components.p,{children:`The number of new, updated, and deleted records contained within the Sync, if known. This excludes filtered records.`})}),_jsx(ParamField,{path:`size`,type:`String`,id:`param-size`,children:_jsx(_components.p,{children:`The (compressed) size of the Sync, in bytes, if known.`})}),_jsxs(ParamField,{path:`status`,type:`SyncStatus`,required:true,id:`param-status-21`,children:[_jsx(_components.p,{children:`The status of the Sync (all Syncs begin as SYNCING before transitioning to SUCCEEDED or FAILED).`}),_jsxs(Expandable,{title:`SyncStatus`,children:[_jsx(_components.p,{children:`The status of a Sync.`}),_jsx(ParamField,{path:` `,id:`param-63`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SYNCING`}),`: Propel is actively syncing records contained within the Sync.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUCCEEDED`}),`: The Sync succeeded. Propel successfully synced all records contained within the Sync.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FAILED`}),`: The Sync failed. Propel failed to sync some or all records contained within the Sync.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Sync.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`startedAt`,type:`DateTime`,id:`param-started-at-3`,children:_jsx(_components.p,{children:`The time at which the Sync started.`})}),_jsx(ParamField,{path:`succeededAt`,type:`DateTime`,id:`param-succeeded-at-3`,children:_jsx(_components.p,{children:`The time at which the Sync succeeded.`})}),_jsx(ParamField,{path:`failedAt`,type:`DateTime`,id:`param-failed-at-3`,children:_jsx(_components.p,{children:`The time at which the Sync failed.`})}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-24`,children:[_jsx(_components.p,{children:`If the Sync failed, this represents the reason the Sync failed.`}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-5`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-5`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`newRecords`,type:`String`,deprecated:true,id:`param-new-records`,children:[_jsx(_components.p,{children:`The number of new records contained within the Sync, if known. This excludes filtered records.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: All records are considered to be processed; see `,_jsx(_components.code,{children:`processedRecords`}),` instead`]})]}),_jsxs(ParamField,{path:`updatedRecords`,type:`String`,deprecated:true,id:`param-updated-records`,children:[_jsx(_components.p,{children:`The number of updated records contained within the Sync, if known. This excludes filtered records.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: All records are considered to be processed; see `,_jsx(_components.code,{children:`processedRecords`}),` instead`]})]}),_jsxs(ParamField,{path:`deletedRecords`,type:`String`,deprecated:true,id:`param-deleted-records`,children:[_jsx(_components.p,{children:`The number of deleted records contained within the Sync, if known. This excludes filtered records.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: All records are considered to be processed; see `,_jsx(_components.code,{children:`processedRecords`}),` instead`]})]}),_jsxs(ParamField,{path:`invalidRecords`,type:`String`,deprecated:true,id:`param-invalid-records`,children:[_jsx(_components.p,{children:`The number of filtered records contained within the Sync, due to issues such as a missing timestamp Dimension, if any are known to be invalid.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: All records are considered to be processed; see `,_jsx(_components.code,{children:`processedRecords`}),` instead`]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`resyncdatapool`,children:`resyncDataPool`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-64`,children:[_jsx(_components.p,{children:`Manually trigger a re-Sync for a Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-146`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`dataPoolId`,type:`ID`,required:true,id:`param-data-pool-id-1`}),_jsx(Heading,{level:`3`,id:`returns-34`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`Sync`})]}),_jsxs(Expandable,{title:`Sync`,children:[_jsx(_components.p,{children:`The Sync object.`}),_jsx(_components.p,{children:`This represents the process of syncing data from your Data Source (for example, a Snowflake data warehouse) to your Data Pool.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-59`,children:_jsx(_components.p,{children:`The Sync’s unique identifier.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-34`,children:[_jsx(_components.p,{children:`The Sync’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-60`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,id:`param-environment-25`,children:[_jsx(_components.p,{children:`The Sync’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-61`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-58`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-50`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-33`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-33`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-33`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-33`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-35`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-34`,children:_jsx(_components.p,{children:`The Sync’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-34`,children:_jsx(_components.p,{children:`The Sync’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-34`,children:_jsx(_components.p,{children:`The Sync’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-34`,children:_jsx(_components.p,{children:`The Sync’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-30`,children:_jsxs(_components.p,{children:[`The Sync’s Data Pool.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-11`,children:[_jsx(_components.p,{children:`The Sync’s Data Pool’s Data Source.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-62`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-59`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-51`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-36`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-26`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-35`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-35`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-35`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-35`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-35`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-22`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-5`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-3`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-147`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-67`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-67`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-67`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-67`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-2`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-148`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-68`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-68`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-68`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-68`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-2`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-2`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-149`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-69`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-69`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-69`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-69`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-25`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]}),_jsx(ParamField,{path:`processedRecords`,type:`String`,id:`param-processed-records-1`,children:_jsx(_components.p,{children:`The number of new, updated, and deleted records contained within the Sync, if known. This excludes filtered records.`})}),_jsx(ParamField,{path:`size`,type:`String`,id:`param-size-1`,children:_jsx(_components.p,{children:`The (compressed) size of the Sync, in bytes, if known.`})}),_jsxs(ParamField,{path:`status`,type:`SyncStatus`,required:true,id:`param-status-23`,children:[_jsx(_components.p,{children:`The status of the Sync (all Syncs begin as SYNCING before transitioning to SUCCEEDED or FAILED).`}),_jsxs(Expandable,{title:`SyncStatus`,children:[_jsx(_components.p,{children:`The status of a Sync.`}),_jsx(ParamField,{path:` `,id:`param-65`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SYNCING`}),`: Propel is actively syncing records contained within the Sync.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUCCEEDED`}),`: The Sync succeeded. Propel successfully synced all records contained within the Sync.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FAILED`}),`: The Sync failed. Propel failed to sync some or all records contained within the Sync.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Sync.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`startedAt`,type:`DateTime`,id:`param-started-at-4`,children:_jsx(_components.p,{children:`The time at which the Sync started.`})}),_jsx(ParamField,{path:`succeededAt`,type:`DateTime`,id:`param-succeeded-at-4`,children:_jsx(_components.p,{children:`The time at which the Sync succeeded.`})}),_jsx(ParamField,{path:`failedAt`,type:`DateTime`,id:`param-failed-at-4`,children:_jsx(_components.p,{children:`The time at which the Sync failed.`})}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-26`,children:[_jsx(_components.p,{children:`If the Sync failed, this represents the reason the Sync failed.`}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-6`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-6`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`newRecords`,type:`String`,deprecated:true,id:`param-new-records-1`,children:[_jsx(_components.p,{children:`The number of new records contained within the Sync, if known. This excludes filtered records.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: All records are considered to be processed; see `,_jsx(_components.code,{children:`processedRecords`}),` instead`]})]}),_jsxs(ParamField,{path:`updatedRecords`,type:`String`,deprecated:true,id:`param-updated-records-1`,children:[_jsx(_components.p,{children:`The number of updated records contained within the Sync, if known. This excludes filtered records.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: All records are considered to be processed; see `,_jsx(_components.code,{children:`processedRecords`}),` instead`]})]}),_jsxs(ParamField,{path:`deletedRecords`,type:`String`,deprecated:true,id:`param-deleted-records-1`,children:[_jsx(_components.p,{children:`The number of deleted records contained within the Sync, if known. This excludes filtered records.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: All records are considered to be processed; see `,_jsx(_components.code,{children:`processedRecords`}),` instead`]})]}),_jsxs(ParamField,{path:`invalidRecords`,type:`String`,deprecated:true,id:`param-invalid-records-1`,children:[_jsx(_components.p,{children:`The number of filtered records contained within the Sync, due to issues such as a missing timestamp Dimension, if any are known to be invalid.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: All records are considered to be processed; see `,_jsx(_components.code,{children:`processedRecords`}),` instead`]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`creatematerializedview`,children:`createMaterializedView`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-66`,children:[_jsx(_components.p,{children:`Creates a new Materialized View.\nReturns the newly created Materialized View (or an error message if creating the Materialized View fails).`}),_jsx(Heading,{level:`3`,id:`arguments-150`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateMaterializedViewInput`,required:true,id:`param-input-55`,children:_jsxs(Expandable,{title:`CreateMaterializedViewInput`,children:[_jsx(_components.p,{children:`The fields for creating a Materialized View.`}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-60`,children:_jsx(_components.p,{children:`The Materialized View’s unique name. If not specified, Propel will set the ID as the unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-52`,children:_jsx(_components.p,{children:`The Materialized View’s description.`})}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql`,children:_jsx(_components.p,{children:`The SQL that the Materialized View will execute.`})}),_jsxs(ParamField,{path:`destination`,type:`CreateMaterializedViewDestinationInput`,required:true,id:`param-destination`,children:[_jsx(_components.p,{children:`By default, a destination Data Pool with default settings will be created for the Materialized View;\nhowever, you can customize the destination Data Pool (or point to an existing Data Pool), by setting\nthis field. Use this to target an existing Data Pool or the engine settings of a new Data Pool.`}),_jsxs(Expandable,{title:`CreateMaterializedViewDestinationInput`,children:[_jsx(_components.p,{children:`The fields for targeting an existing Data Pool or a new Data Pool.`}),_jsxs(ParamField,{path:`existingDataPool`,type:`DataPoolInput`,id:`param-existing-data-pool`,children:[_jsx(_components.p,{children:`If specified, the Materialized View will target an existing Data Pool.\nEnsure the Data Pool’s schema is compatible with your Materialized View’s SQL statement.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#datapoolinput`,children:`DataPoolInput`})]})]}),_jsxs(ParamField,{path:`newDataPool`,type:`CreateMaterializedViewDestinationNewDataPoolInput`,id:`param-new-data-pool`,children:[_jsx(_components.p,{children:`If specified, the Materialized View will create and target a new Data Pool.\nYou can further customize the new Data Pool’s engine settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#creatematerializedviewdestinationnewdatapoolinput`,children:`CreateMaterializedViewDestinationNewDataPoolInput`})]})]})]})]}),_jsxs(ParamField,{path:`backfillOptions`,type:`BackfillOptionsInput`,id:`param-backfill-options`,children:[_jsx(_components.p,{children:`By default, a Materialized View only applies to records added after its creation. This option allows\nto backfill all the data that was present before the Materialized View creation.`}),_jsxs(Expandable,{title:`BackfillOptionsInput`,children:[_jsx(ParamField,{path:`backfill`,type:`Boolean`,id:`param-backfill`,children:_jsx(_components.p,{children:`Whether historical data should be backfilled or not`})}),_jsxs(ParamField,{path:`order`,type:`PartitionOrder`,id:`param-order`,children:[_jsxs(_components.p,{children:[`Defines the order in which historical data is backfilled. Defaults to `,_jsx(_components.code,{children:`OLDEST_FIRST`}),` if not specified.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#partitionorder`,children:`PartitionOrder`})]})]})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-35`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MaterializedViewResponse`})]}),_jsxs(Expandable,{title:`MaterializedViewResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Materialized View.`}),_jsxs(ParamField,{path:`materializedView`,type:`MaterializedView`,required:true,id:`param-materialized-view`,children:[_jsx(_components.p,{children:`The Materialized View which was created or modified.`}),_jsxs(Expandable,{title:`MaterializedView`,children:[_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-63`,children:_jsx(_components.p,{children:`The Materialized View’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-61`,children:_jsx(_components.p,{children:`The Materialized View’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-53`,children:_jsx(_components.p,{children:`The Materialized View’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-37`,children:[_jsx(_components.p,{children:`The Materialized View’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-27`,children:[_jsx(_components.p,{children:`The Materialized View’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-36`,children:_jsx(_components.p,{children:`The Materialized View’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-36`,children:_jsx(_components.p,{children:`The Materialized View’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-36`,children:_jsx(_components.p,{children:`The Materialized View’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-36`,children:_jsx(_components.p,{children:`The Materialized View’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql-1`,children:_jsx(_components.p,{children:`The SQL that the Materialized View executes.`})}),_jsxs(ParamField,{path:`destination`,type:`DataPool`,required:true,id:`param-destination-1`,children:[_jsx(_components.p,{children:`The Materialized View’s destination (AKA “target”) Data Pool.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})]}),_jsxs(ParamField,{path:`source`,type:`DataPool`,id:`param-source`,children:[_jsx(_components.p,{children:`The Materialized View’s source Data Pool.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})]}),_jsxs(ParamField,{path:`others`,type:`[DataPool!]`,required:true,id:`param-others`,children:[_jsx(_components.p,{children:`Other Data Pools queried by the Materialized View.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifymaterializedview`,children:`modifyMaterializedView`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-67`,children:[_jsx(_components.p,{children:`Modifies a Materialized View. If any of the optional arguments are omitted, those properties will be unchanged on the Materialized View.`}),_jsx(Heading,{level:`3`,id:`arguments-151`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyMaterializedViewInput`,required:true,id:`param-input-56`,children:_jsxs(Expandable,{title:`ModifyMaterializedViewInput`,children:[_jsx(_components.p,{children:`The fields for modifying a Materialized View.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-64`,children:_jsx(_components.p,{children:`The ID of the Materialized View to modify.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-62`,children:_jsx(_components.p,{children:`The Materialized View’s new unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-54`,children:_jsx(_components.p,{children:`The Materialized View’s new description.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-36`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MaterializedViewResponse`})]}),_jsxs(Expandable,{title:`MaterializedViewResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Materialized View.`}),_jsxs(ParamField,{path:`materializedView`,type:`MaterializedView`,required:true,id:`param-materialized-view-1`,children:[_jsx(_components.p,{children:`The Materialized View which was created or modified.`}),_jsxs(Expandable,{title:`MaterializedView`,children:[_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-65`,children:_jsx(_components.p,{children:`The Materialized View’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-63`,children:_jsx(_components.p,{children:`The Materialized View’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-55`,children:_jsx(_components.p,{children:`The Materialized View’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-38`,children:[_jsx(_components.p,{children:`The Materialized View’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-28`,children:[_jsx(_components.p,{children:`The Materialized View’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-37`,children:_jsx(_components.p,{children:`The Materialized View’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-37`,children:_jsx(_components.p,{children:`The Materialized View’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-37`,children:_jsx(_components.p,{children:`The Materialized View’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-37`,children:_jsx(_components.p,{children:`The Materialized View’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql-2`,children:_jsx(_components.p,{children:`The SQL that the Materialized View executes.`})}),_jsxs(ParamField,{path:`destination`,type:`DataPool`,required:true,id:`param-destination-2`,children:[_jsx(_components.p,{children:`The Materialized View’s destination (AKA “target”) Data Pool.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})]}),_jsxs(ParamField,{path:`source`,type:`DataPool`,id:`param-source-1`,children:[_jsx(_components.p,{children:`The Materialized View’s source Data Pool.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})]}),_jsxs(ParamField,{path:`others`,type:`[DataPool!]`,required:true,id:`param-others-1`,children:[_jsx(_components.p,{children:`Other Data Pools queried by the Materialized View.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`deletematerializedview`,children:`deleteMaterializedView`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-68`,children:[_jsxs(_components.p,{children:[`Deletes a Materialized View and returns its ID if the Materialized View was deleted successfully.\nNote that deleting a Materialized View does not delete its target Data Pool. If you want to delete its target\nData Pool, you must use the `,_jsx(_components.code,{children:`deleteDataPool`}),` mutation.`]}),_jsx(Heading,{level:`3`,id:`arguments-152`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-66`})]}),`\n`,_jsx(Heading,{level:`2`,id:`createamazondatafirehosedatasource`,children:`createAmazonDataFirehoseDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-69`,children:[_jsx(_components.p,{children:`Creates a new Amazon Data Firehose Data Source from the given settings.`}),_jsx(_components.p,{children:`Returns the newly created Data Source (or an error message if creating the Data Source fails).`}),_jsx(Heading,{level:`3`,id:`arguments-153`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateAmazonDataFirehoseDataSourceInput`,required:true,id:`param-input-57`,children:_jsxs(Expandable,{title:`CreateAmazonDataFirehoseDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`AmazonDataFirehoseConnectionSettingsInput`,required:true,id:`param-connection-settings-6`,children:[_jsx(_components.p,{children:`The Amazon Data Firehose Data Source’s connection settings`}),_jsxs(Expandable,{title:`AmazonDataFirehoseConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The Amazon Data Firehose Data Source’s connection settings.`}),_jsx(ParamField,{path:`accessControlEnabled`,type:`Boolean`,id:`param-access-control-enabled-17`,children:_jsx(_components.p,{children:`Enables or disables access control for the Data Pool.\nIf the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.`})}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthInput`,required:true,id:`param-basic-auth`,children:[_jsxs(_components.p,{children:[`HTTP basic access authentication credentials. You must configure these same credentials to be included in the\n`,_jsx(_components.code,{children:`X-Amz-Firehose-Access-Key`}),` header when Amazon Data Firehose issues requests to its custom HTTP endpoint.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#httpbasicauthinput`,children:`HttpBasicAuthInput`})]})]}),_jsxs(ParamField,{path:`columns`,type:`[AmazonDataFirehoseDataSourceColumnInput!]`,id:`param-columns-10`,children:[_jsx(_components.p,{children:`Additional columns for the table in Propel.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#amazondatafirehosedatasourcecolumninput`,children:`AmazonDataFirehoseDataSourceColumnInput`})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettingsInput`,id:`param-table-settings-6`,children:[_jsxs(_components.p,{children:[`Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a\ndefault will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` value, if any. You can override these\ndefaults in order to specify a custom table engine, custom ORDER BY, etc.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#tablesettingsinput`,children:`TableSettingsInput`})]})]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-16`,children:_jsx(_components.p,{children:`The primary timestamp column, if any.`})})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-56`,children:_jsx(_components.p,{children:`The Amazon Data Firehose Data Source’s description.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-64`,children:_jsx(_components.p,{children:`The Amazon Data Firehose Data Source’s unique name. If not specified, Propel will set the ID as unique name.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-37`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-12`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-67`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-65`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-57`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-39`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-29`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-38`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-38`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-38`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-38`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-36`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-24`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-7`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-4`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-154`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-70`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-70`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-70`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-70`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-3`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-155`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-71`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-71`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-71`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-71`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-3`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-3`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-156`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-72`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-72`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-72`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-72`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-27`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifyamazondatafirehosedatasource`,children:`modifyAmazonDataFirehoseDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-70`,children:[_jsx(_components.p,{children:`Modifies the Data Source by the ID or unique name provided with the given unique name, description, and connection settings.`}),_jsx(_components.p,{children:`If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.`}),_jsx(Heading,{level:`3`,id:`arguments-157`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyAmazonDataFirehoseDataSourceInput`,required:true,id:`param-input-58`,children:_jsxs(Expandable,{title:`ModifyAmazonDataFirehoseDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`PartialAmazonDataFirehoseConnectionSettingsInput`,id:`param-connection-settings-8`,children:[_jsx(_components.p,{children:`The Amazon Data Firehose Data Source’s new connection settings. If not provided this property will not be modified.`}),_jsxs(Expandable,{title:`PartialAmazonDataFirehoseConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The Amazon Data Firehose Data Source’s connection settings.`}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthInput`,id:`param-basic-auth-1`,children:[_jsxs(_components.p,{children:[`HTTP basic access authentication credentials. You must configure these same credentials to be included in the\n`,_jsx(_components.code,{children:`X-Amz-Firehose-Access-Key`}),` header when Amazon Data Firehose issues requests to its custom HTTP endpoint. If not provided this property will not be modified.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#httpbasicauthinput`,children:`HttpBasicAuthInput`})]})]})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-58`,children:_jsx(_components.p,{children:`The Amazon Data Firehose Data Source’s new description. If not provided this property will not be modified.`})}),_jsxs(ParamField,{path:`idOrUniqueName`,type:`idOrUniqueName`,required:true,id:`param-id-or-unique-name-3`,children:[_jsx(_components.p,{children:`The ID or unique name of the Amazon Data Firehose Data Source to modify.`}),_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-68`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-66`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-67`,children:_jsx(_components.p,{children:`The Amazon Data Firehose Data Source’s new unique name. If not provided this property will not be modified.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-38`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-13`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-69`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-68`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-59`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-40`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-30`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-39`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-39`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-39`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-39`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-37`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-25`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-9`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-5`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-158`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-73`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-73`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-73`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-73`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-4`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-159`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-74`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-74`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-74`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-74`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-4`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-4`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-160`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-75`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-75`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-75`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-75`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-28`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createamazondynamodbdatasource`,children:`createAmazonDynamoDBDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-71`,children:[_jsx(_components.p,{children:`Creates a new Amazon DynamoDB Data Source from the given settings.`}),_jsx(_components.p,{children:`Returns the newly created Data Source (or an error message if creating the Data Source fails).`}),_jsx(Heading,{level:`3`,id:`arguments-161`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateAmazonDynamoDBDataSourceInput`,required:true,id:`param-input-59`,children:_jsxs(Expandable,{title:`CreateAmazonDynamoDBDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`AmazonDynamoDBConnectionSettingsInput`,required:true,id:`param-connection-settings-10`,children:[_jsx(_components.p,{children:`The Amazon DynamoDB Data Source’s connection settings`}),_jsxs(Expandable,{title:`AmazonDynamoDBConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The Amazon DynamoDB Data Source’s connection settings.`}),_jsx(ParamField,{path:`accessControlEnabled`,type:`Boolean`,id:`param-access-control-enabled-18`,children:_jsx(_components.p,{children:`Enables or disables access control for the Data Pool.\nIf the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.`})}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthInput`,required:true,id:`param-basic-auth-2`,children:[_jsxs(_components.p,{children:[`HTTP basic access authentication credentials. You must configure these same credentials to be included in the\n`,_jsx(_components.code,{children:`X-Amz-Firehose-Access-Key`}),` header when Amazon Data Firehose transmits records from your DynamoDB table to its\ncustom HTTP endpoint.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#httpbasicauthinput`,children:`HttpBasicAuthInput`})]})]}),_jsxs(ParamField,{path:`columns`,type:`[AmazonDynamoDBDataSourceColumnInput!]`,id:`param-columns-11`,children:[_jsx(_components.p,{children:`Additional columns for the table in Propel.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#amazondynamodbdatasourcecolumninput`,children:`AmazonDynamoDBDataSourceColumnInput`})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettingsInput`,id:`param-table-settings-7`,children:[_jsxs(_components.p,{children:[`Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a\ndefault will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` value, if any. You can override these\ndefaults in order to specify a custom table engine, custom ORDER BY, etc.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#tablesettingsinput`,children:`TableSettingsInput`})]})]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-17`,children:_jsx(_components.p,{children:`The primary timestamp column, if any.`})})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-60`,children:_jsx(_components.p,{children:`The Amazon DynamoDB Data Source’s description.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-69`,children:_jsx(_components.p,{children:`The Amazon DynamoDB Data Source’s unique name. If not specified, Propel will set the ID as unique name.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-39`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-14`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-70`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-70`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-61`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-41`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-31`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-40`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-40`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-40`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-40`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-38`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-26`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-11`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-6`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-162`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-76`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-76`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-76`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-76`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-5`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-163`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-77`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-77`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-77`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-77`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-5`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-5`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-164`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-78`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-78`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-78`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-78`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-29`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifyamazondynamodbdatasource`,children:`modifyAmazonDynamoDBDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-72`,children:[_jsx(_components.p,{children:`Modifies the Data Source by the ID or unique name provided with the given unique name, description, and connection settings.`}),_jsx(_components.p,{children:`If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.`}),_jsx(Heading,{level:`3`,id:`arguments-165`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyAmazonDynamoDBDataSourceInput`,required:true,id:`param-input-60`,children:_jsxs(Expandable,{title:`ModifyAmazonDynamoDBDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`PartialAmazonDynamoDBConnectionSettingsInput`,id:`param-connection-settings-12`,children:[_jsx(_components.p,{children:`The Amazon DynamoDB Data Source’s new connection settings. If not provided this property will not be modified.`}),_jsxs(Expandable,{title:`PartialAmazonDynamoDBConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The Amazon DynamoDB Data Source’s connection settings.`}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthInput`,id:`param-basic-auth-3`,children:[_jsxs(_components.p,{children:[`HTTP basic access authentication credentials. You must configure these same credentials to be included in the\n`,_jsx(_components.code,{children:`X-Amz-Firehose-Access-Key`}),` header when Amazon Data Firehose transmits records from your DynamoDB table to its\ncustom HTTP endpoint. If not provided this property will not be modified.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#httpbasicauthinput`,children:`HttpBasicAuthInput`})]})]})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-62`,children:_jsx(_components.p,{children:`The Amazon DynamoDB Data Source’s new description. If not provided this property will not be modified.`})}),_jsxs(ParamField,{path:`idOrUniqueName`,type:`idOrUniqueName`,required:true,id:`param-id-or-unique-name-4`,children:[_jsx(_components.p,{children:`The ID or unique name of the Amazon DynamoDB Data Source to modify.`}),_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-71`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-71`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-72`,children:_jsx(_components.p,{children:`The Amazon DynamoDB Data Source’s new unique name. If not provided this property will not be modified.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-40`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-15`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-72`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-73`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-63`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-42`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-32`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-41`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-41`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-41`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-41`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-39`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-27`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-13`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-7`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-166`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-79`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-79`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-79`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-79`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-6`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-167`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-80`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-80`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-80`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-80`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-6`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-6`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-168`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-81`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-81`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-81`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-81`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-30`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createclickhousedatasource`,children:`createClickHouseDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-73`,children:[_jsx(_components.p,{children:`This mutation creates a new ClickHouse Data Source.`}),_jsx(_components.p,{children:`The mutation returns the newly created Data Source (or an error message if creating the Data Source fails).`}),_jsx(Heading,{level:`3`,id:`arguments-169`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateClickHouseDataSourceInput`,required:true,id:`param-input-61`,children:_jsxs(Expandable,{title:`CreateClickHouseDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`ClickHouseConnectionSettingsInput`,required:true,id:`param-connection-settings-14`,children:[_jsx(_components.p,{children:`The ClickHouse Data Source’s connection settings`}),_jsxs(Expandable,{title:`ClickHouseConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The ClickHouse Data Source connection settings.`}),_jsx(ParamField,{path:`database`,type:`String`,required:true,id:`param-database-2`,children:_jsx(_components.p,{children:`Which database to connect to`})}),_jsx(ParamField,{path:`password`,type:`String`,required:true,id:`param-password-2`,children:_jsx(_components.p,{children:`The password for the provided user`})}),_jsx(ParamField,{path:`url`,type:`String`,required:true,id:`param-url`,children:_jsx(_components.p,{children:`The URL where the ClickHouse host is listening to HTTP[S] connections`})}),_jsx(ParamField,{path:`user`,type:`String`,required:true,id:`param-user`,children:_jsx(_components.p,{children:`The user for authenticating against the ClickHouse host`})})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-64`,children:_jsx(_components.p,{children:`The ClickHouse Data Source’s description.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-74`,children:_jsx(_components.p,{children:`The ClickHouse Data Source’s unique name. If not specified, Propel will set the ID as unique name.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-41`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-16`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-73`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-75`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-65`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-43`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-33`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-42`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-42`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-42`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-42`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-40`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-28`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-15`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-8`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-170`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-82`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-82`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-82`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-82`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-7`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-171`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-83`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-83`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-83`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-83`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-7`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-7`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-172`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-84`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-84`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-84`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-84`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-31`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifyclickhousedatasource`,children:`modifyClickHouseDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-74`,children:[_jsx(_components.p,{children:`This mutation selects a Data Source by its ID or unique name and modifies it to have the given unique name, description, and connection settings.`}),_jsx(_components.p,{children:`If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.`}),_jsx(Heading,{level:`3`,id:`arguments-173`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyClickHouseDataSourceInput`,required:true,id:`param-input-62`,children:_jsxs(Expandable,{title:`ModifyClickHouseDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`PartialClickHouseConnectionSettingsInput`,id:`param-connection-settings-16`,children:[_jsx(_components.p,{children:`The ClickHouse Data Source’s new connection settings. If not provided this property will not be modified.`}),_jsxs(Expandable,{title:`PartialClickHouseConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The ClickHouse Data Source connection settings.`}),_jsx(ParamField,{path:`database`,type:`String`,id:`param-database-3`,children:_jsx(_components.p,{children:`Which database to connect to If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`password`,type:`String`,id:`param-password-3`,children:_jsx(_components.p,{children:`The password for the provided user If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`url`,type:`String`,id:`param-url-1`,children:_jsx(_components.p,{children:`The URL where the ClickHouse host is listening to HTTP[S] connections If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`user`,type:`String`,id:`param-user-1`,children:_jsx(_components.p,{children:`The user for authenticating against the ClickHouse host If not provided this property will not be modified.`})})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-66`,children:_jsx(_components.p,{children:`The ClickHouse Data Source’s new description. If not provided this property will not be modified.`})}),_jsxs(ParamField,{path:`idOrUniqueName`,type:`idOrUniqueName`,required:true,id:`param-id-or-unique-name-5`,children:[_jsx(_components.p,{children:`The ID or unique name of the ClickHouse Data Source to modify.`}),_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-74`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-76`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-77`,children:_jsx(_components.p,{children:`The ClickHouse Data Source’s new unique name. If not provided this property will not be modified.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-42`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-17`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-75`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-78`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-67`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-44`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-34`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-43`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-43`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-43`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-43`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-41`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-29`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-17`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-9`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-174`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-85`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-85`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-85`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-85`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-8`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-175`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-86`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-86`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-86`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-86`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-8`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-8`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-176`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-87`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-87`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-87`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-87`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-32`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createhttpdatasource`,children:`createHttpDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-75`,children:[_jsx(_components.p,{children:`Creates a new HTTP Data Source from the given settings.`}),_jsx(_components.p,{children:`Returns the newly created Data Source (or an error message if creating the Data Source fails).`}),_jsx(Heading,{level:`3`,id:`arguments-177`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateHttpDataSourceInput`,required:true,id:`param-input-63`,children:_jsxs(Expandable,{title:`CreateHttpDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`HttpConnectionSettingsInput`,required:true,id:`param-connection-settings-18`,children:[_jsx(_components.p,{children:`The HTTP Data Source’s connection settings`}),_jsxs(Expandable,{title:`HttpConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The HTTP Data Source connection settings.`}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthInput`,id:`param-basic-auth-4`,children:[_jsx(_components.p,{children:`The HTTP Basic authentication settings for uploading new data.`}),_jsx(_components.p,{children:`If this parameter is not provided, anyone with the URL to your tables will be able to upload data. While it’s OK to test without HTTP Basic authentication, we recommend enabling it.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#httpbasicauthinput`,children:`HttpBasicAuthInput`})]})]}),_jsxs(ParamField,{path:`tables`,type:`[HttpDataSourceTableInput!]`,required:true,id:`param-tables-10`,children:[_jsx(_components.p,{children:`The HTTP Data Source’s tables.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#httpdatasourcetableinput`,children:`HttpDataSourceTableInput`})]})]})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-68`,children:_jsx(_components.p,{children:`The HTTP Data Source’s description.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-79`,children:_jsx(_components.p,{children:`The HTTP Data Source’s unique name. If not specified, Propel will set the ID as unique name.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-43`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-18`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-76`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-80`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-69`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-45`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-35`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-44`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-44`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-44`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-44`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-42`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-30`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-19`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-11`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-178`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-88`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-88`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-88`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-88`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-9`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-179`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-89`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-89`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-89`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-89`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-9`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-9`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-180`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-90`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-90`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-90`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-90`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-33`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifyhttpdatasource`,children:`modifyHttpDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-76`,children:[_jsx(_components.p,{children:`This mutation selects a Data Source by its ID or unique name and modifies it to have the given unique name, description, and connection settings.`}),_jsx(_components.p,{children:`If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.`}),_jsx(Heading,{level:`3`,id:`arguments-181`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyHttpDataSourceInput`,required:true,id:`param-input-64`,children:_jsxs(Expandable,{title:`ModifyHttpDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`PartialHttpConnectionSettingsInput`,id:`param-connection-settings-20`,children:[_jsx(_components.p,{children:`The HTTP Data Source’s new connection settings. If not provided this property will not be modified.`}),_jsxs(Expandable,{title:`PartialHttpConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The HTTP Data Source connection settings.`}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthInput`,id:`param-basic-auth-5`,children:[_jsx(_components.p,{children:`The HTTP Basic authentication settings for uploading new data.`}),_jsx(_components.p,{children:`If this parameter is not provided, anyone with the URL to your tables will be able to upload data. While it’s OK to test without HTTP Basic authentication, we recommend enabling it. If not provided this property will not be modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#httpbasicauthinput`,children:`HttpBasicAuthInput`})]})]}),_jsx(ParamField,{path:`basicAuthEnabled`,type:`Boolean`,id:`param-basic-auth-enabled`,children:_jsxs(_components.p,{children:[`Set this to `,_jsx(_components.code,{children:`false`}),` to disable HTTP Basic authentication. Any previously stored HTTP Basic authentication settings will be cleared out. If not provided this property will not be modified.`]})}),_jsxs(ParamField,{path:`tables`,type:`[HttpDataSourceTableInput!]`,id:`param-tables-12`,children:[_jsx(_components.p,{children:`The HTTP Data Source’s tables. If not provided this property will not be modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#httpdatasourcetableinput`,children:`HttpDataSourceTableInput`})]})]})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-70`,children:_jsx(_components.p,{children:`The HTTP Data Source’s new description. If not provided this property will not be modified.`})}),_jsxs(ParamField,{path:`idOrUniqueName`,type:`idOrUniqueName`,required:true,id:`param-id-or-unique-name-6`,children:[_jsx(_components.p,{children:`The ID or unique name of the HTTP Data Source to modify.`}),_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-77`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-81`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-82`,children:_jsx(_components.p,{children:`The HTTP Data Source’s new unique name. If not provided this property will not be modified.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-44`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-19`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-78`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-83`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-71`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-46`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-36`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-45`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-45`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-45`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-45`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-43`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-31`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-21`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-13`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-182`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-91`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-91`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-91`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-91`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-10`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-183`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-92`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-92`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-92`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-92`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-10`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-10`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-184`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-93`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-93`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-93`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-93`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-34`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createkafkadatasource`,children:`createKafkaDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-77`,children:[_jsx(_components.p,{children:`This mutation creates a new Kafka Data Source.`}),_jsx(_components.p,{children:`The mutation returns the newly created Data Source (or an error message if creating the Data Source fails).`}),_jsx(Heading,{level:`3`,id:`arguments-185`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateKafkaDataSourceInput`,required:true,id:`param-input-65`,children:_jsxs(Expandable,{title:`CreateKafkaDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`KafkaConnectionSettingsInput`,required:true,id:`param-connection-settings-22`,children:[_jsx(_components.p,{children:`The Kafka Data Source’s connection settings`}),_jsxs(Expandable,{title:`KafkaConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The Kafka Data Source connection settings.`}),_jsx(ParamField,{path:`auth`,type:`String`,required:true,id:`param-auth`,children:_jsx(_components.p,{children:`The type of authentication to use. Can be SCRAM-SHA-256, SCRAM-SHA-512, PLAIN or NONE`})}),_jsx(ParamField,{path:`bootstrapServers`,type:`[String!]`,required:true,id:`param-bootstrap-servers`,children:_jsx(_components.p,{children:`The bootstrap server(s) to connect to`})}),_jsx(ParamField,{path:`password`,type:`String`,required:true,id:`param-password-4`,children:_jsx(_components.p,{children:`The password for the provided user`})}),_jsx(ParamField,{path:`tls`,type:`Boolean`,id:`param-tls`,children:_jsx(_components.p,{children:`Whether the the connection to the Kafka servers is encrypted or not`})}),_jsx(ParamField,{path:`user`,type:`String`,required:true,id:`param-user-2`,children:_jsx(_components.p,{children:`The user for authenticating against the Kafka servers`})})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-72`,children:_jsx(_components.p,{children:`The Kafka Data Source’s description.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-84`,children:_jsx(_components.p,{children:`The Kafka Data Source’s unique name. If not specified, Propel will set the ID as unique name.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-45`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-20`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-79`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-85`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-73`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-47`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-37`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-46`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-46`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-46`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-46`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-44`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-32`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-23`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-14`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-186`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-94`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-94`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-94`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-94`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-11`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-187`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-95`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-95`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-95`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-95`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-11`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-11`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-188`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-96`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-96`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-96`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-96`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-35`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifykafkadatasource`,children:`modifyKafkaDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-78`,children:[_jsx(_components.p,{children:`This mutation selects a Data Source by its ID or unique name and modifies it to have the given unique name, description, and connection settings.`}),_jsx(_components.p,{children:`If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.`}),_jsx(Heading,{level:`3`,id:`arguments-189`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyKafkaDataSourceInput`,required:true,id:`param-input-66`,children:_jsxs(Expandable,{title:`ModifyKafkaDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`PartialKafkaConnectionSettingsInput`,id:`param-connection-settings-24`,children:[_jsx(_components.p,{children:`The Kafka Data Source’s new connection settings. If not provided this property will not be modified.`}),_jsxs(Expandable,{title:`PartialKafkaConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The Kafka Data Source connection settings.`}),_jsx(ParamField,{path:`auth`,type:`String`,id:`param-auth-1`,children:_jsx(_components.p,{children:`The type of authentication to use. Can be SCRAM-SHA-256, SCRAM-SHA-512, PLAIN or NONE If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`bootstrapServers`,type:`[String!]`,required:true,id:`param-bootstrap-servers-1`,children:_jsx(_components.p,{children:`The bootstrap server(s) to connect to If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`password`,type:`String`,id:`param-password-5`,children:_jsx(_components.p,{children:`The password for the provided user If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`tls`,type:`Boolean`,id:`param-tls-1`,children:_jsx(_components.p,{children:`Whether the the connection to the Kafka servers is encrypted or not If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`user`,type:`String`,id:`param-user-3`,children:_jsx(_components.p,{children:`The user for authenticating against the Kafka servers If not provided this property will not be modified.`})})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-74`,children:_jsx(_components.p,{children:`The Kafka Data Source’s new description. If not provided this property will not be modified.`})}),_jsxs(ParamField,{path:`idOrUniqueName`,type:`idOrUniqueName`,required:true,id:`param-id-or-unique-name-7`,children:[_jsx(_components.p,{children:`The ID or unique name of the Kafka Data Source to modify.`}),_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-80`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-86`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-87`,children:_jsx(_components.p,{children:`The Kafka Data Source’s new unique name. If not provided this property will not be modified.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-46`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-21`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-81`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-88`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-75`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-48`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-38`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-47`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-47`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-47`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-47`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-45`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-33`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-25`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-15`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-190`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-97`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-97`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-97`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-97`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-12`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-191`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-98`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-98`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-98`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-98`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-12`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-12`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-192`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-99`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-99`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-99`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-99`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-36`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createpostgresqldatasource`,children:`createPostgreSqlDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-79`,children:[_jsx(_components.p,{children:`Creates a new PostgreSQL Data Source.`}),_jsx(_components.p,{children:`Returns the newly created Data Source (or an error message if creating the Data Source fails).`}),_jsx(_components.p,{children:`Example:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`mutation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` createPostgreSqlDataSource`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` uniqueName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example_postgresql_data_source\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"My PostgreSQL Data Source\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` connectionSettings`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` database`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example_database\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` schema`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"public\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` host`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"postgresql.example.com\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` port`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5432`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` password`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"password\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }) {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` dataSource`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` id`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` uniqueName`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`Replace the placeholder values with your actual configuration.`}),_jsx(Heading,{level:`3`,id:`arguments-193`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreatePostgreSqlDataSourceInput`,required:true,id:`param-input-67`,children:_jsxs(Expandable,{title:`CreatePostgreSqlDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`PostgreSqlConnectionSettingsInput`,required:true,id:`param-connection-settings-26`,children:[_jsx(_components.p,{children:`The PostgreSQL Data Source’s connection settings`}),_jsxs(Expandable,{title:`PostgreSqlConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The PostgreSQL Data Source connection settings.`}),_jsx(ParamField,{path:`database`,type:`String`,id:`param-database-4`,children:_jsx(_components.p,{children:`Which database to connect to`})}),_jsx(ParamField,{path:`host`,type:`String`,required:true,id:`param-host`,children:_jsx(_components.p,{children:`The host where PostgreSQL is listening`})}),_jsx(ParamField,{path:`password`,type:`String`,required:true,id:`param-password-6`,children:_jsx(_components.p,{children:`The password for the provided user`})}),_jsx(ParamField,{path:`port`,type:`Int`,id:`param-port`,children:_jsx(_components.p,{children:`The port where PostgreSQL is listening (usually 5432)`})}),_jsx(ParamField,{path:`schema`,type:`String`,id:`param-schema-2`,children:_jsx(_components.p,{children:`Which schema to use`})}),_jsx(ParamField,{path:`user`,type:`String`,required:true,id:`param-user-4`,children:_jsx(_components.p,{children:`The user for authenticating against PostgreSQL`})})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-76`,children:_jsx(_components.p,{children:`The PostgreSQL Data Source’s description.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-89`,children:_jsx(_components.p,{children:`The PostgreSQL Data Source’s unique name. If not specified, Propel will set the ID as unique name.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-47`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-22`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-82`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-90`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-77`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-49`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-39`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-48`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-48`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-48`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-48`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-46`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-34`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-27`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-16`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-194`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-100`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-100`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-100`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-100`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-13`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-195`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-101`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-101`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-101`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-101`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-13`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-13`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-196`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-102`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-102`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-102`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-102`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-37`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifypostgresqldatasource`,children:`modifyPostgreSqlDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-80`,children:[_jsx(_components.p,{children:`Selects a Data Source by its ID or unique name and modifies it to have the given unique name, description, and connection settings.`}),_jsx(_components.p,{children:`If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.`}),_jsx(Heading,{level:`3`,id:`arguments-197`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyPostgreSqlDataSourceInput`,required:true,id:`param-input-68`,children:_jsxs(Expandable,{title:`ModifyPostgreSqlDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`PartialPostgreSqlConnectionSettingsInput`,id:`param-connection-settings-28`,children:[_jsx(_components.p,{children:`The PostgreSQL Data Source’s new connection settings. If not provided this property will not be modified.`}),_jsxs(Expandable,{title:`PartialPostgreSqlConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The PostgreSQL Data Source connection settings.`}),_jsx(ParamField,{path:`database`,type:`String`,id:`param-database-5`,children:_jsx(_components.p,{children:`Which database to connect to If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`host`,type:`String`,id:`param-host-1`,children:_jsx(_components.p,{children:`The host where PostgreSQL is listening If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`password`,type:`String`,id:`param-password-7`,children:_jsx(_components.p,{children:`The password for the provided user If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`port`,type:`Int`,id:`param-port-1`,children:_jsx(_components.p,{children:`The port where PostgreSQL is listening (usually 5432) If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`schema`,type:`String`,id:`param-schema-3`,children:_jsx(_components.p,{children:`Which schema to use If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`user`,type:`String`,id:`param-user-5`,children:_jsx(_components.p,{children:`The user for authenticating against PostgreSQL If not provided this property will not be modified.`})})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-78`,children:_jsx(_components.p,{children:`The PostgreSQL Data Source’s new description. If not provided this property will not be modified.`})}),_jsxs(ParamField,{path:`idOrUniqueName`,type:`idOrUniqueName`,required:true,id:`param-id-or-unique-name-8`,children:[_jsx(_components.p,{children:`The ID or unique name of the PostgreSQL Data Source to modify.`}),_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-83`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-91`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-92`,children:_jsx(_components.p,{children:`The PostgreSQL Data Source’s new unique name. If not provided this property will not be modified.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-48`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-23`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-84`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-93`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-79`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-50`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-40`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-49`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-49`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-49`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-49`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-47`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-35`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-29`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-17`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-198`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-103`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-103`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-103`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-103`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-14`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-199`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-104`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-104`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-104`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-104`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-14`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-14`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-200`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-105`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-105`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-105`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-105`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-38`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`creates3datasource`,children:`createS3DataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-81`,children:[_jsx(_components.p,{children:`Creates a new Amazon S3 Data Source pointed at the specified Amazon S3 bucket.`}),_jsx(_components.p,{children:`Returns the newly created Data Source (or an error message if creating the Data Source fails).`}),_jsx(Heading,{level:`3`,id:`arguments-201`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateS3DataSourceInput`,required:true,id:`param-input-69`,children:_jsxs(Expandable,{title:`CreateS3DataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`S3ConnectionSettingsInput`,required:true,id:`param-connection-settings-30`,children:[_jsx(_components.p,{children:`The Amazon S3 Data Source’s connection settings`}),_jsxs(Expandable,{title:`S3ConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The connection settings for an Amazon S3 Data Source. These include the Amazon S3 bucket name, the AWS access key ID, and the tables (along with their paths). We do not allow fetching the AWS secret access key after it has been set.`}),_jsx(ParamField,{path:`awsAccessKeyId`,type:`String`,required:true,id:`param-aws-access-key-id`,children:_jsx(_components.p,{children:`The AWS access key ID for an IAM user with sufficient access to the Amazon S3 bucket.`})}),_jsx(ParamField,{path:`awsSecretAccessKey`,type:`String`,required:true,id:`param-aws-secret-access-key`,children:_jsx(_components.p,{children:`The AWS secret access key for an IAM user with sufficient access to the Amazon S3 bucket.`})}),_jsx(ParamField,{path:`bucket`,type:`String`,required:true,id:`param-bucket`,children:_jsx(_components.p,{children:`The name of the Amazon S3 bucket.`})}),_jsxs(ParamField,{path:`tables`,type:`[S3DataSourceTableInput!]`,required:true,id:`param-tables-18`,children:[_jsx(_components.p,{children:`The Amazon S3 Data Source’s tables.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#s3datasourcetableinput`,children:`S3DataSourceTableInput`})]})]})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-80`,children:_jsx(_components.p,{children:`The Amazon S3 Data Source’s description.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-94`,children:_jsx(_components.p,{children:`The Amazon S3 Data Source’s unique name. If not specified, Propel will set the ID as unique name.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-49`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-24`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-85`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-95`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-81`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-51`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-41`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-50`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-50`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-50`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-50`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-48`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-36`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-31`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-19`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-202`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-106`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-106`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-106`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-106`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-15`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-203`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-107`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-107`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-107`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-107`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-15`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-15`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-204`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-108`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-108`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-108`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-108`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-39`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifys3datasource`,children:`modifyS3DataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-82`,children:[_jsx(_components.p,{children:`This mutation selects a Data Source by its ID or unique name and modifies it to have the given unique name, description, and connection settings.`}),_jsx(_components.p,{children:`If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.`}),_jsx(Heading,{level:`3`,id:`arguments-205`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyS3DataSourceInput`,required:true,id:`param-input-70`,children:_jsxs(Expandable,{title:`ModifyS3DataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`PartialS3ConnectionSettingsInput`,id:`param-connection-settings-32`,children:[_jsx(_components.p,{children:`The Amazon S3 Data Source’s new connection settings. If not provided this property will not be modified.`}),_jsxs(Expandable,{title:`PartialS3ConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The connection settings for an Amazon S3 Data Source. These include the Amazon S3 bucket name, the AWS access key ID, and the tables (along with their paths). We do not allow fetching the AWS secret access key after it has been set.`}),_jsx(ParamField,{path:`awsAccessKeyId`,type:`String`,id:`param-aws-access-key-id-1`,children:_jsx(_components.p,{children:`The AWS access key ID for an IAM user with sufficient access to the Amazon S3 bucket. If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`awsSecretAccessKey`,type:`String`,id:`param-aws-secret-access-key-1`,children:_jsx(_components.p,{children:`The AWS secret access key for an IAM user with sufficient access to the Amazon S3 bucket. If not provided this property will not be modified.`})}),_jsx(ParamField,{path:`bucket`,type:`String`,id:`param-bucket-1`,children:_jsx(_components.p,{children:`The name of the Amazon S3 bucket. If not provided this property will not be modified.`})}),_jsxs(ParamField,{path:`tables`,type:`[S3DataSourceTableInput!]`,id:`param-tables-20`,children:[_jsx(_components.p,{children:`The Amazon S3 Data Source’s tables. If not provided this property will not be modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#s3datasourcetableinput`,children:`S3DataSourceTableInput`})]})]})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-82`,children:_jsx(_components.p,{children:`The Amazon S3 Data Source’s new description. If not provided this property will not be modified.`})}),_jsxs(ParamField,{path:`idOrUniqueName`,type:`idOrUniqueName`,required:true,id:`param-id-or-unique-name-9`,children:[_jsx(_components.p,{children:`The ID or unique name of the Amazon S3 Data Source to modify.`}),_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-86`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-96`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-97`,children:_jsx(_components.p,{children:`The Amazon S3 Data Source’s new unique name. If not provided this property will not be modified.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-50`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-25`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-87`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-98`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-83`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-52`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-42`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-51`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-51`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-51`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-51`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-49`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-37`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-33`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-21`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-206`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-109`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-109`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-109`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-109`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-16`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-207`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-110`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-110`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-110`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-110`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-16`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-16`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-208`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-111`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-111`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-111`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-111`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-40`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createtwiliosegmentdatasource`,children:`createTwilioSegmentDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-83`,children:[_jsx(_components.p,{children:`Creates a new Twilio Segment Data Source from the given settings.`}),_jsx(_components.p,{children:`Returns the newly created Data Source (or an error message if creating the Data Source fails).`}),_jsx(Heading,{level:`3`,id:`arguments-209`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateTwilioSegmentDataSourceInput`,required:true,id:`param-input-71`,children:_jsxs(Expandable,{title:`CreateTwilioSegmentDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`TwilioSegmentConnectionSettingsInput`,required:true,id:`param-connection-settings-34`,children:[_jsx(_components.p,{children:`The Twilio Segment Data Source’s connection settings`}),_jsxs(Expandable,{title:`TwilioSegmentConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The Twilio Segment Data Source connection settings.`}),_jsx(ParamField,{path:`accessControlEnabled`,type:`Boolean`,id:`param-access-control-enabled-19`,children:_jsx(_components.p,{children:`Enables or disables access control for the Data Pool.\nIf the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.`})}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthInput`,id:`param-basic-auth-6`,children:[_jsx(_components.p,{children:`The HTTP basic authentication settings for the Twilio Segment Data Source URL. If this parameter is not provided, anyone with the webhook URL will be able to send events. While it’s OK to test without HTTP Basic authentication, we recommend enabling it.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#httpbasicauthinput`,children:`HttpBasicAuthInput`})]})]}),_jsxs(ParamField,{path:`columns`,type:`[TwilioSegmentDataSourceColumnInput!]`,id:`param-columns-12`,children:[_jsx(_components.p,{children:`The additional columns for the table in Propel.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#twiliosegmentdatasourcecolumninput`,children:`TwilioSegmentDataSourceColumnInput`})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettingsInput`,id:`param-table-settings-8`,children:[_jsxs(_components.p,{children:[`Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a\ndefault will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` and `,_jsx(_components.code,{children:`uniqueId`}),` values, if any. You can override these\ndefaults in order to specify a custom table engine, custom ORDER BY, etc.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#tablesettingsinput`,children:`TableSettingsInput`})]})]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-18`,children:_jsx(_components.p,{children:`The primary timestamp column, if any.`})})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-84`,children:_jsx(_components.p,{children:`The Twilio Segment Data Source’s description.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-99`,children:_jsx(_components.p,{children:`The Twilio Segment Data Source’s unique name. If not specified, Propel will set the ID as unique name.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-51`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-26`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-88`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-100`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-85`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-53`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-43`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-52`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-52`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-52`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-52`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-50`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-38`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-35`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-22`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-210`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-112`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-112`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-112`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-112`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-17`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-211`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-113`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-113`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-113`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-113`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-17`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-17`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-212`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-114`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-114`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-114`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-114`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-41`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifytwiliosegmentdatasource`,children:`modifyTwilioSegmentDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-84`,children:[_jsx(_components.p,{children:`Modifies the Data Source by the ID or unique name provided with the given unique name, description, and connection settings.`}),_jsx(_components.p,{children:`If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.`}),_jsx(Heading,{level:`3`,id:`arguments-213`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyTwilioSegmentDataSourceInput`,required:true,id:`param-input-72`,children:_jsxs(Expandable,{title:`ModifyTwilioSegmentDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`PartialTwilioSegmentConnectionSettingsInput`,id:`param-connection-settings-36`,children:[_jsx(_components.p,{children:`The Twilio Segment Data Source’s new connection settings. If not provided this property will not be modified.`}),_jsxs(Expandable,{title:`PartialTwilioSegmentConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The Twilio Segment Data Source connection settings.`}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthInput`,id:`param-basic-auth-7`,children:[_jsx(_components.p,{children:`The HTTP basic authentication settings for the Twilio Segment Data Source URL. If this parameter is not provided, anyone with the webhook URL will be able to send events. While it’s OK to test without HTTP Basic authentication, we recommend enabling it. If not provided this property will not be modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#httpbasicauthinput`,children:`HttpBasicAuthInput`})]})]}),_jsx(ParamField,{path:`basicAuthEnabled`,type:`Boolean`,id:`param-basic-auth-enabled-1`,children:_jsxs(_components.p,{children:[`Set this to `,_jsx(_components.code,{children:`false`}),` to disable HTTP Basic authentication. Any previously stored HTTP Basic authentication settings will be cleared out. If not provided this property will not be modified.`]})})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-86`,children:_jsx(_components.p,{children:`The Twilio Segment Data Source’s new description. If not provided this property will not be modified.`})}),_jsxs(ParamField,{path:`idOrUniqueName`,type:`idOrUniqueName`,required:true,id:`param-id-or-unique-name-10`,children:[_jsx(_components.p,{children:`The ID or unique name of the Twilio Segment Data Source to modify.`}),_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-89`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-101`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-102`,children:_jsx(_components.p,{children:`The Twilio Segment Data Source’s new unique name. If not provided this property will not be modified.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-52`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-27`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-90`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-103`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-87`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-54`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-44`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-53`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-53`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-53`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-53`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-51`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-39`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-37`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-23`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-214`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-115`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-115`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-115`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-115`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-18`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-215`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-116`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-116`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-116`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-116`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-18`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-18`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-216`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-117`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-117`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-117`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-117`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-42`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`createwebhookdatasource`,children:`createWebhookDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-85`,children:[_jsx(_components.p,{children:`Creates a new Webhook Data Source from the given settings.`}),_jsx(_components.p,{children:`Returns the newly created Data Source (or an error message if creating the Data Source fails).`}),_jsx(Heading,{level:`3`,id:`arguments-217`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreateWebhookDataSourceInput`,required:true,id:`param-input-73`,children:_jsxs(Expandable,{title:`CreateWebhookDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`WebhookConnectionSettingsInput`,required:true,id:`param-connection-settings-38`,children:[_jsx(_components.p,{children:`The Webhook Data Source’s connection settings`}),_jsxs(Expandable,{title:`WebhookConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The Webhook Data Source connection settings.`}),_jsx(ParamField,{path:`accessControlEnabled`,type:`Boolean`,id:`param-access-control-enabled-20`,children:_jsx(_components.p,{children:`Enables or disables access control for the Data Pool.\nIf the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.`})}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthInput`,id:`param-basic-auth-8`,children:[_jsx(_components.p,{children:`The HTTP basic authentication settings for the Webhook Data Source URL. If this parameter is not provided, anyone with the webhook URL will be able to send events. While it’s OK to test without HTTP Basic authentication, we recommend enabling it.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#httpbasicauthinput`,children:`HttpBasicAuthInput`})]})]}),_jsxs(ParamField,{path:`columns`,type:`[WebhookDataSourceColumnInput!]`,id:`param-columns-13`,children:[_jsx(_components.p,{children:`The additional columns for the table in Propel.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#webhookdatasourcecolumninput`,children:`WebhookDataSourceColumnInput`})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettingsInput`,id:`param-table-settings-9`,children:[_jsxs(_components.p,{children:[`Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a\ndefault will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` and `,_jsx(_components.code,{children:`uniqueId`}),` values, if any. You can override these\ndefaults in order to specify a custom table engine, custom ORDER BY, etc.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#tablesettingsinput`,children:`TableSettingsInput`})]})]}),_jsx(ParamField,{path:`tenant`,type:`String`,id:`param-tenant-6`,children:_jsx(_components.p,{children:`The tenant ID column, if any.`})}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-19`,children:_jsx(_components.p,{children:`The primary timestamp column, if any.`})}),_jsx(ParamField,{path:`uniqueId`,type:`String`,id:`param-unique-id-6`,children:_jsx(_components.p,{children:`The unique ID column, if any. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated.`})})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-88`,children:_jsx(_components.p,{children:`The Webhook Data Source’s description.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-104`,children:_jsx(_components.p,{children:`The Webhook Data Source’s unique name. If not specified, Propel will set the ID as unique name.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-53`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-28`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-91`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-105`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-89`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-55`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-45`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-54`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-54`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-54`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-54`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-52`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-40`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-39`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-24`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-218`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-118`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-118`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-118`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-118`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-19`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-219`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-119`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-119`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-119`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-119`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-19`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-19`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-220`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-120`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-120`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-120`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-120`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-43`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`modifywebhookdatasource`,children:`modifyWebhookDataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-86`,children:[_jsx(_components.p,{children:`Modifies the Data Source by the ID or unique name provided with the given unique name, description, and connection settings.`}),_jsx(_components.p,{children:`If any of the optional arguments are omitted, those properties will be unchanged on the Data Source.`}),_jsx(Heading,{level:`3`,id:`arguments-221`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyWebhookDataSourceInput`,required:true,id:`param-input-74`,children:_jsxs(Expandable,{title:`ModifyWebhookDataSourceInput`,children:[_jsxs(ParamField,{path:`connectionSettings`,type:`PartialWebhookConnectionSettingsInput`,id:`param-connection-settings-40`,children:[_jsx(_components.p,{children:`The Webhook Data Source’s new connection settings. If not provided this property will not be modified.`}),_jsxs(Expandable,{title:`PartialWebhookConnectionSettingsInput`,children:[_jsx(_components.p,{children:`The Webhook Data Source connection settings.`}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthInput`,id:`param-basic-auth-9`,children:[_jsx(_components.p,{children:`The HTTP basic authentication settings for the Webhook Data Source URL. If this parameter is not provided, anyone with the webhook URL will be able to send events. While it’s OK to test without HTTP Basic authentication, we recommend enabling it. If not provided this property will not be modified.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#httpbasicauthinput`,children:`HttpBasicAuthInput`})]})]}),_jsx(ParamField,{path:`basicAuthEnabled`,type:`Boolean`,id:`param-basic-auth-enabled-2`,children:_jsxs(_components.p,{children:[`Set this to `,_jsx(_components.code,{children:`false`}),` to disable HTTP Basic authentication. Any previously stored HTTP Basic authentication settings will be cleared out. If not provided this property will not be modified.`]})})]})]}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-90`,children:_jsx(_components.p,{children:`The Webhook Data Source’s new description. If not provided this property will not be modified.`})}),_jsxs(ParamField,{path:`idOrUniqueName`,type:`idOrUniqueName`,required:true,id:`param-id-or-unique-name-11`,children:[_jsx(_components.p,{children:`The ID or unique name of the Webhook Data Source to modify.`}),_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-92`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-106`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})]}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-107`,children:_jsx(_components.p,{children:`The Webhook Data Source’s new unique name. If not provided this property will not be modified.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-54`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceResponse`})]}),_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-29`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-93`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-108`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-91`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-56`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-46`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-55`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-55`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-55`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-55`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-53`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-41`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-41`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-25`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-222`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-121`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-121`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-121`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-121`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-20`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-223`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-122`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-122`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-122`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-122`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-20`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-20`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-224`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-123`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-123`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-123`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-123`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-44`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]})]}),`\n`,_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsx(Heading,{level:`2`,id:`reconnectdatapool`,children:`reconnectDataPool`}),_jsxs(ParamField,{path:` `,deprecated:true,id:`param-87`,children:[_jsxs(_components.p,{children:[`Deprecated. Use `,_jsx(_components.code,{children:`retryDataPoolSetup`}),` instead.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`retryDataPoolSetup`}),` instead`]}),_jsx(Heading,{level:`3`,id:`arguments-225`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`idOrUniqueName`,required:true,id:`param-input-75`,children:_jsxs(Expandable,{title:`idOrUniqueName`,children:[_jsx(_components.p,{children:`The ID or unique name input.`}),_jsx(_components.p,{children:`If both ID and unique name are provided, the ID will take precedence.`}),_jsx(ParamField,{path:`id`,type:`String`,id:`param-id-94`,children:_jsx(_components.p,{children:`The unique identifier of the object.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-109`,children:_jsx(_components.p,{children:`The unique name of the object.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-55`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPool`})]}),_jsxs(Expandable,{title:`DataPool`,children:[_jsx(_components.p,{children:`The Data Pool object. Data Pools are Propel’s high-speed data store and cache`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-95`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-110`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-92`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-57`,children:[_jsx(_components.p,{children:`The Data Pool’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-96`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-47`,children:[_jsx(_components.p,{children:`The Data Pool’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-97`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-111`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-93`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-56`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-56`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-56`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-56`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-58`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-57`,children:_jsx(_components.p,{children:`The Data Pool’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-57`,children:_jsx(_components.p,{children:`The Data Pool’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-57`,children:_jsx(_components.p,{children:`The Data Pool’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-57`,children:_jsx(_components.p,{children:`The Data Pool’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataSource`,type:`DataSource`,required:true,id:`param-data-source-30`,children:_jsxs(_components.p,{children:[`The Data Pool’s Data Source.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})}),_jsxs(ParamField,{path:`status`,type:`DataPoolStatus`,required:true,id:`param-status-42`,children:[_jsx(_components.p,{children:`The Data Pool’s status.`}),_jsxs(Expandable,{title:`DataPoolStatus`,children:[_jsx(_components.p,{children:`The status of a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-88`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Data Pool has been created and will be set up soon.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PENDING`}),`: Propel is attempting to set up the Data Pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LIVE`}),`: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SETUP_FAILED`}),`: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTED`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`BROKEN`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSED`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Data Pool and all of its associated data.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`dataRetentionInDays`,type:`Int`,required:true,id:`param-data-retention-in-days-6`,children:_jsx(_components.p,{children:`The Data Pool’s data retention in days (not yet supported).`})}),_jsx(ParamField,{path:`table`,type:`String`,required:true,id:`param-table-6`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-20`,children:[_jsx(_components.p,{children:`The Data Pool’s primary timestamp column, if any.`}),_jsxs(Expandable,{title:`Timestamp`,children:[_jsx(_components.p,{children:`A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-48`,children:_jsx(_components.p,{children:`The name of the column that represents the primary timestamp.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-54`,children:_jsx(_components.p,{children:`The primary timestamp column’s type.`})})]})]}),_jsx(ParamField,{path:`recordCount`,type:`String`,id:`param-record-count-6`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-6`,children:_jsx(_components.p,{children:`The amount of storage in terabytes used by the Data Pool.`})}),_jsxs(ParamField,{path:`columns`,type:`DataPoolColumnConnection`,id:`param-columns-14`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-226`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-124`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-124`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-124`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-124`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-8`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-8`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-8`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`availableMeasures`,type:`DataPoolColumnConnection`,id:`param-available-measures-5`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-227`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-125`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-125`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-125`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-125`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-9`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-9`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-9`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`setupTasks`,type:`[DataPoolSetupTask!]`,id:`param-setup-tasks-5`,children:[_jsx(_components.p,{children:`A list of setup tasks performed on the Data Pool during its most recent setup attempt.`}),_jsxs(Expandable,{title:`DataPoolSetupTask`,children:[_jsx(_components.p,{children:`The Data Pool Setup Task object.`}),_jsx(_components.p,{children:`Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.`}),_jsx(_components.p,{children:`The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-17`,children:_jsx(_components.p,{children:`The name of the Data Pool Setup Task to be performed.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-94`,children:_jsx(_components.p,{children:`A description of the Data Pool Setup Task to be performed.`})}),_jsxs(ParamField,{path:`status`,type:`DataPoolSetupTaskStatus`,required:true,id:`param-status-43`,children:[_jsx(_components.p,{children:`The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsetuptaskstatus`,children:`DataPoolSetupTaskStatus`})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-45`,children:[_jsx(_components.p,{children:`If the Data Pool Setup Task failed, this field includes a descriptive error message.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`completedAt`,type:`DateTime`,id:`param-completed-at-4`,children:_jsx(_components.p,{children:`The time at which the Data Pool Setup Task was completed.`})})]})]}),_jsxs(ParamField,{path:`syncing`,type:`DataPoolSyncing`,required:true,id:`param-syncing-7`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(Expandable,{title:`DataPoolSyncing`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(ParamField,{path:`status`,type:`DataPoolSyncStatus`,required:true,id:`param-status-44`,children:[_jsx(_components.p,{children:`Indicates whether syncing is enabled or disabled.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncstatus`,children:`DataPoolSyncStatus`})]})]}),_jsxs(ParamField,{path:`interval`,type:`DataPoolSyncInterval`,id:`param-interval-6`,children:[_jsx(_components.p,{children:`The syncing interval.`}),_jsxs(_components.p,{children:[`Note that the syncing interval is approximate. For example, setting the syncing interval to `,_jsx(_components.code,{children:`EVERY_1_HOUR`}),`\ndoes not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to\nwhen the Data Pool goes `,_jsx(_components.code,{children:`LIVE`}),`, and Propel will attempt to sync approximately every hour. Additionally,\nif you pause or resume syncing, this too can shift the syncing interval around.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncinterval`,children:`DataPoolSyncInterval`})]})]}),_jsx(ParamField,{path:`lastSyncedAt`,type:`DateTime`,id:`param-last-synced-at-4`,children:_jsx(_components.p,{children:`The date and time of the most recent Sync in UTC.`})})]})]}),_jsxs(ParamField,{path:`syncs`,type:`SyncConnection`,id:`param-syncs-5`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-228`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter-5`,children:_jsxs(Expandable,{title:`SyncsFilter`,children:[_jsx(_components.p,{children:`The filter to apply when listing the Syncs for a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-89`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EMPTY`}),`: Returns only Syncs with empty records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NOT_EMPTY`}),`: Returns only Syncs that contain one or more records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALL`}),`: Returns all Syncs, regardless of whether they contain records or not.`]}),`\n`]})})]})}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-126`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-126`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-126`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-126`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#syncconnection`,children:`SyncConnection`})]})]}),_jsxs(ParamField,{path:`metrics`,type:`MetricConnection`,id:`param-metrics-5`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-229`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-127`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-127`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-127`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-127`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#metricconnection`,children:`MetricConnection`})]})]}),_jsxs(ParamField,{path:`deletionJobs`,type:`DeletionJobConnection`,id:`param-deletion-jobs-5`,children:[_jsx(_components.p,{children:`The Deletion Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-230`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-128`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-128`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-128`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-128`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#deletionjobconnection`,children:`DeletionJobConnection`})]})]}),_jsxs(ParamField,{path:`addColumnToDataPoolJobs`,type:`AddColumnToDataPoolJobConnection`,id:`param-add-column-to-data-pool-jobs-5`,children:[_jsx(_components.p,{children:`The Add Column Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-231`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-129`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-129`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-129`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-129`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#addcolumntodatapooljobconnection`,children:`AddColumnToDataPoolJobConnection`})]})]}),_jsxs(ParamField,{path:`updateDataPoolRecordsJobs`,type:`UpdateDataPoolRecordsJobConnection`,id:`param-update-data-pool-records-jobs-5`,children:[_jsx(_components.p,{children:`The UpdateDataPoolRecords Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-232`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-130`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-130`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-130`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-130`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#updatedatapoolrecordsjobconnection`,children:`UpdateDataPoolRecordsJobConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,id:`param-access-control-enabled-21`,children:[_jsx(_components.p,{children:`Whether the Data Pool has access control enabled or not.`}),_jsx(_components.p,{children:`If the Data Pool has access control enabled, Applications must be assigned Data Pool Access\nPolicies in order to query the Data Pool and its Metrics.`})]}),_jsxs(ParamField,{path:`dataPoolAccessPolicies`,type:`DataPoolAccessPolicyConnection`,required:true,id:`param-data-pool-access-policies-5`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-233`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-131`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-131`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-131`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-131`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolaccesspolicyconnection`,children:`DataPoolAccessPolicyConnection`})]})]}),_jsxs(ParamField,{path:`validateExpression`,type:`ValidateExpressionResult`,required:true,id:`param-validate-expression-5`,children:[_jsx(_components.p,{children:`Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.`}),_jsx(Heading,{level:`3`,id:`arguments-234`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression-7`}),_jsxs(Expandable,{title:`ValidateExpressionResult`,children:[_jsx(_components.p,{children:`Response returned by the validateExpression query for validating expressions in Custom Metrics.`}),_jsx(_components.p,{children:`Returns whether the expression is valid or not with a reason explaining why.`}),_jsx(ParamField,{path:`valid`,type:`Boolean`,required:true,id:`param-valid-4`,children:_jsx(_components.p,{children:`True if the expression is valid, false otherwise.`})}),_jsx(ParamField,{path:`reason`,type:`String`,id:`param-reason-4`,children:_jsx(_components.p,{children:`The reason for why the expression is not valid in case it isn’t, null otherwise.`})})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,required:true,id:`param-table-settings-10`,children:[_jsx(_components.p,{children:`The Data Pool’s table settings.`}),_jsxs(Expandable,{title:`TableSettings`,children:[_jsx(_components.p,{children:`A Data Pool’s table settings.`}),_jsx(_components.p,{children:`These describe how the Data Pool’s table is created in ClickHouse.`}),_jsxs(ParamField,{path:`engine`,type:`TableEngine`,id:`param-engine-5`,children:[_jsx(_components.p,{children:`The ClickHouse table engine for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#tableengine`,children:`TableEngine`})]})]}),_jsx(ParamField,{path:`partitionBy`,type:`[String!]`,id:`param-partition-by-5`,children:_jsx(_components.p,{children:`The PARTITION BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`primaryKey`,type:`[String!]`,id:`param-primary-key-5`,children:_jsx(_components.p,{children:`The PRIMARY KEY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`orderBy`,type:`[String!]`,id:`param-order-by-5`,children:_jsx(_components.p,{children:`The ORDER BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`ttl`,type:`String`,id:`param-ttl-5`,children:_jsx(_components.p,{children:`The TTL clause for the Data Pool’s table.`})})]})]}),_jsxs(ParamField,{path:`partitionByColumns`,type:`[DataPoolColumn!]`,id:`param-partition-by-columns-5`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PARTITION BY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-49`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-55`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-13`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-16`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-18`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(ParamField,{path:`primaryKeyColumns`,type:`[DataPoolColumn!]`,id:`param-primary-key-columns-5`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PRIMARY KEY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-50`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-56`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-14`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-17`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-19`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(ParamField,{path:`orderByColumns`,type:`[DataPoolColumn!]`,id:`param-order-by-columns-5`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its ORDER BY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-51`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-57`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-15`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-18`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-20`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-46`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`setupTasks`}),` instead`]}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-7`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-7`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_jsxs(ParamField,{path:`tenant`,type:`Tenant`,deprecated:true,id:`param-tenant-7`,children:[_jsx(_components.p,{children:`The Data Pool’s tenant ID, if configured.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use Data Pool Access Policies instead`}),_jsxs(Expandable,{title:`Tenant`,children:[_jsx(_components.p,{children:`A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-52`,children:_jsx(_components.p,{children:`The name of the column that represents the tenant ID.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-58`,children:_jsx(_components.p,{children:`The tenant ID column’s type.`})})]})]}),_jsxs(ParamField,{path:`uniqueId`,type:`UniqueId`,deprecated:true,id:`param-unique-id-7`,children:[_jsx(_components.p,{children:`The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use table settings to define the primary key.`}),_jsxs(Expandable,{title:`UniqueId`,children:[_jsx(_components.p,{children:`A Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-53`,children:_jsx(_components.p,{children:`The name of the column that represents the unique ID.`})})]})]})]})]})]}),_jsx(Heading,{level:`2`,id:`createpolicy`,children:`createPolicy`}),_jsxs(ParamField,{path:` `,deprecated:true,id:`param-90`,children:[_jsx(_components.p,{children:`Creates a new Policy granting an Application access to a Metric’s data.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-235`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CreatePolicyInput`,required:true,id:`param-input-76`,children:_jsxs(Expandable,{title:`CreatePolicyInput`,children:[_jsx(_components.p,{children:`The fields for creating a Policy.`}),_jsx(ParamField,{path:`metric`,type:`ID`,required:true,id:`param-metric-14`,children:_jsx(_components.p,{children:`The Metric to which the Policy will be applied.`})}),_jsxs(ParamField,{path:`type`,type:`PolicyType`,required:true,id:`param-type-59`,children:[_jsx(_components.p,{children:`The type of Policy to create.`}),_jsxs(Expandable,{title:`PolicyType`,children:[_jsx(_components.p,{children:`The types of Policies that can be applied to a Metric.`}),_jsx(ParamField,{path:` `,id:`param-91`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALL_ACCESS`}),`: Grants access to all Metric data.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TENANT_ACCESS`}),`: Grants access to a specified tenant’s Metric data.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`application`,type:`ID`,required:true,id:`param-application-4`,children:_jsx(_components.p,{children:`The Application that will be granted access to the Metric.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-56`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`PolicyResponse`})]}),_jsxs(Expandable,{title:`PolicyResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Policy.`}),_jsxs(ParamField,{path:`policy`,type:`Policy`,id:`param-policy`,children:[_jsx(_components.p,{children:`The Policy which was created or modified.`}),_jsxs(Expandable,{title:`Policy`,children:[_jsx(_components.p,{children:`The Policy type. It governs an Application’s access to a Metric’s data.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-98`,children:_jsx(_components.p,{children:`The Policy’s unique identifier.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-59`,children:[_jsx(_components.p,{children:`The Policy’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-48`,children:[_jsx(_components.p,{children:`The Policy’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-58`,children:_jsx(_components.p,{children:`The Policy’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-58`,children:_jsx(_components.p,{children:`The Policy’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-58`,children:_jsx(_components.p,{children:`The Policy’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-58`,children:_jsx(_components.p,{children:`The Policy’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`PolicyType`,required:true,id:`param-type-60`,children:[_jsx(_components.p,{children:`The type of Policy.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#policytype`,children:`PolicyType`})]})]}),_jsx(ParamField,{path:`application`,type:`Application`,required:true,id:`param-application-5`,children:_jsxs(_components.p,{children:[`The Application that is granted access.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#application`,children:`Application`})]})}),_jsx(ParamField,{path:`metric`,type:`Metric`,required:true,id:`param-metric-15`,children:_jsxs(_components.p,{children:[`The Metric that the Application is granted access to.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#metric`,children:`Metric`})]})})]})]})]})]}),_jsx(Heading,{level:`2`,id:`modifypolicy`,children:`modifyPolicy`}),_jsxs(ParamField,{path:` `,deprecated:true,id:`param-92`,children:[_jsx(_components.p,{children:`Modifies an existing Policy. You can modify the Application’s level of access to the Metric’s data.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-236`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`ModifyPolicyInput`,required:true,id:`param-input-77`,children:_jsxs(Expandable,{title:`ModifyPolicyInput`,children:[_jsx(_components.p,{children:`The fields for modifying a Policy.`}),_jsx(ParamField,{path:`policy`,type:`ID`,required:true,id:`param-policy-1`,children:_jsx(_components.p,{children:`The Policy’s unique identifier.`})}),_jsxs(ParamField,{path:`type`,type:`PolicyType`,required:true,id:`param-type-61`,children:[_jsx(_components.p,{children:`The type of Policy.`}),_jsxs(Expandable,{title:`PolicyType`,children:[_jsx(_components.p,{children:`The types of Policies that can be applied to a Metric.`}),_jsx(ParamField,{path:` `,id:`param-93`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALL_ACCESS`}),`: Grants access to all Metric data.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TENANT_ACCESS`}),`: Grants access to a specified tenant’s Metric data.`]}),`\n`]})})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-57`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`PolicyResponse`})]}),_jsxs(Expandable,{title:`PolicyResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Policy.`}),_jsxs(ParamField,{path:`policy`,type:`Policy`,id:`param-policy-2`,children:[_jsx(_components.p,{children:`The Policy which was created or modified.`}),_jsxs(Expandable,{title:`Policy`,children:[_jsx(_components.p,{children:`The Policy type. It governs an Application’s access to a Metric’s data.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-99`,children:_jsx(_components.p,{children:`The Policy’s unique identifier.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-60`,children:[_jsx(_components.p,{children:`The Policy’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-49`,children:[_jsx(_components.p,{children:`The Policy’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-59`,children:_jsx(_components.p,{children:`The Policy’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-59`,children:_jsx(_components.p,{children:`The Policy’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-59`,children:_jsx(_components.p,{children:`The Policy’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-59`,children:_jsx(_components.p,{children:`The Policy’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`PolicyType`,required:true,id:`param-type-62`,children:[_jsx(_components.p,{children:`The type of Policy.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#policytype`,children:`PolicyType`})]})]}),_jsx(ParamField,{path:`application`,type:`Application`,required:true,id:`param-application-6`,children:_jsxs(_components.p,{children:[`The Application that is granted access.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#application`,children:`Application`})]})}),_jsx(ParamField,{path:`metric`,type:`Metric`,required:true,id:`param-metric-16`,children:_jsxs(_components.p,{children:[`The Metric that the Application is granted access to.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#metric`,children:`Metric`})]})})]})]})]})]}),_jsx(Heading,{level:`2`,id:`deletepolicy`,children:`deletePolicy`}),_jsxs(ParamField,{path:` `,deprecated:true,id:`param-94`,children:[_jsx(_components.p,{children:`Deletes a Policy. The associated Application will no longer have access to the Metric’s data.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-237`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-100`})]}),_jsx(Heading,{level:`2`,id:`requestdelete`,children:`requestDelete`}),_jsxs(ParamField,{path:` `,deprecated:true,id:`param-95`,children:[_jsx(_components.p,{children:`Schedules a new Deletion Job on the specified Data Pool.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: This has been renamed to `,_jsx(_components.code,{children:`createDeletionJob`})]}),_jsx(Heading,{level:`3`,id:`arguments-238`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`DeletionRequestInput`,required:true,id:`param-input-78`,children:_jsxs(Expandable,{title:`DeletionRequestInput`,children:[_jsx(_components.p,{children:`The fields for creating a Deletion Job.`}),_jsx(ParamField,{path:`dataPool`,type:`ID`,required:true,id:`param-data-pool-31`,children:_jsx(_components.p,{children:`The Data Pool that is going to get the data deleted`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-19`,children:_jsx(_components.p,{children:`The filters that will be used for deleting data, in the form of SQL. Data matching these filters will be deleted.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-15`,children:[_jsx(_components.p,{children:`The list of filters that will be used for deleting data. Data matching these filters will be deleted.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-13`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-12`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-13`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and-12`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or-12`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-58`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`RequestDeleteResponse`})]}),_jsxs(Expandable,{title:`RequestDeleteResponse`,children:[_jsx(_components.p,{children:`The response returned by the Deletion Job.`}),_jsxs(ParamField,{path:`job`,type:`DeletionJob`,required:true,id:`param-job-3`,children:[_jsx(_components.p,{children:`The Deletion Job that was just created.`}),_jsxs(Expandable,{title:`DeletionJob`,children:[_jsx(_components.p,{children:`Deletion Job scheduled for a specific Data Pool.`}),_jsx(_components.p,{children:`The Deletion Job represents the asynchronous process of deleting data\ngiven some filters inside a Data Pool. It tracks the deletion process\nuntil it is finished, showing the progress and the outcome when it is finished.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-101`,children:_jsx(_components.p,{children:`The Deletion Job’s ID.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-60`,children:_jsx(_components.p,{children:`The Deletion Job’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-60`,children:_jsx(_components.p,{children:`Who created the Deletion Job.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-60`,children:_jsx(_components.p,{children:`The Deletion Job’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-60`,children:_jsx(_components.p,{children:`Who last modified the Deletion Job.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-61`,children:[_jsx(_components.p,{children:`Account to which the Deletion Job belongs.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-50`,children:[_jsx(_components.p,{children:`Environment to which the Deletion Job belongs.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,required:true,id:`param-data-pool-32`,children:_jsxs(_components.p,{children:[`The Data Pool whose records will be deleted by the Deletion Job.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`status`,type:`JobStatus`,required:true,id:`param-status-45`,children:[_jsx(_components.p,{children:`The current Deletion Job’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#jobstatus`,children:`JobStatus`})]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-20`,children:_jsx(_components.p,{children:`The filters that will be used for deleting data, in the form of SQL. Data matching the filters will be deleted.`})}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-47`,children:[_jsx(_components.p,{children:`The error that occurred while deleting data, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`progress`,type:`Float`,required:true,id:`param-progress-4`,children:_jsx(_components.p,{children:`The current progress of the Deletion Job, from 0.0 to 1.0.`})}),_jsx(ParamField,{path:`startedAt`,type:`DateTime`,id:`param-started-at-5`,children:_jsx(_components.p,{children:`The time at which the Deletion Job started.`})}),_jsx(ParamField,{path:`succeededAt`,type:`DateTime`,id:`param-succeeded-at-5`,children:_jsx(_components.p,{children:`The time at which the Deletion Job succeeded.`})}),_jsx(ParamField,{path:`failedAt`,type:`DateTime`,id:`param-failed-at-5`,children:_jsx(_components.p,{children:`The time at which the Deletion Job failed.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[Filter!]`,deprecated:true,id:`param-filters-16`,children:[_jsx(_components.p,{children:`The list of filters that will be used for deleting data. Data matching the filters will be deleted.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#filter`,children:`Filter`})]})]})})]})]})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Mutations","description":"Available mutations in the Management API","icon":"pen-to-square","href":"/docs/management-api/mutations"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"createEnvironment","slug":"createenvironment","depth":2,"children":[{"title":"Arguments","slug":"arguments","depth":3,"children":[]},{"title":"Returns","slug":"returns","depth":3,"children":[]}]},{"title":"modifyEnvironment","slug":"modifyenvironment","depth":2,"children":[{"title":"Arguments","slug":"arguments-2","depth":3,"children":[]},{"title":"Returns","slug":"returns-2","depth":3,"children":[]}]},{"title":"deleteEnvironment","slug":"deleteenvironment","depth":2,"children":[{"title":"Arguments","slug":"arguments-3","depth":3,"children":[]}]},{"title":"createDataPoolAccessPolicy","slug":"createdatapoolaccesspolicy","depth":2,"children":[{"title":"Arguments","slug":"arguments-4","depth":3,"children":[]},{"title":"Returns","slug":"returns-3","depth":3,"children":[]}]},{"title":"modifyDataPoolAccessPolicy","slug":"modifydatapoolaccesspolicy","depth":2,"children":[{"title":"Arguments","slug":"arguments-6","depth":3,"children":[]},{"title":"Returns","slug":"returns-4","depth":3,"children":[]}]},{"title":"deleteDataPoolAccessPolicy","slug":"deletedatapoolaccesspolicy","depth":2,"children":[{"title":"Arguments","slug":"arguments-8","depth":3,"children":[]}]},{"title":"assignDataPoolAccessPolicyToApplication","slug":"assigndatapoolaccesspolicytoapplication","depth":2,"children":[{"title":"Arguments","slug":"arguments-9","depth":3,"children":[]}]},{"title":"unAssignDataPoolAccessPolicyFromApplication","slug":"unassigndatapoolaccesspolicyfromapplication","depth":2,"children":[{"title":"Arguments","slug":"arguments-10","depth":3,"children":[]}]},{"title":"createApplication","slug":"createapplication","depth":2,"children":[{"title":"Arguments","slug":"arguments-11","depth":3,"children":[]},{"title":"Returns","slug":"returns-5","depth":3,"children":[]}]},{"title":"modifyApplication","slug":"modifyapplication","depth":2,"children":[{"title":"Arguments","slug":"arguments-12","depth":3,"children":[]},{"title":"Returns","slug":"returns-6","depth":3,"children":[]}]},{"title":"deleteApplication","slug":"deleteapplication","depth":2,"children":[{"title":"Arguments","slug":"arguments-13","depth":3,"children":[]}]},{"title":"deleteApplicationByName","slug":"deleteapplicationbyname","depth":2,"children":[{"title":"Arguments","slug":"arguments-14","depth":3,"children":[]}]},{"title":"createSnowflakeDataSource","slug":"createsnowflakedatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-15","depth":3,"children":[]},{"title":"Returns","slug":"returns-7","depth":3,"children":[]}]},{"title":"modifySnowflakeDataSource","slug":"modifysnowflakedatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-16","depth":3,"children":[]},{"title":"Returns","slug":"returns-8","depth":3,"children":[]}]},{"title":"reconnectDataSource","slug":"reconnectdatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-17","depth":3,"children":[]},{"title":"Returns","slug":"returns-9","depth":3,"children":[]}]},{"title":"introspectTables","slug":"introspecttables","depth":2,"children":[{"title":"Arguments","slug":"arguments-21","depth":3,"children":[]},{"title":"Returns","slug":"returns-10","depth":3,"children":[]}]},{"title":"testDataSource","slug":"testdatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-23","depth":3,"children":[]},{"title":"Returns","slug":"returns-11","depth":3,"children":[]}]},{"title":"deleteDataSource","slug":"deletedatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-24","depth":3,"children":[]}]},{"title":"deleteDataSourceByName","slug":"deletedatasourcebyname","depth":2,"children":[{"title":"Arguments","slug":"arguments-25","depth":3,"children":[]}]},{"title":"createDataPoolV2","slug":"createdatapoolv2","depth":2,"children":[{"title":"Arguments","slug":"arguments-26","depth":3,"children":[]},{"title":"Returns","slug":"returns-12","depth":3,"children":[]}]},{"title":"modifyDataPool","slug":"modifydatapool","depth":2,"children":[{"title":"Arguments","slug":"arguments-36","depth":3,"children":[]},{"title":"Returns","slug":"returns-13","depth":3,"children":[]}]},{"title":"retryDataPoolSetup","slug":"retrydatapoolsetup","depth":2,"children":[{"title":"Arguments","slug":"arguments-37","depth":3,"children":[]},{"title":"Returns","slug":"returns-14","depth":3,"children":[]}]},{"title":"retryDataPoolSetupByName","slug":"retrydatapoolsetupbyname","depth":2,"children":[{"title":"Arguments","slug":"arguments-47","depth":3,"children":[]},{"title":"Returns","slug":"returns-15","depth":3,"children":[]}]},{"title":"inspectDataPoolSchema","slug":"inspectdatapoolschema","depth":2,"children":[{"title":"Arguments","slug":"arguments-57","depth":3,"children":[]},{"title":"Returns","slug":"returns-16","depth":3,"children":[]}]},{"title":"testDataPool","slug":"testdatapool","depth":2,"children":[{"title":"Arguments","slug":"arguments-58","depth":3,"children":[]},{"title":"Returns","slug":"returns-17","depth":3,"children":[]}]},{"title":"deleteDataPool","slug":"deletedatapool","depth":2,"children":[{"title":"Arguments","slug":"arguments-59","depth":3,"children":[]}]},{"title":"deleteDataPoolByName","slug":"deletedatapoolbyname","depth":2,"children":[{"title":"Arguments","slug":"arguments-60","depth":3,"children":[]}]},{"title":"disableSyncing","slug":"disablesyncing","depth":2,"children":[{"title":"Arguments","slug":"arguments-61","depth":3,"children":[]},{"title":"Returns","slug":"returns-18","depth":3,"children":[]}]},{"title":"enableSyncing","slug":"enablesyncing","depth":2,"children":[{"title":"Arguments","slug":"arguments-71","depth":3,"children":[]},{"title":"Returns","slug":"returns-19","depth":3,"children":[]}]},{"title":"createCountMetric","slug":"createcountmetric","depth":2,"children":[{"title":"Arguments","slug":"arguments-81","depth":3,"children":[]},{"title":"Returns","slug":"returns-20","depth":3,"children":[]}]},{"title":"createCountDistinctMetric","slug":"createcountdistinctmetric","depth":2,"children":[{"title":"Arguments","slug":"arguments-87","depth":3,"children":[]},{"title":"Returns","slug":"returns-21","depth":3,"children":[]}]},{"title":"createSumMetric","slug":"createsummetric","depth":2,"children":[{"title":"Arguments","slug":"arguments-93","depth":3,"children":[]},{"title":"Returns","slug":"returns-22","depth":3,"children":[]}]},{"title":"createAverageMetric","slug":"createaveragemetric","depth":2,"children":[{"title":"Arguments","slug":"arguments-99","depth":3,"children":[]},{"title":"Returns","slug":"returns-23","depth":3,"children":[]}]},{"title":"createMinMetric","slug":"createminmetric","depth":2,"children":[{"title":"Arguments","slug":"arguments-105","depth":3,"children":[]},{"title":"Returns","slug":"returns-24","depth":3,"children":[]}]},{"title":"createMaxMetric","slug":"createmaxmetric","depth":2,"children":[{"title":"Arguments","slug":"arguments-111","depth":3,"children":[]},{"title":"Returns","slug":"returns-25","depth":3,"children":[]}]},{"title":"createCustomMetric","slug":"createcustommetric","depth":2,"children":[{"title":"Arguments","slug":"arguments-117","depth":3,"children":[]},{"title":"Returns","slug":"returns-26","depth":3,"children":[]}]},{"title":"modifyMetric","slug":"modifymetric","depth":2,"children":[{"title":"Arguments","slug":"arguments-123","depth":3,"children":[]},{"title":"Returns","slug":"returns-27","depth":3,"children":[]}]},{"title":"migrateMetric","slug":"migratemetric","depth":2,"children":[{"title":"Arguments","slug":"arguments-129","depth":3,"children":[]},{"title":"Returns","slug":"returns-28","depth":3,"children":[]}]},{"title":"deleteMetric","slug":"deletemetric","depth":2,"children":[{"title":"Arguments","slug":"arguments-135","depth":3,"children":[]}]},{"title":"deleteMetricByName","slug":"deletemetricbyname","depth":2,"children":[{"title":"Arguments","slug":"arguments-136","depth":3,"children":[]}]},{"title":"createBooster","slug":"createbooster","depth":2,"children":[{"title":"Arguments","slug":"arguments-137","depth":3,"children":[]},{"title":"Returns","slug":"returns-29","depth":3,"children":[]}]},{"title":"deleteBooster","slug":"deletebooster","depth":2,"children":[{"title":"Arguments","slug":"arguments-138","depth":3,"children":[]}]},{"title":"createDeletionJob","slug":"createdeletionjob","depth":2,"children":[{"title":"Arguments","slug":"arguments-139","depth":3,"children":[]},{"title":"Returns","slug":"returns-30","depth":3,"children":[]}]},{"title":"createAddColumnToDataPoolJob","slug":"createaddcolumntodatapooljob","depth":2,"children":[{"title":"Arguments","slug":"arguments-140","depth":3,"children":[]},{"title":"Returns","slug":"returns-31","depth":3,"children":[]}]},{"title":"createUpdateDataPoolRecordsJob","slug":"createupdatedatapoolrecordsjob","depth":2,"children":[{"title":"Arguments","slug":"arguments-141","depth":3,"children":[]},{"title":"Returns","slug":"returns-32","depth":3,"children":[]}]},{"title":"syncDataPool","slug":"syncdatapool","depth":2,"children":[{"title":"Arguments","slug":"arguments-142","depth":3,"children":[]},{"title":"Returns","slug":"returns-33","depth":3,"children":[]}]},{"title":"resyncDataPool","slug":"resyncdatapool","depth":2,"children":[{"title":"Arguments","slug":"arguments-146","depth":3,"children":[]},{"title":"Returns","slug":"returns-34","depth":3,"children":[]}]},{"title":"createMaterializedView","slug":"creatematerializedview","depth":2,"children":[{"title":"Arguments","slug":"arguments-150","depth":3,"children":[]},{"title":"Returns","slug":"returns-35","depth":3,"children":[]}]},{"title":"modifyMaterializedView","slug":"modifymaterializedview","depth":2,"children":[{"title":"Arguments","slug":"arguments-151","depth":3,"children":[]},{"title":"Returns","slug":"returns-36","depth":3,"children":[]}]},{"title":"deleteMaterializedView","slug":"deletematerializedview","depth":2,"children":[{"title":"Arguments","slug":"arguments-152","depth":3,"children":[]}]},{"title":"createAmazonDataFirehoseDataSource","slug":"createamazondatafirehosedatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-153","depth":3,"children":[]},{"title":"Returns","slug":"returns-37","depth":3,"children":[]}]},{"title":"modifyAmazonDataFirehoseDataSource","slug":"modifyamazondatafirehosedatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-157","depth":3,"children":[]},{"title":"Returns","slug":"returns-38","depth":3,"children":[]}]},{"title":"createAmazonDynamoDBDataSource","slug":"createamazondynamodbdatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-161","depth":3,"children":[]},{"title":"Returns","slug":"returns-39","depth":3,"children":[]}]},{"title":"modifyAmazonDynamoDBDataSource","slug":"modifyamazondynamodbdatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-165","depth":3,"children":[]},{"title":"Returns","slug":"returns-40","depth":3,"children":[]}]},{"title":"createClickHouseDataSource","slug":"createclickhousedatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-169","depth":3,"children":[]},{"title":"Returns","slug":"returns-41","depth":3,"children":[]}]},{"title":"modifyClickHouseDataSource","slug":"modifyclickhousedatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-173","depth":3,"children":[]},{"title":"Returns","slug":"returns-42","depth":3,"children":[]}]},{"title":"createHttpDataSource","slug":"createhttpdatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-177","depth":3,"children":[]},{"title":"Returns","slug":"returns-43","depth":3,"children":[]}]},{"title":"modifyHttpDataSource","slug":"modifyhttpdatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-181","depth":3,"children":[]},{"title":"Returns","slug":"returns-44","depth":3,"children":[]}]},{"title":"createKafkaDataSource","slug":"createkafkadatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-185","depth":3,"children":[]},{"title":"Returns","slug":"returns-45","depth":3,"children":[]}]},{"title":"modifyKafkaDataSource","slug":"modifykafkadatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-189","depth":3,"children":[]},{"title":"Returns","slug":"returns-46","depth":3,"children":[]}]},{"title":"createPostgreSqlDataSource","slug":"createpostgresqldatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-193","depth":3,"children":[]},{"title":"Returns","slug":"returns-47","depth":3,"children":[]}]},{"title":"modifyPostgreSqlDataSource","slug":"modifypostgresqldatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-197","depth":3,"children":[]},{"title":"Returns","slug":"returns-48","depth":3,"children":[]}]},{"title":"createS3DataSource","slug":"creates3datasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-201","depth":3,"children":[]},{"title":"Returns","slug":"returns-49","depth":3,"children":[]}]},{"title":"modifyS3DataSource","slug":"modifys3datasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-205","depth":3,"children":[]},{"title":"Returns","slug":"returns-50","depth":3,"children":[]}]},{"title":"createTwilioSegmentDataSource","slug":"createtwiliosegmentdatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-209","depth":3,"children":[]},{"title":"Returns","slug":"returns-51","depth":3,"children":[]}]},{"title":"modifyTwilioSegmentDataSource","slug":"modifytwiliosegmentdatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-213","depth":3,"children":[]},{"title":"Returns","slug":"returns-52","depth":3,"children":[]}]},{"title":"createWebhookDataSource","slug":"createwebhookdatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-217","depth":3,"children":[]},{"title":"Returns","slug":"returns-53","depth":3,"children":[]}]},{"title":"modifyWebhookDataSource","slug":"modifywebhookdatasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-221","depth":3,"children":[]},{"title":"Returns","slug":"returns-54","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/propeldocs/fdbfad1497ca4ff4/scripts/generate-query-api-snippets.js","/_mintlify/custom/propeldocs/8980ee81dee9a13b/scripts/generate-ui-kit-props-snippets.js","/_mintlify/custom/propeldocs/14bd85a0d423341a/scripts/consts.js","/_mintlify/custom/propeldocs/0cf47d21a6c8aab3/scripts/utils.js","/_mintlify/custom/propeldocs/40b44e6573c8c018/scripts/generate-management-api-pages.js","/_mintlify/custom/propeldocs/51bba4061f9f89d8/scripts/delete-heavy-docs.js","/_mintlify/custom/propeldocs/cdc5ec9e555dee6e/scripts/generate-docs.js","/_mintlify/custom/propeldocs/45c00fb3854a3468/scripts/patch-embed-snippets.js","/_mintlify/custom/propeldocs/9a2f4a8c729adeab/scripts/get-radix-type-as-json.js"],"dynamicCss":".mint-flex {\n display: flex\n}\n.mint-items-center {\n align-items: center\n}\n.mint-gap-2 {\n gap: 0.5rem\n}\n.mint-rounded-md {\n border-radius: 0.375rem\n}\n.mint-bg-gray-100\\/50 {\n background-color: rgb(243 244 246 / 0.5)\n}\n.mint-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem\n}\n.mint-py-0\\.5 {\n padding-top: 0.125rem;\n padding-bottom: 0.125rem\n}\n.mint-font-mono {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace\n}\n.mint-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem\n}\n.mint-text-xs {\n font-size: 0.75rem;\n line-height: 1rem\n}\n.mint-font-medium {\n font-weight: 500\n}\n.mint-text-gray-600 {\n --tw-text-opacity: 1;\n color: rgb(75 85 99 / var(--tw-text-opacity, 1))\n}\n.dark\\:mint-bg-white\\/5:is(.dark *) {\n background-color: rgb(255 255 255 / 0.05)\n}\n.dark\\:mint-text-gray-200:is(.dark *) {\n --tw-text-opacity: 1;\n color: rgb(229 231 235 / var(--tw-text-opacity, 1))\n}","subdomain":"propeldocs","siteName":"Propel docs","title":"Mutations - Propel docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T03:51:15.834Z","originalFileLocation":"docs/management-api/mutations.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Available mutations in the Management API\">\u003cmeta data-mint-head name=\"application-name\" content=\"Propel docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Mutations - Propel docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Available mutations in the Management API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Propel docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.propeldata.com/docs/management-api/mutations\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://propeldocs.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Mutations\u0026amp;description=Available+mutations+in+the+Management+API\u0026amp;theme=f9dc867360e0a88fa037a043\u0026amp;signature=90dfa49d53e882819cfa580aa8f9928eba0a7fc489a57934458c6b697afcdebb\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Mutations - Propel docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Available mutations in the Management API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://propeldocs.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Mutations\u0026amp;description=Available+mutations+in+the+Management+API\u0026amp;theme=f9dc867360e0a88fa037a043\u0026amp;signature=90dfa49d53e882819cfa580aa8f9928eba0a7fc489a57934458c6b697afcdebb\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Propel docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#53389E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.propeldata.com/docs/management-api/mutations\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/management-api/mutations.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.propeldata.com/#organization\",\"name\":\"Propel docs\",\"url\":\"https://www.propeldata.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/propeldocs/sNpmg5Sbvcqytj17/logo/light.svg?fit=max\u0026auto=format\u0026n=sNpmg5Sbvcqytj17\u0026q=85\u0026s=9d44dbaa0d94a0b0efe5b94548583b52\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.propeldata.com#website\",\"name\":\"Propel docs\",\"url\":\"https://www.propeldata.com\",\"publisher\":{\"@id\":\"https://www.propeldata.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.propeldata.com/docs/management-api/mutations#webpage\",\"url\":\"https://www.propeldata.com/docs/management-api/mutations\",\"name\":\"Mutations\",\"description\":\"Available mutations in the Management API\",\"dateModified\":\"2026-01-07T03:51:15.834Z\",\"isPartOf\":{\"@id\":\"https://www.propeldata.com#website\"},\"breadcrumb\":{\"@id\":\"https://www.propeldata.com/docs/management-api/mutations#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.propeldata.com/docs/management-api/mutations#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://www.propeldata.com/docs/management-api/queries\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mutations\",\"item\":\"https://www.propeldata.com/docs/management-api/mutations\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.propeldata.com/docs/management-api/mutations#article\",\"headline\":\"Mutations\",\"name\":\"Mutations\",\"description\":\"Available mutations in the Management API\",\"url\":\"https://www.propeldata.com/docs/management-api/mutations\",\"mainEntityOfPage\":{\"@id\":\"https://www.propeldata.com/docs/management-api/mutations#webpage\"},\"dateModified\":\"2026-01-07T03:51:15.834Z\",\"publisher\":{\"@id\":\"https://www.propeldata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.propeldata.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Propel docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Propel docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/management-api/mutations.md","siteName":"Propel docs","nav":{"global":null,"tabs":[{"tab":"Serverless Cloud","anchors":[{"anchor":"Serverless Cloud","icon":"house","pages":[{"title":"Serverless Cloud","href":"/docs/overview"}]},{"anchor":"SQL Reference","icon":"database","pages":[{"title":"SQL Reference","href":"/docs/sql-reference/overview"}]},{"anchor":"Management API","icon":"code","groups":[{"group":"Introduction","pages":[{"title":"Management API reference","icon":"code","mode":"wide","sidebarTitle":"Overview","href":"/docs/management-api/overview"}]},{"group":"API Reference","pages":[{"title":"Queries","description":"Available queries in the Management API","icon":"magnifying-glass","href":"/docs/management-api/queries"},{"title":"Mutations","icon":"pen-to-square","href":"/docs/management-api/mutations"},{"title":"Types","description":"Object types in the Management API","icon":"cube","href":"/docs/management-api/types"},{"title":"Inputs","icon":"arrow-right-to-bracket","href":"/docs/management-api/inputs"},{"title":"Enums","icon":"list","href":"/docs/management-api/enums"},{"title":"Unions","icon":"code-merge","href":"/docs/management-api/unions"},{"title":"Scalars","icon":"shapes","href":"/docs/management-api/scalars"}]}]},{"anchor":"REST API Reference","hidden":true,"icon":"square-terminal","pages":[{"title":"REST API Reference","href":"/docs/api-reference/api-keys/list-api-keys"}]}]},{"tab":"Ingestion","pages":[{"title":"Ingestion","href":"/docs/ingestion/overview"}]},{"tab":"Query APIs","pages":[{"title":"Query APIs","href":"/docs/query-apis/overview"}]},{"tab":"Embeddable UI","pages":[{"title":"Embeddable UI","href":"/docs/embeddable-ui/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/changelog/2024"}]}]},"basePath":"","title":"Mutations - Propel docs","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}