@constructive-io/sdk 0.14.0 → 0.14.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.
Files changed (93) hide show
  1. package/admin/orm/index.d.ts +6 -4
  2. package/admin/orm/index.js +6 -4
  3. package/admin/orm/input-types.d.ts +503 -295
  4. package/admin/orm/models/index.d.ts +3 -2
  5. package/admin/orm/models/index.js +7 -5
  6. package/admin/orm/models/orgMemberProfile.d.ts +56 -0
  7. package/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +26 -26
  8. package/auth/orm/index.d.ts +45 -15
  9. package/auth/orm/index.js +2 -2
  10. package/auth/orm/input-types.d.ts +186 -251
  11. package/auth/orm/input-types.js +0 -1
  12. package/auth/orm/models/index.d.ts +1 -1
  13. package/auth/orm/models/index.js +3 -3
  14. package/auth/orm/models/userConnectedAccount.d.ts +38 -0
  15. package/auth/orm/models/userConnectedAccount.js +76 -0
  16. package/auth/orm/mutation/index.d.ts +56 -16
  17. package/auth/orm/mutation/index.js +78 -18
  18. package/auth/orm/query/index.d.ts +12 -4
  19. package/auth/orm/query/index.js +19 -7
  20. package/esm/admin/orm/index.d.ts +6 -4
  21. package/esm/admin/orm/index.js +6 -4
  22. package/esm/admin/orm/input-types.d.ts +503 -295
  23. package/esm/admin/orm/models/index.d.ts +3 -2
  24. package/esm/admin/orm/models/index.js +3 -2
  25. package/esm/admin/orm/models/orgMemberProfile.d.ts +56 -0
  26. package/esm/{public/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +24 -24
  27. package/esm/auth/orm/index.d.ts +45 -15
  28. package/esm/auth/orm/index.js +2 -2
  29. package/esm/auth/orm/input-types.d.ts +186 -251
  30. package/esm/auth/orm/input-types.js +0 -1
  31. package/esm/auth/orm/models/index.d.ts +1 -1
  32. package/esm/auth/orm/models/index.js +1 -1
  33. package/esm/auth/orm/models/userConnectedAccount.d.ts +38 -0
  34. package/esm/auth/orm/models/userConnectedAccount.js +72 -0
  35. package/esm/auth/orm/mutation/index.d.ts +56 -16
  36. package/esm/auth/orm/mutation/index.js +78 -18
  37. package/esm/auth/orm/query/index.d.ts +12 -4
  38. package/esm/auth/orm/query/index.js +19 -7
  39. package/esm/public/orm/index.d.ts +69 -19
  40. package/esm/public/orm/index.js +16 -6
  41. package/esm/public/orm/input-types.d.ts +2047 -640
  42. package/esm/public/orm/input-types.js +15 -6
  43. package/esm/public/orm/models/devicesModule.d.ts +56 -0
  44. package/esm/public/orm/models/devicesModule.js +96 -0
  45. package/esm/public/orm/models/entityTypeProvision.d.ts +56 -0
  46. package/esm/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +24 -24
  47. package/esm/public/orm/models/index.d.ts +8 -3
  48. package/esm/public/orm/models/index.js +8 -3
  49. package/esm/public/orm/models/orgMemberProfile.d.ts +56 -0
  50. package/esm/{auth/orm/models/connectedAccount.js → public/orm/models/orgMemberProfile.js} +24 -24
  51. package/esm/public/orm/models/sessionSecretsModule.d.ts +56 -0
  52. package/esm/public/orm/models/sessionSecretsModule.js +96 -0
  53. package/esm/public/orm/models/spatialRelation.d.ts +56 -0
  54. package/esm/public/orm/models/spatialRelation.js +96 -0
  55. package/esm/public/orm/models/userConnectedAccount.d.ts +38 -0
  56. package/esm/public/orm/models/userConnectedAccount.js +72 -0
  57. package/esm/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
  58. package/esm/public/orm/models/webauthnCredentialsModule.js +96 -0
  59. package/esm/public/orm/mutation/index.d.ts +72 -20
  60. package/esm/public/orm/mutation/index.js +96 -24
  61. package/esm/public/orm/query/index.d.ts +24 -2
  62. package/esm/public/orm/query/index.js +36 -4
  63. package/package.json +2 -2
  64. package/public/orm/index.d.ts +69 -19
  65. package/public/orm/index.js +16 -6
  66. package/public/orm/input-types.d.ts +2047 -640
  67. package/public/orm/input-types.js +15 -6
  68. package/public/orm/models/devicesModule.d.ts +56 -0
  69. package/public/orm/models/devicesModule.js +100 -0
  70. package/public/orm/models/entityTypeProvision.d.ts +56 -0
  71. package/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +26 -26
  72. package/public/orm/models/index.d.ts +8 -3
  73. package/public/orm/models/index.js +19 -9
  74. package/public/orm/models/orgMemberProfile.d.ts +56 -0
  75. package/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +26 -26
  76. package/public/orm/models/sessionSecretsModule.d.ts +56 -0
  77. package/public/orm/models/sessionSecretsModule.js +100 -0
  78. package/public/orm/models/spatialRelation.d.ts +56 -0
  79. package/public/orm/models/spatialRelation.js +100 -0
  80. package/public/orm/models/userConnectedAccount.d.ts +38 -0
  81. package/public/orm/models/userConnectedAccount.js +76 -0
  82. package/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
  83. package/public/orm/models/webauthnCredentialsModule.js +100 -0
  84. package/public/orm/mutation/index.d.ts +72 -20
  85. package/public/orm/mutation/index.js +96 -24
  86. package/public/orm/query/index.d.ts +24 -2
  87. package/public/orm/query/index.js +36 -4
  88. package/auth/orm/models/connectedAccount.d.ts +0 -56
  89. package/esm/auth/orm/models/connectedAccount.d.ts +0 -56
  90. package/esm/public/orm/models/connectedAccount.d.ts +0 -56
  91. package/esm/public/orm/models/tableTemplateModule.d.ts +0 -56
  92. package/public/orm/models/connectedAccount.d.ts +0 -56
  93. package/public/orm/models/tableTemplateModule.d.ts +0 -56
@@ -11,6 +11,7 @@ import { SchemaModel } from './models/schema';
11
11
  import { TableModel } from './models/table';
12
12
  import { CheckConstraintModel } from './models/checkConstraint';
13
13
  import { FieldModel } from './models/field';
14
+ import { SpatialRelationModel } from './models/spatialRelation';
14
15
  import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
15
16
  import { FullTextSearchModel } from './models/fullTextSearch';
16
17
  import { IndexModel } from './models/index';
@@ -24,9 +25,9 @@ import { ViewTableModel } from './models/viewTable';
24
25
  import { ViewGrantModel } from './models/viewGrant';
25
26
  import { ViewRuleModel } from './models/viewRule';
26
27
  import { EmbeddingChunkModel } from './models/embeddingChunk';
27
- import { TableTemplateModuleModel } from './models/tableTemplateModule';
28
28
  import { SecureTableProvisionModel } from './models/secureTableProvision';
29
29
  import { RelationProvisionModel } from './models/relationProvision';
30
+ import { SessionSecretsModuleModel } from './models/sessionSecretsModule';
30
31
  import { SchemaGrantModel } from './models/schemaGrant';
31
32
  import { DefaultPrivilegeModel } from './models/defaultPrivilege';
32
33
  import { EnumModel } from './models/enum';
@@ -64,6 +65,8 @@ import { BlueprintModel } from './models/blueprint';
64
65
  import { BlueprintTemplateModel } from './models/blueprintTemplate';
65
66
  import { BlueprintConstructionModel } from './models/blueprintConstruction';
66
67
  import { StorageModuleModel } from './models/storageModule';
68
+ import { EntityTypeProvisionModel } from './models/entityTypeProvision';
69
+ import { WebauthnCredentialsModuleModel } from './models/webauthnCredentialsModule';
67
70
  import { DatabaseProvisionModuleModel } from './models/databaseProvisionModule';
68
71
  import { AppAdminGrantModel } from './models/appAdminGrant';
69
72
  import { AppOwnerGrantModel } from './models/appOwnerGrant';
@@ -72,6 +75,7 @@ import { OrgMembershipModel } from './models/orgMembership';
72
75
  import { OrgMemberModel } from './models/orgMember';
73
76
  import { OrgAdminGrantModel } from './models/orgAdminGrant';
74
77
  import { OrgOwnerGrantModel } from './models/orgOwnerGrant';
78
+ import { OrgMemberProfileModel } from './models/orgMemberProfile';
75
79
  import { OrgGrantModel } from './models/orgGrant';
76
80
  import { OrgChartEdgeModel } from './models/orgChartEdge';
77
81
  import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
@@ -84,7 +88,6 @@ import { AppLevelModel } from './models/appLevel';
84
88
  import { EmailModel } from './models/email';
85
89
  import { PhoneNumberModel } from './models/phoneNumber';
86
90
  import { CryptoAddressModel } from './models/cryptoAddress';
87
- import { ConnectedAccountModel } from './models/connectedAccount';
88
91
  import { AppInviteModel } from './models/appInvite';
89
92
  import { AppClaimedInviteModel } from './models/appClaimedInvite';
90
93
  import { OrgInviteModel } from './models/orgInvite';
@@ -97,10 +100,12 @@ import { RoleTypeModel } from './models/roleType';
97
100
  import { MigrateFileModel } from './models/migrateFile';
98
101
  import { AppLimitDefaultModel } from './models/appLimitDefault';
99
102
  import { OrgLimitDefaultModel } from './models/orgLimitDefault';
100
- import { MembershipTypeModel } from './models/membershipType';
103
+ import { DevicesModuleModel } from './models/devicesModule';
104
+ import { UserConnectedAccountModel } from './models/userConnectedAccount';
101
105
  import { AppMembershipDefaultModel } from './models/appMembershipDefault';
102
106
  import { CommitModel } from './models/commit';
103
107
  import { RateLimitsModuleModel } from './models/rateLimitsModule';
108
+ import { MembershipTypeModel } from './models/membershipType';
104
109
  import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
105
110
  import { RlsModuleModel } from './models/rlsModule';
106
111
  import { SqlActionModel } from './models/sqlAction';
@@ -151,6 +156,7 @@ export declare function createClient(config: OrmClientConfig): {
151
156
  table: TableModel;
152
157
  checkConstraint: CheckConstraintModel;
153
158
  field: FieldModel;
159
+ spatialRelation: SpatialRelationModel;
154
160
  foreignKeyConstraint: ForeignKeyConstraintModel;
155
161
  fullTextSearch: FullTextSearchModel;
156
162
  index: IndexModel;
@@ -164,9 +170,9 @@ export declare function createClient(config: OrmClientConfig): {
164
170
  viewGrant: ViewGrantModel;
165
171
  viewRule: ViewRuleModel;
166
172
  embeddingChunk: EmbeddingChunkModel;
167
- tableTemplateModule: TableTemplateModuleModel;
168
173
  secureTableProvision: SecureTableProvisionModel;
169
174
  relationProvision: RelationProvisionModel;
175
+ sessionSecretsModule: SessionSecretsModuleModel;
170
176
  schemaGrant: SchemaGrantModel;
171
177
  defaultPrivilege: DefaultPrivilegeModel;
172
178
  enum: EnumModel;
@@ -204,6 +210,8 @@ export declare function createClient(config: OrmClientConfig): {
204
210
  blueprintTemplate: BlueprintTemplateModel;
205
211
  blueprintConstruction: BlueprintConstructionModel;
206
212
  storageModule: StorageModuleModel;
213
+ entityTypeProvision: EntityTypeProvisionModel;
214
+ webauthnCredentialsModule: WebauthnCredentialsModuleModel;
207
215
  databaseProvisionModule: DatabaseProvisionModuleModel;
208
216
  appAdminGrant: AppAdminGrantModel;
209
217
  appOwnerGrant: AppOwnerGrantModel;
@@ -212,6 +220,7 @@ export declare function createClient(config: OrmClientConfig): {
212
220
  orgMember: OrgMemberModel;
213
221
  orgAdminGrant: OrgAdminGrantModel;
214
222
  orgOwnerGrant: OrgOwnerGrantModel;
223
+ orgMemberProfile: OrgMemberProfileModel;
215
224
  orgGrant: OrgGrantModel;
216
225
  orgChartEdge: OrgChartEdgeModel;
217
226
  orgChartEdgeGrant: OrgChartEdgeGrantModel;
@@ -224,7 +233,6 @@ export declare function createClient(config: OrmClientConfig): {
224
233
  email: EmailModel;
225
234
  phoneNumber: PhoneNumberModel;
226
235
  cryptoAddress: CryptoAddressModel;
227
- connectedAccount: ConnectedAccountModel;
228
236
  appInvite: AppInviteModel;
229
237
  appClaimedInvite: AppClaimedInviteModel;
230
238
  orgInvite: OrgInviteModel;
@@ -237,10 +245,12 @@ export declare function createClient(config: OrmClientConfig): {
237
245
  migrateFile: MigrateFileModel;
238
246
  appLimitDefault: AppLimitDefaultModel;
239
247
  orgLimitDefault: OrgLimitDefaultModel;
240
- membershipType: MembershipTypeModel;
248
+ devicesModule: DevicesModuleModel;
249
+ userConnectedAccount: UserConnectedAccountModel;
241
250
  appMembershipDefault: AppMembershipDefaultModel;
242
251
  commit: CommitModel;
243
252
  rateLimitsModule: RateLimitsModuleModel;
253
+ membershipType: MembershipTypeModel;
244
254
  orgMembershipDefault: OrgMembershipDefaultModel;
245
255
  rlsModule: RlsModuleModel;
246
256
  sqlAction: SqlActionModel;
@@ -254,15 +264,20 @@ export declare function createClient(config: OrmClientConfig): {
254
264
  }) => import("./query-builder").QueryBuilder<{
255
265
  currentUserId: string | null;
256
266
  }>;
267
+ currentUserAgent: (options?: {
268
+ select?: Record<string, unknown>;
269
+ }) => import("./query-builder").QueryBuilder<{
270
+ currentUserAgent: string | null;
271
+ }>;
257
272
  currentIpAddress: (options?: {
258
273
  select?: Record<string, unknown>;
259
274
  }) => import("./query-builder").QueryBuilder<{
260
275
  currentIpAddress: string | null;
261
276
  }>;
262
- currentUserAgent: (options?: {
277
+ requireStepUp: (args: import("./query").RequireStepUpVariables, options?: {
263
278
  select?: Record<string, unknown>;
264
279
  }) => import("./query-builder").QueryBuilder<{
265
- currentUserAgent: string | null;
280
+ requireStepUp: boolean | null;
266
281
  }>;
267
282
  appPermissionsGetPaddedMask: (args: import("./query").AppPermissionsGetPaddedMaskVariables, options?: {
268
283
  select?: Record<string, unknown>;
@@ -284,6 +299,11 @@ export declare function createClient(config: OrmClientConfig): {
284
299
  }) => import("./query-builder").QueryBuilder<{
285
300
  revParse: string | null;
286
301
  }>;
302
+ resolveBlueprintField: (args: import("./query").ResolveBlueprintFieldVariables, options?: {
303
+ select?: Record<string, unknown>;
304
+ }) => import("./query-builder").QueryBuilder<{
305
+ resolveBlueprintField: string | null;
306
+ }>;
287
307
  orgIsManagerOf: (args: import("./query").OrgIsManagerOfVariables, options?: {
288
308
  select?: Record<string, unknown>;
289
309
  }) => import("./query-builder").QueryBuilder<{
@@ -376,6 +396,21 @@ export declare function createClient(config: OrmClientConfig): {
376
396
  } & import("./select-types").StrictSelect<S, import("./input-types").RejectDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
377
397
  rejectDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").RejectDatabaseTransferPayload, S> | null;
378
398
  }>;
399
+ disconnectAccount: <S extends import("./input-types").DisconnectAccountPayloadSelect>(args: import("./mutation").DisconnectAccountVariables, options: {
400
+ select: S;
401
+ } & import("./select-types").StrictSelect<S, import("./input-types").DisconnectAccountPayloadSelect>) => import("./query-builder").QueryBuilder<{
402
+ disconnectAccount: import("./select-types").InferSelectResult<import("./input-types").DisconnectAccountPayload, S> | null;
403
+ }>;
404
+ revokeApiKey: <S extends import("./input-types").RevokeApiKeyPayloadSelect>(args: import("./mutation").RevokeApiKeyVariables, options: {
405
+ select: S;
406
+ } & import("./select-types").StrictSelect<S, import("./input-types").RevokeApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
407
+ revokeApiKey: import("./select-types").InferSelectResult<import("./input-types").RevokeApiKeyPayload, S> | null;
408
+ }>;
409
+ revokeSession: <S extends import("./input-types").RevokeSessionPayloadSelect>(args: import("./mutation").RevokeSessionVariables, options: {
410
+ select: S;
411
+ } & import("./select-types").StrictSelect<S, import("./input-types").RevokeSessionPayloadSelect>) => import("./query-builder").QueryBuilder<{
412
+ revokeSession: import("./select-types").InferSelectResult<import("./input-types").RevokeSessionPayload, S> | null;
413
+ }>;
379
414
  verifyPassword: <S extends import("./input-types").VerifyPasswordPayloadSelect>(args: import("./mutation").VerifyPasswordVariables, options: {
380
415
  select: S;
381
416
  } & import("./select-types").StrictSelect<S, import("./input-types").VerifyPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
@@ -431,6 +466,11 @@ export declare function createClient(config: OrmClientConfig): {
431
466
  } & import("./select-types").StrictSelect<S, import("./input-types").ConstructBlueprintPayloadSelect>) => import("./query-builder").QueryBuilder<{
432
467
  constructBlueprint: import("./select-types").InferSelectResult<import("./input-types").ConstructBlueprintPayload, S> | null;
433
468
  }>;
469
+ provisionNewUser: <S extends import("./input-types").ProvisionNewUserPayloadSelect>(args: import("./mutation").ProvisionNewUserVariables, options: {
470
+ select: S;
471
+ } & import("./select-types").StrictSelect<S, import("./input-types").ProvisionNewUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
472
+ provisionNewUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionNewUserPayload, S> | null;
473
+ }>;
434
474
  resetPassword: <S extends import("./input-types").ResetPasswordPayloadSelect>(args: import("./mutation").ResetPasswordVariables, options: {
435
475
  select: S;
436
476
  } & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
@@ -446,6 +486,16 @@ export declare function createClient(config: OrmClientConfig): {
446
486
  } & import("./select-types").StrictSelect<S, import("./input-types").CopyTemplateToBlueprintPayloadSelect>) => import("./query-builder").QueryBuilder<{
447
487
  copyTemplateToBlueprint: import("./select-types").InferSelectResult<import("./input-types").CopyTemplateToBlueprintPayload, S> | null;
448
488
  }>;
489
+ createApiKey: <S extends import("./input-types").CreateApiKeyPayloadSelect>(args: import("./mutation").CreateApiKeyVariables, options: {
490
+ select: S;
491
+ } & import("./select-types").StrictSelect<S, import("./input-types").CreateApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
492
+ createApiKey: import("./select-types").InferSelectResult<import("./input-types").CreateApiKeyPayload, S> | null;
493
+ }>;
494
+ provisionSpatialRelation: <S extends import("./input-types").ProvisionSpatialRelationPayloadSelect>(args: import("./mutation").ProvisionSpatialRelationVariables, options: {
495
+ select: S;
496
+ } & import("./select-types").StrictSelect<S, import("./input-types").ProvisionSpatialRelationPayloadSelect>) => import("./query-builder").QueryBuilder<{
497
+ provisionSpatialRelation: import("./select-types").InferSelectResult<import("./input-types").ProvisionSpatialRelationPayload, S> | null;
498
+ }>;
449
499
  bootstrapUser: <S extends import("./input-types").BootstrapUserPayloadSelect>(args: import("./mutation").BootstrapUserVariables, options: {
450
500
  select: S;
451
501
  } & import("./select-types").StrictSelect<S, import("./input-types").BootstrapUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
@@ -511,10 +561,10 @@ export declare function createClient(config: OrmClientConfig): {
511
561
  } & import("./select-types").StrictSelect<S, import("./input-types").ApplyRlsPayloadSelect>) => import("./query-builder").QueryBuilder<{
512
562
  applyRls: import("./select-types").InferSelectResult<import("./input-types").ApplyRlsPayload, S> | null;
513
563
  }>;
514
- signInOneTimeToken: <S extends import("./input-types").SignInOneTimeTokenPayloadSelect>(args: import("./mutation").SignInOneTimeTokenVariables, options: {
564
+ signInCrossOrigin: <S extends import("./input-types").SignInCrossOriginPayloadSelect>(args: import("./mutation").SignInCrossOriginVariables, options: {
515
565
  select: S;
516
- } & import("./select-types").StrictSelect<S, import("./input-types").SignInOneTimeTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
517
- signInOneTimeToken: import("./select-types").InferSelectResult<import("./input-types").SignInOneTimeTokenPayload, S> | null;
566
+ } & import("./select-types").StrictSelect<S, import("./input-types").SignInCrossOriginPayloadSelect>) => import("./query-builder").QueryBuilder<{
567
+ signInCrossOrigin: import("./select-types").InferSelectResult<import("./input-types").SignInCrossOriginPayload, S> | null;
518
568
  }>;
519
569
  createUserDatabase: <S extends import("./input-types").CreateUserDatabasePayloadSelect>(args: import("./mutation").CreateUserDatabaseVariables, options: {
520
570
  select: S;
@@ -526,20 +576,20 @@ export declare function createClient(config: OrmClientConfig): {
526
576
  } & import("./select-types").StrictSelect<S, import("./input-types").ExtendTokenExpiresPayloadSelect>) => import("./query-builder").QueryBuilder<{
527
577
  extendTokenExpires: import("./select-types").InferSelectResult<import("./input-types").ExtendTokenExpiresPayload, S> | null;
528
578
  }>;
529
- signIn: <S extends import("./input-types").SignInPayloadSelect>(args: import("./mutation").SignInVariables, options: {
530
- select: S;
531
- } & import("./select-types").StrictSelect<S, import("./input-types").SignInPayloadSelect>) => import("./query-builder").QueryBuilder<{
532
- signIn: import("./select-types").InferSelectResult<import("./input-types").SignInPayload, S> | null;
533
- }>;
534
579
  signUp: <S extends import("./input-types").SignUpPayloadSelect>(args: import("./mutation").SignUpVariables, options: {
535
580
  select: S;
536
581
  } & import("./select-types").StrictSelect<S, import("./input-types").SignUpPayloadSelect>) => import("./query-builder").QueryBuilder<{
537
582
  signUp: import("./select-types").InferSelectResult<import("./input-types").SignUpPayload, S> | null;
538
583
  }>;
539
- oneTimeToken: <S extends import("./input-types").OneTimeTokenPayloadSelect>(args: import("./mutation").OneTimeTokenVariables, options: {
584
+ requestCrossOriginToken: <S extends import("./input-types").RequestCrossOriginTokenPayloadSelect>(args: import("./mutation").RequestCrossOriginTokenVariables, options: {
540
585
  select: S;
541
- } & import("./select-types").StrictSelect<S, import("./input-types").OneTimeTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
542
- oneTimeToken: import("./select-types").InferSelectResult<import("./input-types").OneTimeTokenPayload, S> | null;
586
+ } & import("./select-types").StrictSelect<S, import("./input-types").RequestCrossOriginTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
587
+ requestCrossOriginToken: import("./select-types").InferSelectResult<import("./input-types").RequestCrossOriginTokenPayload, S> | null;
588
+ }>;
589
+ signIn: <S extends import("./input-types").SignInPayloadSelect>(args: import("./mutation").SignInVariables, options: {
590
+ select: S;
591
+ } & import("./select-types").StrictSelect<S, import("./input-types").SignInPayloadSelect>) => import("./query-builder").QueryBuilder<{
592
+ signIn: import("./select-types").InferSelectResult<import("./input-types").SignInPayload, S> | null;
543
593
  }>;
544
594
  provisionTable: <S extends import("./input-types").ProvisionTablePayloadSelect>(args: import("./mutation").ProvisionTableVariables, options: {
545
595
  select: S;
@@ -34,6 +34,7 @@ const schema_1 = require("./models/schema");
34
34
  const table_1 = require("./models/table");
35
35
  const checkConstraint_1 = require("./models/checkConstraint");
36
36
  const field_1 = require("./models/field");
37
+ const spatialRelation_1 = require("./models/spatialRelation");
37
38
  const foreignKeyConstraint_1 = require("./models/foreignKeyConstraint");
38
39
  const fullTextSearch_1 = require("./models/fullTextSearch");
39
40
  const index_1 = require("./models/index");
@@ -47,9 +48,9 @@ const viewTable_1 = require("./models/viewTable");
47
48
  const viewGrant_1 = require("./models/viewGrant");
48
49
  const viewRule_1 = require("./models/viewRule");
49
50
  const embeddingChunk_1 = require("./models/embeddingChunk");
50
- const tableTemplateModule_1 = require("./models/tableTemplateModule");
51
51
  const secureTableProvision_1 = require("./models/secureTableProvision");
52
52
  const relationProvision_1 = require("./models/relationProvision");
53
+ const sessionSecretsModule_1 = require("./models/sessionSecretsModule");
53
54
  const schemaGrant_1 = require("./models/schemaGrant");
54
55
  const defaultPrivilege_1 = require("./models/defaultPrivilege");
55
56
  const enum_1 = require("./models/enum");
@@ -87,6 +88,8 @@ const blueprint_1 = require("./models/blueprint");
87
88
  const blueprintTemplate_1 = require("./models/blueprintTemplate");
88
89
  const blueprintConstruction_1 = require("./models/blueprintConstruction");
89
90
  const storageModule_1 = require("./models/storageModule");
91
+ const entityTypeProvision_1 = require("./models/entityTypeProvision");
92
+ const webauthnCredentialsModule_1 = require("./models/webauthnCredentialsModule");
90
93
  const databaseProvisionModule_1 = require("./models/databaseProvisionModule");
91
94
  const appAdminGrant_1 = require("./models/appAdminGrant");
92
95
  const appOwnerGrant_1 = require("./models/appOwnerGrant");
@@ -95,6 +98,7 @@ const orgMembership_1 = require("./models/orgMembership");
95
98
  const orgMember_1 = require("./models/orgMember");
96
99
  const orgAdminGrant_1 = require("./models/orgAdminGrant");
97
100
  const orgOwnerGrant_1 = require("./models/orgOwnerGrant");
101
+ const orgMemberProfile_1 = require("./models/orgMemberProfile");
98
102
  const orgGrant_1 = require("./models/orgGrant");
99
103
  const orgChartEdge_1 = require("./models/orgChartEdge");
100
104
  const orgChartEdgeGrant_1 = require("./models/orgChartEdgeGrant");
@@ -107,7 +111,6 @@ const appLevel_1 = require("./models/appLevel");
107
111
  const email_1 = require("./models/email");
108
112
  const phoneNumber_1 = require("./models/phoneNumber");
109
113
  const cryptoAddress_1 = require("./models/cryptoAddress");
110
- const connectedAccount_1 = require("./models/connectedAccount");
111
114
  const appInvite_1 = require("./models/appInvite");
112
115
  const appClaimedInvite_1 = require("./models/appClaimedInvite");
113
116
  const orgInvite_1 = require("./models/orgInvite");
@@ -120,10 +123,12 @@ const roleType_1 = require("./models/roleType");
120
123
  const migrateFile_1 = require("./models/migrateFile");
121
124
  const appLimitDefault_1 = require("./models/appLimitDefault");
122
125
  const orgLimitDefault_1 = require("./models/orgLimitDefault");
123
- const membershipType_1 = require("./models/membershipType");
126
+ const devicesModule_1 = require("./models/devicesModule");
127
+ const userConnectedAccount_1 = require("./models/userConnectedAccount");
124
128
  const appMembershipDefault_1 = require("./models/appMembershipDefault");
125
129
  const commit_1 = require("./models/commit");
126
130
  const rateLimitsModule_1 = require("./models/rateLimitsModule");
131
+ const membershipType_1 = require("./models/membershipType");
127
132
  const orgMembershipDefault_1 = require("./models/orgMembershipDefault");
128
133
  const rlsModule_1 = require("./models/rlsModule");
129
134
  const sqlAction_1 = require("./models/sqlAction");
@@ -181,6 +186,7 @@ function createClient(config) {
181
186
  table: new table_1.TableModel(client),
182
187
  checkConstraint: new checkConstraint_1.CheckConstraintModel(client),
183
188
  field: new field_1.FieldModel(client),
189
+ spatialRelation: new spatialRelation_1.SpatialRelationModel(client),
184
190
  foreignKeyConstraint: new foreignKeyConstraint_1.ForeignKeyConstraintModel(client),
185
191
  fullTextSearch: new fullTextSearch_1.FullTextSearchModel(client),
186
192
  index: new index_1.IndexModel(client),
@@ -194,9 +200,9 @@ function createClient(config) {
194
200
  viewGrant: new viewGrant_1.ViewGrantModel(client),
195
201
  viewRule: new viewRule_1.ViewRuleModel(client),
196
202
  embeddingChunk: new embeddingChunk_1.EmbeddingChunkModel(client),
197
- tableTemplateModule: new tableTemplateModule_1.TableTemplateModuleModel(client),
198
203
  secureTableProvision: new secureTableProvision_1.SecureTableProvisionModel(client),
199
204
  relationProvision: new relationProvision_1.RelationProvisionModel(client),
205
+ sessionSecretsModule: new sessionSecretsModule_1.SessionSecretsModuleModel(client),
200
206
  schemaGrant: new schemaGrant_1.SchemaGrantModel(client),
201
207
  defaultPrivilege: new defaultPrivilege_1.DefaultPrivilegeModel(client),
202
208
  enum: new enum_1.EnumModel(client),
@@ -234,6 +240,8 @@ function createClient(config) {
234
240
  blueprintTemplate: new blueprintTemplate_1.BlueprintTemplateModel(client),
235
241
  blueprintConstruction: new blueprintConstruction_1.BlueprintConstructionModel(client),
236
242
  storageModule: new storageModule_1.StorageModuleModel(client),
243
+ entityTypeProvision: new entityTypeProvision_1.EntityTypeProvisionModel(client),
244
+ webauthnCredentialsModule: new webauthnCredentialsModule_1.WebauthnCredentialsModuleModel(client),
237
245
  databaseProvisionModule: new databaseProvisionModule_1.DatabaseProvisionModuleModel(client),
238
246
  appAdminGrant: new appAdminGrant_1.AppAdminGrantModel(client),
239
247
  appOwnerGrant: new appOwnerGrant_1.AppOwnerGrantModel(client),
@@ -242,6 +250,7 @@ function createClient(config) {
242
250
  orgMember: new orgMember_1.OrgMemberModel(client),
243
251
  orgAdminGrant: new orgAdminGrant_1.OrgAdminGrantModel(client),
244
252
  orgOwnerGrant: new orgOwnerGrant_1.OrgOwnerGrantModel(client),
253
+ orgMemberProfile: new orgMemberProfile_1.OrgMemberProfileModel(client),
245
254
  orgGrant: new orgGrant_1.OrgGrantModel(client),
246
255
  orgChartEdge: new orgChartEdge_1.OrgChartEdgeModel(client),
247
256
  orgChartEdgeGrant: new orgChartEdgeGrant_1.OrgChartEdgeGrantModel(client),
@@ -254,7 +263,6 @@ function createClient(config) {
254
263
  email: new email_1.EmailModel(client),
255
264
  phoneNumber: new phoneNumber_1.PhoneNumberModel(client),
256
265
  cryptoAddress: new cryptoAddress_1.CryptoAddressModel(client),
257
- connectedAccount: new connectedAccount_1.ConnectedAccountModel(client),
258
266
  appInvite: new appInvite_1.AppInviteModel(client),
259
267
  appClaimedInvite: new appClaimedInvite_1.AppClaimedInviteModel(client),
260
268
  orgInvite: new orgInvite_1.OrgInviteModel(client),
@@ -267,10 +275,12 @@ function createClient(config) {
267
275
  migrateFile: new migrateFile_1.MigrateFileModel(client),
268
276
  appLimitDefault: new appLimitDefault_1.AppLimitDefaultModel(client),
269
277
  orgLimitDefault: new orgLimitDefault_1.OrgLimitDefaultModel(client),
270
- membershipType: new membershipType_1.MembershipTypeModel(client),
278
+ devicesModule: new devicesModule_1.DevicesModuleModel(client),
279
+ userConnectedAccount: new userConnectedAccount_1.UserConnectedAccountModel(client),
271
280
  appMembershipDefault: new appMembershipDefault_1.AppMembershipDefaultModel(client),
272
281
  commit: new commit_1.CommitModel(client),
273
282
  rateLimitsModule: new rateLimitsModule_1.RateLimitsModuleModel(client),
283
+ membershipType: new membershipType_1.MembershipTypeModel(client),
274
284
  orgMembershipDefault: new orgMembershipDefault_1.OrgMembershipDefaultModel(client),
275
285
  rlsModule: new rlsModule_1.RlsModuleModel(client),
276
286
  sqlAction: new sqlAction_1.SqlActionModel(client),