@constructive-io/sdk 0.20.5 → 0.20.6

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.
@@ -30,6 +30,7 @@ import { SecureTableProvisionModel } from './models/secureTableProvision';
30
30
  import { RelationProvisionModel } from './models/relationProvision';
31
31
  import { SessionSecretsModuleModel } from './models/sessionSecretsModule';
32
32
  import { IdentityProvidersModuleModel } from './models/identityProvidersModule';
33
+ import { RealtimeModuleModel } from './models/realtimeModule';
33
34
  import { SchemaGrantModel } from './models/schemaGrant';
34
35
  import { DefaultPrivilegeModel } from './models/defaultPrivilege';
35
36
  import { EnumModel } from './models/enum';
@@ -208,6 +209,7 @@ export declare function createClient(config: OrmClientConfig): {
208
209
  relationProvision: RelationProvisionModel;
209
210
  sessionSecretsModule: SessionSecretsModuleModel;
210
211
  identityProvidersModule: IdentityProvidersModuleModel;
212
+ realtimeModule: RealtimeModuleModel;
211
213
  schemaGrant: SchemaGrantModel;
212
214
  defaultPrivilege: DefaultPrivilegeModel;
213
215
  enum: EnumModel;
@@ -35,6 +35,7 @@ import { SecureTableProvisionModel } from './models/secureTableProvision';
35
35
  import { RelationProvisionModel } from './models/relationProvision';
36
36
  import { SessionSecretsModuleModel } from './models/sessionSecretsModule';
37
37
  import { IdentityProvidersModuleModel } from './models/identityProvidersModule';
38
+ import { RealtimeModuleModel } from './models/realtimeModule';
38
39
  import { SchemaGrantModel } from './models/schemaGrant';
39
40
  import { DefaultPrivilegeModel } from './models/defaultPrivilege';
40
41
  import { EnumModel } from './models/enum';
@@ -216,6 +217,7 @@ export function createClient(config) {
216
217
  relationProvision: new RelationProvisionModel(client),
217
218
  sessionSecretsModule: new SessionSecretsModuleModel(client),
218
219
  identityProvidersModule: new IdentityProvidersModuleModel(client),
220
+ realtimeModule: new RealtimeModuleModel(client),
219
221
  schemaGrant: new SchemaGrantModel(client),
220
222
  defaultPrivilege: new DefaultPrivilegeModel(client),
221
223
  enum: new EnumModel(client),
@@ -790,6 +790,20 @@ export interface IdentityProvidersModule {
790
790
  tableId?: string | null;
791
791
  tableName?: string | null;
792
792
  }
793
+ export interface RealtimeModule {
794
+ id: string;
795
+ databaseId?: string | null;
796
+ schemaId?: string | null;
797
+ privateSchemaId?: string | null;
798
+ subscriptionsSchemaId?: string | null;
799
+ changeLogTableId?: string | null;
800
+ listenerNodeTableId?: string | null;
801
+ sourceRegistryTableId?: string | null;
802
+ retentionHours?: number | null;
803
+ lookaheadHours?: number | null;
804
+ partitionInterval?: string | null;
805
+ notifyChannel?: string | null;
806
+ }
793
807
  export interface SchemaGrant {
794
808
  id: string;
795
809
  databaseId?: string | null;
@@ -2954,6 +2968,7 @@ export interface DatabaseRelations {
2954
2968
  webauthnAuthModules?: ConnectionResult<WebauthnAuthModule>;
2955
2969
  identityProvidersModules?: ConnectionResult<IdentityProvidersModule>;
2956
2970
  notificationsModules?: ConnectionResult<NotificationsModule>;
2971
+ realtimeModules?: ConnectionResult<RealtimeModule>;
2957
2972
  databaseProvisionModules?: ConnectionResult<DatabaseProvisionModule>;
2958
2973
  }
2959
2974
  export interface SchemaRelations {
@@ -2968,6 +2983,9 @@ export interface SchemaRelations {
2968
2983
  sessionSecretsModules?: ConnectionResult<SessionSecretsModule>;
2969
2984
  identityProvidersModulesByPrivateSchemaId?: ConnectionResult<IdentityProvidersModule>;
2970
2985
  identityProvidersModules?: ConnectionResult<IdentityProvidersModule>;
2986
+ realtimeModulesByPrivateSchemaId?: ConnectionResult<RealtimeModule>;
2987
+ realtimeModules?: ConnectionResult<RealtimeModule>;
2988
+ realtimeModulesBySubscriptionsSchemaId?: ConnectionResult<RealtimeModule>;
2971
2989
  }
2972
2990
  export interface TableRelations {
2973
2991
  database?: Database | null;
@@ -2996,6 +3014,9 @@ export interface TableRelations {
2996
3014
  sessionSecretsModulesBySessionsTableId?: ConnectionResult<SessionSecretsModule>;
2997
3015
  sessionSecretsModules?: ConnectionResult<SessionSecretsModule>;
2998
3016
  identityProvidersModules?: ConnectionResult<IdentityProvidersModule>;
3017
+ realtimeModulesByChangeLogTableId?: ConnectionResult<RealtimeModule>;
3018
+ realtimeModulesByListenerNodeTableId?: ConnectionResult<RealtimeModule>;
3019
+ realtimeModulesBySourceRegistryTableId?: ConnectionResult<RealtimeModule>;
2999
3020
  }
3000
3021
  export interface CheckConstraintRelations {
3001
3022
  database?: Database | null;
@@ -3102,6 +3123,15 @@ export interface IdentityProvidersModuleRelations {
3102
3123
  schema?: Schema | null;
3103
3124
  table?: Table | null;
3104
3125
  }
3126
+ export interface RealtimeModuleRelations {
3127
+ changeLogTable?: Table | null;
3128
+ database?: Database | null;
3129
+ listenerNodeTable?: Table | null;
3130
+ privateSchema?: Schema | null;
3131
+ schema?: Schema | null;
3132
+ sourceRegistryTable?: Table | null;
3133
+ subscriptionsSchema?: Schema | null;
3134
+ }
3105
3135
  export interface SchemaGrantRelations {
3106
3136
  database?: Database | null;
3107
3137
  schema?: Schema | null;
@@ -3787,6 +3817,7 @@ export type SecureTableProvisionWithRelations = SecureTableProvision & SecureTab
3787
3817
  export type RelationProvisionWithRelations = RelationProvision & RelationProvisionRelations;
3788
3818
  export type SessionSecretsModuleWithRelations = SessionSecretsModule & SessionSecretsModuleRelations;
3789
3819
  export type IdentityProvidersModuleWithRelations = IdentityProvidersModule & IdentityProvidersModuleRelations;
3820
+ export type RealtimeModuleWithRelations = RealtimeModule & RealtimeModuleRelations;
3790
3821
  export type SchemaGrantWithRelations = SchemaGrant & SchemaGrantRelations;
3791
3822
  export type DefaultPrivilegeWithRelations = DefaultPrivilege & DefaultPrivilegeRelations;
3792
3823
  export type EnumWithRelations = Enum & EnumRelations;
@@ -4384,6 +4415,12 @@ export type DatabaseSelect = {
4384
4415
  filter?: NotificationsModuleFilter;
4385
4416
  orderBy?: NotificationsModuleOrderBy[];
4386
4417
  };
4418
+ realtimeModules?: {
4419
+ select: RealtimeModuleSelect;
4420
+ first?: number;
4421
+ filter?: RealtimeModuleFilter;
4422
+ orderBy?: RealtimeModuleOrderBy[];
4423
+ };
4387
4424
  databaseProvisionModules?: {
4388
4425
  select: DatabaseProvisionModuleSelect;
4389
4426
  first?: number;
@@ -4469,6 +4506,24 @@ export type SchemaSelect = {
4469
4506
  filter?: IdentityProvidersModuleFilter;
4470
4507
  orderBy?: IdentityProvidersModuleOrderBy[];
4471
4508
  };
4509
+ realtimeModulesByPrivateSchemaId?: {
4510
+ select: RealtimeModuleSelect;
4511
+ first?: number;
4512
+ filter?: RealtimeModuleFilter;
4513
+ orderBy?: RealtimeModuleOrderBy[];
4514
+ };
4515
+ realtimeModules?: {
4516
+ select: RealtimeModuleSelect;
4517
+ first?: number;
4518
+ filter?: RealtimeModuleFilter;
4519
+ orderBy?: RealtimeModuleOrderBy[];
4520
+ };
4521
+ realtimeModulesBySubscriptionsSchemaId?: {
4522
+ select: RealtimeModuleSelect;
4523
+ first?: number;
4524
+ filter?: RealtimeModuleFilter;
4525
+ orderBy?: RealtimeModuleOrderBy[];
4526
+ };
4472
4527
  };
4473
4528
  export type TableSelect = {
4474
4529
  id?: boolean;
@@ -4634,6 +4689,24 @@ export type TableSelect = {
4634
4689
  filter?: IdentityProvidersModuleFilter;
4635
4690
  orderBy?: IdentityProvidersModuleOrderBy[];
4636
4691
  };
4692
+ realtimeModulesByChangeLogTableId?: {
4693
+ select: RealtimeModuleSelect;
4694
+ first?: number;
4695
+ filter?: RealtimeModuleFilter;
4696
+ orderBy?: RealtimeModuleOrderBy[];
4697
+ };
4698
+ realtimeModulesByListenerNodeTableId?: {
4699
+ select: RealtimeModuleSelect;
4700
+ first?: number;
4701
+ filter?: RealtimeModuleFilter;
4702
+ orderBy?: RealtimeModuleOrderBy[];
4703
+ };
4704
+ realtimeModulesBySourceRegistryTableId?: {
4705
+ select: RealtimeModuleSelect;
4706
+ first?: number;
4707
+ filter?: RealtimeModuleFilter;
4708
+ orderBy?: RealtimeModuleOrderBy[];
4709
+ };
4637
4710
  };
4638
4711
  export type CheckConstraintSelect = {
4639
4712
  id?: boolean;
@@ -5158,6 +5231,41 @@ export type IdentityProvidersModuleSelect = {
5158
5231
  select: TableSelect;
5159
5232
  };
5160
5233
  };
5234
+ export type RealtimeModuleSelect = {
5235
+ id?: boolean;
5236
+ databaseId?: boolean;
5237
+ schemaId?: boolean;
5238
+ privateSchemaId?: boolean;
5239
+ subscriptionsSchemaId?: boolean;
5240
+ changeLogTableId?: boolean;
5241
+ listenerNodeTableId?: boolean;
5242
+ sourceRegistryTableId?: boolean;
5243
+ retentionHours?: boolean;
5244
+ lookaheadHours?: boolean;
5245
+ partitionInterval?: boolean;
5246
+ notifyChannel?: boolean;
5247
+ changeLogTable?: {
5248
+ select: TableSelect;
5249
+ };
5250
+ database?: {
5251
+ select: DatabaseSelect;
5252
+ };
5253
+ listenerNodeTable?: {
5254
+ select: TableSelect;
5255
+ };
5256
+ privateSchema?: {
5257
+ select: SchemaSelect;
5258
+ };
5259
+ schema?: {
5260
+ select: SchemaSelect;
5261
+ };
5262
+ sourceRegistryTable?: {
5263
+ select: TableSelect;
5264
+ };
5265
+ subscriptionsSchema?: {
5266
+ select: SchemaSelect;
5267
+ };
5268
+ };
5161
5269
  export type SchemaGrantSelect = {
5162
5270
  id?: boolean;
5163
5271
  databaseId?: boolean;
@@ -8453,6 +8561,10 @@ export interface DatabaseFilter {
8453
8561
  billingProviderModule?: BillingProviderModuleFilter;
8454
8562
  /** A related `billingProviderModule` exists. */
8455
8563
  billingProviderModuleExists?: boolean;
8564
+ /** Filter by the object’s `realtimeModules` relation. */
8565
+ realtimeModules?: DatabaseToManyRealtimeModuleFilter;
8566
+ /** `realtimeModules` exist. */
8567
+ realtimeModulesExist?: boolean;
8456
8568
  /** Filter by the object’s `databaseProvisionModules` relation. */
8457
8569
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
8458
8570
  /** `databaseProvisionModules` exist. */
@@ -8535,6 +8647,18 @@ export interface SchemaFilter {
8535
8647
  identityProvidersModules?: SchemaToManyIdentityProvidersModuleFilter;
8536
8648
  /** `identityProvidersModules` exist. */
8537
8649
  identityProvidersModulesExist?: boolean;
8650
+ /** Filter by the object’s `realtimeModulesByPrivateSchemaId` relation. */
8651
+ realtimeModulesByPrivateSchemaId?: SchemaToManyRealtimeModuleFilter;
8652
+ /** `realtimeModulesByPrivateSchemaId` exist. */
8653
+ realtimeModulesByPrivateSchemaIdExist?: boolean;
8654
+ /** Filter by the object’s `realtimeModules` relation. */
8655
+ realtimeModules?: SchemaToManyRealtimeModuleFilter;
8656
+ /** `realtimeModules` exist. */
8657
+ realtimeModulesExist?: boolean;
8658
+ /** Filter by the object’s `realtimeModulesBySubscriptionsSchemaId` relation. */
8659
+ realtimeModulesBySubscriptionsSchemaId?: SchemaToManyRealtimeModuleFilter;
8660
+ /** `realtimeModulesBySubscriptionsSchemaId` exist. */
8661
+ realtimeModulesBySubscriptionsSchemaIdExist?: boolean;
8538
8662
  }
8539
8663
  export interface TableFilter {
8540
8664
  /** Filter by the object’s `id` field. */
@@ -8681,6 +8805,18 @@ export interface TableFilter {
8681
8805
  identityProvidersModules?: TableToManyIdentityProvidersModuleFilter;
8682
8806
  /** `identityProvidersModules` exist. */
8683
8807
  identityProvidersModulesExist?: boolean;
8808
+ /** Filter by the object’s `realtimeModulesByChangeLogTableId` relation. */
8809
+ realtimeModulesByChangeLogTableId?: TableToManyRealtimeModuleFilter;
8810
+ /** `realtimeModulesByChangeLogTableId` exist. */
8811
+ realtimeModulesByChangeLogTableIdExist?: boolean;
8812
+ /** Filter by the object’s `realtimeModulesByListenerNodeTableId` relation. */
8813
+ realtimeModulesByListenerNodeTableId?: TableToManyRealtimeModuleFilter;
8814
+ /** `realtimeModulesByListenerNodeTableId` exist. */
8815
+ realtimeModulesByListenerNodeTableIdExist?: boolean;
8816
+ /** Filter by the object’s `realtimeModulesBySourceRegistryTableId` relation. */
8817
+ realtimeModulesBySourceRegistryTableId?: TableToManyRealtimeModuleFilter;
8818
+ /** `realtimeModulesBySourceRegistryTableId` exist. */
8819
+ realtimeModulesBySourceRegistryTableIdExist?: boolean;
8684
8820
  }
8685
8821
  export interface CheckConstraintFilter {
8686
8822
  /** Filter by the object’s `id` field. */
@@ -9544,6 +9680,52 @@ export interface IdentityProvidersModuleFilter {
9544
9680
  /** Filter by the object’s `table` relation. */
9545
9681
  table?: TableFilter;
9546
9682
  }
9683
+ export interface RealtimeModuleFilter {
9684
+ /** Filter by the object’s `id` field. */
9685
+ id?: UUIDFilter;
9686
+ /** Filter by the object’s `databaseId` field. */
9687
+ databaseId?: UUIDFilter;
9688
+ /** Filter by the object’s `schemaId` field. */
9689
+ schemaId?: UUIDFilter;
9690
+ /** Filter by the object’s `privateSchemaId` field. */
9691
+ privateSchemaId?: UUIDFilter;
9692
+ /** Filter by the object’s `subscriptionsSchemaId` field. */
9693
+ subscriptionsSchemaId?: UUIDFilter;
9694
+ /** Filter by the object’s `changeLogTableId` field. */
9695
+ changeLogTableId?: UUIDFilter;
9696
+ /** Filter by the object’s `listenerNodeTableId` field. */
9697
+ listenerNodeTableId?: UUIDFilter;
9698
+ /** Filter by the object’s `sourceRegistryTableId` field. */
9699
+ sourceRegistryTableId?: UUIDFilter;
9700
+ /** Filter by the object’s `retentionHours` field. */
9701
+ retentionHours?: IntFilter;
9702
+ /** Filter by the object’s `lookaheadHours` field. */
9703
+ lookaheadHours?: IntFilter;
9704
+ /** Filter by the object’s `partitionInterval` field. */
9705
+ partitionInterval?: StringFilter;
9706
+ /** Filter by the object’s `notifyChannel` field. */
9707
+ notifyChannel?: StringFilter;
9708
+ /** Checks for all expressions in this list. */
9709
+ and?: RealtimeModuleFilter[];
9710
+ /** Checks for any expressions in this list. */
9711
+ or?: RealtimeModuleFilter[];
9712
+ /** Negates the expression. */
9713
+ not?: RealtimeModuleFilter;
9714
+ /** Filter by the object’s `changeLogTable` relation. */
9715
+ changeLogTable?: TableFilter;
9716
+ /** Filter by the object’s `database` relation. */
9717
+ database?: DatabaseFilter;
9718
+ /** Filter by the object’s `listenerNodeTable` relation. */
9719
+ listenerNodeTable?: TableFilter;
9720
+ /** Filter by the object’s `privateSchema` relation. */
9721
+ privateSchema?: SchemaFilter;
9722
+ /** Filter by the object’s `schema` relation. */
9723
+ schema?: SchemaFilter;
9724
+ /** Filter by the object’s `sourceRegistryTable` relation. */
9725
+ sourceRegistryTable?: TableFilter;
9726
+ /** Filter by the object’s `subscriptionsSchema` relation. */
9727
+ subscriptionsSchema?: SchemaFilter;
9728
+ }
9547
9729
  export interface SchemaGrantFilter {
9548
9730
  /** Filter by the object’s `id` field. */
9549
9731
  id?: UUIDFilter;
@@ -13924,6 +14106,7 @@ export type SecureTableProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMA
13924
14106
  export type RelationProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'RELATION_TYPE_ASC' | 'RELATION_TYPE_DESC' | 'SOURCE_TABLE_ID_ASC' | 'SOURCE_TABLE_ID_DESC' | 'TARGET_TABLE_ID_ASC' | 'TARGET_TABLE_ID_DESC' | 'FIELD_NAME_ASC' | 'FIELD_NAME_DESC' | 'DELETE_ACTION_ASC' | 'DELETE_ACTION_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'JUNCTION_TABLE_ID_ASC' | 'JUNCTION_TABLE_ID_DESC' | 'JUNCTION_TABLE_NAME_ASC' | 'JUNCTION_TABLE_NAME_DESC' | 'JUNCTION_SCHEMA_ID_ASC' | 'JUNCTION_SCHEMA_ID_DESC' | 'SOURCE_FIELD_NAME_ASC' | 'SOURCE_FIELD_NAME_DESC' | 'TARGET_FIELD_NAME_ASC' | 'TARGET_FIELD_NAME_DESC' | 'USE_COMPOSITE_KEY_ASC' | 'USE_COMPOSITE_KEY_DESC' | 'CREATE_INDEX_ASC' | 'CREATE_INDEX_DESC' | 'EXPOSE_IN_API_ASC' | 'EXPOSE_IN_API_DESC' | 'NODES_ASC' | 'NODES_DESC' | 'GRANTS_ASC' | 'GRANTS_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'OUT_FIELD_ID_ASC' | 'OUT_FIELD_ID_DESC' | 'OUT_JUNCTION_TABLE_ID_ASC' | 'OUT_JUNCTION_TABLE_ID_DESC' | 'OUT_SOURCE_FIELD_ID_ASC' | 'OUT_SOURCE_FIELD_ID_DESC' | 'OUT_TARGET_FIELD_ID_ASC' | 'OUT_TARGET_FIELD_ID_DESC';
13925
14107
  export type SessionSecretsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC';
13926
14108
  export type IdentityProvidersModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
14109
+ export type RealtimeModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'SUBSCRIPTIONS_SCHEMA_ID_ASC' | 'SUBSCRIPTIONS_SCHEMA_ID_DESC' | 'CHANGE_LOG_TABLE_ID_ASC' | 'CHANGE_LOG_TABLE_ID_DESC' | 'LISTENER_NODE_TABLE_ID_ASC' | 'LISTENER_NODE_TABLE_ID_DESC' | 'SOURCE_REGISTRY_TABLE_ID_ASC' | 'SOURCE_REGISTRY_TABLE_ID_DESC' | 'RETENTION_HOURS_ASC' | 'RETENTION_HOURS_DESC' | 'LOOKAHEAD_HOURS_ASC' | 'LOOKAHEAD_HOURS_DESC' | 'PARTITION_INTERVAL_ASC' | 'PARTITION_INTERVAL_DESC' | 'NOTIFY_CHANNEL_ASC' | 'NOTIFY_CHANNEL_DESC';
13927
14110
  export type SchemaGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
13928
14111
  export type DefaultPrivilegeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'OBJECT_TYPE_ASC' | 'OBJECT_TYPE_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC';
13929
14112
  export type EnumOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'VALUES_ASC' | 'VALUES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
@@ -15102,6 +15285,44 @@ export interface DeleteIdentityProvidersModuleInput {
15102
15285
  clientMutationId?: string;
15103
15286
  id: string;
15104
15287
  }
15288
+ export interface CreateRealtimeModuleInput {
15289
+ clientMutationId?: string;
15290
+ realtimeModule: {
15291
+ databaseId: string;
15292
+ schemaId?: string;
15293
+ privateSchemaId?: string;
15294
+ subscriptionsSchemaId?: string;
15295
+ changeLogTableId?: string;
15296
+ listenerNodeTableId?: string;
15297
+ sourceRegistryTableId?: string;
15298
+ retentionHours?: number;
15299
+ lookaheadHours?: number;
15300
+ partitionInterval?: string;
15301
+ notifyChannel?: string;
15302
+ };
15303
+ }
15304
+ export interface RealtimeModulePatch {
15305
+ databaseId?: string | null;
15306
+ schemaId?: string | null;
15307
+ privateSchemaId?: string | null;
15308
+ subscriptionsSchemaId?: string | null;
15309
+ changeLogTableId?: string | null;
15310
+ listenerNodeTableId?: string | null;
15311
+ sourceRegistryTableId?: string | null;
15312
+ retentionHours?: number | null;
15313
+ lookaheadHours?: number | null;
15314
+ partitionInterval?: string | null;
15315
+ notifyChannel?: string | null;
15316
+ }
15317
+ export interface UpdateRealtimeModuleInput {
15318
+ clientMutationId?: string;
15319
+ id: string;
15320
+ realtimeModulePatch: RealtimeModulePatch;
15321
+ }
15322
+ export interface DeleteRealtimeModuleInput {
15323
+ clientMutationId?: string;
15324
+ id: string;
15325
+ }
15105
15326
  export interface CreateSchemaGrantInput {
15106
15327
  clientMutationId?: string;
15107
15328
  schemaGrant: {
@@ -19754,6 +19975,15 @@ export interface DatabaseToManyNotificationsModuleFilter {
19754
19975
  /** Filters to entities where no related entity matches. */
19755
19976
  none?: NotificationsModuleFilter;
19756
19977
  }
19978
+ /** A filter to be used against many `RealtimeModule` object types. All fields are combined with a logical ‘and.’ */
19979
+ export interface DatabaseToManyRealtimeModuleFilter {
19980
+ /** Filters to entities where at least one related entity matches. */
19981
+ some?: RealtimeModuleFilter;
19982
+ /** Filters to entities where every related entity matches. */
19983
+ every?: RealtimeModuleFilter;
19984
+ /** Filters to entities where no related entity matches. */
19985
+ none?: RealtimeModuleFilter;
19986
+ }
19757
19987
  /** A filter to be used against many `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */
19758
19988
  export interface DatabaseToManyDatabaseProvisionModuleFilter {
19759
19989
  /** Filters to entities where at least one related entity matches. */
@@ -19869,6 +20099,15 @@ export interface SchemaToManyIdentityProvidersModuleFilter {
19869
20099
  /** Filters to entities where no related entity matches. */
19870
20100
  none?: IdentityProvidersModuleFilter;
19871
20101
  }
20102
+ /** A filter to be used against many `RealtimeModule` object types. All fields are combined with a logical ‘and.’ */
20103
+ export interface SchemaToManyRealtimeModuleFilter {
20104
+ /** Filters to entities where at least one related entity matches. */
20105
+ some?: RealtimeModuleFilter;
20106
+ /** Filters to entities where every related entity matches. */
20107
+ every?: RealtimeModuleFilter;
20108
+ /** Filters to entities where no related entity matches. */
20109
+ none?: RealtimeModuleFilter;
20110
+ }
19872
20111
  /** A filter to be used against many `CheckConstraint` object types. All fields are combined with a logical ‘and.’ */
19873
20112
  export interface TableToManyCheckConstraintFilter {
19874
20113
  /** Filters to entities where at least one related entity matches. */
@@ -20031,6 +20270,15 @@ export interface TableToManyIdentityProvidersModuleFilter {
20031
20270
  /** Filters to entities where no related entity matches. */
20032
20271
  none?: IdentityProvidersModuleFilter;
20033
20272
  }
20273
+ /** A filter to be used against many `RealtimeModule` object types. All fields are combined with a logical ‘and.’ */
20274
+ export interface TableToManyRealtimeModuleFilter {
20275
+ /** Filters to entities where at least one related entity matches. */
20276
+ some?: RealtimeModuleFilter;
20277
+ /** Filters to entities where every related entity matches. */
20278
+ every?: RealtimeModuleFilter;
20279
+ /** Filters to entities where no related entity matches. */
20280
+ none?: RealtimeModuleFilter;
20281
+ }
20034
20282
  /** A filter to be used against many `SpatialRelation` object types. All fields are combined with a logical ‘and.’ */
20035
20283
  export interface FieldToManySpatialRelationFilter {
20036
20284
  /** Filters to entities where at least one related entity matches. */
@@ -21256,6 +21504,18 @@ export interface SchemaFilter {
21256
21504
  identityProvidersModules?: SchemaToManyIdentityProvidersModuleFilter;
21257
21505
  /** `identityProvidersModules` exist. */
21258
21506
  identityProvidersModulesExist?: boolean;
21507
+ /** Filter by the object’s `realtimeModulesByPrivateSchemaId` relation. */
21508
+ realtimeModulesByPrivateSchemaId?: SchemaToManyRealtimeModuleFilter;
21509
+ /** `realtimeModulesByPrivateSchemaId` exist. */
21510
+ realtimeModulesByPrivateSchemaIdExist?: boolean;
21511
+ /** Filter by the object’s `realtimeModules` relation. */
21512
+ realtimeModules?: SchemaToManyRealtimeModuleFilter;
21513
+ /** `realtimeModules` exist. */
21514
+ realtimeModulesExist?: boolean;
21515
+ /** Filter by the object’s `realtimeModulesBySubscriptionsSchemaId` relation. */
21516
+ realtimeModulesBySubscriptionsSchemaId?: SchemaToManyRealtimeModuleFilter;
21517
+ /** `realtimeModulesBySubscriptionsSchemaId` exist. */
21518
+ realtimeModulesBySubscriptionsSchemaIdExist?: boolean;
21259
21519
  }
21260
21520
  /** A filter to be used against `Table` object types. All fields are combined with a logical ‘and.’ */
21261
21521
  export interface TableFilter {
@@ -21403,6 +21663,18 @@ export interface TableFilter {
21403
21663
  identityProvidersModules?: TableToManyIdentityProvidersModuleFilter;
21404
21664
  /** `identityProvidersModules` exist. */
21405
21665
  identityProvidersModulesExist?: boolean;
21666
+ /** Filter by the object’s `realtimeModulesByChangeLogTableId` relation. */
21667
+ realtimeModulesByChangeLogTableId?: TableToManyRealtimeModuleFilter;
21668
+ /** `realtimeModulesByChangeLogTableId` exist. */
21669
+ realtimeModulesByChangeLogTableIdExist?: boolean;
21670
+ /** Filter by the object’s `realtimeModulesByListenerNodeTableId` relation. */
21671
+ realtimeModulesByListenerNodeTableId?: TableToManyRealtimeModuleFilter;
21672
+ /** `realtimeModulesByListenerNodeTableId` exist. */
21673
+ realtimeModulesByListenerNodeTableIdExist?: boolean;
21674
+ /** Filter by the object’s `realtimeModulesBySourceRegistryTableId` relation. */
21675
+ realtimeModulesBySourceRegistryTableId?: TableToManyRealtimeModuleFilter;
21676
+ /** `realtimeModulesBySourceRegistryTableId` exist. */
21677
+ realtimeModulesBySourceRegistryTableIdExist?: boolean;
21406
21678
  }
21407
21679
  /** A filter to be used against `CheckConstraint` object types. All fields are combined with a logical ‘and.’ */
21408
21680
  export interface CheckConstraintFilter {
@@ -24129,6 +24401,53 @@ export interface NotificationsModuleFilter {
24129
24401
  /** A related `userSettingsTableByUserSettingsTableId` exists. */
24130
24402
  userSettingsTableByUserSettingsTableIdExists?: boolean;
24131
24403
  }
24404
+ /** A filter to be used against `RealtimeModule` object types. All fields are combined with a logical ‘and.’ */
24405
+ export interface RealtimeModuleFilter {
24406
+ /** Filter by the object’s `id` field. */
24407
+ id?: UUIDFilter;
24408
+ /** Filter by the object’s `databaseId` field. */
24409
+ databaseId?: UUIDFilter;
24410
+ /** Filter by the object’s `schemaId` field. */
24411
+ schemaId?: UUIDFilter;
24412
+ /** Filter by the object’s `privateSchemaId` field. */
24413
+ privateSchemaId?: UUIDFilter;
24414
+ /** Filter by the object’s `subscriptionsSchemaId` field. */
24415
+ subscriptionsSchemaId?: UUIDFilter;
24416
+ /** Filter by the object’s `changeLogTableId` field. */
24417
+ changeLogTableId?: UUIDFilter;
24418
+ /** Filter by the object’s `listenerNodeTableId` field. */
24419
+ listenerNodeTableId?: UUIDFilter;
24420
+ /** Filter by the object’s `sourceRegistryTableId` field. */
24421
+ sourceRegistryTableId?: UUIDFilter;
24422
+ /** Filter by the object’s `retentionHours` field. */
24423
+ retentionHours?: IntFilter;
24424
+ /** Filter by the object’s `lookaheadHours` field. */
24425
+ lookaheadHours?: IntFilter;
24426
+ /** Filter by the object’s `partitionInterval` field. */
24427
+ partitionInterval?: StringFilter;
24428
+ /** Filter by the object’s `notifyChannel` field. */
24429
+ notifyChannel?: StringFilter;
24430
+ /** Checks for all expressions in this list. */
24431
+ and?: RealtimeModuleFilter[];
24432
+ /** Checks for any expressions in this list. */
24433
+ or?: RealtimeModuleFilter[];
24434
+ /** Negates the expression. */
24435
+ not?: RealtimeModuleFilter;
24436
+ /** Filter by the object’s `changeLogTable` relation. */
24437
+ changeLogTable?: TableFilter;
24438
+ /** Filter by the object’s `database` relation. */
24439
+ database?: DatabaseFilter;
24440
+ /** Filter by the object’s `listenerNodeTable` relation. */
24441
+ listenerNodeTable?: TableFilter;
24442
+ /** Filter by the object’s `privateSchema` relation. */
24443
+ privateSchema?: SchemaFilter;
24444
+ /** Filter by the object’s `schema` relation. */
24445
+ schema?: SchemaFilter;
24446
+ /** Filter by the object’s `sourceRegistryTable` relation. */
24447
+ sourceRegistryTable?: TableFilter;
24448
+ /** Filter by the object’s `subscriptionsSchema` relation. */
24449
+ subscriptionsSchema?: SchemaFilter;
24450
+ }
24132
24451
  /** A filter to be used against `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */
24133
24452
  export interface DatabaseProvisionModuleFilter {
24134
24453
  /** Filter by the object’s `id` field. */
@@ -24746,6 +25065,10 @@ export interface DatabaseFilter {
24746
25065
  billingProviderModule?: BillingProviderModuleFilter;
24747
25066
  /** A related `billingProviderModule` exists. */
24748
25067
  billingProviderModuleExists?: boolean;
25068
+ /** Filter by the object’s `realtimeModules` relation. */
25069
+ realtimeModules?: DatabaseToManyRealtimeModuleFilter;
25070
+ /** `realtimeModules` exist. */
25071
+ realtimeModulesExist?: boolean;
24749
25072
  /** Filter by the object’s `databaseProvisionModules` relation. */
24750
25073
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
24751
25074
  /** `databaseProvisionModules` exist. */
@@ -28860,6 +29183,51 @@ export type DeleteIdentityProvidersModulePayloadSelect = {
28860
29183
  select: IdentityProvidersModuleEdgeSelect;
28861
29184
  };
28862
29185
  };
29186
+ export interface CreateRealtimeModulePayload {
29187
+ clientMutationId?: string | null;
29188
+ /** The `RealtimeModule` that was created by this mutation. */
29189
+ realtimeModule?: RealtimeModule | null;
29190
+ realtimeModuleEdge?: RealtimeModuleEdge | null;
29191
+ }
29192
+ export type CreateRealtimeModulePayloadSelect = {
29193
+ clientMutationId?: boolean;
29194
+ realtimeModule?: {
29195
+ select: RealtimeModuleSelect;
29196
+ };
29197
+ realtimeModuleEdge?: {
29198
+ select: RealtimeModuleEdgeSelect;
29199
+ };
29200
+ };
29201
+ export interface UpdateRealtimeModulePayload {
29202
+ clientMutationId?: string | null;
29203
+ /** The `RealtimeModule` that was updated by this mutation. */
29204
+ realtimeModule?: RealtimeModule | null;
29205
+ realtimeModuleEdge?: RealtimeModuleEdge | null;
29206
+ }
29207
+ export type UpdateRealtimeModulePayloadSelect = {
29208
+ clientMutationId?: boolean;
29209
+ realtimeModule?: {
29210
+ select: RealtimeModuleSelect;
29211
+ };
29212
+ realtimeModuleEdge?: {
29213
+ select: RealtimeModuleEdgeSelect;
29214
+ };
29215
+ };
29216
+ export interface DeleteRealtimeModulePayload {
29217
+ clientMutationId?: string | null;
29218
+ /** The `RealtimeModule` that was deleted by this mutation. */
29219
+ realtimeModule?: RealtimeModule | null;
29220
+ realtimeModuleEdge?: RealtimeModuleEdge | null;
29221
+ }
29222
+ export type DeleteRealtimeModulePayloadSelect = {
29223
+ clientMutationId?: boolean;
29224
+ realtimeModule?: {
29225
+ select: RealtimeModuleSelect;
29226
+ };
29227
+ realtimeModuleEdge?: {
29228
+ select: RealtimeModuleEdgeSelect;
29229
+ };
29230
+ };
28863
29231
  export interface CreateSchemaGrantPayload {
28864
29232
  clientMutationId?: string | null;
28865
29233
  /** The `SchemaGrant` that was created by this mutation. */
@@ -34315,6 +34683,18 @@ export type IdentityProvidersModuleEdgeSelect = {
34315
34683
  select: IdentityProvidersModuleSelect;
34316
34684
  };
34317
34685
  };
34686
+ /** A `RealtimeModule` edge in the connection. */
34687
+ export interface RealtimeModuleEdge {
34688
+ cursor?: string | null;
34689
+ /** The `RealtimeModule` at the end of the edge. */
34690
+ node?: RealtimeModule | null;
34691
+ }
34692
+ export type RealtimeModuleEdgeSelect = {
34693
+ cursor?: boolean;
34694
+ node?: {
34695
+ select: RealtimeModuleSelect;
34696
+ };
34697
+ };
34318
34698
  /** A `SchemaGrant` edge in the connection. */
34319
34699
  export interface SchemaGrantEdge {
34320
34700
  cursor?: string | null;
@@ -66,6 +66,7 @@ export const connectionFieldsMap = {
66
66
  webauthnAuthModules: 'WebauthnAuthModule',
67
67
  identityProvidersModules: 'IdentityProvidersModule',
68
68
  notificationsModules: 'NotificationsModule',
69
+ realtimeModules: 'RealtimeModule',
69
70
  databaseProvisionModules: 'DatabaseProvisionModule',
70
71
  },
71
72
  Schema: {
@@ -79,6 +80,9 @@ export const connectionFieldsMap = {
79
80
  sessionSecretsModules: 'SessionSecretsModule',
80
81
  identityProvidersModulesByPrivateSchemaId: 'IdentityProvidersModule',
81
82
  identityProvidersModules: 'IdentityProvidersModule',
83
+ realtimeModulesByPrivateSchemaId: 'RealtimeModule',
84
+ realtimeModules: 'RealtimeModule',
85
+ realtimeModulesBySubscriptionsSchemaId: 'RealtimeModule',
82
86
  },
83
87
  Table: {
84
88
  checkConstraints: 'CheckConstraint',
@@ -103,6 +107,9 @@ export const connectionFieldsMap = {
103
107
  sessionSecretsModulesBySessionsTableId: 'SessionSecretsModule',
104
108
  sessionSecretsModules: 'SessionSecretsModule',
105
109
  identityProvidersModules: 'IdentityProvidersModule',
110
+ realtimeModulesByChangeLogTableId: 'RealtimeModule',
111
+ realtimeModulesByListenerNodeTableId: 'RealtimeModule',
112
+ realtimeModulesBySourceRegistryTableId: 'RealtimeModule',
106
113
  },
107
114
  Field: {
108
115
  spatialRelations: 'SpatialRelation',
@@ -34,6 +34,7 @@ export { SecureTableProvisionModel } from './secureTableProvision';
34
34
  export { RelationProvisionModel } from './relationProvision';
35
35
  export { SessionSecretsModuleModel } from './sessionSecretsModule';
36
36
  export { IdentityProvidersModuleModel } from './identityProvidersModule';
37
+ export { RealtimeModuleModel } from './realtimeModule';
37
38
  export { SchemaGrantModel } from './schemaGrant';
38
39
  export { DefaultPrivilegeModel } from './defaultPrivilege';
39
40
  export { EnumModel } from './enum';
@@ -34,6 +34,7 @@ export { SecureTableProvisionModel } from './secureTableProvision';
34
34
  export { RelationProvisionModel } from './relationProvision';
35
35
  export { SessionSecretsModuleModel } from './sessionSecretsModule';
36
36
  export { IdentityProvidersModuleModel } from './identityProvidersModule';
37
+ export { RealtimeModuleModel } from './realtimeModule';
37
38
  export { SchemaGrantModel } from './schemaGrant';
38
39
  export { DefaultPrivilegeModel } from './defaultPrivilege';
39
40
  export { EnumModel } from './enum';