@constructive-io/sdk 1.19.7 → 1.19.9
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/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/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/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/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/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/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/orm/input-types.d.ts +26 -48
- package/esm/remote/orm/input-types.d.ts +13 -1
- package/modules/orm/input-types.d.ts +26 -48
- package/package.json +5 -5
- package/remote/orm/input-types.d.ts +13 -1
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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,76 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class ListSuspendedDatabasesRecordModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('ListSuspendedDatabasesRecord', 'listSuspendedDatabases', args.select, {
|
|
10
|
+
where: args?.where,
|
|
11
|
+
orderBy: args?.orderBy,
|
|
12
|
+
first: args?.first,
|
|
13
|
+
last: args?.last,
|
|
14
|
+
after: args?.after,
|
|
15
|
+
before: args?.before,
|
|
16
|
+
offset: args?.offset,
|
|
17
|
+
}, 'ListSuspendedDatabasesRecordFilter', 'ListSuspendedDatabasesRecordsOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'ListSuspendedDatabasesRecord',
|
|
22
|
+
fieldName: 'listSuspendedDatabases',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('ListSuspendedDatabasesRecord', 'listSuspendedDatabases', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'ListSuspendedDatabasesRecordFilter', 'ListSuspendedDatabasesRecordsOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'ListSuspendedDatabasesRecord',
|
|
36
|
+
fieldName: 'listSuspendedDatabasesRecord',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
listSuspendedDatabasesRecord: data.listSuspendedDatabases?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('ListSuspendedDatabasesRecord', 'listSuspendedDatabases', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'ListSuspendedDatabasesRecordFilter', 'ListSuspendedDatabasesRecordsOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'ListSuspendedDatabasesRecord',
|
|
57
|
+
fieldName: 'listSuspendedDatabasesRecord',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
listSuspendedDatabasesRecord: data.listSuspendedDatabases?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('ListSuspendedDatabasesRecord', 'createListSuspendedDatabasesRecord', 'listSuspendedDatabasesRecord', args.select, args.data, 'CreateListSuspendedDatabasesRecordInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'ListSuspendedDatabasesRecord',
|
|
71
|
+
fieldName: 'createListSuspendedDatabasesRecord',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
}
|
package/esm/auth/orm/index.d.ts
CHANGED
|
@@ -218,11 +218,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
218
218
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
219
219
|
provisionBucket: import("./select-types").InferSelectResult<import("./input-types").ProvisionBucketPayload, S> | null;
|
|
220
220
|
}>;
|
|
221
|
-
provisionNewUser: <S extends import("./input-types").ProvisionNewUserPayloadSelect>(args: import("./mutation").ProvisionNewUserVariables, options: {
|
|
222
|
-
select: S;
|
|
223
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionNewUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
224
|
-
provisionNewUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionNewUserPayload, S> | null;
|
|
225
|
-
}>;
|
|
226
221
|
refreshAccessToken: <S extends import("./input-types").RefreshAccessTokenPayloadSelect>(args: import("./mutation").RefreshAccessTokenVariables, options: {
|
|
227
222
|
select: S;
|
|
228
223
|
} & import("./select-types").StrictSelect<S, import("./input-types").RefreshAccessTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -233,6 +228,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
233
228
|
} & import("./select-types").StrictSelect<S, import("./input-types").RequestCrossOriginTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
234
229
|
requestCrossOriginToken: import("./select-types").InferSelectResult<import("./input-types").RequestCrossOriginTokenPayload, S> | null;
|
|
235
230
|
}>;
|
|
231
|
+
requestMagicLink: <S extends import("./input-types").RequestMagicLinkPayloadSelect>(args: import("./mutation").RequestMagicLinkVariables, options: {
|
|
232
|
+
select: S;
|
|
233
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RequestMagicLinkPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
234
|
+
requestMagicLink: import("./select-types").InferSelectResult<import("./input-types").RequestMagicLinkPayload, S> | null;
|
|
235
|
+
}>;
|
|
236
236
|
resetPassword: <S extends import("./input-types").ResetPasswordPayloadSelect>(args: import("./mutation").ResetPasswordVariables, options: {
|
|
237
237
|
select: S;
|
|
238
238
|
} & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -258,11 +258,21 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
258
258
|
} & import("./select-types").StrictSelect<S, import("./input-types").SendAccountDeletionEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
259
259
|
sendAccountDeletionEmail: import("./select-types").InferSelectResult<import("./input-types").SendAccountDeletionEmailPayload, S> | null;
|
|
260
260
|
}>;
|
|
261
|
+
sendMfaChallengeCode: <S extends import("./input-types").SendMfaChallengeCodePayloadSelect>(args: import("./mutation").SendMfaChallengeCodeVariables, options: {
|
|
262
|
+
select: S;
|
|
263
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SendMfaChallengeCodePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
264
|
+
sendMfaChallengeCode: import("./select-types").InferSelectResult<import("./input-types").SendMfaChallengeCodePayload, S> | null;
|
|
265
|
+
}>;
|
|
261
266
|
sendPhoneVerificationCode: <S extends import("./input-types").SendPhoneVerificationCodePayloadSelect>(args: import("./mutation").SendPhoneVerificationCodeVariables, options: {
|
|
262
267
|
select: S;
|
|
263
268
|
} & import("./select-types").StrictSelect<S, import("./input-types").SendPhoneVerificationCodePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
264
269
|
sendPhoneVerificationCode: import("./select-types").InferSelectResult<import("./input-types").SendPhoneVerificationCodePayload, S> | null;
|
|
265
270
|
}>;
|
|
271
|
+
sendSmsOtp: <S extends import("./input-types").SendSmsOtpPayloadSelect>(args: import("./mutation").SendSmsOtpVariables, options: {
|
|
272
|
+
select: S;
|
|
273
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SendSmsOtpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
274
|
+
sendSmsOtp: import("./select-types").InferSelectResult<import("./input-types").SendSmsOtpPayload, S> | null;
|
|
275
|
+
}>;
|
|
266
276
|
sendVerificationEmail: <S extends import("./input-types").SendVerificationEmailPayloadSelect>(args: import("./mutation").SendVerificationEmailVariables, options: {
|
|
267
277
|
select: S;
|
|
268
278
|
} & import("./select-types").StrictSelect<S, import("./input-types").SendVerificationEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -1713,7 +1713,6 @@ export interface CheckPasswordInput {
|
|
|
1713
1713
|
password?: string;
|
|
1714
1714
|
}
|
|
1715
1715
|
export interface CompleteMfaChallengeInput {
|
|
1716
|
-
authMethod?: string;
|
|
1717
1716
|
clientMutationId?: string;
|
|
1718
1717
|
credentialKind?: string;
|
|
1719
1718
|
deviceToken?: string;
|
|
@@ -1834,11 +1833,6 @@ export interface ProvisionBucketInput {
|
|
|
1834
1833
|
*/
|
|
1835
1834
|
ownerId?: string;
|
|
1836
1835
|
}
|
|
1837
|
-
export interface ProvisionNewUserInput {
|
|
1838
|
-
clientMutationId?: string;
|
|
1839
|
-
email?: string;
|
|
1840
|
-
password?: string;
|
|
1841
|
-
}
|
|
1842
1836
|
export interface RefreshAccessTokenInput {
|
|
1843
1837
|
clientMutationId?: string;
|
|
1844
1838
|
token?: string;
|
|
@@ -1850,6 +1844,10 @@ export interface RequestCrossOriginTokenInput {
|
|
|
1850
1844
|
password?: string;
|
|
1851
1845
|
rememberMe?: boolean;
|
|
1852
1846
|
}
|
|
1847
|
+
export interface RequestMagicLinkInput {
|
|
1848
|
+
clientMutationId?: string;
|
|
1849
|
+
email?: string;
|
|
1850
|
+
}
|
|
1853
1851
|
export interface ResetPasswordInput {
|
|
1854
1852
|
clientMutationId?: string;
|
|
1855
1853
|
newPassword?: string;
|
|
@@ -1872,10 +1870,20 @@ export interface RevokeSessionInput {
|
|
|
1872
1870
|
export interface SendAccountDeletionEmailInput {
|
|
1873
1871
|
clientMutationId?: string;
|
|
1874
1872
|
}
|
|
1873
|
+
export interface SendMfaChallengeCodeInput {
|
|
1874
|
+
clientMutationId?: string;
|
|
1875
|
+
mfaChallengeToken?: string;
|
|
1876
|
+
mfaMethod?: string;
|
|
1877
|
+
userId?: string;
|
|
1878
|
+
}
|
|
1875
1879
|
export interface SendPhoneVerificationCodeInput {
|
|
1876
1880
|
clientMutationId?: string;
|
|
1877
1881
|
phone?: string;
|
|
1878
1882
|
}
|
|
1883
|
+
export interface SendSmsOtpInput {
|
|
1884
|
+
clientMutationId?: string;
|
|
1885
|
+
phone?: string;
|
|
1886
|
+
}
|
|
1879
1887
|
export interface SendVerificationEmailInput {
|
|
1880
1888
|
clientMutationId?: string;
|
|
1881
1889
|
email?: ConstructiveInternalTypeEmail;
|
|
@@ -3523,14 +3531,6 @@ export type ProvisionBucketPayloadSelect = {
|
|
|
3523
3531
|
jobId?: boolean;
|
|
3524
3532
|
physicalName?: boolean;
|
|
3525
3533
|
};
|
|
3526
|
-
export interface ProvisionNewUserPayload {
|
|
3527
|
-
clientMutationId?: string | null;
|
|
3528
|
-
result?: string | null;
|
|
3529
|
-
}
|
|
3530
|
-
export type ProvisionNewUserPayloadSelect = {
|
|
3531
|
-
clientMutationId?: boolean;
|
|
3532
|
-
result?: boolean;
|
|
3533
|
-
};
|
|
3534
3534
|
export interface RefreshAccessTokenPayload {
|
|
3535
3535
|
clientMutationId?: string | null;
|
|
3536
3536
|
result?: RefreshAccessTokenRecord | null;
|
|
@@ -3549,6 +3549,12 @@ export type RequestCrossOriginTokenPayloadSelect = {
|
|
|
3549
3549
|
clientMutationId?: boolean;
|
|
3550
3550
|
result?: boolean;
|
|
3551
3551
|
};
|
|
3552
|
+
export interface RequestMagicLinkPayload {
|
|
3553
|
+
clientMutationId?: string | null;
|
|
3554
|
+
}
|
|
3555
|
+
export type RequestMagicLinkPayloadSelect = {
|
|
3556
|
+
clientMutationId?: boolean;
|
|
3557
|
+
};
|
|
3552
3558
|
export interface ResetPasswordPayload {
|
|
3553
3559
|
clientMutationId?: string | null;
|
|
3554
3560
|
result?: boolean | null;
|
|
@@ -3589,6 +3595,14 @@ export type SendAccountDeletionEmailPayloadSelect = {
|
|
|
3589
3595
|
clientMutationId?: boolean;
|
|
3590
3596
|
result?: boolean;
|
|
3591
3597
|
};
|
|
3598
|
+
export interface SendMfaChallengeCodePayload {
|
|
3599
|
+
clientMutationId?: string | null;
|
|
3600
|
+
result?: boolean | null;
|
|
3601
|
+
}
|
|
3602
|
+
export type SendMfaChallengeCodePayloadSelect = {
|
|
3603
|
+
clientMutationId?: boolean;
|
|
3604
|
+
result?: boolean;
|
|
3605
|
+
};
|
|
3592
3606
|
export interface SendPhoneVerificationCodePayload {
|
|
3593
3607
|
clientMutationId?: string | null;
|
|
3594
3608
|
result?: boolean | null;
|
|
@@ -3597,6 +3611,14 @@ export type SendPhoneVerificationCodePayloadSelect = {
|
|
|
3597
3611
|
clientMutationId?: boolean;
|
|
3598
3612
|
result?: boolean;
|
|
3599
3613
|
};
|
|
3614
|
+
export interface SendSmsOtpPayload {
|
|
3615
|
+
clientMutationId?: string | null;
|
|
3616
|
+
result?: boolean | null;
|
|
3617
|
+
}
|
|
3618
|
+
export type SendSmsOtpPayloadSelect = {
|
|
3619
|
+
clientMutationId?: boolean;
|
|
3620
|
+
result?: boolean;
|
|
3621
|
+
};
|
|
3600
3622
|
export interface SendVerificationEmailPayload {
|
|
3601
3623
|
clientMutationId?: string | null;
|
|
3602
3624
|
result?: boolean | null;
|
|
@@ -4282,6 +4304,8 @@ export interface SignInMagicLinkRecord {
|
|
|
4282
4304
|
accessToken?: string | null;
|
|
4283
4305
|
accessTokenExpiresAt?: string | null;
|
|
4284
4306
|
deviceApprovalRequired?: boolean | null;
|
|
4307
|
+
mfaChallengeToken?: string | null;
|
|
4308
|
+
mfaRequired?: boolean | null;
|
|
4285
4309
|
outDeviceToken?: string | null;
|
|
4286
4310
|
userId?: string | null;
|
|
4287
4311
|
}
|
|
@@ -4289,6 +4313,8 @@ export type SignInMagicLinkRecordSelect = {
|
|
|
4289
4313
|
accessToken?: boolean;
|
|
4290
4314
|
accessTokenExpiresAt?: boolean;
|
|
4291
4315
|
deviceApprovalRequired?: boolean;
|
|
4316
|
+
mfaChallengeToken?: boolean;
|
|
4317
|
+
mfaRequired?: boolean;
|
|
4292
4318
|
outDeviceToken?: boolean;
|
|
4293
4319
|
userId?: boolean;
|
|
4294
4320
|
};
|
|
@@ -4296,6 +4322,8 @@ export interface SignInSmsOtpRecord {
|
|
|
4296
4322
|
accessToken?: string | null;
|
|
4297
4323
|
accessTokenExpiresAt?: string | null;
|
|
4298
4324
|
deviceApprovalRequired?: boolean | null;
|
|
4325
|
+
mfaChallengeToken?: string | null;
|
|
4326
|
+
mfaRequired?: boolean | null;
|
|
4299
4327
|
outDeviceToken?: string | null;
|
|
4300
4328
|
userId?: string | null;
|
|
4301
4329
|
}
|
|
@@ -4303,6 +4331,8 @@ export type SignInSmsOtpRecordSelect = {
|
|
|
4303
4331
|
accessToken?: boolean;
|
|
4304
4332
|
accessTokenExpiresAt?: boolean;
|
|
4305
4333
|
deviceApprovalRequired?: boolean;
|
|
4334
|
+
mfaChallengeToken?: boolean;
|
|
4335
|
+
mfaRequired?: boolean;
|
|
4306
4336
|
outDeviceToken?: boolean;
|
|
4307
4337
|
userId?: boolean;
|
|
4308
4338
|
};
|