@constructive-io/sdk 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +2 -2
- 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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.OrgMembershipModel = exports.AppMembershipModel = exports.OrgInviteModel = exports.AppInviteModel = exports.AppLevelModel = exports.OrgMemberProfileModel = exports.OrgMembershipDefaultModel = exports.OrgChartEdgeModel = exports.OrgGrantModel = exports.OrgClaimedInviteModel = exports.AppMembershipDefaultModel = exports.AppGrantModel = exports.MembershipTypeModel = exports.OrgLimitModel = exports.OrgChartEdgeGrantModel = exports.AppClaimedInviteModel = exports.AppStepModel = exports.AppAchievementModel = exports.AppLimitModel = exports.OrgOwnerGrantModel = exports.OrgAdminGrantModel = exports.OrgLimitDefaultModel = exports.AppLimitDefaultModel = exports.AppOwnerGrantModel = exports.AppAdminGrantModel = exports.OrgPermissionDefaultModel = exports.AppPermissionDefaultModel = exports.OrgMemberModel = exports.AppLevelRequirementModel = exports.OrgPermissionModel = exports.AppPermissionModel = exports.OrgGetSubordinatesRecordModel = exports.OrgGetManagersRecordModel = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Models barrel export
|
|
6
6
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -34,8 +34,6 @@ var orgAdminGrant_1 = require("./orgAdminGrant");
|
|
|
34
34
|
Object.defineProperty(exports, "OrgAdminGrantModel", { enumerable: true, get: function () { return orgAdminGrant_1.OrgAdminGrantModel; } });
|
|
35
35
|
var orgOwnerGrant_1 = require("./orgOwnerGrant");
|
|
36
36
|
Object.defineProperty(exports, "OrgOwnerGrantModel", { enumerable: true, get: function () { return orgOwnerGrant_1.OrgOwnerGrantModel; } });
|
|
37
|
-
var membershipType_1 = require("./membershipType");
|
|
38
|
-
Object.defineProperty(exports, "MembershipTypeModel", { enumerable: true, get: function () { return membershipType_1.MembershipTypeModel; } });
|
|
39
37
|
var appLimit_1 = require("./appLimit");
|
|
40
38
|
Object.defineProperty(exports, "AppLimitModel", { enumerable: true, get: function () { return appLimit_1.AppLimitModel; } });
|
|
41
39
|
var appAchievement_1 = require("./appAchievement");
|
|
@@ -48,6 +46,8 @@ var orgChartEdgeGrant_1 = require("./orgChartEdgeGrant");
|
|
|
48
46
|
Object.defineProperty(exports, "OrgChartEdgeGrantModel", { enumerable: true, get: function () { return orgChartEdgeGrant_1.OrgChartEdgeGrantModel; } });
|
|
49
47
|
var orgLimit_1 = require("./orgLimit");
|
|
50
48
|
Object.defineProperty(exports, "OrgLimitModel", { enumerable: true, get: function () { return orgLimit_1.OrgLimitModel; } });
|
|
49
|
+
var membershipType_1 = require("./membershipType");
|
|
50
|
+
Object.defineProperty(exports, "MembershipTypeModel", { enumerable: true, get: function () { return membershipType_1.MembershipTypeModel; } });
|
|
51
51
|
var appGrant_1 = require("./appGrant");
|
|
52
52
|
Object.defineProperty(exports, "AppGrantModel", { enumerable: true, get: function () { return appGrant_1.AppGrantModel; } });
|
|
53
53
|
var appMembershipDefault_1 = require("./appMembershipDefault");
|
|
@@ -60,13 +60,15 @@ var orgChartEdge_1 = require("./orgChartEdge");
|
|
|
60
60
|
Object.defineProperty(exports, "OrgChartEdgeModel", { enumerable: true, get: function () { return orgChartEdge_1.OrgChartEdgeModel; } });
|
|
61
61
|
var orgMembershipDefault_1 = require("./orgMembershipDefault");
|
|
62
62
|
Object.defineProperty(exports, "OrgMembershipDefaultModel", { enumerable: true, get: function () { return orgMembershipDefault_1.OrgMembershipDefaultModel; } });
|
|
63
|
+
var orgMemberProfile_1 = require("./orgMemberProfile");
|
|
64
|
+
Object.defineProperty(exports, "OrgMemberProfileModel", { enumerable: true, get: function () { return orgMemberProfile_1.OrgMemberProfileModel; } });
|
|
63
65
|
var appLevel_1 = require("./appLevel");
|
|
64
66
|
Object.defineProperty(exports, "AppLevelModel", { enumerable: true, get: function () { return appLevel_1.AppLevelModel; } });
|
|
65
67
|
var appInvite_1 = require("./appInvite");
|
|
66
68
|
Object.defineProperty(exports, "AppInviteModel", { enumerable: true, get: function () { return appInvite_1.AppInviteModel; } });
|
|
69
|
+
var orgInvite_1 = require("./orgInvite");
|
|
70
|
+
Object.defineProperty(exports, "OrgInviteModel", { enumerable: true, get: function () { return orgInvite_1.OrgInviteModel; } });
|
|
67
71
|
var appMembership_1 = require("./appMembership");
|
|
68
72
|
Object.defineProperty(exports, "AppMembershipModel", { enumerable: true, get: function () { return appMembership_1.AppMembershipModel; } });
|
|
69
73
|
var orgMembership_1 = require("./orgMembership");
|
|
70
74
|
Object.defineProperty(exports, "OrgMembershipModel", { enumerable: true, get: function () { return orgMembership_1.OrgMembershipModel; } });
|
|
71
|
-
var orgInvite_1 = require("./orgInvite");
|
|
72
|
-
Object.defineProperty(exports, "OrgInviteModel", { enumerable: true, get: function () { return orgInvite_1.OrgInviteModel; } });
|
|
@@ -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,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.OrgMemberProfileModel = void 0;
|
|
4
4
|
const query_builder_1 = require("../query-builder");
|
|
5
5
|
const input_types_1 = require("../input-types");
|
|
6
|
-
class
|
|
6
|
+
class OrgMemberProfileModel {
|
|
7
7
|
client;
|
|
8
8
|
constructor(client) {
|
|
9
9
|
this.client = client;
|
|
10
10
|
}
|
|
11
11
|
findMany(args) {
|
|
12
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgMemberProfile', 'orgMemberProfiles', args.select, {
|
|
13
13
|
where: args?.where,
|
|
14
14
|
orderBy: args?.orderBy,
|
|
15
15
|
first: args?.first,
|
|
@@ -17,84 +17,84 @@ class ConnectedAccountModel {
|
|
|
17
17
|
after: args?.after,
|
|
18
18
|
before: args?.before,
|
|
19
19
|
offset: args?.offset,
|
|
20
|
-
}, '
|
|
20
|
+
}, 'OrgMemberProfileFilter', 'OrgMemberProfileOrderBy', input_types_1.connectionFieldsMap);
|
|
21
21
|
return new query_builder_1.QueryBuilder({
|
|
22
22
|
client: this.client,
|
|
23
23
|
operation: 'query',
|
|
24
|
-
operationName: '
|
|
25
|
-
fieldName: '
|
|
24
|
+
operationName: 'OrgMemberProfile',
|
|
25
|
+
fieldName: 'orgMemberProfiles',
|
|
26
26
|
document,
|
|
27
27
|
variables,
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
findFirst(args) {
|
|
31
|
-
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('OrgMemberProfile', 'orgMemberProfiles', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
}, '
|
|
33
|
+
}, 'OrgMemberProfileFilter', input_types_1.connectionFieldsMap);
|
|
34
34
|
return new query_builder_1.QueryBuilder({
|
|
35
35
|
client: this.client,
|
|
36
36
|
operation: 'query',
|
|
37
|
-
operationName: '
|
|
38
|
-
fieldName: '
|
|
37
|
+
operationName: 'OrgMemberProfile',
|
|
38
|
+
fieldName: 'orgMemberProfiles',
|
|
39
39
|
document,
|
|
40
40
|
variables,
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
findOne(args) {
|
|
44
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('
|
|
44
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgMemberProfile', 'orgMemberProfiles', args.select, {
|
|
45
45
|
where: {
|
|
46
46
|
id: {
|
|
47
47
|
equalTo: args.id,
|
|
48
48
|
},
|
|
49
49
|
},
|
|
50
50
|
first: 1,
|
|
51
|
-
}, '
|
|
51
|
+
}, 'OrgMemberProfileFilter', 'OrgMemberProfileOrderBy', input_types_1.connectionFieldsMap);
|
|
52
52
|
return new query_builder_1.QueryBuilder({
|
|
53
53
|
client: this.client,
|
|
54
54
|
operation: 'query',
|
|
55
|
-
operationName: '
|
|
56
|
-
fieldName: '
|
|
55
|
+
operationName: 'OrgMemberProfile',
|
|
56
|
+
fieldName: 'orgMemberProfile',
|
|
57
57
|
document,
|
|
58
58
|
variables,
|
|
59
59
|
transform: (data) => ({
|
|
60
|
-
|
|
60
|
+
orgMemberProfile: data.orgMemberProfiles?.nodes?.[0] ?? null,
|
|
61
61
|
}),
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
create(args) {
|
|
65
|
-
const { document, variables } = (0, query_builder_1.buildCreateDocument)('
|
|
65
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('OrgMemberProfile', 'createOrgMemberProfile', 'orgMemberProfile', args.select, args.data, 'CreateOrgMemberProfileInput', input_types_1.connectionFieldsMap);
|
|
66
66
|
return new query_builder_1.QueryBuilder({
|
|
67
67
|
client: this.client,
|
|
68
68
|
operation: 'mutation',
|
|
69
|
-
operationName: '
|
|
70
|
-
fieldName: '
|
|
69
|
+
operationName: 'OrgMemberProfile',
|
|
70
|
+
fieldName: 'createOrgMemberProfile',
|
|
71
71
|
document,
|
|
72
72
|
variables,
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
update(args) {
|
|
76
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('
|
|
76
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('OrgMemberProfile', 'updateOrgMemberProfile', 'orgMemberProfile', args.select, args.where.id, args.data, 'UpdateOrgMemberProfileInput', 'id', 'orgMemberProfilePatch', input_types_1.connectionFieldsMap);
|
|
77
77
|
return new query_builder_1.QueryBuilder({
|
|
78
78
|
client: this.client,
|
|
79
79
|
operation: 'mutation',
|
|
80
|
-
operationName: '
|
|
81
|
-
fieldName: '
|
|
80
|
+
operationName: 'OrgMemberProfile',
|
|
81
|
+
fieldName: 'updateOrgMemberProfile',
|
|
82
82
|
document,
|
|
83
83
|
variables,
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
delete(args) {
|
|
87
|
-
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('
|
|
87
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('OrgMemberProfile', 'deleteOrgMemberProfile', 'orgMemberProfile', {
|
|
88
88
|
id: args.where.id,
|
|
89
|
-
}, '
|
|
89
|
+
}, 'DeleteOrgMemberProfileInput', args.select, input_types_1.connectionFieldsMap);
|
|
90
90
|
return new query_builder_1.QueryBuilder({
|
|
91
91
|
client: this.client,
|
|
92
92
|
operation: 'mutation',
|
|
93
|
-
operationName: '
|
|
94
|
-
fieldName: '
|
|
93
|
+
operationName: 'OrgMemberProfile',
|
|
94
|
+
fieldName: 'deleteOrgMemberProfile',
|
|
95
95
|
document,
|
|
96
96
|
variables,
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
exports.
|
|
100
|
+
exports.OrgMemberProfileModel = OrgMemberProfileModel;
|
package/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/auth/orm/index.js
CHANGED
|
@@ -25,9 +25,9 @@ const client_1 = require("./client");
|
|
|
25
25
|
const email_1 = require("./models/email");
|
|
26
26
|
const phoneNumber_1 = require("./models/phoneNumber");
|
|
27
27
|
const cryptoAddress_1 = require("./models/cryptoAddress");
|
|
28
|
-
const connectedAccount_1 = require("./models/connectedAccount");
|
|
29
28
|
const auditLog_1 = require("./models/auditLog");
|
|
30
29
|
const roleType_1 = require("./models/roleType");
|
|
30
|
+
const userConnectedAccount_1 = require("./models/userConnectedAccount");
|
|
31
31
|
const user_1 = require("./models/user");
|
|
32
32
|
const query_1 = require("./query");
|
|
33
33
|
const mutation_1 = require("./mutation");
|
|
@@ -70,9 +70,9 @@ function createClient(config) {
|
|
|
70
70
|
email: new email_1.EmailModel(client),
|
|
71
71
|
phoneNumber: new phoneNumber_1.PhoneNumberModel(client),
|
|
72
72
|
cryptoAddress: new cryptoAddress_1.CryptoAddressModel(client),
|
|
73
|
-
connectedAccount: new connectedAccount_1.ConnectedAccountModel(client),
|
|
74
73
|
auditLog: new auditLog_1.AuditLogModel(client),
|
|
75
74
|
roleType: new roleType_1.RoleTypeModel(client),
|
|
75
|
+
userConnectedAccount: new userConnectedAccount_1.UserConnectedAccountModel(client),
|
|
76
76
|
user: new user_1.UserModel(client),
|
|
77
77
|
query: (0, query_1.createQueryOperations)(client),
|
|
78
78
|
mutation: (0, mutation_1.createMutationOperations)(client),
|