@constructive-io/sdk 0.13.4 → 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.
- package/admin/orm/index.d.ts +6 -4
- package/admin/orm/index.js +6 -4
- package/admin/orm/input-types.d.ts +503 -295
- package/admin/orm/models/index.d.ts +3 -2
- package/admin/orm/models/index.js +7 -5
- package/admin/orm/models/orgMemberProfile.d.ts +56 -0
- package/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +26 -26
- package/auth/orm/index.d.ts +45 -15
- package/auth/orm/index.js +2 -2
- package/auth/orm/input-types.d.ts +186 -251
- package/auth/orm/input-types.js +0 -1
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/models/userConnectedAccount.d.ts +38 -0
- package/auth/orm/models/userConnectedAccount.js +76 -0
- package/auth/orm/mutation/index.d.ts +56 -16
- package/auth/orm/mutation/index.js +78 -18
- package/auth/orm/query/index.d.ts +12 -4
- package/auth/orm/query/index.js +19 -7
- package/esm/admin/orm/index.d.ts +6 -4
- package/esm/admin/orm/index.js +6 -4
- package/esm/admin/orm/input-types.d.ts +503 -295
- package/esm/admin/orm/models/index.d.ts +3 -2
- package/esm/admin/orm/models/index.js +3 -2
- package/esm/admin/orm/models/orgMemberProfile.d.ts +56 -0
- package/esm/{public/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +24 -24
- package/esm/auth/orm/index.d.ts +45 -15
- package/esm/auth/orm/index.js +2 -2
- package/esm/auth/orm/input-types.d.ts +186 -251
- package/esm/auth/orm/input-types.js +0 -1
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/models/userConnectedAccount.d.ts +38 -0
- package/esm/auth/orm/models/userConnectedAccount.js +72 -0
- package/esm/auth/orm/mutation/index.d.ts +56 -16
- package/esm/auth/orm/mutation/index.js +78 -18
- package/esm/auth/orm/query/index.d.ts +12 -4
- package/esm/auth/orm/query/index.js +19 -7
- package/esm/public/orm/index.d.ts +69 -19
- package/esm/public/orm/index.js +16 -6
- package/esm/public/orm/input-types.d.ts +2047 -640
- package/esm/public/orm/input-types.js +15 -6
- package/esm/public/orm/models/devicesModule.d.ts +56 -0
- package/esm/public/orm/models/devicesModule.js +96 -0
- package/esm/public/orm/models/entityTypeProvision.d.ts +56 -0
- package/esm/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +24 -24
- package/esm/public/orm/models/index.d.ts +8 -3
- package/esm/public/orm/models/index.js +8 -3
- package/esm/public/orm/models/orgMemberProfile.d.ts +56 -0
- package/esm/{auth/orm/models/connectedAccount.js → public/orm/models/orgMemberProfile.js} +24 -24
- package/esm/public/orm/models/sessionSecretsModule.d.ts +56 -0
- package/esm/public/orm/models/sessionSecretsModule.js +96 -0
- package/esm/public/orm/models/spatialRelation.d.ts +56 -0
- package/esm/public/orm/models/spatialRelation.js +96 -0
- package/esm/public/orm/models/userConnectedAccount.d.ts +38 -0
- package/esm/public/orm/models/userConnectedAccount.js +72 -0
- package/esm/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
- package/esm/public/orm/models/webauthnCredentialsModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +72 -20
- package/esm/public/orm/mutation/index.js +96 -24
- package/esm/public/orm/query/index.d.ts +24 -2
- package/esm/public/orm/query/index.js +36 -4
- package/package.json +5 -5
- package/public/orm/index.d.ts +69 -19
- package/public/orm/index.js +16 -6
- package/public/orm/input-types.d.ts +2047 -640
- package/public/orm/input-types.js +15 -6
- package/public/orm/models/devicesModule.d.ts +56 -0
- package/public/orm/models/devicesModule.js +100 -0
- package/public/orm/models/entityTypeProvision.d.ts +56 -0
- package/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +26 -26
- package/public/orm/models/index.d.ts +8 -3
- package/public/orm/models/index.js +19 -9
- package/public/orm/models/orgMemberProfile.d.ts +56 -0
- package/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +26 -26
- package/public/orm/models/sessionSecretsModule.d.ts +56 -0
- package/public/orm/models/sessionSecretsModule.js +100 -0
- package/public/orm/models/spatialRelation.d.ts +56 -0
- package/public/orm/models/spatialRelation.js +100 -0
- package/public/orm/models/userConnectedAccount.d.ts +38 -0
- package/public/orm/models/userConnectedAccount.js +76 -0
- package/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
- package/public/orm/models/webauthnCredentialsModule.js +100 -0
- package/public/orm/mutation/index.d.ts +72 -20
- package/public/orm/mutation/index.js +96 -24
- package/public/orm/query/index.d.ts +24 -2
- package/public/orm/query/index.js +36 -4
- package/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/orm/models/tableTemplateModule.d.ts +0 -56
- package/public/orm/models/connectedAccount.d.ts +0 -56
- 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 {
|
|
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
|
-
|
|
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
|
-
|
|
277
|
+
requireStepUp: (args: import("./query").RequireStepUpVariables, options?: {
|
|
263
278
|
select?: Record<string, unknown>;
|
|
264
279
|
}) => import("./query-builder").QueryBuilder<{
|
|
265
|
-
|
|
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
|
-
|
|
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").
|
|
517
|
-
|
|
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
|
-
|
|
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").
|
|
542
|
-
|
|
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;
|
package/esm/public/orm/index.js
CHANGED
|
@@ -16,6 +16,7 @@ import { SchemaModel } from './models/schema';
|
|
|
16
16
|
import { TableModel } from './models/table';
|
|
17
17
|
import { CheckConstraintModel } from './models/checkConstraint';
|
|
18
18
|
import { FieldModel } from './models/field';
|
|
19
|
+
import { SpatialRelationModel } from './models/spatialRelation';
|
|
19
20
|
import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
|
|
20
21
|
import { FullTextSearchModel } from './models/fullTextSearch';
|
|
21
22
|
import { IndexModel } from './models/index';
|
|
@@ -29,9 +30,9 @@ import { ViewTableModel } from './models/viewTable';
|
|
|
29
30
|
import { ViewGrantModel } from './models/viewGrant';
|
|
30
31
|
import { ViewRuleModel } from './models/viewRule';
|
|
31
32
|
import { EmbeddingChunkModel } from './models/embeddingChunk';
|
|
32
|
-
import { TableTemplateModuleModel } from './models/tableTemplateModule';
|
|
33
33
|
import { SecureTableProvisionModel } from './models/secureTableProvision';
|
|
34
34
|
import { RelationProvisionModel } from './models/relationProvision';
|
|
35
|
+
import { SessionSecretsModuleModel } from './models/sessionSecretsModule';
|
|
35
36
|
import { SchemaGrantModel } from './models/schemaGrant';
|
|
36
37
|
import { DefaultPrivilegeModel } from './models/defaultPrivilege';
|
|
37
38
|
import { EnumModel } from './models/enum';
|
|
@@ -69,6 +70,8 @@ import { BlueprintModel } from './models/blueprint';
|
|
|
69
70
|
import { BlueprintTemplateModel } from './models/blueprintTemplate';
|
|
70
71
|
import { BlueprintConstructionModel } from './models/blueprintConstruction';
|
|
71
72
|
import { StorageModuleModel } from './models/storageModule';
|
|
73
|
+
import { EntityTypeProvisionModel } from './models/entityTypeProvision';
|
|
74
|
+
import { WebauthnCredentialsModuleModel } from './models/webauthnCredentialsModule';
|
|
72
75
|
import { DatabaseProvisionModuleModel } from './models/databaseProvisionModule';
|
|
73
76
|
import { AppAdminGrantModel } from './models/appAdminGrant';
|
|
74
77
|
import { AppOwnerGrantModel } from './models/appOwnerGrant';
|
|
@@ -77,6 +80,7 @@ import { OrgMembershipModel } from './models/orgMembership';
|
|
|
77
80
|
import { OrgMemberModel } from './models/orgMember';
|
|
78
81
|
import { OrgAdminGrantModel } from './models/orgAdminGrant';
|
|
79
82
|
import { OrgOwnerGrantModel } from './models/orgOwnerGrant';
|
|
83
|
+
import { OrgMemberProfileModel } from './models/orgMemberProfile';
|
|
80
84
|
import { OrgGrantModel } from './models/orgGrant';
|
|
81
85
|
import { OrgChartEdgeModel } from './models/orgChartEdge';
|
|
82
86
|
import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
|
|
@@ -89,7 +93,6 @@ import { AppLevelModel } from './models/appLevel';
|
|
|
89
93
|
import { EmailModel } from './models/email';
|
|
90
94
|
import { PhoneNumberModel } from './models/phoneNumber';
|
|
91
95
|
import { CryptoAddressModel } from './models/cryptoAddress';
|
|
92
|
-
import { ConnectedAccountModel } from './models/connectedAccount';
|
|
93
96
|
import { AppInviteModel } from './models/appInvite';
|
|
94
97
|
import { AppClaimedInviteModel } from './models/appClaimedInvite';
|
|
95
98
|
import { OrgInviteModel } from './models/orgInvite';
|
|
@@ -102,10 +105,12 @@ import { RoleTypeModel } from './models/roleType';
|
|
|
102
105
|
import { MigrateFileModel } from './models/migrateFile';
|
|
103
106
|
import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
104
107
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
105
|
-
import {
|
|
108
|
+
import { DevicesModuleModel } from './models/devicesModule';
|
|
109
|
+
import { UserConnectedAccountModel } from './models/userConnectedAccount';
|
|
106
110
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
107
111
|
import { CommitModel } from './models/commit';
|
|
108
112
|
import { RateLimitsModuleModel } from './models/rateLimitsModule';
|
|
113
|
+
import { MembershipTypeModel } from './models/membershipType';
|
|
109
114
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
110
115
|
import { RlsModuleModel } from './models/rlsModule';
|
|
111
116
|
import { SqlActionModel } from './models/sqlAction';
|
|
@@ -159,6 +164,7 @@ export function createClient(config) {
|
|
|
159
164
|
table: new TableModel(client),
|
|
160
165
|
checkConstraint: new CheckConstraintModel(client),
|
|
161
166
|
field: new FieldModel(client),
|
|
167
|
+
spatialRelation: new SpatialRelationModel(client),
|
|
162
168
|
foreignKeyConstraint: new ForeignKeyConstraintModel(client),
|
|
163
169
|
fullTextSearch: new FullTextSearchModel(client),
|
|
164
170
|
index: new IndexModel(client),
|
|
@@ -172,9 +178,9 @@ export function createClient(config) {
|
|
|
172
178
|
viewGrant: new ViewGrantModel(client),
|
|
173
179
|
viewRule: new ViewRuleModel(client),
|
|
174
180
|
embeddingChunk: new EmbeddingChunkModel(client),
|
|
175
|
-
tableTemplateModule: new TableTemplateModuleModel(client),
|
|
176
181
|
secureTableProvision: new SecureTableProvisionModel(client),
|
|
177
182
|
relationProvision: new RelationProvisionModel(client),
|
|
183
|
+
sessionSecretsModule: new SessionSecretsModuleModel(client),
|
|
178
184
|
schemaGrant: new SchemaGrantModel(client),
|
|
179
185
|
defaultPrivilege: new DefaultPrivilegeModel(client),
|
|
180
186
|
enum: new EnumModel(client),
|
|
@@ -212,6 +218,8 @@ export function createClient(config) {
|
|
|
212
218
|
blueprintTemplate: new BlueprintTemplateModel(client),
|
|
213
219
|
blueprintConstruction: new BlueprintConstructionModel(client),
|
|
214
220
|
storageModule: new StorageModuleModel(client),
|
|
221
|
+
entityTypeProvision: new EntityTypeProvisionModel(client),
|
|
222
|
+
webauthnCredentialsModule: new WebauthnCredentialsModuleModel(client),
|
|
215
223
|
databaseProvisionModule: new DatabaseProvisionModuleModel(client),
|
|
216
224
|
appAdminGrant: new AppAdminGrantModel(client),
|
|
217
225
|
appOwnerGrant: new AppOwnerGrantModel(client),
|
|
@@ -220,6 +228,7 @@ export function createClient(config) {
|
|
|
220
228
|
orgMember: new OrgMemberModel(client),
|
|
221
229
|
orgAdminGrant: new OrgAdminGrantModel(client),
|
|
222
230
|
orgOwnerGrant: new OrgOwnerGrantModel(client),
|
|
231
|
+
orgMemberProfile: new OrgMemberProfileModel(client),
|
|
223
232
|
orgGrant: new OrgGrantModel(client),
|
|
224
233
|
orgChartEdge: new OrgChartEdgeModel(client),
|
|
225
234
|
orgChartEdgeGrant: new OrgChartEdgeGrantModel(client),
|
|
@@ -232,7 +241,6 @@ export function createClient(config) {
|
|
|
232
241
|
email: new EmailModel(client),
|
|
233
242
|
phoneNumber: new PhoneNumberModel(client),
|
|
234
243
|
cryptoAddress: new CryptoAddressModel(client),
|
|
235
|
-
connectedAccount: new ConnectedAccountModel(client),
|
|
236
244
|
appInvite: new AppInviteModel(client),
|
|
237
245
|
appClaimedInvite: new AppClaimedInviteModel(client),
|
|
238
246
|
orgInvite: new OrgInviteModel(client),
|
|
@@ -245,10 +253,12 @@ export function createClient(config) {
|
|
|
245
253
|
migrateFile: new MigrateFileModel(client),
|
|
246
254
|
appLimitDefault: new AppLimitDefaultModel(client),
|
|
247
255
|
orgLimitDefault: new OrgLimitDefaultModel(client),
|
|
248
|
-
|
|
256
|
+
devicesModule: new DevicesModuleModel(client),
|
|
257
|
+
userConnectedAccount: new UserConnectedAccountModel(client),
|
|
249
258
|
appMembershipDefault: new AppMembershipDefaultModel(client),
|
|
250
259
|
commit: new CommitModel(client),
|
|
251
260
|
rateLimitsModule: new RateLimitsModuleModel(client),
|
|
261
|
+
membershipType: new MembershipTypeModel(client),
|
|
252
262
|
orgMembershipDefault: new OrgMembershipDefaultModel(client),
|
|
253
263
|
rlsModule: new RlsModuleModel(client),
|
|
254
264
|
sqlAction: new SqlActionModel(client),
|