@constructive-sdk/cli 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/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 +5 -5
- 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
package/public/cli/executor.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare function getClient(contextName?: string): {
|
|
|
12
12
|
table: import("../orm").TableModel;
|
|
13
13
|
checkConstraint: import("../orm").CheckConstraintModel;
|
|
14
14
|
field: import("../orm").FieldModel;
|
|
15
|
+
spatialRelation: import("../orm").SpatialRelationModel;
|
|
15
16
|
foreignKeyConstraint: import("../orm").ForeignKeyConstraintModel;
|
|
16
17
|
fullTextSearch: import("../orm").FullTextSearchModel;
|
|
17
18
|
index: import("../orm").IndexModel;
|
|
@@ -25,9 +26,9 @@ export declare function getClient(contextName?: string): {
|
|
|
25
26
|
viewGrant: import("../orm").ViewGrantModel;
|
|
26
27
|
viewRule: import("../orm").ViewRuleModel;
|
|
27
28
|
embeddingChunk: import("../orm").EmbeddingChunkModel;
|
|
28
|
-
tableTemplateModule: import("../orm").TableTemplateModuleModel;
|
|
29
29
|
secureTableProvision: import("../orm").SecureTableProvisionModel;
|
|
30
30
|
relationProvision: import("../orm").RelationProvisionModel;
|
|
31
|
+
sessionSecretsModule: import("../orm").SessionSecretsModuleModel;
|
|
31
32
|
schemaGrant: import("../orm").SchemaGrantModel;
|
|
32
33
|
defaultPrivilege: import("../orm").DefaultPrivilegeModel;
|
|
33
34
|
enum: import("../orm").EnumModel;
|
|
@@ -65,6 +66,8 @@ export declare function getClient(contextName?: string): {
|
|
|
65
66
|
blueprintTemplate: import("../orm").BlueprintTemplateModel;
|
|
66
67
|
blueprintConstruction: import("../orm").BlueprintConstructionModel;
|
|
67
68
|
storageModule: import("../orm").StorageModuleModel;
|
|
69
|
+
entityTypeProvision: import("../orm").EntityTypeProvisionModel;
|
|
70
|
+
webauthnCredentialsModule: import("../orm").WebauthnCredentialsModuleModel;
|
|
68
71
|
databaseProvisionModule: import("../orm").DatabaseProvisionModuleModel;
|
|
69
72
|
appAdminGrant: import("../orm").AppAdminGrantModel;
|
|
70
73
|
appOwnerGrant: import("../orm").AppOwnerGrantModel;
|
|
@@ -73,6 +76,7 @@ export declare function getClient(contextName?: string): {
|
|
|
73
76
|
orgMember: import("../orm").OrgMemberModel;
|
|
74
77
|
orgAdminGrant: import("../orm").OrgAdminGrantModel;
|
|
75
78
|
orgOwnerGrant: import("../orm").OrgOwnerGrantModel;
|
|
79
|
+
orgMemberProfile: import("../orm").OrgMemberProfileModel;
|
|
76
80
|
orgGrant: import("../orm").OrgGrantModel;
|
|
77
81
|
orgChartEdge: import("../orm").OrgChartEdgeModel;
|
|
78
82
|
orgChartEdgeGrant: import("../orm").OrgChartEdgeGrantModel;
|
|
@@ -85,7 +89,6 @@ export declare function getClient(contextName?: string): {
|
|
|
85
89
|
email: import("../orm").EmailModel;
|
|
86
90
|
phoneNumber: import("../orm").PhoneNumberModel;
|
|
87
91
|
cryptoAddress: import("../orm").CryptoAddressModel;
|
|
88
|
-
connectedAccount: import("../orm").ConnectedAccountModel;
|
|
89
92
|
appInvite: import("../orm").AppInviteModel;
|
|
90
93
|
appClaimedInvite: import("../orm").AppClaimedInviteModel;
|
|
91
94
|
orgInvite: import("../orm").OrgInviteModel;
|
|
@@ -98,10 +101,12 @@ export declare function getClient(contextName?: string): {
|
|
|
98
101
|
migrateFile: import("../orm").MigrateFileModel;
|
|
99
102
|
appLimitDefault: import("../orm").AppLimitDefaultModel;
|
|
100
103
|
orgLimitDefault: import("../orm").OrgLimitDefaultModel;
|
|
101
|
-
|
|
104
|
+
devicesModule: import("../orm").DevicesModuleModel;
|
|
105
|
+
userConnectedAccount: import("../orm").UserConnectedAccountModel;
|
|
102
106
|
appMembershipDefault: import("../orm").AppMembershipDefaultModel;
|
|
103
107
|
commit: import("../orm").CommitModel;
|
|
104
108
|
rateLimitsModule: import("../orm").RateLimitsModuleModel;
|
|
109
|
+
membershipType: import("../orm").MembershipTypeModel;
|
|
105
110
|
orgMembershipDefault: import("../orm").OrgMembershipDefaultModel;
|
|
106
111
|
rlsModule: import("../orm").RlsModuleModel;
|
|
107
112
|
sqlAction: import("../orm").SqlActionModel;
|
|
@@ -115,15 +120,20 @@ export declare function getClient(contextName?: string): {
|
|
|
115
120
|
}) => import("../orm").QueryBuilder<{
|
|
116
121
|
currentUserId: string | null;
|
|
117
122
|
}>;
|
|
123
|
+
currentUserAgent: (options?: {
|
|
124
|
+
select?: Record<string, unknown>;
|
|
125
|
+
}) => import("../orm").QueryBuilder<{
|
|
126
|
+
currentUserAgent: string | null;
|
|
127
|
+
}>;
|
|
118
128
|
currentIpAddress: (options?: {
|
|
119
129
|
select?: Record<string, unknown>;
|
|
120
130
|
}) => import("../orm").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("../orm").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("../orm").QueryBuilder<{
|
|
146
156
|
revParse: string | null;
|
|
147
157
|
}>;
|
|
158
|
+
resolveBlueprintField: (args: import("../orm/query").ResolveBlueprintFieldVariables, options?: {
|
|
159
|
+
select?: Record<string, unknown>;
|
|
160
|
+
}) => import("../orm").QueryBuilder<{
|
|
161
|
+
resolveBlueprintField: string | null;
|
|
162
|
+
}>;
|
|
148
163
|
orgIsManagerOf: (args: import("../orm/query").OrgIsManagerOfVariables, options?: {
|
|
149
164
|
select?: Record<string, unknown>;
|
|
150
165
|
}) => import("../orm").QueryBuilder<{
|
|
@@ -237,6 +252,21 @@ export declare function getClient(contextName?: string): {
|
|
|
237
252
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").RejectDatabaseTransferPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
238
253
|
rejectDatabaseTransfer: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").DisconnectAccountPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
258
|
+
disconnectAccount: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").RevokeApiKeyPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
263
|
+
revokeApiKey: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").RevokeSessionPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
268
|
+
revokeSession: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").VerifyPasswordPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
@@ -292,6 +322,11 @@ export declare function getClient(contextName?: string): {
|
|
|
292
322
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").ConstructBlueprintPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
293
323
|
constructBlueprint: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").ProvisionNewUserPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
328
|
+
provisionNewUser: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").ResetPasswordPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
@@ -307,6 +342,16 @@ export declare function getClient(contextName?: string): {
|
|
|
307
342
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").CopyTemplateToBlueprintPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
308
343
|
copyTemplateToBlueprint: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").CreateApiKeyPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
348
|
+
createApiKey: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").ProvisionSpatialRelationPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
353
|
+
provisionSpatialRelation: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").BootstrapUserPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
@@ -372,10 +417,10 @@ export declare function getClient(contextName?: string): {
|
|
|
372
417
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").ApplyRlsPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
373
418
|
applyRls: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").
|
|
378
|
-
|
|
422
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").SignInCrossOriginPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
423
|
+
signInCrossOrigin: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").ExtendTokenExpiresPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
388
433
|
extendTokenExpires: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").SignInPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
393
|
-
signIn: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").SignUpPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
398
438
|
signUp: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").RequestCrossOriginTokenPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
443
|
+
requestCrossOriginToken: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").
|
|
403
|
-
|
|
447
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").SignInPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
448
|
+
signIn: import("../orm").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;
|
package/public/orm/index.d.ts
CHANGED
|
@@ -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/public/orm/index.js
CHANGED
|
@@ -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
|
|
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");
|
|
@@ -183,6 +188,7 @@ function createClient(config) {
|
|
|
183
188
|
table: new table_1.TableModel(client),
|
|
184
189
|
checkConstraint: new checkConstraint_1.CheckConstraintModel(client),
|
|
185
190
|
field: new field_1.FieldModel(client),
|
|
191
|
+
spatialRelation: new spatialRelation_1.SpatialRelationModel(client),
|
|
186
192
|
foreignKeyConstraint: new foreignKeyConstraint_1.ForeignKeyConstraintModel(client),
|
|
187
193
|
fullTextSearch: new fullTextSearch_1.FullTextSearchModel(client),
|
|
188
194
|
index: new index_1.IndexModel(client),
|
|
@@ -196,9 +202,9 @@ function createClient(config) {
|
|
|
196
202
|
viewGrant: new viewGrant_1.ViewGrantModel(client),
|
|
197
203
|
viewRule: new viewRule_1.ViewRuleModel(client),
|
|
198
204
|
embeddingChunk: new embeddingChunk_1.EmbeddingChunkModel(client),
|
|
199
|
-
tableTemplateModule: new tableTemplateModule_1.TableTemplateModuleModel(client),
|
|
200
205
|
secureTableProvision: new secureTableProvision_1.SecureTableProvisionModel(client),
|
|
201
206
|
relationProvision: new relationProvision_1.RelationProvisionModel(client),
|
|
207
|
+
sessionSecretsModule: new sessionSecretsModule_1.SessionSecretsModuleModel(client),
|
|
202
208
|
schemaGrant: new schemaGrant_1.SchemaGrantModel(client),
|
|
203
209
|
defaultPrivilege: new defaultPrivilege_1.DefaultPrivilegeModel(client),
|
|
204
210
|
enum: new enum_1.EnumModel(client),
|
|
@@ -236,6 +242,8 @@ function createClient(config) {
|
|
|
236
242
|
blueprintTemplate: new blueprintTemplate_1.BlueprintTemplateModel(client),
|
|
237
243
|
blueprintConstruction: new blueprintConstruction_1.BlueprintConstructionModel(client),
|
|
238
244
|
storageModule: new storageModule_1.StorageModuleModel(client),
|
|
245
|
+
entityTypeProvision: new entityTypeProvision_1.EntityTypeProvisionModel(client),
|
|
246
|
+
webauthnCredentialsModule: new webauthnCredentialsModule_1.WebauthnCredentialsModuleModel(client),
|
|
239
247
|
databaseProvisionModule: new databaseProvisionModule_1.DatabaseProvisionModuleModel(client),
|
|
240
248
|
appAdminGrant: new appAdminGrant_1.AppAdminGrantModel(client),
|
|
241
249
|
appOwnerGrant: new appOwnerGrant_1.AppOwnerGrantModel(client),
|
|
@@ -244,6 +252,7 @@ function createClient(config) {
|
|
|
244
252
|
orgMember: new orgMember_1.OrgMemberModel(client),
|
|
245
253
|
orgAdminGrant: new orgAdminGrant_1.OrgAdminGrantModel(client),
|
|
246
254
|
orgOwnerGrant: new orgOwnerGrant_1.OrgOwnerGrantModel(client),
|
|
255
|
+
orgMemberProfile: new orgMemberProfile_1.OrgMemberProfileModel(client),
|
|
247
256
|
orgGrant: new orgGrant_1.OrgGrantModel(client),
|
|
248
257
|
orgChartEdge: new orgChartEdge_1.OrgChartEdgeModel(client),
|
|
249
258
|
orgChartEdgeGrant: new orgChartEdgeGrant_1.OrgChartEdgeGrantModel(client),
|
|
@@ -256,7 +265,6 @@ function createClient(config) {
|
|
|
256
265
|
email: new email_1.EmailModel(client),
|
|
257
266
|
phoneNumber: new phoneNumber_1.PhoneNumberModel(client),
|
|
258
267
|
cryptoAddress: new cryptoAddress_1.CryptoAddressModel(client),
|
|
259
|
-
connectedAccount: new connectedAccount_1.ConnectedAccountModel(client),
|
|
260
268
|
appInvite: new appInvite_1.AppInviteModel(client),
|
|
261
269
|
appClaimedInvite: new appClaimedInvite_1.AppClaimedInviteModel(client),
|
|
262
270
|
orgInvite: new orgInvite_1.OrgInviteModel(client),
|
|
@@ -269,10 +277,12 @@ function createClient(config) {
|
|
|
269
277
|
migrateFile: new migrateFile_1.MigrateFileModel(client),
|
|
270
278
|
appLimitDefault: new appLimitDefault_1.AppLimitDefaultModel(client),
|
|
271
279
|
orgLimitDefault: new orgLimitDefault_1.OrgLimitDefaultModel(client),
|
|
272
|
-
|
|
280
|
+
devicesModule: new devicesModule_1.DevicesModuleModel(client),
|
|
281
|
+
userConnectedAccount: new userConnectedAccount_1.UserConnectedAccountModel(client),
|
|
273
282
|
appMembershipDefault: new appMembershipDefault_1.AppMembershipDefaultModel(client),
|
|
274
283
|
commit: new commit_1.CommitModel(client),
|
|
275
284
|
rateLimitsModule: new rateLimitsModule_1.RateLimitsModuleModel(client),
|
|
285
|
+
membershipType: new membershipType_1.MembershipTypeModel(client),
|
|
276
286
|
orgMembershipDefault: new orgMembershipDefault_1.OrgMembershipDefaultModel(client),
|
|
277
287
|
rlsModule: new rlsModule_1.RlsModuleModel(client),
|
|
278
288
|
sqlAction: new sqlAction_1.SqlActionModel(client),
|