@constructive-io/sdk 0.13.4 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/orm/index.d.ts +6 -4
- package/admin/orm/index.js +6 -4
- package/admin/orm/input-types.d.ts +503 -295
- package/admin/orm/models/index.d.ts +3 -2
- package/admin/orm/models/index.js +7 -5
- package/admin/orm/models/orgMemberProfile.d.ts +56 -0
- package/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +26 -26
- package/auth/orm/index.d.ts +45 -15
- package/auth/orm/index.js +2 -2
- package/auth/orm/input-types.d.ts +186 -251
- package/auth/orm/input-types.js +0 -1
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/models/userConnectedAccount.d.ts +38 -0
- package/auth/orm/models/userConnectedAccount.js +76 -0
- package/auth/orm/mutation/index.d.ts +56 -16
- package/auth/orm/mutation/index.js +78 -18
- package/auth/orm/query/index.d.ts +12 -4
- package/auth/orm/query/index.js +19 -7
- package/esm/admin/orm/index.d.ts +6 -4
- package/esm/admin/orm/index.js +6 -4
- package/esm/admin/orm/input-types.d.ts +503 -295
- package/esm/admin/orm/models/index.d.ts +3 -2
- package/esm/admin/orm/models/index.js +3 -2
- package/esm/admin/orm/models/orgMemberProfile.d.ts +56 -0
- package/esm/{public/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +24 -24
- package/esm/auth/orm/index.d.ts +45 -15
- package/esm/auth/orm/index.js +2 -2
- package/esm/auth/orm/input-types.d.ts +186 -251
- package/esm/auth/orm/input-types.js +0 -1
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/models/userConnectedAccount.d.ts +38 -0
- package/esm/auth/orm/models/userConnectedAccount.js +72 -0
- package/esm/auth/orm/mutation/index.d.ts +56 -16
- package/esm/auth/orm/mutation/index.js +78 -18
- package/esm/auth/orm/query/index.d.ts +12 -4
- package/esm/auth/orm/query/index.js +19 -7
- package/esm/public/orm/index.d.ts +69 -19
- package/esm/public/orm/index.js +16 -6
- package/esm/public/orm/input-types.d.ts +2047 -640
- package/esm/public/orm/input-types.js +15 -6
- package/esm/public/orm/models/devicesModule.d.ts +56 -0
- package/esm/public/orm/models/devicesModule.js +96 -0
- package/esm/public/orm/models/entityTypeProvision.d.ts +56 -0
- package/esm/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +24 -24
- package/esm/public/orm/models/index.d.ts +8 -3
- package/esm/public/orm/models/index.js +8 -3
- package/esm/public/orm/models/orgMemberProfile.d.ts +56 -0
- package/esm/{auth/orm/models/connectedAccount.js → public/orm/models/orgMemberProfile.js} +24 -24
- package/esm/public/orm/models/sessionSecretsModule.d.ts +56 -0
- package/esm/public/orm/models/sessionSecretsModule.js +96 -0
- package/esm/public/orm/models/spatialRelation.d.ts +56 -0
- package/esm/public/orm/models/spatialRelation.js +96 -0
- package/esm/public/orm/models/userConnectedAccount.d.ts +38 -0
- package/esm/public/orm/models/userConnectedAccount.js +72 -0
- package/esm/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
- package/esm/public/orm/models/webauthnCredentialsModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +72 -20
- package/esm/public/orm/mutation/index.js +96 -24
- package/esm/public/orm/query/index.d.ts +24 -2
- package/esm/public/orm/query/index.js +36 -4
- package/package.json +5 -5
- package/public/orm/index.d.ts +69 -19
- package/public/orm/index.js +16 -6
- package/public/orm/input-types.d.ts +2047 -640
- package/public/orm/input-types.js +15 -6
- package/public/orm/models/devicesModule.d.ts +56 -0
- package/public/orm/models/devicesModule.js +100 -0
- package/public/orm/models/entityTypeProvision.d.ts +56 -0
- package/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +26 -26
- package/public/orm/models/index.d.ts +8 -3
- package/public/orm/models/index.js +19 -9
- package/public/orm/models/orgMemberProfile.d.ts +56 -0
- package/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +26 -26
- package/public/orm/models/sessionSecretsModule.d.ts +56 -0
- package/public/orm/models/sessionSecretsModule.js +100 -0
- package/public/orm/models/spatialRelation.d.ts +56 -0
- package/public/orm/models/spatialRelation.js +100 -0
- package/public/orm/models/userConnectedAccount.d.ts +38 -0
- package/public/orm/models/userConnectedAccount.js +76 -0
- package/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
- package/public/orm/models/webauthnCredentialsModule.js +100 -0
- package/public/orm/mutation/index.d.ts +72 -20
- package/public/orm/mutation/index.js +96 -24
- package/public/orm/query/index.d.ts +24 -2
- package/public/orm/query/index.js +36 -4
- package/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/orm/models/tableTemplateModule.d.ts +0 -56
- package/public/orm/models/connectedAccount.d.ts +0 -56
- package/public/orm/models/tableTemplateModule.d.ts +0 -56
|
@@ -17,21 +17,22 @@ export { AppLimitDefaultModel } from './appLimitDefault';
|
|
|
17
17
|
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
18
18
|
export { OrgAdminGrantModel } from './orgAdminGrant';
|
|
19
19
|
export { OrgOwnerGrantModel } from './orgOwnerGrant';
|
|
20
|
-
export { MembershipTypeModel } from './membershipType';
|
|
21
20
|
export { AppLimitModel } from './appLimit';
|
|
22
21
|
export { AppAchievementModel } from './appAchievement';
|
|
23
22
|
export { AppStepModel } from './appStep';
|
|
24
23
|
export { AppClaimedInviteModel } from './appClaimedInvite';
|
|
25
24
|
export { OrgChartEdgeGrantModel } from './orgChartEdgeGrant';
|
|
26
25
|
export { OrgLimitModel } from './orgLimit';
|
|
26
|
+
export { MembershipTypeModel } from './membershipType';
|
|
27
27
|
export { AppGrantModel } from './appGrant';
|
|
28
28
|
export { AppMembershipDefaultModel } from './appMembershipDefault';
|
|
29
29
|
export { OrgClaimedInviteModel } from './orgClaimedInvite';
|
|
30
30
|
export { OrgGrantModel } from './orgGrant';
|
|
31
31
|
export { OrgChartEdgeModel } from './orgChartEdge';
|
|
32
32
|
export { OrgMembershipDefaultModel } from './orgMembershipDefault';
|
|
33
|
+
export { OrgMemberProfileModel } from './orgMemberProfile';
|
|
33
34
|
export { AppLevelModel } from './appLevel';
|
|
34
35
|
export { AppInviteModel } from './appInvite';
|
|
36
|
+
export { OrgInviteModel } from './orgInvite';
|
|
35
37
|
export { AppMembershipModel } from './appMembership';
|
|
36
38
|
export { OrgMembershipModel } from './orgMembership';
|
|
37
|
-
export { OrgInviteModel } from './orgInvite';
|
|
@@ -17,21 +17,22 @@ export { AppLimitDefaultModel } from './appLimitDefault';
|
|
|
17
17
|
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
18
18
|
export { OrgAdminGrantModel } from './orgAdminGrant';
|
|
19
19
|
export { OrgOwnerGrantModel } from './orgOwnerGrant';
|
|
20
|
-
export { MembershipTypeModel } from './membershipType';
|
|
21
20
|
export { AppLimitModel } from './appLimit';
|
|
22
21
|
export { AppAchievementModel } from './appAchievement';
|
|
23
22
|
export { AppStepModel } from './appStep';
|
|
24
23
|
export { AppClaimedInviteModel } from './appClaimedInvite';
|
|
25
24
|
export { OrgChartEdgeGrantModel } from './orgChartEdgeGrant';
|
|
26
25
|
export { OrgLimitModel } from './orgLimit';
|
|
26
|
+
export { MembershipTypeModel } from './membershipType';
|
|
27
27
|
export { AppGrantModel } from './appGrant';
|
|
28
28
|
export { AppMembershipDefaultModel } from './appMembershipDefault';
|
|
29
29
|
export { OrgClaimedInviteModel } from './orgClaimedInvite';
|
|
30
30
|
export { OrgGrantModel } from './orgGrant';
|
|
31
31
|
export { OrgChartEdgeModel } from './orgChartEdge';
|
|
32
32
|
export { OrgMembershipDefaultModel } from './orgMembershipDefault';
|
|
33
|
+
export { OrgMemberProfileModel } from './orgMemberProfile';
|
|
33
34
|
export { AppLevelModel } from './appLevel';
|
|
34
35
|
export { AppInviteModel } from './appInvite';
|
|
36
|
+
export { OrgInviteModel } from './orgInvite';
|
|
35
37
|
export { AppMembershipModel } from './appMembership';
|
|
36
38
|
export { OrgMembershipModel } from './orgMembership';
|
|
37
|
-
export { OrgInviteModel } from './orgInvite';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OrgMemberProfile model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { OrgMemberProfileWithRelations, OrgMemberProfileSelect, OrgMemberProfileFilter, OrgMemberProfileOrderBy, CreateOrgMemberProfileInput, OrgMemberProfilePatch } from '../input-types';
|
|
10
|
+
export declare class OrgMemberProfileModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends OrgMemberProfileSelect>(args: FindManyArgs<S, OrgMemberProfileFilter, OrgMemberProfileOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, OrgMemberProfileSelect>): QueryBuilder<{
|
|
16
|
+
orgMemberProfiles: ConnectionResult<InferSelectResult<OrgMemberProfileWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends OrgMemberProfileSelect>(args: FindFirstArgs<S, OrgMemberProfileFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, OrgMemberProfileSelect>): QueryBuilder<{
|
|
21
|
+
orgMemberProfiles: {
|
|
22
|
+
nodes: InferSelectResult<OrgMemberProfileWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends OrgMemberProfileSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, OrgMemberProfileSelect>): QueryBuilder<{
|
|
29
|
+
orgMemberProfile: InferSelectResult<OrgMemberProfileWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends OrgMemberProfileSelect>(args: CreateArgs<S, CreateOrgMemberProfileInput['orgMemberProfile']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, OrgMemberProfileSelect>): QueryBuilder<{
|
|
34
|
+
createOrgMemberProfile: {
|
|
35
|
+
orgMemberProfile: InferSelectResult<OrgMemberProfileWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends OrgMemberProfileSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, OrgMemberProfilePatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, OrgMemberProfileSelect>): QueryBuilder<{
|
|
43
|
+
updateOrgMemberProfile: {
|
|
44
|
+
orgMemberProfile: InferSelectResult<OrgMemberProfileWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends OrgMemberProfileSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, OrgMemberProfileSelect>): QueryBuilder<{
|
|
52
|
+
deleteOrgMemberProfile: {
|
|
53
|
+
orgMemberProfile: InferSelectResult<OrgMemberProfileWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
2
|
import { connectionFieldsMap } from '../input-types';
|
|
3
|
-
export class
|
|
3
|
+
export class OrgMemberProfileModel {
|
|
4
4
|
client;
|
|
5
5
|
constructor(client) {
|
|
6
6
|
this.client = client;
|
|
7
7
|
}
|
|
8
8
|
findMany(args) {
|
|
9
|
-
const { document, variables } = buildFindManyDocument('
|
|
9
|
+
const { document, variables } = buildFindManyDocument('OrgMemberProfile', 'orgMemberProfiles', args.select, {
|
|
10
10
|
where: args?.where,
|
|
11
11
|
orderBy: args?.orderBy,
|
|
12
12
|
first: args?.first,
|
|
@@ -14,81 +14,81 @@ export class ConnectedAccountModel {
|
|
|
14
14
|
after: args?.after,
|
|
15
15
|
before: args?.before,
|
|
16
16
|
offset: args?.offset,
|
|
17
|
-
}, '
|
|
17
|
+
}, 'OrgMemberProfileFilter', 'OrgMemberProfileOrderBy', connectionFieldsMap);
|
|
18
18
|
return new QueryBuilder({
|
|
19
19
|
client: this.client,
|
|
20
20
|
operation: 'query',
|
|
21
|
-
operationName: '
|
|
22
|
-
fieldName: '
|
|
21
|
+
operationName: 'OrgMemberProfile',
|
|
22
|
+
fieldName: 'orgMemberProfiles',
|
|
23
23
|
document,
|
|
24
24
|
variables,
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
findFirst(args) {
|
|
28
|
-
const { document, variables } = buildFindFirstDocument('
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('OrgMemberProfile', 'orgMemberProfiles', args.select, {
|
|
29
29
|
where: args?.where,
|
|
30
|
-
}, '
|
|
30
|
+
}, 'OrgMemberProfileFilter', connectionFieldsMap);
|
|
31
31
|
return new QueryBuilder({
|
|
32
32
|
client: this.client,
|
|
33
33
|
operation: 'query',
|
|
34
|
-
operationName: '
|
|
35
|
-
fieldName: '
|
|
34
|
+
operationName: 'OrgMemberProfile',
|
|
35
|
+
fieldName: 'orgMemberProfiles',
|
|
36
36
|
document,
|
|
37
37
|
variables,
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
findOne(args) {
|
|
41
|
-
const { document, variables } = buildFindManyDocument('
|
|
41
|
+
const { document, variables } = buildFindManyDocument('OrgMemberProfile', 'orgMemberProfiles', args.select, {
|
|
42
42
|
where: {
|
|
43
43
|
id: {
|
|
44
44
|
equalTo: args.id,
|
|
45
45
|
},
|
|
46
46
|
},
|
|
47
47
|
first: 1,
|
|
48
|
-
}, '
|
|
48
|
+
}, 'OrgMemberProfileFilter', 'OrgMemberProfileOrderBy', connectionFieldsMap);
|
|
49
49
|
return new QueryBuilder({
|
|
50
50
|
client: this.client,
|
|
51
51
|
operation: 'query',
|
|
52
|
-
operationName: '
|
|
53
|
-
fieldName: '
|
|
52
|
+
operationName: 'OrgMemberProfile',
|
|
53
|
+
fieldName: 'orgMemberProfile',
|
|
54
54
|
document,
|
|
55
55
|
variables,
|
|
56
56
|
transform: (data) => ({
|
|
57
|
-
|
|
57
|
+
orgMemberProfile: data.orgMemberProfiles?.nodes?.[0] ?? null,
|
|
58
58
|
}),
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
create(args) {
|
|
62
|
-
const { document, variables } = buildCreateDocument('
|
|
62
|
+
const { document, variables } = buildCreateDocument('OrgMemberProfile', 'createOrgMemberProfile', 'orgMemberProfile', args.select, args.data, 'CreateOrgMemberProfileInput', connectionFieldsMap);
|
|
63
63
|
return new QueryBuilder({
|
|
64
64
|
client: this.client,
|
|
65
65
|
operation: 'mutation',
|
|
66
|
-
operationName: '
|
|
67
|
-
fieldName: '
|
|
66
|
+
operationName: 'OrgMemberProfile',
|
|
67
|
+
fieldName: 'createOrgMemberProfile',
|
|
68
68
|
document,
|
|
69
69
|
variables,
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
update(args) {
|
|
73
|
-
const { document, variables } = buildUpdateByPkDocument('
|
|
73
|
+
const { document, variables } = buildUpdateByPkDocument('OrgMemberProfile', 'updateOrgMemberProfile', 'orgMemberProfile', args.select, args.where.id, args.data, 'UpdateOrgMemberProfileInput', 'id', 'orgMemberProfilePatch', connectionFieldsMap);
|
|
74
74
|
return new QueryBuilder({
|
|
75
75
|
client: this.client,
|
|
76
76
|
operation: 'mutation',
|
|
77
|
-
operationName: '
|
|
78
|
-
fieldName: '
|
|
77
|
+
operationName: 'OrgMemberProfile',
|
|
78
|
+
fieldName: 'updateOrgMemberProfile',
|
|
79
79
|
document,
|
|
80
80
|
variables,
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
delete(args) {
|
|
84
|
-
const { document, variables } = buildDeleteByPkDocument('
|
|
84
|
+
const { document, variables } = buildDeleteByPkDocument('OrgMemberProfile', 'deleteOrgMemberProfile', 'orgMemberProfile', {
|
|
85
85
|
id: args.where.id,
|
|
86
|
-
}, '
|
|
86
|
+
}, 'DeleteOrgMemberProfileInput', args.select, connectionFieldsMap);
|
|
87
87
|
return new QueryBuilder({
|
|
88
88
|
client: this.client,
|
|
89
89
|
operation: 'mutation',
|
|
90
|
-
operationName: '
|
|
91
|
-
fieldName: '
|
|
90
|
+
operationName: 'OrgMemberProfile',
|
|
91
|
+
fieldName: 'deleteOrgMemberProfile',
|
|
92
92
|
document,
|
|
93
93
|
variables,
|
|
94
94
|
});
|
package/esm/auth/orm/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import type { OrmClientConfig } from './client';
|
|
|
2
2
|
import { EmailModel } from './models/email';
|
|
3
3
|
import { PhoneNumberModel } from './models/phoneNumber';
|
|
4
4
|
import { CryptoAddressModel } from './models/cryptoAddress';
|
|
5
|
-
import { ConnectedAccountModel } from './models/connectedAccount';
|
|
6
5
|
import { AuditLogModel } from './models/auditLog';
|
|
7
6
|
import { RoleTypeModel } from './models/roleType';
|
|
7
|
+
import { UserConnectedAccountModel } from './models/userConnectedAccount';
|
|
8
8
|
import { UserModel } from './models/user';
|
|
9
9
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
10
10
|
export { GraphQLRequestError } from './client';
|
|
@@ -40,26 +40,31 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
40
40
|
email: EmailModel;
|
|
41
41
|
phoneNumber: PhoneNumberModel;
|
|
42
42
|
cryptoAddress: CryptoAddressModel;
|
|
43
|
-
connectedAccount: ConnectedAccountModel;
|
|
44
43
|
auditLog: AuditLogModel;
|
|
45
44
|
roleType: RoleTypeModel;
|
|
45
|
+
userConnectedAccount: UserConnectedAccountModel;
|
|
46
46
|
user: UserModel;
|
|
47
47
|
query: {
|
|
48
|
-
|
|
48
|
+
currentUserAgent: (options?: {
|
|
49
49
|
select?: Record<string, unknown>;
|
|
50
50
|
}) => import("./query-builder").QueryBuilder<{
|
|
51
|
-
|
|
51
|
+
currentUserAgent: string | null;
|
|
52
52
|
}>;
|
|
53
|
-
|
|
53
|
+
currentIpAddress: (options?: {
|
|
54
54
|
select?: Record<string, unknown>;
|
|
55
55
|
}) => import("./query-builder").QueryBuilder<{
|
|
56
|
-
|
|
56
|
+
currentIpAddress: string | null;
|
|
57
57
|
}>;
|
|
58
58
|
currentUserId: (options?: {
|
|
59
59
|
select?: Record<string, unknown>;
|
|
60
60
|
}) => import("./query-builder").QueryBuilder<{
|
|
61
61
|
currentUserId: string | null;
|
|
62
62
|
}>;
|
|
63
|
+
requireStepUp: (args: import("./query").RequireStepUpVariables, options?: {
|
|
64
|
+
select?: Record<string, unknown>;
|
|
65
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
66
|
+
requireStepUp: boolean | null;
|
|
67
|
+
}>;
|
|
63
68
|
currentUser: <S extends import("./input-types").UserSelect>(options: {
|
|
64
69
|
select: S;
|
|
65
70
|
} & import("./select-types").StrictSelect<S, import("./input-types").UserSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -82,6 +87,21 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
82
87
|
} & import("./select-types").StrictSelect<S, import("./input-types").CheckPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
83
88
|
checkPassword: import("./select-types").InferSelectResult<import("./input-types").CheckPasswordPayload, S> | null;
|
|
84
89
|
}>;
|
|
90
|
+
disconnectAccount: <S extends import("./input-types").DisconnectAccountPayloadSelect>(args: import("./mutation").DisconnectAccountVariables, options: {
|
|
91
|
+
select: S;
|
|
92
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").DisconnectAccountPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
93
|
+
disconnectAccount: import("./select-types").InferSelectResult<import("./input-types").DisconnectAccountPayload, S> | null;
|
|
94
|
+
}>;
|
|
95
|
+
revokeApiKey: <S extends import("./input-types").RevokeApiKeyPayloadSelect>(args: import("./mutation").RevokeApiKeyVariables, options: {
|
|
96
|
+
select: S;
|
|
97
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RevokeApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
98
|
+
revokeApiKey: import("./select-types").InferSelectResult<import("./input-types").RevokeApiKeyPayload, S> | null;
|
|
99
|
+
}>;
|
|
100
|
+
revokeSession: <S extends import("./input-types").RevokeSessionPayloadSelect>(args: import("./mutation").RevokeSessionVariables, options: {
|
|
101
|
+
select: S;
|
|
102
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RevokeSessionPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
103
|
+
revokeSession: import("./select-types").InferSelectResult<import("./input-types").RevokeSessionPayload, S> | null;
|
|
104
|
+
}>;
|
|
85
105
|
verifyPassword: <S extends import("./input-types").VerifyPasswordPayloadSelect>(args: import("./mutation").VerifyPasswordVariables, options: {
|
|
86
106
|
select: S;
|
|
87
107
|
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -107,30 +127,40 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
107
127
|
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
108
128
|
verifyEmail: import("./select-types").InferSelectResult<import("./input-types").VerifyEmailPayload, S> | null;
|
|
109
129
|
}>;
|
|
130
|
+
provisionNewUser: <S extends import("./input-types").ProvisionNewUserPayloadSelect>(args: import("./mutation").ProvisionNewUserVariables, options: {
|
|
131
|
+
select: S;
|
|
132
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionNewUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
133
|
+
provisionNewUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionNewUserPayload, S> | null;
|
|
134
|
+
}>;
|
|
110
135
|
resetPassword: <S extends import("./input-types").ResetPasswordPayloadSelect>(args: import("./mutation").ResetPasswordVariables, options: {
|
|
111
136
|
select: S;
|
|
112
137
|
} & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
113
138
|
resetPassword: import("./select-types").InferSelectResult<import("./input-types").ResetPasswordPayload, S> | null;
|
|
114
139
|
}>;
|
|
115
|
-
|
|
140
|
+
createApiKey: <S extends import("./input-types").CreateApiKeyPayloadSelect>(args: import("./mutation").CreateApiKeyVariables, options: {
|
|
116
141
|
select: S;
|
|
117
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
118
|
-
|
|
142
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").CreateApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
143
|
+
createApiKey: import("./select-types").InferSelectResult<import("./input-types").CreateApiKeyPayload, S> | null;
|
|
119
144
|
}>;
|
|
120
|
-
|
|
145
|
+
signInCrossOrigin: <S extends import("./input-types").SignInCrossOriginPayloadSelect>(args: import("./mutation").SignInCrossOriginVariables, options: {
|
|
121
146
|
select: S;
|
|
122
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
123
|
-
|
|
147
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SignInCrossOriginPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
148
|
+
signInCrossOrigin: import("./select-types").InferSelectResult<import("./input-types").SignInCrossOriginPayload, S> | null;
|
|
124
149
|
}>;
|
|
125
150
|
signUp: <S extends import("./input-types").SignUpPayloadSelect>(args: import("./mutation").SignUpVariables, options: {
|
|
126
151
|
select: S;
|
|
127
152
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignUpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
128
153
|
signUp: import("./select-types").InferSelectResult<import("./input-types").SignUpPayload, S> | null;
|
|
129
154
|
}>;
|
|
130
|
-
|
|
155
|
+
requestCrossOriginToken: <S extends import("./input-types").RequestCrossOriginTokenPayloadSelect>(args: import("./mutation").RequestCrossOriginTokenVariables, options: {
|
|
156
|
+
select: S;
|
|
157
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RequestCrossOriginTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
158
|
+
requestCrossOriginToken: import("./select-types").InferSelectResult<import("./input-types").RequestCrossOriginTokenPayload, S> | null;
|
|
159
|
+
}>;
|
|
160
|
+
signIn: <S extends import("./input-types").SignInPayloadSelect>(args: import("./mutation").SignInVariables, options: {
|
|
131
161
|
select: S;
|
|
132
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
133
|
-
|
|
162
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SignInPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
163
|
+
signIn: import("./select-types").InferSelectResult<import("./input-types").SignInPayload, S> | null;
|
|
134
164
|
}>;
|
|
135
165
|
extendTokenExpires: <S extends import("./input-types").ExtendTokenExpiresPayloadSelect>(args: import("./mutation").ExtendTokenExpiresVariables, options: {
|
|
136
166
|
select: S;
|
package/esm/auth/orm/index.js
CHANGED
|
@@ -7,9 +7,9 @@ import { OrmClient } from './client';
|
|
|
7
7
|
import { EmailModel } from './models/email';
|
|
8
8
|
import { PhoneNumberModel } from './models/phoneNumber';
|
|
9
9
|
import { CryptoAddressModel } from './models/cryptoAddress';
|
|
10
|
-
import { ConnectedAccountModel } from './models/connectedAccount';
|
|
11
10
|
import { AuditLogModel } from './models/auditLog';
|
|
12
11
|
import { RoleTypeModel } from './models/roleType';
|
|
12
|
+
import { UserConnectedAccountModel } from './models/userConnectedAccount';
|
|
13
13
|
import { UserModel } from './models/user';
|
|
14
14
|
import { createQueryOperations } from './query';
|
|
15
15
|
import { createMutationOperations } from './mutation';
|
|
@@ -48,9 +48,9 @@ export function createClient(config) {
|
|
|
48
48
|
email: new EmailModel(client),
|
|
49
49
|
phoneNumber: new PhoneNumberModel(client),
|
|
50
50
|
cryptoAddress: new CryptoAddressModel(client),
|
|
51
|
-
connectedAccount: new ConnectedAccountModel(client),
|
|
52
51
|
auditLog: new AuditLogModel(client),
|
|
53
52
|
roleType: new RoleTypeModel(client),
|
|
53
|
+
userConnectedAccount: new UserConnectedAccountModel(client),
|
|
54
54
|
user: new UserModel(client),
|
|
55
55
|
query: createQueryOperations(client),
|
|
56
56
|
mutation: createMutationOperations(client),
|