@constructive-io/sdk 0.25.8 → 0.25.10
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 +10 -2
- package/admin/orm/index.js +10 -2
- package/admin/orm/input-types.d.ts +1611 -230
- package/admin/orm/input-types.js +9 -1
- package/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
- package/admin/orm/models/appPermissionDefaultGrant.js +104 -0
- package/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
- package/admin/orm/models/appPermissionDefaultPermission.js +104 -0
- package/admin/orm/models/index.d.ts +5 -1
- package/admin/orm/models/index.js +11 -3
- package/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
- package/admin/orm/models/orgPermissionDefaultGrant.js +104 -0
- package/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
- package/admin/orm/models/orgPermissionDefaultPermission.js +104 -0
- package/agent/orm/input-types.d.ts +289 -47
- package/agent/orm/input-types.js +1 -0
- package/api/orm/index.d.ts +2 -0
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +1064 -125
- package/api/orm/input-types.js +3 -0
- package/api/orm/models/compositeType.d.ts +54 -0
- package/api/orm/models/compositeType.js +104 -0
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +3 -1
- package/auth/orm/index.d.ts +15 -0
- package/auth/orm/input-types.d.ts +197 -1
- package/auth/orm/mutation/index.d.ts +25 -1
- package/auth/orm/mutation/index.js +36 -0
- package/esm/admin/orm/index.d.ts +10 -2
- package/esm/admin/orm/index.js +10 -2
- package/esm/admin/orm/input-types.d.ts +1611 -230
- package/esm/admin/orm/input-types.js +9 -1
- package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/appPermissionDefaultGrant.js +100 -0
- package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
- package/esm/admin/orm/models/appPermissionDefaultPermission.js +100 -0
- package/esm/admin/orm/models/index.d.ts +5 -1
- package/esm/admin/orm/models/index.js +5 -1
- package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/orgPermissionDefaultGrant.js +100 -0
- package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
- package/esm/admin/orm/models/orgPermissionDefaultPermission.js +100 -0
- package/esm/agent/orm/input-types.d.ts +289 -47
- package/esm/agent/orm/input-types.js +1 -0
- package/esm/api/orm/index.d.ts +2 -0
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +1064 -125
- package/esm/api/orm/input-types.js +3 -0
- package/esm/api/orm/models/compositeType.d.ts +54 -0
- package/esm/api/orm/models/compositeType.js +100 -0
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/auth/orm/index.d.ts +15 -0
- package/esm/auth/orm/input-types.d.ts +197 -1
- package/esm/auth/orm/mutation/index.d.ts +25 -1
- package/esm/auth/orm/mutation/index.js +36 -0
- package/esm/modules/orm/index.d.ts +28 -26
- package/esm/modules/orm/index.js +28 -26
- package/esm/modules/orm/input-types.d.ts +4485 -2514
- package/esm/modules/orm/models/functionInvocationModule.d.ts +54 -0
- package/esm/modules/orm/models/functionInvocationModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +14 -13
- package/esm/modules/orm/models/index.js +14 -13
- package/esm/objects/orm/input-types.d.ts +62 -0
- package/esm/usage/orm/input-types.d.ts +314 -19
- package/modules/orm/index.d.ts +28 -26
- package/modules/orm/index.js +28 -26
- package/modules/orm/input-types.d.ts +4485 -2514
- package/modules/orm/models/functionInvocationModule.d.ts +54 -0
- package/modules/orm/models/functionInvocationModule.js +104 -0
- package/modules/orm/models/index.d.ts +14 -13
- package/modules/orm/models/index.js +30 -28
- package/objects/orm/input-types.d.ts +62 -0
- package/package.json +4 -4
- package/usage/orm/input-types.d.ts +314 -19
package/api/orm/input-types.js
CHANGED
|
@@ -10,6 +10,7 @@ exports.connectionFieldsMap = {
|
|
|
10
10
|
defaultPrivileges: 'DefaultPrivilege',
|
|
11
11
|
enums: 'Enum',
|
|
12
12
|
functions: 'Function',
|
|
13
|
+
compositeTypes: 'CompositeType',
|
|
13
14
|
apiSchemas: 'ApiSchema',
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
@@ -67,6 +68,7 @@ exports.connectionFieldsMap = {
|
|
|
67
68
|
triggers: 'Trigger',
|
|
68
69
|
uniqueConstraints: 'UniqueConstraint',
|
|
69
70
|
views: 'View',
|
|
71
|
+
viewTables: 'ViewTable',
|
|
70
72
|
viewGrants: 'ViewGrant',
|
|
71
73
|
viewRules: 'ViewRule',
|
|
72
74
|
defaultPrivileges: 'DefaultPrivilege',
|
|
@@ -75,6 +77,7 @@ exports.connectionFieldsMap = {
|
|
|
75
77
|
spatialRelations: 'SpatialRelation',
|
|
76
78
|
functions: 'Function',
|
|
77
79
|
partitions: 'Partition',
|
|
80
|
+
compositeTypes: 'CompositeType',
|
|
78
81
|
databaseTransfers: 'DatabaseTransfer',
|
|
79
82
|
apis: 'Api',
|
|
80
83
|
apiModules: 'ApiModule',
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CompositeType 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 { CompositeTypeWithRelations, CompositeTypeSelect, CompositeTypeFilter, CompositeTypeOrderBy, CreateCompositeTypeInput, CompositeTypePatch } from '../input-types';
|
|
10
|
+
export declare class CompositeTypeModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends CompositeTypeSelect>(args: FindManyArgs<S, CompositeTypeFilter, CompositeTypeOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, CompositeTypeSelect>): QueryBuilder<{
|
|
16
|
+
compositeTypes: ConnectionResult<InferSelectResult<CompositeTypeWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends CompositeTypeSelect>(args: FindFirstArgs<S, CompositeTypeFilter, CompositeTypeOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, CompositeTypeSelect>): QueryBuilder<{
|
|
21
|
+
compositeType: InferSelectResult<CompositeTypeWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends CompositeTypeSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, CompositeTypeSelect>): QueryBuilder<{
|
|
27
|
+
compositeType: InferSelectResult<CompositeTypeWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends CompositeTypeSelect>(args: CreateArgs<S, CreateCompositeTypeInput['compositeType']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, CompositeTypeSelect>): QueryBuilder<{
|
|
32
|
+
createCompositeType: {
|
|
33
|
+
compositeType: InferSelectResult<CompositeTypeWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends CompositeTypeSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, CompositeTypePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, CompositeTypeSelect>): QueryBuilder<{
|
|
41
|
+
updateCompositeType: {
|
|
42
|
+
compositeType: InferSelectResult<CompositeTypeWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends CompositeTypeSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, CompositeTypeSelect>): QueryBuilder<{
|
|
50
|
+
deleteCompositeType: {
|
|
51
|
+
compositeType: InferSelectResult<CompositeTypeWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompositeTypeModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class CompositeTypeModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('CompositeType', 'compositeTypes', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'CompositeTypeFilter', 'CompositeTypeOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'CompositeType',
|
|
25
|
+
fieldName: 'compositeTypes',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('CompositeType', 'compositeTypes', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'CompositeTypeFilter', 'CompositeTypeOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'CompositeType',
|
|
39
|
+
fieldName: 'compositeType',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
compositeType: data.compositeTypes?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('CompositeType', 'compositeTypes', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'CompositeTypeFilter', 'CompositeTypeOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'CompositeType',
|
|
60
|
+
fieldName: 'compositeType',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
compositeType: data.compositeTypes?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('CompositeType', 'createCompositeType', 'compositeType', args.select, args.data, 'CreateCompositeTypeInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'CompositeType',
|
|
74
|
+
fieldName: 'createCompositeType',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('CompositeType', 'updateCompositeType', 'compositeType', args.select, args.where.id, args.data, 'UpdateCompositeTypeInput', 'id', 'compositeTypePatch', input_types_1.connectionFieldsMap);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'CompositeType',
|
|
85
|
+
fieldName: 'updateCompositeType',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('CompositeType', 'deleteCompositeType', 'compositeType', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeleteCompositeTypeInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'CompositeType',
|
|
98
|
+
fieldName: 'deleteCompositeType',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.CompositeTypeModel = CompositeTypeModel;
|
|
@@ -25,6 +25,7 @@ export { EmbeddingChunkModel } from './embeddingChunk';
|
|
|
25
25
|
export { SchemaGrantModel } from './schemaGrant';
|
|
26
26
|
export { DefaultPrivilegeModel } from './defaultPrivilege';
|
|
27
27
|
export { EnumModel } from './enum';
|
|
28
|
+
export { CompositeTypeModel } from './compositeType';
|
|
28
29
|
export { ApiSchemaModel } from './apiSchema';
|
|
29
30
|
export { ApiModuleModel } from './apiModule';
|
|
30
31
|
export { DomainModel } from './domain';
|
package/api/orm/models/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AstMigrationModel = exports.WebauthnSettingModel = exports.DatabaseSettingModel = exports.SqlActionModel = exports.RlsSettingModel = exports.DatabaseModel = exports.PubkeySettingModel = exports.NodeTypeRegistryModel = exports.MigrateFileModel = exports.ApiSettingModel = exports.AppModel = exports.SiteModel = exports.ApiModel = exports.DatabaseTransferModel = exports.PartitionModel = exports.TriggerFunctionModel = exports.CorsSettingModel = exports.SiteThemeModel = exports.SiteModuleModel = exports.SiteMetadatumModel = exports.DomainModel = exports.ApiModuleModel = exports.ApiSchemaModel = exports.EnumModel = exports.DefaultPrivilegeModel = exports.SchemaGrantModel = exports.EmbeddingChunkModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewTableModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerModel = exports.TableGrantModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.IndexModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.SpatialRelationModel = exports.FieldModel = exports.CheckConstraintModel = exports.TableModel = exports.SchemaModel = exports.FunctionModel = void 0;
|
|
3
|
+
exports.AstMigrationModel = exports.WebauthnSettingModel = exports.DatabaseSettingModel = exports.SqlActionModel = exports.RlsSettingModel = exports.DatabaseModel = exports.PubkeySettingModel = exports.NodeTypeRegistryModel = exports.MigrateFileModel = exports.ApiSettingModel = exports.AppModel = exports.SiteModel = exports.ApiModel = exports.DatabaseTransferModel = exports.PartitionModel = exports.TriggerFunctionModel = exports.CorsSettingModel = exports.SiteThemeModel = exports.SiteModuleModel = exports.SiteMetadatumModel = exports.DomainModel = exports.ApiModuleModel = exports.ApiSchemaModel = exports.CompositeTypeModel = exports.EnumModel = exports.DefaultPrivilegeModel = exports.SchemaGrantModel = exports.EmbeddingChunkModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewTableModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerModel = exports.TableGrantModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.IndexModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.SpatialRelationModel = exports.FieldModel = exports.CheckConstraintModel = exports.TableModel = exports.SchemaModel = exports.FunctionModel = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Models barrel export
|
|
6
6
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -50,6 +50,8 @@ var defaultPrivilege_1 = require("./defaultPrivilege");
|
|
|
50
50
|
Object.defineProperty(exports, "DefaultPrivilegeModel", { enumerable: true, get: function () { return defaultPrivilege_1.DefaultPrivilegeModel; } });
|
|
51
51
|
var enum_1 = require("./enum");
|
|
52
52
|
Object.defineProperty(exports, "EnumModel", { enumerable: true, get: function () { return enum_1.EnumModel; } });
|
|
53
|
+
var compositeType_1 = require("./compositeType");
|
|
54
|
+
Object.defineProperty(exports, "CompositeTypeModel", { enumerable: true, get: function () { return compositeType_1.CompositeTypeModel; } });
|
|
53
55
|
var apiSchema_1 = require("./apiSchema");
|
|
54
56
|
Object.defineProperty(exports, "ApiSchemaModel", { enumerable: true, get: function () { return apiSchema_1.ApiSchemaModel; } });
|
|
55
57
|
var apiModule_1 = require("./apiModule");
|
package/auth/orm/index.d.ts
CHANGED
|
@@ -146,6 +146,16 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
146
146
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignInCrossOriginPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
147
147
|
signInCrossOrigin: import("./select-types").InferSelectResult<import("./input-types").SignInCrossOriginPayload, S> | null;
|
|
148
148
|
}>;
|
|
149
|
+
signInSmsOtp: <S extends import("./input-types").SignInSmsOtpPayloadSelect>(args: import("./mutation").SignInSmsOtpVariables, options: {
|
|
150
|
+
select: S;
|
|
151
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SignInSmsOtpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
152
|
+
signInSmsOtp: import("./select-types").InferSelectResult<import("./input-types").SignInSmsOtpPayload, S> | null;
|
|
153
|
+
}>;
|
|
154
|
+
signUpSms: <S extends import("./input-types").SignUpSmsPayloadSelect>(args: import("./mutation").SignUpSmsVariables, options: {
|
|
155
|
+
select: S;
|
|
156
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SignUpSmsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
157
|
+
signUpSms: import("./select-types").InferSelectResult<import("./input-types").SignUpSmsPayload, S> | null;
|
|
158
|
+
}>;
|
|
149
159
|
signUp: <S extends import("./input-types").SignUpPayloadSelect>(args: import("./mutation").SignUpVariables, options: {
|
|
150
160
|
select: S;
|
|
151
161
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignUpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -156,6 +166,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
156
166
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignInPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
157
167
|
signIn: import("./select-types").InferSelectResult<import("./input-types").SignInPayload, S> | null;
|
|
158
168
|
}>;
|
|
169
|
+
linkIdentity: <S extends import("./input-types").LinkIdentityPayloadSelect>(args: import("./mutation").LinkIdentityVariables, options: {
|
|
170
|
+
select: S;
|
|
171
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").LinkIdentityPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
172
|
+
linkIdentity: import("./select-types").InferSelectResult<import("./input-types").LinkIdentityPayload, S> | null;
|
|
173
|
+
}>;
|
|
159
174
|
extendTokenExpires: <S extends import("./input-types").ExtendTokenExpiresPayloadSelect>(args: import("./mutation").ExtendTokenExpiresVariables, options: {
|
|
160
175
|
select: S;
|
|
161
176
|
} & import("./select-types").StrictSelect<S, import("./input-types").ExtendTokenExpiresPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -359,7 +359,7 @@ export interface User {
|
|
|
359
359
|
searchTsvRank?: number | null;
|
|
360
360
|
/** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */
|
|
361
361
|
displayNameTrgmSimilarity?: number | null;
|
|
362
|
-
/** Composite search relevance score (0..1, higher = more relevant). Computed
|
|
362
|
+
/** Composite search relevance score (0..1, higher = more relevant). Computed using Reciprocal Rank Fusion (RRF) across all active search signals. Supports per-table weight customization via @searchConfig smart tag. Returns null when no search filters are active. */
|
|
363
363
|
searchScore?: number | null;
|
|
364
364
|
}
|
|
365
365
|
export interface ConnectionResult<T> {
|
|
@@ -1119,6 +1119,22 @@ export interface SignInCrossOriginInput {
|
|
|
1119
1119
|
token?: string;
|
|
1120
1120
|
credentialKind?: string;
|
|
1121
1121
|
}
|
|
1122
|
+
export interface SignInSmsOtpInput {
|
|
1123
|
+
clientMutationId?: string;
|
|
1124
|
+
phone?: string;
|
|
1125
|
+
code?: string;
|
|
1126
|
+
credentialKind?: string;
|
|
1127
|
+
rememberMe?: boolean;
|
|
1128
|
+
deviceToken?: string;
|
|
1129
|
+
}
|
|
1130
|
+
export interface SignUpSmsInput {
|
|
1131
|
+
clientMutationId?: string;
|
|
1132
|
+
phone?: string;
|
|
1133
|
+
code?: string;
|
|
1134
|
+
credentialKind?: string;
|
|
1135
|
+
rememberMe?: boolean;
|
|
1136
|
+
deviceToken?: string;
|
|
1137
|
+
}
|
|
1122
1138
|
export interface SignUpInput {
|
|
1123
1139
|
clientMutationId?: string;
|
|
1124
1140
|
email?: string;
|
|
@@ -1137,6 +1153,12 @@ export interface SignInInput {
|
|
|
1137
1153
|
csrfToken?: string;
|
|
1138
1154
|
deviceToken?: string;
|
|
1139
1155
|
}
|
|
1156
|
+
export interface LinkIdentityInput {
|
|
1157
|
+
clientMutationId?: string;
|
|
1158
|
+
service: string;
|
|
1159
|
+
identifier: string;
|
|
1160
|
+
details?: Record<string, unknown>;
|
|
1161
|
+
}
|
|
1140
1162
|
export interface ExtendTokenExpiresInput {
|
|
1141
1163
|
clientMutationId?: string;
|
|
1142
1164
|
amount?: IntervalInput;
|
|
@@ -1511,6 +1533,132 @@ export interface TrgmSearchInput {
|
|
|
1511
1533
|
/** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
|
|
1512
1534
|
threshold?: number;
|
|
1513
1535
|
}
|
|
1536
|
+
/** An input for mutations affecting `Email` */
|
|
1537
|
+
export interface EmailInput {
|
|
1538
|
+
id?: string;
|
|
1539
|
+
ownerId?: string;
|
|
1540
|
+
/** The email address */
|
|
1541
|
+
email: ConstructiveInternalTypeEmail;
|
|
1542
|
+
/** Whether the email address has been verified via confirmation link */
|
|
1543
|
+
isVerified?: boolean;
|
|
1544
|
+
/** Whether this is the user's primary email address */
|
|
1545
|
+
isPrimary?: boolean;
|
|
1546
|
+
/** Optional user-provided label for this email (e.g. "Work", "Personal"). */
|
|
1547
|
+
name?: string;
|
|
1548
|
+
createdAt?: string;
|
|
1549
|
+
updatedAt?: string;
|
|
1550
|
+
}
|
|
1551
|
+
/** An input for mutations affecting `PhoneNumber` */
|
|
1552
|
+
export interface PhoneNumberInput {
|
|
1553
|
+
id?: string;
|
|
1554
|
+
ownerId?: string;
|
|
1555
|
+
/** Country calling code (e.g. +1, +44) */
|
|
1556
|
+
cc: string;
|
|
1557
|
+
/** The phone number without country code */
|
|
1558
|
+
number: string;
|
|
1559
|
+
/** Whether the phone number has been verified via SMS code */
|
|
1560
|
+
isVerified?: boolean;
|
|
1561
|
+
/** Whether this is the user's primary phone number */
|
|
1562
|
+
isPrimary?: boolean;
|
|
1563
|
+
/** Optional user-provided label for this phone number (e.g. "Mobile", "Work"). */
|
|
1564
|
+
name?: string;
|
|
1565
|
+
createdAt?: string;
|
|
1566
|
+
updatedAt?: string;
|
|
1567
|
+
}
|
|
1568
|
+
/** An input for mutations affecting `CryptoAddress` */
|
|
1569
|
+
export interface CryptoAddressInput {
|
|
1570
|
+
id?: string;
|
|
1571
|
+
ownerId?: string;
|
|
1572
|
+
/** The cryptocurrency wallet address, validated against network-specific patterns */
|
|
1573
|
+
address: string;
|
|
1574
|
+
/** Whether ownership of this address has been cryptographically verified */
|
|
1575
|
+
isVerified?: boolean;
|
|
1576
|
+
/** Whether this is the user's primary cryptocurrency address */
|
|
1577
|
+
isPrimary?: boolean;
|
|
1578
|
+
/** Optional user-provided label for this address (e.g. "Main wallet", "Hardware wallet"). */
|
|
1579
|
+
name?: string;
|
|
1580
|
+
createdAt?: string;
|
|
1581
|
+
updatedAt?: string;
|
|
1582
|
+
}
|
|
1583
|
+
/** An input for mutations affecting `WebauthnCredential` */
|
|
1584
|
+
export interface WebauthnCredentialInput {
|
|
1585
|
+
id?: string;
|
|
1586
|
+
ownerId?: string;
|
|
1587
|
+
/** Base64url-encoded credential ID returned by the authenticator. Globally unique per WebAuthn spec. */
|
|
1588
|
+
credentialId: string;
|
|
1589
|
+
/** COSE-encoded public key bytes from the authenticator attestation. */
|
|
1590
|
+
publicKey: Base64EncodedBinary;
|
|
1591
|
+
/** Monotonic signature counter. Strict-increase check during sign-in detects cloned credentials. 0 means the authenticator does not implement a counter. */
|
|
1592
|
+
signCount?: string;
|
|
1593
|
+
/** Random per-user handle sent to authenticators as user.id. Privacy-preserving; NOT the internal user UUID. */
|
|
1594
|
+
webauthnUserId: string;
|
|
1595
|
+
/** Authenticator transport hints (e.g. usb, nfc, ble, internal, hybrid). Used to hint browser UI during sign-in. */
|
|
1596
|
+
transports?: string[];
|
|
1597
|
+
/** Either 'singleDevice' (hardware-bound) or 'multiDevice' (synced passkey). Enforced by CHECK constraint below. */
|
|
1598
|
+
credentialDeviceType: string;
|
|
1599
|
+
/** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */
|
|
1600
|
+
backupEligible?: boolean;
|
|
1601
|
+
/** Current backup state; updated on each successful sign-in assertion. */
|
|
1602
|
+
backupState?: boolean;
|
|
1603
|
+
/** User-provided label for this credential (e.g. "YubiKey 5C", "iPhone 15"). Renamed via rename_passkey. */
|
|
1604
|
+
name?: string;
|
|
1605
|
+
/** Timestamp of the most recent successful sign-in assertion using this credential. */
|
|
1606
|
+
lastUsedAt?: string;
|
|
1607
|
+
createdAt?: string;
|
|
1608
|
+
updatedAt?: string;
|
|
1609
|
+
}
|
|
1610
|
+
/** An input for mutations affecting `AuditLogAuth` */
|
|
1611
|
+
export interface AuditLogAuthInput {
|
|
1612
|
+
createdAt?: string;
|
|
1613
|
+
/** Unique identifier for each audit event (uuidv7 provides temporal ordering) */
|
|
1614
|
+
id?: string;
|
|
1615
|
+
/** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */
|
|
1616
|
+
event: string;
|
|
1617
|
+
/** User who performed the authentication action; NULL if user was deleted */
|
|
1618
|
+
actorId?: string;
|
|
1619
|
+
/** Request origin (domain) where the auth event occurred */
|
|
1620
|
+
origin?: ConstructiveInternalTypeOrigin;
|
|
1621
|
+
/** Browser or client user-agent string from the request */
|
|
1622
|
+
userAgent?: string;
|
|
1623
|
+
/** IP address of the client that initiated the auth event */
|
|
1624
|
+
ipAddress?: string;
|
|
1625
|
+
/** Whether the authentication attempt succeeded */
|
|
1626
|
+
success: boolean;
|
|
1627
|
+
}
|
|
1628
|
+
/** An input for mutations affecting `IdentityProvider` */
|
|
1629
|
+
export interface IdentityProviderInput {
|
|
1630
|
+
slug?: string;
|
|
1631
|
+
kind?: string;
|
|
1632
|
+
displayName?: string;
|
|
1633
|
+
enabled?: boolean;
|
|
1634
|
+
isBuiltIn?: boolean;
|
|
1635
|
+
}
|
|
1636
|
+
/** An input for mutations affecting `RoleType` */
|
|
1637
|
+
export interface RoleTypeInput {
|
|
1638
|
+
id: number;
|
|
1639
|
+
name: string;
|
|
1640
|
+
}
|
|
1641
|
+
/** An input for mutations affecting `UserConnectedAccount` */
|
|
1642
|
+
export interface UserConnectedAccountInput {
|
|
1643
|
+
id?: string;
|
|
1644
|
+
ownerId?: string;
|
|
1645
|
+
service?: string;
|
|
1646
|
+
identifier?: string;
|
|
1647
|
+
details?: Record<string, unknown>;
|
|
1648
|
+
isVerified?: boolean;
|
|
1649
|
+
createdAt?: string;
|
|
1650
|
+
updatedAt?: string;
|
|
1651
|
+
}
|
|
1652
|
+
/** An input for mutations affecting `User` */
|
|
1653
|
+
export interface UserInput {
|
|
1654
|
+
id?: string;
|
|
1655
|
+
username?: string;
|
|
1656
|
+
displayName?: string;
|
|
1657
|
+
profilePicture?: ConstructiveInternalTypeImage;
|
|
1658
|
+
type?: number;
|
|
1659
|
+
createdAt?: string;
|
|
1660
|
+
updatedAt?: string;
|
|
1661
|
+
}
|
|
1514
1662
|
/** An interval of time that has passed where the smallest distinct unit is a second. */
|
|
1515
1663
|
export interface IntervalInput {
|
|
1516
1664
|
/**
|
|
@@ -2157,6 +2305,26 @@ export type SignInCrossOriginPayloadSelect = {
|
|
|
2157
2305
|
select: SignInCrossOriginRecordSelect;
|
|
2158
2306
|
};
|
|
2159
2307
|
};
|
|
2308
|
+
export interface SignInSmsOtpPayload {
|
|
2309
|
+
clientMutationId?: string | null;
|
|
2310
|
+
result?: SignInSmsOtpRecord | null;
|
|
2311
|
+
}
|
|
2312
|
+
export type SignInSmsOtpPayloadSelect = {
|
|
2313
|
+
clientMutationId?: boolean;
|
|
2314
|
+
result?: {
|
|
2315
|
+
select: SignInSmsOtpRecordSelect;
|
|
2316
|
+
};
|
|
2317
|
+
};
|
|
2318
|
+
export interface SignUpSmsPayload {
|
|
2319
|
+
clientMutationId?: string | null;
|
|
2320
|
+
result?: SignUpSmsRecord | null;
|
|
2321
|
+
}
|
|
2322
|
+
export type SignUpSmsPayloadSelect = {
|
|
2323
|
+
clientMutationId?: boolean;
|
|
2324
|
+
result?: {
|
|
2325
|
+
select: SignUpSmsRecordSelect;
|
|
2326
|
+
};
|
|
2327
|
+
};
|
|
2160
2328
|
export interface SignUpPayload {
|
|
2161
2329
|
clientMutationId?: string | null;
|
|
2162
2330
|
result?: SignUpRecord | null;
|
|
@@ -2177,6 +2345,14 @@ export type SignInPayloadSelect = {
|
|
|
2177
2345
|
select: SignInRecordSelect;
|
|
2178
2346
|
};
|
|
2179
2347
|
};
|
|
2348
|
+
export interface LinkIdentityPayload {
|
|
2349
|
+
clientMutationId?: string | null;
|
|
2350
|
+
result?: boolean | null;
|
|
2351
|
+
}
|
|
2352
|
+
export type LinkIdentityPayloadSelect = {
|
|
2353
|
+
clientMutationId?: boolean;
|
|
2354
|
+
result?: boolean;
|
|
2355
|
+
};
|
|
2180
2356
|
export interface ExtendTokenExpiresPayload {
|
|
2181
2357
|
clientMutationId?: string | null;
|
|
2182
2358
|
result?: ExtendTokenExpiresRecord[] | null;
|
|
@@ -2594,6 +2770,26 @@ export type SignInCrossOriginRecordSelect = {
|
|
|
2594
2770
|
isVerified?: boolean;
|
|
2595
2771
|
totpEnabled?: boolean;
|
|
2596
2772
|
};
|
|
2773
|
+
export interface SignInSmsOtpRecord {
|
|
2774
|
+
userId?: string | null;
|
|
2775
|
+
accessToken?: string | null;
|
|
2776
|
+
accessTokenExpiresAt?: string | null;
|
|
2777
|
+
}
|
|
2778
|
+
export type SignInSmsOtpRecordSelect = {
|
|
2779
|
+
userId?: boolean;
|
|
2780
|
+
accessToken?: boolean;
|
|
2781
|
+
accessTokenExpiresAt?: boolean;
|
|
2782
|
+
};
|
|
2783
|
+
export interface SignUpSmsRecord {
|
|
2784
|
+
userId?: string | null;
|
|
2785
|
+
accessToken?: string | null;
|
|
2786
|
+
accessTokenExpiresAt?: string | null;
|
|
2787
|
+
}
|
|
2788
|
+
export type SignUpSmsRecordSelect = {
|
|
2789
|
+
userId?: boolean;
|
|
2790
|
+
accessToken?: boolean;
|
|
2791
|
+
accessTokenExpiresAt?: boolean;
|
|
2792
|
+
};
|
|
2597
2793
|
export interface SignUpRecord {
|
|
2598
2794
|
id?: string | null;
|
|
2599
2795
|
userId?: string | null;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { SignOutInput, SendAccountDeletionEmailInput, CheckPasswordInput, DisconnectAccountInput, RevokeApiKeyInput, RevokeSessionInput, VerifyPasswordInput, VerifyTotpInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, ProvisionNewUserInput, ResetPasswordInput, SignInCrossOriginInput, SignUpInput, SignInInput, ExtendTokenExpiresInput, CreateApiKeyInput, RequestCrossOriginTokenInput, ForgotPasswordInput, SendVerificationEmailInput, ProvisionBucketInput, SignOutPayload, SendAccountDeletionEmailPayload, CheckPasswordPayload, DisconnectAccountPayload, RevokeApiKeyPayload, RevokeSessionPayload, VerifyPasswordPayload, VerifyTotpPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, ProvisionNewUserPayload, ResetPasswordPayload, SignInCrossOriginPayload, SignUpPayload, SignInPayload, ExtendTokenExpiresPayload, CreateApiKeyPayload, RequestCrossOriginTokenPayload, ForgotPasswordPayload, SendVerificationEmailPayload, ProvisionBucketPayload, SignOutPayloadSelect, SendAccountDeletionEmailPayloadSelect, CheckPasswordPayloadSelect, DisconnectAccountPayloadSelect, RevokeApiKeyPayloadSelect, RevokeSessionPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, ProvisionNewUserPayloadSelect, ResetPasswordPayloadSelect, SignInCrossOriginPayloadSelect, SignUpPayloadSelect, SignInPayloadSelect, ExtendTokenExpiresPayloadSelect, CreateApiKeyPayloadSelect, RequestCrossOriginTokenPayloadSelect, ForgotPasswordPayloadSelect, SendVerificationEmailPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
9
|
+
import type { SignOutInput, SendAccountDeletionEmailInput, CheckPasswordInput, DisconnectAccountInput, RevokeApiKeyInput, RevokeSessionInput, VerifyPasswordInput, VerifyTotpInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, ProvisionNewUserInput, ResetPasswordInput, SignInCrossOriginInput, SignInSmsOtpInput, SignUpSmsInput, SignUpInput, SignInInput, LinkIdentityInput, ExtendTokenExpiresInput, CreateApiKeyInput, RequestCrossOriginTokenInput, ForgotPasswordInput, SendVerificationEmailInput, ProvisionBucketInput, SignOutPayload, SendAccountDeletionEmailPayload, CheckPasswordPayload, DisconnectAccountPayload, RevokeApiKeyPayload, RevokeSessionPayload, VerifyPasswordPayload, VerifyTotpPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, ProvisionNewUserPayload, ResetPasswordPayload, SignInCrossOriginPayload, SignInSmsOtpPayload, SignUpSmsPayload, SignUpPayload, SignInPayload, LinkIdentityPayload, ExtendTokenExpiresPayload, CreateApiKeyPayload, RequestCrossOriginTokenPayload, ForgotPasswordPayload, SendVerificationEmailPayload, ProvisionBucketPayload, SignOutPayloadSelect, SendAccountDeletionEmailPayloadSelect, CheckPasswordPayloadSelect, DisconnectAccountPayloadSelect, RevokeApiKeyPayloadSelect, RevokeSessionPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, ProvisionNewUserPayloadSelect, ResetPasswordPayloadSelect, SignInCrossOriginPayloadSelect, SignInSmsOtpPayloadSelect, SignUpSmsPayloadSelect, SignUpPayloadSelect, SignInPayloadSelect, LinkIdentityPayloadSelect, ExtendTokenExpiresPayloadSelect, CreateApiKeyPayloadSelect, RequestCrossOriginTokenPayloadSelect, ForgotPasswordPayloadSelect, SendVerificationEmailPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SignOutVariables {
|
|
11
11
|
input: SignOutInput;
|
|
12
12
|
}
|
|
@@ -49,12 +49,21 @@ export interface ResetPasswordVariables {
|
|
|
49
49
|
export interface SignInCrossOriginVariables {
|
|
50
50
|
input: SignInCrossOriginInput;
|
|
51
51
|
}
|
|
52
|
+
export interface SignInSmsOtpVariables {
|
|
53
|
+
input: SignInSmsOtpInput;
|
|
54
|
+
}
|
|
55
|
+
export interface SignUpSmsVariables {
|
|
56
|
+
input: SignUpSmsInput;
|
|
57
|
+
}
|
|
52
58
|
export interface SignUpVariables {
|
|
53
59
|
input: SignUpInput;
|
|
54
60
|
}
|
|
55
61
|
export interface SignInVariables {
|
|
56
62
|
input: SignInInput;
|
|
57
63
|
}
|
|
64
|
+
export interface LinkIdentityVariables {
|
|
65
|
+
input: LinkIdentityInput;
|
|
66
|
+
}
|
|
58
67
|
export interface ExtendTokenExpiresVariables {
|
|
59
68
|
input: ExtendTokenExpiresInput;
|
|
60
69
|
}
|
|
@@ -151,6 +160,16 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
151
160
|
} & StrictSelect<S, SignInCrossOriginPayloadSelect>) => QueryBuilder<{
|
|
152
161
|
signInCrossOrigin: InferSelectResult<SignInCrossOriginPayload, S> | null;
|
|
153
162
|
}>;
|
|
163
|
+
signInSmsOtp: <S extends SignInSmsOtpPayloadSelect>(args: SignInSmsOtpVariables, options: {
|
|
164
|
+
select: S;
|
|
165
|
+
} & StrictSelect<S, SignInSmsOtpPayloadSelect>) => QueryBuilder<{
|
|
166
|
+
signInSmsOtp: InferSelectResult<SignInSmsOtpPayload, S> | null;
|
|
167
|
+
}>;
|
|
168
|
+
signUpSms: <S extends SignUpSmsPayloadSelect>(args: SignUpSmsVariables, options: {
|
|
169
|
+
select: S;
|
|
170
|
+
} & StrictSelect<S, SignUpSmsPayloadSelect>) => QueryBuilder<{
|
|
171
|
+
signUpSms: InferSelectResult<SignUpSmsPayload, S> | null;
|
|
172
|
+
}>;
|
|
154
173
|
signUp: <S extends SignUpPayloadSelect>(args: SignUpVariables, options: {
|
|
155
174
|
select: S;
|
|
156
175
|
} & StrictSelect<S, SignUpPayloadSelect>) => QueryBuilder<{
|
|
@@ -161,6 +180,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
161
180
|
} & StrictSelect<S, SignInPayloadSelect>) => QueryBuilder<{
|
|
162
181
|
signIn: InferSelectResult<SignInPayload, S> | null;
|
|
163
182
|
}>;
|
|
183
|
+
linkIdentity: <S extends LinkIdentityPayloadSelect>(args: LinkIdentityVariables, options: {
|
|
184
|
+
select: S;
|
|
185
|
+
} & StrictSelect<S, LinkIdentityPayloadSelect>) => QueryBuilder<{
|
|
186
|
+
linkIdentity: InferSelectResult<LinkIdentityPayload, S> | null;
|
|
187
|
+
}>;
|
|
164
188
|
extendTokenExpires: <S extends ExtendTokenExpiresPayloadSelect>(args: ExtendTokenExpiresVariables, options: {
|
|
165
189
|
select: S;
|
|
166
190
|
} & StrictSelect<S, ExtendTokenExpiresPayloadSelect>) => QueryBuilder<{
|
|
@@ -173,6 +173,30 @@ function createMutationOperations(client) {
|
|
|
173
173
|
},
|
|
174
174
|
], input_types_1.connectionFieldsMap, 'SignInCrossOriginPayload'),
|
|
175
175
|
}),
|
|
176
|
+
signInSmsOtp: (args, options) => new query_builder_1.QueryBuilder({
|
|
177
|
+
client,
|
|
178
|
+
operation: 'mutation',
|
|
179
|
+
operationName: 'SignInSmsOtp',
|
|
180
|
+
fieldName: 'signInSmsOtp',
|
|
181
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SignInSmsOtp', 'signInSmsOtp', options.select, args, [
|
|
182
|
+
{
|
|
183
|
+
name: 'input',
|
|
184
|
+
type: 'SignInSmsOtpInput!',
|
|
185
|
+
},
|
|
186
|
+
], input_types_1.connectionFieldsMap, 'SignInSmsOtpPayload'),
|
|
187
|
+
}),
|
|
188
|
+
signUpSms: (args, options) => new query_builder_1.QueryBuilder({
|
|
189
|
+
client,
|
|
190
|
+
operation: 'mutation',
|
|
191
|
+
operationName: 'SignUpSms',
|
|
192
|
+
fieldName: 'signUpSms',
|
|
193
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SignUpSms', 'signUpSms', options.select, args, [
|
|
194
|
+
{
|
|
195
|
+
name: 'input',
|
|
196
|
+
type: 'SignUpSmsInput!',
|
|
197
|
+
},
|
|
198
|
+
], input_types_1.connectionFieldsMap, 'SignUpSmsPayload'),
|
|
199
|
+
}),
|
|
176
200
|
signUp: (args, options) => new query_builder_1.QueryBuilder({
|
|
177
201
|
client,
|
|
178
202
|
operation: 'mutation',
|
|
@@ -197,6 +221,18 @@ function createMutationOperations(client) {
|
|
|
197
221
|
},
|
|
198
222
|
], input_types_1.connectionFieldsMap, 'SignInPayload'),
|
|
199
223
|
}),
|
|
224
|
+
linkIdentity: (args, options) => new query_builder_1.QueryBuilder({
|
|
225
|
+
client,
|
|
226
|
+
operation: 'mutation',
|
|
227
|
+
operationName: 'LinkIdentity',
|
|
228
|
+
fieldName: 'linkIdentity',
|
|
229
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'LinkIdentity', 'linkIdentity', options.select, args, [
|
|
230
|
+
{
|
|
231
|
+
name: 'input',
|
|
232
|
+
type: 'LinkIdentityInput!',
|
|
233
|
+
},
|
|
234
|
+
], input_types_1.connectionFieldsMap, 'LinkIdentityPayload'),
|
|
235
|
+
}),
|
|
200
236
|
extendTokenExpires: (args, options) => new query_builder_1.QueryBuilder({
|
|
201
237
|
client,
|
|
202
238
|
operation: 'mutation',
|
package/esm/admin/orm/index.d.ts
CHANGED
|
@@ -2,10 +2,14 @@ import type { OrmClientConfig } from './client';
|
|
|
2
2
|
import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord';
|
|
3
3
|
import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord';
|
|
4
4
|
import { AppPermissionModel } from './models/appPermission';
|
|
5
|
+
import { AppPermissionDefaultGrantModel } from './models/appPermissionDefaultGrant';
|
|
5
6
|
import { OrgPermissionModel } from './models/orgPermission';
|
|
7
|
+
import { OrgPermissionDefaultPermissionModel } from './models/orgPermissionDefaultPermission';
|
|
8
|
+
import { OrgPermissionDefaultGrantModel } from './models/orgPermissionDefaultGrant';
|
|
6
9
|
import { OrgMemberModel } from './models/orgMember';
|
|
7
10
|
import { AppPermissionDefaultModel } from './models/appPermissionDefault';
|
|
8
11
|
import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
|
|
12
|
+
import { AppPermissionDefaultPermissionModel } from './models/appPermissionDefaultPermission';
|
|
9
13
|
import { AppAdminGrantModel } from './models/appAdminGrant';
|
|
10
14
|
import { AppOwnerGrantModel } from './models/appOwnerGrant';
|
|
11
15
|
import { OrgAdminGrantModel } from './models/orgAdminGrant';
|
|
@@ -21,9 +25,9 @@ import { OrgGrantModel } from './models/orgGrant';
|
|
|
21
25
|
import { OrgChartEdgeModel } from './models/orgChartEdge';
|
|
22
26
|
import { OrgMembershipSettingModel } from './models/orgMembershipSetting';
|
|
23
27
|
import { AppMembershipModel } from './models/appMembership';
|
|
24
|
-
import { AppInviteModel } from './models/appInvite';
|
|
25
28
|
import { OrgMembershipModel } from './models/orgMembership';
|
|
26
29
|
import { OrgMemberProfileModel } from './models/orgMemberProfile';
|
|
30
|
+
import { AppInviteModel } from './models/appInvite';
|
|
27
31
|
import { OrgInviteModel } from './models/orgInvite';
|
|
28
32
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
29
33
|
export { GraphQLRequestError, FetchAdapter } from './client';
|
|
@@ -59,10 +63,14 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
59
63
|
orgGetManagersRecord: OrgGetManagersRecordModel;
|
|
60
64
|
orgGetSubordinatesRecord: OrgGetSubordinatesRecordModel;
|
|
61
65
|
appPermission: AppPermissionModel;
|
|
66
|
+
appPermissionDefaultGrant: AppPermissionDefaultGrantModel;
|
|
62
67
|
orgPermission: OrgPermissionModel;
|
|
68
|
+
orgPermissionDefaultPermission: OrgPermissionDefaultPermissionModel;
|
|
69
|
+
orgPermissionDefaultGrant: OrgPermissionDefaultGrantModel;
|
|
63
70
|
orgMember: OrgMemberModel;
|
|
64
71
|
appPermissionDefault: AppPermissionDefaultModel;
|
|
65
72
|
orgPermissionDefault: OrgPermissionDefaultModel;
|
|
73
|
+
appPermissionDefaultPermission: AppPermissionDefaultPermissionModel;
|
|
66
74
|
appAdminGrant: AppAdminGrantModel;
|
|
67
75
|
appOwnerGrant: AppOwnerGrantModel;
|
|
68
76
|
orgAdminGrant: OrgAdminGrantModel;
|
|
@@ -78,9 +86,9 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
78
86
|
orgChartEdge: OrgChartEdgeModel;
|
|
79
87
|
orgMembershipSetting: OrgMembershipSettingModel;
|
|
80
88
|
appMembership: AppMembershipModel;
|
|
81
|
-
appInvite: AppInviteModel;
|
|
82
89
|
orgMembership: OrgMembershipModel;
|
|
83
90
|
orgMemberProfile: OrgMemberProfileModel;
|
|
91
|
+
appInvite: AppInviteModel;
|
|
84
92
|
orgInvite: OrgInviteModel;
|
|
85
93
|
query: {
|
|
86
94
|
appPermissionsGetPaddedMask: (args: import("./query").AppPermissionsGetPaddedMaskVariables, options?: {
|