@constructive-io/sdk 0.10.0 → 0.10.2

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 (57) hide show
  1. package/README.md +0 -8
  2. package/admin/orm/input-types.d.ts +19 -95
  3. package/auth/orm/index.d.ts +6 -6
  4. package/auth/orm/index.js +6 -6
  5. package/auth/orm/input-types.d.ts +276 -311
  6. package/auth/orm/input-types.js +9 -1
  7. package/auth/orm/models/index.d.ts +3 -3
  8. package/auth/orm/models/index.js +7 -7
  9. package/esm/admin/orm/input-types.d.ts +19 -95
  10. package/esm/auth/orm/index.d.ts +6 -6
  11. package/esm/auth/orm/index.js +6 -6
  12. package/esm/auth/orm/input-types.d.ts +276 -311
  13. package/esm/auth/orm/input-types.js +9 -1
  14. package/esm/auth/orm/models/index.d.ts +3 -3
  15. package/esm/auth/orm/models/index.js +3 -3
  16. package/esm/objects/orm/input-types.d.ts +3 -27
  17. package/esm/public/orm/index.d.ts +81 -48
  18. package/esm/public/orm/index.js +26 -18
  19. package/esm/public/orm/input-types.d.ts +2318 -2557
  20. package/esm/public/orm/input-types.js +26 -1
  21. package/esm/public/orm/models/blueprint.d.ts +56 -0
  22. package/esm/public/orm/models/blueprint.js +94 -0
  23. package/esm/public/orm/models/blueprintTemplate.d.ts +56 -0
  24. package/esm/public/orm/models/blueprintTemplate.js +94 -0
  25. package/esm/public/orm/models/databaseTransfer.d.ts +56 -0
  26. package/esm/public/orm/models/databaseTransfer.js +94 -0
  27. package/esm/public/orm/models/embeddingChunk.d.ts +56 -0
  28. package/esm/public/orm/models/embeddingChunk.js +94 -0
  29. package/esm/public/orm/models/enum.d.ts +56 -0
  30. package/esm/public/orm/models/{uuidModule.js → enum.js} +23 -23
  31. package/esm/public/orm/models/index.d.ts +13 -9
  32. package/esm/public/orm/models/index.js +13 -9
  33. package/esm/public/orm/mutation/index.d.ts +98 -50
  34. package/esm/public/orm/mutation/index.js +126 -66
  35. package/index.js +8 -8
  36. package/objects/orm/input-types.d.ts +3 -27
  37. package/package.json +3 -3
  38. package/public/orm/index.d.ts +81 -48
  39. package/public/orm/index.js +26 -18
  40. package/public/orm/input-types.d.ts +2318 -2557
  41. package/public/orm/input-types.js +26 -1
  42. package/public/orm/models/blueprint.d.ts +56 -0
  43. package/public/orm/models/blueprint.js +98 -0
  44. package/public/orm/models/blueprintTemplate.d.ts +56 -0
  45. package/public/orm/models/blueprintTemplate.js +98 -0
  46. package/public/orm/models/databaseTransfer.d.ts +56 -0
  47. package/public/orm/models/databaseTransfer.js +98 -0
  48. package/public/orm/models/embeddingChunk.d.ts +56 -0
  49. package/public/orm/models/embeddingChunk.js +98 -0
  50. package/public/orm/models/enum.d.ts +56 -0
  51. package/public/orm/models/{uuidModule.js → enum.js} +25 -25
  52. package/public/orm/models/index.d.ts +13 -9
  53. package/public/orm/models/index.js +29 -21
  54. package/public/orm/mutation/index.d.ts +98 -50
  55. package/public/orm/mutation/index.js +126 -66
  56. package/esm/public/orm/models/uuidModule.d.ts +0 -56
  57. package/public/orm/models/uuidModule.d.ts +0 -56
@@ -1,2 +1,10 @@
1
1
  // ============ Connection Fields Map ============
2
- export const connectionFieldsMap = {};
2
+ export const connectionFieldsMap = {
3
+ User: {
4
+ ownedEmails: 'Email',
5
+ ownedPhoneNumbers: 'PhoneNumber',
6
+ ownedCryptoAddresses: 'CryptoAddress',
7
+ ownedConnectedAccounts: 'ConnectedAccount',
8
+ auditLogsByActorId: 'AuditLog',
9
+ },
10
+ };
@@ -3,10 +3,10 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- export { CryptoAddressModel } from './cryptoAddress';
7
- export { RoleTypeModel } from './roleType';
6
+ export { EmailModel } from './email';
8
7
  export { PhoneNumberModel } from './phoneNumber';
8
+ export { CryptoAddressModel } from './cryptoAddress';
9
9
  export { ConnectedAccountModel } from './connectedAccount';
10
10
  export { AuditLogModel } from './auditLog';
11
- export { EmailModel } from './email';
11
+ export { RoleTypeModel } from './roleType';
12
12
  export { UserModel } from './user';
@@ -3,10 +3,10 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- export { CryptoAddressModel } from './cryptoAddress';
7
- export { RoleTypeModel } from './roleType';
6
+ export { EmailModel } from './email';
8
7
  export { PhoneNumberModel } from './phoneNumber';
8
+ export { CryptoAddressModel } from './cryptoAddress';
9
9
  export { ConnectedAccountModel } from './connectedAccount';
10
10
  export { AuditLogModel } from './auditLog';
11
- export { EmailModel } from './email';
11
+ export { RoleTypeModel } from './roleType';
12
12
  export { UserModel } from './user';
@@ -252,10 +252,6 @@ export interface Ref {
252
252
  databaseId?: string | null;
253
253
  storeId?: string | null;
254
254
  commitId?: string | null;
255
- /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */
256
- nameTrgmSimilarity?: number | null;
257
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
258
- searchScore?: number | null;
259
255
  }
260
256
  /** A store represents an isolated object repository within a database. */
261
257
  export interface Store {
@@ -268,10 +264,6 @@ export interface Store {
268
264
  /** The current head tree_id for this store. */
269
265
  hash?: string | null;
270
266
  createdAt?: string | null;
271
- /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */
272
- nameTrgmSimilarity?: number | null;
273
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
274
- searchScore?: number | null;
275
267
  }
276
268
  /** A commit records changes to the repository. */
277
269
  export interface Commit {
@@ -291,10 +283,6 @@ export interface Commit {
291
283
  /** The root of the tree */
292
284
  treeId?: string | null;
293
285
  date?: string | null;
294
- /** TRGM similarity when searching `message`. Returns null when no trgm search filter is active. */
295
- messageTrgmSimilarity?: number | null;
296
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
297
- searchScore?: number | null;
298
286
  }
299
287
  export interface ConnectionResult<T> {
300
288
  nodes: T[];
@@ -342,8 +330,6 @@ export type RefSelect = {
342
330
  databaseId?: boolean;
343
331
  storeId?: boolean;
344
332
  commitId?: boolean;
345
- nameTrgmSimilarity?: boolean;
346
- searchScore?: boolean;
347
333
  };
348
334
  export type StoreSelect = {
349
335
  id?: boolean;
@@ -351,8 +337,6 @@ export type StoreSelect = {
351
337
  databaseId?: boolean;
352
338
  hash?: boolean;
353
339
  createdAt?: boolean;
354
- nameTrgmSimilarity?: boolean;
355
- searchScore?: boolean;
356
340
  };
357
341
  export type CommitSelect = {
358
342
  id?: boolean;
@@ -364,8 +348,6 @@ export type CommitSelect = {
364
348
  committerId?: boolean;
365
349
  treeId?: boolean;
366
350
  date?: boolean;
367
- messageTrgmSimilarity?: boolean;
368
- searchScore?: boolean;
369
351
  };
370
352
  export interface GetAllRecordFilter {
371
353
  path?: StringListFilter;
@@ -393,8 +375,6 @@ export interface RefFilter {
393
375
  databaseId?: UUIDFilter;
394
376
  storeId?: UUIDFilter;
395
377
  commitId?: UUIDFilter;
396
- nameTrgmSimilarity?: FloatFilter;
397
- searchScore?: FloatFilter;
398
378
  and?: RefFilter[];
399
379
  or?: RefFilter[];
400
380
  not?: RefFilter;
@@ -405,8 +385,6 @@ export interface StoreFilter {
405
385
  databaseId?: UUIDFilter;
406
386
  hash?: UUIDFilter;
407
387
  createdAt?: DatetimeFilter;
408
- nameTrgmSimilarity?: FloatFilter;
409
- searchScore?: FloatFilter;
410
388
  and?: StoreFilter[];
411
389
  or?: StoreFilter[];
412
390
  not?: StoreFilter;
@@ -421,17 +399,15 @@ export interface CommitFilter {
421
399
  committerId?: UUIDFilter;
422
400
  treeId?: UUIDFilter;
423
401
  date?: DatetimeFilter;
424
- messageTrgmSimilarity?: FloatFilter;
425
- searchScore?: FloatFilter;
426
402
  and?: CommitFilter[];
427
403
  or?: CommitFilter[];
428
404
  not?: CommitFilter;
429
405
  }
430
406
  export type GetAllRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'PATH_ASC' | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC';
431
407
  export type ObjectOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'FRZN_ASC' | 'FRZN_DESC';
432
- export type RefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'NAME_TRGM_SIMILARITY_ASC' | 'NAME_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
433
- export type StoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_TRGM_SIMILARITY_ASC' | 'NAME_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
434
- export type CommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'MESSAGE_TRGM_SIMILARITY_ASC' | 'MESSAGE_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
408
+ export type RefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC';
409
+ export type StoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
410
+ export type CommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
435
411
  export interface CreateGetAllRecordInput {
436
412
  clientMutationId?: string;
437
413
  getAllRecord: {
@@ -1,7 +1,7 @@
1
1
  import type { OrmClientConfig } from './client';
2
+ import { GetAllRecordModel } from './models/getAllRecord';
2
3
  import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord';
3
4
  import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord';
4
- import { GetAllRecordModel } from './models/getAllRecord';
5
5
  import { ObjectModel } from './models/object';
6
6
  import { AppPermissionModel } from './models/appPermission';
7
7
  import { OrgPermissionModel } from './models/orgPermission';
@@ -23,11 +23,13 @@ import { ViewModel } from './models/view';
23
23
  import { ViewTableModel } from './models/viewTable';
24
24
  import { ViewGrantModel } from './models/viewGrant';
25
25
  import { ViewRuleModel } from './models/viewRule';
26
+ import { EmbeddingChunkModel } from './models/embeddingChunk';
26
27
  import { TableTemplateModuleModel } from './models/tableTemplateModule';
27
28
  import { SecureTableProvisionModel } from './models/secureTableProvision';
28
29
  import { RelationProvisionModel } from './models/relationProvision';
29
30
  import { SchemaGrantModel } from './models/schemaGrant';
30
31
  import { DefaultPrivilegeModel } from './models/defaultPrivilege';
32
+ import { EnumModel } from './models/enum';
31
33
  import { ApiSchemaModel } from './models/apiSchema';
32
34
  import { ApiModuleModel } from './models/apiModule';
33
35
  import { DomainModel } from './models/domain';
@@ -35,6 +37,7 @@ import { SiteMetadatumModel } from './models/siteMetadatum';
35
37
  import { SiteModuleModel } from './models/siteModule';
36
38
  import { SiteThemeModel } from './models/siteTheme';
37
39
  import { TriggerFunctionModel } from './models/triggerFunction';
40
+ import { DatabaseTransferModel } from './models/databaseTransfer';
38
41
  import { ApiModel } from './models/api';
39
42
  import { SiteModel } from './models/site';
40
43
  import { AppModel } from './models/app';
@@ -58,7 +61,8 @@ import { SecretsModuleModel } from './models/secretsModule';
58
61
  import { SessionsModuleModel } from './models/sessionsModule';
59
62
  import { UserAuthModuleModel } from './models/userAuthModule';
60
63
  import { UsersModuleModel } from './models/usersModule';
61
- import { UuidModuleModel } from './models/uuidModule';
64
+ import { BlueprintModel } from './models/blueprint';
65
+ import { BlueprintTemplateModel } from './models/blueprintTemplate';
62
66
  import { DatabaseProvisionModuleModel } from './models/databaseProvisionModule';
63
67
  import { AppAdminGrantModel } from './models/appAdminGrant';
64
68
  import { AppOwnerGrantModel } from './models/appOwnerGrant';
@@ -70,34 +74,34 @@ import { OrgOwnerGrantModel } from './models/orgOwnerGrant';
70
74
  import { OrgGrantModel } from './models/orgGrant';
71
75
  import { OrgChartEdgeModel } from './models/orgChartEdge';
72
76
  import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
77
+ import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
73
78
  import { AppLimitModel } from './models/appLimit';
74
79
  import { OrgLimitModel } from './models/orgLimit';
75
80
  import { AppStepModel } from './models/appStep';
76
81
  import { AppAchievementModel } from './models/appAchievement';
82
+ import { AppLevelModel } from './models/appLevel';
83
+ import { EmailModel } from './models/email';
84
+ import { PhoneNumberModel } from './models/phoneNumber';
85
+ import { CryptoAddressModel } from './models/cryptoAddress';
86
+ import { ConnectedAccountModel } from './models/connectedAccount';
77
87
  import { InviteModel } from './models/invite';
78
88
  import { ClaimedInviteModel } from './models/claimedInvite';
79
89
  import { OrgInviteModel } from './models/orgInvite';
80
90
  import { OrgClaimedInviteModel } from './models/orgClaimedInvite';
91
+ import { AuditLogModel } from './models/auditLog';
81
92
  import { RefModel } from './models/ref';
82
93
  import { StoreModel } from './models/store';
83
94
  import { AppPermissionDefaultModel } from './models/appPermissionDefault';
84
- import { CryptoAddressModel } from './models/cryptoAddress';
85
95
  import { RoleTypeModel } from './models/roleType';
86
- import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
87
- import { PhoneNumberModel } from './models/phoneNumber';
88
96
  import { AppLimitDefaultModel } from './models/appLimitDefault';
89
97
  import { OrgLimitDefaultModel } from './models/orgLimitDefault';
90
- import { ConnectedAccountModel } from './models/connectedAccount';
91
98
  import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
92
99
  import { MembershipTypeModel } from './models/membershipType';
93
100
  import { CommitModel } from './models/commit';
94
101
  import { AppMembershipDefaultModel } from './models/appMembershipDefault';
95
102
  import { RlsModuleModel } from './models/rlsModule';
96
103
  import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
97
- import { AuditLogModel } from './models/auditLog';
98
- import { AppLevelModel } from './models/appLevel';
99
104
  import { SqlMigrationModel } from './models/sqlMigration';
100
- import { EmailModel } from './models/email';
101
105
  import { UserModel } from './models/user';
102
106
  import { AstMigrationModel } from './models/astMigration';
103
107
  import { AppMembershipModel } from './models/appMembership';
@@ -133,9 +137,9 @@ export { createMutationOperations } from './mutation';
133
137
  * ```
134
138
  */
135
139
  export declare function createClient(config: OrmClientConfig): {
140
+ getAllRecord: GetAllRecordModel;
136
141
  orgGetManagersRecord: OrgGetManagersRecordModel;
137
142
  orgGetSubordinatesRecord: OrgGetSubordinatesRecordModel;
138
- getAllRecord: GetAllRecordModel;
139
143
  object: ObjectModel;
140
144
  appPermission: AppPermissionModel;
141
145
  orgPermission: OrgPermissionModel;
@@ -157,11 +161,13 @@ export declare function createClient(config: OrmClientConfig): {
157
161
  viewTable: ViewTableModel;
158
162
  viewGrant: ViewGrantModel;
159
163
  viewRule: ViewRuleModel;
164
+ embeddingChunk: EmbeddingChunkModel;
160
165
  tableTemplateModule: TableTemplateModuleModel;
161
166
  secureTableProvision: SecureTableProvisionModel;
162
167
  relationProvision: RelationProvisionModel;
163
168
  schemaGrant: SchemaGrantModel;
164
169
  defaultPrivilege: DefaultPrivilegeModel;
170
+ enum: EnumModel;
165
171
  apiSchema: ApiSchemaModel;
166
172
  apiModule: ApiModuleModel;
167
173
  domain: DomainModel;
@@ -169,6 +175,7 @@ export declare function createClient(config: OrmClientConfig): {
169
175
  siteModule: SiteModuleModel;
170
176
  siteTheme: SiteThemeModel;
171
177
  triggerFunction: TriggerFunctionModel;
178
+ databaseTransfer: DatabaseTransferModel;
172
179
  api: ApiModel;
173
180
  site: SiteModel;
174
181
  app: AppModel;
@@ -192,7 +199,8 @@ export declare function createClient(config: OrmClientConfig): {
192
199
  sessionsModule: SessionsModuleModel;
193
200
  userAuthModule: UserAuthModuleModel;
194
201
  usersModule: UsersModuleModel;
195
- uuidModule: UuidModuleModel;
202
+ blueprint: BlueprintModel;
203
+ blueprintTemplate: BlueprintTemplateModel;
196
204
  databaseProvisionModule: DatabaseProvisionModuleModel;
197
205
  appAdminGrant: AppAdminGrantModel;
198
206
  appOwnerGrant: AppOwnerGrantModel;
@@ -204,34 +212,34 @@ export declare function createClient(config: OrmClientConfig): {
204
212
  orgGrant: OrgGrantModel;
205
213
  orgChartEdge: OrgChartEdgeModel;
206
214
  orgChartEdgeGrant: OrgChartEdgeGrantModel;
215
+ orgPermissionDefault: OrgPermissionDefaultModel;
207
216
  appLimit: AppLimitModel;
208
217
  orgLimit: OrgLimitModel;
209
218
  appStep: AppStepModel;
210
219
  appAchievement: AppAchievementModel;
220
+ appLevel: AppLevelModel;
221
+ email: EmailModel;
222
+ phoneNumber: PhoneNumberModel;
223
+ cryptoAddress: CryptoAddressModel;
224
+ connectedAccount: ConnectedAccountModel;
211
225
  invite: InviteModel;
212
226
  claimedInvite: ClaimedInviteModel;
213
227
  orgInvite: OrgInviteModel;
214
228
  orgClaimedInvite: OrgClaimedInviteModel;
229
+ auditLog: AuditLogModel;
215
230
  ref: RefModel;
216
231
  store: StoreModel;
217
232
  appPermissionDefault: AppPermissionDefaultModel;
218
- cryptoAddress: CryptoAddressModel;
219
233
  roleType: RoleTypeModel;
220
- orgPermissionDefault: OrgPermissionDefaultModel;
221
- phoneNumber: PhoneNumberModel;
222
234
  appLimitDefault: AppLimitDefaultModel;
223
235
  orgLimitDefault: OrgLimitDefaultModel;
224
- connectedAccount: ConnectedAccountModel;
225
236
  nodeTypeRegistry: NodeTypeRegistryModel;
226
237
  membershipType: MembershipTypeModel;
227
238
  commit: CommitModel;
228
239
  appMembershipDefault: AppMembershipDefaultModel;
229
240
  rlsModule: RlsModuleModel;
230
241
  orgMembershipDefault: OrgMembershipDefaultModel;
231
- auditLog: AuditLogModel;
232
- appLevel: AppLevelModel;
233
242
  sqlMigration: SqlMigrationModel;
234
- email: EmailModel;
235
243
  user: UserModel;
236
244
  astMigration: AstMigrationModel;
237
245
  appMembership: AppMembershipModel;
@@ -334,20 +342,30 @@ export declare function createClient(config: OrmClientConfig): {
334
342
  }>;
335
343
  };
336
344
  mutation: {
345
+ sendAccountDeletionEmail: <S extends import("./input-types").SendAccountDeletionEmailPayloadSelect>(args: import("./mutation").SendAccountDeletionEmailVariables, options: {
346
+ select: S;
347
+ } & import("./select-types").StrictSelect<S, import("./input-types").SendAccountDeletionEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
348
+ sendAccountDeletionEmail: import("./select-types").InferSelectResult<import("./input-types").SendAccountDeletionEmailPayload, S> | null;
349
+ }>;
337
350
  signOut: <S extends import("./input-types").SignOutPayloadSelect>(args: import("./mutation").SignOutVariables, options: {
338
351
  select: S;
339
352
  } & import("./select-types").StrictSelect<S, import("./input-types").SignOutPayloadSelect>) => import("./query-builder").QueryBuilder<{
340
353
  signOut: import("./select-types").InferSelectResult<import("./input-types").SignOutPayload, S> | null;
341
354
  }>;
342
- sendAccountDeletionEmail: <S extends import("./input-types").SendAccountDeletionEmailPayloadSelect>(args: import("./mutation").SendAccountDeletionEmailVariables, options: {
355
+ acceptDatabaseTransfer: <S extends import("./input-types").AcceptDatabaseTransferPayloadSelect>(args: import("./mutation").AcceptDatabaseTransferVariables, options: {
343
356
  select: S;
344
- } & import("./select-types").StrictSelect<S, import("./input-types").SendAccountDeletionEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
345
- sendAccountDeletionEmail: import("./select-types").InferSelectResult<import("./input-types").SendAccountDeletionEmailPayload, S> | null;
357
+ } & import("./select-types").StrictSelect<S, import("./input-types").AcceptDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
358
+ acceptDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").AcceptDatabaseTransferPayload, S> | null;
346
359
  }>;
347
- checkPassword: <S extends import("./input-types").CheckPasswordPayloadSelect>(args: import("./mutation").CheckPasswordVariables, options: {
360
+ cancelDatabaseTransfer: <S extends import("./input-types").CancelDatabaseTransferPayloadSelect>(args: import("./mutation").CancelDatabaseTransferVariables, options: {
348
361
  select: S;
349
- } & import("./select-types").StrictSelect<S, import("./input-types").CheckPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
350
- checkPassword: import("./select-types").InferSelectResult<import("./input-types").CheckPasswordPayload, S> | null;
362
+ } & import("./select-types").StrictSelect<S, import("./input-types").CancelDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
363
+ cancelDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").CancelDatabaseTransferPayload, S> | null;
364
+ }>;
365
+ rejectDatabaseTransfer: <S extends import("./input-types").RejectDatabaseTransferPayloadSelect>(args: import("./mutation").RejectDatabaseTransferVariables, options: {
366
+ select: S;
367
+ } & import("./select-types").StrictSelect<S, import("./input-types").RejectDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
368
+ rejectDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").RejectDatabaseTransferPayload, S> | null;
351
369
  }>;
352
370
  submitInviteCode: <S extends import("./input-types").SubmitInviteCodePayloadSelect>(args: import("./mutation").SubmitInviteCodeVariables, options: {
353
371
  select: S;
@@ -359,15 +377,10 @@ export declare function createClient(config: OrmClientConfig): {
359
377
  } & import("./select-types").StrictSelect<S, import("./input-types").SubmitOrgInviteCodePayloadSelect>) => import("./query-builder").QueryBuilder<{
360
378
  submitOrgInviteCode: import("./select-types").InferSelectResult<import("./input-types").SubmitOrgInviteCodePayload, S> | null;
361
379
  }>;
362
- freezeObjects: <S extends import("./input-types").FreezeObjectsPayloadSelect>(args: import("./mutation").FreezeObjectsVariables, options: {
363
- select: S;
364
- } & import("./select-types").StrictSelect<S, import("./input-types").FreezeObjectsPayloadSelect>) => import("./query-builder").QueryBuilder<{
365
- freezeObjects: import("./select-types").InferSelectResult<import("./input-types").FreezeObjectsPayload, S> | null;
366
- }>;
367
- initEmptyRepo: <S extends import("./input-types").InitEmptyRepoPayloadSelect>(args: import("./mutation").InitEmptyRepoVariables, options: {
380
+ checkPassword: <S extends import("./input-types").CheckPasswordPayloadSelect>(args: import("./mutation").CheckPasswordVariables, options: {
368
381
  select: S;
369
- } & import("./select-types").StrictSelect<S, import("./input-types").InitEmptyRepoPayloadSelect>) => import("./query-builder").QueryBuilder<{
370
- initEmptyRepo: import("./select-types").InferSelectResult<import("./input-types").InitEmptyRepoPayload, S> | null;
382
+ } & import("./select-types").StrictSelect<S, import("./input-types").CheckPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
383
+ checkPassword: import("./select-types").InferSelectResult<import("./input-types").CheckPasswordPayload, S> | null;
371
384
  }>;
372
385
  confirmDeleteAccount: <S extends import("./input-types").ConfirmDeleteAccountPayloadSelect>(args: import("./mutation").ConfirmDeleteAccountVariables, options: {
373
386
  select: S;
@@ -384,25 +397,30 @@ export declare function createClient(config: OrmClientConfig): {
384
397
  } & import("./select-types").StrictSelect<S, import("./input-types").VerifyEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
385
398
  verifyEmail: import("./select-types").InferSelectResult<import("./input-types").VerifyEmailPayload, S> | null;
386
399
  }>;
387
- removeNodeAtPath: <S extends import("./input-types").RemoveNodeAtPathPayloadSelect>(args: import("./mutation").RemoveNodeAtPathVariables, options: {
400
+ freezeObjects: <S extends import("./input-types").FreezeObjectsPayloadSelect>(args: import("./mutation").FreezeObjectsVariables, options: {
388
401
  select: S;
389
- } & import("./select-types").StrictSelect<S, import("./input-types").RemoveNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
390
- removeNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").RemoveNodeAtPathPayload, S> | null;
402
+ } & import("./select-types").StrictSelect<S, import("./input-types").FreezeObjectsPayloadSelect>) => import("./query-builder").QueryBuilder<{
403
+ freezeObjects: import("./select-types").InferSelectResult<import("./input-types").FreezeObjectsPayload, S> | null;
404
+ }>;
405
+ initEmptyRepo: <S extends import("./input-types").InitEmptyRepoPayloadSelect>(args: import("./mutation").InitEmptyRepoVariables, options: {
406
+ select: S;
407
+ } & import("./select-types").StrictSelect<S, import("./input-types").InitEmptyRepoPayloadSelect>) => import("./query-builder").QueryBuilder<{
408
+ initEmptyRepo: import("./select-types").InferSelectResult<import("./input-types").InitEmptyRepoPayload, S> | null;
409
+ }>;
410
+ constructBlueprint: <S extends import("./input-types").ConstructBlueprintPayloadSelect>(args: import("./mutation").ConstructBlueprintVariables, options: {
411
+ select: S;
412
+ } & import("./select-types").StrictSelect<S, import("./input-types").ConstructBlueprintPayloadSelect>) => import("./query-builder").QueryBuilder<{
413
+ constructBlueprint: import("./select-types").InferSelectResult<import("./input-types").ConstructBlueprintPayload, S> | null;
391
414
  }>;
392
415
  resetPassword: <S extends import("./input-types").ResetPasswordPayloadSelect>(args: import("./mutation").ResetPasswordVariables, options: {
393
416
  select: S;
394
417
  } & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
395
418
  resetPassword: import("./select-types").InferSelectResult<import("./input-types").ResetPasswordPayload, S> | null;
396
419
  }>;
397
- bootstrapUser: <S extends import("./input-types").BootstrapUserPayloadSelect>(args: import("./mutation").BootstrapUserVariables, options: {
398
- select: S;
399
- } & import("./select-types").StrictSelect<S, import("./input-types").BootstrapUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
400
- bootstrapUser: import("./select-types").InferSelectResult<import("./input-types").BootstrapUserPayload, S> | null;
401
- }>;
402
- setFieldOrder: <S extends import("./input-types").SetFieldOrderPayloadSelect>(args: import("./mutation").SetFieldOrderVariables, options: {
420
+ removeNodeAtPath: <S extends import("./input-types").RemoveNodeAtPathPayloadSelect>(args: import("./mutation").RemoveNodeAtPathVariables, options: {
403
421
  select: S;
404
- } & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
405
- setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
422
+ } & import("./select-types").StrictSelect<S, import("./input-types").RemoveNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
423
+ removeNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").RemoveNodeAtPathPayload, S> | null;
406
424
  }>;
407
425
  setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
408
426
  select: S;
@@ -414,11 +432,26 @@ export declare function createClient(config: OrmClientConfig): {
414
432
  } & import("./select-types").StrictSelect<S, import("./input-types").SetPropsAndCommitPayloadSelect>) => import("./query-builder").QueryBuilder<{
415
433
  setPropsAndCommit: import("./select-types").InferSelectResult<import("./input-types").SetPropsAndCommitPayload, S> | null;
416
434
  }>;
435
+ copyTemplateToBlueprint: <S extends import("./input-types").CopyTemplateToBlueprintPayloadSelect>(args: import("./mutation").CopyTemplateToBlueprintVariables, options: {
436
+ select: S;
437
+ } & import("./select-types").StrictSelect<S, import("./input-types").CopyTemplateToBlueprintPayloadSelect>) => import("./query-builder").QueryBuilder<{
438
+ copyTemplateToBlueprint: import("./select-types").InferSelectResult<import("./input-types").CopyTemplateToBlueprintPayload, S> | null;
439
+ }>;
417
440
  provisionDatabaseWithUser: <S extends import("./input-types").ProvisionDatabaseWithUserPayloadSelect>(args: import("./mutation").ProvisionDatabaseWithUserVariables, options: {
418
441
  select: S;
419
442
  } & import("./select-types").StrictSelect<S, import("./input-types").ProvisionDatabaseWithUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
420
443
  provisionDatabaseWithUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionDatabaseWithUserPayload, S> | null;
421
444
  }>;
445
+ bootstrapUser: <S extends import("./input-types").BootstrapUserPayloadSelect>(args: import("./mutation").BootstrapUserVariables, options: {
446
+ select: S;
447
+ } & import("./select-types").StrictSelect<S, import("./input-types").BootstrapUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
448
+ bootstrapUser: import("./select-types").InferSelectResult<import("./input-types").BootstrapUserPayload, S> | null;
449
+ }>;
450
+ setFieldOrder: <S extends import("./input-types").SetFieldOrderPayloadSelect>(args: import("./mutation").SetFieldOrderVariables, options: {
451
+ select: S;
452
+ } & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
453
+ setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
454
+ }>;
422
455
  insertNodeAtPath: <S extends import("./input-types").InsertNodeAtPathPayloadSelect>(args: import("./mutation").InsertNodeAtPathVariables, options: {
423
456
  select: S;
424
457
  } & import("./select-types").StrictSelect<S, import("./input-types").InsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
@@ -469,16 +502,16 @@ export declare function createClient(config: OrmClientConfig): {
469
502
  } & import("./select-types").StrictSelect<S, import("./input-types").OneTimeTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
470
503
  oneTimeToken: import("./select-types").InferSelectResult<import("./input-types").OneTimeTokenPayload, S> | null;
471
504
  }>;
472
- forgotPassword: <S extends import("./input-types").ForgotPasswordPayloadSelect>(args: import("./mutation").ForgotPasswordVariables, options: {
473
- select: S;
474
- } & import("./select-types").StrictSelect<S, import("./input-types").ForgotPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
475
- forgotPassword: import("./select-types").InferSelectResult<import("./input-types").ForgotPasswordPayload, S> | null;
476
- }>;
477
505
  sendVerificationEmail: <S extends import("./input-types").SendVerificationEmailPayloadSelect>(args: import("./mutation").SendVerificationEmailVariables, options: {
478
506
  select: S;
479
507
  } & import("./select-types").StrictSelect<S, import("./input-types").SendVerificationEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
480
508
  sendVerificationEmail: import("./select-types").InferSelectResult<import("./input-types").SendVerificationEmailPayload, S> | null;
481
509
  }>;
510
+ forgotPassword: <S extends import("./input-types").ForgotPasswordPayloadSelect>(args: import("./mutation").ForgotPasswordVariables, options: {
511
+ select: S;
512
+ } & import("./select-types").StrictSelect<S, import("./input-types").ForgotPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
513
+ forgotPassword: import("./select-types").InferSelectResult<import("./input-types").ForgotPasswordPayload, S> | null;
514
+ }>;
482
515
  verifyPassword: <S extends import("./input-types").VerifyPasswordPayloadSelect>(args: import("./mutation").VerifyPasswordVariables, options: {
483
516
  select: S;
484
517
  } & import("./select-types").StrictSelect<S, import("./input-types").VerifyPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
@@ -4,9 +4,9 @@
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
6
  import { OrmClient } from './client';
7
+ import { GetAllRecordModel } from './models/getAllRecord';
7
8
  import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord';
8
9
  import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord';
9
- import { GetAllRecordModel } from './models/getAllRecord';
10
10
  import { ObjectModel } from './models/object';
11
11
  import { AppPermissionModel } from './models/appPermission';
12
12
  import { OrgPermissionModel } from './models/orgPermission';
@@ -28,11 +28,13 @@ import { ViewModel } from './models/view';
28
28
  import { ViewTableModel } from './models/viewTable';
29
29
  import { ViewGrantModel } from './models/viewGrant';
30
30
  import { ViewRuleModel } from './models/viewRule';
31
+ import { EmbeddingChunkModel } from './models/embeddingChunk';
31
32
  import { TableTemplateModuleModel } from './models/tableTemplateModule';
32
33
  import { SecureTableProvisionModel } from './models/secureTableProvision';
33
34
  import { RelationProvisionModel } from './models/relationProvision';
34
35
  import { SchemaGrantModel } from './models/schemaGrant';
35
36
  import { DefaultPrivilegeModel } from './models/defaultPrivilege';
37
+ import { EnumModel } from './models/enum';
36
38
  import { ApiSchemaModel } from './models/apiSchema';
37
39
  import { ApiModuleModel } from './models/apiModule';
38
40
  import { DomainModel } from './models/domain';
@@ -40,6 +42,7 @@ import { SiteMetadatumModel } from './models/siteMetadatum';
40
42
  import { SiteModuleModel } from './models/siteModule';
41
43
  import { SiteThemeModel } from './models/siteTheme';
42
44
  import { TriggerFunctionModel } from './models/triggerFunction';
45
+ import { DatabaseTransferModel } from './models/databaseTransfer';
43
46
  import { ApiModel } from './models/api';
44
47
  import { SiteModel } from './models/site';
45
48
  import { AppModel } from './models/app';
@@ -63,7 +66,8 @@ import { SecretsModuleModel } from './models/secretsModule';
63
66
  import { SessionsModuleModel } from './models/sessionsModule';
64
67
  import { UserAuthModuleModel } from './models/userAuthModule';
65
68
  import { UsersModuleModel } from './models/usersModule';
66
- import { UuidModuleModel } from './models/uuidModule';
69
+ import { BlueprintModel } from './models/blueprint';
70
+ import { BlueprintTemplateModel } from './models/blueprintTemplate';
67
71
  import { DatabaseProvisionModuleModel } from './models/databaseProvisionModule';
68
72
  import { AppAdminGrantModel } from './models/appAdminGrant';
69
73
  import { AppOwnerGrantModel } from './models/appOwnerGrant';
@@ -75,34 +79,34 @@ import { OrgOwnerGrantModel } from './models/orgOwnerGrant';
75
79
  import { OrgGrantModel } from './models/orgGrant';
76
80
  import { OrgChartEdgeModel } from './models/orgChartEdge';
77
81
  import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
82
+ import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
78
83
  import { AppLimitModel } from './models/appLimit';
79
84
  import { OrgLimitModel } from './models/orgLimit';
80
85
  import { AppStepModel } from './models/appStep';
81
86
  import { AppAchievementModel } from './models/appAchievement';
87
+ import { AppLevelModel } from './models/appLevel';
88
+ import { EmailModel } from './models/email';
89
+ import { PhoneNumberModel } from './models/phoneNumber';
90
+ import { CryptoAddressModel } from './models/cryptoAddress';
91
+ import { ConnectedAccountModel } from './models/connectedAccount';
82
92
  import { InviteModel } from './models/invite';
83
93
  import { ClaimedInviteModel } from './models/claimedInvite';
84
94
  import { OrgInviteModel } from './models/orgInvite';
85
95
  import { OrgClaimedInviteModel } from './models/orgClaimedInvite';
96
+ import { AuditLogModel } from './models/auditLog';
86
97
  import { RefModel } from './models/ref';
87
98
  import { StoreModel } from './models/store';
88
99
  import { AppPermissionDefaultModel } from './models/appPermissionDefault';
89
- import { CryptoAddressModel } from './models/cryptoAddress';
90
100
  import { RoleTypeModel } from './models/roleType';
91
- import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
92
- import { PhoneNumberModel } from './models/phoneNumber';
93
101
  import { AppLimitDefaultModel } from './models/appLimitDefault';
94
102
  import { OrgLimitDefaultModel } from './models/orgLimitDefault';
95
- import { ConnectedAccountModel } from './models/connectedAccount';
96
103
  import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
97
104
  import { MembershipTypeModel } from './models/membershipType';
98
105
  import { CommitModel } from './models/commit';
99
106
  import { AppMembershipDefaultModel } from './models/appMembershipDefault';
100
107
  import { RlsModuleModel } from './models/rlsModule';
101
108
  import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
102
- import { AuditLogModel } from './models/auditLog';
103
- import { AppLevelModel } from './models/appLevel';
104
109
  import { SqlMigrationModel } from './models/sqlMigration';
105
- import { EmailModel } from './models/email';
106
110
  import { UserModel } from './models/user';
107
111
  import { AstMigrationModel } from './models/astMigration';
108
112
  import { AppMembershipModel } from './models/appMembership';
@@ -141,9 +145,9 @@ export { createMutationOperations } from './mutation';
141
145
  export function createClient(config) {
142
146
  const client = new OrmClient(config);
143
147
  return {
148
+ getAllRecord: new GetAllRecordModel(client),
144
149
  orgGetManagersRecord: new OrgGetManagersRecordModel(client),
145
150
  orgGetSubordinatesRecord: new OrgGetSubordinatesRecordModel(client),
146
- getAllRecord: new GetAllRecordModel(client),
147
151
  object: new ObjectModel(client),
148
152
  appPermission: new AppPermissionModel(client),
149
153
  orgPermission: new OrgPermissionModel(client),
@@ -165,11 +169,13 @@ export function createClient(config) {
165
169
  viewTable: new ViewTableModel(client),
166
170
  viewGrant: new ViewGrantModel(client),
167
171
  viewRule: new ViewRuleModel(client),
172
+ embeddingChunk: new EmbeddingChunkModel(client),
168
173
  tableTemplateModule: new TableTemplateModuleModel(client),
169
174
  secureTableProvision: new SecureTableProvisionModel(client),
170
175
  relationProvision: new RelationProvisionModel(client),
171
176
  schemaGrant: new SchemaGrantModel(client),
172
177
  defaultPrivilege: new DefaultPrivilegeModel(client),
178
+ enum: new EnumModel(client),
173
179
  apiSchema: new ApiSchemaModel(client),
174
180
  apiModule: new ApiModuleModel(client),
175
181
  domain: new DomainModel(client),
@@ -177,6 +183,7 @@ export function createClient(config) {
177
183
  siteModule: new SiteModuleModel(client),
178
184
  siteTheme: new SiteThemeModel(client),
179
185
  triggerFunction: new TriggerFunctionModel(client),
186
+ databaseTransfer: new DatabaseTransferModel(client),
180
187
  api: new ApiModel(client),
181
188
  site: new SiteModel(client),
182
189
  app: new AppModel(client),
@@ -200,7 +207,8 @@ export function createClient(config) {
200
207
  sessionsModule: new SessionsModuleModel(client),
201
208
  userAuthModule: new UserAuthModuleModel(client),
202
209
  usersModule: new UsersModuleModel(client),
203
- uuidModule: new UuidModuleModel(client),
210
+ blueprint: new BlueprintModel(client),
211
+ blueprintTemplate: new BlueprintTemplateModel(client),
204
212
  databaseProvisionModule: new DatabaseProvisionModuleModel(client),
205
213
  appAdminGrant: new AppAdminGrantModel(client),
206
214
  appOwnerGrant: new AppOwnerGrantModel(client),
@@ -212,34 +220,34 @@ export function createClient(config) {
212
220
  orgGrant: new OrgGrantModel(client),
213
221
  orgChartEdge: new OrgChartEdgeModel(client),
214
222
  orgChartEdgeGrant: new OrgChartEdgeGrantModel(client),
223
+ orgPermissionDefault: new OrgPermissionDefaultModel(client),
215
224
  appLimit: new AppLimitModel(client),
216
225
  orgLimit: new OrgLimitModel(client),
217
226
  appStep: new AppStepModel(client),
218
227
  appAchievement: new AppAchievementModel(client),
228
+ appLevel: new AppLevelModel(client),
229
+ email: new EmailModel(client),
230
+ phoneNumber: new PhoneNumberModel(client),
231
+ cryptoAddress: new CryptoAddressModel(client),
232
+ connectedAccount: new ConnectedAccountModel(client),
219
233
  invite: new InviteModel(client),
220
234
  claimedInvite: new ClaimedInviteModel(client),
221
235
  orgInvite: new OrgInviteModel(client),
222
236
  orgClaimedInvite: new OrgClaimedInviteModel(client),
237
+ auditLog: new AuditLogModel(client),
223
238
  ref: new RefModel(client),
224
239
  store: new StoreModel(client),
225
240
  appPermissionDefault: new AppPermissionDefaultModel(client),
226
- cryptoAddress: new CryptoAddressModel(client),
227
241
  roleType: new RoleTypeModel(client),
228
- orgPermissionDefault: new OrgPermissionDefaultModel(client),
229
- phoneNumber: new PhoneNumberModel(client),
230
242
  appLimitDefault: new AppLimitDefaultModel(client),
231
243
  orgLimitDefault: new OrgLimitDefaultModel(client),
232
- connectedAccount: new ConnectedAccountModel(client),
233
244
  nodeTypeRegistry: new NodeTypeRegistryModel(client),
234
245
  membershipType: new MembershipTypeModel(client),
235
246
  commit: new CommitModel(client),
236
247
  appMembershipDefault: new AppMembershipDefaultModel(client),
237
248
  rlsModule: new RlsModuleModel(client),
238
249
  orgMembershipDefault: new OrgMembershipDefaultModel(client),
239
- auditLog: new AuditLogModel(client),
240
- appLevel: new AppLevelModel(client),
241
250
  sqlMigration: new SqlMigrationModel(client),
242
- email: new EmailModel(client),
243
251
  user: new UserModel(client),
244
252
  astMigration: new AstMigrationModel(client),
245
253
  appMembership: new AppMembershipModel(client),