@constructive-io/sdk 0.22.2 → 0.22.4

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 (89) hide show
  1. package/admin/orm/index.d.ts +6 -20
  2. package/admin/orm/index.js +6 -10
  3. package/admin/orm/input-types.d.ts +488 -768
  4. package/admin/orm/models/appLimitWarning.d.ts +54 -0
  5. package/{public/orm/models/secretsModule.js → admin/orm/models/appLimitWarning.js} +27 -27
  6. package/admin/orm/models/index.d.ts +3 -5
  7. package/admin/orm/models/index.js +7 -11
  8. package/admin/orm/models/orgLimitWarning.d.ts +54 -0
  9. package/admin/orm/models/{appAchievement.js → orgLimitWarning.js} +27 -27
  10. package/admin/orm/query/index.d.ts +1 -28
  11. package/admin/orm/query/index.js +0 -44
  12. package/esm/admin/orm/index.d.ts +6 -20
  13. package/esm/admin/orm/index.js +6 -10
  14. package/esm/admin/orm/input-types.d.ts +488 -768
  15. package/esm/admin/orm/models/appLimitWarning.d.ts +54 -0
  16. package/esm/{public/orm/models/appAchievement.js → admin/orm/models/appLimitWarning.js} +25 -25
  17. package/esm/admin/orm/models/index.d.ts +3 -5
  18. package/esm/admin/orm/models/index.js +3 -5
  19. package/esm/admin/orm/models/orgLimitWarning.d.ts +54 -0
  20. package/esm/admin/orm/models/{appAchievement.js → orgLimitWarning.js} +25 -25
  21. package/esm/admin/orm/query/index.d.ts +1 -28
  22. package/esm/admin/orm/query/index.js +0 -44
  23. package/esm/public/orm/index.d.ts +10 -22
  24. package/esm/public/orm/index.js +10 -12
  25. package/esm/public/orm/input-types.d.ts +1024 -919
  26. package/esm/public/orm/input-types.js +3 -5
  27. package/esm/public/orm/models/appLimitWarning.d.ts +54 -0
  28. package/esm/{admin/orm/models/appLevel.js → public/orm/models/appLimitWarning.js} +25 -25
  29. package/esm/public/orm/models/eventsModule.d.ts +54 -0
  30. package/esm/public/orm/models/{levelsModule.js → eventsModule.js} +25 -25
  31. package/esm/public/orm/models/index.d.ts +5 -6
  32. package/esm/public/orm/models/index.js +5 -6
  33. package/esm/public/orm/models/orgLimitWarning.d.ts +54 -0
  34. package/esm/{admin/orm/models/appStep.js → public/orm/models/orgLimitWarning.js} +25 -25
  35. package/esm/public/orm/models/rateLimitMetersModule.d.ts +54 -0
  36. package/esm/{admin/orm/models/appLevelRequirement.js → public/orm/models/rateLimitMetersModule.js} +25 -25
  37. package/esm/public/orm/models/userStateModule.d.ts +54 -0
  38. package/esm/public/orm/models/userStateModule.js +100 -0
  39. package/esm/public/orm/mutation/index.d.ts +2 -2
  40. package/esm/public/orm/query/index.d.ts +1 -28
  41. package/esm/public/orm/query/index.js +0 -44
  42. package/package.json +4 -4
  43. package/public/orm/index.d.ts +10 -22
  44. package/public/orm/index.js +10 -12
  45. package/public/orm/input-types.d.ts +1024 -919
  46. package/public/orm/input-types.js +3 -5
  47. package/public/orm/models/appLimitWarning.d.ts +54 -0
  48. package/{admin/orm/models/appStep.js → public/orm/models/appLimitWarning.js} +27 -27
  49. package/public/orm/models/eventsModule.d.ts +54 -0
  50. package/public/orm/models/{levelsModule.js → eventsModule.js} +27 -27
  51. package/public/orm/models/index.d.ts +5 -6
  52. package/public/orm/models/index.js +13 -15
  53. package/public/orm/models/orgLimitWarning.d.ts +54 -0
  54. package/{admin/orm/models/appLevel.js → public/orm/models/orgLimitWarning.js} +27 -27
  55. package/public/orm/models/rateLimitMetersModule.d.ts +54 -0
  56. package/public/orm/models/{appAchievement.js → rateLimitMetersModule.js} +27 -27
  57. package/public/orm/models/userStateModule.d.ts +54 -0
  58. package/public/orm/models/userStateModule.js +104 -0
  59. package/public/orm/mutation/index.d.ts +2 -2
  60. package/public/orm/query/index.d.ts +1 -28
  61. package/public/orm/query/index.js +0 -44
  62. package/admin/orm/models/appAchievement.d.ts +0 -54
  63. package/admin/orm/models/appLevel.d.ts +0 -54
  64. package/admin/orm/models/appLevelRequirement.d.ts +0 -54
  65. package/admin/orm/models/appLevelRequirement.js +0 -104
  66. package/admin/orm/models/appStep.d.ts +0 -54
  67. package/esm/admin/orm/models/appAchievement.d.ts +0 -54
  68. package/esm/admin/orm/models/appLevel.d.ts +0 -54
  69. package/esm/admin/orm/models/appLevelRequirement.d.ts +0 -54
  70. package/esm/admin/orm/models/appStep.d.ts +0 -54
  71. package/esm/public/orm/models/appAchievement.d.ts +0 -54
  72. package/esm/public/orm/models/appLevel.d.ts +0 -54
  73. package/esm/public/orm/models/appLevel.js +0 -100
  74. package/esm/public/orm/models/appLevelRequirement.d.ts +0 -54
  75. package/esm/public/orm/models/appLevelRequirement.js +0 -100
  76. package/esm/public/orm/models/appStep.d.ts +0 -54
  77. package/esm/public/orm/models/appStep.js +0 -100
  78. package/esm/public/orm/models/levelsModule.d.ts +0 -54
  79. package/esm/public/orm/models/secretsModule.d.ts +0 -54
  80. package/esm/public/orm/models/secretsModule.js +0 -100
  81. package/public/orm/models/appAchievement.d.ts +0 -54
  82. package/public/orm/models/appLevel.d.ts +0 -54
  83. package/public/orm/models/appLevel.js +0 -104
  84. package/public/orm/models/appLevelRequirement.d.ts +0 -54
  85. package/public/orm/models/appLevelRequirement.js +0 -104
  86. package/public/orm/models/appStep.d.ts +0 -54
  87. package/public/orm/models/appStep.js +0 -104
  88. package/public/orm/models/levelsModule.d.ts +0 -54
  89. package/public/orm/models/secretsModule.d.ts +0 -54
@@ -284,22 +284,6 @@ export interface Object {
284
284
  frzn?: boolean | null;
285
285
  createdAt?: string | null;
286
286
  }
287
- /** Defines the specific requirements that must be met to achieve a level */
288
- export interface AppLevelRequirement {
289
- id: string;
290
- /** Name identifier of the requirement (matches step names) */
291
- name?: string | null;
292
- /** Name of the level this requirement belongs to */
293
- level?: string | null;
294
- /** Human-readable description of what this requirement entails */
295
- description?: string | null;
296
- /** Number of steps needed to satisfy this requirement */
297
- requiredCount?: number | null;
298
- /** Display ordering priority; lower values appear first */
299
- priority?: number | null;
300
- createdAt?: string | null;
301
- updatedAt?: string | null;
302
- }
303
287
  export interface Database {
304
288
  id: string;
305
289
  ownerId?: string | null;
@@ -597,8 +581,11 @@ export interface EmbeddingChunk {
597
581
  chunkOverlap?: number | null;
598
582
  chunkStrategy?: string | null;
599
583
  metadataFields?: Record<string, unknown> | null;
584
+ searchIndexes?: Record<string, unknown> | null;
600
585
  enqueueChunkingJob?: boolean | null;
601
586
  chunkingTaskName?: string | null;
587
+ embeddingModel?: string | null;
588
+ embeddingProvider?: string | null;
602
589
  parentFkFieldId?: string | null;
603
590
  createdAt?: string | null;
604
591
  updatedAt?: string | null;
@@ -791,8 +778,8 @@ export interface RealtimeModule {
791
778
  listenerNodeTableId?: string | null;
792
779
  sourceRegistryTableId?: string | null;
793
780
  retentionHours?: number | null;
794
- lookaheadHours?: number | null;
795
- partitionInterval?: string | null;
781
+ premake?: number | null;
782
+ interval?: string | null;
796
783
  notifyChannel?: string | null;
797
784
  }
798
785
  export interface SchemaGrant {
@@ -950,10 +937,10 @@ export interface Partition {
950
937
  databaseId?: string | null;
951
938
  tableId?: string | null;
952
939
  strategy?: string | null;
953
- partitionKeyIds?: string[] | null;
940
+ partitionKeyId?: string | null;
954
941
  interval?: string | null;
955
942
  retention?: string | null;
956
- lookahead?: number | null;
943
+ premake?: number | null;
957
944
  namingPattern?: string | null;
958
945
  createdAt?: string | null;
959
946
  updatedAt?: string | null;
@@ -1135,29 +1122,42 @@ export interface InvitesModule {
1135
1122
  membershipType?: number | null;
1136
1123
  entityTableId?: string | null;
1137
1124
  }
1138
- export interface LevelsModule {
1125
+ export interface EventsModule {
1139
1126
  id: string;
1140
1127
  databaseId?: string | null;
1141
1128
  schemaId?: string | null;
1142
1129
  privateSchemaId?: string | null;
1143
- stepsTableId?: string | null;
1144
- stepsTableName?: string | null;
1145
- achievementsTableId?: string | null;
1146
- achievementsTableName?: string | null;
1130
+ eventsTableId?: string | null;
1131
+ eventsTableName?: string | null;
1132
+ eventAggregatesTableId?: string | null;
1133
+ eventAggregatesTableName?: string | null;
1134
+ eventTypesTableId?: string | null;
1135
+ eventTypesTableName?: string | null;
1147
1136
  levelsTableId?: string | null;
1148
1137
  levelsTableName?: string | null;
1149
1138
  levelRequirementsTableId?: string | null;
1150
1139
  levelRequirementsTableName?: string | null;
1151
- completedStep?: string | null;
1152
- incompletedStep?: string | null;
1153
- tgAchievement?: string | null;
1154
- tgAchievementToggle?: string | null;
1155
- tgAchievementToggleBoolean?: string | null;
1156
- tgAchievementBoolean?: string | null;
1157
- upsertAchievement?: string | null;
1158
- tgUpdateAchievements?: string | null;
1140
+ levelGrantsTableId?: string | null;
1141
+ levelGrantsTableName?: string | null;
1142
+ achievementRewardsTableId?: string | null;
1143
+ achievementRewardsTableName?: string | null;
1144
+ recordEvent?: string | null;
1145
+ removeEvent?: string | null;
1146
+ tgEvent?: string | null;
1147
+ tgEventToggle?: string | null;
1148
+ tgEventToggleBool?: string | null;
1149
+ tgEventBool?: string | null;
1150
+ upsertAggregate?: string | null;
1151
+ tgUpdateAggregates?: string | null;
1152
+ pruneEvents?: string | null;
1159
1153
  stepsRequired?: string | null;
1160
1154
  levelAchieved?: string | null;
1155
+ tgCheckAchievements?: string | null;
1156
+ grantAchievement?: string | null;
1157
+ tgAchievementReward?: string | null;
1158
+ interval?: string | null;
1159
+ retention?: string | null;
1160
+ premake?: number | null;
1161
1161
  prefix?: string | null;
1162
1162
  membershipType?: number | null;
1163
1163
  entityTableId?: string | null;
@@ -1188,6 +1188,10 @@ export interface LimitsModule {
1188
1188
  limitCapsDefaultsTableId?: string | null;
1189
1189
  capCheckTrigger?: string | null;
1190
1190
  resolveCapFunction?: string | null;
1191
+ limitWarningsTableId?: string | null;
1192
+ limitWarningStateTableId?: string | null;
1193
+ limitCheckSoftFunction?: string | null;
1194
+ limitAggregateCheckSoftFunction?: string | null;
1191
1195
  prefix?: string | null;
1192
1196
  membershipType?: number | null;
1193
1197
  entityTableId?: string | null;
@@ -1286,7 +1290,7 @@ export interface ProfilesModule {
1286
1290
  membershipsTableId?: string | null;
1287
1291
  prefix?: string | null;
1288
1292
  }
1289
- export interface SecretsModule {
1293
+ export interface UserStateModule {
1290
1294
  id: string;
1291
1295
  databaseId?: string | null;
1292
1296
  schemaId?: string | null;
@@ -1539,7 +1543,7 @@ export interface EntityTypeProvision {
1539
1543
  */
1540
1544
  hasProfiles?: boolean | null;
1541
1545
  /**
1542
- * Whether to provision levels_module for this type. Defaults to false.
1546
+ * Whether to provision events_module for this type. Defaults to false.
1543
1547
  * Levels provide gamification/achievement tracking for members.
1544
1548
  * When true, creates level steps, achievements, and level tables with security.
1545
1549
  */
@@ -1561,6 +1565,16 @@ export interface EntityTypeProvision {
1561
1565
  * ON CONFLICT DO NOTHING in the fan-out makes repeated INSERTs safe.
1562
1566
  */
1563
1567
  hasInvites?: boolean | null;
1568
+ /**
1569
+ * Whether to auto-attach an EventTracker to the claimed_invites table for invite-based
1570
+ * achievements. Defaults to false. Requires has_invites=true AND has_levels=true.
1571
+ * When true, the trigger calls event_tracker() on the claimed_invites table with
1572
+ * event_name='invite_claimed', actor_field='sender_id', events=['INSERT'],
1573
+ * crediting the SENDER (inviter) when someone claims their invite code.
1574
+ * Developers can then define achievements in the blueprint achievements[] section
1575
+ * that reference the 'invite_claimed' event (e.g., "Invite 5 friends" = count: 5).
1576
+ */
1577
+ hasInviteAchievements?: boolean | null;
1564
1578
  /**
1565
1579
  * Optional jsonb object for storage module configuration and initial bucket seeding.
1566
1580
  * Only used when has_storage = true; ignored otherwise. NULL = use defaults.
@@ -2055,41 +2069,19 @@ export interface OrgLimitAggregate {
2055
2069
  /** Capacity reserved by child entities in budgeted allocation mode. Available = max - num - reserved. */
2056
2070
  reserved?: string | null;
2057
2071
  }
2058
- /** Log of individual user actions toward level requirements; every single step ever taken is recorded here */
2059
- export interface AppStep {
2060
- id: string;
2061
- actorId?: string | null;
2062
- /** Name identifier of the level requirement this step fulfills */
2063
- name?: string | null;
2064
- /** Number of units completed in this step action */
2065
- count?: number | null;
2066
- createdAt?: string | null;
2067
- updatedAt?: string | null;
2068
- }
2069
- /** Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually */
2070
- export interface AppAchievement {
2072
+ /** Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it. */
2073
+ export interface OrgLimitWarning {
2071
2074
  id: string;
2072
- actorId?: string | null;
2073
- /** Name identifier of the level requirement being tracked */
2075
+ /** Limit name this warning applies to (must match a default_limits entry) */
2074
2076
  name?: string | null;
2075
- /** Cumulative count of completed steps toward this requirement */
2076
- count?: number | null;
2077
- createdAt?: string | null;
2078
- updatedAt?: string | null;
2079
- }
2080
- /** Defines available levels that users can achieve by completing requirements */
2081
- export interface AppLevel {
2082
- id: string;
2083
- /** Unique name of the level */
2084
- name?: string | null;
2085
- /** Human-readable description of what this level represents */
2086
- description?: string | null;
2087
- /** Badge or icon image associated with this level */
2088
- image?: ConstructiveInternalTypeImage | null;
2089
- /** Optional owner (actor) who created or manages this level */
2090
- ownerId?: string | null;
2091
- createdAt?: string | null;
2092
- updatedAt?: string | null;
2077
+ /** Threshold type: absolute (fixed count) or percentage (of max) */
2078
+ warningType?: string | null;
2079
+ /** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */
2080
+ thresholdValue?: string | null;
2081
+ /** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */
2082
+ taskIdentifier?: string | null;
2083
+ /** Per-entity override (NULL = scope default for all entities) */
2084
+ entityId?: string | null;
2093
2085
  }
2094
2086
  /** User email addresses with verification and primary-email management */
2095
2087
  export interface Email {
@@ -2472,6 +2464,18 @@ export interface OrgLimitDefault {
2472
2464
  /** Default soft limit threshold for warnings; NULL means no soft limit */
2473
2465
  softMax?: string | null;
2474
2466
  }
2467
+ /** Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it. */
2468
+ export interface AppLimitWarning {
2469
+ id: string;
2470
+ /** Limit name this warning applies to (must match a default_limits entry) */
2471
+ name?: string | null;
2472
+ /** Threshold type: absolute (fixed count) or percentage (of max) */
2473
+ warningType?: string | null;
2474
+ /** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */
2475
+ thresholdValue?: string | null;
2476
+ /** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */
2477
+ taskIdentifier?: string | null;
2478
+ }
2475
2479
  export interface UserConnectedAccount {
2476
2480
  id: string;
2477
2481
  ownerId?: string | null;
@@ -2649,6 +2653,20 @@ export interface RlsModule {
2649
2653
  currentRole?: string | null;
2650
2654
  currentRoleId?: string | null;
2651
2655
  }
2656
+ export interface RateLimitMetersModule {
2657
+ id: string;
2658
+ databaseId?: string | null;
2659
+ schemaId?: string | null;
2660
+ privateSchemaId?: string | null;
2661
+ rateLimitStateTableId?: string | null;
2662
+ rateLimitStateTableName?: string | null;
2663
+ rateLimitOverridesTableId?: string | null;
2664
+ rateLimitOverridesTableName?: string | null;
2665
+ rateWindowLimitsTableId?: string | null;
2666
+ rateWindowLimitsTableName?: string | null;
2667
+ checkRateLimitFunction?: string | null;
2668
+ prefix?: string | null;
2669
+ }
2652
2670
  export interface PlansModule {
2653
2671
  id: string;
2654
2672
  databaseId?: string | null;
@@ -2918,8 +2936,6 @@ export interface OrgPermissionRelations {
2918
2936
  }
2919
2937
  export interface ObjectRelations {
2920
2938
  }
2921
- export interface AppLevelRequirementRelations {
2922
- }
2923
2939
  export interface DatabaseRelations {
2924
2940
  owner?: User | null;
2925
2941
  databaseSetting?: DatabaseSetting | null;
@@ -2933,6 +2949,7 @@ export interface DatabaseRelations {
2933
2949
  plansModule?: PlansModule | null;
2934
2950
  billingModule?: BillingModule | null;
2935
2951
  billingProviderModule?: BillingProviderModule | null;
2952
+ rateLimitMetersModule?: RateLimitMetersModule | null;
2936
2953
  schemas?: ConnectionResult<Schema>;
2937
2954
  tables?: ConnectionResult<Table>;
2938
2955
  checkConstraints?: ConnectionResult<CheckConstraint>;
@@ -2976,14 +2993,14 @@ export interface DatabaseRelations {
2976
2993
  emailsModules?: ConnectionResult<EmailsModule>;
2977
2994
  encryptedSecretsModules?: ConnectionResult<EncryptedSecretsModule>;
2978
2995
  invitesModules?: ConnectionResult<InvitesModule>;
2979
- levelsModules?: ConnectionResult<LevelsModule>;
2996
+ eventsModules?: ConnectionResult<EventsModule>;
2980
2997
  limitsModules?: ConnectionResult<LimitsModule>;
2981
2998
  membershipTypesModules?: ConnectionResult<MembershipTypesModule>;
2982
2999
  membershipsModules?: ConnectionResult<MembershipsModule>;
2983
3000
  permissionsModules?: ConnectionResult<PermissionsModule>;
2984
3001
  phoneNumbersModules?: ConnectionResult<PhoneNumbersModule>;
2985
3002
  profilesModules?: ConnectionResult<ProfilesModule>;
2986
- secretsModules?: ConnectionResult<SecretsModule>;
3003
+ userStateModules?: ConnectionResult<UserStateModule>;
2987
3004
  sessionsModules?: ConnectionResult<SessionsModule>;
2988
3005
  userAuthModules?: ConnectionResult<UserAuthModule>;
2989
3006
  usersModules?: ConnectionResult<UsersModule>;
@@ -3210,6 +3227,7 @@ export interface DatabaseTransferRelations {
3210
3227
  }
3211
3228
  export interface PartitionRelations {
3212
3229
  database?: Database | null;
3230
+ partitionKey?: Field | null;
3213
3231
  table?: Table | null;
3214
3232
  }
3215
3233
  export interface ApiRelations {
@@ -3290,16 +3308,19 @@ export interface InvitesModuleRelations {
3290
3308
  schema?: Schema | null;
3291
3309
  usersTable?: Table | null;
3292
3310
  }
3293
- export interface LevelsModuleRelations {
3294
- achievementsTable?: Table | null;
3311
+ export interface EventsModuleRelations {
3312
+ achievementRewardsTable?: Table | null;
3295
3313
  actorTable?: Table | null;
3296
3314
  database?: Database | null;
3297
3315
  entityTable?: Table | null;
3316
+ eventAggregatesTable?: Table | null;
3317
+ eventTypesTable?: Table | null;
3318
+ eventsTable?: Table | null;
3319
+ levelGrantsTable?: Table | null;
3298
3320
  levelRequirementsTable?: Table | null;
3299
3321
  levelsTable?: Table | null;
3300
3322
  privateSchema?: Schema | null;
3301
3323
  schema?: Schema | null;
3302
- stepsTable?: Table | null;
3303
3324
  }
3304
3325
  export interface LimitsModuleRelations {
3305
3326
  actorTable?: Table | null;
@@ -3314,6 +3335,8 @@ export interface LimitsModuleRelations {
3314
3335
  limitCapsDefaultsTable?: Table | null;
3315
3336
  limitCapsTable?: Table | null;
3316
3337
  limitCreditsTable?: Table | null;
3338
+ limitWarningStateTable?: Table | null;
3339
+ limitWarningsTable?: Table | null;
3317
3340
  privateSchema?: Schema | null;
3318
3341
  schema?: Schema | null;
3319
3342
  table?: Table | null;
@@ -3371,7 +3394,7 @@ export interface ProfilesModuleRelations {
3371
3394
  schema?: Schema | null;
3372
3395
  table?: Table | null;
3373
3396
  }
3374
- export interface SecretsModuleRelations {
3397
+ export interface UserStateModuleRelations {
3375
3398
  database?: Database | null;
3376
3399
  schema?: Schema | null;
3377
3400
  table?: Table | null;
@@ -3541,14 +3564,8 @@ export interface OrgLimitCreditRelations {
3541
3564
  export interface OrgLimitAggregateRelations {
3542
3565
  entity?: User | null;
3543
3566
  }
3544
- export interface AppStepRelations {
3545
- actor?: User | null;
3546
- }
3547
- export interface AppAchievementRelations {
3548
- actor?: User | null;
3549
- }
3550
- export interface AppLevelRelations {
3551
- owner?: User | null;
3567
+ export interface OrgLimitWarningRelations {
3568
+ entity?: User | null;
3552
3569
  }
3553
3570
  export interface EmailRelations {
3554
3571
  owner?: User | null;
@@ -3637,6 +3654,8 @@ export interface AppLimitDefaultRelations {
3637
3654
  export interface OrgLimitDefaultRelations {
3638
3655
  orgLimitCreditsByDefaultLimitId?: ConnectionResult<OrgLimitCredit>;
3639
3656
  }
3657
+ export interface AppLimitWarningRelations {
3658
+ }
3640
3659
  export interface UserConnectedAccountRelations {
3641
3660
  }
3642
3661
  export interface CommitRelations {
@@ -3686,6 +3705,14 @@ export interface RlsModuleRelations {
3686
3705
  sessionsTable?: Table | null;
3687
3706
  usersTable?: Table | null;
3688
3707
  }
3708
+ export interface RateLimitMetersModuleRelations {
3709
+ database?: Database | null;
3710
+ privateSchema?: Schema | null;
3711
+ rateLimitOverridesTableByRateLimitOverridesTableId?: Table | null;
3712
+ rateLimitStateTableByRateLimitStateTableId?: Table | null;
3713
+ rateWindowLimitsTableByRateWindowLimitsTableId?: Table | null;
3714
+ schema?: Schema | null;
3715
+ }
3689
3716
  export interface PlansModuleRelations {
3690
3717
  database?: Database | null;
3691
3718
  planLimitsTable?: Table | null;
@@ -3753,9 +3780,7 @@ export interface UserRelations {
3753
3780
  orgLimitCreditsByActorId?: ConnectionResult<OrgLimitCredit>;
3754
3781
  orgLimitCreditsByEntityId?: ConnectionResult<OrgLimitCredit>;
3755
3782
  orgLimitAggregatesByEntityId?: ConnectionResult<OrgLimitAggregate>;
3756
- appStepsByActorId?: ConnectionResult<AppStep>;
3757
- appAchievementsByActorId?: ConnectionResult<AppAchievement>;
3758
- ownedAppLevels?: ConnectionResult<AppLevel>;
3783
+ orgLimitWarningsByEntityId?: ConnectionResult<OrgLimitWarning>;
3759
3784
  ownedEmails?: ConnectionResult<Email>;
3760
3785
  ownedPhoneNumbers?: ConnectionResult<PhoneNumber>;
3761
3786
  ownedCryptoAddresses?: ConnectionResult<CryptoAddress>;
@@ -3822,7 +3847,6 @@ export type GetAllRecordWithRelations = GetAllRecord & GetAllRecordRelations;
3822
3847
  export type AppPermissionWithRelations = AppPermission & AppPermissionRelations;
3823
3848
  export type OrgPermissionWithRelations = OrgPermission & OrgPermissionRelations;
3824
3849
  export type ObjectWithRelations = Object & ObjectRelations;
3825
- export type AppLevelRequirementWithRelations = AppLevelRequirement & AppLevelRequirementRelations;
3826
3850
  export type DatabaseWithRelations = Database & DatabaseRelations;
3827
3851
  export type SchemaWithRelations = Schema & SchemaRelations;
3828
3852
  export type TableWithRelations = Table & TableRelations;
@@ -3873,14 +3897,14 @@ export type DenormalizedTableFieldWithRelations = DenormalizedTableField & Denor
3873
3897
  export type EmailsModuleWithRelations = EmailsModule & EmailsModuleRelations;
3874
3898
  export type EncryptedSecretsModuleWithRelations = EncryptedSecretsModule & EncryptedSecretsModuleRelations;
3875
3899
  export type InvitesModuleWithRelations = InvitesModule & InvitesModuleRelations;
3876
- export type LevelsModuleWithRelations = LevelsModule & LevelsModuleRelations;
3900
+ export type EventsModuleWithRelations = EventsModule & EventsModuleRelations;
3877
3901
  export type LimitsModuleWithRelations = LimitsModule & LimitsModuleRelations;
3878
3902
  export type MembershipTypesModuleWithRelations = MembershipTypesModule & MembershipTypesModuleRelations;
3879
3903
  export type MembershipsModuleWithRelations = MembershipsModule & MembershipsModuleRelations;
3880
3904
  export type PermissionsModuleWithRelations = PermissionsModule & PermissionsModuleRelations;
3881
3905
  export type PhoneNumbersModuleWithRelations = PhoneNumbersModule & PhoneNumbersModuleRelations;
3882
3906
  export type ProfilesModuleWithRelations = ProfilesModule & ProfilesModuleRelations;
3883
- export type SecretsModuleWithRelations = SecretsModule & SecretsModuleRelations;
3907
+ export type UserStateModuleWithRelations = UserStateModule & UserStateModuleRelations;
3884
3908
  export type SessionsModuleWithRelations = SessionsModule & SessionsModuleRelations;
3885
3909
  export type UserAuthModuleWithRelations = UserAuthModule & UserAuthModuleRelations;
3886
3910
  export type UsersModuleWithRelations = UsersModule & UsersModuleRelations;
@@ -3912,9 +3936,7 @@ export type AppLimitCreditRedemptionWithRelations = AppLimitCreditRedemption & A
3912
3936
  export type OrgLimitWithRelations = OrgLimit & OrgLimitRelations;
3913
3937
  export type OrgLimitCreditWithRelations = OrgLimitCredit & OrgLimitCreditRelations;
3914
3938
  export type OrgLimitAggregateWithRelations = OrgLimitAggregate & OrgLimitAggregateRelations;
3915
- export type AppStepWithRelations = AppStep & AppStepRelations;
3916
- export type AppAchievementWithRelations = AppAchievement & AppAchievementRelations;
3917
- export type AppLevelWithRelations = AppLevel & AppLevelRelations;
3939
+ export type OrgLimitWarningWithRelations = OrgLimitWarning & OrgLimitWarningRelations;
3918
3940
  export type EmailWithRelations = Email & EmailRelations;
3919
3941
  export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations;
3920
3942
  export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations;
@@ -3943,6 +3965,7 @@ export type DevicesModuleWithRelations = DevicesModule & DevicesModuleRelations;
3943
3965
  export type NodeTypeRegistryWithRelations = NodeTypeRegistry & NodeTypeRegistryRelations;
3944
3966
  export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations;
3945
3967
  export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations;
3968
+ export type AppLimitWarningWithRelations = AppLimitWarning & AppLimitWarningRelations;
3946
3969
  export type UserConnectedAccountWithRelations = UserConnectedAccount & UserConnectedAccountRelations;
3947
3970
  export type CommitWithRelations = Commit & CommitRelations;
3948
3971
  export type PubkeySettingWithRelations = PubkeySetting & PubkeySettingRelations;
@@ -3954,6 +3977,7 @@ export type RlsSettingWithRelations = RlsSetting & RlsSettingRelations;
3954
3977
  export type AppLimitEventWithRelations = AppLimitEvent & AppLimitEventRelations;
3955
3978
  export type OrgLimitEventWithRelations = OrgLimitEvent & OrgLimitEventRelations;
3956
3979
  export type RlsModuleWithRelations = RlsModule & RlsModuleRelations;
3980
+ export type RateLimitMetersModuleWithRelations = RateLimitMetersModule & RateLimitMetersModuleRelations;
3957
3981
  export type PlansModuleWithRelations = PlansModule & PlansModuleRelations;
3958
3982
  export type SqlActionWithRelations = SqlAction & SqlActionRelations;
3959
3983
  export type DatabaseSettingWithRelations = DatabaseSetting & DatabaseSettingRelations;
@@ -4001,16 +4025,6 @@ export type ObjectSelect = {
4001
4025
  frzn?: boolean;
4002
4026
  createdAt?: boolean;
4003
4027
  };
4004
- export type AppLevelRequirementSelect = {
4005
- id?: boolean;
4006
- name?: boolean;
4007
- level?: boolean;
4008
- description?: boolean;
4009
- requiredCount?: boolean;
4010
- priority?: boolean;
4011
- createdAt?: boolean;
4012
- updatedAt?: boolean;
4013
- };
4014
4028
  export type DatabaseSelect = {
4015
4029
  id?: boolean;
4016
4030
  ownerId?: boolean;
@@ -4056,6 +4070,9 @@ export type DatabaseSelect = {
4056
4070
  billingProviderModule?: {
4057
4071
  select: BillingProviderModuleSelect;
4058
4072
  };
4073
+ rateLimitMetersModule?: {
4074
+ select: RateLimitMetersModuleSelect;
4075
+ };
4059
4076
  schemas?: {
4060
4077
  select: SchemaSelect;
4061
4078
  first?: number;
@@ -4314,11 +4331,11 @@ export type DatabaseSelect = {
4314
4331
  filter?: InvitesModuleFilter;
4315
4332
  orderBy?: InvitesModuleOrderBy[];
4316
4333
  };
4317
- levelsModules?: {
4318
- select: LevelsModuleSelect;
4334
+ eventsModules?: {
4335
+ select: EventsModuleSelect;
4319
4336
  first?: number;
4320
- filter?: LevelsModuleFilter;
4321
- orderBy?: LevelsModuleOrderBy[];
4337
+ filter?: EventsModuleFilter;
4338
+ orderBy?: EventsModuleOrderBy[];
4322
4339
  };
4323
4340
  limitsModules?: {
4324
4341
  select: LimitsModuleSelect;
@@ -4356,11 +4373,11 @@ export type DatabaseSelect = {
4356
4373
  filter?: ProfilesModuleFilter;
4357
4374
  orderBy?: ProfilesModuleOrderBy[];
4358
4375
  };
4359
- secretsModules?: {
4360
- select: SecretsModuleSelect;
4376
+ userStateModules?: {
4377
+ select: UserStateModuleSelect;
4361
4378
  first?: number;
4362
- filter?: SecretsModuleFilter;
4363
- orderBy?: SecretsModuleOrderBy[];
4379
+ filter?: UserStateModuleFilter;
4380
+ orderBy?: UserStateModuleOrderBy[];
4364
4381
  };
4365
4382
  sessionsModules?: {
4366
4383
  select: SessionsModuleSelect;
@@ -5120,8 +5137,11 @@ export type EmbeddingChunkSelect = {
5120
5137
  chunkOverlap?: boolean;
5121
5138
  chunkStrategy?: boolean;
5122
5139
  metadataFields?: boolean;
5140
+ searchIndexes?: boolean;
5123
5141
  enqueueChunkingJob?: boolean;
5124
5142
  chunkingTaskName?: boolean;
5143
+ embeddingModel?: boolean;
5144
+ embeddingProvider?: boolean;
5125
5145
  parentFkFieldId?: boolean;
5126
5146
  createdAt?: boolean;
5127
5147
  updatedAt?: boolean;
@@ -5248,8 +5268,8 @@ export type RealtimeModuleSelect = {
5248
5268
  listenerNodeTableId?: boolean;
5249
5269
  sourceRegistryTableId?: boolean;
5250
5270
  retentionHours?: boolean;
5251
- lookaheadHours?: boolean;
5252
- partitionInterval?: boolean;
5271
+ premake?: boolean;
5272
+ interval?: boolean;
5253
5273
  notifyChannel?: boolean;
5254
5274
  changeLogTable?: {
5255
5275
  select: TableSelect;
@@ -5465,16 +5485,19 @@ export type PartitionSelect = {
5465
5485
  databaseId?: boolean;
5466
5486
  tableId?: boolean;
5467
5487
  strategy?: boolean;
5468
- partitionKeyIds?: boolean;
5488
+ partitionKeyId?: boolean;
5469
5489
  interval?: boolean;
5470
5490
  retention?: boolean;
5471
- lookahead?: boolean;
5491
+ premake?: boolean;
5472
5492
  namingPattern?: boolean;
5473
5493
  createdAt?: boolean;
5474
5494
  updatedAt?: boolean;
5475
5495
  database?: {
5476
5496
  select: DatabaseSelect;
5477
5497
  };
5498
+ partitionKey?: {
5499
+ select: FieldSelect;
5500
+ };
5478
5501
  table?: {
5479
5502
  select: TableSelect;
5480
5503
  };
@@ -5798,34 +5821,47 @@ export type InvitesModuleSelect = {
5798
5821
  select: TableSelect;
5799
5822
  };
5800
5823
  };
5801
- export type LevelsModuleSelect = {
5824
+ export type EventsModuleSelect = {
5802
5825
  id?: boolean;
5803
5826
  databaseId?: boolean;
5804
5827
  schemaId?: boolean;
5805
5828
  privateSchemaId?: boolean;
5806
- stepsTableId?: boolean;
5807
- stepsTableName?: boolean;
5808
- achievementsTableId?: boolean;
5809
- achievementsTableName?: boolean;
5829
+ eventsTableId?: boolean;
5830
+ eventsTableName?: boolean;
5831
+ eventAggregatesTableId?: boolean;
5832
+ eventAggregatesTableName?: boolean;
5833
+ eventTypesTableId?: boolean;
5834
+ eventTypesTableName?: boolean;
5810
5835
  levelsTableId?: boolean;
5811
5836
  levelsTableName?: boolean;
5812
5837
  levelRequirementsTableId?: boolean;
5813
5838
  levelRequirementsTableName?: boolean;
5814
- completedStep?: boolean;
5815
- incompletedStep?: boolean;
5816
- tgAchievement?: boolean;
5817
- tgAchievementToggle?: boolean;
5818
- tgAchievementToggleBoolean?: boolean;
5819
- tgAchievementBoolean?: boolean;
5820
- upsertAchievement?: boolean;
5821
- tgUpdateAchievements?: boolean;
5839
+ levelGrantsTableId?: boolean;
5840
+ levelGrantsTableName?: boolean;
5841
+ achievementRewardsTableId?: boolean;
5842
+ achievementRewardsTableName?: boolean;
5843
+ recordEvent?: boolean;
5844
+ removeEvent?: boolean;
5845
+ tgEvent?: boolean;
5846
+ tgEventToggle?: boolean;
5847
+ tgEventToggleBool?: boolean;
5848
+ tgEventBool?: boolean;
5849
+ upsertAggregate?: boolean;
5850
+ tgUpdateAggregates?: boolean;
5851
+ pruneEvents?: boolean;
5822
5852
  stepsRequired?: boolean;
5823
5853
  levelAchieved?: boolean;
5854
+ tgCheckAchievements?: boolean;
5855
+ grantAchievement?: boolean;
5856
+ tgAchievementReward?: boolean;
5857
+ interval?: boolean;
5858
+ retention?: boolean;
5859
+ premake?: boolean;
5824
5860
  prefix?: boolean;
5825
5861
  membershipType?: boolean;
5826
5862
  entityTableId?: boolean;
5827
5863
  actorTableId?: boolean;
5828
- achievementsTable?: {
5864
+ achievementRewardsTable?: {
5829
5865
  select: TableSelect;
5830
5866
  };
5831
5867
  actorTable?: {
@@ -5837,6 +5873,18 @@ export type LevelsModuleSelect = {
5837
5873
  entityTable?: {
5838
5874
  select: TableSelect;
5839
5875
  };
5876
+ eventAggregatesTable?: {
5877
+ select: TableSelect;
5878
+ };
5879
+ eventTypesTable?: {
5880
+ select: TableSelect;
5881
+ };
5882
+ eventsTable?: {
5883
+ select: TableSelect;
5884
+ };
5885
+ levelGrantsTable?: {
5886
+ select: TableSelect;
5887
+ };
5840
5888
  levelRequirementsTable?: {
5841
5889
  select: TableSelect;
5842
5890
  };
@@ -5849,9 +5897,6 @@ export type LevelsModuleSelect = {
5849
5897
  schema?: {
5850
5898
  select: SchemaSelect;
5851
5899
  };
5852
- stepsTable?: {
5853
- select: TableSelect;
5854
- };
5855
5900
  };
5856
5901
  export type LimitsModuleSelect = {
5857
5902
  id?: boolean;
@@ -5878,6 +5923,10 @@ export type LimitsModuleSelect = {
5878
5923
  limitCapsDefaultsTableId?: boolean;
5879
5924
  capCheckTrigger?: boolean;
5880
5925
  resolveCapFunction?: boolean;
5926
+ limitWarningsTableId?: boolean;
5927
+ limitWarningStateTableId?: boolean;
5928
+ limitCheckSoftFunction?: boolean;
5929
+ limitAggregateCheckSoftFunction?: boolean;
5881
5930
  prefix?: boolean;
5882
5931
  membershipType?: boolean;
5883
5932
  entityTableId?: boolean;
@@ -5918,6 +5967,12 @@ export type LimitsModuleSelect = {
5918
5967
  limitCreditsTable?: {
5919
5968
  select: TableSelect;
5920
5969
  };
5970
+ limitWarningStateTable?: {
5971
+ select: TableSelect;
5972
+ };
5973
+ limitWarningsTable?: {
5974
+ select: TableSelect;
5975
+ };
5921
5976
  privateSchema?: {
5922
5977
  select: SchemaSelect;
5923
5978
  };
@@ -6150,7 +6205,7 @@ export type ProfilesModuleSelect = {
6150
6205
  select: TableSelect;
6151
6206
  };
6152
6207
  };
6153
- export type SecretsModuleSelect = {
6208
+ export type UserStateModuleSelect = {
6154
6209
  id?: boolean;
6155
6210
  databaseId?: boolean;
6156
6211
  schemaId?: boolean;
@@ -6425,6 +6480,7 @@ export type EntityTypeProvisionSelect = {
6425
6480
  hasLevels?: boolean;
6426
6481
  hasStorage?: boolean;
6427
6482
  hasInvites?: boolean;
6483
+ hasInviteAchievements?: boolean;
6428
6484
  storageConfig?: boolean;
6429
6485
  skipEntityPolicies?: boolean;
6430
6486
  tableProvision?: boolean;
@@ -6895,37 +6951,14 @@ export type OrgLimitAggregateSelect = {
6895
6951
  select: UserSelect;
6896
6952
  };
6897
6953
  };
6898
- export type AppStepSelect = {
6899
- id?: boolean;
6900
- actorId?: boolean;
6901
- name?: boolean;
6902
- count?: boolean;
6903
- createdAt?: boolean;
6904
- updatedAt?: boolean;
6905
- actor?: {
6906
- select: UserSelect;
6907
- };
6908
- };
6909
- export type AppAchievementSelect = {
6954
+ export type OrgLimitWarningSelect = {
6910
6955
  id?: boolean;
6911
- actorId?: boolean;
6912
6956
  name?: boolean;
6913
- count?: boolean;
6914
- createdAt?: boolean;
6915
- updatedAt?: boolean;
6916
- actor?: {
6917
- select: UserSelect;
6918
- };
6919
- };
6920
- export type AppLevelSelect = {
6921
- id?: boolean;
6922
- name?: boolean;
6923
- description?: boolean;
6924
- image?: boolean;
6925
- ownerId?: boolean;
6926
- createdAt?: boolean;
6927
- updatedAt?: boolean;
6928
- owner?: {
6957
+ warningType?: boolean;
6958
+ thresholdValue?: boolean;
6959
+ taskIdentifier?: boolean;
6960
+ entityId?: boolean;
6961
+ entity?: {
6929
6962
  select: UserSelect;
6930
6963
  };
6931
6964
  };
@@ -7285,6 +7318,13 @@ export type OrgLimitDefaultSelect = {
7285
7318
  orderBy?: OrgLimitCreditOrderBy[];
7286
7319
  };
7287
7320
  };
7321
+ export type AppLimitWarningSelect = {
7322
+ id?: boolean;
7323
+ name?: boolean;
7324
+ warningType?: boolean;
7325
+ thresholdValue?: boolean;
7326
+ taskIdentifier?: boolean;
7327
+ };
7288
7328
  export type UserConnectedAccountSelect = {
7289
7329
  id?: boolean;
7290
7330
  ownerId?: boolean;
@@ -7482,6 +7522,38 @@ export type RlsModuleSelect = {
7482
7522
  select: TableSelect;
7483
7523
  };
7484
7524
  };
7525
+ export type RateLimitMetersModuleSelect = {
7526
+ id?: boolean;
7527
+ databaseId?: boolean;
7528
+ schemaId?: boolean;
7529
+ privateSchemaId?: boolean;
7530
+ rateLimitStateTableId?: boolean;
7531
+ rateLimitStateTableName?: boolean;
7532
+ rateLimitOverridesTableId?: boolean;
7533
+ rateLimitOverridesTableName?: boolean;
7534
+ rateWindowLimitsTableId?: boolean;
7535
+ rateWindowLimitsTableName?: boolean;
7536
+ checkRateLimitFunction?: boolean;
7537
+ prefix?: boolean;
7538
+ database?: {
7539
+ select: DatabaseSelect;
7540
+ };
7541
+ privateSchema?: {
7542
+ select: SchemaSelect;
7543
+ };
7544
+ rateLimitOverridesTableByRateLimitOverridesTableId?: {
7545
+ select: TableSelect;
7546
+ };
7547
+ rateLimitStateTableByRateLimitStateTableId?: {
7548
+ select: TableSelect;
7549
+ };
7550
+ rateWindowLimitsTableByRateWindowLimitsTableId?: {
7551
+ select: TableSelect;
7552
+ };
7553
+ schema?: {
7554
+ select: SchemaSelect;
7555
+ };
7556
+ };
7485
7557
  export type PlansModuleSelect = {
7486
7558
  id?: boolean;
7487
7559
  databaseId?: boolean;
@@ -7850,23 +7922,11 @@ export type UserSelect = {
7850
7922
  filter?: OrgLimitAggregateFilter;
7851
7923
  orderBy?: OrgLimitAggregateOrderBy[];
7852
7924
  };
7853
- appStepsByActorId?: {
7854
- select: AppStepSelect;
7855
- first?: number;
7856
- filter?: AppStepFilter;
7857
- orderBy?: AppStepOrderBy[];
7858
- };
7859
- appAchievementsByActorId?: {
7860
- select: AppAchievementSelect;
7861
- first?: number;
7862
- filter?: AppAchievementFilter;
7863
- orderBy?: AppAchievementOrderBy[];
7864
- };
7865
- ownedAppLevels?: {
7866
- select: AppLevelSelect;
7925
+ orgLimitWarningsByEntityId?: {
7926
+ select: OrgLimitWarningSelect;
7867
7927
  first?: number;
7868
- filter?: AppLevelFilter;
7869
- orderBy?: AppLevelOrderBy[];
7928
+ filter?: OrgLimitWarningFilter;
7929
+ orderBy?: OrgLimitWarningOrderBy[];
7870
7930
  };
7871
7931
  ownedEmails?: {
7872
7932
  select: EmailSelect;
@@ -8247,30 +8307,6 @@ export interface ObjectFilter {
8247
8307
  /** Negates the expression. */
8248
8308
  not?: ObjectFilter;
8249
8309
  }
8250
- export interface AppLevelRequirementFilter {
8251
- /** Filter by the object’s `id` field. */
8252
- id?: UUIDFilter;
8253
- /** Filter by the object’s `name` field. */
8254
- name?: StringFilter;
8255
- /** Filter by the object’s `level` field. */
8256
- level?: StringFilter;
8257
- /** Filter by the object’s `description` field. */
8258
- description?: StringFilter;
8259
- /** Filter by the object’s `requiredCount` field. */
8260
- requiredCount?: IntFilter;
8261
- /** Filter by the object’s `priority` field. */
8262
- priority?: IntFilter;
8263
- /** Filter by the object’s `createdAt` field. */
8264
- createdAt?: DatetimeFilter;
8265
- /** Filter by the object’s `updatedAt` field. */
8266
- updatedAt?: DatetimeFilter;
8267
- /** Checks for all expressions in this list. */
8268
- and?: AppLevelRequirementFilter[];
8269
- /** Checks for any expressions in this list. */
8270
- or?: AppLevelRequirementFilter[];
8271
- /** Negates the expression. */
8272
- not?: AppLevelRequirementFilter;
8273
- }
8274
8310
  export interface DatabaseFilter {
8275
8311
  /** Filter by the object’s `id` field. */
8276
8312
  id?: UUIDFilter;
@@ -8486,10 +8522,10 @@ export interface DatabaseFilter {
8486
8522
  invitesModules?: DatabaseToManyInvitesModuleFilter;
8487
8523
  /** `invitesModules` exist. */
8488
8524
  invitesModulesExist?: boolean;
8489
- /** Filter by the object’s `levelsModules` relation. */
8490
- levelsModules?: DatabaseToManyLevelsModuleFilter;
8491
- /** `levelsModules` exist. */
8492
- levelsModulesExist?: boolean;
8525
+ /** Filter by the object’s `eventsModules` relation. */
8526
+ eventsModules?: DatabaseToManyEventsModuleFilter;
8527
+ /** `eventsModules` exist. */
8528
+ eventsModulesExist?: boolean;
8493
8529
  /** Filter by the object’s `limitsModules` relation. */
8494
8530
  limitsModules?: DatabaseToManyLimitsModuleFilter;
8495
8531
  /** `limitsModules` exist. */
@@ -8518,10 +8554,10 @@ export interface DatabaseFilter {
8518
8554
  rlsModule?: RlsModuleFilter;
8519
8555
  /** A related `rlsModule` exists. */
8520
8556
  rlsModuleExists?: boolean;
8521
- /** Filter by the object’s `secretsModules` relation. */
8522
- secretsModules?: DatabaseToManySecretsModuleFilter;
8523
- /** `secretsModules` exist. */
8524
- secretsModulesExist?: boolean;
8557
+ /** Filter by the object’s `userStateModules` relation. */
8558
+ userStateModules?: DatabaseToManyUserStateModuleFilter;
8559
+ /** `userStateModules` exist. */
8560
+ userStateModulesExist?: boolean;
8525
8561
  /** Filter by the object’s `sessionsModules` relation. */
8526
8562
  sessionsModules?: DatabaseToManySessionsModuleFilter;
8527
8563
  /** `sessionsModules` exist. */
@@ -8606,6 +8642,10 @@ export interface DatabaseFilter {
8606
8642
  realtimeModules?: DatabaseToManyRealtimeModuleFilter;
8607
8643
  /** `realtimeModules` exist. */
8608
8644
  realtimeModulesExist?: boolean;
8645
+ /** Filter by the object’s `rateLimitMetersModule` relation. */
8646
+ rateLimitMetersModule?: RateLimitMetersModuleFilter;
8647
+ /** A related `rateLimitMetersModule` exists. */
8648
+ rateLimitMetersModuleExists?: boolean;
8609
8649
  /** Filter by the object’s `databaseProvisionModules` relation. */
8610
8650
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
8611
8651
  /** `databaseProvisionModules` exist. */
@@ -9502,10 +9542,16 @@ export interface EmbeddingChunkFilter {
9502
9542
  chunkStrategy?: StringFilter;
9503
9543
  /** Filter by the object’s `metadataFields` field. */
9504
9544
  metadataFields?: JSONFilter;
9545
+ /** Filter by the object’s `searchIndexes` field. */
9546
+ searchIndexes?: JSONFilter;
9505
9547
  /** Filter by the object’s `enqueueChunkingJob` field. */
9506
9548
  enqueueChunkingJob?: BooleanFilter;
9507
9549
  /** Filter by the object’s `chunkingTaskName` field. */
9508
9550
  chunkingTaskName?: StringFilter;
9551
+ /** Filter by the object’s `embeddingModel` field. */
9552
+ embeddingModel?: StringFilter;
9553
+ /** Filter by the object’s `embeddingProvider` field. */
9554
+ embeddingProvider?: StringFilter;
9509
9555
  /** Filter by the object’s `parentFkFieldId` field. */
9510
9556
  parentFkFieldId?: UUIDFilter;
9511
9557
  /** Filter by the object’s `createdAt` field. */
@@ -9708,10 +9754,10 @@ export interface RealtimeModuleFilter {
9708
9754
  sourceRegistryTableId?: UUIDFilter;
9709
9755
  /** Filter by the object’s `retentionHours` field. */
9710
9756
  retentionHours?: IntFilter;
9711
- /** Filter by the object’s `lookaheadHours` field. */
9712
- lookaheadHours?: IntFilter;
9713
- /** Filter by the object’s `partitionInterval` field. */
9714
- partitionInterval?: StringFilter;
9757
+ /** Filter by the object’s `premake` field. */
9758
+ premake?: IntFilter;
9759
+ /** Filter by the object’s `interval` field. */
9760
+ interval?: StringFilter;
9715
9761
  /** Filter by the object’s `notifyChannel` field. */
9716
9762
  notifyChannel?: StringFilter;
9717
9763
  /** Checks for all expressions in this list. */
@@ -10068,14 +10114,14 @@ export interface PartitionFilter {
10068
10114
  tableId?: UUIDFilter;
10069
10115
  /** Filter by the object’s `strategy` field. */
10070
10116
  strategy?: StringFilter;
10071
- /** Filter by the object’s `partitionKeyIds` field. */
10072
- partitionKeyIds?: UUIDListFilter;
10117
+ /** Filter by the object’s `partitionKeyId` field. */
10118
+ partitionKeyId?: UUIDFilter;
10073
10119
  /** Filter by the object’s `interval` field. */
10074
10120
  interval?: StringFilter;
10075
10121
  /** Filter by the object’s `retention` field. */
10076
10122
  retention?: StringFilter;
10077
- /** Filter by the object’s `lookahead` field. */
10078
- lookahead?: IntFilter;
10123
+ /** Filter by the object’s `premake` field. */
10124
+ premake?: IntFilter;
10079
10125
  /** Filter by the object’s `namingPattern` field. */
10080
10126
  namingPattern?: StringFilter;
10081
10127
  /** Filter by the object’s `createdAt` field. */
@@ -10090,6 +10136,8 @@ export interface PartitionFilter {
10090
10136
  not?: PartitionFilter;
10091
10137
  /** Filter by the object’s `database` relation. */
10092
10138
  database?: DatabaseFilter;
10139
+ /** Filter by the object’s `partitionKey` relation. */
10140
+ partitionKey?: FieldFilter;
10093
10141
  /** Filter by the object’s `table` relation. */
10094
10142
  table?: TableFilter;
10095
10143
  }
@@ -10537,7 +10585,7 @@ export interface InvitesModuleFilter {
10537
10585
  /** Filter by the object’s `usersTable` relation. */
10538
10586
  usersTable?: TableFilter;
10539
10587
  }
10540
- export interface LevelsModuleFilter {
10588
+ export interface EventsModuleFilter {
10541
10589
  /** Filter by the object’s `id` field. */
10542
10590
  id?: UUIDFilter;
10543
10591
  /** Filter by the object’s `databaseId` field. */
@@ -10546,14 +10594,18 @@ export interface LevelsModuleFilter {
10546
10594
  schemaId?: UUIDFilter;
10547
10595
  /** Filter by the object’s `privateSchemaId` field. */
10548
10596
  privateSchemaId?: UUIDFilter;
10549
- /** Filter by the object’s `stepsTableId` field. */
10550
- stepsTableId?: UUIDFilter;
10551
- /** Filter by the object’s `stepsTableName` field. */
10552
- stepsTableName?: StringFilter;
10553
- /** Filter by the object’s `achievementsTableId` field. */
10554
- achievementsTableId?: UUIDFilter;
10555
- /** Filter by the object’s `achievementsTableName` field. */
10556
- achievementsTableName?: StringFilter;
10597
+ /** Filter by the object’s `eventsTableId` field. */
10598
+ eventsTableId?: UUIDFilter;
10599
+ /** Filter by the object’s `eventsTableName` field. */
10600
+ eventsTableName?: StringFilter;
10601
+ /** Filter by the object’s `eventAggregatesTableId` field. */
10602
+ eventAggregatesTableId?: UUIDFilter;
10603
+ /** Filter by the object’s `eventAggregatesTableName` field. */
10604
+ eventAggregatesTableName?: StringFilter;
10605
+ /** Filter by the object’s `eventTypesTableId` field. */
10606
+ eventTypesTableId?: UUIDFilter;
10607
+ /** Filter by the object’s `eventTypesTableName` field. */
10608
+ eventTypesTableName?: StringFilter;
10557
10609
  /** Filter by the object’s `levelsTableId` field. */
10558
10610
  levelsTableId?: UUIDFilter;
10559
10611
  /** Filter by the object’s `levelsTableName` field. */
@@ -10562,26 +10614,48 @@ export interface LevelsModuleFilter {
10562
10614
  levelRequirementsTableId?: UUIDFilter;
10563
10615
  /** Filter by the object’s `levelRequirementsTableName` field. */
10564
10616
  levelRequirementsTableName?: StringFilter;
10565
- /** Filter by the object’s `completedStep` field. */
10566
- completedStep?: StringFilter;
10567
- /** Filter by the object’s `incompletedStep` field. */
10568
- incompletedStep?: StringFilter;
10569
- /** Filter by the object’s `tgAchievement` field. */
10570
- tgAchievement?: StringFilter;
10571
- /** Filter by the object’s `tgAchievementToggle` field. */
10572
- tgAchievementToggle?: StringFilter;
10573
- /** Filter by the object’s `tgAchievementToggleBoolean` field. */
10574
- tgAchievementToggleBoolean?: StringFilter;
10575
- /** Filter by the object’s `tgAchievementBoolean` field. */
10576
- tgAchievementBoolean?: StringFilter;
10577
- /** Filter by the object’s `upsertAchievement` field. */
10578
- upsertAchievement?: StringFilter;
10579
- /** Filter by the object’s `tgUpdateAchievements` field. */
10580
- tgUpdateAchievements?: StringFilter;
10617
+ /** Filter by the object’s `levelGrantsTableId` field. */
10618
+ levelGrantsTableId?: UUIDFilter;
10619
+ /** Filter by the object’s `levelGrantsTableName` field. */
10620
+ levelGrantsTableName?: StringFilter;
10621
+ /** Filter by the object’s `achievementRewardsTableId` field. */
10622
+ achievementRewardsTableId?: UUIDFilter;
10623
+ /** Filter by the object’s `achievementRewardsTableName` field. */
10624
+ achievementRewardsTableName?: StringFilter;
10625
+ /** Filter by the object’s `recordEvent` field. */
10626
+ recordEvent?: StringFilter;
10627
+ /** Filter by the object’s `removeEvent` field. */
10628
+ removeEvent?: StringFilter;
10629
+ /** Filter by the object’s `tgEvent` field. */
10630
+ tgEvent?: StringFilter;
10631
+ /** Filter by the object’s `tgEventToggle` field. */
10632
+ tgEventToggle?: StringFilter;
10633
+ /** Filter by the object’s `tgEventToggleBool` field. */
10634
+ tgEventToggleBool?: StringFilter;
10635
+ /** Filter by the object’s `tgEventBool` field. */
10636
+ tgEventBool?: StringFilter;
10637
+ /** Filter by the object’s `upsertAggregate` field. */
10638
+ upsertAggregate?: StringFilter;
10639
+ /** Filter by the object’s `tgUpdateAggregates` field. */
10640
+ tgUpdateAggregates?: StringFilter;
10641
+ /** Filter by the object’s `pruneEvents` field. */
10642
+ pruneEvents?: StringFilter;
10581
10643
  /** Filter by the object’s `stepsRequired` field. */
10582
10644
  stepsRequired?: StringFilter;
10583
10645
  /** Filter by the object’s `levelAchieved` field. */
10584
10646
  levelAchieved?: StringFilter;
10647
+ /** Filter by the object’s `tgCheckAchievements` field. */
10648
+ tgCheckAchievements?: StringFilter;
10649
+ /** Filter by the object’s `grantAchievement` field. */
10650
+ grantAchievement?: StringFilter;
10651
+ /** Filter by the object’s `tgAchievementReward` field. */
10652
+ tgAchievementReward?: StringFilter;
10653
+ /** Filter by the object’s `interval` field. */
10654
+ interval?: StringFilter;
10655
+ /** Filter by the object’s `retention` field. */
10656
+ retention?: StringFilter;
10657
+ /** Filter by the object’s `premake` field. */
10658
+ premake?: IntFilter;
10585
10659
  /** Filter by the object’s `prefix` field. */
10586
10660
  prefix?: StringFilter;
10587
10661
  /** Filter by the object’s `membershipType` field. */
@@ -10591,13 +10665,13 @@ export interface LevelsModuleFilter {
10591
10665
  /** Filter by the object’s `actorTableId` field. */
10592
10666
  actorTableId?: UUIDFilter;
10593
10667
  /** Checks for all expressions in this list. */
10594
- and?: LevelsModuleFilter[];
10668
+ and?: EventsModuleFilter[];
10595
10669
  /** Checks for any expressions in this list. */
10596
- or?: LevelsModuleFilter[];
10670
+ or?: EventsModuleFilter[];
10597
10671
  /** Negates the expression. */
10598
- not?: LevelsModuleFilter;
10599
- /** Filter by the object’s `achievementsTable` relation. */
10600
- achievementsTable?: TableFilter;
10672
+ not?: EventsModuleFilter;
10673
+ /** Filter by the object’s `achievementRewardsTable` relation. */
10674
+ achievementRewardsTable?: TableFilter;
10601
10675
  /** Filter by the object’s `actorTable` relation. */
10602
10676
  actorTable?: TableFilter;
10603
10677
  /** Filter by the object’s `database` relation. */
@@ -10606,6 +10680,14 @@ export interface LevelsModuleFilter {
10606
10680
  entityTable?: TableFilter;
10607
10681
  /** A related `entityTable` exists. */
10608
10682
  entityTableExists?: boolean;
10683
+ /** Filter by the object’s `eventAggregatesTable` relation. */
10684
+ eventAggregatesTable?: TableFilter;
10685
+ /** Filter by the object’s `eventTypesTable` relation. */
10686
+ eventTypesTable?: TableFilter;
10687
+ /** Filter by the object’s `eventsTable` relation. */
10688
+ eventsTable?: TableFilter;
10689
+ /** Filter by the object’s `levelGrantsTable` relation. */
10690
+ levelGrantsTable?: TableFilter;
10609
10691
  /** Filter by the object’s `levelRequirementsTable` relation. */
10610
10692
  levelRequirementsTable?: TableFilter;
10611
10693
  /** Filter by the object’s `levelsTable` relation. */
@@ -10614,8 +10696,6 @@ export interface LevelsModuleFilter {
10614
10696
  privateSchema?: SchemaFilter;
10615
10697
  /** Filter by the object’s `schema` relation. */
10616
10698
  schema?: SchemaFilter;
10617
- /** Filter by the object’s `stepsTable` relation. */
10618
- stepsTable?: TableFilter;
10619
10699
  }
10620
10700
  export interface LimitsModuleFilter {
10621
10701
  /** Filter by the object’s `id` field. */
@@ -10666,6 +10746,14 @@ export interface LimitsModuleFilter {
10666
10746
  capCheckTrigger?: StringFilter;
10667
10747
  /** Filter by the object’s `resolveCapFunction` field. */
10668
10748
  resolveCapFunction?: StringFilter;
10749
+ /** Filter by the object’s `limitWarningsTableId` field. */
10750
+ limitWarningsTableId?: UUIDFilter;
10751
+ /** Filter by the object’s `limitWarningStateTableId` field. */
10752
+ limitWarningStateTableId?: UUIDFilter;
10753
+ /** Filter by the object’s `limitCheckSoftFunction` field. */
10754
+ limitCheckSoftFunction?: StringFilter;
10755
+ /** Filter by the object’s `limitAggregateCheckSoftFunction` field. */
10756
+ limitAggregateCheckSoftFunction?: StringFilter;
10669
10757
  /** Filter by the object’s `prefix` field. */
10670
10758
  prefix?: StringFilter;
10671
10759
  /** Filter by the object’s `membershipType` field. */
@@ -10722,6 +10810,14 @@ export interface LimitsModuleFilter {
10722
10810
  limitCreditsTable?: TableFilter;
10723
10811
  /** A related `limitCreditsTable` exists. */
10724
10812
  limitCreditsTableExists?: boolean;
10813
+ /** Filter by the object’s `limitWarningStateTable` relation. */
10814
+ limitWarningStateTable?: TableFilter;
10815
+ /** A related `limitWarningStateTable` exists. */
10816
+ limitWarningStateTableExists?: boolean;
10817
+ /** Filter by the object’s `limitWarningsTable` relation. */
10818
+ limitWarningsTable?: TableFilter;
10819
+ /** A related `limitWarningsTable` exists. */
10820
+ limitWarningsTableExists?: boolean;
10725
10821
  /** Filter by the object’s `privateSchema` relation. */
10726
10822
  privateSchema?: SchemaFilter;
10727
10823
  /** Filter by the object’s `schema` relation. */
@@ -11031,7 +11127,7 @@ export interface ProfilesModuleFilter {
11031
11127
  /** Filter by the object’s `table` relation. */
11032
11128
  table?: TableFilter;
11033
11129
  }
11034
- export interface SecretsModuleFilter {
11130
+ export interface UserStateModuleFilter {
11035
11131
  /** Filter by the object’s `id` field. */
11036
11132
  id?: UUIDFilter;
11037
11133
  /** Filter by the object’s `databaseId` field. */
@@ -11043,11 +11139,11 @@ export interface SecretsModuleFilter {
11043
11139
  /** Filter by the object’s `tableName` field. */
11044
11140
  tableName?: StringFilter;
11045
11141
  /** Checks for all expressions in this list. */
11046
- and?: SecretsModuleFilter[];
11142
+ and?: UserStateModuleFilter[];
11047
11143
  /** Checks for any expressions in this list. */
11048
- or?: SecretsModuleFilter[];
11144
+ or?: UserStateModuleFilter[];
11049
11145
  /** Negates the expression. */
11050
- not?: SecretsModuleFilter;
11146
+ not?: UserStateModuleFilter;
11051
11147
  /** Filter by the object’s `database` relation. */
11052
11148
  database?: DatabaseFilter;
11053
11149
  /** Filter by the object’s `schema` relation. */
@@ -11462,6 +11558,8 @@ export interface EntityTypeProvisionFilter {
11462
11558
  hasStorage?: BooleanFilter;
11463
11559
  /** Filter by the object’s `hasInvites` field. */
11464
11560
  hasInvites?: BooleanFilter;
11561
+ /** Filter by the object’s `hasInviteAchievements` field. */
11562
+ hasInviteAchievements?: BooleanFilter;
11465
11563
  /** Filter by the object’s `storageConfig` field. */
11466
11564
  storageConfig?: JSONFilter;
11467
11565
  /** Filter by the object’s `skipEntityPolicies` field. */
@@ -12261,75 +12359,29 @@ export interface OrgLimitAggregateFilter {
12261
12359
  /** Filter by the object’s `entity` relation. */
12262
12360
  entity?: UserFilter;
12263
12361
  }
12264
- export interface AppStepFilter {
12265
- /** Filter by the object’s `id` field. */
12266
- id?: UUIDFilter;
12267
- /** Filter by the object’s `actorId` field. */
12268
- actorId?: UUIDFilter;
12269
- /** Filter by the object’s `name` field. */
12270
- name?: StringFilter;
12271
- /** Filter by the object’s `count` field. */
12272
- count?: IntFilter;
12273
- /** Filter by the object’s `createdAt` field. */
12274
- createdAt?: DatetimeFilter;
12275
- /** Filter by the object’s `updatedAt` field. */
12276
- updatedAt?: DatetimeFilter;
12277
- /** Checks for all expressions in this list. */
12278
- and?: AppStepFilter[];
12279
- /** Checks for any expressions in this list. */
12280
- or?: AppStepFilter[];
12281
- /** Negates the expression. */
12282
- not?: AppStepFilter;
12283
- /** Filter by the object’s `actor` relation. */
12284
- actor?: UserFilter;
12285
- }
12286
- export interface AppAchievementFilter {
12287
- /** Filter by the object’s `id` field. */
12288
- id?: UUIDFilter;
12289
- /** Filter by the object’s `actorId` field. */
12290
- actorId?: UUIDFilter;
12291
- /** Filter by the object’s `name` field. */
12292
- name?: StringFilter;
12293
- /** Filter by the object’s `count` field. */
12294
- count?: IntFilter;
12295
- /** Filter by the object’s `createdAt` field. */
12296
- createdAt?: DatetimeFilter;
12297
- /** Filter by the object’s `updatedAt` field. */
12298
- updatedAt?: DatetimeFilter;
12299
- /** Checks for all expressions in this list. */
12300
- and?: AppAchievementFilter[];
12301
- /** Checks for any expressions in this list. */
12302
- or?: AppAchievementFilter[];
12303
- /** Negates the expression. */
12304
- not?: AppAchievementFilter;
12305
- /** Filter by the object’s `actor` relation. */
12306
- actor?: UserFilter;
12307
- }
12308
- export interface AppLevelFilter {
12362
+ export interface OrgLimitWarningFilter {
12309
12363
  /** Filter by the object’s `id` field. */
12310
12364
  id?: UUIDFilter;
12311
12365
  /** Filter by the object’s `name` field. */
12312
12366
  name?: StringFilter;
12313
- /** Filter by the object’s `description` field. */
12314
- description?: StringFilter;
12315
- /** Filter by the object’s `image` field. */
12316
- image?: ConstructiveInternalTypeImageFilter;
12317
- /** Filter by the object’s `ownerId` field. */
12318
- ownerId?: UUIDFilter;
12319
- /** Filter by the object’s `createdAt` field. */
12320
- createdAt?: DatetimeFilter;
12321
- /** Filter by the object’s `updatedAt` field. */
12322
- updatedAt?: DatetimeFilter;
12367
+ /** Filter by the object’s `warningType` field. */
12368
+ warningType?: StringFilter;
12369
+ /** Filter by the object’s `thresholdValue` field. */
12370
+ thresholdValue?: BigIntFilter;
12371
+ /** Filter by the object’s `taskIdentifier` field. */
12372
+ taskIdentifier?: StringFilter;
12373
+ /** Filter by the object’s `entityId` field. */
12374
+ entityId?: UUIDFilter;
12323
12375
  /** Checks for all expressions in this list. */
12324
- and?: AppLevelFilter[];
12376
+ and?: OrgLimitWarningFilter[];
12325
12377
  /** Checks for any expressions in this list. */
12326
- or?: AppLevelFilter[];
12378
+ or?: OrgLimitWarningFilter[];
12327
12379
  /** Negates the expression. */
12328
- not?: AppLevelFilter;
12329
- /** Filter by the object’s `owner` relation. */
12330
- owner?: UserFilter;
12331
- /** A related `owner` exists. */
12332
- ownerExists?: boolean;
12380
+ not?: OrgLimitWarningFilter;
12381
+ /** Filter by the object’s `entity` relation. */
12382
+ entity?: UserFilter;
12383
+ /** A related `entity` exists. */
12384
+ entityExists?: boolean;
12333
12385
  }
12334
12386
  export interface EmailFilter {
12335
12387
  /** Filter by the object’s `id` field. */
@@ -13007,6 +13059,24 @@ export interface OrgLimitDefaultFilter {
13007
13059
  /** `orgLimitCreditsByDefaultLimitId` exist. */
13008
13060
  orgLimitCreditsByDefaultLimitIdExist?: boolean;
13009
13061
  }
13062
+ export interface AppLimitWarningFilter {
13063
+ /** Filter by the object’s `id` field. */
13064
+ id?: UUIDFilter;
13065
+ /** Filter by the object’s `name` field. */
13066
+ name?: StringFilter;
13067
+ /** Filter by the object’s `warningType` field. */
13068
+ warningType?: StringFilter;
13069
+ /** Filter by the object’s `thresholdValue` field. */
13070
+ thresholdValue?: BigIntFilter;
13071
+ /** Filter by the object’s `taskIdentifier` field. */
13072
+ taskIdentifier?: StringFilter;
13073
+ /** Checks for all expressions in this list. */
13074
+ and?: AppLimitWarningFilter[];
13075
+ /** Checks for any expressions in this list. */
13076
+ or?: AppLimitWarningFilter[];
13077
+ /** Negates the expression. */
13078
+ not?: AppLimitWarningFilter;
13079
+ }
13010
13080
  export interface UserConnectedAccountFilter {
13011
13081
  /** Filter by the object’s `id` field. */
13012
13082
  id?: UUIDFilter;
@@ -13363,6 +13433,54 @@ export interface RlsModuleFilter {
13363
13433
  /** Filter by the object’s `usersTable` relation. */
13364
13434
  usersTable?: TableFilter;
13365
13435
  }
13436
+ export interface RateLimitMetersModuleFilter {
13437
+ /** Filter by the object’s `id` field. */
13438
+ id?: UUIDFilter;
13439
+ /** Filter by the object’s `databaseId` field. */
13440
+ databaseId?: UUIDFilter;
13441
+ /** Filter by the object’s `schemaId` field. */
13442
+ schemaId?: UUIDFilter;
13443
+ /** Filter by the object’s `privateSchemaId` field. */
13444
+ privateSchemaId?: UUIDFilter;
13445
+ /** Filter by the object’s `rateLimitStateTableId` field. */
13446
+ rateLimitStateTableId?: UUIDFilter;
13447
+ /** Filter by the object’s `rateLimitStateTableName` field. */
13448
+ rateLimitStateTableName?: StringFilter;
13449
+ /** Filter by the object’s `rateLimitOverridesTableId` field. */
13450
+ rateLimitOverridesTableId?: UUIDFilter;
13451
+ /** Filter by the object’s `rateLimitOverridesTableName` field. */
13452
+ rateLimitOverridesTableName?: StringFilter;
13453
+ /** Filter by the object’s `rateWindowLimitsTableId` field. */
13454
+ rateWindowLimitsTableId?: UUIDFilter;
13455
+ /** Filter by the object’s `rateWindowLimitsTableName` field. */
13456
+ rateWindowLimitsTableName?: StringFilter;
13457
+ /** Filter by the object’s `checkRateLimitFunction` field. */
13458
+ checkRateLimitFunction?: StringFilter;
13459
+ /** Filter by the object’s `prefix` field. */
13460
+ prefix?: StringFilter;
13461
+ /** Checks for all expressions in this list. */
13462
+ and?: RateLimitMetersModuleFilter[];
13463
+ /** Checks for any expressions in this list. */
13464
+ or?: RateLimitMetersModuleFilter[];
13465
+ /** Negates the expression. */
13466
+ not?: RateLimitMetersModuleFilter;
13467
+ /** Filter by the object’s `database` relation. */
13468
+ database?: DatabaseFilter;
13469
+ /** Filter by the object’s `privateSchema` relation. */
13470
+ privateSchema?: SchemaFilter;
13471
+ /** Filter by the object’s `rateLimitOverridesTableByRateLimitOverridesTableId` relation. */
13472
+ rateLimitOverridesTableByRateLimitOverridesTableId?: TableFilter;
13473
+ /** A related `rateLimitOverridesTableByRateLimitOverridesTableId` exists. */
13474
+ rateLimitOverridesTableByRateLimitOverridesTableIdExists?: boolean;
13475
+ /** Filter by the object’s `rateLimitStateTableByRateLimitStateTableId` relation. */
13476
+ rateLimitStateTableByRateLimitStateTableId?: TableFilter;
13477
+ /** Filter by the object’s `rateWindowLimitsTableByRateWindowLimitsTableId` relation. */
13478
+ rateWindowLimitsTableByRateWindowLimitsTableId?: TableFilter;
13479
+ /** A related `rateWindowLimitsTableByRateWindowLimitsTableId` exists. */
13480
+ rateWindowLimitsTableByRateWindowLimitsTableIdExists?: boolean;
13481
+ /** Filter by the object’s `schema` relation. */
13482
+ schema?: SchemaFilter;
13483
+ }
13366
13484
  export interface PlansModuleFilter {
13367
13485
  /** Filter by the object’s `id` field. */
13368
13486
  id?: UUIDFilter;
@@ -13754,18 +13872,10 @@ export interface UserFilter {
13754
13872
  orgLimitAggregatesByEntityId?: UserToManyOrgLimitAggregateFilter;
13755
13873
  /** `orgLimitAggregatesByEntityId` exist. */
13756
13874
  orgLimitAggregatesByEntityIdExist?: boolean;
13757
- /** Filter by the object’s `appStepsByActorId` relation. */
13758
- appStepsByActorId?: UserToManyAppStepFilter;
13759
- /** `appStepsByActorId` exist. */
13760
- appStepsByActorIdExist?: boolean;
13761
- /** Filter by the object’s `appAchievementsByActorId` relation. */
13762
- appAchievementsByActorId?: UserToManyAppAchievementFilter;
13763
- /** `appAchievementsByActorId` exist. */
13764
- appAchievementsByActorIdExist?: boolean;
13765
- /** Filter by the object’s `ownedAppLevels` relation. */
13766
- ownedAppLevels?: UserToManyAppLevelFilter;
13767
- /** `ownedAppLevels` exist. */
13768
- ownedAppLevelsExist?: boolean;
13875
+ /** Filter by the object’s `orgLimitWarningsByEntityId` relation. */
13876
+ orgLimitWarningsByEntityId?: UserToManyOrgLimitWarningFilter;
13877
+ /** `orgLimitWarningsByEntityId` exist. */
13878
+ orgLimitWarningsByEntityIdExist?: boolean;
13769
13879
  /** Filter by the object’s `ownedEmails` relation. */
13770
13880
  ownedEmails?: UserToManyEmailFilter;
13771
13881
  /** `ownedEmails` exist. */
@@ -14158,7 +14268,6 @@ export type GetAllRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NAT
14158
14268
  export type AppPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC';
14159
14269
  export type OrgPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC';
14160
14270
  export type ObjectOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'KIDS_ASC' | 'KIDS_DESC' | 'KTREE_ASC' | 'KTREE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'FRZN_ASC' | 'FRZN_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
14161
- export type AppLevelRequirementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LEVEL_ASC' | 'LEVEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'REQUIRED_COUNT_ASC' | 'REQUIRED_COUNT_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14162
14271
  export type DatabaseOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SCHEMA_HASH_ASC' | 'SCHEMA_HASH_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14163
14272
  export type SchemaOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SCHEMA_NAME_ASC' | 'SCHEMA_NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14164
14273
  export type TableOrderBy = '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' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'TIMESTAMPS_ASC' | 'TIMESTAMPS_DESC' | 'PEOPLESTAMPS_ASC' | 'PEOPLESTAMPS_DESC' | 'PLURAL_NAME_ASC' | 'PLURAL_NAME_DESC' | 'SINGULAR_NAME_ASC' | 'SINGULAR_NAME_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'PARTITIONED_ASC' | 'PARTITIONED_DESC' | 'PARTITION_STRATEGY_ASC' | 'PARTITION_STRATEGY_DESC' | 'PARTITION_KEY_NAMES_ASC' | 'PARTITION_KEY_NAMES_DESC' | 'PARTITION_KEY_TYPES_ASC' | 'PARTITION_KEY_TYPES_DESC' | 'INHERITS_ID_ASC' | 'INHERITS_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
@@ -14177,12 +14286,12 @@ export type ViewOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | '
14177
14286
  export type ViewTableOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'JOIN_ORDER_ASC' | 'JOIN_ORDER_DESC';
14178
14287
  export type ViewGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'WITH_GRANT_OPTION_ASC' | 'WITH_GRANT_OPTION_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC';
14179
14288
  export type ViewRuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTION_ASC' | 'ACTION_DESC';
14180
- export type EmbeddingChunkOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'EMBEDDING_FIELD_ID_ASC' | 'EMBEDDING_FIELD_ID_DESC' | 'CHUNKS_TABLE_ID_ASC' | 'CHUNKS_TABLE_ID_DESC' | 'CHUNKS_TABLE_NAME_ASC' | 'CHUNKS_TABLE_NAME_DESC' | 'CONTENT_FIELD_NAME_ASC' | 'CONTENT_FIELD_NAME_DESC' | 'DIMENSIONS_ASC' | 'DIMENSIONS_DESC' | 'METRIC_ASC' | 'METRIC_DESC' | 'CHUNK_SIZE_ASC' | 'CHUNK_SIZE_DESC' | 'CHUNK_OVERLAP_ASC' | 'CHUNK_OVERLAP_DESC' | 'CHUNK_STRATEGY_ASC' | 'CHUNK_STRATEGY_DESC' | 'METADATA_FIELDS_ASC' | 'METADATA_FIELDS_DESC' | 'ENQUEUE_CHUNKING_JOB_ASC' | 'ENQUEUE_CHUNKING_JOB_DESC' | 'CHUNKING_TASK_NAME_ASC' | 'CHUNKING_TASK_NAME_DESC' | 'PARENT_FK_FIELD_ID_ASC' | 'PARENT_FK_FIELD_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14289
+ export type EmbeddingChunkOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'EMBEDDING_FIELD_ID_ASC' | 'EMBEDDING_FIELD_ID_DESC' | 'CHUNKS_TABLE_ID_ASC' | 'CHUNKS_TABLE_ID_DESC' | 'CHUNKS_TABLE_NAME_ASC' | 'CHUNKS_TABLE_NAME_DESC' | 'CONTENT_FIELD_NAME_ASC' | 'CONTENT_FIELD_NAME_DESC' | 'DIMENSIONS_ASC' | 'DIMENSIONS_DESC' | 'METRIC_ASC' | 'METRIC_DESC' | 'CHUNK_SIZE_ASC' | 'CHUNK_SIZE_DESC' | 'CHUNK_OVERLAP_ASC' | 'CHUNK_OVERLAP_DESC' | 'CHUNK_STRATEGY_ASC' | 'CHUNK_STRATEGY_DESC' | 'METADATA_FIELDS_ASC' | 'METADATA_FIELDS_DESC' | 'SEARCH_INDEXES_ASC' | 'SEARCH_INDEXES_DESC' | 'ENQUEUE_CHUNKING_JOB_ASC' | 'ENQUEUE_CHUNKING_JOB_DESC' | 'CHUNKING_TASK_NAME_ASC' | 'CHUNKING_TASK_NAME_DESC' | 'EMBEDDING_MODEL_ASC' | 'EMBEDDING_MODEL_DESC' | 'EMBEDDING_PROVIDER_ASC' | 'EMBEDDING_PROVIDER_DESC' | 'PARENT_FK_FIELD_ID_ASC' | 'PARENT_FK_FIELD_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14181
14290
  export type SecureTableProvisionOrderBy = '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' | 'NODES_ASC' | 'NODES_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'FIELDS_ASC' | 'FIELDS_DESC' | 'GRANTS_ASC' | 'GRANTS_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'OUT_FIELDS_ASC' | 'OUT_FIELDS_DESC';
14182
14291
  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';
14183
14292
  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';
14184
14293
  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';
14185
- 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';
14294
+ 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' | 'PREMAKE_ASC' | 'PREMAKE_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'NOTIFY_CHANNEL_ASC' | 'NOTIFY_CHANNEL_DESC';
14186
14295
  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';
14187
14296
  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';
14188
14297
  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';
@@ -14196,7 +14305,7 @@ export type SiteThemeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC
14196
14305
  export type CorsSettingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC';
14197
14306
  export type TriggerFunctionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CODE_ASC' | 'CODE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14198
14307
  export type DatabaseTransferOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TARGET_OWNER_ID_ASC' | 'TARGET_OWNER_ID_DESC' | 'SOURCE_APPROVED_ASC' | 'SOURCE_APPROVED_DESC' | 'TARGET_APPROVED_ASC' | 'TARGET_APPROVED_DESC' | 'SOURCE_APPROVED_AT_ASC' | 'SOURCE_APPROVED_AT_DESC' | 'TARGET_APPROVED_AT_ASC' | 'TARGET_APPROVED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'INITIATED_BY_ASC' | 'INITIATED_BY_DESC' | 'NOTES_ASC' | 'NOTES_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC';
14199
- export type PartitionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'STRATEGY_ASC' | 'STRATEGY_DESC' | 'PARTITION_KEY_IDS_ASC' | 'PARTITION_KEY_IDS_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'RETENTION_ASC' | 'RETENTION_DESC' | 'LOOKAHEAD_ASC' | 'LOOKAHEAD_DESC' | 'NAMING_PATTERN_ASC' | 'NAMING_PATTERN_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14308
+ export type PartitionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'STRATEGY_ASC' | 'STRATEGY_DESC' | 'PARTITION_KEY_ID_ASC' | 'PARTITION_KEY_ID_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'RETENTION_ASC' | 'RETENTION_DESC' | 'PREMAKE_ASC' | 'PREMAKE_DESC' | 'NAMING_PATTERN_ASC' | 'NAMING_PATTERN_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14200
14309
  export type ApiOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DBNAME_ASC' | 'DBNAME_DESC' | 'ROLE_NAME_ASC' | 'ROLE_NAME_DESC' | 'ANON_ROLE_ASC' | 'ANON_ROLE_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC';
14201
14310
  export type SiteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'OG_IMAGE_ASC' | 'OG_IMAGE_DESC' | 'FAVICON_ASC' | 'FAVICON_DESC' | 'APPLE_TOUCH_ICON_ASC' | 'APPLE_TOUCH_ICON_DESC' | 'LOGO_ASC' | 'LOGO_DESC' | 'DBNAME_ASC' | 'DBNAME_DESC';
14202
14311
  export type AppOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SITE_ID_ASC' | 'SITE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'APP_IMAGE_ASC' | 'APP_IMAGE_DESC' | 'APP_STORE_LINK_ASC' | 'APP_STORE_LINK_DESC' | 'APP_STORE_ID_ASC' | 'APP_STORE_ID_DESC' | 'APP_ID_PREFIX_ASC' | 'APP_ID_PREFIX_DESC' | 'PLAY_STORE_LINK_ASC' | 'PLAY_STORE_LINK_DESC';
@@ -14209,14 +14318,14 @@ export type DenormalizedTableFieldOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRI
14209
14318
  export type EmailsModuleOrderBy = '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' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
14210
14319
  export type EncryptedSecretsModuleOrderBy = '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';
14211
14320
  export type InvitesModuleOrderBy = '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' | 'EMAILS_TABLE_ID_ASC' | 'EMAILS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'INVITES_TABLE_ID_ASC' | 'INVITES_TABLE_ID_DESC' | 'CLAIMED_INVITES_TABLE_ID_ASC' | 'CLAIMED_INVITES_TABLE_ID_DESC' | 'INVITES_TABLE_NAME_ASC' | 'INVITES_TABLE_NAME_DESC' | 'CLAIMED_INVITES_TABLE_NAME_ASC' | 'CLAIMED_INVITES_TABLE_NAME_DESC' | 'SUBMIT_INVITE_CODE_FUNCTION_ASC' | 'SUBMIT_INVITE_CODE_FUNCTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC';
14212
- export type LevelsModuleOrderBy = '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' | 'STEPS_TABLE_ID_ASC' | 'STEPS_TABLE_ID_DESC' | 'STEPS_TABLE_NAME_ASC' | 'STEPS_TABLE_NAME_DESC' | 'ACHIEVEMENTS_TABLE_ID_ASC' | 'ACHIEVEMENTS_TABLE_ID_DESC' | 'ACHIEVEMENTS_TABLE_NAME_ASC' | 'ACHIEVEMENTS_TABLE_NAME_DESC' | 'LEVELS_TABLE_ID_ASC' | 'LEVELS_TABLE_ID_DESC' | 'LEVELS_TABLE_NAME_ASC' | 'LEVELS_TABLE_NAME_DESC' | 'LEVEL_REQUIREMENTS_TABLE_ID_ASC' | 'LEVEL_REQUIREMENTS_TABLE_ID_DESC' | 'LEVEL_REQUIREMENTS_TABLE_NAME_ASC' | 'LEVEL_REQUIREMENTS_TABLE_NAME_DESC' | 'COMPLETED_STEP_ASC' | 'COMPLETED_STEP_DESC' | 'INCOMPLETED_STEP_ASC' | 'INCOMPLETED_STEP_DESC' | 'TG_ACHIEVEMENT_ASC' | 'TG_ACHIEVEMENT_DESC' | 'TG_ACHIEVEMENT_TOGGLE_ASC' | 'TG_ACHIEVEMENT_TOGGLE_DESC' | 'TG_ACHIEVEMENT_TOGGLE_BOOLEAN_ASC' | 'TG_ACHIEVEMENT_TOGGLE_BOOLEAN_DESC' | 'TG_ACHIEVEMENT_BOOLEAN_ASC' | 'TG_ACHIEVEMENT_BOOLEAN_DESC' | 'UPSERT_ACHIEVEMENT_ASC' | 'UPSERT_ACHIEVEMENT_DESC' | 'TG_UPDATE_ACHIEVEMENTS_ASC' | 'TG_UPDATE_ACHIEVEMENTS_DESC' | 'STEPS_REQUIRED_ASC' | 'STEPS_REQUIRED_DESC' | 'LEVEL_ACHIEVED_ASC' | 'LEVEL_ACHIEVED_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC';
14213
- export type LimitsModuleOrderBy = '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' | 'DEFAULT_TABLE_ID_ASC' | 'DEFAULT_TABLE_ID_DESC' | 'DEFAULT_TABLE_NAME_ASC' | 'DEFAULT_TABLE_NAME_DESC' | 'LIMIT_INCREMENT_FUNCTION_ASC' | 'LIMIT_INCREMENT_FUNCTION_DESC' | 'LIMIT_DECREMENT_FUNCTION_ASC' | 'LIMIT_DECREMENT_FUNCTION_DESC' | 'LIMIT_INCREMENT_TRIGGER_ASC' | 'LIMIT_INCREMENT_TRIGGER_DESC' | 'LIMIT_DECREMENT_TRIGGER_ASC' | 'LIMIT_DECREMENT_TRIGGER_DESC' | 'LIMIT_UPDATE_TRIGGER_ASC' | 'LIMIT_UPDATE_TRIGGER_DESC' | 'LIMIT_CHECK_FUNCTION_ASC' | 'LIMIT_CHECK_FUNCTION_DESC' | 'LIMIT_CREDITS_TABLE_ID_ASC' | 'LIMIT_CREDITS_TABLE_ID_DESC' | 'EVENTS_TABLE_ID_ASC' | 'EVENTS_TABLE_ID_DESC' | 'CREDIT_CODES_TABLE_ID_ASC' | 'CREDIT_CODES_TABLE_ID_DESC' | 'CREDIT_CODE_ITEMS_TABLE_ID_ASC' | 'CREDIT_CODE_ITEMS_TABLE_ID_DESC' | 'CREDIT_REDEMPTIONS_TABLE_ID_ASC' | 'CREDIT_REDEMPTIONS_TABLE_ID_DESC' | 'AGGREGATE_TABLE_ID_ASC' | 'AGGREGATE_TABLE_ID_DESC' | 'LIMIT_CAPS_TABLE_ID_ASC' | 'LIMIT_CAPS_TABLE_ID_DESC' | 'LIMIT_CAPS_DEFAULTS_TABLE_ID_ASC' | 'LIMIT_CAPS_DEFAULTS_TABLE_ID_DESC' | 'CAP_CHECK_TRIGGER_ASC' | 'CAP_CHECK_TRIGGER_DESC' | 'RESOLVE_CAP_FUNCTION_ASC' | 'RESOLVE_CAP_FUNCTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC';
14321
+ export type EventsModuleOrderBy = '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' | 'EVENTS_TABLE_ID_ASC' | 'EVENTS_TABLE_ID_DESC' | 'EVENTS_TABLE_NAME_ASC' | 'EVENTS_TABLE_NAME_DESC' | 'EVENT_AGGREGATES_TABLE_ID_ASC' | 'EVENT_AGGREGATES_TABLE_ID_DESC' | 'EVENT_AGGREGATES_TABLE_NAME_ASC' | 'EVENT_AGGREGATES_TABLE_NAME_DESC' | 'EVENT_TYPES_TABLE_ID_ASC' | 'EVENT_TYPES_TABLE_ID_DESC' | 'EVENT_TYPES_TABLE_NAME_ASC' | 'EVENT_TYPES_TABLE_NAME_DESC' | 'LEVELS_TABLE_ID_ASC' | 'LEVELS_TABLE_ID_DESC' | 'LEVELS_TABLE_NAME_ASC' | 'LEVELS_TABLE_NAME_DESC' | 'LEVEL_REQUIREMENTS_TABLE_ID_ASC' | 'LEVEL_REQUIREMENTS_TABLE_ID_DESC' | 'LEVEL_REQUIREMENTS_TABLE_NAME_ASC' | 'LEVEL_REQUIREMENTS_TABLE_NAME_DESC' | 'LEVEL_GRANTS_TABLE_ID_ASC' | 'LEVEL_GRANTS_TABLE_ID_DESC' | 'LEVEL_GRANTS_TABLE_NAME_ASC' | 'LEVEL_GRANTS_TABLE_NAME_DESC' | 'ACHIEVEMENT_REWARDS_TABLE_ID_ASC' | 'ACHIEVEMENT_REWARDS_TABLE_ID_DESC' | 'ACHIEVEMENT_REWARDS_TABLE_NAME_ASC' | 'ACHIEVEMENT_REWARDS_TABLE_NAME_DESC' | 'RECORD_EVENT_ASC' | 'RECORD_EVENT_DESC' | 'REMOVE_EVENT_ASC' | 'REMOVE_EVENT_DESC' | 'TG_EVENT_ASC' | 'TG_EVENT_DESC' | 'TG_EVENT_TOGGLE_ASC' | 'TG_EVENT_TOGGLE_DESC' | 'TG_EVENT_TOGGLE_BOOL_ASC' | 'TG_EVENT_TOGGLE_BOOL_DESC' | 'TG_EVENT_BOOL_ASC' | 'TG_EVENT_BOOL_DESC' | 'UPSERT_AGGREGATE_ASC' | 'UPSERT_AGGREGATE_DESC' | 'TG_UPDATE_AGGREGATES_ASC' | 'TG_UPDATE_AGGREGATES_DESC' | 'PRUNE_EVENTS_ASC' | 'PRUNE_EVENTS_DESC' | 'STEPS_REQUIRED_ASC' | 'STEPS_REQUIRED_DESC' | 'LEVEL_ACHIEVED_ASC' | 'LEVEL_ACHIEVED_DESC' | 'TG_CHECK_ACHIEVEMENTS_ASC' | 'TG_CHECK_ACHIEVEMENTS_DESC' | 'GRANT_ACHIEVEMENT_ASC' | 'GRANT_ACHIEVEMENT_DESC' | 'TG_ACHIEVEMENT_REWARD_ASC' | 'TG_ACHIEVEMENT_REWARD_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'RETENTION_ASC' | 'RETENTION_DESC' | 'PREMAKE_ASC' | 'PREMAKE_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC';
14322
+ export type LimitsModuleOrderBy = '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' | 'DEFAULT_TABLE_ID_ASC' | 'DEFAULT_TABLE_ID_DESC' | 'DEFAULT_TABLE_NAME_ASC' | 'DEFAULT_TABLE_NAME_DESC' | 'LIMIT_INCREMENT_FUNCTION_ASC' | 'LIMIT_INCREMENT_FUNCTION_DESC' | 'LIMIT_DECREMENT_FUNCTION_ASC' | 'LIMIT_DECREMENT_FUNCTION_DESC' | 'LIMIT_INCREMENT_TRIGGER_ASC' | 'LIMIT_INCREMENT_TRIGGER_DESC' | 'LIMIT_DECREMENT_TRIGGER_ASC' | 'LIMIT_DECREMENT_TRIGGER_DESC' | 'LIMIT_UPDATE_TRIGGER_ASC' | 'LIMIT_UPDATE_TRIGGER_DESC' | 'LIMIT_CHECK_FUNCTION_ASC' | 'LIMIT_CHECK_FUNCTION_DESC' | 'LIMIT_CREDITS_TABLE_ID_ASC' | 'LIMIT_CREDITS_TABLE_ID_DESC' | 'EVENTS_TABLE_ID_ASC' | 'EVENTS_TABLE_ID_DESC' | 'CREDIT_CODES_TABLE_ID_ASC' | 'CREDIT_CODES_TABLE_ID_DESC' | 'CREDIT_CODE_ITEMS_TABLE_ID_ASC' | 'CREDIT_CODE_ITEMS_TABLE_ID_DESC' | 'CREDIT_REDEMPTIONS_TABLE_ID_ASC' | 'CREDIT_REDEMPTIONS_TABLE_ID_DESC' | 'AGGREGATE_TABLE_ID_ASC' | 'AGGREGATE_TABLE_ID_DESC' | 'LIMIT_CAPS_TABLE_ID_ASC' | 'LIMIT_CAPS_TABLE_ID_DESC' | 'LIMIT_CAPS_DEFAULTS_TABLE_ID_ASC' | 'LIMIT_CAPS_DEFAULTS_TABLE_ID_DESC' | 'CAP_CHECK_TRIGGER_ASC' | 'CAP_CHECK_TRIGGER_DESC' | 'RESOLVE_CAP_FUNCTION_ASC' | 'RESOLVE_CAP_FUNCTION_DESC' | 'LIMIT_WARNINGS_TABLE_ID_ASC' | 'LIMIT_WARNINGS_TABLE_ID_DESC' | 'LIMIT_WARNING_STATE_TABLE_ID_ASC' | 'LIMIT_WARNING_STATE_TABLE_ID_DESC' | 'LIMIT_CHECK_SOFT_FUNCTION_ASC' | 'LIMIT_CHECK_SOFT_FUNCTION_DESC' | 'LIMIT_AGGREGATE_CHECK_SOFT_FUNCTION_ASC' | 'LIMIT_AGGREGATE_CHECK_SOFT_FUNCTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC';
14214
14323
  export type MembershipTypesModuleOrderBy = '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';
14215
14324
  export type MembershipsModuleOrderBy = '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' | 'MEMBERSHIPS_TABLE_ID_ASC' | 'MEMBERSHIPS_TABLE_ID_DESC' | 'MEMBERSHIPS_TABLE_NAME_ASC' | 'MEMBERSHIPS_TABLE_NAME_DESC' | 'MEMBERS_TABLE_ID_ASC' | 'MEMBERS_TABLE_ID_DESC' | 'MEMBERS_TABLE_NAME_ASC' | 'MEMBERS_TABLE_NAME_DESC' | 'MEMBERSHIP_DEFAULTS_TABLE_ID_ASC' | 'MEMBERSHIP_DEFAULTS_TABLE_ID_DESC' | 'MEMBERSHIP_DEFAULTS_TABLE_NAME_ASC' | 'MEMBERSHIP_DEFAULTS_TABLE_NAME_DESC' | 'MEMBERSHIP_SETTINGS_TABLE_ID_ASC' | 'MEMBERSHIP_SETTINGS_TABLE_ID_DESC' | 'MEMBERSHIP_SETTINGS_TABLE_NAME_ASC' | 'MEMBERSHIP_SETTINGS_TABLE_NAME_DESC' | 'GRANTS_TABLE_ID_ASC' | 'GRANTS_TABLE_ID_DESC' | 'GRANTS_TABLE_NAME_ASC' | 'GRANTS_TABLE_NAME_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'LIMITS_TABLE_ID_ASC' | 'LIMITS_TABLE_ID_DESC' | 'DEFAULT_LIMITS_TABLE_ID_ASC' | 'DEFAULT_LIMITS_TABLE_ID_DESC' | 'PERMISSIONS_TABLE_ID_ASC' | 'PERMISSIONS_TABLE_ID_DESC' | 'DEFAULT_PERMISSIONS_TABLE_ID_ASC' | 'DEFAULT_PERMISSIONS_TABLE_ID_DESC' | 'SPRT_TABLE_ID_ASC' | 'SPRT_TABLE_ID_DESC' | 'ADMIN_GRANTS_TABLE_ID_ASC' | 'ADMIN_GRANTS_TABLE_ID_DESC' | 'ADMIN_GRANTS_TABLE_NAME_ASC' | 'ADMIN_GRANTS_TABLE_NAME_DESC' | 'OWNER_GRANTS_TABLE_ID_ASC' | 'OWNER_GRANTS_TABLE_ID_DESC' | 'OWNER_GRANTS_TABLE_NAME_ASC' | 'OWNER_GRANTS_TABLE_NAME_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ENTITY_TABLE_OWNER_ID_ASC' | 'ENTITY_TABLE_OWNER_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'ACTOR_MASK_CHECK_ASC' | 'ACTOR_MASK_CHECK_DESC' | 'ACTOR_PERM_CHECK_ASC' | 'ACTOR_PERM_CHECK_DESC' | 'ENTITY_IDS_BY_MASK_ASC' | 'ENTITY_IDS_BY_MASK_DESC' | 'ENTITY_IDS_BY_PERM_ASC' | 'ENTITY_IDS_BY_PERM_DESC' | 'ENTITY_IDS_FUNCTION_ASC' | 'ENTITY_IDS_FUNCTION_DESC' | 'MEMBER_PROFILES_TABLE_ID_ASC' | 'MEMBER_PROFILES_TABLE_ID_DESC';
14216
14325
  export type PermissionsModuleOrderBy = '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' | 'DEFAULT_TABLE_ID_ASC' | 'DEFAULT_TABLE_ID_DESC' | 'DEFAULT_TABLE_NAME_ASC' | 'DEFAULT_TABLE_NAME_DESC' | 'BITLEN_ASC' | 'BITLEN_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'GET_PADDED_MASK_ASC' | 'GET_PADDED_MASK_DESC' | 'GET_MASK_ASC' | 'GET_MASK_DESC' | 'GET_BY_MASK_ASC' | 'GET_BY_MASK_DESC' | 'GET_MASK_BY_NAME_ASC' | 'GET_MASK_BY_NAME_DESC';
14217
14326
  export type PhoneNumbersModuleOrderBy = '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' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
14218
14327
  export type ProfilesModuleOrderBy = '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' | 'PROFILE_PERMISSIONS_TABLE_ID_ASC' | 'PROFILE_PERMISSIONS_TABLE_ID_DESC' | 'PROFILE_PERMISSIONS_TABLE_NAME_ASC' | 'PROFILE_PERMISSIONS_TABLE_NAME_DESC' | 'PROFILE_GRANTS_TABLE_ID_ASC' | 'PROFILE_GRANTS_TABLE_ID_DESC' | 'PROFILE_GRANTS_TABLE_NAME_ASC' | 'PROFILE_GRANTS_TABLE_NAME_DESC' | 'PROFILE_DEFINITION_GRANTS_TABLE_ID_ASC' | 'PROFILE_DEFINITION_GRANTS_TABLE_ID_DESC' | 'PROFILE_DEFINITION_GRANTS_TABLE_NAME_ASC' | 'PROFILE_DEFINITION_GRANTS_TABLE_NAME_DESC' | 'PROFILE_TEMPLATES_TABLE_ID_ASC' | 'PROFILE_TEMPLATES_TABLE_ID_DESC' | 'PROFILE_TEMPLATES_TABLE_NAME_ASC' | 'PROFILE_TEMPLATES_TABLE_NAME_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'PERMISSIONS_TABLE_ID_ASC' | 'PERMISSIONS_TABLE_ID_DESC' | 'MEMBERSHIPS_TABLE_ID_ASC' | 'MEMBERSHIPS_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC';
14219
- export type SecretsModuleOrderBy = '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';
14328
+ export type UserStateModuleOrderBy = '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';
14220
14329
  export type SessionsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'AUTH_SETTINGS_TABLE_ID_ASC' | 'AUTH_SETTINGS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'SESSIONS_DEFAULT_EXPIRATION_ASC' | 'SESSIONS_DEFAULT_EXPIRATION_DESC' | 'SESSIONS_TABLE_ASC' | 'SESSIONS_TABLE_DESC' | 'SESSION_CREDENTIALS_TABLE_ASC' | 'SESSION_CREDENTIALS_TABLE_DESC' | 'AUTH_SETTINGS_TABLE_ASC' | 'AUTH_SETTINGS_TABLE_DESC';
14221
14330
  export type UserAuthModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'EMAILS_TABLE_ID_ASC' | 'EMAILS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'SECRETS_TABLE_ID_ASC' | 'SECRETS_TABLE_ID_DESC' | 'ENCRYPTED_TABLE_ID_ASC' | 'ENCRYPTED_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'AUDITS_TABLE_ID_ASC' | 'AUDITS_TABLE_ID_DESC' | 'AUDITS_TABLE_NAME_ASC' | 'AUDITS_TABLE_NAME_DESC' | 'SIGN_IN_FUNCTION_ASC' | 'SIGN_IN_FUNCTION_DESC' | 'SIGN_UP_FUNCTION_ASC' | 'SIGN_UP_FUNCTION_DESC' | 'SIGN_OUT_FUNCTION_ASC' | 'SIGN_OUT_FUNCTION_DESC' | 'SET_PASSWORD_FUNCTION_ASC' | 'SET_PASSWORD_FUNCTION_DESC' | 'RESET_PASSWORD_FUNCTION_ASC' | 'RESET_PASSWORD_FUNCTION_DESC' | 'FORGOT_PASSWORD_FUNCTION_ASC' | 'FORGOT_PASSWORD_FUNCTION_DESC' | 'SEND_VERIFICATION_EMAIL_FUNCTION_ASC' | 'SEND_VERIFICATION_EMAIL_FUNCTION_DESC' | 'VERIFY_EMAIL_FUNCTION_ASC' | 'VERIFY_EMAIL_FUNCTION_DESC' | 'VERIFY_PASSWORD_FUNCTION_ASC' | 'VERIFY_PASSWORD_FUNCTION_DESC' | 'CHECK_PASSWORD_FUNCTION_ASC' | 'CHECK_PASSWORD_FUNCTION_DESC' | 'SEND_ACCOUNT_DELETION_EMAIL_FUNCTION_ASC' | 'SEND_ACCOUNT_DELETION_EMAIL_FUNCTION_DESC' | 'DELETE_ACCOUNT_FUNCTION_ASC' | 'DELETE_ACCOUNT_FUNCTION_DESC' | 'SIGN_IN_CROSS_ORIGIN_FUNCTION_ASC' | 'SIGN_IN_CROSS_ORIGIN_FUNCTION_DESC' | 'REQUEST_CROSS_ORIGIN_TOKEN_FUNCTION_ASC' | 'REQUEST_CROSS_ORIGIN_TOKEN_FUNCTION_DESC' | 'EXTEND_TOKEN_EXPIRES_ASC' | 'EXTEND_TOKEN_EXPIRES_DESC';
14222
14331
  export type UsersModuleOrderBy = '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' | 'TYPE_TABLE_ID_ASC' | 'TYPE_TABLE_ID_DESC' | 'TYPE_TABLE_NAME_ASC' | 'TYPE_TABLE_NAME_DESC';
@@ -14224,7 +14333,7 @@ export type BlueprintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC
14224
14333
  export type BlueprintTemplateOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'VERSION_ASC' | 'VERSION_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC' | 'CATEGORIES_ASC' | 'CATEGORIES_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'DEFINITION_SCHEMA_VERSION_ASC' | 'DEFINITION_SCHEMA_VERSION_DESC' | 'SOURCE_ASC' | 'SOURCE_DESC' | 'COMPLEXITY_ASC' | 'COMPLEXITY_DESC' | 'COPY_COUNT_ASC' | 'COPY_COUNT_DESC' | 'FORK_COUNT_ASC' | 'FORK_COUNT_DESC' | 'FORKED_FROM_ID_ASC' | 'FORKED_FROM_ID_DESC' | 'DEFINITION_HASH_ASC' | 'DEFINITION_HASH_DESC' | 'TABLE_HASHES_ASC' | 'TABLE_HASHES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14225
14334
  export type BlueprintConstructionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'BLUEPRINT_ID_ASC' | 'BLUEPRINT_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'ERROR_DETAILS_ASC' | 'ERROR_DETAILS_DESC' | 'TABLE_MAP_ASC' | 'TABLE_MAP_DESC' | 'CONSTRUCTED_DEFINITION_ASC' | 'CONSTRUCTED_DEFINITION_DESC' | 'CONSTRUCTED_AT_ASC' | 'CONSTRUCTED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14226
14335
  export type StorageModuleOrderBy = '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' | 'BUCKETS_TABLE_ID_ASC' | 'BUCKETS_TABLE_ID_DESC' | 'FILES_TABLE_ID_ASC' | 'FILES_TABLE_ID_DESC' | 'BUCKETS_TABLE_NAME_ASC' | 'BUCKETS_TABLE_NAME_DESC' | 'FILES_TABLE_NAME_ASC' | 'FILES_TABLE_NAME_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'SKIP_DEFAULT_POLICY_TABLES_ASC' | 'SKIP_DEFAULT_POLICY_TABLES_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ENDPOINT_ASC' | 'ENDPOINT_DESC' | 'PUBLIC_URL_PREFIX_ASC' | 'PUBLIC_URL_PREFIX_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'RESTRICT_READS_ASC' | 'RESTRICT_READS_DESC' | 'HAS_PATH_SHARES_ASC' | 'HAS_PATH_SHARES_DESC' | 'PATH_SHARES_TABLE_ID_ASC' | 'PATH_SHARES_TABLE_ID_DESC' | 'UPLOAD_URL_EXPIRY_SECONDS_ASC' | 'UPLOAD_URL_EXPIRY_SECONDS_DESC' | 'DOWNLOAD_URL_EXPIRY_SECONDS_ASC' | 'DOWNLOAD_URL_EXPIRY_SECONDS_DESC' | 'DEFAULT_MAX_FILE_SIZE_ASC' | 'DEFAULT_MAX_FILE_SIZE_DESC' | 'MAX_FILENAME_LENGTH_ASC' | 'MAX_FILENAME_LENGTH_DESC' | 'CACHE_TTL_SECONDS_ASC' | 'CACHE_TTL_SECONDS_DESC' | 'MAX_BULK_FILES_ASC' | 'MAX_BULK_FILES_DESC' | 'MAX_BULK_TOTAL_SIZE_ASC' | 'MAX_BULK_TOTAL_SIZE_DESC' | 'HAS_VERSIONING_ASC' | 'HAS_VERSIONING_DESC' | 'HAS_CONTENT_HASH_ASC' | 'HAS_CONTENT_HASH_DESC' | 'HAS_CUSTOM_KEYS_ASC' | 'HAS_CUSTOM_KEYS_DESC' | 'HAS_AUDIT_LOG_ASC' | 'HAS_AUDIT_LOG_DESC' | 'HAS_CONFIRM_UPLOAD_ASC' | 'HAS_CONFIRM_UPLOAD_DESC' | 'CONFIRM_UPLOAD_DELAY_ASC' | 'CONFIRM_UPLOAD_DELAY_DESC' | 'FILE_EVENTS_TABLE_ID_ASC' | 'FILE_EVENTS_TABLE_ID_DESC';
14227
- export type EntityTypeProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PARENT_ENTITY_ASC' | 'PARENT_ENTITY_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'IS_VISIBLE_ASC' | 'IS_VISIBLE_DESC' | 'HAS_LIMITS_ASC' | 'HAS_LIMITS_DESC' | 'HAS_PROFILES_ASC' | 'HAS_PROFILES_DESC' | 'HAS_LEVELS_ASC' | 'HAS_LEVELS_DESC' | 'HAS_STORAGE_ASC' | 'HAS_STORAGE_DESC' | 'HAS_INVITES_ASC' | 'HAS_INVITES_DESC' | 'STORAGE_CONFIG_ASC' | 'STORAGE_CONFIG_DESC' | 'SKIP_ENTITY_POLICIES_ASC' | 'SKIP_ENTITY_POLICIES_DESC' | 'TABLE_PROVISION_ASC' | 'TABLE_PROVISION_DESC' | 'OUT_MEMBERSHIP_TYPE_ASC' | 'OUT_MEMBERSHIP_TYPE_DESC' | 'OUT_ENTITY_TABLE_ID_ASC' | 'OUT_ENTITY_TABLE_ID_DESC' | 'OUT_ENTITY_TABLE_NAME_ASC' | 'OUT_ENTITY_TABLE_NAME_DESC' | 'OUT_INSTALLED_MODULES_ASC' | 'OUT_INSTALLED_MODULES_DESC' | 'OUT_STORAGE_MODULE_ID_ASC' | 'OUT_STORAGE_MODULE_ID_DESC' | 'OUT_BUCKETS_TABLE_ID_ASC' | 'OUT_BUCKETS_TABLE_ID_DESC' | 'OUT_FILES_TABLE_ID_ASC' | 'OUT_FILES_TABLE_ID_DESC' | 'OUT_PATH_SHARES_TABLE_ID_ASC' | 'OUT_PATH_SHARES_TABLE_ID_DESC' | 'OUT_INVITES_MODULE_ID_ASC' | 'OUT_INVITES_MODULE_ID_DESC';
14336
+ export type EntityTypeProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PARENT_ENTITY_ASC' | 'PARENT_ENTITY_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'IS_VISIBLE_ASC' | 'IS_VISIBLE_DESC' | 'HAS_LIMITS_ASC' | 'HAS_LIMITS_DESC' | 'HAS_PROFILES_ASC' | 'HAS_PROFILES_DESC' | 'HAS_LEVELS_ASC' | 'HAS_LEVELS_DESC' | 'HAS_STORAGE_ASC' | 'HAS_STORAGE_DESC' | 'HAS_INVITES_ASC' | 'HAS_INVITES_DESC' | 'HAS_INVITE_ACHIEVEMENTS_ASC' | 'HAS_INVITE_ACHIEVEMENTS_DESC' | 'STORAGE_CONFIG_ASC' | 'STORAGE_CONFIG_DESC' | 'SKIP_ENTITY_POLICIES_ASC' | 'SKIP_ENTITY_POLICIES_DESC' | 'TABLE_PROVISION_ASC' | 'TABLE_PROVISION_DESC' | 'OUT_MEMBERSHIP_TYPE_ASC' | 'OUT_MEMBERSHIP_TYPE_DESC' | 'OUT_ENTITY_TABLE_ID_ASC' | 'OUT_ENTITY_TABLE_ID_DESC' | 'OUT_ENTITY_TABLE_NAME_ASC' | 'OUT_ENTITY_TABLE_NAME_DESC' | 'OUT_INSTALLED_MODULES_ASC' | 'OUT_INSTALLED_MODULES_DESC' | 'OUT_STORAGE_MODULE_ID_ASC' | 'OUT_STORAGE_MODULE_ID_DESC' | 'OUT_BUCKETS_TABLE_ID_ASC' | 'OUT_BUCKETS_TABLE_ID_DESC' | 'OUT_FILES_TABLE_ID_ASC' | 'OUT_FILES_TABLE_ID_DESC' | 'OUT_PATH_SHARES_TABLE_ID_ASC' | 'OUT_PATH_SHARES_TABLE_ID_DESC' | 'OUT_INVITES_MODULE_ID_ASC' | 'OUT_INVITES_MODULE_ID_DESC';
14228
14337
  export type WebauthnCredentialsModuleOrderBy = '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' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
14229
14338
  export type WebauthnAuthModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'CREDENTIALS_TABLE_ID_ASC' | 'CREDENTIALS_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'SESSION_SECRETS_TABLE_ID_ASC' | 'SESSION_SECRETS_TABLE_ID_DESC' | 'AUTH_SETTINGS_TABLE_ID_ASC' | 'AUTH_SETTINGS_TABLE_ID_DESC' | 'RP_ID_ASC' | 'RP_ID_DESC' | 'RP_NAME_ASC' | 'RP_NAME_DESC' | 'ORIGIN_ALLOWLIST_ASC' | 'ORIGIN_ALLOWLIST_DESC' | 'ATTESTATION_TYPE_ASC' | 'ATTESTATION_TYPE_DESC' | 'REQUIRE_USER_VERIFICATION_ASC' | 'REQUIRE_USER_VERIFICATION_DESC' | 'RESIDENT_KEY_ASC' | 'RESIDENT_KEY_DESC' | 'CHALLENGE_EXPIRY_ASC' | 'CHALLENGE_EXPIRY_DESC';
14230
14339
  export type NotificationsModuleOrderBy = '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' | 'NOTIFICATIONS_TABLE_ID_ASC' | 'NOTIFICATIONS_TABLE_ID_DESC' | 'READ_STATE_TABLE_ID_ASC' | 'READ_STATE_TABLE_ID_DESC' | 'PREFERENCES_TABLE_ID_ASC' | 'PREFERENCES_TABLE_ID_DESC' | 'CHANNELS_TABLE_ID_ASC' | 'CHANNELS_TABLE_ID_DESC' | 'DELIVERY_LOG_TABLE_ID_ASC' | 'DELIVERY_LOG_TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'USER_SETTINGS_TABLE_ID_ASC' | 'USER_SETTINGS_TABLE_ID_DESC' | 'ORGANIZATION_SETTINGS_TABLE_ID_ASC' | 'ORGANIZATION_SETTINGS_TABLE_ID_DESC' | 'HAS_CHANNELS_ASC' | 'HAS_CHANNELS_DESC' | 'HAS_PREFERENCES_ASC' | 'HAS_PREFERENCES_DESC' | 'HAS_SETTINGS_EXTENSION_ASC' | 'HAS_SETTINGS_EXTENSION_DESC' | 'HAS_DIGEST_METADATA_ASC' | 'HAS_DIGEST_METADATA_DESC' | 'HAS_SUBSCRIPTIONS_ASC' | 'HAS_SUBSCRIPTIONS_DESC';
@@ -14248,9 +14357,7 @@ export type AppLimitCreditRedemptionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'P
14248
14357
  export type OrgLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
14249
14358
  export type OrgLimitCreditOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DEFAULT_LIMIT_ID_ASC' | 'DEFAULT_LIMIT_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'AMOUNT_ASC' | 'AMOUNT_DESC' | 'CREDIT_TYPE_ASC' | 'CREDIT_TYPE_DESC' | 'REASON_ASC' | 'REASON_DESC';
14250
14359
  export type OrgLimitAggregateOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'RESERVED_ASC' | 'RESERVED_DESC';
14251
- export type AppStepOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14252
- export type AppAchievementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14253
- export type AppLevelOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14360
+ export type OrgLimitWarningOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'WARNING_TYPE_ASC' | 'WARNING_TYPE_DESC' | 'THRESHOLD_VALUE_ASC' | 'THRESHOLD_VALUE_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
14254
14361
  export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14255
14362
  export type PhoneNumberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CC_ASC' | 'CC_DESC' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14256
14363
  export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
@@ -14279,6 +14386,7 @@ export type DevicesModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_
14279
14386
  export type NodeTypeRegistryOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PARAMETER_SCHEMA_ASC' | 'PARAMETER_SCHEMA_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
14280
14387
  export type AppLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC';
14281
14388
  export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC';
14389
+ export type AppLimitWarningOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'WARNING_TYPE_ASC' | 'WARNING_TYPE_DESC' | 'THRESHOLD_VALUE_ASC' | 'THRESHOLD_VALUE_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
14282
14390
  export type UserConnectedAccountOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'DETAILS_ASC' | 'DETAILS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14283
14391
  export type CommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' | 'DATE_DESC';
14284
14392
  export type PubkeySettingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'CRYPTO_NETWORK_ASC' | 'CRYPTO_NETWORK_DESC' | 'USER_FIELD_ASC' | 'USER_FIELD_DESC' | 'SIGN_UP_WITH_KEY_FUNCTION_ID_ASC' | 'SIGN_UP_WITH_KEY_FUNCTION_ID_DESC' | 'SIGN_IN_REQUEST_CHALLENGE_FUNCTION_ID_ASC' | 'SIGN_IN_REQUEST_CHALLENGE_FUNCTION_ID_DESC' | 'SIGN_IN_RECORD_FAILURE_FUNCTION_ID_ASC' | 'SIGN_IN_RECORD_FAILURE_FUNCTION_ID_DESC' | 'SIGN_IN_WITH_CHALLENGE_FUNCTION_ID_ASC' | 'SIGN_IN_WITH_CHALLENGE_FUNCTION_ID_DESC';
@@ -14290,6 +14398,7 @@ export type RlsSettingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DES
14290
14398
  export type AppLimitEventOrderBy = 'NATURAL' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'REASON_ASC' | 'REASON_DESC';
14291
14399
  export type OrgLimitEventOrderBy = 'NATURAL' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'REASON_ASC' | 'REASON_DESC';
14292
14400
  export type RlsModuleOrderBy = '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' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'AUTHENTICATE_ASC' | 'AUTHENTICATE_DESC' | 'AUTHENTICATE_STRICT_ASC' | 'AUTHENTICATE_STRICT_DESC' | 'CURRENT_ROLE_ASC' | 'CURRENT_ROLE_DESC' | 'CURRENT_ROLE_ID_ASC' | 'CURRENT_ROLE_ID_DESC';
14401
+ export type RateLimitMetersModuleOrderBy = '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' | 'RATE_LIMIT_STATE_TABLE_ID_ASC' | 'RATE_LIMIT_STATE_TABLE_ID_DESC' | 'RATE_LIMIT_STATE_TABLE_NAME_ASC' | 'RATE_LIMIT_STATE_TABLE_NAME_DESC' | 'RATE_LIMIT_OVERRIDES_TABLE_ID_ASC' | 'RATE_LIMIT_OVERRIDES_TABLE_ID_DESC' | 'RATE_LIMIT_OVERRIDES_TABLE_NAME_ASC' | 'RATE_LIMIT_OVERRIDES_TABLE_NAME_DESC' | 'RATE_WINDOW_LIMITS_TABLE_ID_ASC' | 'RATE_WINDOW_LIMITS_TABLE_ID_DESC' | 'RATE_WINDOW_LIMITS_TABLE_NAME_ASC' | 'RATE_WINDOW_LIMITS_TABLE_NAME_DESC' | 'CHECK_RATE_LIMIT_FUNCTION_ASC' | 'CHECK_RATE_LIMIT_FUNCTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC';
14293
14402
  export type PlansModuleOrderBy = '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' | 'PLANS_TABLE_ID_ASC' | 'PLANS_TABLE_ID_DESC' | 'PLANS_TABLE_NAME_ASC' | 'PLANS_TABLE_NAME_DESC' | 'PLAN_LIMITS_TABLE_ID_ASC' | 'PLAN_LIMITS_TABLE_ID_DESC' | 'PLAN_LIMITS_TABLE_NAME_ASC' | 'PLAN_LIMITS_TABLE_NAME_DESC' | 'PLAN_PRICING_TABLE_ID_ASC' | 'PLAN_PRICING_TABLE_ID_DESC' | 'PLAN_OVERRIDES_TABLE_ID_ASC' | 'PLAN_OVERRIDES_TABLE_ID_DESC' | 'APPLY_PLAN_FUNCTION_ASC' | 'APPLY_PLAN_FUNCTION_DESC' | 'APPLY_PLAN_AGGREGATE_FUNCTION_ASC' | 'APPLY_PLAN_AGGREGATE_FUNCTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC';
14294
14403
  export type SqlActionOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'DEPS_ASC' | 'DEPS_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ACTION_ASC' | 'ACTION_DESC' | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
14295
14404
  export type DatabaseSettingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ENABLE_AGGREGATES_ASC' | 'ENABLE_AGGREGATES_DESC' | 'ENABLE_POSTGIS_ASC' | 'ENABLE_POSTGIS_DESC' | 'ENABLE_SEARCH_ASC' | 'ENABLE_SEARCH_DESC' | 'ENABLE_DIRECT_UPLOADS_ASC' | 'ENABLE_DIRECT_UPLOADS_DESC' | 'ENABLE_PRESIGNED_UPLOADS_ASC' | 'ENABLE_PRESIGNED_UPLOADS_DESC' | 'ENABLE_MANY_TO_MANY_ASC' | 'ENABLE_MANY_TO_MANY_DESC' | 'ENABLE_CONNECTION_FILTER_ASC' | 'ENABLE_CONNECTION_FILTER_DESC' | 'ENABLE_LTREE_ASC' | 'ENABLE_LTREE_DESC' | 'ENABLE_LLM_ASC' | 'ENABLE_LLM_DESC' | 'ENABLE_REALTIME_ASC' | 'ENABLE_REALTIME_DESC' | 'ENABLE_BULK_ASC' | 'ENABLE_BULK_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC';
@@ -14435,32 +14544,6 @@ export interface DeleteObjectInput {
14435
14544
  clientMutationId?: string;
14436
14545
  id: string;
14437
14546
  }
14438
- export interface CreateAppLevelRequirementInput {
14439
- clientMutationId?: string;
14440
- appLevelRequirement: {
14441
- name: string;
14442
- level: string;
14443
- description?: string;
14444
- requiredCount?: number;
14445
- priority?: number;
14446
- };
14447
- }
14448
- export interface AppLevelRequirementPatch {
14449
- name?: string | null;
14450
- level?: string | null;
14451
- description?: string | null;
14452
- requiredCount?: number | null;
14453
- priority?: number | null;
14454
- }
14455
- export interface UpdateAppLevelRequirementInput {
14456
- clientMutationId?: string;
14457
- id: string;
14458
- appLevelRequirementPatch: AppLevelRequirementPatch;
14459
- }
14460
- export interface DeleteAppLevelRequirementInput {
14461
- clientMutationId?: string;
14462
- id: string;
14463
- }
14464
14547
  export interface CreateDatabaseInput {
14465
14548
  clientMutationId?: string;
14466
14549
  database: {
@@ -15158,8 +15241,11 @@ export interface CreateEmbeddingChunkInput {
15158
15241
  chunkOverlap?: number;
15159
15242
  chunkStrategy?: string;
15160
15243
  metadataFields?: Record<string, unknown>;
15244
+ searchIndexes?: Record<string, unknown>;
15161
15245
  enqueueChunkingJob?: boolean;
15162
15246
  chunkingTaskName?: string;
15247
+ embeddingModel?: string;
15248
+ embeddingProvider?: string;
15163
15249
  parentFkFieldId?: string;
15164
15250
  };
15165
15251
  }
@@ -15176,8 +15262,11 @@ export interface EmbeddingChunkPatch {
15176
15262
  chunkOverlap?: number | null;
15177
15263
  chunkStrategy?: string | null;
15178
15264
  metadataFields?: Record<string, unknown> | null;
15265
+ searchIndexes?: Record<string, unknown> | null;
15179
15266
  enqueueChunkingJob?: boolean | null;
15180
15267
  chunkingTaskName?: string | null;
15268
+ embeddingModel?: string | null;
15269
+ embeddingProvider?: string | null;
15181
15270
  parentFkFieldId?: string | null;
15182
15271
  }
15183
15272
  export interface UpdateEmbeddingChunkInput {
@@ -15350,8 +15439,8 @@ export interface CreateRealtimeModuleInput {
15350
15439
  listenerNodeTableId?: string;
15351
15440
  sourceRegistryTableId?: string;
15352
15441
  retentionHours?: number;
15353
- lookaheadHours?: number;
15354
- partitionInterval?: string;
15442
+ premake?: number;
15443
+ interval?: string;
15355
15444
  notifyChannel?: string;
15356
15445
  };
15357
15446
  }
@@ -15364,8 +15453,8 @@ export interface RealtimeModulePatch {
15364
15453
  listenerNodeTableId?: string | null;
15365
15454
  sourceRegistryTableId?: string | null;
15366
15455
  retentionHours?: number | null;
15367
- lookaheadHours?: number | null;
15368
- partitionInterval?: string | null;
15456
+ premake?: number | null;
15457
+ interval?: string | null;
15369
15458
  notifyChannel?: string | null;
15370
15459
  }
15371
15460
  export interface UpdateRealtimeModuleInput {
@@ -15720,10 +15809,10 @@ export interface CreatePartitionInput {
15720
15809
  databaseId: string;
15721
15810
  tableId: string;
15722
15811
  strategy: string;
15723
- partitionKeyIds: string[];
15812
+ partitionKeyId: string;
15724
15813
  interval?: string;
15725
15814
  retention?: string;
15726
- lookahead?: number;
15815
+ premake?: number;
15727
15816
  namingPattern?: string;
15728
15817
  };
15729
15818
  }
@@ -15731,10 +15820,10 @@ export interface PartitionPatch {
15731
15820
  databaseId?: string | null;
15732
15821
  tableId?: string | null;
15733
15822
  strategy?: string | null;
15734
- partitionKeyIds?: string[] | null;
15823
+ partitionKeyId?: string | null;
15735
15824
  interval?: string | null;
15736
15825
  retention?: string | null;
15737
- lookahead?: number | null;
15826
+ premake?: number | null;
15738
15827
  namingPattern?: string | null;
15739
15828
  }
15740
15829
  export interface UpdatePartitionInput {
@@ -16137,69 +16226,95 @@ export interface DeleteInvitesModuleInput {
16137
16226
  clientMutationId?: string;
16138
16227
  id: string;
16139
16228
  }
16140
- export interface CreateLevelsModuleInput {
16229
+ export interface CreateEventsModuleInput {
16141
16230
  clientMutationId?: string;
16142
- levelsModule: {
16231
+ eventsModule: {
16143
16232
  databaseId: string;
16144
16233
  schemaId?: string;
16145
16234
  privateSchemaId?: string;
16146
- stepsTableId?: string;
16147
- stepsTableName?: string;
16148
- achievementsTableId?: string;
16149
- achievementsTableName?: string;
16235
+ eventsTableId?: string;
16236
+ eventsTableName?: string;
16237
+ eventAggregatesTableId?: string;
16238
+ eventAggregatesTableName?: string;
16239
+ eventTypesTableId?: string;
16240
+ eventTypesTableName?: string;
16150
16241
  levelsTableId?: string;
16151
16242
  levelsTableName?: string;
16152
16243
  levelRequirementsTableId?: string;
16153
16244
  levelRequirementsTableName?: string;
16154
- completedStep?: string;
16155
- incompletedStep?: string;
16156
- tgAchievement?: string;
16157
- tgAchievementToggle?: string;
16158
- tgAchievementToggleBoolean?: string;
16159
- tgAchievementBoolean?: string;
16160
- upsertAchievement?: string;
16161
- tgUpdateAchievements?: string;
16245
+ levelGrantsTableId?: string;
16246
+ levelGrantsTableName?: string;
16247
+ achievementRewardsTableId?: string;
16248
+ achievementRewardsTableName?: string;
16249
+ recordEvent?: string;
16250
+ removeEvent?: string;
16251
+ tgEvent?: string;
16252
+ tgEventToggle?: string;
16253
+ tgEventToggleBool?: string;
16254
+ tgEventBool?: string;
16255
+ upsertAggregate?: string;
16256
+ tgUpdateAggregates?: string;
16257
+ pruneEvents?: string;
16162
16258
  stepsRequired?: string;
16163
16259
  levelAchieved?: string;
16260
+ tgCheckAchievements?: string;
16261
+ grantAchievement?: string;
16262
+ tgAchievementReward?: string;
16263
+ interval?: string;
16264
+ retention?: string;
16265
+ premake?: number;
16164
16266
  prefix?: string;
16165
16267
  membershipType: number;
16166
16268
  entityTableId?: string;
16167
16269
  actorTableId?: string;
16168
16270
  };
16169
16271
  }
16170
- export interface LevelsModulePatch {
16272
+ export interface EventsModulePatch {
16171
16273
  databaseId?: string | null;
16172
16274
  schemaId?: string | null;
16173
16275
  privateSchemaId?: string | null;
16174
- stepsTableId?: string | null;
16175
- stepsTableName?: string | null;
16176
- achievementsTableId?: string | null;
16177
- achievementsTableName?: string | null;
16276
+ eventsTableId?: string | null;
16277
+ eventsTableName?: string | null;
16278
+ eventAggregatesTableId?: string | null;
16279
+ eventAggregatesTableName?: string | null;
16280
+ eventTypesTableId?: string | null;
16281
+ eventTypesTableName?: string | null;
16178
16282
  levelsTableId?: string | null;
16179
16283
  levelsTableName?: string | null;
16180
16284
  levelRequirementsTableId?: string | null;
16181
16285
  levelRequirementsTableName?: string | null;
16182
- completedStep?: string | null;
16183
- incompletedStep?: string | null;
16184
- tgAchievement?: string | null;
16185
- tgAchievementToggle?: string | null;
16186
- tgAchievementToggleBoolean?: string | null;
16187
- tgAchievementBoolean?: string | null;
16188
- upsertAchievement?: string | null;
16189
- tgUpdateAchievements?: string | null;
16286
+ levelGrantsTableId?: string | null;
16287
+ levelGrantsTableName?: string | null;
16288
+ achievementRewardsTableId?: string | null;
16289
+ achievementRewardsTableName?: string | null;
16290
+ recordEvent?: string | null;
16291
+ removeEvent?: string | null;
16292
+ tgEvent?: string | null;
16293
+ tgEventToggle?: string | null;
16294
+ tgEventToggleBool?: string | null;
16295
+ tgEventBool?: string | null;
16296
+ upsertAggregate?: string | null;
16297
+ tgUpdateAggregates?: string | null;
16298
+ pruneEvents?: string | null;
16190
16299
  stepsRequired?: string | null;
16191
16300
  levelAchieved?: string | null;
16301
+ tgCheckAchievements?: string | null;
16302
+ grantAchievement?: string | null;
16303
+ tgAchievementReward?: string | null;
16304
+ interval?: string | null;
16305
+ retention?: string | null;
16306
+ premake?: number | null;
16192
16307
  prefix?: string | null;
16193
16308
  membershipType?: number | null;
16194
16309
  entityTableId?: string | null;
16195
16310
  actorTableId?: string | null;
16196
16311
  }
16197
- export interface UpdateLevelsModuleInput {
16312
+ export interface UpdateEventsModuleInput {
16198
16313
  clientMutationId?: string;
16199
16314
  id: string;
16200
- levelsModulePatch: LevelsModulePatch;
16315
+ eventsModulePatch: EventsModulePatch;
16201
16316
  }
16202
- export interface DeleteLevelsModuleInput {
16317
+ export interface DeleteEventsModuleInput {
16203
16318
  clientMutationId?: string;
16204
16319
  id: string;
16205
16320
  }
@@ -16229,6 +16344,10 @@ export interface CreateLimitsModuleInput {
16229
16344
  limitCapsDefaultsTableId?: string;
16230
16345
  capCheckTrigger?: string;
16231
16346
  resolveCapFunction?: string;
16347
+ limitWarningsTableId?: string;
16348
+ limitWarningStateTableId?: string;
16349
+ limitCheckSoftFunction?: string;
16350
+ limitAggregateCheckSoftFunction?: string;
16232
16351
  prefix?: string;
16233
16352
  membershipType: number;
16234
16353
  entityTableId?: string;
@@ -16259,6 +16378,10 @@ export interface LimitsModulePatch {
16259
16378
  limitCapsDefaultsTableId?: string | null;
16260
16379
  capCheckTrigger?: string | null;
16261
16380
  resolveCapFunction?: string | null;
16381
+ limitWarningsTableId?: string | null;
16382
+ limitWarningStateTableId?: string | null;
16383
+ limitCheckSoftFunction?: string | null;
16384
+ limitAggregateCheckSoftFunction?: string | null;
16262
16385
  prefix?: string | null;
16263
16386
  membershipType?: number | null;
16264
16387
  entityTableId?: string | null;
@@ -16509,27 +16632,27 @@ export interface DeleteProfilesModuleInput {
16509
16632
  clientMutationId?: string;
16510
16633
  id: string;
16511
16634
  }
16512
- export interface CreateSecretsModuleInput {
16635
+ export interface CreateUserStateModuleInput {
16513
16636
  clientMutationId?: string;
16514
- secretsModule: {
16637
+ userStateModule: {
16515
16638
  databaseId: string;
16516
16639
  schemaId?: string;
16517
16640
  tableId?: string;
16518
16641
  tableName?: string;
16519
16642
  };
16520
16643
  }
16521
- export interface SecretsModulePatch {
16644
+ export interface UserStateModulePatch {
16522
16645
  databaseId?: string | null;
16523
16646
  schemaId?: string | null;
16524
16647
  tableId?: string | null;
16525
16648
  tableName?: string | null;
16526
16649
  }
16527
- export interface UpdateSecretsModuleInput {
16650
+ export interface UpdateUserStateModuleInput {
16528
16651
  clientMutationId?: string;
16529
16652
  id: string;
16530
- secretsModulePatch: SecretsModulePatch;
16653
+ userStateModulePatch: UserStateModulePatch;
16531
16654
  }
16532
- export interface DeleteSecretsModuleInput {
16655
+ export interface DeleteUserStateModuleInput {
16533
16656
  clientMutationId?: string;
16534
16657
  id: string;
16535
16658
  }
@@ -16874,6 +16997,7 @@ export interface CreateEntityTypeProvisionInput {
16874
16997
  hasLevels?: boolean;
16875
16998
  hasStorage?: boolean;
16876
16999
  hasInvites?: boolean;
17000
+ hasInviteAchievements?: boolean;
16877
17001
  storageConfig?: Record<string, unknown>;
16878
17002
  skipEntityPolicies?: boolean;
16879
17003
  tableProvision?: Record<string, unknown>;
@@ -16901,6 +17025,7 @@ export interface EntityTypeProvisionPatch {
16901
17025
  hasLevels?: boolean | null;
16902
17026
  hasStorage?: boolean | null;
16903
17027
  hasInvites?: boolean | null;
17028
+ hasInviteAchievements?: boolean | null;
16904
17029
  storageConfig?: Record<string, unknown> | null;
16905
17030
  skipEntityPolicies?: boolean | null;
16906
17031
  tableProvision?: Record<string, unknown> | null;
@@ -17612,72 +17737,29 @@ export interface DeleteOrgLimitAggregateInput {
17612
17737
  clientMutationId?: string;
17613
17738
  id: string;
17614
17739
  }
17615
- export interface CreateAppStepInput {
17616
- clientMutationId?: string;
17617
- appStep: {
17618
- actorId?: string;
17619
- name: string;
17620
- count?: number;
17621
- };
17622
- }
17623
- export interface AppStepPatch {
17624
- actorId?: string | null;
17625
- name?: string | null;
17626
- count?: number | null;
17627
- }
17628
- export interface UpdateAppStepInput {
17629
- clientMutationId?: string;
17630
- id: string;
17631
- appStepPatch: AppStepPatch;
17632
- }
17633
- export interface DeleteAppStepInput {
17634
- clientMutationId?: string;
17635
- id: string;
17636
- }
17637
- export interface CreateAppAchievementInput {
17740
+ export interface CreateOrgLimitWarningInput {
17638
17741
  clientMutationId?: string;
17639
- appAchievement: {
17640
- actorId?: string;
17742
+ orgLimitWarning: {
17641
17743
  name: string;
17642
- count?: number;
17643
- };
17644
- }
17645
- export interface AppAchievementPatch {
17646
- actorId?: string | null;
17647
- name?: string | null;
17648
- count?: number | null;
17649
- }
17650
- export interface UpdateAppAchievementInput {
17651
- clientMutationId?: string;
17652
- id: string;
17653
- appAchievementPatch: AppAchievementPatch;
17654
- }
17655
- export interface DeleteAppAchievementInput {
17656
- clientMutationId?: string;
17657
- id: string;
17658
- }
17659
- export interface CreateAppLevelInput {
17660
- clientMutationId?: string;
17661
- appLevel: {
17662
- name: string;
17663
- description?: string;
17664
- image?: ConstructiveInternalTypeImage;
17665
- ownerId?: string;
17744
+ warningType: string;
17745
+ thresholdValue: string;
17746
+ taskIdentifier: string;
17747
+ entityId?: string;
17666
17748
  };
17667
17749
  }
17668
- export interface AppLevelPatch {
17750
+ export interface OrgLimitWarningPatch {
17669
17751
  name?: string | null;
17670
- description?: string | null;
17671
- image?: ConstructiveInternalTypeImage | null;
17672
- ownerId?: string | null;
17673
- imageUpload?: File | null;
17752
+ warningType?: string | null;
17753
+ thresholdValue?: string | null;
17754
+ taskIdentifier?: string | null;
17755
+ entityId?: string | null;
17674
17756
  }
17675
- export interface UpdateAppLevelInput {
17757
+ export interface UpdateOrgLimitWarningInput {
17676
17758
  clientMutationId?: string;
17677
17759
  id: string;
17678
- appLevelPatch: AppLevelPatch;
17760
+ orgLimitWarningPatch: OrgLimitWarningPatch;
17679
17761
  }
17680
- export interface DeleteAppLevelInput {
17762
+ export interface DeleteOrgLimitWarningInput {
17681
17763
  clientMutationId?: string;
17682
17764
  id: string;
17683
17765
  }
@@ -18401,6 +18483,30 @@ export interface DeleteOrgLimitDefaultInput {
18401
18483
  clientMutationId?: string;
18402
18484
  id: string;
18403
18485
  }
18486
+ export interface CreateAppLimitWarningInput {
18487
+ clientMutationId?: string;
18488
+ appLimitWarning: {
18489
+ name: string;
18490
+ warningType: string;
18491
+ thresholdValue: string;
18492
+ taskIdentifier: string;
18493
+ };
18494
+ }
18495
+ export interface AppLimitWarningPatch {
18496
+ name?: string | null;
18497
+ warningType?: string | null;
18498
+ thresholdValue?: string | null;
18499
+ taskIdentifier?: string | null;
18500
+ }
18501
+ export interface UpdateAppLimitWarningInput {
18502
+ clientMutationId?: string;
18503
+ id: string;
18504
+ appLimitWarningPatch: AppLimitWarningPatch;
18505
+ }
18506
+ export interface DeleteAppLimitWarningInput {
18507
+ clientMutationId?: string;
18508
+ id: string;
18509
+ }
18404
18510
  export interface CreateUserConnectedAccountInput {
18405
18511
  clientMutationId?: string;
18406
18512
  userConnectedAccount: {
@@ -18735,6 +18841,44 @@ export interface DeleteRlsModuleInput {
18735
18841
  clientMutationId?: string;
18736
18842
  id: string;
18737
18843
  }
18844
+ export interface CreateRateLimitMetersModuleInput {
18845
+ clientMutationId?: string;
18846
+ rateLimitMetersModule: {
18847
+ databaseId: string;
18848
+ schemaId?: string;
18849
+ privateSchemaId?: string;
18850
+ rateLimitStateTableId?: string;
18851
+ rateLimitStateTableName?: string;
18852
+ rateLimitOverridesTableId?: string;
18853
+ rateLimitOverridesTableName?: string;
18854
+ rateWindowLimitsTableId?: string;
18855
+ rateWindowLimitsTableName?: string;
18856
+ checkRateLimitFunction?: string;
18857
+ prefix?: string;
18858
+ };
18859
+ }
18860
+ export interface RateLimitMetersModulePatch {
18861
+ databaseId?: string | null;
18862
+ schemaId?: string | null;
18863
+ privateSchemaId?: string | null;
18864
+ rateLimitStateTableId?: string | null;
18865
+ rateLimitStateTableName?: string | null;
18866
+ rateLimitOverridesTableId?: string | null;
18867
+ rateLimitOverridesTableName?: string | null;
18868
+ rateWindowLimitsTableId?: string | null;
18869
+ rateWindowLimitsTableName?: string | null;
18870
+ checkRateLimitFunction?: string | null;
18871
+ prefix?: string | null;
18872
+ }
18873
+ export interface UpdateRateLimitMetersModuleInput {
18874
+ clientMutationId?: string;
18875
+ id: string;
18876
+ rateLimitMetersModulePatch: RateLimitMetersModulePatch;
18877
+ }
18878
+ export interface DeleteRateLimitMetersModuleInput {
18879
+ clientMutationId?: string;
18880
+ id: string;
18881
+ }
18738
18882
  export interface CreatePlansModuleInput {
18739
18883
  clientMutationId?: string;
18740
18884
  plansModule: {
@@ -19905,14 +20049,14 @@ export interface DatabaseToManyInvitesModuleFilter {
19905
20049
  /** Filters to entities where no related entity matches. */
19906
20050
  none?: InvitesModuleFilter;
19907
20051
  }
19908
- /** A filter to be used against many `LevelsModule` object types. All fields are combined with a logical ‘and.’ */
19909
- export interface DatabaseToManyLevelsModuleFilter {
20052
+ /** A filter to be used against many `EventsModule` object types. All fields are combined with a logical ‘and.’ */
20053
+ export interface DatabaseToManyEventsModuleFilter {
19910
20054
  /** Filters to entities where at least one related entity matches. */
19911
- some?: LevelsModuleFilter;
20055
+ some?: EventsModuleFilter;
19912
20056
  /** Filters to entities where every related entity matches. */
19913
- every?: LevelsModuleFilter;
20057
+ every?: EventsModuleFilter;
19914
20058
  /** Filters to entities where no related entity matches. */
19915
- none?: LevelsModuleFilter;
20059
+ none?: EventsModuleFilter;
19916
20060
  }
19917
20061
  /** A filter to be used against many `LimitsModule` object types. All fields are combined with a logical ‘and.’ */
19918
20062
  export interface DatabaseToManyLimitsModuleFilter {
@@ -19968,14 +20112,14 @@ export interface DatabaseToManyProfilesModuleFilter {
19968
20112
  /** Filters to entities where no related entity matches. */
19969
20113
  none?: ProfilesModuleFilter;
19970
20114
  }
19971
- /** A filter to be used against many `SecretsModule` object types. All fields are combined with a logical ‘and.’ */
19972
- export interface DatabaseToManySecretsModuleFilter {
20115
+ /** A filter to be used against many `UserStateModule` object types. All fields are combined with a logical ‘and.’ */
20116
+ export interface DatabaseToManyUserStateModuleFilter {
19973
20117
  /** Filters to entities where at least one related entity matches. */
19974
- some?: SecretsModuleFilter;
20118
+ some?: UserStateModuleFilter;
19975
20119
  /** Filters to entities where every related entity matches. */
19976
- every?: SecretsModuleFilter;
20120
+ every?: UserStateModuleFilter;
19977
20121
  /** Filters to entities where no related entity matches. */
19978
- none?: SecretsModuleFilter;
20122
+ none?: UserStateModuleFilter;
19979
20123
  }
19980
20124
  /** A filter to be used against many `SessionsModule` object types. All fields are combined with a logical ‘and.’ */
19981
20125
  export interface DatabaseToManySessionsModuleFilter {
@@ -21384,32 +21528,14 @@ export interface UserToManyOrgLimitAggregateFilter {
21384
21528
  /** Filters to entities where no related entity matches. */
21385
21529
  none?: OrgLimitAggregateFilter;
21386
21530
  }
21387
- /** A filter to be used against many `AppStep` object types. All fields are combined with a logical ‘and.’ */
21388
- export interface UserToManyAppStepFilter {
21389
- /** Filters to entities where at least one related entity matches. */
21390
- some?: AppStepFilter;
21391
- /** Filters to entities where every related entity matches. */
21392
- every?: AppStepFilter;
21393
- /** Filters to entities where no related entity matches. */
21394
- none?: AppStepFilter;
21395
- }
21396
- /** A filter to be used against many `AppAchievement` object types. All fields are combined with a logical ‘and.’ */
21397
- export interface UserToManyAppAchievementFilter {
21531
+ /** A filter to be used against many `OrgLimitWarning` object types. All fields are combined with a logical ‘and.’ */
21532
+ export interface UserToManyOrgLimitWarningFilter {
21398
21533
  /** Filters to entities where at least one related entity matches. */
21399
- some?: AppAchievementFilter;
21534
+ some?: OrgLimitWarningFilter;
21400
21535
  /** Filters to entities where every related entity matches. */
21401
- every?: AppAchievementFilter;
21536
+ every?: OrgLimitWarningFilter;
21402
21537
  /** Filters to entities where no related entity matches. */
21403
- none?: AppAchievementFilter;
21404
- }
21405
- /** A filter to be used against many `AppLevel` object types. All fields are combined with a logical ‘and.’ */
21406
- export interface UserToManyAppLevelFilter {
21407
- /** Filters to entities where at least one related entity matches. */
21408
- some?: AppLevelFilter;
21409
- /** Filters to entities where every related entity matches. */
21410
- every?: AppLevelFilter;
21411
- /** Filters to entities where no related entity matches. */
21412
- none?: AppLevelFilter;
21538
+ none?: OrgLimitWarningFilter;
21413
21539
  }
21414
21540
  /** A filter to be used against many `Email` object types. All fields are combined with a logical ‘and.’ */
21415
21541
  export interface UserToManyEmailFilter {
@@ -22496,10 +22622,16 @@ export interface EmbeddingChunkFilter {
22496
22622
  chunkStrategy?: StringFilter;
22497
22623
  /** Filter by the object’s `metadataFields` field. */
22498
22624
  metadataFields?: JSONFilter;
22625
+ /** Filter by the object’s `searchIndexes` field. */
22626
+ searchIndexes?: JSONFilter;
22499
22627
  /** Filter by the object’s `enqueueChunkingJob` field. */
22500
22628
  enqueueChunkingJob?: BooleanFilter;
22501
22629
  /** Filter by the object’s `chunkingTaskName` field. */
22502
22630
  chunkingTaskName?: StringFilter;
22631
+ /** Filter by the object’s `embeddingModel` field. */
22632
+ embeddingModel?: StringFilter;
22633
+ /** Filter by the object’s `embeddingProvider` field. */
22634
+ embeddingProvider?: StringFilter;
22503
22635
  /** Filter by the object’s `parentFkFieldId` field. */
22504
22636
  parentFkFieldId?: UUIDFilter;
22505
22637
  /** Filter by the object’s `createdAt` field. */
@@ -22648,14 +22780,14 @@ export interface PartitionFilter {
22648
22780
  tableId?: UUIDFilter;
22649
22781
  /** Filter by the object’s `strategy` field. */
22650
22782
  strategy?: StringFilter;
22651
- /** Filter by the object’s `partitionKeyIds` field. */
22652
- partitionKeyIds?: UUIDListFilter;
22783
+ /** Filter by the object’s `partitionKeyId` field. */
22784
+ partitionKeyId?: UUIDFilter;
22653
22785
  /** Filter by the object’s `interval` field. */
22654
22786
  interval?: StringFilter;
22655
22787
  /** Filter by the object’s `retention` field. */
22656
22788
  retention?: StringFilter;
22657
- /** Filter by the object’s `lookahead` field. */
22658
- lookahead?: IntFilter;
22789
+ /** Filter by the object’s `premake` field. */
22790
+ premake?: IntFilter;
22659
22791
  /** Filter by the object’s `namingPattern` field. */
22660
22792
  namingPattern?: StringFilter;
22661
22793
  /** Filter by the object’s `createdAt` field. */
@@ -22670,6 +22802,8 @@ export interface PartitionFilter {
22670
22802
  not?: PartitionFilter;
22671
22803
  /** Filter by the object’s `database` relation. */
22672
22804
  database?: DatabaseFilter;
22805
+ /** Filter by the object’s `partitionKey` relation. */
22806
+ partitionKey?: FieldFilter;
22673
22807
  /** Filter by the object’s `table` relation. */
22674
22808
  table?: TableFilter;
22675
22809
  }
@@ -23294,8 +23428,8 @@ export interface InvitesModuleFilter {
23294
23428
  /** Filter by the object’s `usersTable` relation. */
23295
23429
  usersTable?: TableFilter;
23296
23430
  }
23297
- /** A filter to be used against `LevelsModule` object types. All fields are combined with a logical ‘and.’ */
23298
- export interface LevelsModuleFilter {
23431
+ /** A filter to be used against `EventsModule` object types. All fields are combined with a logical ‘and.’ */
23432
+ export interface EventsModuleFilter {
23299
23433
  /** Filter by the object’s `id` field. */
23300
23434
  id?: UUIDFilter;
23301
23435
  /** Filter by the object’s `databaseId` field. */
@@ -23304,14 +23438,18 @@ export interface LevelsModuleFilter {
23304
23438
  schemaId?: UUIDFilter;
23305
23439
  /** Filter by the object’s `privateSchemaId` field. */
23306
23440
  privateSchemaId?: UUIDFilter;
23307
- /** Filter by the object’s `stepsTableId` field. */
23308
- stepsTableId?: UUIDFilter;
23309
- /** Filter by the object’s `stepsTableName` field. */
23310
- stepsTableName?: StringFilter;
23311
- /** Filter by the object’s `achievementsTableId` field. */
23312
- achievementsTableId?: UUIDFilter;
23313
- /** Filter by the object’s `achievementsTableName` field. */
23314
- achievementsTableName?: StringFilter;
23441
+ /** Filter by the object’s `eventsTableId` field. */
23442
+ eventsTableId?: UUIDFilter;
23443
+ /** Filter by the object’s `eventsTableName` field. */
23444
+ eventsTableName?: StringFilter;
23445
+ /** Filter by the object’s `eventAggregatesTableId` field. */
23446
+ eventAggregatesTableId?: UUIDFilter;
23447
+ /** Filter by the object’s `eventAggregatesTableName` field. */
23448
+ eventAggregatesTableName?: StringFilter;
23449
+ /** Filter by the object’s `eventTypesTableId` field. */
23450
+ eventTypesTableId?: UUIDFilter;
23451
+ /** Filter by the object’s `eventTypesTableName` field. */
23452
+ eventTypesTableName?: StringFilter;
23315
23453
  /** Filter by the object’s `levelsTableId` field. */
23316
23454
  levelsTableId?: UUIDFilter;
23317
23455
  /** Filter by the object’s `levelsTableName` field. */
@@ -23320,26 +23458,48 @@ export interface LevelsModuleFilter {
23320
23458
  levelRequirementsTableId?: UUIDFilter;
23321
23459
  /** Filter by the object’s `levelRequirementsTableName` field. */
23322
23460
  levelRequirementsTableName?: StringFilter;
23323
- /** Filter by the object’s `completedStep` field. */
23324
- completedStep?: StringFilter;
23325
- /** Filter by the object’s `incompletedStep` field. */
23326
- incompletedStep?: StringFilter;
23327
- /** Filter by the object’s `tgAchievement` field. */
23328
- tgAchievement?: StringFilter;
23329
- /** Filter by the object’s `tgAchievementToggle` field. */
23330
- tgAchievementToggle?: StringFilter;
23331
- /** Filter by the object’s `tgAchievementToggleBoolean` field. */
23332
- tgAchievementToggleBoolean?: StringFilter;
23333
- /** Filter by the object’s `tgAchievementBoolean` field. */
23334
- tgAchievementBoolean?: StringFilter;
23335
- /** Filter by the object’s `upsertAchievement` field. */
23336
- upsertAchievement?: StringFilter;
23337
- /** Filter by the object’s `tgUpdateAchievements` field. */
23338
- tgUpdateAchievements?: StringFilter;
23461
+ /** Filter by the object’s `levelGrantsTableId` field. */
23462
+ levelGrantsTableId?: UUIDFilter;
23463
+ /** Filter by the object’s `levelGrantsTableName` field. */
23464
+ levelGrantsTableName?: StringFilter;
23465
+ /** Filter by the object’s `achievementRewardsTableId` field. */
23466
+ achievementRewardsTableId?: UUIDFilter;
23467
+ /** Filter by the object’s `achievementRewardsTableName` field. */
23468
+ achievementRewardsTableName?: StringFilter;
23469
+ /** Filter by the object’s `recordEvent` field. */
23470
+ recordEvent?: StringFilter;
23471
+ /** Filter by the object’s `removeEvent` field. */
23472
+ removeEvent?: StringFilter;
23473
+ /** Filter by the object’s `tgEvent` field. */
23474
+ tgEvent?: StringFilter;
23475
+ /** Filter by the object’s `tgEventToggle` field. */
23476
+ tgEventToggle?: StringFilter;
23477
+ /** Filter by the object’s `tgEventToggleBool` field. */
23478
+ tgEventToggleBool?: StringFilter;
23479
+ /** Filter by the object’s `tgEventBool` field. */
23480
+ tgEventBool?: StringFilter;
23481
+ /** Filter by the object’s `upsertAggregate` field. */
23482
+ upsertAggregate?: StringFilter;
23483
+ /** Filter by the object’s `tgUpdateAggregates` field. */
23484
+ tgUpdateAggregates?: StringFilter;
23485
+ /** Filter by the object’s `pruneEvents` field. */
23486
+ pruneEvents?: StringFilter;
23339
23487
  /** Filter by the object’s `stepsRequired` field. */
23340
23488
  stepsRequired?: StringFilter;
23341
23489
  /** Filter by the object’s `levelAchieved` field. */
23342
23490
  levelAchieved?: StringFilter;
23491
+ /** Filter by the object’s `tgCheckAchievements` field. */
23492
+ tgCheckAchievements?: StringFilter;
23493
+ /** Filter by the object’s `grantAchievement` field. */
23494
+ grantAchievement?: StringFilter;
23495
+ /** Filter by the object’s `tgAchievementReward` field. */
23496
+ tgAchievementReward?: StringFilter;
23497
+ /** Filter by the object’s `interval` field. */
23498
+ interval?: StringFilter;
23499
+ /** Filter by the object’s `retention` field. */
23500
+ retention?: StringFilter;
23501
+ /** Filter by the object’s `premake` field. */
23502
+ premake?: IntFilter;
23343
23503
  /** Filter by the object’s `prefix` field. */
23344
23504
  prefix?: StringFilter;
23345
23505
  /** Filter by the object’s `membershipType` field. */
@@ -23349,13 +23509,13 @@ export interface LevelsModuleFilter {
23349
23509
  /** Filter by the object’s `actorTableId` field. */
23350
23510
  actorTableId?: UUIDFilter;
23351
23511
  /** Checks for all expressions in this list. */
23352
- and?: LevelsModuleFilter[];
23512
+ and?: EventsModuleFilter[];
23353
23513
  /** Checks for any expressions in this list. */
23354
- or?: LevelsModuleFilter[];
23514
+ or?: EventsModuleFilter[];
23355
23515
  /** Negates the expression. */
23356
- not?: LevelsModuleFilter;
23357
- /** Filter by the object’s `achievementsTable` relation. */
23358
- achievementsTable?: TableFilter;
23516
+ not?: EventsModuleFilter;
23517
+ /** Filter by the object’s `achievementRewardsTable` relation. */
23518
+ achievementRewardsTable?: TableFilter;
23359
23519
  /** Filter by the object’s `actorTable` relation. */
23360
23520
  actorTable?: TableFilter;
23361
23521
  /** Filter by the object’s `database` relation. */
@@ -23364,6 +23524,14 @@ export interface LevelsModuleFilter {
23364
23524
  entityTable?: TableFilter;
23365
23525
  /** A related `entityTable` exists. */
23366
23526
  entityTableExists?: boolean;
23527
+ /** Filter by the object’s `eventAggregatesTable` relation. */
23528
+ eventAggregatesTable?: TableFilter;
23529
+ /** Filter by the object’s `eventTypesTable` relation. */
23530
+ eventTypesTable?: TableFilter;
23531
+ /** Filter by the object’s `eventsTable` relation. */
23532
+ eventsTable?: TableFilter;
23533
+ /** Filter by the object’s `levelGrantsTable` relation. */
23534
+ levelGrantsTable?: TableFilter;
23367
23535
  /** Filter by the object’s `levelRequirementsTable` relation. */
23368
23536
  levelRequirementsTable?: TableFilter;
23369
23537
  /** Filter by the object’s `levelsTable` relation. */
@@ -23372,8 +23540,6 @@ export interface LevelsModuleFilter {
23372
23540
  privateSchema?: SchemaFilter;
23373
23541
  /** Filter by the object’s `schema` relation. */
23374
23542
  schema?: SchemaFilter;
23375
- /** Filter by the object’s `stepsTable` relation. */
23376
- stepsTable?: TableFilter;
23377
23543
  }
23378
23544
  /** A filter to be used against `LimitsModule` object types. All fields are combined with a logical ‘and.’ */
23379
23545
  export interface LimitsModuleFilter {
@@ -23425,6 +23591,14 @@ export interface LimitsModuleFilter {
23425
23591
  capCheckTrigger?: StringFilter;
23426
23592
  /** Filter by the object’s `resolveCapFunction` field. */
23427
23593
  resolveCapFunction?: StringFilter;
23594
+ /** Filter by the object’s `limitWarningsTableId` field. */
23595
+ limitWarningsTableId?: UUIDFilter;
23596
+ /** Filter by the object’s `limitWarningStateTableId` field. */
23597
+ limitWarningStateTableId?: UUIDFilter;
23598
+ /** Filter by the object’s `limitCheckSoftFunction` field. */
23599
+ limitCheckSoftFunction?: StringFilter;
23600
+ /** Filter by the object’s `limitAggregateCheckSoftFunction` field. */
23601
+ limitAggregateCheckSoftFunction?: StringFilter;
23428
23602
  /** Filter by the object’s `prefix` field. */
23429
23603
  prefix?: StringFilter;
23430
23604
  /** Filter by the object’s `membershipType` field. */
@@ -23481,6 +23655,14 @@ export interface LimitsModuleFilter {
23481
23655
  limitCreditsTable?: TableFilter;
23482
23656
  /** A related `limitCreditsTable` exists. */
23483
23657
  limitCreditsTableExists?: boolean;
23658
+ /** Filter by the object’s `limitWarningStateTable` relation. */
23659
+ limitWarningStateTable?: TableFilter;
23660
+ /** A related `limitWarningStateTable` exists. */
23661
+ limitWarningStateTableExists?: boolean;
23662
+ /** Filter by the object’s `limitWarningsTable` relation. */
23663
+ limitWarningsTable?: TableFilter;
23664
+ /** A related `limitWarningsTable` exists. */
23665
+ limitWarningsTableExists?: boolean;
23484
23666
  /** Filter by the object’s `privateSchema` relation. */
23485
23667
  privateSchema?: SchemaFilter;
23486
23668
  /** Filter by the object’s `schema` relation. */
@@ -23795,8 +23977,8 @@ export interface ProfilesModuleFilter {
23795
23977
  /** Filter by the object’s `table` relation. */
23796
23978
  table?: TableFilter;
23797
23979
  }
23798
- /** A filter to be used against `SecretsModule` object types. All fields are combined with a logical ‘and.’ */
23799
- export interface SecretsModuleFilter {
23980
+ /** A filter to be used against `UserStateModule` object types. All fields are combined with a logical ‘and.’ */
23981
+ export interface UserStateModuleFilter {
23800
23982
  /** Filter by the object’s `id` field. */
23801
23983
  id?: UUIDFilter;
23802
23984
  /** Filter by the object’s `databaseId` field. */
@@ -23808,11 +23990,11 @@ export interface SecretsModuleFilter {
23808
23990
  /** Filter by the object’s `tableName` field. */
23809
23991
  tableName?: StringFilter;
23810
23992
  /** Checks for all expressions in this list. */
23811
- and?: SecretsModuleFilter[];
23993
+ and?: UserStateModuleFilter[];
23812
23994
  /** Checks for any expressions in this list. */
23813
- or?: SecretsModuleFilter[];
23995
+ or?: UserStateModuleFilter[];
23814
23996
  /** Negates the expression. */
23815
- not?: SecretsModuleFilter;
23997
+ not?: UserStateModuleFilter;
23816
23998
  /** Filter by the object’s `database` relation. */
23817
23999
  database?: DatabaseFilter;
23818
24000
  /** Filter by the object’s `schema` relation. */
@@ -24274,6 +24456,8 @@ export interface EntityTypeProvisionFilter {
24274
24456
  hasStorage?: BooleanFilter;
24275
24457
  /** Filter by the object’s `hasInvites` field. */
24276
24458
  hasInvites?: BooleanFilter;
24459
+ /** Filter by the object’s `hasInviteAchievements` field. */
24460
+ hasInviteAchievements?: BooleanFilter;
24277
24461
  /** Filter by the object’s `storageConfig` field. */
24278
24462
  storageConfig?: JSONFilter;
24279
24463
  /** Filter by the object’s `skipEntityPolicies` field. */
@@ -24550,10 +24734,10 @@ export interface RealtimeModuleFilter {
24550
24734
  sourceRegistryTableId?: UUIDFilter;
24551
24735
  /** Filter by the object’s `retentionHours` field. */
24552
24736
  retentionHours?: IntFilter;
24553
- /** Filter by the object’s `lookaheadHours` field. */
24554
- lookaheadHours?: IntFilter;
24555
- /** Filter by the object’s `partitionInterval` field. */
24556
- partitionInterval?: StringFilter;
24737
+ /** Filter by the object’s `premake` field. */
24738
+ premake?: IntFilter;
24739
+ /** Filter by the object’s `interval` field. */
24740
+ interval?: StringFilter;
24557
24741
  /** Filter by the object’s `notifyChannel` field. */
24558
24742
  notifyChannel?: StringFilter;
24559
24743
  /** Checks for all expressions in this list. */
@@ -25078,10 +25262,10 @@ export interface DatabaseFilter {
25078
25262
  invitesModules?: DatabaseToManyInvitesModuleFilter;
25079
25263
  /** `invitesModules` exist. */
25080
25264
  invitesModulesExist?: boolean;
25081
- /** Filter by the object’s `levelsModules` relation. */
25082
- levelsModules?: DatabaseToManyLevelsModuleFilter;
25083
- /** `levelsModules` exist. */
25084
- levelsModulesExist?: boolean;
25265
+ /** Filter by the object’s `eventsModules` relation. */
25266
+ eventsModules?: DatabaseToManyEventsModuleFilter;
25267
+ /** `eventsModules` exist. */
25268
+ eventsModulesExist?: boolean;
25085
25269
  /** Filter by the object’s `limitsModules` relation. */
25086
25270
  limitsModules?: DatabaseToManyLimitsModuleFilter;
25087
25271
  /** `limitsModules` exist. */
@@ -25110,10 +25294,10 @@ export interface DatabaseFilter {
25110
25294
  rlsModule?: RlsModuleFilter;
25111
25295
  /** A related `rlsModule` exists. */
25112
25296
  rlsModuleExists?: boolean;
25113
- /** Filter by the object’s `secretsModules` relation. */
25114
- secretsModules?: DatabaseToManySecretsModuleFilter;
25115
- /** `secretsModules` exist. */
25116
- secretsModulesExist?: boolean;
25297
+ /** Filter by the object’s `userStateModules` relation. */
25298
+ userStateModules?: DatabaseToManyUserStateModuleFilter;
25299
+ /** `userStateModules` exist. */
25300
+ userStateModulesExist?: boolean;
25117
25301
  /** Filter by the object’s `sessionsModules` relation. */
25118
25302
  sessionsModules?: DatabaseToManySessionsModuleFilter;
25119
25303
  /** `sessionsModules` exist. */
@@ -25198,6 +25382,10 @@ export interface DatabaseFilter {
25198
25382
  realtimeModules?: DatabaseToManyRealtimeModuleFilter;
25199
25383
  /** `realtimeModules` exist. */
25200
25384
  realtimeModulesExist?: boolean;
25385
+ /** Filter by the object’s `rateLimitMetersModule` relation. */
25386
+ rateLimitMetersModule?: RateLimitMetersModuleFilter;
25387
+ /** A related `rateLimitMetersModule` exists. */
25388
+ rateLimitMetersModuleExists?: boolean;
25201
25389
  /** Filter by the object’s `databaseProvisionModules` relation. */
25202
25390
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
25203
25391
  /** `databaseProvisionModules` exist. */
@@ -25686,78 +25874,30 @@ export interface OrgLimitAggregateFilter {
25686
25874
  /** Filter by the object’s `entity` relation. */
25687
25875
  entity?: UserFilter;
25688
25876
  }
25689
- /** A filter to be used against `AppStep` object types. All fields are combined with a logical ‘and.’ */
25690
- export interface AppStepFilter {
25877
+ /** A filter to be used against `OrgLimitWarning` object types. All fields are combined with a logical ‘and.’ */
25878
+ export interface OrgLimitWarningFilter {
25691
25879
  /** Filter by the object’s `id` field. */
25692
25880
  id?: UUIDFilter;
25693
- /** Filter by the object’s `actorId` field. */
25694
- actorId?: UUIDFilter;
25695
- /** Filter by the object’s `name` field. */
25696
- name?: StringFilter;
25697
- /** Filter by the object’s `count` field. */
25698
- count?: IntFilter;
25699
- /** Filter by the object’s `createdAt` field. */
25700
- createdAt?: DatetimeFilter;
25701
- /** Filter by the object’s `updatedAt` field. */
25702
- updatedAt?: DatetimeFilter;
25703
- /** Checks for all expressions in this list. */
25704
- and?: AppStepFilter[];
25705
- /** Checks for any expressions in this list. */
25706
- or?: AppStepFilter[];
25707
- /** Negates the expression. */
25708
- not?: AppStepFilter;
25709
- /** Filter by the object’s `actor` relation. */
25710
- actor?: UserFilter;
25711
- }
25712
- /** A filter to be used against `AppAchievement` object types. All fields are combined with a logical ‘and.’ */
25713
- export interface AppAchievementFilter {
25714
- /** Filter by the object’s `id` field. */
25715
- id?: UUIDFilter;
25716
- /** Filter by the object’s `actorId` field. */
25717
- actorId?: UUIDFilter;
25718
25881
  /** Filter by the object’s `name` field. */
25719
25882
  name?: StringFilter;
25720
- /** Filter by the object’s `count` field. */
25721
- count?: IntFilter;
25722
- /** Filter by the object’s `createdAt` field. */
25723
- createdAt?: DatetimeFilter;
25724
- /** Filter by the object’s `updatedAt` field. */
25725
- updatedAt?: DatetimeFilter;
25726
- /** Checks for all expressions in this list. */
25727
- and?: AppAchievementFilter[];
25728
- /** Checks for any expressions in this list. */
25729
- or?: AppAchievementFilter[];
25730
- /** Negates the expression. */
25731
- not?: AppAchievementFilter;
25732
- /** Filter by the object’s `actor` relation. */
25733
- actor?: UserFilter;
25734
- }
25735
- /** A filter to be used against `AppLevel` object types. All fields are combined with a logical ‘and.’ */
25736
- export interface AppLevelFilter {
25737
- /** Filter by the object’s `id` field. */
25738
- id?: UUIDFilter;
25739
- /** Filter by the object’s `name` field. */
25740
- name?: StringFilter;
25741
- /** Filter by the object’s `description` field. */
25742
- description?: StringFilter;
25743
- /** Filter by the object’s `image` field. */
25744
- image?: ConstructiveInternalTypeImageFilter;
25745
- /** Filter by the object’s `ownerId` field. */
25746
- ownerId?: UUIDFilter;
25747
- /** Filter by the object’s `createdAt` field. */
25748
- createdAt?: DatetimeFilter;
25749
- /** Filter by the object’s `updatedAt` field. */
25750
- updatedAt?: DatetimeFilter;
25883
+ /** Filter by the object’s `warningType` field. */
25884
+ warningType?: StringFilter;
25885
+ /** Filter by the object’s `thresholdValue` field. */
25886
+ thresholdValue?: BigIntFilter;
25887
+ /** Filter by the object’s `taskIdentifier` field. */
25888
+ taskIdentifier?: StringFilter;
25889
+ /** Filter by the object’s `entityId` field. */
25890
+ entityId?: UUIDFilter;
25751
25891
  /** Checks for all expressions in this list. */
25752
- and?: AppLevelFilter[];
25892
+ and?: OrgLimitWarningFilter[];
25753
25893
  /** Checks for any expressions in this list. */
25754
- or?: AppLevelFilter[];
25894
+ or?: OrgLimitWarningFilter[];
25755
25895
  /** Negates the expression. */
25756
- not?: AppLevelFilter;
25757
- /** Filter by the object’s `owner` relation. */
25758
- owner?: UserFilter;
25759
- /** A related `owner` exists. */
25760
- ownerExists?: boolean;
25896
+ not?: OrgLimitWarningFilter;
25897
+ /** Filter by the object’s `entity` relation. */
25898
+ entity?: UserFilter;
25899
+ /** A related `entity` exists. */
25900
+ entityExists?: boolean;
25761
25901
  }
25762
25902
  /** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */
25763
25903
  export interface EmailFilter {
@@ -26617,18 +26757,10 @@ export interface UserFilter {
26617
26757
  orgLimitAggregatesByEntityId?: UserToManyOrgLimitAggregateFilter;
26618
26758
  /** `orgLimitAggregatesByEntityId` exist. */
26619
26759
  orgLimitAggregatesByEntityIdExist?: boolean;
26620
- /** Filter by the object’s `appStepsByActorId` relation. */
26621
- appStepsByActorId?: UserToManyAppStepFilter;
26622
- /** `appStepsByActorId` exist. */
26623
- appStepsByActorIdExist?: boolean;
26624
- /** Filter by the object’s `appAchievementsByActorId` relation. */
26625
- appAchievementsByActorId?: UserToManyAppAchievementFilter;
26626
- /** `appAchievementsByActorId` exist. */
26627
- appAchievementsByActorIdExist?: boolean;
26628
- /** Filter by the object’s `ownedAppLevels` relation. */
26629
- ownedAppLevels?: UserToManyAppLevelFilter;
26630
- /** `ownedAppLevels` exist. */
26631
- ownedAppLevelsExist?: boolean;
26760
+ /** Filter by the object’s `orgLimitWarningsByEntityId` relation. */
26761
+ orgLimitWarningsByEntityId?: UserToManyOrgLimitWarningFilter;
26762
+ /** `orgLimitWarningsByEntityId` exist. */
26763
+ orgLimitWarningsByEntityIdExist?: boolean;
26632
26764
  /** Filter by the object’s `ownedEmails` relation. */
26633
26765
  ownedEmails?: UserToManyEmailFilter;
26634
26766
  /** `ownedEmails` exist. */
@@ -27377,6 +27509,55 @@ export interface BillingProviderModuleFilter {
27377
27509
  /** A related `subscriptionsTable` exists. */
27378
27510
  subscriptionsTableExists?: boolean;
27379
27511
  }
27512
+ /** A filter to be used against `RateLimitMetersModule` object types. All fields are combined with a logical ‘and.’ */
27513
+ export interface RateLimitMetersModuleFilter {
27514
+ /** Filter by the object’s `id` field. */
27515
+ id?: UUIDFilter;
27516
+ /** Filter by the object’s `databaseId` field. */
27517
+ databaseId?: UUIDFilter;
27518
+ /** Filter by the object’s `schemaId` field. */
27519
+ schemaId?: UUIDFilter;
27520
+ /** Filter by the object’s `privateSchemaId` field. */
27521
+ privateSchemaId?: UUIDFilter;
27522
+ /** Filter by the object’s `rateLimitStateTableId` field. */
27523
+ rateLimitStateTableId?: UUIDFilter;
27524
+ /** Filter by the object’s `rateLimitStateTableName` field. */
27525
+ rateLimitStateTableName?: StringFilter;
27526
+ /** Filter by the object’s `rateLimitOverridesTableId` field. */
27527
+ rateLimitOverridesTableId?: UUIDFilter;
27528
+ /** Filter by the object’s `rateLimitOverridesTableName` field. */
27529
+ rateLimitOverridesTableName?: StringFilter;
27530
+ /** Filter by the object’s `rateWindowLimitsTableId` field. */
27531
+ rateWindowLimitsTableId?: UUIDFilter;
27532
+ /** Filter by the object’s `rateWindowLimitsTableName` field. */
27533
+ rateWindowLimitsTableName?: StringFilter;
27534
+ /** Filter by the object’s `checkRateLimitFunction` field. */
27535
+ checkRateLimitFunction?: StringFilter;
27536
+ /** Filter by the object’s `prefix` field. */
27537
+ prefix?: StringFilter;
27538
+ /** Checks for all expressions in this list. */
27539
+ and?: RateLimitMetersModuleFilter[];
27540
+ /** Checks for any expressions in this list. */
27541
+ or?: RateLimitMetersModuleFilter[];
27542
+ /** Negates the expression. */
27543
+ not?: RateLimitMetersModuleFilter;
27544
+ /** Filter by the object’s `database` relation. */
27545
+ database?: DatabaseFilter;
27546
+ /** Filter by the object’s `privateSchema` relation. */
27547
+ privateSchema?: SchemaFilter;
27548
+ /** Filter by the object’s `rateLimitOverridesTableByRateLimitOverridesTableId` relation. */
27549
+ rateLimitOverridesTableByRateLimitOverridesTableId?: TableFilter;
27550
+ /** A related `rateLimitOverridesTableByRateLimitOverridesTableId` exists. */
27551
+ rateLimitOverridesTableByRateLimitOverridesTableIdExists?: boolean;
27552
+ /** Filter by the object’s `rateLimitStateTableByRateLimitStateTableId` relation. */
27553
+ rateLimitStateTableByRateLimitStateTableId?: TableFilter;
27554
+ /** Filter by the object’s `rateWindowLimitsTableByRateWindowLimitsTableId` relation. */
27555
+ rateWindowLimitsTableByRateWindowLimitsTableId?: TableFilter;
27556
+ /** A related `rateWindowLimitsTableByRateWindowLimitsTableId` exists. */
27557
+ rateWindowLimitsTableByRateWindowLimitsTableIdExists?: boolean;
27558
+ /** Filter by the object’s `schema` relation. */
27559
+ schema?: SchemaFilter;
27560
+ }
27380
27561
  /** A filter to be used against BitString fields. All fields are combined with a logical ‘and.’ */
27381
27562
  export interface BitStringFilter {
27382
27563
  /** Is null (if `true` is specified) or is not null (if `false` is specified). */
@@ -27633,25 +27814,6 @@ export type ObjectConnectionSelect = {
27633
27814
  };
27634
27815
  totalCount?: boolean;
27635
27816
  };
27636
- /** A connection to a list of `AppLevelRequirement` values. */
27637
- export interface AppLevelRequirementConnection {
27638
- nodes: AppLevelRequirement[];
27639
- edges: AppLevelRequirementEdge[];
27640
- pageInfo: PageInfo;
27641
- totalCount: number;
27642
- }
27643
- export type AppLevelRequirementConnectionSelect = {
27644
- nodes?: {
27645
- select: AppLevelRequirementSelect;
27646
- };
27647
- edges?: {
27648
- select: AppLevelRequirementEdgeSelect;
27649
- };
27650
- pageInfo?: {
27651
- select: PageInfoSelect;
27652
- };
27653
- totalCount?: boolean;
27654
- };
27655
27817
  export interface SendAccountDeletionEmailPayload {
27656
27818
  clientMutationId?: string | null;
27657
27819
  result?: boolean | null;
@@ -28193,51 +28355,6 @@ export type DeleteObjectPayloadSelect = {
28193
28355
  select: ObjectEdgeSelect;
28194
28356
  };
28195
28357
  };
28196
- export interface CreateAppLevelRequirementPayload {
28197
- clientMutationId?: string | null;
28198
- /** The `AppLevelRequirement` that was created by this mutation. */
28199
- appLevelRequirement?: AppLevelRequirement | null;
28200
- appLevelRequirementEdge?: AppLevelRequirementEdge | null;
28201
- }
28202
- export type CreateAppLevelRequirementPayloadSelect = {
28203
- clientMutationId?: boolean;
28204
- appLevelRequirement?: {
28205
- select: AppLevelRequirementSelect;
28206
- };
28207
- appLevelRequirementEdge?: {
28208
- select: AppLevelRequirementEdgeSelect;
28209
- };
28210
- };
28211
- export interface UpdateAppLevelRequirementPayload {
28212
- clientMutationId?: string | null;
28213
- /** The `AppLevelRequirement` that was updated by this mutation. */
28214
- appLevelRequirement?: AppLevelRequirement | null;
28215
- appLevelRequirementEdge?: AppLevelRequirementEdge | null;
28216
- }
28217
- export type UpdateAppLevelRequirementPayloadSelect = {
28218
- clientMutationId?: boolean;
28219
- appLevelRequirement?: {
28220
- select: AppLevelRequirementSelect;
28221
- };
28222
- appLevelRequirementEdge?: {
28223
- select: AppLevelRequirementEdgeSelect;
28224
- };
28225
- };
28226
- export interface DeleteAppLevelRequirementPayload {
28227
- clientMutationId?: string | null;
28228
- /** The `AppLevelRequirement` that was deleted by this mutation. */
28229
- appLevelRequirement?: AppLevelRequirement | null;
28230
- appLevelRequirementEdge?: AppLevelRequirementEdge | null;
28231
- }
28232
- export type DeleteAppLevelRequirementPayloadSelect = {
28233
- clientMutationId?: boolean;
28234
- appLevelRequirement?: {
28235
- select: AppLevelRequirementSelect;
28236
- };
28237
- appLevelRequirementEdge?: {
28238
- select: AppLevelRequirementEdgeSelect;
28239
- };
28240
- };
28241
28358
  export interface CreateDatabasePayload {
28242
28359
  clientMutationId?: string | null;
28243
28360
  /** The `Database` that was created by this mutation. */
@@ -30488,49 +30605,49 @@ export type DeleteInvitesModulePayloadSelect = {
30488
30605
  select: InvitesModuleEdgeSelect;
30489
30606
  };
30490
30607
  };
30491
- export interface CreateLevelsModulePayload {
30608
+ export interface CreateEventsModulePayload {
30492
30609
  clientMutationId?: string | null;
30493
- /** The `LevelsModule` that was created by this mutation. */
30494
- levelsModule?: LevelsModule | null;
30495
- levelsModuleEdge?: LevelsModuleEdge | null;
30610
+ /** The `EventsModule` that was created by this mutation. */
30611
+ eventsModule?: EventsModule | null;
30612
+ eventsModuleEdge?: EventsModuleEdge | null;
30496
30613
  }
30497
- export type CreateLevelsModulePayloadSelect = {
30614
+ export type CreateEventsModulePayloadSelect = {
30498
30615
  clientMutationId?: boolean;
30499
- levelsModule?: {
30500
- select: LevelsModuleSelect;
30616
+ eventsModule?: {
30617
+ select: EventsModuleSelect;
30501
30618
  };
30502
- levelsModuleEdge?: {
30503
- select: LevelsModuleEdgeSelect;
30619
+ eventsModuleEdge?: {
30620
+ select: EventsModuleEdgeSelect;
30504
30621
  };
30505
30622
  };
30506
- export interface UpdateLevelsModulePayload {
30623
+ export interface UpdateEventsModulePayload {
30507
30624
  clientMutationId?: string | null;
30508
- /** The `LevelsModule` that was updated by this mutation. */
30509
- levelsModule?: LevelsModule | null;
30510
- levelsModuleEdge?: LevelsModuleEdge | null;
30625
+ /** The `EventsModule` that was updated by this mutation. */
30626
+ eventsModule?: EventsModule | null;
30627
+ eventsModuleEdge?: EventsModuleEdge | null;
30511
30628
  }
30512
- export type UpdateLevelsModulePayloadSelect = {
30629
+ export type UpdateEventsModulePayloadSelect = {
30513
30630
  clientMutationId?: boolean;
30514
- levelsModule?: {
30515
- select: LevelsModuleSelect;
30631
+ eventsModule?: {
30632
+ select: EventsModuleSelect;
30516
30633
  };
30517
- levelsModuleEdge?: {
30518
- select: LevelsModuleEdgeSelect;
30634
+ eventsModuleEdge?: {
30635
+ select: EventsModuleEdgeSelect;
30519
30636
  };
30520
30637
  };
30521
- export interface DeleteLevelsModulePayload {
30638
+ export interface DeleteEventsModulePayload {
30522
30639
  clientMutationId?: string | null;
30523
- /** The `LevelsModule` that was deleted by this mutation. */
30524
- levelsModule?: LevelsModule | null;
30525
- levelsModuleEdge?: LevelsModuleEdge | null;
30640
+ /** The `EventsModule` that was deleted by this mutation. */
30641
+ eventsModule?: EventsModule | null;
30642
+ eventsModuleEdge?: EventsModuleEdge | null;
30526
30643
  }
30527
- export type DeleteLevelsModulePayloadSelect = {
30644
+ export type DeleteEventsModulePayloadSelect = {
30528
30645
  clientMutationId?: boolean;
30529
- levelsModule?: {
30530
- select: LevelsModuleSelect;
30646
+ eventsModule?: {
30647
+ select: EventsModuleSelect;
30531
30648
  };
30532
- levelsModuleEdge?: {
30533
- select: LevelsModuleEdgeSelect;
30649
+ eventsModuleEdge?: {
30650
+ select: EventsModuleEdgeSelect;
30534
30651
  };
30535
30652
  };
30536
30653
  export interface CreateLimitsModulePayload {
@@ -30803,49 +30920,49 @@ export type DeleteProfilesModulePayloadSelect = {
30803
30920
  select: ProfilesModuleEdgeSelect;
30804
30921
  };
30805
30922
  };
30806
- export interface CreateSecretsModulePayload {
30923
+ export interface CreateUserStateModulePayload {
30807
30924
  clientMutationId?: string | null;
30808
- /** The `SecretsModule` that was created by this mutation. */
30809
- secretsModule?: SecretsModule | null;
30810
- secretsModuleEdge?: SecretsModuleEdge | null;
30925
+ /** The `UserStateModule` that was created by this mutation. */
30926
+ userStateModule?: UserStateModule | null;
30927
+ userStateModuleEdge?: UserStateModuleEdge | null;
30811
30928
  }
30812
- export type CreateSecretsModulePayloadSelect = {
30929
+ export type CreateUserStateModulePayloadSelect = {
30813
30930
  clientMutationId?: boolean;
30814
- secretsModule?: {
30815
- select: SecretsModuleSelect;
30931
+ userStateModule?: {
30932
+ select: UserStateModuleSelect;
30816
30933
  };
30817
- secretsModuleEdge?: {
30818
- select: SecretsModuleEdgeSelect;
30934
+ userStateModuleEdge?: {
30935
+ select: UserStateModuleEdgeSelect;
30819
30936
  };
30820
30937
  };
30821
- export interface UpdateSecretsModulePayload {
30938
+ export interface UpdateUserStateModulePayload {
30822
30939
  clientMutationId?: string | null;
30823
- /** The `SecretsModule` that was updated by this mutation. */
30824
- secretsModule?: SecretsModule | null;
30825
- secretsModuleEdge?: SecretsModuleEdge | null;
30940
+ /** The `UserStateModule` that was updated by this mutation. */
30941
+ userStateModule?: UserStateModule | null;
30942
+ userStateModuleEdge?: UserStateModuleEdge | null;
30826
30943
  }
30827
- export type UpdateSecretsModulePayloadSelect = {
30944
+ export type UpdateUserStateModulePayloadSelect = {
30828
30945
  clientMutationId?: boolean;
30829
- secretsModule?: {
30830
- select: SecretsModuleSelect;
30946
+ userStateModule?: {
30947
+ select: UserStateModuleSelect;
30831
30948
  };
30832
- secretsModuleEdge?: {
30833
- select: SecretsModuleEdgeSelect;
30949
+ userStateModuleEdge?: {
30950
+ select: UserStateModuleEdgeSelect;
30834
30951
  };
30835
30952
  };
30836
- export interface DeleteSecretsModulePayload {
30953
+ export interface DeleteUserStateModulePayload {
30837
30954
  clientMutationId?: string | null;
30838
- /** The `SecretsModule` that was deleted by this mutation. */
30839
- secretsModule?: SecretsModule | null;
30840
- secretsModuleEdge?: SecretsModuleEdge | null;
30955
+ /** The `UserStateModule` that was deleted by this mutation. */
30956
+ userStateModule?: UserStateModule | null;
30957
+ userStateModuleEdge?: UserStateModuleEdge | null;
30841
30958
  }
30842
- export type DeleteSecretsModulePayloadSelect = {
30959
+ export type DeleteUserStateModulePayloadSelect = {
30843
30960
  clientMutationId?: boolean;
30844
- secretsModule?: {
30845
- select: SecretsModuleSelect;
30961
+ userStateModule?: {
30962
+ select: UserStateModuleSelect;
30846
30963
  };
30847
- secretsModuleEdge?: {
30848
- select: SecretsModuleEdgeSelect;
30964
+ userStateModuleEdge?: {
30965
+ select: UserStateModuleEdgeSelect;
30849
30966
  };
30850
30967
  };
30851
30968
  export interface CreateSessionsModulePayload {
@@ -32243,139 +32360,49 @@ export type DeleteOrgLimitAggregatePayloadSelect = {
32243
32360
  select: OrgLimitAggregateEdgeSelect;
32244
32361
  };
32245
32362
  };
32246
- export interface CreateAppStepPayload {
32247
- clientMutationId?: string | null;
32248
- /** The `AppStep` that was created by this mutation. */
32249
- appStep?: AppStep | null;
32250
- appStepEdge?: AppStepEdge | null;
32251
- }
32252
- export type CreateAppStepPayloadSelect = {
32253
- clientMutationId?: boolean;
32254
- appStep?: {
32255
- select: AppStepSelect;
32256
- };
32257
- appStepEdge?: {
32258
- select: AppStepEdgeSelect;
32259
- };
32260
- };
32261
- export interface UpdateAppStepPayload {
32262
- clientMutationId?: string | null;
32263
- /** The `AppStep` that was updated by this mutation. */
32264
- appStep?: AppStep | null;
32265
- appStepEdge?: AppStepEdge | null;
32266
- }
32267
- export type UpdateAppStepPayloadSelect = {
32268
- clientMutationId?: boolean;
32269
- appStep?: {
32270
- select: AppStepSelect;
32271
- };
32272
- appStepEdge?: {
32273
- select: AppStepEdgeSelect;
32274
- };
32275
- };
32276
- export interface DeleteAppStepPayload {
32277
- clientMutationId?: string | null;
32278
- /** The `AppStep` that was deleted by this mutation. */
32279
- appStep?: AppStep | null;
32280
- appStepEdge?: AppStepEdge | null;
32281
- }
32282
- export type DeleteAppStepPayloadSelect = {
32283
- clientMutationId?: boolean;
32284
- appStep?: {
32285
- select: AppStepSelect;
32286
- };
32287
- appStepEdge?: {
32288
- select: AppStepEdgeSelect;
32289
- };
32290
- };
32291
- export interface CreateAppAchievementPayload {
32363
+ export interface CreateOrgLimitWarningPayload {
32292
32364
  clientMutationId?: string | null;
32293
- /** The `AppAchievement` that was created by this mutation. */
32294
- appAchievement?: AppAchievement | null;
32295
- appAchievementEdge?: AppAchievementEdge | null;
32365
+ /** The `OrgLimitWarning` that was created by this mutation. */
32366
+ orgLimitWarning?: OrgLimitWarning | null;
32367
+ orgLimitWarningEdge?: OrgLimitWarningEdge | null;
32296
32368
  }
32297
- export type CreateAppAchievementPayloadSelect = {
32369
+ export type CreateOrgLimitWarningPayloadSelect = {
32298
32370
  clientMutationId?: boolean;
32299
- appAchievement?: {
32300
- select: AppAchievementSelect;
32371
+ orgLimitWarning?: {
32372
+ select: OrgLimitWarningSelect;
32301
32373
  };
32302
- appAchievementEdge?: {
32303
- select: AppAchievementEdgeSelect;
32374
+ orgLimitWarningEdge?: {
32375
+ select: OrgLimitWarningEdgeSelect;
32304
32376
  };
32305
32377
  };
32306
- export interface UpdateAppAchievementPayload {
32378
+ export interface UpdateOrgLimitWarningPayload {
32307
32379
  clientMutationId?: string | null;
32308
- /** The `AppAchievement` that was updated by this mutation. */
32309
- appAchievement?: AppAchievement | null;
32310
- appAchievementEdge?: AppAchievementEdge | null;
32380
+ /** The `OrgLimitWarning` that was updated by this mutation. */
32381
+ orgLimitWarning?: OrgLimitWarning | null;
32382
+ orgLimitWarningEdge?: OrgLimitWarningEdge | null;
32311
32383
  }
32312
- export type UpdateAppAchievementPayloadSelect = {
32384
+ export type UpdateOrgLimitWarningPayloadSelect = {
32313
32385
  clientMutationId?: boolean;
32314
- appAchievement?: {
32315
- select: AppAchievementSelect;
32386
+ orgLimitWarning?: {
32387
+ select: OrgLimitWarningSelect;
32316
32388
  };
32317
- appAchievementEdge?: {
32318
- select: AppAchievementEdgeSelect;
32389
+ orgLimitWarningEdge?: {
32390
+ select: OrgLimitWarningEdgeSelect;
32319
32391
  };
32320
32392
  };
32321
- export interface DeleteAppAchievementPayload {
32393
+ export interface DeleteOrgLimitWarningPayload {
32322
32394
  clientMutationId?: string | null;
32323
- /** The `AppAchievement` that was deleted by this mutation. */
32324
- appAchievement?: AppAchievement | null;
32325
- appAchievementEdge?: AppAchievementEdge | null;
32395
+ /** The `OrgLimitWarning` that was deleted by this mutation. */
32396
+ orgLimitWarning?: OrgLimitWarning | null;
32397
+ orgLimitWarningEdge?: OrgLimitWarningEdge | null;
32326
32398
  }
32327
- export type DeleteAppAchievementPayloadSelect = {
32399
+ export type DeleteOrgLimitWarningPayloadSelect = {
32328
32400
  clientMutationId?: boolean;
32329
- appAchievement?: {
32330
- select: AppAchievementSelect;
32401
+ orgLimitWarning?: {
32402
+ select: OrgLimitWarningSelect;
32331
32403
  };
32332
- appAchievementEdge?: {
32333
- select: AppAchievementEdgeSelect;
32334
- };
32335
- };
32336
- export interface CreateAppLevelPayload {
32337
- clientMutationId?: string | null;
32338
- /** The `AppLevel` that was created by this mutation. */
32339
- appLevel?: AppLevel | null;
32340
- appLevelEdge?: AppLevelEdge | null;
32341
- }
32342
- export type CreateAppLevelPayloadSelect = {
32343
- clientMutationId?: boolean;
32344
- appLevel?: {
32345
- select: AppLevelSelect;
32346
- };
32347
- appLevelEdge?: {
32348
- select: AppLevelEdgeSelect;
32349
- };
32350
- };
32351
- export interface UpdateAppLevelPayload {
32352
- clientMutationId?: string | null;
32353
- /** The `AppLevel` that was updated by this mutation. */
32354
- appLevel?: AppLevel | null;
32355
- appLevelEdge?: AppLevelEdge | null;
32356
- }
32357
- export type UpdateAppLevelPayloadSelect = {
32358
- clientMutationId?: boolean;
32359
- appLevel?: {
32360
- select: AppLevelSelect;
32361
- };
32362
- appLevelEdge?: {
32363
- select: AppLevelEdgeSelect;
32364
- };
32365
- };
32366
- export interface DeleteAppLevelPayload {
32367
- clientMutationId?: string | null;
32368
- /** The `AppLevel` that was deleted by this mutation. */
32369
- appLevel?: AppLevel | null;
32370
- appLevelEdge?: AppLevelEdge | null;
32371
- }
32372
- export type DeleteAppLevelPayloadSelect = {
32373
- clientMutationId?: boolean;
32374
- appLevel?: {
32375
- select: AppLevelSelect;
32376
- };
32377
- appLevelEdge?: {
32378
- select: AppLevelEdgeSelect;
32404
+ orgLimitWarningEdge?: {
32405
+ select: OrgLimitWarningEdgeSelect;
32379
32406
  };
32380
32407
  };
32381
32408
  export interface CreateEmailPayload {
@@ -33570,6 +33597,51 @@ export type DeleteOrgLimitDefaultPayloadSelect = {
33570
33597
  select: OrgLimitDefaultEdgeSelect;
33571
33598
  };
33572
33599
  };
33600
+ export interface CreateAppLimitWarningPayload {
33601
+ clientMutationId?: string | null;
33602
+ /** The `AppLimitWarning` that was created by this mutation. */
33603
+ appLimitWarning?: AppLimitWarning | null;
33604
+ appLimitWarningEdge?: AppLimitWarningEdge | null;
33605
+ }
33606
+ export type CreateAppLimitWarningPayloadSelect = {
33607
+ clientMutationId?: boolean;
33608
+ appLimitWarning?: {
33609
+ select: AppLimitWarningSelect;
33610
+ };
33611
+ appLimitWarningEdge?: {
33612
+ select: AppLimitWarningEdgeSelect;
33613
+ };
33614
+ };
33615
+ export interface UpdateAppLimitWarningPayload {
33616
+ clientMutationId?: string | null;
33617
+ /** The `AppLimitWarning` that was updated by this mutation. */
33618
+ appLimitWarning?: AppLimitWarning | null;
33619
+ appLimitWarningEdge?: AppLimitWarningEdge | null;
33620
+ }
33621
+ export type UpdateAppLimitWarningPayloadSelect = {
33622
+ clientMutationId?: boolean;
33623
+ appLimitWarning?: {
33624
+ select: AppLimitWarningSelect;
33625
+ };
33626
+ appLimitWarningEdge?: {
33627
+ select: AppLimitWarningEdgeSelect;
33628
+ };
33629
+ };
33630
+ export interface DeleteAppLimitWarningPayload {
33631
+ clientMutationId?: string | null;
33632
+ /** The `AppLimitWarning` that was deleted by this mutation. */
33633
+ appLimitWarning?: AppLimitWarning | null;
33634
+ appLimitWarningEdge?: AppLimitWarningEdge | null;
33635
+ }
33636
+ export type DeleteAppLimitWarningPayloadSelect = {
33637
+ clientMutationId?: boolean;
33638
+ appLimitWarning?: {
33639
+ select: AppLimitWarningSelect;
33640
+ };
33641
+ appLimitWarningEdge?: {
33642
+ select: AppLimitWarningEdgeSelect;
33643
+ };
33644
+ };
33573
33645
  export interface CreateUserConnectedAccountPayload {
33574
33646
  clientMutationId?: string | null;
33575
33647
  /** The `UserConnectedAccount` that was created by this mutation. */
@@ -33963,6 +34035,51 @@ export type DeleteRlsModulePayloadSelect = {
33963
34035
  select: RlsModuleEdgeSelect;
33964
34036
  };
33965
34037
  };
34038
+ export interface CreateRateLimitMetersModulePayload {
34039
+ clientMutationId?: string | null;
34040
+ /** The `RateLimitMetersModule` that was created by this mutation. */
34041
+ rateLimitMetersModule?: RateLimitMetersModule | null;
34042
+ rateLimitMetersModuleEdge?: RateLimitMetersModuleEdge | null;
34043
+ }
34044
+ export type CreateRateLimitMetersModulePayloadSelect = {
34045
+ clientMutationId?: boolean;
34046
+ rateLimitMetersModule?: {
34047
+ select: RateLimitMetersModuleSelect;
34048
+ };
34049
+ rateLimitMetersModuleEdge?: {
34050
+ select: RateLimitMetersModuleEdgeSelect;
34051
+ };
34052
+ };
34053
+ export interface UpdateRateLimitMetersModulePayload {
34054
+ clientMutationId?: string | null;
34055
+ /** The `RateLimitMetersModule` that was updated by this mutation. */
34056
+ rateLimitMetersModule?: RateLimitMetersModule | null;
34057
+ rateLimitMetersModuleEdge?: RateLimitMetersModuleEdge | null;
34058
+ }
34059
+ export type UpdateRateLimitMetersModulePayloadSelect = {
34060
+ clientMutationId?: boolean;
34061
+ rateLimitMetersModule?: {
34062
+ select: RateLimitMetersModuleSelect;
34063
+ };
34064
+ rateLimitMetersModuleEdge?: {
34065
+ select: RateLimitMetersModuleEdgeSelect;
34066
+ };
34067
+ };
34068
+ export interface DeleteRateLimitMetersModulePayload {
34069
+ clientMutationId?: string | null;
34070
+ /** The `RateLimitMetersModule` that was deleted by this mutation. */
34071
+ rateLimitMetersModule?: RateLimitMetersModule | null;
34072
+ rateLimitMetersModuleEdge?: RateLimitMetersModuleEdge | null;
34073
+ }
34074
+ export type DeleteRateLimitMetersModulePayloadSelect = {
34075
+ clientMutationId?: boolean;
34076
+ rateLimitMetersModule?: {
34077
+ select: RateLimitMetersModuleSelect;
34078
+ };
34079
+ rateLimitMetersModuleEdge?: {
34080
+ select: RateLimitMetersModuleEdgeSelect;
34081
+ };
34082
+ };
33966
34083
  export interface CreatePlansModulePayload {
33967
34084
  clientMutationId?: string | null;
33968
34085
  /** The `PlansModule` that was created by this mutation. */
@@ -34443,18 +34560,6 @@ export type ObjectEdgeSelect = {
34443
34560
  select: ObjectSelect;
34444
34561
  };
34445
34562
  };
34446
- /** A `AppLevelRequirement` edge in the connection. */
34447
- export interface AppLevelRequirementEdge {
34448
- cursor?: string | null;
34449
- /** The `AppLevelRequirement` at the end of the edge. */
34450
- node?: AppLevelRequirement | null;
34451
- }
34452
- export type AppLevelRequirementEdgeSelect = {
34453
- cursor?: boolean;
34454
- node?: {
34455
- select: AppLevelRequirementSelect;
34456
- };
34457
- };
34458
34563
  export interface BootstrapUserRecord {
34459
34564
  outUserId?: string | null;
34460
34565
  outEmail?: string | null;
@@ -35175,16 +35280,16 @@ export type InvitesModuleEdgeSelect = {
35175
35280
  select: InvitesModuleSelect;
35176
35281
  };
35177
35282
  };
35178
- /** A `LevelsModule` edge in the connection. */
35179
- export interface LevelsModuleEdge {
35283
+ /** A `EventsModule` edge in the connection. */
35284
+ export interface EventsModuleEdge {
35180
35285
  cursor?: string | null;
35181
- /** The `LevelsModule` at the end of the edge. */
35182
- node?: LevelsModule | null;
35286
+ /** The `EventsModule` at the end of the edge. */
35287
+ node?: EventsModule | null;
35183
35288
  }
35184
- export type LevelsModuleEdgeSelect = {
35289
+ export type EventsModuleEdgeSelect = {
35185
35290
  cursor?: boolean;
35186
35291
  node?: {
35187
- select: LevelsModuleSelect;
35292
+ select: EventsModuleSelect;
35188
35293
  };
35189
35294
  };
35190
35295
  /** A `LimitsModule` edge in the connection. */
@@ -35259,16 +35364,16 @@ export type ProfilesModuleEdgeSelect = {
35259
35364
  select: ProfilesModuleSelect;
35260
35365
  };
35261
35366
  };
35262
- /** A `SecretsModule` edge in the connection. */
35263
- export interface SecretsModuleEdge {
35367
+ /** A `UserStateModule` edge in the connection. */
35368
+ export interface UserStateModuleEdge {
35264
35369
  cursor?: string | null;
35265
- /** The `SecretsModule` at the end of the edge. */
35266
- node?: SecretsModule | null;
35370
+ /** The `UserStateModule` at the end of the edge. */
35371
+ node?: UserStateModule | null;
35267
35372
  }
35268
- export type SecretsModuleEdgeSelect = {
35373
+ export type UserStateModuleEdgeSelect = {
35269
35374
  cursor?: boolean;
35270
35375
  node?: {
35271
- select: SecretsModuleSelect;
35376
+ select: UserStateModuleSelect;
35272
35377
  };
35273
35378
  };
35274
35379
  /** A `SessionsModule` edge in the connection. */
@@ -35643,40 +35748,16 @@ export type OrgLimitAggregateEdgeSelect = {
35643
35748
  select: OrgLimitAggregateSelect;
35644
35749
  };
35645
35750
  };
35646
- /** A `AppStep` edge in the connection. */
35647
- export interface AppStepEdge {
35751
+ /** A `OrgLimitWarning` edge in the connection. */
35752
+ export interface OrgLimitWarningEdge {
35648
35753
  cursor?: string | null;
35649
- /** The `AppStep` at the end of the edge. */
35650
- node?: AppStep | null;
35754
+ /** The `OrgLimitWarning` at the end of the edge. */
35755
+ node?: OrgLimitWarning | null;
35651
35756
  }
35652
- export type AppStepEdgeSelect = {
35757
+ export type OrgLimitWarningEdgeSelect = {
35653
35758
  cursor?: boolean;
35654
35759
  node?: {
35655
- select: AppStepSelect;
35656
- };
35657
- };
35658
- /** A `AppAchievement` edge in the connection. */
35659
- export interface AppAchievementEdge {
35660
- cursor?: string | null;
35661
- /** The `AppAchievement` at the end of the edge. */
35662
- node?: AppAchievement | null;
35663
- }
35664
- export type AppAchievementEdgeSelect = {
35665
- cursor?: boolean;
35666
- node?: {
35667
- select: AppAchievementSelect;
35668
- };
35669
- };
35670
- /** A `AppLevel` edge in the connection. */
35671
- export interface AppLevelEdge {
35672
- cursor?: string | null;
35673
- /** The `AppLevel` at the end of the edge. */
35674
- node?: AppLevel | null;
35675
- }
35676
- export type AppLevelEdgeSelect = {
35677
- cursor?: boolean;
35678
- node?: {
35679
- select: AppLevelSelect;
35760
+ select: OrgLimitWarningSelect;
35680
35761
  };
35681
35762
  };
35682
35763
  /** A `Email` edge in the connection. */
@@ -35991,6 +36072,18 @@ export type OrgLimitDefaultEdgeSelect = {
35991
36072
  select: OrgLimitDefaultSelect;
35992
36073
  };
35993
36074
  };
36075
+ /** A `AppLimitWarning` edge in the connection. */
36076
+ export interface AppLimitWarningEdge {
36077
+ cursor?: string | null;
36078
+ /** The `AppLimitWarning` at the end of the edge. */
36079
+ node?: AppLimitWarning | null;
36080
+ }
36081
+ export type AppLimitWarningEdgeSelect = {
36082
+ cursor?: boolean;
36083
+ node?: {
36084
+ select: AppLimitWarningSelect;
36085
+ };
36086
+ };
35994
36087
  /** A `Commit` edge in the connection. */
35995
36088
  export interface CommitEdge {
35996
36089
  cursor?: string | null;
@@ -36087,6 +36180,18 @@ export type RlsModuleEdgeSelect = {
36087
36180
  select: RlsModuleSelect;
36088
36181
  };
36089
36182
  };
36183
+ /** A `RateLimitMetersModule` edge in the connection. */
36184
+ export interface RateLimitMetersModuleEdge {
36185
+ cursor?: string | null;
36186
+ /** The `RateLimitMetersModule` at the end of the edge. */
36187
+ node?: RateLimitMetersModule | null;
36188
+ }
36189
+ export type RateLimitMetersModuleEdgeSelect = {
36190
+ cursor?: boolean;
36191
+ node?: {
36192
+ select: RateLimitMetersModuleSelect;
36193
+ };
36194
+ };
36090
36195
  /** A `PlansModule` edge in the connection. */
36091
36196
  export interface PlansModuleEdge {
36092
36197
  cursor?: string | null;