@constructive-io/sdk 0.20.4 → 0.20.5
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 +24 -11
- package/admin/orm/index.js +24 -6
- package/admin/orm/input-types.d.ts +2108 -545
- package/admin/orm/input-types.js +13 -1
- package/admin/orm/models/appLimitCap.d.ts +56 -0
- package/admin/orm/models/appLimitCap.js +100 -0
- package/admin/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/admin/orm/models/appLimitCapsDefault.js +100 -0
- package/admin/orm/models/appLimitCredit.d.ts +56 -0
- package/admin/orm/models/appLimitCredit.js +100 -0
- package/admin/orm/models/appLimitCreditCode.d.ts +56 -0
- package/admin/orm/models/appLimitCreditCode.js +100 -0
- package/admin/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/admin/orm/models/appLimitCreditCodeItem.js +100 -0
- package/admin/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/admin/orm/models/appLimitCreditRedemption.js +100 -0
- package/admin/orm/models/index.d.ts +12 -3
- package/admin/orm/models/index.js +25 -7
- package/admin/orm/models/orgLimitCap.d.ts +56 -0
- package/admin/orm/models/orgLimitCap.js +100 -0
- package/admin/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/admin/orm/models/orgLimitCapsDefault.js +100 -0
- package/admin/orm/models/orgLimitCredit.d.ts +56 -0
- package/admin/orm/models/orgLimitCredit.js +100 -0
- package/admin/orm/mutation/index.d.ts +1 -16
- package/admin/orm/mutation/index.js +0 -12
- package/admin/orm/query-builder.js +24 -0
- package/auth/orm/index.d.ts +0 -5
- package/auth/orm/input-types.d.ts +0 -38
- package/auth/orm/mutation/index.d.ts +1 -16
- package/auth/orm/mutation/index.js +0 -12
- package/auth/orm/query-builder.js +24 -0
- package/esm/admin/orm/index.d.ts +24 -11
- package/esm/admin/orm/index.js +24 -6
- package/esm/admin/orm/input-types.d.ts +2108 -545
- package/esm/admin/orm/input-types.js +13 -1
- package/esm/admin/orm/models/appLimitCap.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCap.js +96 -0
- package/esm/admin/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCapsDefault.js +96 -0
- package/esm/admin/orm/models/appLimitCredit.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCredit.js +96 -0
- package/esm/admin/orm/models/appLimitCreditCode.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCreditCode.js +96 -0
- package/esm/admin/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCreditCodeItem.js +96 -0
- package/esm/admin/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCreditRedemption.js +96 -0
- package/esm/admin/orm/models/index.d.ts +12 -3
- package/esm/admin/orm/models/index.js +12 -3
- package/esm/admin/orm/models/orgLimitCap.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitCap.js +96 -0
- package/esm/admin/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitCapsDefault.js +96 -0
- package/esm/admin/orm/models/orgLimitCredit.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitCredit.js +96 -0
- package/esm/admin/orm/mutation/index.d.ts +1 -16
- package/esm/admin/orm/mutation/index.js +0 -12
- package/esm/admin/orm/query-builder.js +24 -0
- package/esm/auth/orm/index.d.ts +0 -5
- package/esm/auth/orm/input-types.d.ts +0 -38
- package/esm/auth/orm/mutation/index.d.ts +1 -16
- package/esm/auth/orm/mutation/index.js +0 -12
- package/esm/auth/orm/query-builder.js +24 -0
- package/esm/objects/orm/index.d.ts +0 -5
- package/esm/objects/orm/input-types.d.ts +0 -38
- package/esm/objects/orm/mutation/index.d.ts +1 -16
- package/esm/objects/orm/mutation/index.js +0 -12
- package/esm/objects/orm/query-builder.js +24 -0
- package/esm/public/orm/index.d.ts +43 -7
- package/esm/public/orm/index.js +38 -2
- package/esm/public/orm/input-types.d.ts +4601 -321
- package/esm/public/orm/input-types.js +21 -0
- package/esm/public/orm/models/apiSetting.d.ts +56 -0
- package/esm/public/orm/models/apiSetting.js +96 -0
- package/esm/public/orm/models/appLimitCap.d.ts +56 -0
- package/esm/public/orm/models/appLimitCap.js +96 -0
- package/esm/public/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/esm/public/orm/models/appLimitCapsDefault.js +96 -0
- package/esm/public/orm/models/appLimitCredit.d.ts +56 -0
- package/esm/public/orm/models/appLimitCredit.js +96 -0
- package/esm/public/orm/models/appLimitCreditCode.d.ts +56 -0
- package/esm/public/orm/models/appLimitCreditCode.js +96 -0
- package/esm/public/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/esm/public/orm/models/appLimitCreditCodeItem.js +96 -0
- package/esm/public/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/esm/public/orm/models/appLimitCreditRedemption.js +96 -0
- package/esm/public/orm/models/billingProviderModule.d.ts +56 -0
- package/esm/public/orm/models/billingProviderModule.js +96 -0
- package/esm/public/orm/models/corsSetting.d.ts +56 -0
- package/esm/public/orm/models/corsSetting.js +96 -0
- package/esm/public/orm/models/databaseSetting.d.ts +56 -0
- package/esm/public/orm/models/databaseSetting.js +96 -0
- package/esm/public/orm/models/function.d.ts +56 -0
- package/esm/public/orm/models/function.js +96 -0
- package/esm/public/orm/models/index.d.ts +19 -1
- package/esm/public/orm/models/index.js +19 -1
- package/esm/public/orm/models/orgLimitCap.d.ts +56 -0
- package/esm/public/orm/models/orgLimitCap.js +96 -0
- package/esm/public/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/esm/public/orm/models/orgLimitCapsDefault.js +96 -0
- package/esm/public/orm/models/orgLimitCredit.d.ts +56 -0
- package/esm/public/orm/models/orgLimitCredit.js +96 -0
- package/esm/public/orm/models/partition.d.ts +56 -0
- package/esm/public/orm/models/partition.js +96 -0
- package/esm/public/orm/models/pubkeySetting.d.ts +56 -0
- package/esm/public/orm/models/pubkeySetting.js +96 -0
- package/esm/public/orm/models/rlsSetting.d.ts +56 -0
- package/esm/public/orm/models/rlsSetting.js +96 -0
- package/esm/public/orm/models/webauthnSetting.d.ts +56 -0
- package/esm/public/orm/models/webauthnSetting.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +9 -16
- package/esm/public/orm/mutation/index.js +12 -12
- package/esm/public/orm/query-builder.js +24 -0
- package/objects/orm/index.d.ts +0 -5
- package/objects/orm/input-types.d.ts +0 -38
- package/objects/orm/mutation/index.d.ts +1 -16
- package/objects/orm/mutation/index.js +0 -12
- package/objects/orm/query-builder.js +24 -0
- package/package.json +4 -4
- package/public/orm/index.d.ts +43 -7
- package/public/orm/index.js +38 -2
- package/public/orm/input-types.d.ts +4601 -321
- package/public/orm/input-types.js +21 -0
- package/public/orm/models/apiSetting.d.ts +56 -0
- package/public/orm/models/apiSetting.js +100 -0
- package/public/orm/models/appLimitCap.d.ts +56 -0
- package/public/orm/models/appLimitCap.js +100 -0
- package/public/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/public/orm/models/appLimitCapsDefault.js +100 -0
- package/public/orm/models/appLimitCredit.d.ts +56 -0
- package/public/orm/models/appLimitCredit.js +100 -0
- package/public/orm/models/appLimitCreditCode.d.ts +56 -0
- package/public/orm/models/appLimitCreditCode.js +100 -0
- package/public/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/public/orm/models/appLimitCreditCodeItem.js +100 -0
- package/public/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/public/orm/models/appLimitCreditRedemption.js +100 -0
- package/public/orm/models/billingProviderModule.d.ts +56 -0
- package/public/orm/models/billingProviderModule.js +100 -0
- package/public/orm/models/corsSetting.d.ts +56 -0
- package/public/orm/models/corsSetting.js +100 -0
- package/public/orm/models/databaseSetting.d.ts +56 -0
- package/public/orm/models/databaseSetting.js +100 -0
- package/public/orm/models/function.d.ts +56 -0
- package/public/orm/models/function.js +100 -0
- package/public/orm/models/index.d.ts +19 -1
- package/public/orm/models/index.js +41 -5
- package/public/orm/models/orgLimitCap.d.ts +56 -0
- package/public/orm/models/orgLimitCap.js +100 -0
- package/public/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/public/orm/models/orgLimitCapsDefault.js +100 -0
- package/public/orm/models/orgLimitCredit.d.ts +56 -0
- package/public/orm/models/orgLimitCredit.js +100 -0
- package/public/orm/models/partition.d.ts +56 -0
- package/public/orm/models/partition.js +100 -0
- package/public/orm/models/pubkeySetting.d.ts +56 -0
- package/public/orm/models/pubkeySetting.js +100 -0
- package/public/orm/models/rlsSetting.d.ts +56 -0
- package/public/orm/models/rlsSetting.js +100 -0
- package/public/orm/models/webauthnSetting.d.ts +56 -0
- package/public/orm/models/webauthnSetting.js +100 -0
- package/public/orm/mutation/index.d.ts +9 -16
- package/public/orm/mutation/index.js +12 -12
- package/public/orm/query-builder.js +24 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgLimitCapsDefaultModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class OrgLimitCapsDefaultModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgLimitCapsDefault', 'orgLimitCapsDefaults', 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
|
+
}, 'OrgLimitCapsDefaultFilter', 'OrgLimitCapsDefaultOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'OrgLimitCapsDefault',
|
|
25
|
+
fieldName: 'orgLimitCapsDefaults',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('OrgLimitCapsDefault', 'orgLimitCapsDefaults', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
}, 'OrgLimitCapsDefaultFilter', input_types_1.connectionFieldsMap);
|
|
34
|
+
return new query_builder_1.QueryBuilder({
|
|
35
|
+
client: this.client,
|
|
36
|
+
operation: 'query',
|
|
37
|
+
operationName: 'OrgLimitCapsDefault',
|
|
38
|
+
fieldName: 'orgLimitCapsDefaults',
|
|
39
|
+
document,
|
|
40
|
+
variables,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
findOne(args) {
|
|
44
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgLimitCapsDefault', 'orgLimitCapsDefaults', args.select, {
|
|
45
|
+
where: {
|
|
46
|
+
id: {
|
|
47
|
+
equalTo: args.id,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
first: 1,
|
|
51
|
+
}, 'OrgLimitCapsDefaultFilter', 'OrgLimitCapsDefaultOrderBy', input_types_1.connectionFieldsMap);
|
|
52
|
+
return new query_builder_1.QueryBuilder({
|
|
53
|
+
client: this.client,
|
|
54
|
+
operation: 'query',
|
|
55
|
+
operationName: 'OrgLimitCapsDefault',
|
|
56
|
+
fieldName: 'orgLimitCapsDefault',
|
|
57
|
+
document,
|
|
58
|
+
variables,
|
|
59
|
+
transform: (data) => ({
|
|
60
|
+
orgLimitCapsDefault: data.orgLimitCapsDefaults?.nodes?.[0] ?? null,
|
|
61
|
+
}),
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
create(args) {
|
|
65
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('OrgLimitCapsDefault', 'createOrgLimitCapsDefault', 'orgLimitCapsDefault', args.select, args.data, 'CreateOrgLimitCapsDefaultInput', input_types_1.connectionFieldsMap);
|
|
66
|
+
return new query_builder_1.QueryBuilder({
|
|
67
|
+
client: this.client,
|
|
68
|
+
operation: 'mutation',
|
|
69
|
+
operationName: 'OrgLimitCapsDefault',
|
|
70
|
+
fieldName: 'createOrgLimitCapsDefault',
|
|
71
|
+
document,
|
|
72
|
+
variables,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
update(args) {
|
|
76
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('OrgLimitCapsDefault', 'updateOrgLimitCapsDefault', 'orgLimitCapsDefault', args.select, args.where.id, args.data, 'UpdateOrgLimitCapsDefaultInput', 'id', 'orgLimitCapsDefaultPatch', input_types_1.connectionFieldsMap);
|
|
77
|
+
return new query_builder_1.QueryBuilder({
|
|
78
|
+
client: this.client,
|
|
79
|
+
operation: 'mutation',
|
|
80
|
+
operationName: 'OrgLimitCapsDefault',
|
|
81
|
+
fieldName: 'updateOrgLimitCapsDefault',
|
|
82
|
+
document,
|
|
83
|
+
variables,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
delete(args) {
|
|
87
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('OrgLimitCapsDefault', 'deleteOrgLimitCapsDefault', 'orgLimitCapsDefault', {
|
|
88
|
+
id: args.where.id,
|
|
89
|
+
}, 'DeleteOrgLimitCapsDefaultInput', args.select, input_types_1.connectionFieldsMap);
|
|
90
|
+
return new query_builder_1.QueryBuilder({
|
|
91
|
+
client: this.client,
|
|
92
|
+
operation: 'mutation',
|
|
93
|
+
operationName: 'OrgLimitCapsDefault',
|
|
94
|
+
fieldName: 'deleteOrgLimitCapsDefault',
|
|
95
|
+
document,
|
|
96
|
+
variables,
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.OrgLimitCapsDefaultModel = OrgLimitCapsDefaultModel;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OrgLimitCredit 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 { OrgLimitCreditWithRelations, OrgLimitCreditSelect, OrgLimitCreditFilter, OrgLimitCreditOrderBy, CreateOrgLimitCreditInput, OrgLimitCreditPatch } from '../input-types';
|
|
10
|
+
export declare class OrgLimitCreditModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends OrgLimitCreditSelect>(args: FindManyArgs<S, OrgLimitCreditFilter, OrgLimitCreditOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, OrgLimitCreditSelect>): QueryBuilder<{
|
|
16
|
+
orgLimitCredits: ConnectionResult<InferSelectResult<OrgLimitCreditWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends OrgLimitCreditSelect>(args: FindFirstArgs<S, OrgLimitCreditFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, OrgLimitCreditSelect>): QueryBuilder<{
|
|
21
|
+
orgLimitCredits: {
|
|
22
|
+
nodes: InferSelectResult<OrgLimitCreditWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends OrgLimitCreditSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, OrgLimitCreditSelect>): QueryBuilder<{
|
|
29
|
+
orgLimitCredit: InferSelectResult<OrgLimitCreditWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends OrgLimitCreditSelect>(args: CreateArgs<S, CreateOrgLimitCreditInput['orgLimitCredit']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, OrgLimitCreditSelect>): QueryBuilder<{
|
|
34
|
+
createOrgLimitCredit: {
|
|
35
|
+
orgLimitCredit: InferSelectResult<OrgLimitCreditWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends OrgLimitCreditSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, OrgLimitCreditPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, OrgLimitCreditSelect>): QueryBuilder<{
|
|
43
|
+
updateOrgLimitCredit: {
|
|
44
|
+
orgLimitCredit: InferSelectResult<OrgLimitCreditWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends OrgLimitCreditSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, OrgLimitCreditSelect>): QueryBuilder<{
|
|
52
|
+
deleteOrgLimitCredit: {
|
|
53
|
+
orgLimitCredit: InferSelectResult<OrgLimitCreditWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgLimitCreditModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class OrgLimitCreditModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgLimitCredit', 'orgLimitCredits', 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
|
+
}, 'OrgLimitCreditFilter', 'OrgLimitCreditOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'OrgLimitCredit',
|
|
25
|
+
fieldName: 'orgLimitCredits',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('OrgLimitCredit', 'orgLimitCredits', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
}, 'OrgLimitCreditFilter', input_types_1.connectionFieldsMap);
|
|
34
|
+
return new query_builder_1.QueryBuilder({
|
|
35
|
+
client: this.client,
|
|
36
|
+
operation: 'query',
|
|
37
|
+
operationName: 'OrgLimitCredit',
|
|
38
|
+
fieldName: 'orgLimitCredits',
|
|
39
|
+
document,
|
|
40
|
+
variables,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
findOne(args) {
|
|
44
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgLimitCredit', 'orgLimitCredits', args.select, {
|
|
45
|
+
where: {
|
|
46
|
+
id: {
|
|
47
|
+
equalTo: args.id,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
first: 1,
|
|
51
|
+
}, 'OrgLimitCreditFilter', 'OrgLimitCreditOrderBy', input_types_1.connectionFieldsMap);
|
|
52
|
+
return new query_builder_1.QueryBuilder({
|
|
53
|
+
client: this.client,
|
|
54
|
+
operation: 'query',
|
|
55
|
+
operationName: 'OrgLimitCredit',
|
|
56
|
+
fieldName: 'orgLimitCredit',
|
|
57
|
+
document,
|
|
58
|
+
variables,
|
|
59
|
+
transform: (data) => ({
|
|
60
|
+
orgLimitCredit: data.orgLimitCredits?.nodes?.[0] ?? null,
|
|
61
|
+
}),
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
create(args) {
|
|
65
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('OrgLimitCredit', 'createOrgLimitCredit', 'orgLimitCredit', args.select, args.data, 'CreateOrgLimitCreditInput', input_types_1.connectionFieldsMap);
|
|
66
|
+
return new query_builder_1.QueryBuilder({
|
|
67
|
+
client: this.client,
|
|
68
|
+
operation: 'mutation',
|
|
69
|
+
operationName: 'OrgLimitCredit',
|
|
70
|
+
fieldName: 'createOrgLimitCredit',
|
|
71
|
+
document,
|
|
72
|
+
variables,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
update(args) {
|
|
76
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('OrgLimitCredit', 'updateOrgLimitCredit', 'orgLimitCredit', args.select, args.where.id, args.data, 'UpdateOrgLimitCreditInput', 'id', 'orgLimitCreditPatch', input_types_1.connectionFieldsMap);
|
|
77
|
+
return new query_builder_1.QueryBuilder({
|
|
78
|
+
client: this.client,
|
|
79
|
+
operation: 'mutation',
|
|
80
|
+
operationName: 'OrgLimitCredit',
|
|
81
|
+
fieldName: 'updateOrgLimitCredit',
|
|
82
|
+
document,
|
|
83
|
+
variables,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
delete(args) {
|
|
87
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('OrgLimitCredit', 'deleteOrgLimitCredit', 'orgLimitCredit', {
|
|
88
|
+
id: args.where.id,
|
|
89
|
+
}, 'DeleteOrgLimitCreditInput', args.select, input_types_1.connectionFieldsMap);
|
|
90
|
+
return new query_builder_1.QueryBuilder({
|
|
91
|
+
client: this.client,
|
|
92
|
+
operation: 'mutation',
|
|
93
|
+
operationName: 'OrgLimitCredit',
|
|
94
|
+
fieldName: 'deleteOrgLimitCredit',
|
|
95
|
+
document,
|
|
96
|
+
variables,
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.OrgLimitCreditModel = OrgLimitCreditModel;
|
|
@@ -6,23 +6,13 @@
|
|
|
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 { SubmitAppInviteCodeInput, SubmitOrgInviteCodeInput,
|
|
9
|
+
import type { SubmitAppInviteCodeInput, SubmitOrgInviteCodeInput, ProvisionBucketInput, SubmitAppInviteCodePayload, SubmitOrgInviteCodePayload, ProvisionBucketPayload, SubmitAppInviteCodePayloadSelect, SubmitOrgInviteCodePayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SubmitAppInviteCodeVariables {
|
|
11
11
|
input: SubmitAppInviteCodeInput;
|
|
12
12
|
}
|
|
13
13
|
export interface SubmitOrgInviteCodeVariables {
|
|
14
14
|
input: SubmitOrgInviteCodeInput;
|
|
15
15
|
}
|
|
16
|
-
/**
|
|
17
|
-
* Variables for requestUploadUrl
|
|
18
|
-
* Request a presigned URL for uploading a file directly to S3.
|
|
19
|
-
Client computes SHA-256 of the file content and provides it here.
|
|
20
|
-
If a file with the same hash already exists (dedup), returns the
|
|
21
|
-
existing file ID and deduplicated=true with no uploadUrl.
|
|
22
|
-
*/
|
|
23
|
-
export interface RequestUploadUrlVariables {
|
|
24
|
-
input: RequestUploadUrlInput;
|
|
25
|
-
}
|
|
26
16
|
/**
|
|
27
17
|
* Variables for provisionBucket
|
|
28
18
|
* Provision an S3 bucket for a logical bucket in the database.
|
|
@@ -44,11 +34,6 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
44
34
|
} & StrictSelect<S, SubmitOrgInviteCodePayloadSelect>) => QueryBuilder<{
|
|
45
35
|
submitOrgInviteCode: InferSelectResult<SubmitOrgInviteCodePayload, S> | null;
|
|
46
36
|
}>;
|
|
47
|
-
requestUploadUrl: <S extends RequestUploadUrlPayloadSelect>(args: RequestUploadUrlVariables, options: {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, RequestUploadUrlPayloadSelect>) => QueryBuilder<{
|
|
50
|
-
requestUploadUrl: InferSelectResult<RequestUploadUrlPayload, S> | null;
|
|
51
|
-
}>;
|
|
52
37
|
provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
|
|
53
38
|
select: S;
|
|
54
39
|
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
@@ -29,18 +29,6 @@ function createMutationOperations(client) {
|
|
|
29
29
|
},
|
|
30
30
|
], input_types_1.connectionFieldsMap, 'SubmitOrgInviteCodePayload'),
|
|
31
31
|
}),
|
|
32
|
-
requestUploadUrl: (args, options) => new query_builder_1.QueryBuilder({
|
|
33
|
-
client,
|
|
34
|
-
operation: 'mutation',
|
|
35
|
-
operationName: 'RequestUploadUrl',
|
|
36
|
-
fieldName: 'requestUploadUrl',
|
|
37
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'RequestUploadUrl', 'requestUploadUrl', options.select, args, [
|
|
38
|
-
{
|
|
39
|
-
name: 'input',
|
|
40
|
-
type: 'RequestUploadUrlInput!',
|
|
41
|
-
},
|
|
42
|
-
], input_types_1.connectionFieldsMap, 'RequestUploadUrlPayload'),
|
|
43
|
-
}),
|
|
44
32
|
provisionBucket: (args, options) => new query_builder_1.QueryBuilder({
|
|
45
33
|
client,
|
|
46
34
|
operation: 'mutation',
|
|
@@ -137,6 +137,30 @@ function buildSelections(select, connectionFieldsMap, entityType) {
|
|
|
137
137
|
}
|
|
138
138
|
if (typeof value === 'object' && value !== null) {
|
|
139
139
|
const nested = value;
|
|
140
|
+
// Field with arguments (e.g. requestUploadUrl on bucket types)
|
|
141
|
+
if (nested.args && typeof nested.args === 'object') {
|
|
142
|
+
const fieldArgs = Object.entries(nested.args).map(([argName, argValue]) => t.argument({ name: argName, value: buildValueAst(argValue) }));
|
|
143
|
+
const nestedSelect = nested.select;
|
|
144
|
+
if (nestedSelect && typeof nestedSelect === 'object') {
|
|
145
|
+
const subSelections = Object.entries(nestedSelect)
|
|
146
|
+
.filter(([, v]) => v)
|
|
147
|
+
.map(([name]) => t.field({ name }));
|
|
148
|
+
fields.push(t.field({
|
|
149
|
+
name: key,
|
|
150
|
+
args: fieldArgs.length ? fieldArgs : undefined,
|
|
151
|
+
selectionSet: subSelections.length
|
|
152
|
+
? t.selectionSet({ selections: subSelections })
|
|
153
|
+
: undefined,
|
|
154
|
+
}));
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
fields.push(t.field({
|
|
158
|
+
name: key,
|
|
159
|
+
args: fieldArgs.length ? fieldArgs : undefined,
|
|
160
|
+
}));
|
|
161
|
+
}
|
|
162
|
+
continue;
|
|
163
|
+
}
|
|
140
164
|
if (!nested.select || typeof nested.select !== 'object') {
|
|
141
165
|
throw new Error(`Invalid selection for field "${key}": nested selections must include a "select" object.`);
|
|
142
166
|
}
|
package/auth/orm/index.d.ts
CHANGED
|
@@ -181,11 +181,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
181
181
|
} & import("./select-types").StrictSelect<S, import("./input-types").SendVerificationEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
182
182
|
sendVerificationEmail: import("./select-types").InferSelectResult<import("./input-types").SendVerificationEmailPayload, S> | null;
|
|
183
183
|
}>;
|
|
184
|
-
requestUploadUrl: <S extends import("./input-types").RequestUploadUrlPayloadSelect>(args: import("./mutation").RequestUploadUrlVariables, options: {
|
|
185
|
-
select: S;
|
|
186
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").RequestUploadUrlPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
187
|
-
requestUploadUrl: import("./select-types").InferSelectResult<import("./input-types").RequestUploadUrlPayload, S> | null;
|
|
188
|
-
}>;
|
|
189
184
|
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
190
185
|
select: S;
|
|
191
186
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -1162,25 +1162,6 @@ export interface SendVerificationEmailInput {
|
|
|
1162
1162
|
clientMutationId?: string;
|
|
1163
1163
|
email?: ConstructiveInternalTypeEmail;
|
|
1164
1164
|
}
|
|
1165
|
-
export interface RequestUploadUrlInput {
|
|
1166
|
-
/** Bucket key (e.g., "public", "private") */
|
|
1167
|
-
bucketKey: string;
|
|
1168
|
-
/**
|
|
1169
|
-
* Owner entity ID for entity-scoped uploads.
|
|
1170
|
-
* Omit for app-level (database-wide) storage.
|
|
1171
|
-
* When provided, resolves the storage module for the entity type
|
|
1172
|
-
* that owns this entity instance (e.g., a data room ID, team ID).
|
|
1173
|
-
*/
|
|
1174
|
-
ownerId?: string;
|
|
1175
|
-
/** SHA-256 content hash computed by the client (hex-encoded, 64 chars) */
|
|
1176
|
-
contentHash: string;
|
|
1177
|
-
/** MIME type of the file (e.g., "image/png") */
|
|
1178
|
-
contentType: string;
|
|
1179
|
-
/** File size in bytes */
|
|
1180
|
-
size: number;
|
|
1181
|
-
/** Original filename (optional, for display and Content-Disposition) */
|
|
1182
|
-
filename?: string;
|
|
1183
|
-
}
|
|
1184
1165
|
export interface ProvisionBucketInput {
|
|
1185
1166
|
/** The logical bucket key (e.g., "public", "private") */
|
|
1186
1167
|
bucketKey: string;
|
|
@@ -2237,25 +2218,6 @@ export type SendVerificationEmailPayloadSelect = {
|
|
|
2237
2218
|
clientMutationId?: boolean;
|
|
2238
2219
|
result?: boolean;
|
|
2239
2220
|
};
|
|
2240
|
-
export interface RequestUploadUrlPayload {
|
|
2241
|
-
/** Presigned PUT URL (null if file was deduplicated) */
|
|
2242
|
-
uploadUrl?: string | null;
|
|
2243
|
-
/** The file ID (existing if deduplicated, new if fresh upload) */
|
|
2244
|
-
fileId: string;
|
|
2245
|
-
/** The S3 object key */
|
|
2246
|
-
key: string;
|
|
2247
|
-
/** Whether this file was deduplicated (already exists with same hash) */
|
|
2248
|
-
deduplicated: boolean;
|
|
2249
|
-
/** Presigned URL expiry time (null if deduplicated) */
|
|
2250
|
-
expiresAt?: string | null;
|
|
2251
|
-
}
|
|
2252
|
-
export type RequestUploadUrlPayloadSelect = {
|
|
2253
|
-
uploadUrl?: boolean;
|
|
2254
|
-
fileId?: boolean;
|
|
2255
|
-
key?: boolean;
|
|
2256
|
-
deduplicated?: boolean;
|
|
2257
|
-
expiresAt?: boolean;
|
|
2258
|
-
};
|
|
2259
2221
|
export interface ProvisionBucketPayload {
|
|
2260
2222
|
/** Whether provisioning succeeded */
|
|
2261
2223
|
success: boolean;
|
|
@@ -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, RequestCrossOriginTokenInput, SignInInput, ExtendTokenExpiresInput, CreateApiKeyInput, ForgotPasswordInput, SendVerificationEmailInput,
|
|
9
|
+
import type { SignOutInput, SendAccountDeletionEmailInput, CheckPasswordInput, DisconnectAccountInput, RevokeApiKeyInput, RevokeSessionInput, VerifyPasswordInput, VerifyTotpInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, ProvisionNewUserInput, ResetPasswordInput, SignInCrossOriginInput, SignUpInput, RequestCrossOriginTokenInput, SignInInput, ExtendTokenExpiresInput, CreateApiKeyInput, ForgotPasswordInput, SendVerificationEmailInput, ProvisionBucketInput, SignOutPayload, SendAccountDeletionEmailPayload, CheckPasswordPayload, DisconnectAccountPayload, RevokeApiKeyPayload, RevokeSessionPayload, VerifyPasswordPayload, VerifyTotpPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, ProvisionNewUserPayload, ResetPasswordPayload, SignInCrossOriginPayload, SignUpPayload, RequestCrossOriginTokenPayload, SignInPayload, ExtendTokenExpiresPayload, CreateApiKeyPayload, ForgotPasswordPayload, SendVerificationEmailPayload, ProvisionBucketPayload, SignOutPayloadSelect, SendAccountDeletionEmailPayloadSelect, CheckPasswordPayloadSelect, DisconnectAccountPayloadSelect, RevokeApiKeyPayloadSelect, RevokeSessionPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, ProvisionNewUserPayloadSelect, ResetPasswordPayloadSelect, SignInCrossOriginPayloadSelect, SignUpPayloadSelect, RequestCrossOriginTokenPayloadSelect, SignInPayloadSelect, ExtendTokenExpiresPayloadSelect, CreateApiKeyPayloadSelect, ForgotPasswordPayloadSelect, SendVerificationEmailPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SignOutVariables {
|
|
11
11
|
input: SignOutInput;
|
|
12
12
|
}
|
|
@@ -70,16 +70,6 @@ export interface ForgotPasswordVariables {
|
|
|
70
70
|
export interface SendVerificationEmailVariables {
|
|
71
71
|
input: SendVerificationEmailInput;
|
|
72
72
|
}
|
|
73
|
-
/**
|
|
74
|
-
* Variables for requestUploadUrl
|
|
75
|
-
* Request a presigned URL for uploading a file directly to S3.
|
|
76
|
-
Client computes SHA-256 of the file content and provides it here.
|
|
77
|
-
If a file with the same hash already exists (dedup), returns the
|
|
78
|
-
existing file ID and deduplicated=true with no uploadUrl.
|
|
79
|
-
*/
|
|
80
|
-
export interface RequestUploadUrlVariables {
|
|
81
|
-
input: RequestUploadUrlInput;
|
|
82
|
-
}
|
|
83
73
|
/**
|
|
84
74
|
* Variables for provisionBucket
|
|
85
75
|
* Provision an S3 bucket for a logical bucket in the database.
|
|
@@ -196,11 +186,6 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
196
186
|
} & StrictSelect<S, SendVerificationEmailPayloadSelect>) => QueryBuilder<{
|
|
197
187
|
sendVerificationEmail: InferSelectResult<SendVerificationEmailPayload, S> | null;
|
|
198
188
|
}>;
|
|
199
|
-
requestUploadUrl: <S extends RequestUploadUrlPayloadSelect>(args: RequestUploadUrlVariables, options: {
|
|
200
|
-
select: S;
|
|
201
|
-
} & StrictSelect<S, RequestUploadUrlPayloadSelect>) => QueryBuilder<{
|
|
202
|
-
requestUploadUrl: InferSelectResult<RequestUploadUrlPayload, S> | null;
|
|
203
|
-
}>;
|
|
204
189
|
provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
|
|
205
190
|
select: S;
|
|
206
191
|
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
@@ -257,18 +257,6 @@ function createMutationOperations(client) {
|
|
|
257
257
|
},
|
|
258
258
|
], input_types_1.connectionFieldsMap, 'SendVerificationEmailPayload'),
|
|
259
259
|
}),
|
|
260
|
-
requestUploadUrl: (args, options) => new query_builder_1.QueryBuilder({
|
|
261
|
-
client,
|
|
262
|
-
operation: 'mutation',
|
|
263
|
-
operationName: 'RequestUploadUrl',
|
|
264
|
-
fieldName: 'requestUploadUrl',
|
|
265
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'RequestUploadUrl', 'requestUploadUrl', options.select, args, [
|
|
266
|
-
{
|
|
267
|
-
name: 'input',
|
|
268
|
-
type: 'RequestUploadUrlInput!',
|
|
269
|
-
},
|
|
270
|
-
], input_types_1.connectionFieldsMap, 'RequestUploadUrlPayload'),
|
|
271
|
-
}),
|
|
272
260
|
provisionBucket: (args, options) => new query_builder_1.QueryBuilder({
|
|
273
261
|
client,
|
|
274
262
|
operation: 'mutation',
|
|
@@ -137,6 +137,30 @@ function buildSelections(select, connectionFieldsMap, entityType) {
|
|
|
137
137
|
}
|
|
138
138
|
if (typeof value === 'object' && value !== null) {
|
|
139
139
|
const nested = value;
|
|
140
|
+
// Field with arguments (e.g. requestUploadUrl on bucket types)
|
|
141
|
+
if (nested.args && typeof nested.args === 'object') {
|
|
142
|
+
const fieldArgs = Object.entries(nested.args).map(([argName, argValue]) => t.argument({ name: argName, value: buildValueAst(argValue) }));
|
|
143
|
+
const nestedSelect = nested.select;
|
|
144
|
+
if (nestedSelect && typeof nestedSelect === 'object') {
|
|
145
|
+
const subSelections = Object.entries(nestedSelect)
|
|
146
|
+
.filter(([, v]) => v)
|
|
147
|
+
.map(([name]) => t.field({ name }));
|
|
148
|
+
fields.push(t.field({
|
|
149
|
+
name: key,
|
|
150
|
+
args: fieldArgs.length ? fieldArgs : undefined,
|
|
151
|
+
selectionSet: subSelections.length
|
|
152
|
+
? t.selectionSet({ selections: subSelections })
|
|
153
|
+
: undefined,
|
|
154
|
+
}));
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
fields.push(t.field({
|
|
158
|
+
name: key,
|
|
159
|
+
args: fieldArgs.length ? fieldArgs : undefined,
|
|
160
|
+
}));
|
|
161
|
+
}
|
|
162
|
+
continue;
|
|
163
|
+
}
|
|
140
164
|
if (!nested.select || typeof nested.select !== 'object') {
|
|
141
165
|
throw new Error(`Invalid selection for field "${key}": nested selections must include a "select" object.`);
|
|
142
166
|
}
|
package/esm/admin/orm/index.d.ts
CHANGED
|
@@ -4,18 +4,27 @@ import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord
|
|
|
4
4
|
import { AppPermissionModel } from './models/appPermission';
|
|
5
5
|
import { OrgPermissionModel } from './models/orgPermission';
|
|
6
6
|
import { AppLevelRequirementModel } from './models/appLevelRequirement';
|
|
7
|
+
import { AppLimitCreditRedemptionModel } from './models/appLimitCreditRedemption';
|
|
8
|
+
import { AppLimitCreditCodeItemModel } from './models/appLimitCreditCodeItem';
|
|
9
|
+
import { AppLimitCreditModel } from './models/appLimitCredit';
|
|
7
10
|
import { OrgMemberModel } from './models/orgMember';
|
|
8
11
|
import { AppPermissionDefaultModel } from './models/appPermissionDefault';
|
|
12
|
+
import { AppLimitCreditCodeModel } from './models/appLimitCreditCode';
|
|
9
13
|
import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
|
|
10
14
|
import { AppAdminGrantModel } from './models/appAdminGrant';
|
|
11
15
|
import { AppOwnerGrantModel } from './models/appOwnerGrant';
|
|
12
16
|
import { AppAchievementModel } from './models/appAchievement';
|
|
13
17
|
import { AppStepModel } from './models/appStep';
|
|
18
|
+
import { AppLimitCapsDefaultModel } from './models/appLimitCapsDefault';
|
|
19
|
+
import { OrgLimitCapsDefaultModel } from './models/orgLimitCapsDefault';
|
|
20
|
+
import { AppLimitCapModel } from './models/appLimitCap';
|
|
21
|
+
import { OrgLimitCapModel } from './models/orgLimitCap';
|
|
14
22
|
import { OrgAdminGrantModel } from './models/orgAdminGrant';
|
|
15
23
|
import { OrgOwnerGrantModel } from './models/orgOwnerGrant';
|
|
16
24
|
import { MembershipTypeModel } from './models/membershipType';
|
|
17
25
|
import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
18
26
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
27
|
+
import { OrgLimitCreditModel } from './models/orgLimitCredit';
|
|
19
28
|
import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
|
|
20
29
|
import { AppClaimedInviteModel } from './models/appClaimedInvite';
|
|
21
30
|
import { AppGrantModel } from './models/appGrant';
|
|
@@ -26,13 +35,13 @@ import { AppLimitEventModel } from './models/appLimitEvent';
|
|
|
26
35
|
import { OrgLimitEventModel } from './models/orgLimitEvent';
|
|
27
36
|
import { OrgGrantModel } from './models/orgGrant';
|
|
28
37
|
import { OrgChartEdgeModel } from './models/orgChartEdge';
|
|
29
|
-
import { AppLimitModel } from './models/appLimit';
|
|
30
|
-
import { OrgLimitAggregateModel } from './models/orgLimitAggregate';
|
|
31
38
|
import { OrgMemberProfileModel } from './models/orgMemberProfile';
|
|
32
|
-
import { OrgLimitModel } from './models/orgLimit';
|
|
33
39
|
import { AppLevelModel } from './models/appLevel';
|
|
40
|
+
import { AppLimitModel } from './models/appLimit';
|
|
34
41
|
import { AppInviteModel } from './models/appInvite';
|
|
35
42
|
import { OrgMembershipSettingModel } from './models/orgMembershipSetting';
|
|
43
|
+
import { OrgLimitAggregateModel } from './models/orgLimitAggregate';
|
|
44
|
+
import { OrgLimitModel } from './models/orgLimit';
|
|
36
45
|
import { OrgInviteModel } from './models/orgInvite';
|
|
37
46
|
import { AppMembershipModel } from './models/appMembership';
|
|
38
47
|
import { OrgMembershipModel } from './models/orgMembership';
|
|
@@ -72,18 +81,27 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
72
81
|
appPermission: AppPermissionModel;
|
|
73
82
|
orgPermission: OrgPermissionModel;
|
|
74
83
|
appLevelRequirement: AppLevelRequirementModel;
|
|
84
|
+
appLimitCreditRedemption: AppLimitCreditRedemptionModel;
|
|
85
|
+
appLimitCreditCodeItem: AppLimitCreditCodeItemModel;
|
|
86
|
+
appLimitCredit: AppLimitCreditModel;
|
|
75
87
|
orgMember: OrgMemberModel;
|
|
76
88
|
appPermissionDefault: AppPermissionDefaultModel;
|
|
89
|
+
appLimitCreditCode: AppLimitCreditCodeModel;
|
|
77
90
|
orgPermissionDefault: OrgPermissionDefaultModel;
|
|
78
91
|
appAdminGrant: AppAdminGrantModel;
|
|
79
92
|
appOwnerGrant: AppOwnerGrantModel;
|
|
80
93
|
appAchievement: AppAchievementModel;
|
|
81
94
|
appStep: AppStepModel;
|
|
95
|
+
appLimitCapsDefault: AppLimitCapsDefaultModel;
|
|
96
|
+
orgLimitCapsDefault: OrgLimitCapsDefaultModel;
|
|
97
|
+
appLimitCap: AppLimitCapModel;
|
|
98
|
+
orgLimitCap: OrgLimitCapModel;
|
|
82
99
|
orgAdminGrant: OrgAdminGrantModel;
|
|
83
100
|
orgOwnerGrant: OrgOwnerGrantModel;
|
|
84
101
|
membershipType: MembershipTypeModel;
|
|
85
102
|
appLimitDefault: AppLimitDefaultModel;
|
|
86
103
|
orgLimitDefault: OrgLimitDefaultModel;
|
|
104
|
+
orgLimitCredit: OrgLimitCreditModel;
|
|
87
105
|
orgChartEdgeGrant: OrgChartEdgeGrantModel;
|
|
88
106
|
appClaimedInvite: AppClaimedInviteModel;
|
|
89
107
|
appGrant: AppGrantModel;
|
|
@@ -94,13 +112,13 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
94
112
|
orgLimitEvent: OrgLimitEventModel;
|
|
95
113
|
orgGrant: OrgGrantModel;
|
|
96
114
|
orgChartEdge: OrgChartEdgeModel;
|
|
97
|
-
appLimit: AppLimitModel;
|
|
98
|
-
orgLimitAggregate: OrgLimitAggregateModel;
|
|
99
115
|
orgMemberProfile: OrgMemberProfileModel;
|
|
100
|
-
orgLimit: OrgLimitModel;
|
|
101
116
|
appLevel: AppLevelModel;
|
|
117
|
+
appLimit: AppLimitModel;
|
|
102
118
|
appInvite: AppInviteModel;
|
|
103
119
|
orgMembershipSetting: OrgMembershipSettingModel;
|
|
120
|
+
orgLimitAggregate: OrgLimitAggregateModel;
|
|
121
|
+
orgLimit: OrgLimitModel;
|
|
104
122
|
orgInvite: OrgInviteModel;
|
|
105
123
|
appMembership: AppMembershipModel;
|
|
106
124
|
orgMembership: OrgMembershipModel;
|
|
@@ -172,11 +190,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
172
190
|
} & import("./select-types").StrictSelect<S, import("./input-types").SubmitOrgInviteCodePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
173
191
|
submitOrgInviteCode: import("./select-types").InferSelectResult<import("./input-types").SubmitOrgInviteCodePayload, S> | null;
|
|
174
192
|
}>;
|
|
175
|
-
requestUploadUrl: <S extends import("./input-types").RequestUploadUrlPayloadSelect>(args: import("./mutation").RequestUploadUrlVariables, options: {
|
|
176
|
-
select: S;
|
|
177
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").RequestUploadUrlPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
178
|
-
requestUploadUrl: import("./select-types").InferSelectResult<import("./input-types").RequestUploadUrlPayload, S> | null;
|
|
179
|
-
}>;
|
|
180
193
|
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
181
194
|
select: S;
|
|
182
195
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|