@constructive-io/sdk 0.13.2 → 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 +3 -3
- 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
|
@@ -868,6 +868,14 @@ export interface CheckPasswordInput {
|
|
|
868
868
|
clientMutationId?: string;
|
|
869
869
|
password?: string;
|
|
870
870
|
}
|
|
871
|
+
export interface VerifyPasswordInput {
|
|
872
|
+
clientMutationId?: string;
|
|
873
|
+
password: string;
|
|
874
|
+
}
|
|
875
|
+
export interface VerifyTotpInput {
|
|
876
|
+
clientMutationId?: string;
|
|
877
|
+
totpValue: string;
|
|
878
|
+
}
|
|
871
879
|
export interface ConfirmDeleteAccountInput {
|
|
872
880
|
clientMutationId?: string;
|
|
873
881
|
userId?: string;
|
|
@@ -929,14 +937,6 @@ export interface SendVerificationEmailInput {
|
|
|
929
937
|
clientMutationId?: string;
|
|
930
938
|
email?: ConstructiveInternalTypeEmail;
|
|
931
939
|
}
|
|
932
|
-
export interface VerifyPasswordInput {
|
|
933
|
-
clientMutationId?: string;
|
|
934
|
-
password: string;
|
|
935
|
-
}
|
|
936
|
-
export interface VerifyTotpInput {
|
|
937
|
-
clientMutationId?: string;
|
|
938
|
-
totpValue: string;
|
|
939
|
-
}
|
|
940
940
|
export interface RequestUploadUrlInput {
|
|
941
941
|
/** Bucket key (e.g., "public", "private") */
|
|
942
942
|
bucketKey: string;
|
|
@@ -1788,6 +1788,22 @@ export interface CheckPasswordPayload {
|
|
|
1788
1788
|
export type CheckPasswordPayloadSelect = {
|
|
1789
1789
|
clientMutationId?: boolean;
|
|
1790
1790
|
};
|
|
1791
|
+
export interface VerifyPasswordPayload {
|
|
1792
|
+
clientMutationId?: string | null;
|
|
1793
|
+
result?: boolean | null;
|
|
1794
|
+
}
|
|
1795
|
+
export type VerifyPasswordPayloadSelect = {
|
|
1796
|
+
clientMutationId?: boolean;
|
|
1797
|
+
result?: boolean;
|
|
1798
|
+
};
|
|
1799
|
+
export interface VerifyTotpPayload {
|
|
1800
|
+
clientMutationId?: string | null;
|
|
1801
|
+
result?: boolean | null;
|
|
1802
|
+
}
|
|
1803
|
+
export type VerifyTotpPayloadSelect = {
|
|
1804
|
+
clientMutationId?: boolean;
|
|
1805
|
+
result?: boolean;
|
|
1806
|
+
};
|
|
1791
1807
|
export interface ConfirmDeleteAccountPayload {
|
|
1792
1808
|
clientMutationId?: string | null;
|
|
1793
1809
|
result?: boolean | null;
|
|
@@ -1882,26 +1898,6 @@ export type SendVerificationEmailPayloadSelect = {
|
|
|
1882
1898
|
clientMutationId?: boolean;
|
|
1883
1899
|
result?: boolean;
|
|
1884
1900
|
};
|
|
1885
|
-
export interface VerifyPasswordPayload {
|
|
1886
|
-
clientMutationId?: string | null;
|
|
1887
|
-
result?: Session | null;
|
|
1888
|
-
}
|
|
1889
|
-
export type VerifyPasswordPayloadSelect = {
|
|
1890
|
-
clientMutationId?: boolean;
|
|
1891
|
-
result?: {
|
|
1892
|
-
select: SessionSelect;
|
|
1893
|
-
};
|
|
1894
|
-
};
|
|
1895
|
-
export interface VerifyTotpPayload {
|
|
1896
|
-
clientMutationId?: string | null;
|
|
1897
|
-
result?: Session | null;
|
|
1898
|
-
}
|
|
1899
|
-
export type VerifyTotpPayloadSelect = {
|
|
1900
|
-
clientMutationId?: boolean;
|
|
1901
|
-
result?: {
|
|
1902
|
-
select: SessionSelect;
|
|
1903
|
-
};
|
|
1904
|
-
};
|
|
1905
1901
|
export interface RequestUploadUrlPayload {
|
|
1906
1902
|
/** Presigned PUT URL (null if file was deduplicated) */
|
|
1907
1903
|
uploadUrl?: string | null;
|
|
@@ -2329,50 +2325,6 @@ export type ExtendTokenExpiresRecordSelect = {
|
|
|
2329
2325
|
sessionId?: boolean;
|
|
2330
2326
|
expiresAt?: boolean;
|
|
2331
2327
|
};
|
|
2332
|
-
/** Tracks user authentication sessions with expiration, fingerprinting, and step-up verification state */
|
|
2333
|
-
export interface Session {
|
|
2334
|
-
id: string;
|
|
2335
|
-
/** References the authenticated user; NULL for anonymous sessions */
|
|
2336
|
-
userId?: string | null;
|
|
2337
|
-
/** Whether this is an anonymous session (no authenticated user) */
|
|
2338
|
-
isAnonymous: boolean;
|
|
2339
|
-
/** When this session expires and can no longer be used for authentication */
|
|
2340
|
-
expiresAt: string;
|
|
2341
|
-
/** When this session was explicitly revoked (soft delete); NULL means active */
|
|
2342
|
-
revokedAt?: string | null;
|
|
2343
|
-
/** The origin (protocol + host) from which the session was created, used for fingerprint validation */
|
|
2344
|
-
origin?: ConstructiveInternalTypeOrigin | null;
|
|
2345
|
-
/** IP address from which the session was created, used for strict fingerprint validation */
|
|
2346
|
-
ip?: string | null;
|
|
2347
|
-
/** User-Agent string from the client, used for strict fingerprint validation */
|
|
2348
|
-
uagent?: string | null;
|
|
2349
|
-
/** Session validation mode: strict (origin+ip+uagent), lax (origin only), or none (no validation) */
|
|
2350
|
-
fingerprintMode: string;
|
|
2351
|
-
/** Timestamp of last password re-verification for step-up authentication */
|
|
2352
|
-
lastPasswordVerified?: string | null;
|
|
2353
|
-
/** Timestamp of last MFA verification for step-up authentication */
|
|
2354
|
-
lastMfaVerified?: string | null;
|
|
2355
|
-
/** Secret used to generate and validate CSRF tokens for cookie-based sessions */
|
|
2356
|
-
csrfSecret?: string | null;
|
|
2357
|
-
createdAt?: string | null;
|
|
2358
|
-
updatedAt?: string | null;
|
|
2359
|
-
}
|
|
2360
|
-
export type SessionSelect = {
|
|
2361
|
-
id?: boolean;
|
|
2362
|
-
userId?: boolean;
|
|
2363
|
-
isAnonymous?: boolean;
|
|
2364
|
-
expiresAt?: boolean;
|
|
2365
|
-
revokedAt?: boolean;
|
|
2366
|
-
origin?: boolean;
|
|
2367
|
-
ip?: boolean;
|
|
2368
|
-
uagent?: boolean;
|
|
2369
|
-
fingerprintMode?: boolean;
|
|
2370
|
-
lastPasswordVerified?: boolean;
|
|
2371
|
-
lastMfaVerified?: boolean;
|
|
2372
|
-
csrfSecret?: boolean;
|
|
2373
|
-
createdAt?: boolean;
|
|
2374
|
-
updatedAt?: boolean;
|
|
2375
|
-
};
|
|
2376
2328
|
/** A `Email` edge in the connection. */
|
|
2377
2329
|
export interface EmailEdge {
|
|
2378
2330
|
cursor?: 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, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, ResetPasswordInput, SignInOneTimeTokenInput, SignInInput, SignUpInput, OneTimeTokenInput, ExtendTokenExpiresInput, ForgotPasswordInput, SendVerificationEmailInput,
|
|
9
|
+
import type { SignOutInput, SendAccountDeletionEmailInput, CheckPasswordInput, VerifyPasswordInput, VerifyTotpInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, ResetPasswordInput, SignInOneTimeTokenInput, SignInInput, SignUpInput, OneTimeTokenInput, ExtendTokenExpiresInput, ForgotPasswordInput, SendVerificationEmailInput, RequestUploadUrlInput, ConfirmUploadInput, ProvisionBucketInput, SignOutPayload, SendAccountDeletionEmailPayload, CheckPasswordPayload, VerifyPasswordPayload, VerifyTotpPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, ResetPasswordPayload, SignInOneTimeTokenPayload, SignInPayload, SignUpPayload, OneTimeTokenPayload, ExtendTokenExpiresPayload, ForgotPasswordPayload, SendVerificationEmailPayload, RequestUploadUrlPayload, ConfirmUploadPayload, ProvisionBucketPayload, SignOutPayloadSelect, SendAccountDeletionEmailPayloadSelect, CheckPasswordPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, ResetPasswordPayloadSelect, SignInOneTimeTokenPayloadSelect, SignInPayloadSelect, SignUpPayloadSelect, OneTimeTokenPayloadSelect, ExtendTokenExpiresPayloadSelect, ForgotPasswordPayloadSelect, SendVerificationEmailPayloadSelect, RequestUploadUrlPayloadSelect, ConfirmUploadPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SignOutVariables {
|
|
11
11
|
input: SignOutInput;
|
|
12
12
|
}
|
|
@@ -16,6 +16,12 @@ export interface SendAccountDeletionEmailVariables {
|
|
|
16
16
|
export interface CheckPasswordVariables {
|
|
17
17
|
input: CheckPasswordInput;
|
|
18
18
|
}
|
|
19
|
+
export interface VerifyPasswordVariables {
|
|
20
|
+
input: VerifyPasswordInput;
|
|
21
|
+
}
|
|
22
|
+
export interface VerifyTotpVariables {
|
|
23
|
+
input: VerifyTotpInput;
|
|
24
|
+
}
|
|
19
25
|
export interface ConfirmDeleteAccountVariables {
|
|
20
26
|
input: ConfirmDeleteAccountInput;
|
|
21
27
|
}
|
|
@@ -49,12 +55,6 @@ export interface ForgotPasswordVariables {
|
|
|
49
55
|
export interface SendVerificationEmailVariables {
|
|
50
56
|
input: SendVerificationEmailInput;
|
|
51
57
|
}
|
|
52
|
-
export interface VerifyPasswordVariables {
|
|
53
|
-
input: VerifyPasswordInput;
|
|
54
|
-
}
|
|
55
|
-
export interface VerifyTotpVariables {
|
|
56
|
-
input: VerifyTotpInput;
|
|
57
|
-
}
|
|
58
58
|
/**
|
|
59
59
|
* Variables for requestUploadUrl
|
|
60
60
|
* Request a presigned URL for uploading a file directly to S3.
|
|
@@ -100,6 +100,16 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
100
100
|
} & StrictSelect<S, CheckPasswordPayloadSelect>) => QueryBuilder<{
|
|
101
101
|
checkPassword: InferSelectResult<CheckPasswordPayload, S> | null;
|
|
102
102
|
}>;
|
|
103
|
+
verifyPassword: <S extends VerifyPasswordPayloadSelect>(args: VerifyPasswordVariables, options: {
|
|
104
|
+
select: S;
|
|
105
|
+
} & StrictSelect<S, VerifyPasswordPayloadSelect>) => QueryBuilder<{
|
|
106
|
+
verifyPassword: InferSelectResult<VerifyPasswordPayload, S> | null;
|
|
107
|
+
}>;
|
|
108
|
+
verifyTotp: <S extends VerifyTotpPayloadSelect>(args: VerifyTotpVariables, options: {
|
|
109
|
+
select: S;
|
|
110
|
+
} & StrictSelect<S, VerifyTotpPayloadSelect>) => QueryBuilder<{
|
|
111
|
+
verifyTotp: InferSelectResult<VerifyTotpPayload, S> | null;
|
|
112
|
+
}>;
|
|
103
113
|
confirmDeleteAccount: <S extends ConfirmDeleteAccountPayloadSelect>(args: ConfirmDeleteAccountVariables, options: {
|
|
104
114
|
select: S;
|
|
105
115
|
} & StrictSelect<S, ConfirmDeleteAccountPayloadSelect>) => QueryBuilder<{
|
|
@@ -155,16 +165,6 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
155
165
|
} & StrictSelect<S, SendVerificationEmailPayloadSelect>) => QueryBuilder<{
|
|
156
166
|
sendVerificationEmail: InferSelectResult<SendVerificationEmailPayload, S> | null;
|
|
157
167
|
}>;
|
|
158
|
-
verifyPassword: <S extends VerifyPasswordPayloadSelect>(args: VerifyPasswordVariables, options: {
|
|
159
|
-
select: S;
|
|
160
|
-
} & StrictSelect<S, VerifyPasswordPayloadSelect>) => QueryBuilder<{
|
|
161
|
-
verifyPassword: InferSelectResult<VerifyPasswordPayload, S> | null;
|
|
162
|
-
}>;
|
|
163
|
-
verifyTotp: <S extends VerifyTotpPayloadSelect>(args: VerifyTotpVariables, options: {
|
|
164
|
-
select: S;
|
|
165
|
-
} & StrictSelect<S, VerifyTotpPayloadSelect>) => QueryBuilder<{
|
|
166
|
-
verifyTotp: InferSelectResult<VerifyTotpPayload, S> | null;
|
|
167
|
-
}>;
|
|
168
168
|
requestUploadUrl: <S extends RequestUploadUrlPayloadSelect>(args: RequestUploadUrlVariables, options: {
|
|
169
169
|
select: S;
|
|
170
170
|
} & StrictSelect<S, RequestUploadUrlPayloadSelect>) => QueryBuilder<{
|
|
@@ -38,6 +38,30 @@ export function createMutationOperations(client) {
|
|
|
38
38
|
},
|
|
39
39
|
], connectionFieldsMap, 'CheckPasswordPayload'),
|
|
40
40
|
}),
|
|
41
|
+
verifyPassword: (args, options) => new QueryBuilder({
|
|
42
|
+
client,
|
|
43
|
+
operation: 'mutation',
|
|
44
|
+
operationName: 'VerifyPassword',
|
|
45
|
+
fieldName: 'verifyPassword',
|
|
46
|
+
...buildCustomDocument('mutation', 'VerifyPassword', 'verifyPassword', options.select, args, [
|
|
47
|
+
{
|
|
48
|
+
name: 'input',
|
|
49
|
+
type: 'VerifyPasswordInput!',
|
|
50
|
+
},
|
|
51
|
+
], connectionFieldsMap, 'VerifyPasswordPayload'),
|
|
52
|
+
}),
|
|
53
|
+
verifyTotp: (args, options) => new QueryBuilder({
|
|
54
|
+
client,
|
|
55
|
+
operation: 'mutation',
|
|
56
|
+
operationName: 'VerifyTotp',
|
|
57
|
+
fieldName: 'verifyTotp',
|
|
58
|
+
...buildCustomDocument('mutation', 'VerifyTotp', 'verifyTotp', options.select, args, [
|
|
59
|
+
{
|
|
60
|
+
name: 'input',
|
|
61
|
+
type: 'VerifyTotpInput!',
|
|
62
|
+
},
|
|
63
|
+
], connectionFieldsMap, 'VerifyTotpPayload'),
|
|
64
|
+
}),
|
|
41
65
|
confirmDeleteAccount: (args, options) => new QueryBuilder({
|
|
42
66
|
client,
|
|
43
67
|
operation: 'mutation',
|
|
@@ -170,30 +194,6 @@ export function createMutationOperations(client) {
|
|
|
170
194
|
},
|
|
171
195
|
], connectionFieldsMap, 'SendVerificationEmailPayload'),
|
|
172
196
|
}),
|
|
173
|
-
verifyPassword: (args, options) => new QueryBuilder({
|
|
174
|
-
client,
|
|
175
|
-
operation: 'mutation',
|
|
176
|
-
operationName: 'VerifyPassword',
|
|
177
|
-
fieldName: 'verifyPassword',
|
|
178
|
-
...buildCustomDocument('mutation', 'VerifyPassword', 'verifyPassword', options.select, args, [
|
|
179
|
-
{
|
|
180
|
-
name: 'input',
|
|
181
|
-
type: 'VerifyPasswordInput!',
|
|
182
|
-
},
|
|
183
|
-
], connectionFieldsMap, 'VerifyPasswordPayload'),
|
|
184
|
-
}),
|
|
185
|
-
verifyTotp: (args, options) => new QueryBuilder({
|
|
186
|
-
client,
|
|
187
|
-
operation: 'mutation',
|
|
188
|
-
operationName: 'VerifyTotp',
|
|
189
|
-
fieldName: 'verifyTotp',
|
|
190
|
-
...buildCustomDocument('mutation', 'VerifyTotp', 'verifyTotp', options.select, args, [
|
|
191
|
-
{
|
|
192
|
-
name: 'input',
|
|
193
|
-
type: 'VerifyTotpInput!',
|
|
194
|
-
},
|
|
195
|
-
], connectionFieldsMap, 'VerifyTotpPayload'),
|
|
196
|
-
}),
|
|
197
197
|
requestUploadUrl: (args, options) => new QueryBuilder({
|
|
198
198
|
client,
|
|
199
199
|
operation: 'mutation',
|
|
@@ -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/esm/public/orm/index.js
CHANGED
|
@@ -90,8 +90,8 @@ import { EmailModel } from './models/email';
|
|
|
90
90
|
import { PhoneNumberModel } from './models/phoneNumber';
|
|
91
91
|
import { CryptoAddressModel } from './models/cryptoAddress';
|
|
92
92
|
import { ConnectedAccountModel } from './models/connectedAccount';
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
93
|
+
import { AppInviteModel } from './models/appInvite';
|
|
94
|
+
import { AppClaimedInviteModel } from './models/appClaimedInvite';
|
|
95
95
|
import { OrgInviteModel } from './models/orgInvite';
|
|
96
96
|
import { OrgClaimedInviteModel } from './models/orgClaimedInvite';
|
|
97
97
|
import { AuditLogModel } from './models/auditLog';
|
|
@@ -105,6 +105,7 @@ import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
|
105
105
|
import { MembershipTypeModel } from './models/membershipType';
|
|
106
106
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
107
107
|
import { CommitModel } from './models/commit';
|
|
108
|
+
import { RateLimitsModuleModel } from './models/rateLimitsModule';
|
|
108
109
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
109
110
|
import { RlsModuleModel } from './models/rlsModule';
|
|
110
111
|
import { SqlActionModel } from './models/sqlAction';
|
|
@@ -232,8 +233,8 @@ export function createClient(config) {
|
|
|
232
233
|
phoneNumber: new PhoneNumberModel(client),
|
|
233
234
|
cryptoAddress: new CryptoAddressModel(client),
|
|
234
235
|
connectedAccount: new ConnectedAccountModel(client),
|
|
235
|
-
|
|
236
|
-
|
|
236
|
+
appInvite: new AppInviteModel(client),
|
|
237
|
+
appClaimedInvite: new AppClaimedInviteModel(client),
|
|
237
238
|
orgInvite: new OrgInviteModel(client),
|
|
238
239
|
orgClaimedInvite: new OrgClaimedInviteModel(client),
|
|
239
240
|
auditLog: new AuditLogModel(client),
|
|
@@ -247,6 +248,7 @@ export function createClient(config) {
|
|
|
247
248
|
membershipType: new MembershipTypeModel(client),
|
|
248
249
|
appMembershipDefault: new AppMembershipDefaultModel(client),
|
|
249
250
|
commit: new CommitModel(client),
|
|
251
|
+
rateLimitsModule: new RateLimitsModuleModel(client),
|
|
250
252
|
orgMembershipDefault: new OrgMembershipDefaultModel(client),
|
|
251
253
|
rlsModule: new RlsModuleModel(client),
|
|
252
254
|
sqlAction: new SqlActionModel(client),
|