@constructive-io/sdk 0.13.3 → 0.13.4
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 +7 -7
- package/admin/orm/index.js +4 -4
- package/admin/orm/input-types.d.ts +99 -99
- package/admin/orm/models/appClaimedInvite.d.ts +56 -0
- package/{public/orm/models/claimedInvite.js → admin/orm/models/appClaimedInvite.js} +26 -26
- package/admin/orm/models/appInvite.d.ts +56 -0
- package/{public/orm/models/invite.js → admin/orm/models/appInvite.js} +26 -26
- package/admin/orm/models/index.d.ts +2 -2
- package/admin/orm/models/index.js +5 -5
- package/admin/orm/mutation/index.d.ts +6 -6
- package/admin/orm/mutation/index.js +6 -6
- package/admin/orm/query/index.d.ts +4 -4
- package/admin/orm/query/index.js +4 -4
- package/auth/orm/index.d.ts +10 -10
- package/auth/orm/input-types.d.ts +24 -72
- package/auth/orm/mutation/index.d.ts +17 -17
- package/auth/orm/mutation/index.js +24 -24
- package/esm/admin/orm/index.d.ts +7 -7
- package/esm/admin/orm/index.js +4 -4
- package/esm/admin/orm/input-types.d.ts +99 -99
- package/esm/admin/orm/models/appClaimedInvite.d.ts +56 -0
- package/esm/admin/orm/models/{claimedInvite.js → appClaimedInvite.js} +24 -24
- package/esm/admin/orm/models/appInvite.d.ts +56 -0
- package/esm/admin/orm/models/{invite.js → appInvite.js} +24 -24
- package/esm/admin/orm/models/index.d.ts +2 -2
- package/esm/admin/orm/models/index.js +2 -2
- package/esm/admin/orm/mutation/index.d.ts +6 -6
- package/esm/admin/orm/mutation/index.js +6 -6
- package/esm/admin/orm/query/index.d.ts +4 -4
- package/esm/admin/orm/query/index.js +4 -4
- package/esm/auth/orm/index.d.ts +10 -10
- package/esm/auth/orm/input-types.d.ts +24 -72
- package/esm/auth/orm/mutation/index.d.ts +17 -17
- package/esm/auth/orm/mutation/index.js +24 -24
- package/esm/public/orm/index.d.ts +19 -17
- package/esm/public/orm/index.js +6 -4
- package/esm/public/orm/input-types.d.ts +402 -230
- package/esm/public/orm/input-types.js +3 -3
- package/esm/public/orm/models/appClaimedInvite.d.ts +56 -0
- package/esm/public/orm/models/{claimedInvite.js → appClaimedInvite.js} +24 -24
- package/esm/public/orm/models/appInvite.d.ts +56 -0
- package/esm/public/orm/models/{invite.js → appInvite.js} +24 -24
- package/esm/public/orm/models/index.d.ts +3 -2
- package/esm/public/orm/models/index.js +3 -2
- package/esm/public/orm/models/rateLimitsModule.d.ts +56 -0
- package/esm/public/orm/models/rateLimitsModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +22 -22
- package/esm/public/orm/mutation/index.js +30 -30
- package/esm/public/orm/query/index.d.ts +4 -4
- package/esm/public/orm/query/index.js +4 -4
- package/package.json +2 -2
- package/public/orm/index.d.ts +19 -17
- package/public/orm/index.js +6 -4
- package/public/orm/input-types.d.ts +402 -230
- package/public/orm/input-types.js +3 -3
- package/public/orm/models/appClaimedInvite.d.ts +56 -0
- package/{admin/orm/models/claimedInvite.js → public/orm/models/appClaimedInvite.js} +26 -26
- package/public/orm/models/appInvite.d.ts +56 -0
- package/{admin/orm/models/invite.js → public/orm/models/appInvite.js} +26 -26
- package/public/orm/models/index.d.ts +3 -2
- package/public/orm/models/index.js +8 -6
- package/public/orm/models/rateLimitsModule.d.ts +56 -0
- package/public/orm/models/rateLimitsModule.js +100 -0
- package/public/orm/mutation/index.d.ts +22 -22
- package/public/orm/mutation/index.js +30 -30
- package/public/orm/query/index.d.ts +4 -4
- package/public/orm/query/index.js +4 -4
- package/admin/orm/models/claimedInvite.d.ts +0 -56
- package/admin/orm/models/invite.d.ts +0 -56
- package/esm/admin/orm/models/claimedInvite.d.ts +0 -56
- package/esm/admin/orm/models/invite.d.ts +0 -56
- package/esm/public/orm/models/claimedInvite.d.ts +0 -56
- package/esm/public/orm/models/invite.d.ts +0 -56
- package/public/orm/models/claimedInvite.d.ts +0 -56
- package/public/orm/models/invite.d.ts +0 -56
|
@@ -62,17 +62,41 @@ export function createMutationOperations(client) {
|
|
|
62
62
|
},
|
|
63
63
|
], connectionFieldsMap, 'RejectDatabaseTransferPayload'),
|
|
64
64
|
}),
|
|
65
|
-
|
|
65
|
+
verifyPassword: (args, options) => new QueryBuilder({
|
|
66
|
+
client,
|
|
67
|
+
operation: 'mutation',
|
|
68
|
+
operationName: 'VerifyPassword',
|
|
69
|
+
fieldName: 'verifyPassword',
|
|
70
|
+
...buildCustomDocument('mutation', 'VerifyPassword', 'verifyPassword', options.select, args, [
|
|
71
|
+
{
|
|
72
|
+
name: 'input',
|
|
73
|
+
type: 'VerifyPasswordInput!',
|
|
74
|
+
},
|
|
75
|
+
], connectionFieldsMap, 'VerifyPasswordPayload'),
|
|
76
|
+
}),
|
|
77
|
+
verifyTotp: (args, options) => new QueryBuilder({
|
|
78
|
+
client,
|
|
79
|
+
operation: 'mutation',
|
|
80
|
+
operationName: 'VerifyTotp',
|
|
81
|
+
fieldName: 'verifyTotp',
|
|
82
|
+
...buildCustomDocument('mutation', 'VerifyTotp', 'verifyTotp', options.select, args, [
|
|
83
|
+
{
|
|
84
|
+
name: 'input',
|
|
85
|
+
type: 'VerifyTotpInput!',
|
|
86
|
+
},
|
|
87
|
+
], connectionFieldsMap, 'VerifyTotpPayload'),
|
|
88
|
+
}),
|
|
89
|
+
submitAppInviteCode: (args, options) => new QueryBuilder({
|
|
66
90
|
client,
|
|
67
91
|
operation: 'mutation',
|
|
68
|
-
operationName: '
|
|
69
|
-
fieldName: '
|
|
70
|
-
...buildCustomDocument('mutation', '
|
|
92
|
+
operationName: 'SubmitAppInviteCode',
|
|
93
|
+
fieldName: 'submitAppInviteCode',
|
|
94
|
+
...buildCustomDocument('mutation', 'SubmitAppInviteCode', 'submitAppInviteCode', options.select, args, [
|
|
71
95
|
{
|
|
72
96
|
name: 'input',
|
|
73
|
-
type: '
|
|
97
|
+
type: 'SubmitAppInviteCodeInput!',
|
|
74
98
|
},
|
|
75
|
-
], connectionFieldsMap, '
|
|
99
|
+
], connectionFieldsMap, 'SubmitAppInviteCodePayload'),
|
|
76
100
|
}),
|
|
77
101
|
submitOrgInviteCode: (args, options) => new QueryBuilder({
|
|
78
102
|
client,
|
|
@@ -470,30 +494,6 @@ export function createMutationOperations(client) {
|
|
|
470
494
|
},
|
|
471
495
|
], connectionFieldsMap, 'ForgotPasswordPayload'),
|
|
472
496
|
}),
|
|
473
|
-
verifyPassword: (args, options) => new QueryBuilder({
|
|
474
|
-
client,
|
|
475
|
-
operation: 'mutation',
|
|
476
|
-
operationName: 'VerifyPassword',
|
|
477
|
-
fieldName: 'verifyPassword',
|
|
478
|
-
...buildCustomDocument('mutation', 'VerifyPassword', 'verifyPassword', options.select, args, [
|
|
479
|
-
{
|
|
480
|
-
name: 'input',
|
|
481
|
-
type: 'VerifyPasswordInput!',
|
|
482
|
-
},
|
|
483
|
-
], connectionFieldsMap, 'VerifyPasswordPayload'),
|
|
484
|
-
}),
|
|
485
|
-
verifyTotp: (args, options) => new QueryBuilder({
|
|
486
|
-
client,
|
|
487
|
-
operation: 'mutation',
|
|
488
|
-
operationName: 'VerifyTotp',
|
|
489
|
-
fieldName: 'verifyTotp',
|
|
490
|
-
...buildCustomDocument('mutation', 'VerifyTotp', 'verifyTotp', options.select, args, [
|
|
491
|
-
{
|
|
492
|
-
name: 'input',
|
|
493
|
-
type: 'VerifyTotpInput!',
|
|
494
|
-
},
|
|
495
|
-
], connectionFieldsMap, 'VerifyTotpPayload'),
|
|
496
|
-
}),
|
|
497
497
|
requestUploadUrl: (args, options) => new QueryBuilder({
|
|
498
498
|
client,
|
|
499
499
|
operation: 'mutation',
|
|
@@ -14,8 +14,8 @@ export interface OrgPermissionsGetPaddedMaskVariables {
|
|
|
14
14
|
mask?: string;
|
|
15
15
|
}
|
|
16
16
|
export interface StepsAchievedVariables {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
level?: string;
|
|
18
|
+
roleId?: string;
|
|
19
19
|
}
|
|
20
20
|
export interface RevParseVariables {
|
|
21
21
|
dbId?: string;
|
|
@@ -109,8 +109,8 @@ export interface OrgPermissionsGetByMaskVariables {
|
|
|
109
109
|
after?: string;
|
|
110
110
|
}
|
|
111
111
|
export interface StepsRequiredVariables {
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
level?: string;
|
|
113
|
+
roleId?: string;
|
|
114
114
|
/** Only read the first `n` values of the set. */
|
|
115
115
|
first?: number;
|
|
116
116
|
/**
|
|
@@ -54,11 +54,11 @@ export function createQueryOperations(client) {
|
|
|
54
54
|
fieldName: 'stepsAchieved',
|
|
55
55
|
...buildCustomDocument('query', 'StepsAchieved', 'stepsAchieved', options?.select, args, [
|
|
56
56
|
{
|
|
57
|
-
name: '
|
|
57
|
+
name: 'level',
|
|
58
58
|
type: 'String',
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
name: '
|
|
61
|
+
name: 'roleId',
|
|
62
62
|
type: 'UUID',
|
|
63
63
|
},
|
|
64
64
|
], connectionFieldsMap, undefined),
|
|
@@ -322,11 +322,11 @@ export function createQueryOperations(client) {
|
|
|
322
322
|
fieldName: 'stepsRequired',
|
|
323
323
|
...buildCustomDocument('query', 'StepsRequired', 'stepsRequired', options?.select, args, [
|
|
324
324
|
{
|
|
325
|
-
name: '
|
|
325
|
+
name: 'level',
|
|
326
326
|
type: 'String',
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
|
-
name: '
|
|
329
|
+
name: 'roleId',
|
|
330
330
|
type: 'UUID',
|
|
331
331
|
},
|
|
332
332
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/sdk",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.4",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive SDK - Auto-generated GraphQL types and ORM client",
|
|
6
6
|
"main": "index.js",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"tsx": "^4.19.0",
|
|
54
54
|
"typescript": "^5.9.3"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "ec793fd5de36264f5c9738732657522c1d783a6d"
|
|
57
57
|
}
|
package/public/orm/index.d.ts
CHANGED
|
@@ -85,8 +85,8 @@ import { EmailModel } from './models/email';
|
|
|
85
85
|
import { PhoneNumberModel } from './models/phoneNumber';
|
|
86
86
|
import { CryptoAddressModel } from './models/cryptoAddress';
|
|
87
87
|
import { ConnectedAccountModel } from './models/connectedAccount';
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
88
|
+
import { AppInviteModel } from './models/appInvite';
|
|
89
|
+
import { AppClaimedInviteModel } from './models/appClaimedInvite';
|
|
90
90
|
import { OrgInviteModel } from './models/orgInvite';
|
|
91
91
|
import { OrgClaimedInviteModel } from './models/orgClaimedInvite';
|
|
92
92
|
import { AuditLogModel } from './models/auditLog';
|
|
@@ -100,6 +100,7 @@ import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
|
100
100
|
import { MembershipTypeModel } from './models/membershipType';
|
|
101
101
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
102
102
|
import { CommitModel } from './models/commit';
|
|
103
|
+
import { RateLimitsModuleModel } from './models/rateLimitsModule';
|
|
103
104
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
104
105
|
import { RlsModuleModel } from './models/rlsModule';
|
|
105
106
|
import { SqlActionModel } from './models/sqlAction';
|
|
@@ -224,8 +225,8 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
224
225
|
phoneNumber: PhoneNumberModel;
|
|
225
226
|
cryptoAddress: CryptoAddressModel;
|
|
226
227
|
connectedAccount: ConnectedAccountModel;
|
|
227
|
-
|
|
228
|
-
|
|
228
|
+
appInvite: AppInviteModel;
|
|
229
|
+
appClaimedInvite: AppClaimedInviteModel;
|
|
229
230
|
orgInvite: OrgInviteModel;
|
|
230
231
|
orgClaimedInvite: OrgClaimedInviteModel;
|
|
231
232
|
auditLog: AuditLogModel;
|
|
@@ -239,6 +240,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
239
240
|
membershipType: MembershipTypeModel;
|
|
240
241
|
appMembershipDefault: AppMembershipDefaultModel;
|
|
241
242
|
commit: CommitModel;
|
|
243
|
+
rateLimitsModule: RateLimitsModuleModel;
|
|
242
244
|
orgMembershipDefault: OrgMembershipDefaultModel;
|
|
243
245
|
rlsModule: RlsModuleModel;
|
|
244
246
|
sqlAction: SqlActionModel;
|
|
@@ -374,10 +376,20 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
374
376
|
} & import("./select-types").StrictSelect<S, import("./input-types").RejectDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
375
377
|
rejectDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").RejectDatabaseTransferPayload, S> | null;
|
|
376
378
|
}>;
|
|
377
|
-
|
|
379
|
+
verifyPassword: <S extends import("./input-types").VerifyPasswordPayloadSelect>(args: import("./mutation").VerifyPasswordVariables, options: {
|
|
380
|
+
select: S;
|
|
381
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
382
|
+
verifyPassword: import("./select-types").InferSelectResult<import("./input-types").VerifyPasswordPayload, S> | null;
|
|
383
|
+
}>;
|
|
384
|
+
verifyTotp: <S extends import("./input-types").VerifyTotpPayloadSelect>(args: import("./mutation").VerifyTotpVariables, options: {
|
|
385
|
+
select: S;
|
|
386
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyTotpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
387
|
+
verifyTotp: import("./select-types").InferSelectResult<import("./input-types").VerifyTotpPayload, S> | null;
|
|
388
|
+
}>;
|
|
389
|
+
submitAppInviteCode: <S extends import("./input-types").SubmitAppInviteCodePayloadSelect>(args: import("./mutation").SubmitAppInviteCodeVariables, options: {
|
|
378
390
|
select: S;
|
|
379
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
380
|
-
|
|
391
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SubmitAppInviteCodePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
392
|
+
submitAppInviteCode: import("./select-types").InferSelectResult<import("./input-types").SubmitAppInviteCodePayload, S> | null;
|
|
381
393
|
}>;
|
|
382
394
|
submitOrgInviteCode: <S extends import("./input-types").SubmitOrgInviteCodePayloadSelect>(args: import("./mutation").SubmitOrgInviteCodeVariables, options: {
|
|
383
395
|
select: S;
|
|
@@ -544,16 +556,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
544
556
|
} & import("./select-types").StrictSelect<S, import("./input-types").ForgotPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
545
557
|
forgotPassword: import("./select-types").InferSelectResult<import("./input-types").ForgotPasswordPayload, S> | null;
|
|
546
558
|
}>;
|
|
547
|
-
verifyPassword: <S extends import("./input-types").VerifyPasswordPayloadSelect>(args: import("./mutation").VerifyPasswordVariables, options: {
|
|
548
|
-
select: S;
|
|
549
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
550
|
-
verifyPassword: import("./select-types").InferSelectResult<import("./input-types").VerifyPasswordPayload, S> | null;
|
|
551
|
-
}>;
|
|
552
|
-
verifyTotp: <S extends import("./input-types").VerifyTotpPayloadSelect>(args: import("./mutation").VerifyTotpVariables, options: {
|
|
553
|
-
select: S;
|
|
554
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyTotpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
555
|
-
verifyTotp: import("./select-types").InferSelectResult<import("./input-types").VerifyTotpPayload, S> | null;
|
|
556
|
-
}>;
|
|
557
559
|
requestUploadUrl: <S extends import("./input-types").RequestUploadUrlPayloadSelect>(args: import("./mutation").RequestUploadUrlVariables, options: {
|
|
558
560
|
select: S;
|
|
559
561
|
} & import("./select-types").StrictSelect<S, import("./input-types").RequestUploadUrlPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
package/public/orm/index.js
CHANGED
|
@@ -108,8 +108,8 @@ const email_1 = require("./models/email");
|
|
|
108
108
|
const phoneNumber_1 = require("./models/phoneNumber");
|
|
109
109
|
const cryptoAddress_1 = require("./models/cryptoAddress");
|
|
110
110
|
const connectedAccount_1 = require("./models/connectedAccount");
|
|
111
|
-
const
|
|
112
|
-
const
|
|
111
|
+
const appInvite_1 = require("./models/appInvite");
|
|
112
|
+
const appClaimedInvite_1 = require("./models/appClaimedInvite");
|
|
113
113
|
const orgInvite_1 = require("./models/orgInvite");
|
|
114
114
|
const orgClaimedInvite_1 = require("./models/orgClaimedInvite");
|
|
115
115
|
const auditLog_1 = require("./models/auditLog");
|
|
@@ -123,6 +123,7 @@ const orgLimitDefault_1 = require("./models/orgLimitDefault");
|
|
|
123
123
|
const membershipType_1 = require("./models/membershipType");
|
|
124
124
|
const appMembershipDefault_1 = require("./models/appMembershipDefault");
|
|
125
125
|
const commit_1 = require("./models/commit");
|
|
126
|
+
const rateLimitsModule_1 = require("./models/rateLimitsModule");
|
|
126
127
|
const orgMembershipDefault_1 = require("./models/orgMembershipDefault");
|
|
127
128
|
const rlsModule_1 = require("./models/rlsModule");
|
|
128
129
|
const sqlAction_1 = require("./models/sqlAction");
|
|
@@ -254,8 +255,8 @@ function createClient(config) {
|
|
|
254
255
|
phoneNumber: new phoneNumber_1.PhoneNumberModel(client),
|
|
255
256
|
cryptoAddress: new cryptoAddress_1.CryptoAddressModel(client),
|
|
256
257
|
connectedAccount: new connectedAccount_1.ConnectedAccountModel(client),
|
|
257
|
-
|
|
258
|
-
|
|
258
|
+
appInvite: new appInvite_1.AppInviteModel(client),
|
|
259
|
+
appClaimedInvite: new appClaimedInvite_1.AppClaimedInviteModel(client),
|
|
259
260
|
orgInvite: new orgInvite_1.OrgInviteModel(client),
|
|
260
261
|
orgClaimedInvite: new orgClaimedInvite_1.OrgClaimedInviteModel(client),
|
|
261
262
|
auditLog: new auditLog_1.AuditLogModel(client),
|
|
@@ -269,6 +270,7 @@ function createClient(config) {
|
|
|
269
270
|
membershipType: new membershipType_1.MembershipTypeModel(client),
|
|
270
271
|
appMembershipDefault: new appMembershipDefault_1.AppMembershipDefaultModel(client),
|
|
271
272
|
commit: new commit_1.CommitModel(client),
|
|
273
|
+
rateLimitsModule: new rateLimitsModule_1.RateLimitsModuleModel(client),
|
|
272
274
|
orgMembershipDefault: new orgMembershipDefault_1.OrgMembershipDefaultModel(client),
|
|
273
275
|
rlsModule: new rlsModule_1.RlsModuleModel(client),
|
|
274
276
|
sqlAction: new sqlAction_1.SqlActionModel(client),
|