@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.
Files changed (109) hide show
  1. package/agent/orm/input-types.d.ts +4 -4
  2. package/api/cli/commands/email-provider-account.js +0 -22
  3. package/api/cli/commands/list-suspended-databases-record.d.ts +8 -0
  4. package/api/cli/commands/list-suspended-databases-record.js +152 -0
  5. package/api/cli/commands/platform-email-provider-account.js +0 -22
  6. package/api/cli/commands.js +3 -1
  7. package/api/cli/executor.d.ts +1 -0
  8. package/api/orm/index.d.ts +2 -0
  9. package/api/orm/index.js +2 -0
  10. package/api/orm/input-types.d.ts +60 -30
  11. package/api/orm/models/index.d.ts +1 -0
  12. package/api/orm/models/index.js +4 -2
  13. package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
  14. package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
  15. package/auth/cli/commands/{provision-new-user.d.ts → request-magic-link.d.ts} +1 -1
  16. package/auth/cli/commands/{provision-new-user.js → request-magic-link.js} +3 -3
  17. package/auth/cli/commands/send-mfa-challenge-code.d.ts +8 -0
  18. package/auth/cli/commands/send-mfa-challenge-code.js +36 -0
  19. package/{esm/auth/cli/commands/provision-new-user.d.ts → auth/cli/commands/send-sms-otp.d.ts} +1 -1
  20. package/auth/cli/commands/send-sms-otp.js +36 -0
  21. package/auth/cli/commands.js +7 -3
  22. package/auth/cli/executor.d.ts +15 -5
  23. package/auth/orm/index.d.ts +15 -5
  24. package/auth/orm/input-types.d.ts +44 -14
  25. package/auth/orm/mutation/index.d.ts +25 -9
  26. package/auth/orm/mutation/index.js +36 -12
  27. package/compute/cli/commands/function-execution-logs-append.d.ts +8 -0
  28. package/compute/cli/commands/function-execution-logs-append.js +36 -0
  29. package/compute/cli/commands/function-schedule.d.ts +8 -0
  30. package/compute/cli/commands/function-schedule.js +434 -0
  31. package/compute/cli/commands/platform-function-execution-logs-append.d.ts +8 -0
  32. package/compute/cli/commands/platform-function-execution-logs-append.js +36 -0
  33. package/compute/cli/commands/platform-function-schedule.d.ts +8 -0
  34. package/compute/cli/commands/platform-function-schedule.js +414 -0
  35. package/compute/cli/commands.js +9 -1
  36. package/compute/cli/executor.d.ts +12 -0
  37. package/compute/orm/index.d.ts +14 -0
  38. package/compute/orm/index.js +4 -0
  39. package/compute/orm/input-types.d.ts +553 -4
  40. package/compute/orm/input-types.js +2 -0
  41. package/compute/orm/models/functionSchedule.d.ts +54 -0
  42. package/compute/orm/models/functionSchedule.js +104 -0
  43. package/compute/orm/models/index.d.ts +2 -0
  44. package/compute/orm/models/index.js +7 -3
  45. package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
  46. package/compute/orm/models/platformFunctionSchedule.js +104 -0
  47. package/compute/orm/mutation/index.d.ts +17 -1
  48. package/compute/orm/mutation/index.js +24 -0
  49. package/esm/agent/orm/input-types.d.ts +4 -4
  50. package/esm/api/cli/commands/email-provider-account.js +0 -22
  51. package/esm/api/cli/commands/list-suspended-databases-record.d.ts +8 -0
  52. package/esm/api/cli/commands/list-suspended-databases-record.js +150 -0
  53. package/esm/api/cli/commands/platform-email-provider-account.js +0 -22
  54. package/esm/api/cli/commands.js +3 -1
  55. package/esm/api/cli/executor.d.ts +1 -0
  56. package/esm/api/orm/index.d.ts +2 -0
  57. package/esm/api/orm/index.js +2 -0
  58. package/esm/api/orm/input-types.d.ts +60 -30
  59. package/esm/api/orm/models/index.d.ts +1 -0
  60. package/esm/api/orm/models/index.js +1 -0
  61. package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
  62. package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
  63. package/esm/auth/cli/commands/request-magic-link.d.ts +8 -0
  64. package/esm/auth/cli/commands/{provision-new-user.js → request-magic-link.js} +3 -3
  65. package/esm/auth/cli/commands/send-mfa-challenge-code.d.ts +8 -0
  66. package/esm/auth/cli/commands/send-mfa-challenge-code.js +34 -0
  67. package/esm/auth/cli/commands/send-sms-otp.d.ts +8 -0
  68. package/esm/auth/cli/commands/send-sms-otp.js +34 -0
  69. package/esm/auth/cli/commands.js +7 -3
  70. package/esm/auth/cli/executor.d.ts +15 -5
  71. package/esm/auth/orm/index.d.ts +15 -5
  72. package/esm/auth/orm/input-types.d.ts +44 -14
  73. package/esm/auth/orm/mutation/index.d.ts +25 -9
  74. package/esm/auth/orm/mutation/index.js +36 -12
  75. package/esm/compute/cli/commands/function-execution-logs-append.d.ts +8 -0
  76. package/esm/compute/cli/commands/function-execution-logs-append.js +34 -0
  77. package/esm/compute/cli/commands/function-schedule.d.ts +8 -0
  78. package/esm/compute/cli/commands/function-schedule.js +432 -0
  79. package/esm/compute/cli/commands/platform-function-execution-logs-append.d.ts +8 -0
  80. package/esm/compute/cli/commands/platform-function-execution-logs-append.js +34 -0
  81. package/esm/compute/cli/commands/platform-function-schedule.d.ts +8 -0
  82. package/esm/compute/cli/commands/platform-function-schedule.js +412 -0
  83. package/esm/compute/cli/commands.js +9 -1
  84. package/esm/compute/cli/executor.d.ts +12 -0
  85. package/esm/compute/orm/index.d.ts +14 -0
  86. package/esm/compute/orm/index.js +4 -0
  87. package/esm/compute/orm/input-types.d.ts +553 -4
  88. package/esm/compute/orm/input-types.js +2 -0
  89. package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
  90. package/esm/compute/orm/models/functionSchedule.js +100 -0
  91. package/esm/compute/orm/models/index.d.ts +2 -0
  92. package/esm/compute/orm/models/index.js +2 -0
  93. package/esm/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
  94. package/esm/compute/orm/models/platformFunctionSchedule.js +100 -0
  95. package/esm/compute/orm/mutation/index.d.ts +17 -1
  96. package/esm/compute/orm/mutation/index.js +24 -0
  97. package/esm/modules/cli/commands/billing-provider-module.js +66 -0
  98. package/esm/modules/cli/commands/entity-type-provision.js +0 -88
  99. package/esm/modules/cli/commands/plans-module.js +0 -22
  100. package/esm/modules/orm/input-types.d.ts +26 -48
  101. package/esm/remote/cli/commands/machine.js +22 -0
  102. package/esm/remote/orm/input-types.d.ts +13 -1
  103. package/modules/cli/commands/billing-provider-module.js +66 -0
  104. package/modules/cli/commands/entity-type-provision.js +0 -88
  105. package/modules/cli/commands/plans-module.js +0 -22
  106. package/modules/orm/input-types.d.ts +26 -48
  107. package/package.json +5 -5
  108. package/remote/cli/commands/machine.js +22 -0
  109. 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 for region-addressed providers (e.g. SES us-east-1) */
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 for region-addressed providers (e.g. SES us-east-1) */
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 / fresh_auth; password_or_mfa is the legacy spelling), 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. */
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 = 'API_BASE_URL_ASC' | 'API_BASE_URL_DESC' | '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';
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 = 'API_BASE_URL_ASC' | 'API_BASE_URL_DESC' | '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';
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 for region-addressed providers (e.g. SES us-east-1) */
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 for region-addressed providers (e.g. SES us-east-1) */
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 / fresh_auth; password_or_mfa is the legacy spelling), 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. */
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
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * CLI command for mutation requestMagicLink
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;
@@ -3,7 +3,7 @@ import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
3
3
  export default async (argv, prompter, _options) => {
4
4
  try {
5
5
  if (argv.help || argv.h) {
6
- console.log('provision-new-user - provisionNewUser\n\nUsage: provision-new-user [OPTIONS]\n');
6
+ console.log('request-magic-link - requestMagicLink\n\nUsage: request-magic-link [OPTIONS]\n');
7
7
  process.exit(0);
8
8
  }
9
9
  const answers = await prompter.prompt(argv, [
@@ -18,14 +18,14 @@ export default async (argv, prompter, _options) => {
18
18
  const parsedAnswers = unflattenDotNotation(answers);
19
19
  const selectFields = buildSelectFromPaths(argv.select ?? 'clientMutationId');
20
20
  const result = await client.mutation
21
- .provisionNewUser(parsedAnswers, {
21
+ .requestMagicLink(parsedAnswers, {
22
22
  select: selectFields,
23
23
  })
24
24
  .execute();
25
25
  console.log(JSON.stringify(result, null, 2));
26
26
  }
27
27
  catch (error) {
28
- console.error('Failed: provisionNewUser');
28
+ console.error('Failed: requestMagicLink');
29
29
  if (error instanceof Error) {
30
30
  console.error(error.message);
31
31
  }
@@ -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,34 @@
1
+ import { getClient } from '../executor';
2
+ import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
3
+ export default async (argv, prompter, _options) => {
4
+ try {
5
+ if (argv.help || argv.h) {
6
+ console.log('send-mfa-challenge-code - sendMfaChallengeCode\n\nUsage: send-mfa-challenge-code [OPTIONS]\n');
7
+ process.exit(0);
8
+ }
9
+ const answers = await prompter.prompt(argv, [
10
+ {
11
+ type: 'text',
12
+ name: 'input',
13
+ message: 'The exclusive input argument for this mutation. An object type, make sure to see documentation for this object\u2019s fields.',
14
+ required: true,
15
+ },
16
+ ]);
17
+ const client = getClient();
18
+ const parsedAnswers = unflattenDotNotation(answers);
19
+ const selectFields = buildSelectFromPaths(argv.select ?? 'clientMutationId');
20
+ const result = await client.mutation
21
+ .sendMfaChallengeCode(parsedAnswers, {
22
+ select: selectFields,
23
+ })
24
+ .execute();
25
+ console.log(JSON.stringify(result, null, 2));
26
+ }
27
+ catch (error) {
28
+ console.error('Failed: sendMfaChallengeCode');
29
+ if (error instanceof Error) {
30
+ console.error(error.message);
31
+ }
32
+ process.exit(1);
33
+ }
34
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * CLI command for mutation sendSmsOtp
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,34 @@
1
+ import { getClient } from '../executor';
2
+ import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
3
+ export default async (argv, prompter, _options) => {
4
+ try {
5
+ if (argv.help || argv.h) {
6
+ console.log('send-sms-otp - sendSmsOtp\n\nUsage: send-sms-otp [OPTIONS]\n');
7
+ process.exit(0);
8
+ }
9
+ const answers = await prompter.prompt(argv, [
10
+ {
11
+ type: 'text',
12
+ name: 'input',
13
+ message: 'The exclusive input argument for this mutation. An object type, make sure to see documentation for this object\u2019s fields.',
14
+ required: true,
15
+ },
16
+ ]);
17
+ const client = getClient();
18
+ const parsedAnswers = unflattenDotNotation(answers);
19
+ const selectFields = buildSelectFromPaths(argv.select ?? 'clientMutationId');
20
+ const result = await client.mutation
21
+ .sendSmsOtp(parsedAnswers, {
22
+ select: selectFields,
23
+ })
24
+ .execute();
25
+ console.log(JSON.stringify(result, null, 2));
26
+ }
27
+ catch (error) {
28
+ console.error('Failed: sendSmsOtp');
29
+ if (error instanceof Error) {
30
+ console.error(error.message);
31
+ }
32
+ process.exit(1);
33
+ }
34
+ };
@@ -52,15 +52,17 @@ import generateBackupCodesCmd from './commands/generate-backup-codes';
52
52
  import linkIdentityCmd from './commands/link-identity';
53
53
  import mintAccessTokenCmd from './commands/mint-access-token';
54
54
  import provisionBucketCmd from './commands/provision-bucket';
55
- import provisionNewUserCmd from './commands/provision-new-user';
56
55
  import refreshAccessTokenCmd from './commands/refresh-access-token';
57
56
  import requestCrossOriginTokenCmd from './commands/request-cross-origin-token';
57
+ import requestMagicLinkCmd from './commands/request-magic-link';
58
58
  import resetPasswordCmd from './commands/reset-password';
59
59
  import revokeApiKeyCmd from './commands/revoke-api-key';
60
60
  import revokeOrgApiKeyCmd from './commands/revoke-org-api-key';
61
61
  import revokeSessionCmd from './commands/revoke-session';
62
62
  import sendAccountDeletionEmailCmd from './commands/send-account-deletion-email';
63
+ import sendMfaChallengeCodeCmd from './commands/send-mfa-challenge-code';
63
64
  import sendPhoneVerificationCodeCmd from './commands/send-phone-verification-code';
65
+ import sendSmsOtpCmd from './commands/send-sms-otp';
64
66
  import sendVerificationEmailCmd from './commands/send-verification-email';
65
67
  import setPasswordCmd from './commands/set-password';
66
68
  import setPrincipalEntitiesCmd from './commands/set-principal-entities';
@@ -127,15 +129,17 @@ const createCommandMap = () => ({
127
129
  'link-identity': linkIdentityCmd,
128
130
  'mint-access-token': mintAccessTokenCmd,
129
131
  'provision-bucket': provisionBucketCmd,
130
- 'provision-new-user': provisionNewUserCmd,
131
132
  'refresh-access-token': refreshAccessTokenCmd,
132
133
  'request-cross-origin-token': requestCrossOriginTokenCmd,
134
+ 'request-magic-link': requestMagicLinkCmd,
133
135
  'reset-password': resetPasswordCmd,
134
136
  'revoke-api-key': revokeApiKeyCmd,
135
137
  'revoke-org-api-key': revokeOrgApiKeyCmd,
136
138
  'revoke-session': revokeSessionCmd,
137
139
  'send-account-deletion-email': sendAccountDeletionEmailCmd,
140
+ 'send-mfa-challenge-code': sendMfaChallengeCodeCmd,
138
141
  'send-phone-verification-code': sendPhoneVerificationCodeCmd,
142
+ 'send-sms-otp': sendSmsOtpCmd,
139
143
  'send-verification-email': sendVerificationEmailCmd,
140
144
  'set-password': setPasswordCmd,
141
145
  'set-principal-entities': setPrincipalEntitiesCmd,
@@ -154,7 +158,7 @@ const createCommandMap = () => ({
154
158
  'verify-phone': verifyPhoneCmd,
155
159
  'verify-totp': verifyTotpCmd,
156
160
  });
157
- const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n audit-log-auth auditLogAuth CRUD operations\n crypto-address cryptoAddress CRUD operations\n email email CRUD operations\n identity-provider identityProvider CRUD operations\n org-api-key-list orgApiKeyList CRUD operations\n phone-number phoneNumber CRUD operations\n principal principal CRUD operations\n principal-entity principalEntity CRUD operations\n principal-scope-override principalScopeOverride CRUD operations\n role-type roleType CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n user user CRUD operations\n user-setting userSetting CRUD operations\n user-settings-security userSettingsSecurity CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n current-ip-address currentIpAddress\n current-user currentUser\n current-user-agent currentUserAgent\n current-user-id currentUserId\n get-mfa-status getMfaStatus\n require-step-up requireStepUp\n approve-device approveDevice\n check-password checkPassword\n complete-mfa-challenge completeMfaChallenge\n confirm-delete-account confirmDeleteAccount\n confirm-totp-setup confirmTotpSetup\n create-api-key createApiKey\n create-child-principal createChildPrincipal\n create-org-api-key createOrgApiKey\n create-org-principal createOrgPrincipal\n create-principal-from-preset createPrincipalFromPreset\n delete-org-principal deleteOrgPrincipal\n delete-principal deletePrincipal\n disable-email-mfa disableEmailMfa\n disable-sms-mfa disableSmsMfa\n disable-totp disableTotp\n disconnect-account disconnectAccount\n enable-email-mfa enableEmailMfa\n enable-sms-mfa enableSmsMfa\n enable-totp enableTotp\n extend-token-expires extendTokenExpires\n forgot-password forgotPassword\n generate-backup-codes generateBackupCodes\n link-identity linkIdentity\n mint-access-token mintAccessToken\n provision-bucket Reconcile an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then enqueues the same\nstorage:provision_bucket job used by the INSERT trigger. This is\nidempotent for an already-reconciled bucket; enqueue failures become\nGraphQL errors.\n provision-new-user provisionNewUser\n refresh-access-token refreshAccessToken\n request-cross-origin-token requestCrossOriginToken\n reset-password resetPassword\n revoke-api-key revokeApiKey\n revoke-org-api-key revokeOrgApiKey\n revoke-session revokeSession\n send-account-deletion-email sendAccountDeletionEmail\n send-phone-verification-code sendPhoneVerificationCode\n send-verification-email sendVerificationEmail\n set-password setPassword\n set-principal-entities setPrincipalEntities\n set-principal-scope setPrincipalScope\n sign-in signIn\n sign-in-cross-origin signInCrossOrigin\n sign-in-magic-link signInMagicLink\n sign-in-sms-otp signInSmsOtp\n sign-out signOut\n sign-up signUp\n sign-up-magic-link signUpMagicLink\n sign-up-sms signUpSms\n update-principal updatePrincipal\n verify-email verifyEmail\n verify-password verifyPassword\n verify-phone verifyPhone\n verify-totp verifyTotp\n\n --help, -h Show this help message\n --version, -v Show version\n';
161
+ const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n audit-log-auth auditLogAuth CRUD operations\n crypto-address cryptoAddress CRUD operations\n email email CRUD operations\n identity-provider identityProvider CRUD operations\n org-api-key-list orgApiKeyList CRUD operations\n phone-number phoneNumber CRUD operations\n principal principal CRUD operations\n principal-entity principalEntity CRUD operations\n principal-scope-override principalScopeOverride CRUD operations\n role-type roleType CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n user user CRUD operations\n user-setting userSetting CRUD operations\n user-settings-security userSettingsSecurity CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n current-ip-address currentIpAddress\n current-user currentUser\n current-user-agent currentUserAgent\n current-user-id currentUserId\n get-mfa-status getMfaStatus\n require-step-up requireStepUp\n approve-device approveDevice\n check-password checkPassword\n complete-mfa-challenge completeMfaChallenge\n confirm-delete-account confirmDeleteAccount\n confirm-totp-setup confirmTotpSetup\n create-api-key createApiKey\n create-child-principal createChildPrincipal\n create-org-api-key createOrgApiKey\n create-org-principal createOrgPrincipal\n create-principal-from-preset createPrincipalFromPreset\n delete-org-principal deleteOrgPrincipal\n delete-principal deletePrincipal\n disable-email-mfa disableEmailMfa\n disable-sms-mfa disableSmsMfa\n disable-totp disableTotp\n disconnect-account disconnectAccount\n enable-email-mfa enableEmailMfa\n enable-sms-mfa enableSmsMfa\n enable-totp enableTotp\n extend-token-expires extendTokenExpires\n forgot-password forgotPassword\n generate-backup-codes generateBackupCodes\n link-identity linkIdentity\n mint-access-token mintAccessToken\n provision-bucket Reconcile an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then enqueues the same\nstorage:provision_bucket job used by the INSERT trigger. This is\nidempotent for an already-reconciled bucket; enqueue failures become\nGraphQL errors.\n refresh-access-token refreshAccessToken\n request-cross-origin-token requestCrossOriginToken\n request-magic-link requestMagicLink\n reset-password resetPassword\n revoke-api-key revokeApiKey\n revoke-org-api-key revokeOrgApiKey\n revoke-session revokeSession\n send-account-deletion-email sendAccountDeletionEmail\n send-mfa-challenge-code sendMfaChallengeCode\n send-phone-verification-code sendPhoneVerificationCode\n send-sms-otp sendSmsOtp\n send-verification-email sendVerificationEmail\n set-password setPassword\n set-principal-entities setPrincipalEntities\n set-principal-scope setPrincipalScope\n sign-in signIn\n sign-in-cross-origin signInCrossOrigin\n sign-in-magic-link signInMagicLink\n sign-in-sms-otp signInSmsOtp\n sign-out signOut\n sign-up signUp\n sign-up-magic-link signUpMagicLink\n sign-up-sms signUpSms\n update-principal updatePrincipal\n verify-email verifyEmail\n verify-password verifyPassword\n verify-phone verifyPhone\n verify-totp verifyTotp\n\n --help, -h Show this help message\n --version, -v Show version\n';
158
162
  export const commands = async (argv, prompter, options) => {
159
163
  if (argv.help || argv.h) {
160
164
  console.log(usage);