@constructive-io/sdk 0.5.2 → 0.6.1

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.
@@ -162,6 +162,13 @@ export interface InternetAddressFilter {
162
162
  export interface FullTextFilter {
163
163
  matches?: string;
164
164
  }
165
+ export interface VectorFilter {
166
+ isNull?: boolean;
167
+ equalTo?: number[];
168
+ notEqualTo?: number[];
169
+ distinctFrom?: number[];
170
+ notDistinctFrom?: number[];
171
+ }
165
172
  export interface StringListFilter {
166
173
  isNull?: boolean;
167
174
  equalTo?: string[];
@@ -6772,1202 +6779,6 @@ export interface HierarchyModuleFilter {
6772
6779
  or?: HierarchyModuleFilter[];
6773
6780
  not?: HierarchyModuleFilter;
6774
6781
  }
6775
- export interface OrgGetManagersRecordCondition {
6776
- userId?: string | null;
6777
- depth?: number | null;
6778
- }
6779
- export interface OrgGetSubordinatesRecordCondition {
6780
- userId?: string | null;
6781
- depth?: number | null;
6782
- }
6783
- export interface GetAllRecordCondition {
6784
- path?: string | null;
6785
- data?: unknown | null;
6786
- }
6787
- export interface AppPermissionCondition {
6788
- id?: string | null;
6789
- name?: string | null;
6790
- bitnum?: number | null;
6791
- bitstr?: string | null;
6792
- description?: string | null;
6793
- }
6794
- export interface OrgPermissionCondition {
6795
- id?: string | null;
6796
- name?: string | null;
6797
- bitnum?: number | null;
6798
- bitstr?: string | null;
6799
- description?: string | null;
6800
- }
6801
- export interface ObjectCondition {
6802
- hashUuid?: string | null;
6803
- id?: string | null;
6804
- databaseId?: string | null;
6805
- kids?: string | null;
6806
- ktree?: string | null;
6807
- data?: unknown | null;
6808
- frzn?: boolean | null;
6809
- createdAt?: string | null;
6810
- }
6811
- export interface AppLevelRequirementCondition {
6812
- id?: string | null;
6813
- name?: string | null;
6814
- level?: string | null;
6815
- description?: string | null;
6816
- requiredCount?: number | null;
6817
- priority?: number | null;
6818
- createdAt?: string | null;
6819
- updatedAt?: string | null;
6820
- }
6821
- export interface DatabaseCondition {
6822
- id?: string | null;
6823
- ownerId?: string | null;
6824
- schemaHash?: string | null;
6825
- name?: string | null;
6826
- label?: string | null;
6827
- hash?: string | null;
6828
- createdAt?: string | null;
6829
- updatedAt?: string | null;
6830
- }
6831
- export interface SchemaCondition {
6832
- id?: string | null;
6833
- databaseId?: string | null;
6834
- name?: string | null;
6835
- schemaName?: string | null;
6836
- label?: string | null;
6837
- description?: string | null;
6838
- smartTags?: unknown | null;
6839
- category?: unknown | null;
6840
- module?: string | null;
6841
- scope?: number | null;
6842
- tags?: string | null;
6843
- isPublic?: boolean | null;
6844
- createdAt?: string | null;
6845
- updatedAt?: string | null;
6846
- }
6847
- export interface TableCondition {
6848
- id?: string | null;
6849
- databaseId?: string | null;
6850
- schemaId?: string | null;
6851
- name?: string | null;
6852
- label?: string | null;
6853
- description?: string | null;
6854
- smartTags?: unknown | null;
6855
- category?: unknown | null;
6856
- module?: string | null;
6857
- scope?: number | null;
6858
- useRls?: boolean | null;
6859
- timestamps?: boolean | null;
6860
- peoplestamps?: boolean | null;
6861
- pluralName?: string | null;
6862
- singularName?: string | null;
6863
- tags?: string | null;
6864
- inheritsId?: string | null;
6865
- createdAt?: string | null;
6866
- updatedAt?: string | null;
6867
- }
6868
- export interface CheckConstraintCondition {
6869
- id?: string | null;
6870
- databaseId?: string | null;
6871
- tableId?: string | null;
6872
- name?: string | null;
6873
- type?: string | null;
6874
- fieldIds?: string | null;
6875
- expr?: unknown | null;
6876
- smartTags?: unknown | null;
6877
- category?: unknown | null;
6878
- module?: string | null;
6879
- scope?: number | null;
6880
- tags?: string | null;
6881
- createdAt?: string | null;
6882
- updatedAt?: string | null;
6883
- }
6884
- export interface FieldCondition {
6885
- id?: string | null;
6886
- databaseId?: string | null;
6887
- tableId?: string | null;
6888
- name?: string | null;
6889
- label?: string | null;
6890
- description?: string | null;
6891
- smartTags?: unknown | null;
6892
- isRequired?: boolean | null;
6893
- defaultValue?: string | null;
6894
- defaultValueAst?: unknown | null;
6895
- isHidden?: boolean | null;
6896
- type?: string | null;
6897
- fieldOrder?: number | null;
6898
- regexp?: string | null;
6899
- chk?: unknown | null;
6900
- chkExpr?: unknown | null;
6901
- min?: number | null;
6902
- max?: number | null;
6903
- tags?: string | null;
6904
- category?: unknown | null;
6905
- module?: string | null;
6906
- scope?: number | null;
6907
- createdAt?: string | null;
6908
- updatedAt?: string | null;
6909
- }
6910
- export interface ForeignKeyConstraintCondition {
6911
- id?: string | null;
6912
- databaseId?: string | null;
6913
- tableId?: string | null;
6914
- name?: string | null;
6915
- description?: string | null;
6916
- smartTags?: unknown | null;
6917
- type?: string | null;
6918
- fieldIds?: string | null;
6919
- refTableId?: string | null;
6920
- refFieldIds?: string | null;
6921
- deleteAction?: string | null;
6922
- updateAction?: string | null;
6923
- category?: unknown | null;
6924
- module?: string | null;
6925
- scope?: number | null;
6926
- tags?: string | null;
6927
- createdAt?: string | null;
6928
- updatedAt?: string | null;
6929
- }
6930
- export interface FullTextSearchCondition {
6931
- id?: string | null;
6932
- databaseId?: string | null;
6933
- tableId?: string | null;
6934
- fieldId?: string | null;
6935
- fieldIds?: string | null;
6936
- weights?: string | null;
6937
- langs?: string | null;
6938
- createdAt?: string | null;
6939
- updatedAt?: string | null;
6940
- }
6941
- export interface IndexCondition {
6942
- id?: string | null;
6943
- databaseId?: string | null;
6944
- tableId?: string | null;
6945
- name?: string | null;
6946
- fieldIds?: string | null;
6947
- includeFieldIds?: string | null;
6948
- accessMethod?: string | null;
6949
- indexParams?: unknown | null;
6950
- whereClause?: unknown | null;
6951
- isUnique?: boolean | null;
6952
- smartTags?: unknown | null;
6953
- category?: unknown | null;
6954
- module?: string | null;
6955
- scope?: number | null;
6956
- tags?: string | null;
6957
- createdAt?: string | null;
6958
- updatedAt?: string | null;
6959
- }
6960
- export interface PolicyCondition {
6961
- id?: string | null;
6962
- databaseId?: string | null;
6963
- tableId?: string | null;
6964
- name?: string | null;
6965
- granteeName?: string | null;
6966
- privilege?: string | null;
6967
- permissive?: boolean | null;
6968
- disabled?: boolean | null;
6969
- policyType?: string | null;
6970
- data?: unknown | null;
6971
- smartTags?: unknown | null;
6972
- category?: unknown | null;
6973
- module?: string | null;
6974
- scope?: number | null;
6975
- tags?: string | null;
6976
- createdAt?: string | null;
6977
- updatedAt?: string | null;
6978
- }
6979
- export interface PrimaryKeyConstraintCondition {
6980
- id?: string | null;
6981
- databaseId?: string | null;
6982
- tableId?: string | null;
6983
- name?: string | null;
6984
- type?: string | null;
6985
- fieldIds?: string | null;
6986
- smartTags?: unknown | null;
6987
- category?: unknown | null;
6988
- module?: string | null;
6989
- scope?: number | null;
6990
- tags?: string | null;
6991
- createdAt?: string | null;
6992
- updatedAt?: string | null;
6993
- }
6994
- export interface TableGrantCondition {
6995
- id?: string | null;
6996
- databaseId?: string | null;
6997
- tableId?: string | null;
6998
- privilege?: string | null;
6999
- granteeName?: string | null;
7000
- fieldIds?: string | null;
7001
- isGrant?: boolean | null;
7002
- createdAt?: string | null;
7003
- updatedAt?: string | null;
7004
- }
7005
- export interface TriggerCondition {
7006
- id?: string | null;
7007
- databaseId?: string | null;
7008
- tableId?: string | null;
7009
- name?: string | null;
7010
- event?: string | null;
7011
- functionName?: string | null;
7012
- smartTags?: unknown | null;
7013
- category?: unknown | null;
7014
- module?: string | null;
7015
- scope?: number | null;
7016
- tags?: string | null;
7017
- createdAt?: string | null;
7018
- updatedAt?: string | null;
7019
- }
7020
- export interface UniqueConstraintCondition {
7021
- id?: string | null;
7022
- databaseId?: string | null;
7023
- tableId?: string | null;
7024
- name?: string | null;
7025
- description?: string | null;
7026
- smartTags?: unknown | null;
7027
- type?: string | null;
7028
- fieldIds?: string | null;
7029
- category?: unknown | null;
7030
- module?: string | null;
7031
- scope?: number | null;
7032
- tags?: string | null;
7033
- createdAt?: string | null;
7034
- updatedAt?: string | null;
7035
- }
7036
- export interface ViewCondition {
7037
- id?: string | null;
7038
- databaseId?: string | null;
7039
- schemaId?: string | null;
7040
- name?: string | null;
7041
- tableId?: string | null;
7042
- viewType?: string | null;
7043
- data?: unknown | null;
7044
- filterType?: string | null;
7045
- filterData?: unknown | null;
7046
- securityInvoker?: boolean | null;
7047
- isReadOnly?: boolean | null;
7048
- smartTags?: unknown | null;
7049
- category?: unknown | null;
7050
- module?: string | null;
7051
- scope?: number | null;
7052
- tags?: string | null;
7053
- }
7054
- export interface ViewTableCondition {
7055
- id?: string | null;
7056
- viewId?: string | null;
7057
- tableId?: string | null;
7058
- joinOrder?: number | null;
7059
- }
7060
- export interface ViewGrantCondition {
7061
- id?: string | null;
7062
- databaseId?: string | null;
7063
- viewId?: string | null;
7064
- granteeName?: string | null;
7065
- privilege?: string | null;
7066
- withGrantOption?: boolean | null;
7067
- isGrant?: boolean | null;
7068
- }
7069
- export interface ViewRuleCondition {
7070
- id?: string | null;
7071
- databaseId?: string | null;
7072
- viewId?: string | null;
7073
- name?: string | null;
7074
- event?: string | null;
7075
- action?: string | null;
7076
- }
7077
- export interface TableModuleCondition {
7078
- id?: string | null;
7079
- databaseId?: string | null;
7080
- schemaId?: string | null;
7081
- tableId?: string | null;
7082
- tableName?: string | null;
7083
- nodeType?: string | null;
7084
- useRls?: boolean | null;
7085
- data?: unknown | null;
7086
- fields?: string | null;
7087
- }
7088
- export interface TableTemplateModuleCondition {
7089
- id?: string | null;
7090
- databaseId?: string | null;
7091
- schemaId?: string | null;
7092
- privateSchemaId?: string | null;
7093
- tableId?: string | null;
7094
- ownerTableId?: string | null;
7095
- tableName?: string | null;
7096
- nodeType?: string | null;
7097
- data?: unknown | null;
7098
- }
7099
- export interface SecureTableProvisionCondition {
7100
- id?: string | null;
7101
- databaseId?: string | null;
7102
- schemaId?: string | null;
7103
- tableId?: string | null;
7104
- tableName?: string | null;
7105
- nodeType?: string | null;
7106
- useRls?: boolean | null;
7107
- nodeData?: unknown | null;
7108
- grantRoles?: string | null;
7109
- grantPrivileges?: unknown | null;
7110
- policyType?: string | null;
7111
- policyPrivileges?: string | null;
7112
- policyRole?: string | null;
7113
- policyPermissive?: boolean | null;
7114
- policyName?: string | null;
7115
- policyData?: unknown | null;
7116
- outFields?: string | null;
7117
- }
7118
- export interface RelationProvisionCondition {
7119
- id?: string | null;
7120
- databaseId?: string | null;
7121
- relationType?: string | null;
7122
- sourceTableId?: string | null;
7123
- targetTableId?: string | null;
7124
- fieldName?: string | null;
7125
- deleteAction?: string | null;
7126
- isRequired?: boolean | null;
7127
- junctionTableId?: string | null;
7128
- junctionTableName?: string | null;
7129
- junctionSchemaId?: string | null;
7130
- sourceFieldName?: string | null;
7131
- targetFieldName?: string | null;
7132
- useCompositeKey?: boolean | null;
7133
- nodeType?: string | null;
7134
- nodeData?: unknown | null;
7135
- grantRoles?: string | null;
7136
- grantPrivileges?: unknown | null;
7137
- policyType?: string | null;
7138
- policyPrivileges?: string | null;
7139
- policyRole?: string | null;
7140
- policyPermissive?: boolean | null;
7141
- policyName?: string | null;
7142
- policyData?: unknown | null;
7143
- outFieldId?: string | null;
7144
- outJunctionTableId?: string | null;
7145
- outSourceFieldId?: string | null;
7146
- outTargetFieldId?: string | null;
7147
- }
7148
- export interface SchemaGrantCondition {
7149
- id?: string | null;
7150
- databaseId?: string | null;
7151
- schemaId?: string | null;
7152
- granteeName?: string | null;
7153
- createdAt?: string | null;
7154
- updatedAt?: string | null;
7155
- }
7156
- export interface DefaultPrivilegeCondition {
7157
- id?: string | null;
7158
- databaseId?: string | null;
7159
- schemaId?: string | null;
7160
- objectType?: string | null;
7161
- privilege?: string | null;
7162
- granteeName?: string | null;
7163
- isGrant?: boolean | null;
7164
- }
7165
- export interface ApiSchemaCondition {
7166
- id?: string | null;
7167
- databaseId?: string | null;
7168
- schemaId?: string | null;
7169
- apiId?: string | null;
7170
- }
7171
- export interface ApiModuleCondition {
7172
- id?: string | null;
7173
- databaseId?: string | null;
7174
- apiId?: string | null;
7175
- name?: string | null;
7176
- data?: unknown | null;
7177
- }
7178
- export interface DomainCondition {
7179
- id?: string | null;
7180
- databaseId?: string | null;
7181
- apiId?: string | null;
7182
- siteId?: string | null;
7183
- subdomain?: unknown | null;
7184
- domain?: unknown | null;
7185
- }
7186
- export interface SiteMetadatumCondition {
7187
- id?: string | null;
7188
- databaseId?: string | null;
7189
- siteId?: string | null;
7190
- title?: string | null;
7191
- description?: string | null;
7192
- ogImage?: unknown | null;
7193
- }
7194
- export interface SiteModuleCondition {
7195
- id?: string | null;
7196
- databaseId?: string | null;
7197
- siteId?: string | null;
7198
- name?: string | null;
7199
- data?: unknown | null;
7200
- }
7201
- export interface SiteThemeCondition {
7202
- id?: string | null;
7203
- databaseId?: string | null;
7204
- siteId?: string | null;
7205
- theme?: unknown | null;
7206
- }
7207
- export interface TriggerFunctionCondition {
7208
- id?: string | null;
7209
- databaseId?: string | null;
7210
- name?: string | null;
7211
- code?: string | null;
7212
- createdAt?: string | null;
7213
- updatedAt?: string | null;
7214
- }
7215
- export interface ApiCondition {
7216
- id?: string | null;
7217
- databaseId?: string | null;
7218
- name?: string | null;
7219
- dbname?: string | null;
7220
- roleName?: string | null;
7221
- anonRole?: string | null;
7222
- isPublic?: boolean | null;
7223
- }
7224
- export interface SiteCondition {
7225
- id?: string | null;
7226
- databaseId?: string | null;
7227
- title?: string | null;
7228
- description?: string | null;
7229
- ogImage?: unknown | null;
7230
- favicon?: unknown | null;
7231
- appleTouchIcon?: unknown | null;
7232
- logo?: unknown | null;
7233
- dbname?: string | null;
7234
- }
7235
- export interface AppCondition {
7236
- id?: string | null;
7237
- databaseId?: string | null;
7238
- siteId?: string | null;
7239
- name?: string | null;
7240
- appImage?: unknown | null;
7241
- appStoreLink?: unknown | null;
7242
- appStoreId?: string | null;
7243
- appIdPrefix?: string | null;
7244
- playStoreLink?: unknown | null;
7245
- }
7246
- export interface ConnectedAccountsModuleCondition {
7247
- id?: string | null;
7248
- databaseId?: string | null;
7249
- schemaId?: string | null;
7250
- privateSchemaId?: string | null;
7251
- tableId?: string | null;
7252
- ownerTableId?: string | null;
7253
- tableName?: string | null;
7254
- }
7255
- export interface CryptoAddressesModuleCondition {
7256
- id?: string | null;
7257
- databaseId?: string | null;
7258
- schemaId?: string | null;
7259
- privateSchemaId?: string | null;
7260
- tableId?: string | null;
7261
- ownerTableId?: string | null;
7262
- tableName?: string | null;
7263
- cryptoNetwork?: string | null;
7264
- }
7265
- export interface CryptoAuthModuleCondition {
7266
- id?: string | null;
7267
- databaseId?: string | null;
7268
- schemaId?: string | null;
7269
- usersTableId?: string | null;
7270
- secretsTableId?: string | null;
7271
- sessionsTableId?: string | null;
7272
- sessionCredentialsTableId?: string | null;
7273
- addressesTableId?: string | null;
7274
- userField?: string | null;
7275
- cryptoNetwork?: string | null;
7276
- signInRequestChallenge?: string | null;
7277
- signInRecordFailure?: string | null;
7278
- signUpWithKey?: string | null;
7279
- signInWithChallenge?: string | null;
7280
- }
7281
- export interface DefaultIdsModuleCondition {
7282
- id?: string | null;
7283
- databaseId?: string | null;
7284
- }
7285
- export interface DenormalizedTableFieldCondition {
7286
- id?: string | null;
7287
- databaseId?: string | null;
7288
- tableId?: string | null;
7289
- fieldId?: string | null;
7290
- setIds?: string | null;
7291
- refTableId?: string | null;
7292
- refFieldId?: string | null;
7293
- refIds?: string | null;
7294
- useUpdates?: boolean | null;
7295
- updateDefaults?: boolean | null;
7296
- funcName?: string | null;
7297
- funcOrder?: number | null;
7298
- }
7299
- export interface EmailsModuleCondition {
7300
- id?: string | null;
7301
- databaseId?: string | null;
7302
- schemaId?: string | null;
7303
- privateSchemaId?: string | null;
7304
- tableId?: string | null;
7305
- ownerTableId?: string | null;
7306
- tableName?: string | null;
7307
- }
7308
- export interface EncryptedSecretsModuleCondition {
7309
- id?: string | null;
7310
- databaseId?: string | null;
7311
- schemaId?: string | null;
7312
- tableId?: string | null;
7313
- tableName?: string | null;
7314
- }
7315
- export interface FieldModuleCondition {
7316
- id?: string | null;
7317
- databaseId?: string | null;
7318
- privateSchemaId?: string | null;
7319
- tableId?: string | null;
7320
- fieldId?: string | null;
7321
- nodeType?: string | null;
7322
- data?: unknown | null;
7323
- triggers?: string | null;
7324
- functions?: string | null;
7325
- }
7326
- export interface InvitesModuleCondition {
7327
- id?: string | null;
7328
- databaseId?: string | null;
7329
- schemaId?: string | null;
7330
- privateSchemaId?: string | null;
7331
- emailsTableId?: string | null;
7332
- usersTableId?: string | null;
7333
- invitesTableId?: string | null;
7334
- claimedInvitesTableId?: string | null;
7335
- invitesTableName?: string | null;
7336
- claimedInvitesTableName?: string | null;
7337
- submitInviteCodeFunction?: string | null;
7338
- prefix?: string | null;
7339
- membershipType?: number | null;
7340
- entityTableId?: string | null;
7341
- }
7342
- export interface LevelsModuleCondition {
7343
- id?: string | null;
7344
- databaseId?: string | null;
7345
- schemaId?: string | null;
7346
- privateSchemaId?: string | null;
7347
- stepsTableId?: string | null;
7348
- stepsTableName?: string | null;
7349
- achievementsTableId?: string | null;
7350
- achievementsTableName?: string | null;
7351
- levelsTableId?: string | null;
7352
- levelsTableName?: string | null;
7353
- levelRequirementsTableId?: string | null;
7354
- levelRequirementsTableName?: string | null;
7355
- completedStep?: string | null;
7356
- incompletedStep?: string | null;
7357
- tgAchievement?: string | null;
7358
- tgAchievementToggle?: string | null;
7359
- tgAchievementToggleBoolean?: string | null;
7360
- tgAchievementBoolean?: string | null;
7361
- upsertAchievement?: string | null;
7362
- tgUpdateAchievements?: string | null;
7363
- stepsRequired?: string | null;
7364
- levelAchieved?: string | null;
7365
- prefix?: string | null;
7366
- membershipType?: number | null;
7367
- entityTableId?: string | null;
7368
- actorTableId?: string | null;
7369
- }
7370
- export interface LimitsModuleCondition {
7371
- id?: string | null;
7372
- databaseId?: string | null;
7373
- schemaId?: string | null;
7374
- privateSchemaId?: string | null;
7375
- tableId?: string | null;
7376
- tableName?: string | null;
7377
- defaultTableId?: string | null;
7378
- defaultTableName?: string | null;
7379
- limitIncrementFunction?: string | null;
7380
- limitDecrementFunction?: string | null;
7381
- limitIncrementTrigger?: string | null;
7382
- limitDecrementTrigger?: string | null;
7383
- limitUpdateTrigger?: string | null;
7384
- limitCheckFunction?: string | null;
7385
- prefix?: string | null;
7386
- membershipType?: number | null;
7387
- entityTableId?: string | null;
7388
- actorTableId?: string | null;
7389
- }
7390
- export interface MembershipTypesModuleCondition {
7391
- id?: string | null;
7392
- databaseId?: string | null;
7393
- schemaId?: string | null;
7394
- tableId?: string | null;
7395
- tableName?: string | null;
7396
- }
7397
- export interface MembershipsModuleCondition {
7398
- id?: string | null;
7399
- databaseId?: string | null;
7400
- schemaId?: string | null;
7401
- privateSchemaId?: string | null;
7402
- membershipsTableId?: string | null;
7403
- membershipsTableName?: string | null;
7404
- membersTableId?: string | null;
7405
- membersTableName?: string | null;
7406
- membershipDefaultsTableId?: string | null;
7407
- membershipDefaultsTableName?: string | null;
7408
- grantsTableId?: string | null;
7409
- grantsTableName?: string | null;
7410
- actorTableId?: string | null;
7411
- limitsTableId?: string | null;
7412
- defaultLimitsTableId?: string | null;
7413
- permissionsTableId?: string | null;
7414
- defaultPermissionsTableId?: string | null;
7415
- sprtTableId?: string | null;
7416
- adminGrantsTableId?: string | null;
7417
- adminGrantsTableName?: string | null;
7418
- ownerGrantsTableId?: string | null;
7419
- ownerGrantsTableName?: string | null;
7420
- membershipType?: number | null;
7421
- entityTableId?: string | null;
7422
- entityTableOwnerId?: string | null;
7423
- prefix?: string | null;
7424
- actorMaskCheck?: string | null;
7425
- actorPermCheck?: string | null;
7426
- entityIdsByMask?: string | null;
7427
- entityIdsByPerm?: string | null;
7428
- entityIdsFunction?: string | null;
7429
- }
7430
- export interface PermissionsModuleCondition {
7431
- id?: string | null;
7432
- databaseId?: string | null;
7433
- schemaId?: string | null;
7434
- privateSchemaId?: string | null;
7435
- tableId?: string | null;
7436
- tableName?: string | null;
7437
- defaultTableId?: string | null;
7438
- defaultTableName?: string | null;
7439
- bitlen?: number | null;
7440
- membershipType?: number | null;
7441
- entityTableId?: string | null;
7442
- actorTableId?: string | null;
7443
- prefix?: string | null;
7444
- getPaddedMask?: string | null;
7445
- getMask?: string | null;
7446
- getByMask?: string | null;
7447
- getMaskByName?: string | null;
7448
- }
7449
- export interface PhoneNumbersModuleCondition {
7450
- id?: string | null;
7451
- databaseId?: string | null;
7452
- schemaId?: string | null;
7453
- privateSchemaId?: string | null;
7454
- tableId?: string | null;
7455
- ownerTableId?: string | null;
7456
- tableName?: string | null;
7457
- }
7458
- export interface ProfilesModuleCondition {
7459
- id?: string | null;
7460
- databaseId?: string | null;
7461
- schemaId?: string | null;
7462
- privateSchemaId?: string | null;
7463
- tableId?: string | null;
7464
- tableName?: string | null;
7465
- profilePermissionsTableId?: string | null;
7466
- profilePermissionsTableName?: string | null;
7467
- profileGrantsTableId?: string | null;
7468
- profileGrantsTableName?: string | null;
7469
- profileDefinitionGrantsTableId?: string | null;
7470
- profileDefinitionGrantsTableName?: string | null;
7471
- membershipType?: number | null;
7472
- entityTableId?: string | null;
7473
- actorTableId?: string | null;
7474
- permissionsTableId?: string | null;
7475
- membershipsTableId?: string | null;
7476
- prefix?: string | null;
7477
- }
7478
- export interface RlsModuleCondition {
7479
- id?: string | null;
7480
- databaseId?: string | null;
7481
- apiId?: string | null;
7482
- schemaId?: string | null;
7483
- privateSchemaId?: string | null;
7484
- sessionCredentialsTableId?: string | null;
7485
- sessionsTableId?: string | null;
7486
- usersTableId?: string | null;
7487
- authenticate?: string | null;
7488
- authenticateStrict?: string | null;
7489
- currentRole?: string | null;
7490
- currentRoleId?: string | null;
7491
- }
7492
- export interface SecretsModuleCondition {
7493
- id?: string | null;
7494
- databaseId?: string | null;
7495
- schemaId?: string | null;
7496
- tableId?: string | null;
7497
- tableName?: string | null;
7498
- }
7499
- export interface SessionsModuleCondition {
7500
- id?: string | null;
7501
- databaseId?: string | null;
7502
- schemaId?: string | null;
7503
- sessionsTableId?: string | null;
7504
- sessionCredentialsTableId?: string | null;
7505
- authSettingsTableId?: string | null;
7506
- usersTableId?: string | null;
7507
- sessionsDefaultExpiration?: string | null;
7508
- sessionsTable?: string | null;
7509
- sessionCredentialsTable?: string | null;
7510
- authSettingsTable?: string | null;
7511
- }
7512
- export interface UserAuthModuleCondition {
7513
- id?: string | null;
7514
- databaseId?: string | null;
7515
- schemaId?: string | null;
7516
- emailsTableId?: string | null;
7517
- usersTableId?: string | null;
7518
- secretsTableId?: string | null;
7519
- encryptedTableId?: string | null;
7520
- sessionsTableId?: string | null;
7521
- sessionCredentialsTableId?: string | null;
7522
- auditsTableId?: string | null;
7523
- auditsTableName?: string | null;
7524
- signInFunction?: string | null;
7525
- signUpFunction?: string | null;
7526
- signOutFunction?: string | null;
7527
- setPasswordFunction?: string | null;
7528
- resetPasswordFunction?: string | null;
7529
- forgotPasswordFunction?: string | null;
7530
- sendVerificationEmailFunction?: string | null;
7531
- verifyEmailFunction?: string | null;
7532
- verifyPasswordFunction?: string | null;
7533
- checkPasswordFunction?: string | null;
7534
- sendAccountDeletionEmailFunction?: string | null;
7535
- deleteAccountFunction?: string | null;
7536
- signInOneTimeTokenFunction?: string | null;
7537
- oneTimeTokenFunction?: string | null;
7538
- extendTokenExpires?: string | null;
7539
- }
7540
- export interface UsersModuleCondition {
7541
- id?: string | null;
7542
- databaseId?: string | null;
7543
- schemaId?: string | null;
7544
- tableId?: string | null;
7545
- tableName?: string | null;
7546
- typeTableId?: string | null;
7547
- typeTableName?: string | null;
7548
- }
7549
- export interface UuidModuleCondition {
7550
- id?: string | null;
7551
- databaseId?: string | null;
7552
- schemaId?: string | null;
7553
- uuidFunction?: string | null;
7554
- uuidSeed?: string | null;
7555
- }
7556
- export interface DatabaseProvisionModuleCondition {
7557
- id?: string | null;
7558
- databaseName?: string | null;
7559
- ownerId?: string | null;
7560
- subdomain?: string | null;
7561
- domain?: string | null;
7562
- modules?: string | null;
7563
- options?: unknown | null;
7564
- bootstrapUser?: boolean | null;
7565
- status?: string | null;
7566
- errorMessage?: string | null;
7567
- databaseId?: string | null;
7568
- createdAt?: string | null;
7569
- updatedAt?: string | null;
7570
- completedAt?: string | null;
7571
- }
7572
- export interface AppAdminGrantCondition {
7573
- id?: string | null;
7574
- isGrant?: boolean | null;
7575
- actorId?: string | null;
7576
- grantorId?: string | null;
7577
- createdAt?: string | null;
7578
- updatedAt?: string | null;
7579
- }
7580
- export interface AppOwnerGrantCondition {
7581
- id?: string | null;
7582
- isGrant?: boolean | null;
7583
- actorId?: string | null;
7584
- grantorId?: string | null;
7585
- createdAt?: string | null;
7586
- updatedAt?: string | null;
7587
- }
7588
- export interface AppGrantCondition {
7589
- id?: string | null;
7590
- permissions?: string | null;
7591
- isGrant?: boolean | null;
7592
- actorId?: string | null;
7593
- grantorId?: string | null;
7594
- createdAt?: string | null;
7595
- updatedAt?: string | null;
7596
- }
7597
- export interface OrgMembershipCondition {
7598
- id?: string | null;
7599
- createdAt?: string | null;
7600
- updatedAt?: string | null;
7601
- createdBy?: string | null;
7602
- updatedBy?: string | null;
7603
- isApproved?: boolean | null;
7604
- isBanned?: boolean | null;
7605
- isDisabled?: boolean | null;
7606
- isActive?: boolean | null;
7607
- isOwner?: boolean | null;
7608
- isAdmin?: boolean | null;
7609
- permissions?: string | null;
7610
- granted?: string | null;
7611
- actorId?: string | null;
7612
- entityId?: string | null;
7613
- profileId?: string | null;
7614
- }
7615
- export interface OrgMemberCondition {
7616
- id?: string | null;
7617
- isAdmin?: boolean | null;
7618
- actorId?: string | null;
7619
- entityId?: string | null;
7620
- }
7621
- export interface OrgAdminGrantCondition {
7622
- id?: string | null;
7623
- isGrant?: boolean | null;
7624
- actorId?: string | null;
7625
- entityId?: string | null;
7626
- grantorId?: string | null;
7627
- createdAt?: string | null;
7628
- updatedAt?: string | null;
7629
- }
7630
- export interface OrgOwnerGrantCondition {
7631
- id?: string | null;
7632
- isGrant?: boolean | null;
7633
- actorId?: string | null;
7634
- entityId?: string | null;
7635
- grantorId?: string | null;
7636
- createdAt?: string | null;
7637
- updatedAt?: string | null;
7638
- }
7639
- export interface OrgGrantCondition {
7640
- id?: string | null;
7641
- permissions?: string | null;
7642
- isGrant?: boolean | null;
7643
- actorId?: string | null;
7644
- entityId?: string | null;
7645
- grantorId?: string | null;
7646
- createdAt?: string | null;
7647
- updatedAt?: string | null;
7648
- }
7649
- export interface OrgChartEdgeCondition {
7650
- id?: string | null;
7651
- createdAt?: string | null;
7652
- updatedAt?: string | null;
7653
- entityId?: string | null;
7654
- childId?: string | null;
7655
- parentId?: string | null;
7656
- positionTitle?: string | null;
7657
- positionLevel?: number | null;
7658
- }
7659
- export interface OrgChartEdgeGrantCondition {
7660
- id?: string | null;
7661
- entityId?: string | null;
7662
- childId?: string | null;
7663
- parentId?: string | null;
7664
- grantorId?: string | null;
7665
- isGrant?: boolean | null;
7666
- positionTitle?: string | null;
7667
- positionLevel?: number | null;
7668
- createdAt?: string | null;
7669
- }
7670
- export interface AppLimitCondition {
7671
- id?: string | null;
7672
- name?: string | null;
7673
- actorId?: string | null;
7674
- num?: number | null;
7675
- max?: number | null;
7676
- }
7677
- export interface OrgLimitCondition {
7678
- id?: string | null;
7679
- name?: string | null;
7680
- actorId?: string | null;
7681
- num?: number | null;
7682
- max?: number | null;
7683
- entityId?: string | null;
7684
- }
7685
- export interface AppStepCondition {
7686
- id?: string | null;
7687
- actorId?: string | null;
7688
- name?: string | null;
7689
- count?: number | null;
7690
- createdAt?: string | null;
7691
- updatedAt?: string | null;
7692
- }
7693
- export interface AppAchievementCondition {
7694
- id?: string | null;
7695
- actorId?: string | null;
7696
- name?: string | null;
7697
- count?: number | null;
7698
- createdAt?: string | null;
7699
- updatedAt?: string | null;
7700
- }
7701
- export interface InviteCondition {
7702
- id?: string | null;
7703
- email?: unknown | null;
7704
- senderId?: string | null;
7705
- inviteToken?: string | null;
7706
- inviteValid?: boolean | null;
7707
- inviteLimit?: number | null;
7708
- inviteCount?: number | null;
7709
- multiple?: boolean | null;
7710
- data?: unknown | null;
7711
- expiresAt?: string | null;
7712
- createdAt?: string | null;
7713
- updatedAt?: string | null;
7714
- }
7715
- export interface ClaimedInviteCondition {
7716
- id?: string | null;
7717
- data?: unknown | null;
7718
- senderId?: string | null;
7719
- receiverId?: string | null;
7720
- createdAt?: string | null;
7721
- updatedAt?: string | null;
7722
- }
7723
- export interface OrgInviteCondition {
7724
- id?: string | null;
7725
- email?: unknown | null;
7726
- senderId?: string | null;
7727
- receiverId?: string | null;
7728
- inviteToken?: string | null;
7729
- inviteValid?: boolean | null;
7730
- inviteLimit?: number | null;
7731
- inviteCount?: number | null;
7732
- multiple?: boolean | null;
7733
- data?: unknown | null;
7734
- expiresAt?: string | null;
7735
- createdAt?: string | null;
7736
- updatedAt?: string | null;
7737
- entityId?: string | null;
7738
- }
7739
- export interface OrgClaimedInviteCondition {
7740
- id?: string | null;
7741
- data?: unknown | null;
7742
- senderId?: string | null;
7743
- receiverId?: string | null;
7744
- createdAt?: string | null;
7745
- updatedAt?: string | null;
7746
- entityId?: string | null;
7747
- }
7748
- export interface RefCondition {
7749
- id?: string | null;
7750
- name?: string | null;
7751
- databaseId?: string | null;
7752
- storeId?: string | null;
7753
- commitId?: string | null;
7754
- }
7755
- export interface StoreCondition {
7756
- id?: string | null;
7757
- name?: string | null;
7758
- databaseId?: string | null;
7759
- hash?: string | null;
7760
- createdAt?: string | null;
7761
- }
7762
- export interface AppPermissionDefaultCondition {
7763
- id?: string | null;
7764
- permissions?: string | null;
7765
- }
7766
- export interface RoleTypeCondition {
7767
- id?: number | null;
7768
- name?: string | null;
7769
- }
7770
- export interface OrgPermissionDefaultCondition {
7771
- id?: string | null;
7772
- permissions?: string | null;
7773
- entityId?: string | null;
7774
- }
7775
- export interface CryptoAddressCondition {
7776
- id?: string | null;
7777
- ownerId?: string | null;
7778
- address?: string | null;
7779
- isVerified?: boolean | null;
7780
- isPrimary?: boolean | null;
7781
- createdAt?: string | null;
7782
- updatedAt?: string | null;
7783
- }
7784
- export interface AppLimitDefaultCondition {
7785
- id?: string | null;
7786
- name?: string | null;
7787
- max?: number | null;
7788
- }
7789
- export interface OrgLimitDefaultCondition {
7790
- id?: string | null;
7791
- name?: string | null;
7792
- max?: number | null;
7793
- }
7794
- export interface ConnectedAccountCondition {
7795
- id?: string | null;
7796
- ownerId?: string | null;
7797
- service?: string | null;
7798
- identifier?: string | null;
7799
- details?: unknown | null;
7800
- isVerified?: boolean | null;
7801
- createdAt?: string | null;
7802
- updatedAt?: string | null;
7803
- }
7804
- export interface PhoneNumberCondition {
7805
- id?: string | null;
7806
- ownerId?: string | null;
7807
- cc?: string | null;
7808
- number?: string | null;
7809
- isVerified?: boolean | null;
7810
- isPrimary?: boolean | null;
7811
- createdAt?: string | null;
7812
- updatedAt?: string | null;
7813
- }
7814
- export interface MembershipTypeCondition {
7815
- id?: number | null;
7816
- name?: string | null;
7817
- description?: string | null;
7818
- prefix?: string | null;
7819
- }
7820
- export interface NodeTypeRegistryCondition {
7821
- name?: string | null;
7822
- slug?: string | null;
7823
- category?: string | null;
7824
- displayName?: string | null;
7825
- description?: string | null;
7826
- parameterSchema?: unknown | null;
7827
- tags?: string | null;
7828
- createdAt?: string | null;
7829
- updatedAt?: string | null;
7830
- }
7831
- export interface AppMembershipDefaultCondition {
7832
- id?: string | null;
7833
- createdAt?: string | null;
7834
- updatedAt?: string | null;
7835
- createdBy?: string | null;
7836
- updatedBy?: string | null;
7837
- isApproved?: boolean | null;
7838
- isVerified?: boolean | null;
7839
- }
7840
- export interface CommitCondition {
7841
- id?: string | null;
7842
- message?: string | null;
7843
- databaseId?: string | null;
7844
- storeId?: string | null;
7845
- parentIds?: string | null;
7846
- authorId?: string | null;
7847
- committerId?: string | null;
7848
- treeId?: string | null;
7849
- date?: string | null;
7850
- }
7851
- export interface OrgMembershipDefaultCondition {
7852
- id?: string | null;
7853
- createdAt?: string | null;
7854
- updatedAt?: string | null;
7855
- createdBy?: string | null;
7856
- updatedBy?: string | null;
7857
- isApproved?: boolean | null;
7858
- entityId?: string | null;
7859
- deleteMemberCascadeGroups?: boolean | null;
7860
- createGroupsCascadeMembers?: boolean | null;
7861
- }
7862
- export interface AuditLogCondition {
7863
- id?: string | null;
7864
- event?: string | null;
7865
- actorId?: string | null;
7866
- origin?: unknown | null;
7867
- userAgent?: string | null;
7868
- ipAddress?: string | null;
7869
- success?: boolean | null;
7870
- createdAt?: string | null;
7871
- }
7872
- export interface AppLevelCondition {
7873
- id?: string | null;
7874
- name?: string | null;
7875
- description?: string | null;
7876
- image?: unknown | null;
7877
- ownerId?: string | null;
7878
- createdAt?: string | null;
7879
- updatedAt?: string | null;
7880
- }
7881
- export interface EmailCondition {
7882
- id?: string | null;
7883
- ownerId?: string | null;
7884
- email?: unknown | null;
7885
- isVerified?: boolean | null;
7886
- isPrimary?: boolean | null;
7887
- createdAt?: string | null;
7888
- updatedAt?: string | null;
7889
- }
7890
- export interface SqlMigrationCondition {
7891
- id?: number | null;
7892
- name?: string | null;
7893
- databaseId?: string | null;
7894
- deploy?: string | null;
7895
- deps?: string | null;
7896
- payload?: unknown | null;
7897
- content?: string | null;
7898
- revert?: string | null;
7899
- verify?: string | null;
7900
- createdAt?: string | null;
7901
- action?: string | null;
7902
- actionId?: string | null;
7903
- actorId?: string | null;
7904
- }
7905
- export interface AstMigrationCondition {
7906
- id?: number | null;
7907
- databaseId?: string | null;
7908
- name?: string | null;
7909
- requires?: string | null;
7910
- payload?: unknown | null;
7911
- deploys?: string | null;
7912
- deploy?: unknown | null;
7913
- revert?: unknown | null;
7914
- verify?: unknown | null;
7915
- createdAt?: string | null;
7916
- action?: string | null;
7917
- actionId?: string | null;
7918
- actorId?: string | null;
7919
- }
7920
- export interface UserCondition {
7921
- id?: string | null;
7922
- username?: string | null;
7923
- displayName?: string | null;
7924
- profilePicture?: unknown | null;
7925
- searchTsv?: string | null;
7926
- type?: number | null;
7927
- createdAt?: string | null;
7928
- updatedAt?: string | null;
7929
- searchTsvRank?: number | null;
7930
- }
7931
- export interface AppMembershipCondition {
7932
- id?: string | null;
7933
- createdAt?: string | null;
7934
- updatedAt?: string | null;
7935
- createdBy?: string | null;
7936
- updatedBy?: string | null;
7937
- isApproved?: boolean | null;
7938
- isBanned?: boolean | null;
7939
- isDisabled?: boolean | null;
7940
- isVerified?: boolean | null;
7941
- isActive?: boolean | null;
7942
- isOwner?: boolean | null;
7943
- isAdmin?: boolean | null;
7944
- permissions?: string | null;
7945
- granted?: string | null;
7946
- actorId?: string | null;
7947
- profileId?: string | null;
7948
- }
7949
- export interface HierarchyModuleCondition {
7950
- id?: string | null;
7951
- databaseId?: string | null;
7952
- schemaId?: string | null;
7953
- privateSchemaId?: string | null;
7954
- chartEdgesTableId?: string | null;
7955
- chartEdgesTableName?: string | null;
7956
- hierarchySprtTableId?: string | null;
7957
- hierarchySprtTableName?: string | null;
7958
- chartEdgeGrantsTableId?: string | null;
7959
- chartEdgeGrantsTableName?: string | null;
7960
- entityTableId?: string | null;
7961
- usersTableId?: string | null;
7962
- prefix?: string | null;
7963
- privateSchemaName?: string | null;
7964
- sprtTableName?: string | null;
7965
- rebuildHierarchyFunction?: string | null;
7966
- getSubordinatesFunction?: string | null;
7967
- getManagersFunction?: string | null;
7968
- isManagerOfFunction?: string | null;
7969
- createdAt?: string | null;
7970
- }
7971
6782
  export type OrgGetManagersRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC';
7972
6783
  export type OrgGetSubordinatesRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC';
7973
6784
  export type GetAllRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'PATH_ASC' | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC';