@constructive-sdk/cli 1.20.6 → 1.20.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agent/orm/input-types.d.ts +4 -4
- package/api/cli/commands/email-provider-account.js +0 -22
- package/api/cli/commands/list-suspended-databases-record.d.ts +8 -0
- package/api/cli/commands/list-suspended-databases-record.js +152 -0
- package/api/cli/commands/platform-email-provider-account.js +0 -22
- package/api/cli/commands.js +3 -1
- package/api/cli/executor.d.ts +1 -0
- package/api/orm/index.d.ts +2 -0
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +60 -30
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +4 -2
- package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
- package/auth/cli/commands/{provision-new-user.d.ts → request-magic-link.d.ts} +1 -1
- package/auth/cli/commands/{provision-new-user.js → request-magic-link.js} +3 -3
- package/auth/cli/commands/send-mfa-challenge-code.d.ts +8 -0
- package/auth/cli/commands/send-mfa-challenge-code.js +36 -0
- package/{esm/auth/cli/commands/provision-new-user.d.ts → auth/cli/commands/send-sms-otp.d.ts} +1 -1
- package/auth/cli/commands/send-sms-otp.js +36 -0
- package/auth/cli/commands.js +7 -3
- package/auth/cli/executor.d.ts +15 -5
- package/auth/orm/index.d.ts +15 -5
- package/auth/orm/input-types.d.ts +44 -14
- package/auth/orm/mutation/index.d.ts +25 -9
- package/auth/orm/mutation/index.js +36 -12
- package/compute/cli/commands/function-execution-logs-append.d.ts +8 -0
- package/compute/cli/commands/function-execution-logs-append.js +36 -0
- package/compute/cli/commands/function-schedule.d.ts +8 -0
- package/compute/cli/commands/function-schedule.js +434 -0
- package/compute/cli/commands/platform-function-execution-logs-append.d.ts +8 -0
- package/compute/cli/commands/platform-function-execution-logs-append.js +36 -0
- package/compute/cli/commands/platform-function-schedule.d.ts +8 -0
- package/compute/cli/commands/platform-function-schedule.js +414 -0
- package/compute/cli/commands.js +9 -1
- package/compute/cli/executor.d.ts +12 -0
- package/compute/orm/index.d.ts +14 -0
- package/compute/orm/index.js +4 -0
- package/compute/orm/input-types.d.ts +553 -4
- package/compute/orm/input-types.js +2 -0
- package/compute/orm/models/functionSchedule.d.ts +54 -0
- package/compute/orm/models/functionSchedule.js +104 -0
- package/compute/orm/models/index.d.ts +2 -0
- package/compute/orm/models/index.js +7 -3
- package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
- package/compute/orm/models/platformFunctionSchedule.js +104 -0
- package/compute/orm/mutation/index.d.ts +17 -1
- package/compute/orm/mutation/index.js +24 -0
- package/esm/agent/orm/input-types.d.ts +4 -4
- package/esm/api/cli/commands/email-provider-account.js +0 -22
- package/esm/api/cli/commands/list-suspended-databases-record.d.ts +8 -0
- package/esm/api/cli/commands/list-suspended-databases-record.js +150 -0
- package/esm/api/cli/commands/platform-email-provider-account.js +0 -22
- package/esm/api/cli/commands.js +3 -1
- package/esm/api/cli/executor.d.ts +1 -0
- package/esm/api/orm/index.d.ts +2 -0
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +60 -30
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
- package/esm/auth/cli/commands/request-magic-link.d.ts +8 -0
- package/esm/auth/cli/commands/{provision-new-user.js → request-magic-link.js} +3 -3
- package/esm/auth/cli/commands/send-mfa-challenge-code.d.ts +8 -0
- package/esm/auth/cli/commands/send-mfa-challenge-code.js +34 -0
- package/esm/auth/cli/commands/send-sms-otp.d.ts +8 -0
- package/esm/auth/cli/commands/send-sms-otp.js +34 -0
- package/esm/auth/cli/commands.js +7 -3
- package/esm/auth/cli/executor.d.ts +15 -5
- package/esm/auth/orm/index.d.ts +15 -5
- package/esm/auth/orm/input-types.d.ts +44 -14
- package/esm/auth/orm/mutation/index.d.ts +25 -9
- package/esm/auth/orm/mutation/index.js +36 -12
- package/esm/compute/cli/commands/function-execution-logs-append.d.ts +8 -0
- package/esm/compute/cli/commands/function-execution-logs-append.js +34 -0
- package/esm/compute/cli/commands/function-schedule.d.ts +8 -0
- package/esm/compute/cli/commands/function-schedule.js +432 -0
- package/esm/compute/cli/commands/platform-function-execution-logs-append.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-execution-logs-append.js +34 -0
- package/esm/compute/cli/commands/platform-function-schedule.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-schedule.js +412 -0
- package/esm/compute/cli/commands.js +9 -1
- package/esm/compute/cli/executor.d.ts +12 -0
- package/esm/compute/orm/index.d.ts +14 -0
- package/esm/compute/orm/index.js +4 -0
- package/esm/compute/orm/input-types.d.ts +553 -4
- package/esm/compute/orm/input-types.js +2 -0
- package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/functionSchedule.js +100 -0
- package/esm/compute/orm/models/index.d.ts +2 -0
- package/esm/compute/orm/models/index.js +2 -0
- package/esm/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionSchedule.js +100 -0
- package/esm/compute/orm/mutation/index.d.ts +17 -1
- package/esm/compute/orm/mutation/index.js +24 -0
- package/esm/modules/cli/commands/billing-provider-module.js +66 -0
- package/esm/modules/cli/commands/entity-type-provision.js +0 -88
- package/esm/modules/cli/commands/plans-module.js +0 -22
- package/esm/modules/orm/input-types.d.ts +26 -48
- package/esm/remote/cli/commands/machine.js +22 -0
- package/esm/remote/orm/input-types.d.ts +13 -1
- package/modules/cli/commands/billing-provider-module.js +66 -0
- package/modules/cli/commands/entity-type-provision.js +0 -88
- package/modules/cli/commands/plans-module.js +0 -22
- package/modules/orm/input-types.d.ts +26 -48
- package/package.json +5 -5
- package/remote/cli/commands/machine.js +22 -0
- package/remote/orm/input-types.d.ts +13 -1
package/api/orm/input-types.d.ts
CHANGED
|
@@ -623,8 +623,6 @@ export interface EmailIdentity {
|
|
|
623
623
|
}
|
|
624
624
|
/** A tenant's configured account at an email provider: provider slug, endpoint coordinates, and the NAME of the secret holding its credentials (never the credential itself) */
|
|
625
625
|
export interface EmailProviderAccount {
|
|
626
|
-
/** Provider API base URL when it is not the provider default (e.g. Mailgun EU) */
|
|
627
|
-
apiBaseUrl?: string | null;
|
|
628
626
|
createdAt?: string | null;
|
|
629
627
|
/** Name of the secret holding this account's API key or SMTP password. The value is resolved from the secret store at send time (realm = this row's id) and is never stored here. */
|
|
630
628
|
credentialsSecretName?: string | null;
|
|
@@ -639,7 +637,7 @@ export interface EmailProviderAccount {
|
|
|
639
637
|
provider?: string | null;
|
|
640
638
|
/** Account identifier at the provider — the Mailgun sending domain, the SES verified identity, the Postmark server name */
|
|
641
639
|
providerAccountName?: string | null;
|
|
642
|
-
/** Provider region
|
|
640
|
+
/** Provider region; the provider API host is derived from it, never stored (Mailgun: us or eu, unset meaning us) */
|
|
643
641
|
region?: string | null;
|
|
644
642
|
/** SMTP host (provider = smtp, or a provider addressed over SMTP) */
|
|
645
643
|
smtpHost?: string | null;
|
|
@@ -874,6 +872,13 @@ export interface Index {
|
|
|
874
872
|
updatedAt?: string | null;
|
|
875
873
|
whereClause?: Record<string, unknown> | null;
|
|
876
874
|
}
|
|
875
|
+
export interface ListSuspendedDatabasesRecord {
|
|
876
|
+
id: string;
|
|
877
|
+
name?: string | null;
|
|
878
|
+
ownerId?: string | null;
|
|
879
|
+
suspendedAt?: string | null;
|
|
880
|
+
suspendedReason?: string | null;
|
|
881
|
+
}
|
|
877
882
|
/** Platform-operated hostnames whose DNS and certificate lifecycle the platform drives */
|
|
878
883
|
export interface ManagedDomain {
|
|
879
884
|
/** Whether tenants may claim subdomains under this managed hostname */
|
|
@@ -1151,8 +1156,6 @@ export interface PlatformEmailIdentity {
|
|
|
1151
1156
|
}
|
|
1152
1157
|
/** A tenant's configured account at an email provider: provider slug, endpoint coordinates, and the NAME of the secret holding its credentials (never the credential itself) */
|
|
1153
1158
|
export interface PlatformEmailProviderAccount {
|
|
1154
|
-
/** Provider API base URL when it is not the provider default (e.g. Mailgun EU) */
|
|
1155
|
-
apiBaseUrl?: string | null;
|
|
1156
1159
|
createdAt?: string | null;
|
|
1157
1160
|
/** Name of the secret holding this account's API key or SMTP password. The value is resolved from the secret store at send time (realm = this row's id) and is never stored here. */
|
|
1158
1161
|
credentialsSecretName?: string | null;
|
|
@@ -1165,7 +1168,7 @@ export interface PlatformEmailProviderAccount {
|
|
|
1165
1168
|
provider?: string | null;
|
|
1166
1169
|
/** Account identifier at the provider — the Mailgun sending domain, the SES verified identity, the Postmark server name */
|
|
1167
1170
|
providerAccountName?: string | null;
|
|
1168
|
-
/** Provider region
|
|
1171
|
+
/** Provider region; the provider API host is derived from it, never stored (Mailgun: us or eu, unset meaning us) */
|
|
1169
1172
|
region?: string | null;
|
|
1170
1173
|
/** SMTP host (provider = smtp, or a provider addressed over SMTP) */
|
|
1171
1174
|
smtpHost?: string | null;
|
|
@@ -1845,7 +1848,7 @@ export interface Table {
|
|
|
1845
1848
|
schemaId?: string | null;
|
|
1846
1849
|
singularName?: string | null;
|
|
1847
1850
|
smartTags?: Record<string, unknown> | null;
|
|
1848
|
-
/** Declarative step-up auth guard: jsonb object mapping DML verbs (INSERT, UPDATE, DELETE) to a step-up spec. Values: true (default fresh_auth), a type string (password / mfa /
|
|
1851
|
+
/** Declarative step-up auth guard: jsonb object mapping DML verbs (INSERT, UPDATE, DELETE) to a step-up spec. Values: true (default fresh_auth), a type string (password / mfa / password_or_mfa / fresh_auth), or an object {type, min_age, min_age_lookup, conditions} where min_age is an interval string (e.g. 6 hours) gating the guard to rows older than that age (UPDATE/DELETE only), min_age_lookup resolves per-row windows from a lookup table, and conditions is a declarative WHEN-clause tree compiled by build_condition_expr. */
|
|
1849
1852
|
stepUp?: Record<string, unknown> | null;
|
|
1850
1853
|
tags?: string[] | null;
|
|
1851
1854
|
timestamps?: boolean | null;
|
|
@@ -2186,6 +2189,8 @@ export interface IndexRelations {
|
|
|
2186
2189
|
database?: Database | null;
|
|
2187
2190
|
table?: Table | null;
|
|
2188
2191
|
}
|
|
2192
|
+
export interface ListSuspendedDatabasesRecordRelations {
|
|
2193
|
+
}
|
|
2189
2194
|
export interface ManagedDomainRelations {
|
|
2190
2195
|
domainEvents?: ConnectionResult<DomainEvent>;
|
|
2191
2196
|
domainVerifications?: ConnectionResult<DomainVerification>;
|
|
@@ -2508,6 +2513,7 @@ export type GetSitePreviewsRecordWithRelations = GetSitePreviewsRecord & GetSite
|
|
|
2508
2513
|
export type HostnameBindingWithRelations = HostnameBinding & HostnameBindingRelations;
|
|
2509
2514
|
export type IdentityProviderRegistryWithRelations = IdentityProviderRegistry & IdentityProviderRegistryRelations;
|
|
2510
2515
|
export type IndexWithRelations = Index & IndexRelations;
|
|
2516
|
+
export type ListSuspendedDatabasesRecordWithRelations = ListSuspendedDatabasesRecord & ListSuspendedDatabasesRecordRelations;
|
|
2511
2517
|
export type ManagedDomainWithRelations = ManagedDomain & ManagedDomainRelations;
|
|
2512
2518
|
export type NodeTypeRegistryWithRelations = NodeTypeRegistry & NodeTypeRegistryRelations;
|
|
2513
2519
|
export type PageWithRelations = Page & PageRelations;
|
|
@@ -3144,7 +3150,6 @@ export type EmailIdentitySelect = {
|
|
|
3144
3150
|
};
|
|
3145
3151
|
};
|
|
3146
3152
|
export type EmailProviderAccountSelect = {
|
|
3147
|
-
apiBaseUrl?: boolean;
|
|
3148
3153
|
createdAt?: boolean;
|
|
3149
3154
|
credentialsSecretName?: boolean;
|
|
3150
3155
|
databaseId?: boolean;
|
|
@@ -3500,6 +3505,13 @@ export type IndexSelect = {
|
|
|
3500
3505
|
select: TableSelect;
|
|
3501
3506
|
};
|
|
3502
3507
|
};
|
|
3508
|
+
export type ListSuspendedDatabasesRecordSelect = {
|
|
3509
|
+
id?: boolean;
|
|
3510
|
+
name?: boolean;
|
|
3511
|
+
ownerId?: boolean;
|
|
3512
|
+
suspendedAt?: boolean;
|
|
3513
|
+
suspendedReason?: boolean;
|
|
3514
|
+
};
|
|
3503
3515
|
export type ManagedDomainSelect = {
|
|
3504
3516
|
allowPublicUsage?: boolean;
|
|
3505
3517
|
annotations?: boolean;
|
|
@@ -3755,7 +3767,6 @@ export type PlatformEmailIdentitySelect = {
|
|
|
3755
3767
|
};
|
|
3756
3768
|
};
|
|
3757
3769
|
export type PlatformEmailProviderAccountSelect = {
|
|
3758
|
-
apiBaseUrl?: boolean;
|
|
3759
3770
|
createdAt?: boolean;
|
|
3760
3771
|
credentialsSecretName?: boolean;
|
|
3761
3772
|
id?: boolean;
|
|
@@ -5801,8 +5812,6 @@ export interface EmailIdentityFilter {
|
|
|
5801
5812
|
export interface EmailProviderAccountFilter {
|
|
5802
5813
|
/** Checks for all expressions in this list. */
|
|
5803
5814
|
and?: EmailProviderAccountFilter[];
|
|
5804
|
-
/** Filter by the object’s `apiBaseUrl` field. */
|
|
5805
|
-
apiBaseUrl?: StringFilter;
|
|
5806
5815
|
/** Filter by the object’s `createdAt` field. */
|
|
5807
5816
|
createdAt?: DatetimeFilter;
|
|
5808
5817
|
/** Filter by the object’s `credentialsSecretName` field. */
|
|
@@ -6397,6 +6406,16 @@ export interface IndexFilter {
|
|
|
6397
6406
|
/** Filter by the object’s `whereClause` field. */
|
|
6398
6407
|
whereClause?: JSONFilter;
|
|
6399
6408
|
}
|
|
6409
|
+
export interface ListSuspendedDatabasesRecordFilter {
|
|
6410
|
+
id?: UUIDFilter;
|
|
6411
|
+
name?: StringFilter;
|
|
6412
|
+
ownerId?: UUIDFilter;
|
|
6413
|
+
suspendedAt?: DatetimeFilter;
|
|
6414
|
+
suspendedReason?: StringFilter;
|
|
6415
|
+
and?: ListSuspendedDatabasesRecordFilter[];
|
|
6416
|
+
or?: ListSuspendedDatabasesRecordFilter[];
|
|
6417
|
+
not?: ListSuspendedDatabasesRecordFilter;
|
|
6418
|
+
}
|
|
6400
6419
|
export interface ManagedDomainFilter {
|
|
6401
6420
|
/** Filter by the object’s `allowPublicUsage` field. */
|
|
6402
6421
|
allowPublicUsage?: BooleanFilter;
|
|
@@ -6862,8 +6881,6 @@ export interface PlatformEmailIdentityFilter {
|
|
|
6862
6881
|
export interface PlatformEmailProviderAccountFilter {
|
|
6863
6882
|
/** Checks for all expressions in this list. */
|
|
6864
6883
|
and?: PlatformEmailProviderAccountFilter[];
|
|
6865
|
-
/** Filter by the object’s `apiBaseUrl` field. */
|
|
6866
|
-
apiBaseUrl?: StringFilter;
|
|
6867
6884
|
/** Filter by the object’s `createdAt` field. */
|
|
6868
6885
|
createdAt?: DatetimeFilter;
|
|
6869
6886
|
/** Filter by the object’s `credentialsSecretName` field. */
|
|
@@ -8757,7 +8774,7 @@ export type DomainEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_
|
|
|
8757
8774
|
export type DomainTypeOrderBy = 'BASE_TYPE_ASC' | 'BASE_TYPE_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CHECK_EXPR_ASC' | 'CHECK_EXPR_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFAULT_EXPR_ASC' | 'DEFAULT_EXPR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NOT_NULL_ASC' | 'NOT_NULL_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
|
|
8758
8775
|
export type DomainVerificationOrderBy = 'ATTEMPTS_ASC' | 'ATTEMPTS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DOMAIN_ID_ASC' | 'DOMAIN_ID_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_CHECKED_AT_ASC' | 'LAST_CHECKED_AT_DESC' | 'MANAGED_DOMAIN_ID_ASC' | 'MANAGED_DOMAIN_ID_DESC' | 'METHOD_ASC' | 'METHOD_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RECORD_NAME_ASC' | 'RECORD_NAME_DESC' | 'RECORD_TYPE_ASC' | 'RECORD_TYPE_DESC' | 'RECORD_VALUE_ASC' | 'RECORD_VALUE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VERIFIED_AT_ASC' | 'VERIFIED_AT_DESC';
|
|
8759
8776
|
export type EmailIdentityOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'FROM_ADDRESS_ASC' | 'FROM_ADDRESS_DESC' | 'FROM_NAME_ASC' | 'FROM_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_DEFAULT_ASC' | 'IS_DEFAULT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ACCOUNT_ID_ASC' | 'PROVIDER_ACCOUNT_ID_DESC' | 'REPLY_TO_ADDRESS_ASC' | 'REPLY_TO_ADDRESS_DESC' | 'SUPPORT_ADDRESS_ASC' | 'SUPPORT_ADDRESS_DESC' | 'TRANSPORT_MODE_ASC' | 'TRANSPORT_MODE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
8760
|
-
export type EmailProviderAccountOrderBy = '
|
|
8777
|
+
export type EmailProviderAccountOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREDENTIALS_SECRET_NAME_ASC' | 'CREDENTIALS_SECRET_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ACCOUNT_NAME_ASC' | 'PROVIDER_ACCOUNT_NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REGION_ASC' | 'REGION_DESC' | 'SMTP_HOST_ASC' | 'SMTP_HOST_DESC' | 'SMTP_PORT_ASC' | 'SMTP_PORT_DESC' | 'SMTP_SECURE_ASC' | 'SMTP_SECURE_DESC' | 'SMTP_USER_ASC' | 'SMTP_USER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'WEBHOOK_SIGNING_SECRET_NAME_ASC' | 'WEBHOOK_SIGNING_SECRET_NAME_DESC';
|
|
8761
8778
|
export type EmailSiteIdentityOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'EMAIL_IDENTITY_ID_ASC' | 'EMAIL_IDENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SITE_ID_ASC' | 'SITE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
8762
8779
|
export type EmbeddingChunkOrderBy = 'CHUNKING_TASK_NAME_ASC' | 'CHUNKING_TASK_NAME_DESC' | 'CHUNKS_TABLE_ID_ASC' | 'CHUNKS_TABLE_ID_DESC' | 'CHUNKS_TABLE_NAME_ASC' | 'CHUNKS_TABLE_NAME_DESC' | 'CHUNK_OVERLAP_ASC' | 'CHUNK_OVERLAP_DESC' | 'CHUNK_SIZE_ASC' | 'CHUNK_SIZE_DESC' | 'CHUNK_STRATEGY_ASC' | 'CHUNK_STRATEGY_DESC' | 'CONTENT_FIELD_NAME_ASC' | 'CONTENT_FIELD_NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DIMENSIONS_ASC' | 'DIMENSIONS_DESC' | 'EMBEDDING_FIELD_ID_ASC' | 'EMBEDDING_FIELD_ID_DESC' | 'EMBEDDING_MODEL_ASC' | 'EMBEDDING_MODEL_DESC' | 'EMBEDDING_PROVIDER_ASC' | 'EMBEDDING_PROVIDER_DESC' | 'ENQUEUE_CHUNKING_JOB_ASC' | 'ENQUEUE_CHUNKING_JOB_DESC' | 'ID_ASC' | 'ID_DESC' | 'METADATA_FIELDS_ASC' | 'METADATA_FIELDS_DESC' | 'METRIC_ASC' | 'METRIC_DESC' | 'NATURAL' | 'PARENT_FK_FIELD_ID_ASC' | 'PARENT_FK_FIELD_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_INDEXES_ASC' | 'SEARCH_INDEXES_DESC' | 'SOURCE_FIELDS_ASC' | 'SOURCE_FIELDS_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
8763
8780
|
export type EnumOrderBy = 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'VALUES_ASC' | 'VALUES_DESC';
|
|
@@ -8772,6 +8789,7 @@ export type GetSitePreviewsRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DES
|
|
|
8772
8789
|
export type HostnameBindingOrderBy = 'DOMAIN_ID_ASC' | 'DOMAIN_ID_DESC' | 'HOSTNAME_ASC' | 'HOSTNAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_WILDCARD_ASC' | 'IS_WILDCARD_DESC' | 'MANAGED_ASC' | 'MANAGED_DESC' | 'NATURAL' | 'PARENT_HOSTNAME_ASC' | 'PARENT_HOSTNAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TLS_SECRET_NAME_ASC' | 'TLS_SECRET_NAME_DESC' | 'TLS_STATUS_ASC' | 'TLS_STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VERIFICATION_STATUS_ASC' | 'VERIFICATION_STATUS_DESC';
|
|
8773
8790
|
export type IdentityProviderRegistryOrderBy = 'AUTHORIZATION_URL_ASC' | 'AUTHORIZATION_URL_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'ISSUER_URL_ASC' | 'ISSUER_URL_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPES_ASC' | 'SCOPES_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'TOKEN_URL_ASC' | 'TOKEN_URL_DESC' | 'USERINFO_URL_ASC' | 'USERINFO_URL_DESC';
|
|
8774
8791
|
export type IndexOrderBy = 'ACCESS_METHOD_ASC' | 'ACCESS_METHOD_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'ID_ASC' | 'ID_DESC' | 'INCLUDE_FIELD_IDS_ASC' | 'INCLUDE_FIELD_IDS_DESC' | 'INDEX_PARAMS_ASC' | 'INDEX_PARAMS_DESC' | 'IS_UNIQUE_ASC' | 'IS_UNIQUE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NULLS_NOT_DISTINCT_ASC' | 'NULLS_NOT_DISTINCT_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC' | 'OP_CLASSES_ASC' | 'OP_CLASSES_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'WHERE_CLAUSE_ASC' | 'WHERE_CLAUSE_DESC';
|
|
8792
|
+
export type ListSuspendedDatabasesRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SUSPENDED_AT_ASC' | 'SUSPENDED_AT_DESC' | 'SUSPENDED_REASON_ASC' | 'SUSPENDED_REASON_DESC';
|
|
8775
8793
|
export type ManagedDomainOrderBy = 'ALLOW_PUBLIC_USAGE_ASC' | 'ALLOW_PUBLIC_USAGE_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CERT_STATUS_ASC' | 'CERT_STATUS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DOMAIN_ASC' | 'DOMAIN_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_WILDCARD_ASC' | 'IS_WILDCARD_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TLS_READY_AT_ASC' | 'TLS_READY_AT_DESC' | 'TLS_STATUS_ASC' | 'TLS_STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC' | 'VERIFICATION_STATUS_ASC' | 'VERIFICATION_STATUS_DESC' | 'VERIFIED_AT_ASC' | 'VERIFIED_AT_DESC';
|
|
8776
8794
|
export type NodeTypeRegistryOrderBy = 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PARAMETER_SCHEMA_ASC' | 'PARAMETER_SCHEMA_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
|
|
8777
8795
|
export type PageOrderBy = 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEEDED_FROM_ASC' | 'SEEDED_FROM_DESC' | 'SITE_ID_ASC' | 'SITE_ID_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
@@ -8784,7 +8802,7 @@ export type PlatformDomainOrderBy = 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATED_AT_A
|
|
|
8784
8802
|
export type PlatformDomainEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DOMAIN_ID_ASC' | 'DOMAIN_ID_DESC' | 'DOMAIN_VERIFICATION_ID_ASC' | 'DOMAIN_VERIFICATION_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MANAGED_DOMAIN_ID_ASC' | 'MANAGED_DOMAIN_ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
8785
8803
|
export type PlatformDomainVerificationOrderBy = 'ATTEMPTS_ASC' | 'ATTEMPTS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DOMAIN_ID_ASC' | 'DOMAIN_ID_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_CHECKED_AT_ASC' | 'LAST_CHECKED_AT_DESC' | 'MANAGED_DOMAIN_ID_ASC' | 'MANAGED_DOMAIN_ID_DESC' | 'METHOD_ASC' | 'METHOD_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RECORD_NAME_ASC' | 'RECORD_NAME_DESC' | 'RECORD_TYPE_ASC' | 'RECORD_TYPE_DESC' | 'RECORD_VALUE_ASC' | 'RECORD_VALUE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VERIFIED_AT_ASC' | 'VERIFIED_AT_DESC';
|
|
8786
8804
|
export type PlatformEmailIdentityOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'FROM_ADDRESS_ASC' | 'FROM_ADDRESS_DESC' | 'FROM_NAME_ASC' | 'FROM_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_DEFAULT_ASC' | 'IS_DEFAULT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ACCOUNT_ID_ASC' | 'PROVIDER_ACCOUNT_ID_DESC' | 'REPLY_TO_ADDRESS_ASC' | 'REPLY_TO_ADDRESS_DESC' | 'SUPPORT_ADDRESS_ASC' | 'SUPPORT_ADDRESS_DESC' | 'TRANSPORT_MODE_ASC' | 'TRANSPORT_MODE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
8787
|
-
export type PlatformEmailProviderAccountOrderBy = '
|
|
8805
|
+
export type PlatformEmailProviderAccountOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREDENTIALS_SECRET_NAME_ASC' | 'CREDENTIALS_SECRET_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ACCOUNT_NAME_ASC' | 'PROVIDER_ACCOUNT_NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REGION_ASC' | 'REGION_DESC' | 'SMTP_HOST_ASC' | 'SMTP_HOST_DESC' | 'SMTP_PORT_ASC' | 'SMTP_PORT_DESC' | 'SMTP_SECURE_ASC' | 'SMTP_SECURE_DESC' | 'SMTP_USER_ASC' | 'SMTP_USER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'WEBHOOK_SIGNING_SECRET_NAME_ASC' | 'WEBHOOK_SIGNING_SECRET_NAME_DESC';
|
|
8788
8806
|
export type PlatformEmailSiteIdentityOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EMAIL_IDENTITY_ID_ASC' | 'EMAIL_IDENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SITE_ID_ASC' | 'SITE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
8789
8807
|
export type PlatformGetSitePreviewsRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
|
|
8790
8808
|
export type PlatformManagedDomainOrderBy = 'ALLOW_PUBLIC_USAGE_ASC' | 'ALLOW_PUBLIC_USAGE_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CERT_STATUS_ASC' | 'CERT_STATUS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DOMAIN_ASC' | 'DOMAIN_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_WILDCARD_ASC' | 'IS_WILDCARD_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TLS_READY_AT_ASC' | 'TLS_READY_AT_DESC' | 'TLS_STATUS_ASC' | 'TLS_STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC' | 'VERIFICATION_STATUS_ASC' | 'VERIFICATION_STATUS_DESC' | 'VERIFIED_AT_ASC' | 'VERIFIED_AT_DESC';
|
|
@@ -9480,7 +9498,6 @@ export interface DeleteEmailIdentityInput {
|
|
|
9480
9498
|
export interface CreateEmailProviderAccountInput {
|
|
9481
9499
|
clientMutationId?: string;
|
|
9482
9500
|
emailProviderAccount: {
|
|
9483
|
-
apiBaseUrl?: string;
|
|
9484
9501
|
credentialsSecretName: string;
|
|
9485
9502
|
databaseId: string;
|
|
9486
9503
|
isActive?: boolean;
|
|
@@ -9496,7 +9513,6 @@ export interface CreateEmailProviderAccountInput {
|
|
|
9496
9513
|
};
|
|
9497
9514
|
}
|
|
9498
9515
|
export interface EmailProviderAccountPatch {
|
|
9499
|
-
apiBaseUrl?: string | null;
|
|
9500
9516
|
credentialsSecretName?: string | null;
|
|
9501
9517
|
databaseId?: string | null;
|
|
9502
9518
|
isActive?: boolean | null;
|
|
@@ -10039,6 +10055,30 @@ export interface DeleteIndexInput {
|
|
|
10039
10055
|
clientMutationId?: string;
|
|
10040
10056
|
id: string;
|
|
10041
10057
|
}
|
|
10058
|
+
export interface CreateListSuspendedDatabasesRecordInput {
|
|
10059
|
+
clientMutationId?: string;
|
|
10060
|
+
listSuspendedDatabasesRecord: {
|
|
10061
|
+
name?: string;
|
|
10062
|
+
ownerId: string;
|
|
10063
|
+
suspendedAt?: string;
|
|
10064
|
+
suspendedReason?: string;
|
|
10065
|
+
};
|
|
10066
|
+
}
|
|
10067
|
+
export interface ListSuspendedDatabasesRecordPatch {
|
|
10068
|
+
name?: string | null;
|
|
10069
|
+
ownerId?: string | null;
|
|
10070
|
+
suspendedAt?: string | null;
|
|
10071
|
+
suspendedReason?: string | null;
|
|
10072
|
+
}
|
|
10073
|
+
export interface UpdateListSuspendedDatabasesRecordInput {
|
|
10074
|
+
clientMutationId?: string;
|
|
10075
|
+
id: string;
|
|
10076
|
+
listSuspendedDatabasesRecordPatch: ListSuspendedDatabasesRecordPatch;
|
|
10077
|
+
}
|
|
10078
|
+
export interface DeleteListSuspendedDatabasesRecordInput {
|
|
10079
|
+
clientMutationId?: string;
|
|
10080
|
+
id: string;
|
|
10081
|
+
}
|
|
10042
10082
|
export interface CreateManagedDomainInput {
|
|
10043
10083
|
clientMutationId?: string;
|
|
10044
10084
|
managedDomain: {
|
|
@@ -10460,7 +10500,6 @@ export interface DeletePlatformEmailIdentityInput {
|
|
|
10460
10500
|
export interface CreatePlatformEmailProviderAccountInput {
|
|
10461
10501
|
clientMutationId?: string;
|
|
10462
10502
|
platformEmailProviderAccount: {
|
|
10463
|
-
apiBaseUrl?: string;
|
|
10464
10503
|
credentialsSecretName: string;
|
|
10465
10504
|
isActive?: boolean;
|
|
10466
10505
|
name: string;
|
|
@@ -10475,7 +10514,6 @@ export interface CreatePlatformEmailProviderAccountInput {
|
|
|
10475
10514
|
};
|
|
10476
10515
|
}
|
|
10477
10516
|
export interface PlatformEmailProviderAccountPatch {
|
|
10478
|
-
apiBaseUrl?: string | null;
|
|
10479
10517
|
credentialsSecretName?: string | null;
|
|
10480
10518
|
isActive?: boolean | null;
|
|
10481
10519
|
name?: string | null;
|
|
@@ -13568,8 +13606,6 @@ export interface EmailIdentityInput {
|
|
|
13568
13606
|
}
|
|
13569
13607
|
/** An input for mutations affecting `EmailProviderAccount` */
|
|
13570
13608
|
export interface EmailProviderAccountInput {
|
|
13571
|
-
/** Provider API base URL when it is not the provider default (e.g. Mailgun EU) */
|
|
13572
|
-
apiBaseUrl?: string;
|
|
13573
13609
|
createdAt?: string;
|
|
13574
13610
|
/** Name of the secret holding this account's API key or SMTP password. The value is resolved from the secret store at send time (realm = this row's id) and is never stored here. */
|
|
13575
13611
|
credentialsSecretName: string;
|
|
@@ -13584,7 +13620,7 @@ export interface EmailProviderAccountInput {
|
|
|
13584
13620
|
provider: string;
|
|
13585
13621
|
/** Account identifier at the provider — the Mailgun sending domain, the SES verified identity, the Postmark server name */
|
|
13586
13622
|
providerAccountName?: string;
|
|
13587
|
-
/** Provider region
|
|
13623
|
+
/** Provider region; the provider API host is derived from it, never stored (Mailgun: us or eu, unset meaning us) */
|
|
13588
13624
|
region?: string;
|
|
13589
13625
|
/** SMTP host (provider = smtp, or a provider addressed over SMTP) */
|
|
13590
13626
|
smtpHost?: string;
|
|
@@ -14105,8 +14141,6 @@ export interface PlatformEmailIdentityInput {
|
|
|
14105
14141
|
}
|
|
14106
14142
|
/** An input for mutations affecting `PlatformEmailProviderAccount` */
|
|
14107
14143
|
export interface PlatformEmailProviderAccountInput {
|
|
14108
|
-
/** Provider API base URL when it is not the provider default (e.g. Mailgun EU) */
|
|
14109
|
-
apiBaseUrl?: string;
|
|
14110
14144
|
createdAt?: string;
|
|
14111
14145
|
/** Name of the secret holding this account's API key or SMTP password. The value is resolved from the secret store at send time (realm = this row's id) and is never stored here. */
|
|
14112
14146
|
credentialsSecretName: string;
|
|
@@ -14119,7 +14153,7 @@ export interface PlatformEmailProviderAccountInput {
|
|
|
14119
14153
|
provider: string;
|
|
14120
14154
|
/** Account identifier at the provider — the Mailgun sending domain, the SES verified identity, the Postmark server name */
|
|
14121
14155
|
providerAccountName?: string;
|
|
14122
|
-
/** Provider region
|
|
14156
|
+
/** Provider region; the provider API host is derived from it, never stored (Mailgun: us or eu, unset meaning us) */
|
|
14123
14157
|
region?: string;
|
|
14124
14158
|
/** SMTP host (provider = smtp, or a provider addressed over SMTP) */
|
|
14125
14159
|
smtpHost?: string;
|
|
@@ -14787,7 +14821,7 @@ export interface TableInput {
|
|
|
14787
14821
|
schemaId: string;
|
|
14788
14822
|
singularName?: string;
|
|
14789
14823
|
smartTags?: Record<string, unknown>;
|
|
14790
|
-
/** Declarative step-up auth guard: jsonb object mapping DML verbs (INSERT, UPDATE, DELETE) to a step-up spec. Values: true (default fresh_auth), a type string (password / mfa /
|
|
14824
|
+
/** Declarative step-up auth guard: jsonb object mapping DML verbs (INSERT, UPDATE, DELETE) to a step-up spec. Values: true (default fresh_auth), a type string (password / mfa / password_or_mfa / fresh_auth), or an object {type, min_age, min_age_lookup, conditions} where min_age is an interval string (e.g. 6 hours) gating the guard to rows older than that age (UPDATE/DELETE only), min_age_lookup resolves per-row windows from a lookup table, and conditions is a declarative WHEN-clause tree compiled by build_condition_expr. */
|
|
14791
14825
|
stepUp?: Record<string, unknown>;
|
|
14792
14826
|
tags?: string[];
|
|
14793
14827
|
timestamps?: boolean;
|
|
@@ -18012,8 +18046,6 @@ export interface RedirectFilter {
|
|
|
18012
18046
|
export interface EmailProviderAccountFilter {
|
|
18013
18047
|
/** Checks for all expressions in this list. */
|
|
18014
18048
|
and?: EmailProviderAccountFilter[];
|
|
18015
|
-
/** Filter by the object’s `apiBaseUrl` field. */
|
|
18016
|
-
apiBaseUrl?: StringFilter;
|
|
18017
18049
|
/** Filter by the object’s `createdAt` field. */
|
|
18018
18050
|
createdAt?: DatetimeFilter;
|
|
18019
18051
|
/** Filter by the object’s `credentialsSecretName` field. */
|
|
@@ -18267,8 +18299,6 @@ export interface PlatformSiteFilter {
|
|
|
18267
18299
|
export interface PlatformEmailProviderAccountFilter {
|
|
18268
18300
|
/** Checks for all expressions in this list. */
|
|
18269
18301
|
and?: PlatformEmailProviderAccountFilter[];
|
|
18270
|
-
/** Filter by the object’s `apiBaseUrl` field. */
|
|
18271
|
-
apiBaseUrl?: StringFilter;
|
|
18272
18302
|
/** Filter by the object’s `createdAt` field. */
|
|
18273
18303
|
createdAt?: DatetimeFilter;
|
|
18274
18304
|
/** Filter by the object’s `credentialsSecretName` field. */
|
|
@@ -35,6 +35,7 @@ export { GetSitePreviewsRecordModel } from './getSitePreviewsRecord';
|
|
|
35
35
|
export { HostnameBindingModel } from './hostnameBinding';
|
|
36
36
|
export { IdentityProviderRegistryModel } from './identityProviderRegistry';
|
|
37
37
|
export { IndexModel } from './indexModel';
|
|
38
|
+
export { ListSuspendedDatabasesRecordModel } from './listSuspendedDatabasesRecord';
|
|
38
39
|
export { ManagedDomainModel } from './managedDomain';
|
|
39
40
|
export { NodeTypeRegistryModel } from './nodeTypeRegistry';
|
|
40
41
|
export { PageModel } from './page';
|
package/api/orm/models/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.ViewBehaviorModel = exports.UniqueConstraintModel = exports.UniqueConstraintBehaviorModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.TableBehaviorModel = exports.SqlActionModel = exports.SpatialRelationModel = exports.SiteWebConfigModel = exports.SiteThemeModel = exports.SiteReleaseModel = exports.SiteModuleModel = exports.SiteMetadatumModel = exports.SiteErrorPageModel = exports.SiteDeepLinkModel = exports.SiteModel = exports.SiteAppLinkModel = exports.SchemaGrantModel = exports.SchemaModel = exports.RouteModel = exports.RouteBindingModel = exports.RlsSettingModel = exports.RedirectModel = exports.PubkeySettingModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.PlatformSiteWebConfigModel = exports.PlatformSiteThemeModel = exports.PlatformSiteReleaseModel = exports.PlatformSiteModuleModel = exports.PlatformSiteMetadatumModel = exports.PlatformSiteErrorPageModel = exports.PlatformSiteDeepLinkModel = exports.PlatformSiteModel = void 0;
|
|
3
|
+
exports.PlatformPageModel = exports.PlatformManagedDomainModel = exports.PlatformGetSitePreviewsRecordModel = exports.PlatformEmailSiteIdentityModel = exports.PlatformEmailProviderAccountModel = exports.PlatformEmailIdentityModel = exports.PlatformDomainVerificationModel = exports.PlatformDomainEventModel = exports.PlatformDomainModel = exports.PlatformCorsSettingModel = exports.PlatformApiSettingModel = exports.PlatformApiSchemaModel = exports.PlatformApiModel = exports.PartitionModel = exports.PageModel = exports.NodeTypeRegistryModel = exports.ManagedDomainModel = exports.ListSuspendedDatabasesRecordModel = exports.IndexModel = exports.IdentityProviderRegistryModel = exports.HostnameBindingModel = exports.GetSitePreviewsRecordModel = exports.FunctionModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.ForeignKeyConstraintBehaviorModel = exports.FieldModel = exports.FieldBehaviorModel = exports.ExclusionConstraintModel = exports.EnumModel = exports.EmbeddingChunkModel = exports.EmailSiteIdentityModel = exports.EmailProviderAccountModel = exports.EmailIdentityModel = exports.DomainVerificationModel = exports.DomainTypeModel = exports.DomainEventModel = exports.DomainModel = exports.DeriveModel = exports.DefaultPrivilegeModel = exports.DatabaseTransferModel = exports.DatabaseSettingModel = exports.DatabaseModel = exports.CorsSettingModel = exports.CompositeTypeModel = exports.CheckConstraintModel = exports.AstMigrationModel = exports.ApiSettingModel = exports.ApiSchemaModel = exports.ApiModel = void 0;
|
|
4
|
+
exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.ViewBehaviorModel = exports.UniqueConstraintModel = exports.UniqueConstraintBehaviorModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.TableBehaviorModel = exports.SqlActionModel = exports.SpatialRelationModel = exports.SiteWebConfigModel = exports.SiteThemeModel = exports.SiteReleaseModel = exports.SiteModuleModel = exports.SiteMetadatumModel = exports.SiteErrorPageModel = exports.SiteDeepLinkModel = exports.SiteModel = exports.SiteAppLinkModel = exports.SchemaGrantModel = exports.SchemaModel = exports.RouteModel = exports.RouteBindingModel = exports.RlsSettingModel = exports.RedirectModel = exports.PubkeySettingModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.PlatformSiteWebConfigModel = exports.PlatformSiteThemeModel = exports.PlatformSiteReleaseModel = exports.PlatformSiteModuleModel = exports.PlatformSiteMetadatumModel = exports.PlatformSiteErrorPageModel = exports.PlatformSiteDeepLinkModel = exports.PlatformSiteModel = exports.PlatformSiteAppLinkModel = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* Models barrel export
|
|
7
7
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -71,6 +71,8 @@ var identityProviderRegistry_1 = require("./identityProviderRegistry");
|
|
|
71
71
|
Object.defineProperty(exports, "IdentityProviderRegistryModel", { enumerable: true, get: function () { return identityProviderRegistry_1.IdentityProviderRegistryModel; } });
|
|
72
72
|
var indexModel_1 = require("./indexModel");
|
|
73
73
|
Object.defineProperty(exports, "IndexModel", { enumerable: true, get: function () { return indexModel_1.IndexModel; } });
|
|
74
|
+
var listSuspendedDatabasesRecord_1 = require("./listSuspendedDatabasesRecord");
|
|
75
|
+
Object.defineProperty(exports, "ListSuspendedDatabasesRecordModel", { enumerable: true, get: function () { return listSuspendedDatabasesRecord_1.ListSuspendedDatabasesRecordModel; } });
|
|
74
76
|
var managedDomain_1 = require("./managedDomain");
|
|
75
77
|
Object.defineProperty(exports, "ManagedDomainModel", { enumerable: true, get: function () { return managedDomain_1.ManagedDomainModel; } });
|
|
76
78
|
var nodeTypeRegistry_1 = require("./nodeTypeRegistry");
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ListSuspendedDatabasesRecord model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { ListSuspendedDatabasesRecordWithRelations, ListSuspendedDatabasesRecordSelect, ListSuspendedDatabasesRecordFilter, ListSuspendedDatabasesRecordsOrderBy, CreateListSuspendedDatabasesRecordInput } from '../input-types';
|
|
10
|
+
export declare class ListSuspendedDatabasesRecordModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends ListSuspendedDatabasesRecordSelect>(args: FindManyArgs<S, ListSuspendedDatabasesRecordFilter, ListSuspendedDatabasesRecordsOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, ListSuspendedDatabasesRecordSelect>): QueryBuilder<{
|
|
16
|
+
listSuspendedDatabases: ConnectionResult<InferSelectResult<ListSuspendedDatabasesRecordWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends ListSuspendedDatabasesRecordSelect>(args: FindFirstArgs<S, ListSuspendedDatabasesRecordFilter, ListSuspendedDatabasesRecordsOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, ListSuspendedDatabasesRecordSelect>): QueryBuilder<{
|
|
21
|
+
listSuspendedDatabasesRecord: InferSelectResult<ListSuspendedDatabasesRecordWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends ListSuspendedDatabasesRecordSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, ListSuspendedDatabasesRecordSelect>): QueryBuilder<{
|
|
27
|
+
listSuspendedDatabasesRecord: InferSelectResult<ListSuspendedDatabasesRecordWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends ListSuspendedDatabasesRecordSelect>(args: CreateArgs<S, CreateListSuspendedDatabasesRecordInput['listSuspendedDatabasesRecord']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, ListSuspendedDatabasesRecordSelect>): QueryBuilder<{
|
|
32
|
+
createListSuspendedDatabasesRecord: {
|
|
33
|
+
listSuspendedDatabasesRecord: InferSelectResult<ListSuspendedDatabasesRecordWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListSuspendedDatabasesRecordModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class ListSuspendedDatabasesRecordModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ListSuspendedDatabasesRecord', 'listSuspendedDatabases', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'ListSuspendedDatabasesRecordFilter', 'ListSuspendedDatabasesRecordsOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'ListSuspendedDatabasesRecord',
|
|
25
|
+
fieldName: 'listSuspendedDatabases',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ListSuspendedDatabasesRecord', 'listSuspendedDatabases', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'ListSuspendedDatabasesRecordFilter', 'ListSuspendedDatabasesRecordsOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'ListSuspendedDatabasesRecord',
|
|
39
|
+
fieldName: 'listSuspendedDatabasesRecord',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
listSuspendedDatabasesRecord: data.listSuspendedDatabases?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ListSuspendedDatabasesRecord', 'listSuspendedDatabases', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'ListSuspendedDatabasesRecordFilter', 'ListSuspendedDatabasesRecordsOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'ListSuspendedDatabasesRecord',
|
|
60
|
+
fieldName: 'listSuspendedDatabasesRecord',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
listSuspendedDatabasesRecord: data.listSuspendedDatabases?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('ListSuspendedDatabasesRecord', 'createListSuspendedDatabasesRecord', 'listSuspendedDatabasesRecord', args.select, args.data, 'CreateListSuspendedDatabasesRecordInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'ListSuspendedDatabasesRecord',
|
|
74
|
+
fieldName: 'createListSuspendedDatabasesRecord',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.ListSuspendedDatabasesRecordModel = ListSuspendedDatabasesRecordModel;
|
|
@@ -5,7 +5,7 @@ const utils_1 = require("../utils");
|
|
|
5
5
|
exports.default = async (argv, prompter, _options) => {
|
|
6
6
|
try {
|
|
7
7
|
if (argv.help || argv.h) {
|
|
8
|
-
console.log('
|
|
8
|
+
console.log('request-magic-link - requestMagicLink\n\nUsage: request-magic-link [OPTIONS]\n');
|
|
9
9
|
process.exit(0);
|
|
10
10
|
}
|
|
11
11
|
const answers = await prompter.prompt(argv, [
|
|
@@ -20,14 +20,14 @@ exports.default = async (argv, prompter, _options) => {
|
|
|
20
20
|
const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
|
|
21
21
|
const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
|
|
22
22
|
const result = await client.mutation
|
|
23
|
-
.
|
|
23
|
+
.requestMagicLink(parsedAnswers, {
|
|
24
24
|
select: selectFields,
|
|
25
25
|
})
|
|
26
26
|
.execute();
|
|
27
27
|
console.log(JSON.stringify(result, null, 2));
|
|
28
28
|
}
|
|
29
29
|
catch (error) {
|
|
30
|
-
console.error('Failed:
|
|
30
|
+
console.error('Failed: requestMagicLink');
|
|
31
31
|
if (error instanceof Error) {
|
|
32
32
|
console.error(error.message);
|
|
33
33
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command for mutation sendMfaChallengeCode
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const executor_1 = require("../executor");
|
|
4
|
+
const utils_1 = require("../utils");
|
|
5
|
+
exports.default = async (argv, prompter, _options) => {
|
|
6
|
+
try {
|
|
7
|
+
if (argv.help || argv.h) {
|
|
8
|
+
console.log('send-mfa-challenge-code - sendMfaChallengeCode\n\nUsage: send-mfa-challenge-code [OPTIONS]\n');
|
|
9
|
+
process.exit(0);
|
|
10
|
+
}
|
|
11
|
+
const answers = await prompter.prompt(argv, [
|
|
12
|
+
{
|
|
13
|
+
type: 'text',
|
|
14
|
+
name: 'input',
|
|
15
|
+
message: 'The exclusive input argument for this mutation. An object type, make sure to see documentation for this object\u2019s fields.',
|
|
16
|
+
required: true,
|
|
17
|
+
},
|
|
18
|
+
]);
|
|
19
|
+
const client = (0, executor_1.getClient)();
|
|
20
|
+
const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
|
|
21
|
+
const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
|
|
22
|
+
const result = await client.mutation
|
|
23
|
+
.sendMfaChallengeCode(parsedAnswers, {
|
|
24
|
+
select: selectFields,
|
|
25
|
+
})
|
|
26
|
+
.execute();
|
|
27
|
+
console.log(JSON.stringify(result, null, 2));
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
console.error('Failed: sendMfaChallengeCode');
|
|
31
|
+
if (error instanceof Error) {
|
|
32
|
+
console.error(error.message);
|
|
33
|
+
}
|
|
34
|
+
process.exit(1);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const executor_1 = require("../executor");
|
|
4
|
+
const utils_1 = require("../utils");
|
|
5
|
+
exports.default = async (argv, prompter, _options) => {
|
|
6
|
+
try {
|
|
7
|
+
if (argv.help || argv.h) {
|
|
8
|
+
console.log('send-sms-otp - sendSmsOtp\n\nUsage: send-sms-otp [OPTIONS]\n');
|
|
9
|
+
process.exit(0);
|
|
10
|
+
}
|
|
11
|
+
const answers = await prompter.prompt(argv, [
|
|
12
|
+
{
|
|
13
|
+
type: 'text',
|
|
14
|
+
name: 'input',
|
|
15
|
+
message: 'The exclusive input argument for this mutation. An object type, make sure to see documentation for this object\u2019s fields.',
|
|
16
|
+
required: true,
|
|
17
|
+
},
|
|
18
|
+
]);
|
|
19
|
+
const client = (0, executor_1.getClient)();
|
|
20
|
+
const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
|
|
21
|
+
const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
|
|
22
|
+
const result = await client.mutation
|
|
23
|
+
.sendSmsOtp(parsedAnswers, {
|
|
24
|
+
select: selectFields,
|
|
25
|
+
})
|
|
26
|
+
.execute();
|
|
27
|
+
console.log(JSON.stringify(result, null, 2));
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
console.error('Failed: sendSmsOtp');
|
|
31
|
+
if (error instanceof Error) {
|
|
32
|
+
console.error(error.message);
|
|
33
|
+
}
|
|
34
|
+
process.exit(1);
|
|
35
|
+
}
|
|
36
|
+
};
|