@constructive-sdk/cli 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.
- package/admin/cli/commands/app-membership.js +22 -0
- package/admin/cli/commands/membership-type.js +44 -0
- package/{auth/cli/commands/connected-account.d.ts → admin/cli/commands/org-member-profile.d.ts} +1 -1
- package/admin/cli/commands/org-member-profile.js +392 -0
- package/admin/cli/commands/org-membership.js +44 -0
- package/admin/cli/commands.js +7 -5
- package/admin/cli/executor.d.ts +3 -2
- 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/{esm/auth/cli/commands/one-time-token.d.ts → auth/cli/commands/create-api-key.d.ts} +1 -1
- package/{public/cli/commands/one-time-token.js → auth/cli/commands/create-api-key.js} +3 -3
- package/auth/cli/commands/disconnect-account.d.ts +8 -0
- package/auth/cli/commands/{sign-in-one-time-token.js → disconnect-account.js} +3 -3
- package/auth/cli/commands/provision-new-user.d.ts +8 -0
- package/{public/cli/commands/sign-in-one-time-token.js → auth/cli/commands/provision-new-user.js} +3 -3
- package/auth/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/auth/cli/commands/request-cross-origin-token.js +36 -0
- package/auth/cli/commands/require-step-up.d.ts +8 -0
- package/auth/cli/commands/require-step-up.js +30 -0
- package/auth/cli/commands/{one-time-token.d.ts → revoke-api-key.d.ts} +1 -1
- package/auth/cli/commands/{one-time-token.js → revoke-api-key.js} +3 -3
- package/auth/cli/commands/revoke-session.d.ts +8 -0
- package/auth/cli/commands/revoke-session.js +36 -0
- package/auth/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/auth/cli/commands/sign-in-cross-origin.js +36 -0
- package/auth/cli/commands/user-connected-account.d.ts +8 -0
- package/auth/cli/commands/user-connected-account.js +176 -0
- package/auth/cli/commands.js +23 -11
- package/auth/cli/executor.d.ts +44 -14
- 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/cli/commands/app-membership.js +22 -0
- package/esm/admin/cli/commands/membership-type.js +44 -0
- package/esm/{public/cli/commands/connected-account.d.ts → admin/cli/commands/org-member-profile.d.ts} +1 -1
- package/esm/admin/cli/commands/org-member-profile.js +390 -0
- package/esm/admin/cli/commands/org-membership.js +44 -0
- package/esm/admin/cli/commands.js +7 -5
- package/esm/admin/cli/executor.d.ts +3 -2
- 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/cli/commands/create-api-key.d.ts +8 -0
- package/esm/{public/cli/commands/one-time-token.js → auth/cli/commands/create-api-key.js} +3 -3
- package/esm/auth/cli/commands/disconnect-account.d.ts +8 -0
- package/esm/auth/cli/commands/{sign-in-one-time-token.js → disconnect-account.js} +3 -3
- package/esm/auth/cli/commands/provision-new-user.d.ts +8 -0
- package/esm/{public/cli/commands/sign-in-one-time-token.js → auth/cli/commands/provision-new-user.js} +3 -3
- package/esm/auth/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/esm/auth/cli/commands/request-cross-origin-token.js +34 -0
- package/esm/auth/cli/commands/require-step-up.d.ts +8 -0
- package/esm/auth/cli/commands/require-step-up.js +28 -0
- package/esm/auth/cli/commands/revoke-api-key.d.ts +8 -0
- package/esm/auth/cli/commands/{one-time-token.js → revoke-api-key.js} +3 -3
- package/esm/auth/cli/commands/revoke-session.d.ts +8 -0
- package/esm/auth/cli/commands/revoke-session.js +34 -0
- package/esm/auth/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/esm/auth/cli/commands/sign-in-cross-origin.js +34 -0
- package/esm/auth/cli/commands/user-connected-account.d.ts +8 -0
- package/esm/auth/cli/commands/user-connected-account.js +174 -0
- package/esm/auth/cli/commands.js +23 -11
- package/esm/auth/cli/executor.d.ts +44 -14
- 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/cli/commands/app-membership.js +22 -0
- package/esm/public/cli/commands/construct-blueprint.js +1 -1
- package/esm/public/cli/commands/create-api-key.d.ts +8 -0
- package/esm/public/cli/commands/create-api-key.js +34 -0
- package/{public/cli/commands/connected-account.d.ts → esm/public/cli/commands/devices-module.d.ts} +1 -1
- package/esm/public/cli/commands/{connected-account.js → devices-module.js} +101 -87
- package/esm/public/cli/commands/disconnect-account.d.ts +8 -0
- package/esm/public/cli/commands/disconnect-account.js +34 -0
- package/esm/public/cli/commands/{table-template-module.d.ts → entity-type-provision.d.ts} +1 -1
- package/esm/public/cli/commands/entity-type-provision.js +554 -0
- package/esm/public/cli/commands/membership-type.js +44 -0
- package/esm/public/cli/commands/memberships-module.js +22 -0
- package/esm/{auth/cli/commands/connected-account.d.ts → public/cli/commands/org-member-profile.d.ts} +1 -1
- package/esm/public/cli/commands/org-member-profile.js +390 -0
- package/esm/public/cli/commands/org-membership.js +44 -0
- package/esm/public/cli/commands/provision-new-user.d.ts +8 -0
- package/esm/public/cli/commands/provision-new-user.js +34 -0
- package/esm/public/cli/commands/provision-spatial-relation.d.ts +8 -0
- package/esm/public/cli/commands/provision-spatial-relation.js +34 -0
- package/esm/public/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/esm/public/cli/commands/request-cross-origin-token.js +34 -0
- package/esm/public/cli/commands/require-step-up.d.ts +8 -0
- package/esm/public/cli/commands/require-step-up.js +28 -0
- package/{auth/cli/commands/sign-in-one-time-token.d.ts → esm/public/cli/commands/resolve-blueprint-field.d.ts} +1 -1
- package/esm/public/cli/commands/resolve-blueprint-field.js +38 -0
- package/esm/public/cli/commands/revoke-api-key.d.ts +8 -0
- package/esm/public/cli/commands/revoke-api-key.js +34 -0
- package/esm/public/cli/commands/revoke-session.d.ts +8 -0
- package/esm/public/cli/commands/revoke-session.js +34 -0
- package/esm/public/cli/commands/session-secrets-module.d.ts +8 -0
- package/esm/{auth/cli/commands/connected-account.js → public/cli/commands/session-secrets-module.js} +82 -90
- package/esm/public/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/esm/public/cli/commands/sign-in-cross-origin.js +34 -0
- package/esm/public/cli/commands/spatial-relation.d.ts +8 -0
- package/esm/public/cli/commands/spatial-relation.js +472 -0
- package/esm/public/cli/commands/user-auth-module.js +24 -24
- package/esm/public/cli/commands/user-connected-account.d.ts +8 -0
- package/esm/public/cli/commands/user-connected-account.js +174 -0
- package/esm/public/cli/commands/webauthn-credentials-module.d.ts +8 -0
- package/esm/public/cli/commands/{table-template-module.js → webauthn-credentials-module.js} +8 -48
- package/esm/public/cli/commands.js +41 -15
- package/esm/public/cli/executor.d.ts +61 -16
- 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 +2 -2
- package/public/cli/commands/app-membership.js +22 -0
- package/public/cli/commands/construct-blueprint.js +1 -1
- package/public/cli/commands/create-api-key.d.ts +8 -0
- package/public/cli/commands/create-api-key.js +36 -0
- package/public/cli/commands/devices-module.d.ts +8 -0
- package/{auth/cli/commands/connected-account.js → public/cli/commands/devices-module.js} +101 -87
- package/public/cli/commands/disconnect-account.d.ts +8 -0
- package/public/cli/commands/disconnect-account.js +36 -0
- package/public/cli/commands/entity-type-provision.d.ts +8 -0
- package/public/cli/commands/entity-type-provision.js +556 -0
- package/public/cli/commands/membership-type.js +44 -0
- package/public/cli/commands/memberships-module.js +22 -0
- package/public/cli/commands/org-member-profile.d.ts +8 -0
- package/public/cli/commands/org-member-profile.js +392 -0
- package/public/cli/commands/org-membership.js +44 -0
- package/public/cli/commands/provision-new-user.d.ts +8 -0
- package/public/cli/commands/provision-new-user.js +36 -0
- package/public/cli/commands/provision-spatial-relation.d.ts +8 -0
- package/public/cli/commands/provision-spatial-relation.js +36 -0
- package/public/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/public/cli/commands/request-cross-origin-token.js +36 -0
- package/public/cli/commands/require-step-up.d.ts +8 -0
- package/public/cli/commands/require-step-up.js +30 -0
- package/public/cli/commands/resolve-blueprint-field.d.ts +8 -0
- package/public/cli/commands/resolve-blueprint-field.js +40 -0
- package/public/cli/commands/revoke-api-key.d.ts +8 -0
- package/public/cli/commands/revoke-api-key.js +36 -0
- package/public/cli/commands/revoke-session.d.ts +8 -0
- package/public/cli/commands/revoke-session.js +36 -0
- package/public/cli/commands/session-secrets-module.d.ts +8 -0
- package/public/cli/commands/{connected-account.js → session-secrets-module.js} +82 -90
- package/public/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/public/cli/commands/sign-in-cross-origin.js +36 -0
- package/public/cli/commands/spatial-relation.d.ts +8 -0
- package/public/cli/commands/spatial-relation.js +474 -0
- package/public/cli/commands/user-auth-module.js +24 -24
- package/public/cli/commands/user-connected-account.d.ts +8 -0
- package/public/cli/commands/user-connected-account.js +176 -0
- package/public/cli/commands/webauthn-credentials-module.d.ts +8 -0
- package/public/cli/commands/{table-template-module.js → webauthn-credentials-module.js} +8 -48
- package/public/cli/commands.js +41 -15
- package/public/cli/executor.d.ts +61 -16
- 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/cli/commands/sign-in-one-time-token.d.ts +0 -8
- package/esm/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/cli/commands/one-time-token.d.ts +0 -8
- package/esm/public/cli/commands/sign-in-one-time-token.d.ts +0 -8
- package/esm/public/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/orm/models/tableTemplateModule.d.ts +0 -56
- package/public/cli/commands/one-time-token.d.ts +0 -8
- package/public/cli/commands/sign-in-one-time-token.d.ts +0 -8
- package/public/cli/commands/table-template-module.d.ts +0 -8
- package/public/orm/models/connectedAccount.d.ts +0 -56
- package/public/orm/models/tableTemplateModule.d.ts +0 -56
|
@@ -12,6 +12,7 @@ export declare function getClient(contextName?: string): {
|
|
|
12
12
|
table: import("..").TableModel;
|
|
13
13
|
checkConstraint: import("..").CheckConstraintModel;
|
|
14
14
|
field: import("..").FieldModel;
|
|
15
|
+
spatialRelation: import("..").SpatialRelationModel;
|
|
15
16
|
foreignKeyConstraint: import("..").ForeignKeyConstraintModel;
|
|
16
17
|
fullTextSearch: import("..").FullTextSearchModel;
|
|
17
18
|
index: import("..").IndexModel;
|
|
@@ -25,9 +26,9 @@ export declare function getClient(contextName?: string): {
|
|
|
25
26
|
viewGrant: import("..").ViewGrantModel;
|
|
26
27
|
viewRule: import("..").ViewRuleModel;
|
|
27
28
|
embeddingChunk: import("..").EmbeddingChunkModel;
|
|
28
|
-
tableTemplateModule: import("..").TableTemplateModuleModel;
|
|
29
29
|
secureTableProvision: import("..").SecureTableProvisionModel;
|
|
30
30
|
relationProvision: import("..").RelationProvisionModel;
|
|
31
|
+
sessionSecretsModule: import("..").SessionSecretsModuleModel;
|
|
31
32
|
schemaGrant: import("..").SchemaGrantModel;
|
|
32
33
|
defaultPrivilege: import("..").DefaultPrivilegeModel;
|
|
33
34
|
enum: import("..").EnumModel;
|
|
@@ -65,6 +66,8 @@ export declare function getClient(contextName?: string): {
|
|
|
65
66
|
blueprintTemplate: import("..").BlueprintTemplateModel;
|
|
66
67
|
blueprintConstruction: import("..").BlueprintConstructionModel;
|
|
67
68
|
storageModule: import("..").StorageModuleModel;
|
|
69
|
+
entityTypeProvision: import("..").EntityTypeProvisionModel;
|
|
70
|
+
webauthnCredentialsModule: import("..").WebauthnCredentialsModuleModel;
|
|
68
71
|
databaseProvisionModule: import("..").DatabaseProvisionModuleModel;
|
|
69
72
|
appAdminGrant: import("..").AppAdminGrantModel;
|
|
70
73
|
appOwnerGrant: import("..").AppOwnerGrantModel;
|
|
@@ -73,6 +76,7 @@ export declare function getClient(contextName?: string): {
|
|
|
73
76
|
orgMember: import("..").OrgMemberModel;
|
|
74
77
|
orgAdminGrant: import("..").OrgAdminGrantModel;
|
|
75
78
|
orgOwnerGrant: import("..").OrgOwnerGrantModel;
|
|
79
|
+
orgMemberProfile: import("..").OrgMemberProfileModel;
|
|
76
80
|
orgGrant: import("..").OrgGrantModel;
|
|
77
81
|
orgChartEdge: import("..").OrgChartEdgeModel;
|
|
78
82
|
orgChartEdgeGrant: import("..").OrgChartEdgeGrantModel;
|
|
@@ -85,7 +89,6 @@ export declare function getClient(contextName?: string): {
|
|
|
85
89
|
email: import("..").EmailModel;
|
|
86
90
|
phoneNumber: import("..").PhoneNumberModel;
|
|
87
91
|
cryptoAddress: import("..").CryptoAddressModel;
|
|
88
|
-
connectedAccount: import("..").ConnectedAccountModel;
|
|
89
92
|
appInvite: import("..").AppInviteModel;
|
|
90
93
|
appClaimedInvite: import("..").AppClaimedInviteModel;
|
|
91
94
|
orgInvite: import("..").OrgInviteModel;
|
|
@@ -98,10 +101,12 @@ export declare function getClient(contextName?: string): {
|
|
|
98
101
|
migrateFile: import("..").MigrateFileModel;
|
|
99
102
|
appLimitDefault: import("..").AppLimitDefaultModel;
|
|
100
103
|
orgLimitDefault: import("..").OrgLimitDefaultModel;
|
|
101
|
-
|
|
104
|
+
devicesModule: import("..").DevicesModuleModel;
|
|
105
|
+
userConnectedAccount: import("..").UserConnectedAccountModel;
|
|
102
106
|
appMembershipDefault: import("..").AppMembershipDefaultModel;
|
|
103
107
|
commit: import("..").CommitModel;
|
|
104
108
|
rateLimitsModule: import("..").RateLimitsModuleModel;
|
|
109
|
+
membershipType: import("..").MembershipTypeModel;
|
|
105
110
|
orgMembershipDefault: import("..").OrgMembershipDefaultModel;
|
|
106
111
|
rlsModule: import("..").RlsModuleModel;
|
|
107
112
|
sqlAction: import("..").SqlActionModel;
|
|
@@ -115,15 +120,20 @@ export declare function getClient(contextName?: string): {
|
|
|
115
120
|
}) => import("..").QueryBuilder<{
|
|
116
121
|
currentUserId: string | null;
|
|
117
122
|
}>;
|
|
123
|
+
currentUserAgent: (options?: {
|
|
124
|
+
select?: Record<string, unknown>;
|
|
125
|
+
}) => import("..").QueryBuilder<{
|
|
126
|
+
currentUserAgent: string | null;
|
|
127
|
+
}>;
|
|
118
128
|
currentIpAddress: (options?: {
|
|
119
129
|
select?: Record<string, unknown>;
|
|
120
130
|
}) => import("..").QueryBuilder<{
|
|
121
131
|
currentIpAddress: string | null;
|
|
122
132
|
}>;
|
|
123
|
-
|
|
133
|
+
requireStepUp: (args: import("../orm/query").RequireStepUpVariables, options?: {
|
|
124
134
|
select?: Record<string, unknown>;
|
|
125
135
|
}) => import("..").QueryBuilder<{
|
|
126
|
-
|
|
136
|
+
requireStepUp: boolean | null;
|
|
127
137
|
}>;
|
|
128
138
|
appPermissionsGetPaddedMask: (args: import("../orm/query").AppPermissionsGetPaddedMaskVariables, options?: {
|
|
129
139
|
select?: Record<string, unknown>;
|
|
@@ -145,6 +155,11 @@ export declare function getClient(contextName?: string): {
|
|
|
145
155
|
}) => import("..").QueryBuilder<{
|
|
146
156
|
revParse: string | null;
|
|
147
157
|
}>;
|
|
158
|
+
resolveBlueprintField: (args: import("../orm/query").ResolveBlueprintFieldVariables, options?: {
|
|
159
|
+
select?: Record<string, unknown>;
|
|
160
|
+
}) => import("..").QueryBuilder<{
|
|
161
|
+
resolveBlueprintField: string | null;
|
|
162
|
+
}>;
|
|
148
163
|
orgIsManagerOf: (args: import("../orm/query").OrgIsManagerOfVariables, options?: {
|
|
149
164
|
select?: Record<string, unknown>;
|
|
150
165
|
}) => import("..").QueryBuilder<{
|
|
@@ -237,6 +252,21 @@ export declare function getClient(contextName?: string): {
|
|
|
237
252
|
} & import("..").StrictSelect<S, import("../orm/input-types").RejectDatabaseTransferPayloadSelect>) => import("..").QueryBuilder<{
|
|
238
253
|
rejectDatabaseTransfer: import("..").InferSelectResult<import("../orm/input-types").RejectDatabaseTransferPayload, S> | null;
|
|
239
254
|
}>;
|
|
255
|
+
disconnectAccount: <S extends import("../orm/input-types").DisconnectAccountPayloadSelect>(args: import("../orm/mutation").DisconnectAccountVariables, options: {
|
|
256
|
+
select: S;
|
|
257
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").DisconnectAccountPayloadSelect>) => import("..").QueryBuilder<{
|
|
258
|
+
disconnectAccount: import("..").InferSelectResult<import("../orm/input-types").DisconnectAccountPayload, S> | null;
|
|
259
|
+
}>;
|
|
260
|
+
revokeApiKey: <S extends import("../orm/input-types").RevokeApiKeyPayloadSelect>(args: import("../orm/mutation").RevokeApiKeyVariables, options: {
|
|
261
|
+
select: S;
|
|
262
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").RevokeApiKeyPayloadSelect>) => import("..").QueryBuilder<{
|
|
263
|
+
revokeApiKey: import("..").InferSelectResult<import("../orm/input-types").RevokeApiKeyPayload, S> | null;
|
|
264
|
+
}>;
|
|
265
|
+
revokeSession: <S extends import("../orm/input-types").RevokeSessionPayloadSelect>(args: import("../orm/mutation").RevokeSessionVariables, options: {
|
|
266
|
+
select: S;
|
|
267
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").RevokeSessionPayloadSelect>) => import("..").QueryBuilder<{
|
|
268
|
+
revokeSession: import("..").InferSelectResult<import("../orm/input-types").RevokeSessionPayload, S> | null;
|
|
269
|
+
}>;
|
|
240
270
|
verifyPassword: <S extends import("../orm/input-types").VerifyPasswordPayloadSelect>(args: import("../orm/mutation").VerifyPasswordVariables, options: {
|
|
241
271
|
select: S;
|
|
242
272
|
} & import("..").StrictSelect<S, import("../orm/input-types").VerifyPasswordPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -292,6 +322,11 @@ export declare function getClient(contextName?: string): {
|
|
|
292
322
|
} & import("..").StrictSelect<S, import("../orm/input-types").ConstructBlueprintPayloadSelect>) => import("..").QueryBuilder<{
|
|
293
323
|
constructBlueprint: import("..").InferSelectResult<import("../orm/input-types").ConstructBlueprintPayload, S> | null;
|
|
294
324
|
}>;
|
|
325
|
+
provisionNewUser: <S extends import("../orm/input-types").ProvisionNewUserPayloadSelect>(args: import("../orm/mutation").ProvisionNewUserVariables, options: {
|
|
326
|
+
select: S;
|
|
327
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").ProvisionNewUserPayloadSelect>) => import("..").QueryBuilder<{
|
|
328
|
+
provisionNewUser: import("..").InferSelectResult<import("../orm/input-types").ProvisionNewUserPayload, S> | null;
|
|
329
|
+
}>;
|
|
295
330
|
resetPassword: <S extends import("../orm/input-types").ResetPasswordPayloadSelect>(args: import("../orm/mutation").ResetPasswordVariables, options: {
|
|
296
331
|
select: S;
|
|
297
332
|
} & import("..").StrictSelect<S, import("../orm/input-types").ResetPasswordPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -307,6 +342,16 @@ export declare function getClient(contextName?: string): {
|
|
|
307
342
|
} & import("..").StrictSelect<S, import("../orm/input-types").CopyTemplateToBlueprintPayloadSelect>) => import("..").QueryBuilder<{
|
|
308
343
|
copyTemplateToBlueprint: import("..").InferSelectResult<import("../orm/input-types").CopyTemplateToBlueprintPayload, S> | null;
|
|
309
344
|
}>;
|
|
345
|
+
createApiKey: <S extends import("../orm/input-types").CreateApiKeyPayloadSelect>(args: import("../orm/mutation").CreateApiKeyVariables, options: {
|
|
346
|
+
select: S;
|
|
347
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").CreateApiKeyPayloadSelect>) => import("..").QueryBuilder<{
|
|
348
|
+
createApiKey: import("..").InferSelectResult<import("../orm/input-types").CreateApiKeyPayload, S> | null;
|
|
349
|
+
}>;
|
|
350
|
+
provisionSpatialRelation: <S extends import("../orm/input-types").ProvisionSpatialRelationPayloadSelect>(args: import("../orm/mutation").ProvisionSpatialRelationVariables, options: {
|
|
351
|
+
select: S;
|
|
352
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").ProvisionSpatialRelationPayloadSelect>) => import("..").QueryBuilder<{
|
|
353
|
+
provisionSpatialRelation: import("..").InferSelectResult<import("../orm/input-types").ProvisionSpatialRelationPayload, S> | null;
|
|
354
|
+
}>;
|
|
310
355
|
bootstrapUser: <S extends import("../orm/input-types").BootstrapUserPayloadSelect>(args: import("../orm/mutation").BootstrapUserVariables, options: {
|
|
311
356
|
select: S;
|
|
312
357
|
} & import("..").StrictSelect<S, import("../orm/input-types").BootstrapUserPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -372,10 +417,10 @@ export declare function getClient(contextName?: string): {
|
|
|
372
417
|
} & import("..").StrictSelect<S, import("../orm/input-types").ApplyRlsPayloadSelect>) => import("..").QueryBuilder<{
|
|
373
418
|
applyRls: import("..").InferSelectResult<import("../orm/input-types").ApplyRlsPayload, S> | null;
|
|
374
419
|
}>;
|
|
375
|
-
|
|
420
|
+
signInCrossOrigin: <S extends import("../orm/input-types").SignInCrossOriginPayloadSelect>(args: import("../orm/mutation").SignInCrossOriginVariables, options: {
|
|
376
421
|
select: S;
|
|
377
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").
|
|
378
|
-
|
|
422
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").SignInCrossOriginPayloadSelect>) => import("..").QueryBuilder<{
|
|
423
|
+
signInCrossOrigin: import("..").InferSelectResult<import("../orm/input-types").SignInCrossOriginPayload, S> | null;
|
|
379
424
|
}>;
|
|
380
425
|
createUserDatabase: <S extends import("../orm/input-types").CreateUserDatabasePayloadSelect>(args: import("../orm/mutation").CreateUserDatabaseVariables, options: {
|
|
381
426
|
select: S;
|
|
@@ -387,20 +432,20 @@ export declare function getClient(contextName?: string): {
|
|
|
387
432
|
} & import("..").StrictSelect<S, import("../orm/input-types").ExtendTokenExpiresPayloadSelect>) => import("..").QueryBuilder<{
|
|
388
433
|
extendTokenExpires: import("..").InferSelectResult<import("../orm/input-types").ExtendTokenExpiresPayload, S> | null;
|
|
389
434
|
}>;
|
|
390
|
-
signIn: <S extends import("../orm/input-types").SignInPayloadSelect>(args: import("../orm/mutation").SignInVariables, options: {
|
|
391
|
-
select: S;
|
|
392
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").SignInPayloadSelect>) => import("..").QueryBuilder<{
|
|
393
|
-
signIn: import("..").InferSelectResult<import("../orm/input-types").SignInPayload, S> | null;
|
|
394
|
-
}>;
|
|
395
435
|
signUp: <S extends import("../orm/input-types").SignUpPayloadSelect>(args: import("../orm/mutation").SignUpVariables, options: {
|
|
396
436
|
select: S;
|
|
397
437
|
} & import("..").StrictSelect<S, import("../orm/input-types").SignUpPayloadSelect>) => import("..").QueryBuilder<{
|
|
398
438
|
signUp: import("..").InferSelectResult<import("../orm/input-types").SignUpPayload, S> | null;
|
|
399
439
|
}>;
|
|
400
|
-
|
|
440
|
+
requestCrossOriginToken: <S extends import("../orm/input-types").RequestCrossOriginTokenPayloadSelect>(args: import("../orm/mutation").RequestCrossOriginTokenVariables, options: {
|
|
441
|
+
select: S;
|
|
442
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").RequestCrossOriginTokenPayloadSelect>) => import("..").QueryBuilder<{
|
|
443
|
+
requestCrossOriginToken: import("..").InferSelectResult<import("../orm/input-types").RequestCrossOriginTokenPayload, S> | null;
|
|
444
|
+
}>;
|
|
445
|
+
signIn: <S extends import("../orm/input-types").SignInPayloadSelect>(args: import("../orm/mutation").SignInVariables, options: {
|
|
401
446
|
select: S;
|
|
402
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").
|
|
403
|
-
|
|
447
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").SignInPayloadSelect>) => import("..").QueryBuilder<{
|
|
448
|
+
signIn: import("..").InferSelectResult<import("../orm/input-types").SignInPayload, S> | null;
|
|
404
449
|
}>;
|
|
405
450
|
provisionTable: <S extends import("../orm/input-types").ProvisionTablePayloadSelect>(args: import("../orm/mutation").ProvisionTableVariables, options: {
|
|
406
451
|
select: S;
|
|
@@ -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';
|
|
@@ -152,6 +157,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
152
157
|
table: TableModel;
|
|
153
158
|
checkConstraint: CheckConstraintModel;
|
|
154
159
|
field: FieldModel;
|
|
160
|
+
spatialRelation: SpatialRelationModel;
|
|
155
161
|
foreignKeyConstraint: ForeignKeyConstraintModel;
|
|
156
162
|
fullTextSearch: FullTextSearchModel;
|
|
157
163
|
index: IndexModel;
|
|
@@ -165,9 +171,9 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
165
171
|
viewGrant: ViewGrantModel;
|
|
166
172
|
viewRule: ViewRuleModel;
|
|
167
173
|
embeddingChunk: EmbeddingChunkModel;
|
|
168
|
-
tableTemplateModule: TableTemplateModuleModel;
|
|
169
174
|
secureTableProvision: SecureTableProvisionModel;
|
|
170
175
|
relationProvision: RelationProvisionModel;
|
|
176
|
+
sessionSecretsModule: SessionSecretsModuleModel;
|
|
171
177
|
schemaGrant: SchemaGrantModel;
|
|
172
178
|
defaultPrivilege: DefaultPrivilegeModel;
|
|
173
179
|
enum: EnumModel;
|
|
@@ -205,6 +211,8 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
205
211
|
blueprintTemplate: BlueprintTemplateModel;
|
|
206
212
|
blueprintConstruction: BlueprintConstructionModel;
|
|
207
213
|
storageModule: StorageModuleModel;
|
|
214
|
+
entityTypeProvision: EntityTypeProvisionModel;
|
|
215
|
+
webauthnCredentialsModule: WebauthnCredentialsModuleModel;
|
|
208
216
|
databaseProvisionModule: DatabaseProvisionModuleModel;
|
|
209
217
|
appAdminGrant: AppAdminGrantModel;
|
|
210
218
|
appOwnerGrant: AppOwnerGrantModel;
|
|
@@ -213,6 +221,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
213
221
|
orgMember: OrgMemberModel;
|
|
214
222
|
orgAdminGrant: OrgAdminGrantModel;
|
|
215
223
|
orgOwnerGrant: OrgOwnerGrantModel;
|
|
224
|
+
orgMemberProfile: OrgMemberProfileModel;
|
|
216
225
|
orgGrant: OrgGrantModel;
|
|
217
226
|
orgChartEdge: OrgChartEdgeModel;
|
|
218
227
|
orgChartEdgeGrant: OrgChartEdgeGrantModel;
|
|
@@ -225,7 +234,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
225
234
|
email: EmailModel;
|
|
226
235
|
phoneNumber: PhoneNumberModel;
|
|
227
236
|
cryptoAddress: CryptoAddressModel;
|
|
228
|
-
connectedAccount: ConnectedAccountModel;
|
|
229
237
|
appInvite: AppInviteModel;
|
|
230
238
|
appClaimedInvite: AppClaimedInviteModel;
|
|
231
239
|
orgInvite: OrgInviteModel;
|
|
@@ -238,10 +246,12 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
238
246
|
migrateFile: MigrateFileModel;
|
|
239
247
|
appLimitDefault: AppLimitDefaultModel;
|
|
240
248
|
orgLimitDefault: OrgLimitDefaultModel;
|
|
241
|
-
|
|
249
|
+
devicesModule: DevicesModuleModel;
|
|
250
|
+
userConnectedAccount: UserConnectedAccountModel;
|
|
242
251
|
appMembershipDefault: AppMembershipDefaultModel;
|
|
243
252
|
commit: CommitModel;
|
|
244
253
|
rateLimitsModule: RateLimitsModuleModel;
|
|
254
|
+
membershipType: MembershipTypeModel;
|
|
245
255
|
orgMembershipDefault: OrgMembershipDefaultModel;
|
|
246
256
|
rlsModule: RlsModuleModel;
|
|
247
257
|
sqlAction: SqlActionModel;
|
|
@@ -255,15 +265,20 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
255
265
|
}) => import("./query-builder").QueryBuilder<{
|
|
256
266
|
currentUserId: string | null;
|
|
257
267
|
}>;
|
|
268
|
+
currentUserAgent: (options?: {
|
|
269
|
+
select?: Record<string, unknown>;
|
|
270
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
271
|
+
currentUserAgent: string | null;
|
|
272
|
+
}>;
|
|
258
273
|
currentIpAddress: (options?: {
|
|
259
274
|
select?: Record<string, unknown>;
|
|
260
275
|
}) => import("./query-builder").QueryBuilder<{
|
|
261
276
|
currentIpAddress: string | null;
|
|
262
277
|
}>;
|
|
263
|
-
|
|
278
|
+
requireStepUp: (args: import("./query").RequireStepUpVariables, options?: {
|
|
264
279
|
select?: Record<string, unknown>;
|
|
265
280
|
}) => import("./query-builder").QueryBuilder<{
|
|
266
|
-
|
|
281
|
+
requireStepUp: boolean | null;
|
|
267
282
|
}>;
|
|
268
283
|
appPermissionsGetPaddedMask: (args: import("./query").AppPermissionsGetPaddedMaskVariables, options?: {
|
|
269
284
|
select?: Record<string, unknown>;
|
|
@@ -285,6 +300,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
285
300
|
}) => import("./query-builder").QueryBuilder<{
|
|
286
301
|
revParse: string | null;
|
|
287
302
|
}>;
|
|
303
|
+
resolveBlueprintField: (args: import("./query").ResolveBlueprintFieldVariables, options?: {
|
|
304
|
+
select?: Record<string, unknown>;
|
|
305
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
306
|
+
resolveBlueprintField: string | null;
|
|
307
|
+
}>;
|
|
288
308
|
orgIsManagerOf: (args: import("./query").OrgIsManagerOfVariables, options?: {
|
|
289
309
|
select?: Record<string, unknown>;
|
|
290
310
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -377,6 +397,21 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
377
397
|
} & import("./select-types").StrictSelect<S, import("./input-types").RejectDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
378
398
|
rejectDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").RejectDatabaseTransferPayload, S> | null;
|
|
379
399
|
}>;
|
|
400
|
+
disconnectAccount: <S extends import("./input-types").DisconnectAccountPayloadSelect>(args: import("./mutation").DisconnectAccountVariables, options: {
|
|
401
|
+
select: S;
|
|
402
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").DisconnectAccountPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
403
|
+
disconnectAccount: import("./select-types").InferSelectResult<import("./input-types").DisconnectAccountPayload, S> | null;
|
|
404
|
+
}>;
|
|
405
|
+
revokeApiKey: <S extends import("./input-types").RevokeApiKeyPayloadSelect>(args: import("./mutation").RevokeApiKeyVariables, options: {
|
|
406
|
+
select: S;
|
|
407
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RevokeApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
408
|
+
revokeApiKey: import("./select-types").InferSelectResult<import("./input-types").RevokeApiKeyPayload, S> | null;
|
|
409
|
+
}>;
|
|
410
|
+
revokeSession: <S extends import("./input-types").RevokeSessionPayloadSelect>(args: import("./mutation").RevokeSessionVariables, options: {
|
|
411
|
+
select: S;
|
|
412
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RevokeSessionPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
413
|
+
revokeSession: import("./select-types").InferSelectResult<import("./input-types").RevokeSessionPayload, S> | null;
|
|
414
|
+
}>;
|
|
380
415
|
verifyPassword: <S extends import("./input-types").VerifyPasswordPayloadSelect>(args: import("./mutation").VerifyPasswordVariables, options: {
|
|
381
416
|
select: S;
|
|
382
417
|
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -432,6 +467,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
432
467
|
} & import("./select-types").StrictSelect<S, import("./input-types").ConstructBlueprintPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
433
468
|
constructBlueprint: import("./select-types").InferSelectResult<import("./input-types").ConstructBlueprintPayload, S> | null;
|
|
434
469
|
}>;
|
|
470
|
+
provisionNewUser: <S extends import("./input-types").ProvisionNewUserPayloadSelect>(args: import("./mutation").ProvisionNewUserVariables, options: {
|
|
471
|
+
select: S;
|
|
472
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionNewUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
473
|
+
provisionNewUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionNewUserPayload, S> | null;
|
|
474
|
+
}>;
|
|
435
475
|
resetPassword: <S extends import("./input-types").ResetPasswordPayloadSelect>(args: import("./mutation").ResetPasswordVariables, options: {
|
|
436
476
|
select: S;
|
|
437
477
|
} & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -447,6 +487,16 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
447
487
|
} & import("./select-types").StrictSelect<S, import("./input-types").CopyTemplateToBlueprintPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
448
488
|
copyTemplateToBlueprint: import("./select-types").InferSelectResult<import("./input-types").CopyTemplateToBlueprintPayload, S> | null;
|
|
449
489
|
}>;
|
|
490
|
+
createApiKey: <S extends import("./input-types").CreateApiKeyPayloadSelect>(args: import("./mutation").CreateApiKeyVariables, options: {
|
|
491
|
+
select: S;
|
|
492
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").CreateApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
493
|
+
createApiKey: import("./select-types").InferSelectResult<import("./input-types").CreateApiKeyPayload, S> | null;
|
|
494
|
+
}>;
|
|
495
|
+
provisionSpatialRelation: <S extends import("./input-types").ProvisionSpatialRelationPayloadSelect>(args: import("./mutation").ProvisionSpatialRelationVariables, options: {
|
|
496
|
+
select: S;
|
|
497
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionSpatialRelationPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
498
|
+
provisionSpatialRelation: import("./select-types").InferSelectResult<import("./input-types").ProvisionSpatialRelationPayload, S> | null;
|
|
499
|
+
}>;
|
|
450
500
|
bootstrapUser: <S extends import("./input-types").BootstrapUserPayloadSelect>(args: import("./mutation").BootstrapUserVariables, options: {
|
|
451
501
|
select: S;
|
|
452
502
|
} & import("./select-types").StrictSelect<S, import("./input-types").BootstrapUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -512,10 +562,10 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
512
562
|
} & import("./select-types").StrictSelect<S, import("./input-types").ApplyRlsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
513
563
|
applyRls: import("./select-types").InferSelectResult<import("./input-types").ApplyRlsPayload, S> | null;
|
|
514
564
|
}>;
|
|
515
|
-
|
|
565
|
+
signInCrossOrigin: <S extends import("./input-types").SignInCrossOriginPayloadSelect>(args: import("./mutation").SignInCrossOriginVariables, options: {
|
|
516
566
|
select: S;
|
|
517
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
518
|
-
|
|
567
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SignInCrossOriginPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
568
|
+
signInCrossOrigin: import("./select-types").InferSelectResult<import("./input-types").SignInCrossOriginPayload, S> | null;
|
|
519
569
|
}>;
|
|
520
570
|
createUserDatabase: <S extends import("./input-types").CreateUserDatabasePayloadSelect>(args: import("./mutation").CreateUserDatabaseVariables, options: {
|
|
521
571
|
select: S;
|
|
@@ -527,20 +577,20 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
527
577
|
} & import("./select-types").StrictSelect<S, import("./input-types").ExtendTokenExpiresPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
528
578
|
extendTokenExpires: import("./select-types").InferSelectResult<import("./input-types").ExtendTokenExpiresPayload, S> | null;
|
|
529
579
|
}>;
|
|
530
|
-
signIn: <S extends import("./input-types").SignInPayloadSelect>(args: import("./mutation").SignInVariables, options: {
|
|
531
|
-
select: S;
|
|
532
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SignInPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
533
|
-
signIn: import("./select-types").InferSelectResult<import("./input-types").SignInPayload, S> | null;
|
|
534
|
-
}>;
|
|
535
580
|
signUp: <S extends import("./input-types").SignUpPayloadSelect>(args: import("./mutation").SignUpVariables, options: {
|
|
536
581
|
select: S;
|
|
537
582
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignUpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
538
583
|
signUp: import("./select-types").InferSelectResult<import("./input-types").SignUpPayload, S> | null;
|
|
539
584
|
}>;
|
|
540
|
-
|
|
585
|
+
requestCrossOriginToken: <S extends import("./input-types").RequestCrossOriginTokenPayloadSelect>(args: import("./mutation").RequestCrossOriginTokenVariables, options: {
|
|
541
586
|
select: S;
|
|
542
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
543
|
-
|
|
587
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RequestCrossOriginTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
588
|
+
requestCrossOriginToken: import("./select-types").InferSelectResult<import("./input-types").RequestCrossOriginTokenPayload, S> | null;
|
|
589
|
+
}>;
|
|
590
|
+
signIn: <S extends import("./input-types").SignInPayloadSelect>(args: import("./mutation").SignInVariables, options: {
|
|
591
|
+
select: S;
|
|
592
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SignInPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
593
|
+
signIn: import("./select-types").InferSelectResult<import("./input-types").SignInPayload, S> | null;
|
|
544
594
|
}>;
|
|
545
595
|
provisionTable: <S extends import("./input-types").ProvisionTablePayloadSelect>(args: import("./mutation").ProvisionTableVariables, options: {
|
|
546
596
|
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';
|
|
@@ -160,6 +165,7 @@ export function createClient(config) {
|
|
|
160
165
|
table: new TableModel(client),
|
|
161
166
|
checkConstraint: new CheckConstraintModel(client),
|
|
162
167
|
field: new FieldModel(client),
|
|
168
|
+
spatialRelation: new SpatialRelationModel(client),
|
|
163
169
|
foreignKeyConstraint: new ForeignKeyConstraintModel(client),
|
|
164
170
|
fullTextSearch: new FullTextSearchModel(client),
|
|
165
171
|
index: new IndexModel(client),
|
|
@@ -173,9 +179,9 @@ export function createClient(config) {
|
|
|
173
179
|
viewGrant: new ViewGrantModel(client),
|
|
174
180
|
viewRule: new ViewRuleModel(client),
|
|
175
181
|
embeddingChunk: new EmbeddingChunkModel(client),
|
|
176
|
-
tableTemplateModule: new TableTemplateModuleModel(client),
|
|
177
182
|
secureTableProvision: new SecureTableProvisionModel(client),
|
|
178
183
|
relationProvision: new RelationProvisionModel(client),
|
|
184
|
+
sessionSecretsModule: new SessionSecretsModuleModel(client),
|
|
179
185
|
schemaGrant: new SchemaGrantModel(client),
|
|
180
186
|
defaultPrivilege: new DefaultPrivilegeModel(client),
|
|
181
187
|
enum: new EnumModel(client),
|
|
@@ -213,6 +219,8 @@ export function createClient(config) {
|
|
|
213
219
|
blueprintTemplate: new BlueprintTemplateModel(client),
|
|
214
220
|
blueprintConstruction: new BlueprintConstructionModel(client),
|
|
215
221
|
storageModule: new StorageModuleModel(client),
|
|
222
|
+
entityTypeProvision: new EntityTypeProvisionModel(client),
|
|
223
|
+
webauthnCredentialsModule: new WebauthnCredentialsModuleModel(client),
|
|
216
224
|
databaseProvisionModule: new DatabaseProvisionModuleModel(client),
|
|
217
225
|
appAdminGrant: new AppAdminGrantModel(client),
|
|
218
226
|
appOwnerGrant: new AppOwnerGrantModel(client),
|
|
@@ -221,6 +229,7 @@ export function createClient(config) {
|
|
|
221
229
|
orgMember: new OrgMemberModel(client),
|
|
222
230
|
orgAdminGrant: new OrgAdminGrantModel(client),
|
|
223
231
|
orgOwnerGrant: new OrgOwnerGrantModel(client),
|
|
232
|
+
orgMemberProfile: new OrgMemberProfileModel(client),
|
|
224
233
|
orgGrant: new OrgGrantModel(client),
|
|
225
234
|
orgChartEdge: new OrgChartEdgeModel(client),
|
|
226
235
|
orgChartEdgeGrant: new OrgChartEdgeGrantModel(client),
|
|
@@ -233,7 +242,6 @@ export function createClient(config) {
|
|
|
233
242
|
email: new EmailModel(client),
|
|
234
243
|
phoneNumber: new PhoneNumberModel(client),
|
|
235
244
|
cryptoAddress: new CryptoAddressModel(client),
|
|
236
|
-
connectedAccount: new ConnectedAccountModel(client),
|
|
237
245
|
appInvite: new AppInviteModel(client),
|
|
238
246
|
appClaimedInvite: new AppClaimedInviteModel(client),
|
|
239
247
|
orgInvite: new OrgInviteModel(client),
|
|
@@ -246,10 +254,12 @@ export function createClient(config) {
|
|
|
246
254
|
migrateFile: new MigrateFileModel(client),
|
|
247
255
|
appLimitDefault: new AppLimitDefaultModel(client),
|
|
248
256
|
orgLimitDefault: new OrgLimitDefaultModel(client),
|
|
249
|
-
|
|
257
|
+
devicesModule: new DevicesModuleModel(client),
|
|
258
|
+
userConnectedAccount: new UserConnectedAccountModel(client),
|
|
250
259
|
appMembershipDefault: new AppMembershipDefaultModel(client),
|
|
251
260
|
commit: new CommitModel(client),
|
|
252
261
|
rateLimitsModule: new RateLimitsModuleModel(client),
|
|
262
|
+
membershipType: new MembershipTypeModel(client),
|
|
253
263
|
orgMembershipDefault: new OrgMembershipDefaultModel(client),
|
|
254
264
|
rlsModule: new RlsModuleModel(client),
|
|
255
265
|
sqlAction: new SqlActionModel(client),
|