@constructive-sdk/cli 0.13.3 → 0.14.0
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/cli/commands/{claimed-invite.d.ts → app-claimed-invite.d.ts} +1 -1
- package/admin/cli/commands/{claimed-invite.js → app-claimed-invite.js} +8 -8
- package/{esm/public/cli/commands/invite.d.ts → admin/cli/commands/app-invite.d.ts} +1 -1
- package/{public/cli/commands/invite.js → admin/cli/commands/app-invite.js} +8 -8
- package/admin/cli/commands/steps-achieved.js +4 -4
- package/admin/cli/commands/steps-required.js +4 -4
- package/admin/cli/commands/{submit-invite-code.d.ts → submit-app-invite-code.d.ts} +1 -1
- package/admin/cli/commands/{submit-invite-code.js → submit-app-invite-code.js} +3 -3
- package/admin/cli/commands.js +7 -7
- package/admin/cli/executor.d.ts +5 -5
- 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/cli/commands.js +5 -5
- package/auth/cli/executor.d.ts +10 -10
- 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/cli/commands/{claimed-invite.d.ts → app-claimed-invite.d.ts} +1 -1
- package/esm/admin/cli/commands/{claimed-invite.js → app-claimed-invite.js} +8 -8
- package/esm/admin/cli/commands/{invite.d.ts → app-invite.d.ts} +1 -1
- package/esm/{public/cli/commands/invite.js → admin/cli/commands/app-invite.js} +8 -8
- package/esm/admin/cli/commands/steps-achieved.js +4 -4
- package/esm/admin/cli/commands/steps-required.js +4 -4
- package/esm/admin/cli/commands/submit-app-invite-code.d.ts +8 -0
- package/esm/admin/cli/commands/{submit-invite-code.js → submit-app-invite-code.js} +3 -3
- package/esm/admin/cli/commands.js +7 -7
- package/esm/admin/cli/executor.d.ts +5 -5
- 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/cli/commands.js +5 -5
- package/esm/auth/cli/executor.d.ts +10 -10
- 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/cli/commands/app-claimed-invite.d.ts +8 -0
- package/esm/public/cli/commands/{claimed-invite.js → app-claimed-invite.js} +8 -8
- package/{admin/cli/commands/invite.d.ts → esm/public/cli/commands/app-invite.d.ts} +1 -1
- package/esm/{admin/cli/commands/invite.js → public/cli/commands/app-invite.js} +8 -8
- package/esm/public/cli/commands/rate-limits-module.d.ts +8 -0
- package/esm/public/cli/commands/rate-limits-module.js +382 -0
- package/esm/public/cli/commands/steps-achieved.js +4 -4
- package/esm/public/cli/commands/steps-required.js +4 -4
- package/esm/public/cli/commands/submit-app-invite-code.d.ts +8 -0
- package/esm/public/cli/commands/{submit-invite-code.js → submit-app-invite-code.js} +3 -3
- package/esm/public/cli/commands.js +13 -11
- package/esm/public/cli/executor.d.ts +16 -15
- 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 +5 -5
- package/public/cli/commands/app-claimed-invite.d.ts +8 -0
- package/public/cli/commands/{claimed-invite.js → app-claimed-invite.js} +8 -8
- package/public/cli/commands/{invite.d.ts → app-invite.d.ts} +1 -1
- package/{admin/cli/commands/invite.js → public/cli/commands/app-invite.js} +8 -8
- package/public/cli/commands/rate-limits-module.d.ts +8 -0
- package/public/cli/commands/rate-limits-module.js +384 -0
- package/public/cli/commands/steps-achieved.js +4 -4
- package/public/cli/commands/steps-required.js +4 -4
- package/public/cli/commands/submit-app-invite-code.d.ts +8 -0
- package/public/cli/commands/{submit-invite-code.js → submit-app-invite-code.js} +3 -3
- package/public/cli/commands.js +13 -11
- package/public/cli/executor.d.ts +16 -15
- 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/cli/commands/submit-invite-code.d.ts +0 -8
- package/esm/admin/orm/models/claimedInvite.d.ts +0 -56
- package/esm/admin/orm/models/invite.d.ts +0 -56
- package/esm/public/cli/commands/claimed-invite.d.ts +0 -8
- package/esm/public/cli/commands/submit-invite-code.d.ts +0 -8
- package/esm/public/orm/models/claimedInvite.d.ts +0 -56
- package/esm/public/orm/models/invite.d.ts +0 -56
- package/public/cli/commands/claimed-invite.d.ts +0 -8
- package/public/cli/commands/submit-invite-code.d.ts +0 -8
- package/public/orm/models/claimedInvite.d.ts +0 -56
- package/public/orm/models/invite.d.ts +0 -56
|
@@ -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<{
|
|
@@ -41,6 +41,30 @@ function createMutationOperations(client) {
|
|
|
41
41
|
},
|
|
42
42
|
], input_types_1.connectionFieldsMap, 'CheckPasswordPayload'),
|
|
43
43
|
}),
|
|
44
|
+
verifyPassword: (args, options) => new query_builder_1.QueryBuilder({
|
|
45
|
+
client,
|
|
46
|
+
operation: 'mutation',
|
|
47
|
+
operationName: 'VerifyPassword',
|
|
48
|
+
fieldName: 'verifyPassword',
|
|
49
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'VerifyPassword', 'verifyPassword', options.select, args, [
|
|
50
|
+
{
|
|
51
|
+
name: 'input',
|
|
52
|
+
type: 'VerifyPasswordInput!',
|
|
53
|
+
},
|
|
54
|
+
], input_types_1.connectionFieldsMap, 'VerifyPasswordPayload'),
|
|
55
|
+
}),
|
|
56
|
+
verifyTotp: (args, options) => new query_builder_1.QueryBuilder({
|
|
57
|
+
client,
|
|
58
|
+
operation: 'mutation',
|
|
59
|
+
operationName: 'VerifyTotp',
|
|
60
|
+
fieldName: 'verifyTotp',
|
|
61
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'VerifyTotp', 'verifyTotp', options.select, args, [
|
|
62
|
+
{
|
|
63
|
+
name: 'input',
|
|
64
|
+
type: 'VerifyTotpInput!',
|
|
65
|
+
},
|
|
66
|
+
], input_types_1.connectionFieldsMap, 'VerifyTotpPayload'),
|
|
67
|
+
}),
|
|
44
68
|
confirmDeleteAccount: (args, options) => new query_builder_1.QueryBuilder({
|
|
45
69
|
client,
|
|
46
70
|
operation: 'mutation',
|
|
@@ -173,30 +197,6 @@ function createMutationOperations(client) {
|
|
|
173
197
|
},
|
|
174
198
|
], input_types_1.connectionFieldsMap, 'SendVerificationEmailPayload'),
|
|
175
199
|
}),
|
|
176
|
-
verifyPassword: (args, options) => new query_builder_1.QueryBuilder({
|
|
177
|
-
client,
|
|
178
|
-
operation: 'mutation',
|
|
179
|
-
operationName: 'VerifyPassword',
|
|
180
|
-
fieldName: 'verifyPassword',
|
|
181
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'VerifyPassword', 'verifyPassword', options.select, args, [
|
|
182
|
-
{
|
|
183
|
-
name: 'input',
|
|
184
|
-
type: 'VerifyPasswordInput!',
|
|
185
|
-
},
|
|
186
|
-
], input_types_1.connectionFieldsMap, 'VerifyPasswordPayload'),
|
|
187
|
-
}),
|
|
188
|
-
verifyTotp: (args, options) => new query_builder_1.QueryBuilder({
|
|
189
|
-
client,
|
|
190
|
-
operation: 'mutation',
|
|
191
|
-
operationName: 'VerifyTotp',
|
|
192
|
-
fieldName: 'verifyTotp',
|
|
193
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'VerifyTotp', 'verifyTotp', options.select, args, [
|
|
194
|
-
{
|
|
195
|
-
name: 'input',
|
|
196
|
-
type: 'VerifyTotpInput!',
|
|
197
|
-
},
|
|
198
|
-
], input_types_1.connectionFieldsMap, 'VerifyTotpPayload'),
|
|
199
|
-
}),
|
|
200
200
|
requestUploadUrl: (args, options) => new query_builder_1.QueryBuilder({
|
|
201
201
|
client,
|
|
202
202
|
operation: 'mutation',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* CLI commands for
|
|
2
|
+
* CLI commands for AppClaimedInvite
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
@@ -14,7 +14,7 @@ const fieldSchema = {
|
|
|
14
14
|
createdAt: 'string',
|
|
15
15
|
updatedAt: 'string',
|
|
16
16
|
};
|
|
17
|
-
const usage = '\
|
|
17
|
+
const usage = '\napp-claimed-invite <command>\n\nCommands:\n list List appClaimedInvite records\n find-first Find first matching appClaimedInvite record\n get Get a appClaimedInvite by ID\n create Create a new appClaimedInvite\n update Update an existing appClaimedInvite\n delete Delete a appClaimedInvite\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
18
18
|
export default async (argv, prompter, _options) => {
|
|
19
19
|
if (argv.help || argv.h) {
|
|
20
20
|
console.log(usage);
|
|
@@ -65,7 +65,7 @@ async function handleList(argv, _prompter) {
|
|
|
65
65
|
};
|
|
66
66
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
67
67
|
const client = getClient();
|
|
68
|
-
const result = await client.
|
|
68
|
+
const result = await client.appClaimedInvite.findMany(findManyArgs).execute();
|
|
69
69
|
console.log(JSON.stringify(result, null, 2));
|
|
70
70
|
}
|
|
71
71
|
catch (error) {
|
|
@@ -88,7 +88,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
88
88
|
};
|
|
89
89
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
90
90
|
const client = getClient();
|
|
91
|
-
const result = await client.
|
|
91
|
+
const result = await client.appClaimedInvite.findFirst(findFirstArgs).execute();
|
|
92
92
|
console.log(JSON.stringify(result, null, 2));
|
|
93
93
|
}
|
|
94
94
|
catch (error) {
|
|
@@ -110,7 +110,7 @@ async function handleGet(argv, prompter) {
|
|
|
110
110
|
},
|
|
111
111
|
]);
|
|
112
112
|
const client = getClient();
|
|
113
|
-
const result = await client.
|
|
113
|
+
const result = await client.appClaimedInvite
|
|
114
114
|
.findOne({
|
|
115
115
|
id: answers.id,
|
|
116
116
|
select: {
|
|
@@ -161,7 +161,7 @@ async function handleCreate(argv, prompter) {
|
|
|
161
161
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
162
162
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
163
163
|
const client = getClient();
|
|
164
|
-
const result = await client.
|
|
164
|
+
const result = await client.appClaimedInvite
|
|
165
165
|
.create({
|
|
166
166
|
data: {
|
|
167
167
|
data: cleanedData.data,
|
|
@@ -222,7 +222,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
222
222
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
223
223
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
224
224
|
const client = getClient();
|
|
225
|
-
const result = await client.
|
|
225
|
+
const result = await client.appClaimedInvite
|
|
226
226
|
.update({
|
|
227
227
|
where: {
|
|
228
228
|
id: answers.id,
|
|
@@ -264,7 +264,7 @@ async function handleDelete(argv, prompter) {
|
|
|
264
264
|
]);
|
|
265
265
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
266
266
|
const client = getClient();
|
|
267
|
-
const result = await client.
|
|
267
|
+
const result = await client.appClaimedInvite
|
|
268
268
|
.delete({
|
|
269
269
|
where: {
|
|
270
270
|
id: answers.id,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* CLI commands for
|
|
2
|
+
* CLI commands for AppInvite
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
@@ -20,7 +20,7 @@ const fieldSchema = {
|
|
|
20
20
|
createdAt: 'string',
|
|
21
21
|
updatedAt: 'string',
|
|
22
22
|
};
|
|
23
|
-
const usage = '\
|
|
23
|
+
const usage = '\napp-invite <command>\n\nCommands:\n list List appInvite records\n find-first Find first matching appInvite record\n get Get a appInvite by ID\n create Create a new appInvite\n update Update an existing appInvite\n delete Delete a appInvite\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
24
24
|
export default async (argv, prompter, _options) => {
|
|
25
25
|
if (argv.help || argv.h) {
|
|
26
26
|
console.log(usage);
|
|
@@ -77,7 +77,7 @@ async function handleList(argv, _prompter) {
|
|
|
77
77
|
};
|
|
78
78
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
79
79
|
const client = getClient();
|
|
80
|
-
const result = await client.
|
|
80
|
+
const result = await client.appInvite.findMany(findManyArgs).execute();
|
|
81
81
|
console.log(JSON.stringify(result, null, 2));
|
|
82
82
|
}
|
|
83
83
|
catch (error) {
|
|
@@ -106,7 +106,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
106
106
|
};
|
|
107
107
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
108
108
|
const client = getClient();
|
|
109
|
-
const result = await client.
|
|
109
|
+
const result = await client.appInvite.findFirst(findFirstArgs).execute();
|
|
110
110
|
console.log(JSON.stringify(result, null, 2));
|
|
111
111
|
}
|
|
112
112
|
catch (error) {
|
|
@@ -128,7 +128,7 @@ async function handleGet(argv, prompter) {
|
|
|
128
128
|
},
|
|
129
129
|
]);
|
|
130
130
|
const client = getClient();
|
|
131
|
-
const result = await client.
|
|
131
|
+
const result = await client.appInvite
|
|
132
132
|
.findOne({
|
|
133
133
|
id: answers.id,
|
|
134
134
|
select: {
|
|
@@ -227,7 +227,7 @@ async function handleCreate(argv, prompter) {
|
|
|
227
227
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
228
228
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
229
229
|
const client = getClient();
|
|
230
|
-
const result = await client.
|
|
230
|
+
const result = await client.appInvite
|
|
231
231
|
.create({
|
|
232
232
|
data: {
|
|
233
233
|
email: cleanedData.email,
|
|
@@ -342,7 +342,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
342
342
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
343
343
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
344
344
|
const client = getClient();
|
|
345
|
-
const result = await client.
|
|
345
|
+
const result = await client.appInvite
|
|
346
346
|
.update({
|
|
347
347
|
where: {
|
|
348
348
|
id: answers.id,
|
|
@@ -396,7 +396,7 @@ async function handleDelete(argv, prompter) {
|
|
|
396
396
|
]);
|
|
397
397
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
398
398
|
const client = getClient();
|
|
399
|
-
const result = await client.
|
|
399
|
+
const result = await client.appInvite
|
|
400
400
|
.delete({
|
|
401
401
|
where: {
|
|
402
402
|
id: answers.id,
|
|
@@ -8,13 +8,13 @@ export default async (argv, prompter, _options) => {
|
|
|
8
8
|
const answers = await prompter.prompt(argv, [
|
|
9
9
|
{
|
|
10
10
|
type: 'text',
|
|
11
|
-
name: '
|
|
12
|
-
message: '
|
|
11
|
+
name: 'level',
|
|
12
|
+
message: 'level',
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
type: 'text',
|
|
16
|
-
name: '
|
|
17
|
-
message: '
|
|
16
|
+
name: 'roleId',
|
|
17
|
+
message: 'roleId',
|
|
18
18
|
},
|
|
19
19
|
]);
|
|
20
20
|
const client = getClient();
|
|
@@ -9,13 +9,13 @@ export default async (argv, prompter, _options) => {
|
|
|
9
9
|
const answers = await prompter.prompt(argv, [
|
|
10
10
|
{
|
|
11
11
|
type: 'text',
|
|
12
|
-
name: '
|
|
13
|
-
message: '
|
|
12
|
+
name: 'level',
|
|
13
|
+
message: 'level',
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
type: 'text',
|
|
17
|
-
name: '
|
|
18
|
-
message: '
|
|
17
|
+
name: 'roleId',
|
|
18
|
+
message: 'roleId',
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
type: 'text',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command for mutation submitAppInviteCode
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|
|
@@ -3,7 +3,7 @@ import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
|
|
|
3
3
|
export default async (argv, prompter, _options) => {
|
|
4
4
|
try {
|
|
5
5
|
if (argv.help || argv.h) {
|
|
6
|
-
console.log('submit-invite-code -
|
|
6
|
+
console.log('submit-app-invite-code - submitAppInviteCode\n\nUsage: submit-app-invite-code [OPTIONS]\n');
|
|
7
7
|
process.exit(0);
|
|
8
8
|
}
|
|
9
9
|
const answers = await prompter.prompt(argv, [
|
|
@@ -18,14 +18,14 @@ export default async (argv, prompter, _options) => {
|
|
|
18
18
|
const parsedAnswers = unflattenDotNotation(answers);
|
|
19
19
|
const selectFields = buildSelectFromPaths(argv.select ?? 'clientMutationId');
|
|
20
20
|
const result = await client.mutation
|
|
21
|
-
.
|
|
21
|
+
.submitAppInviteCode(parsedAnswers, {
|
|
22
22
|
select: selectFields,
|
|
23
23
|
})
|
|
24
24
|
.execute();
|
|
25
25
|
console.log(JSON.stringify(result, null, 2));
|
|
26
26
|
}
|
|
27
27
|
catch (error) {
|
|
28
|
-
console.error('Failed:
|
|
28
|
+
console.error('Failed: submitAppInviteCode');
|
|
29
29
|
if (error instanceof Error) {
|
|
30
30
|
console.error(error.message);
|
|
31
31
|
}
|
|
@@ -24,7 +24,7 @@ import membershipTypeCmd from './commands/membership-type';
|
|
|
24
24
|
import appLimitCmd from './commands/app-limit';
|
|
25
25
|
import appAchievementCmd from './commands/app-achievement';
|
|
26
26
|
import appStepCmd from './commands/app-step';
|
|
27
|
-
import
|
|
27
|
+
import appClaimedInviteCmd from './commands/app-claimed-invite';
|
|
28
28
|
import orgChartEdgeGrantCmd from './commands/org-chart-edge-grant';
|
|
29
29
|
import orgLimitCmd from './commands/org-limit';
|
|
30
30
|
import appGrantCmd from './commands/app-grant';
|
|
@@ -34,7 +34,7 @@ import orgGrantCmd from './commands/org-grant';
|
|
|
34
34
|
import orgChartEdgeCmd from './commands/org-chart-edge';
|
|
35
35
|
import orgMembershipDefaultCmd from './commands/org-membership-default';
|
|
36
36
|
import appLevelCmd from './commands/app-level';
|
|
37
|
-
import
|
|
37
|
+
import appInviteCmd from './commands/app-invite';
|
|
38
38
|
import appMembershipCmd from './commands/app-membership';
|
|
39
39
|
import orgMembershipCmd from './commands/org-membership';
|
|
40
40
|
import orgInviteCmd from './commands/org-invite';
|
|
@@ -49,7 +49,7 @@ import orgPermissionsGetMaskByNamesCmd from './commands/org-permissions-get-mask
|
|
|
49
49
|
import appPermissionsGetByMaskCmd from './commands/app-permissions-get-by-mask';
|
|
50
50
|
import orgPermissionsGetByMaskCmd from './commands/org-permissions-get-by-mask';
|
|
51
51
|
import stepsRequiredCmd from './commands/steps-required';
|
|
52
|
-
import
|
|
52
|
+
import submitAppInviteCodeCmd from './commands/submit-app-invite-code';
|
|
53
53
|
import submitOrgInviteCodeCmd from './commands/submit-org-invite-code';
|
|
54
54
|
import requestUploadUrlCmd from './commands/request-upload-url';
|
|
55
55
|
import confirmUploadCmd from './commands/confirm-upload';
|
|
@@ -75,7 +75,7 @@ const createCommandMap = () => ({
|
|
|
75
75
|
'app-limit': appLimitCmd,
|
|
76
76
|
'app-achievement': appAchievementCmd,
|
|
77
77
|
'app-step': appStepCmd,
|
|
78
|
-
'claimed-invite':
|
|
78
|
+
'app-claimed-invite': appClaimedInviteCmd,
|
|
79
79
|
'org-chart-edge-grant': orgChartEdgeGrantCmd,
|
|
80
80
|
'org-limit': orgLimitCmd,
|
|
81
81
|
'app-grant': appGrantCmd,
|
|
@@ -85,7 +85,7 @@ const createCommandMap = () => ({
|
|
|
85
85
|
'org-chart-edge': orgChartEdgeCmd,
|
|
86
86
|
'org-membership-default': orgMembershipDefaultCmd,
|
|
87
87
|
'app-level': appLevelCmd,
|
|
88
|
-
invite:
|
|
88
|
+
'app-invite': appInviteCmd,
|
|
89
89
|
'app-membership': appMembershipCmd,
|
|
90
90
|
'org-membership': orgMembershipCmd,
|
|
91
91
|
'org-invite': orgInviteCmd,
|
|
@@ -100,13 +100,13 @@ const createCommandMap = () => ({
|
|
|
100
100
|
'app-permissions-get-by-mask': appPermissionsGetByMaskCmd,
|
|
101
101
|
'org-permissions-get-by-mask': orgPermissionsGetByMaskCmd,
|
|
102
102
|
'steps-required': stepsRequiredCmd,
|
|
103
|
-
'submit-invite-code':
|
|
103
|
+
'submit-app-invite-code': submitAppInviteCodeCmd,
|
|
104
104
|
'submit-org-invite-code': submitOrgInviteCodeCmd,
|
|
105
105
|
'request-upload-url': requestUploadUrlCmd,
|
|
106
106
|
'confirm-upload': confirmUploadCmd,
|
|
107
107
|
'provision-bucket': provisionBucketCmd,
|
|
108
108
|
});
|
|
109
|
-
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n org-member orgMember CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n membership-type membershipType CRUD operations\n app-limit appLimit CRUD operations\n app-achievement appAchievement CRUD operations\n app-step appStep CRUD operations\n claimed-invite
|
|
109
|
+
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n org-member orgMember CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n membership-type membershipType CRUD operations\n app-limit appLimit CRUD operations\n app-achievement appAchievement CRUD operations\n app-step appStep CRUD operations\n app-claimed-invite appClaimedInvite CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n org-limit orgLimit CRUD operations\n app-grant appGrant CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n app-level appLevel CRUD operations\n app-invite appInvite CRUD operations\n app-membership appMembership CRUD operations\n org-membership orgMembership CRUD operations\n org-invite orgInvite CRUD operations\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n steps-achieved stepsAchieved\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n submit-app-invite-code submitAppInviteCode\n submit-org-invite-code submitOrgInviteCode\n request-upload-url Request a presigned URL for uploading a file directly to S3.\nClient computes SHA-256 of the file content and provides it here.\nIf a file with the same hash already exists (dedup), returns the\nexisting file ID and deduplicated=true with no uploadUrl.\n confirm-upload Confirm that a file has been uploaded to S3.\nVerifies the object exists in S3, checks content-type,\nand transitions the file status from 'pending' to 'ready'.\n provision-bucket Provision an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then creates and configures\nthe S3 bucket with the appropriate privacy policies, CORS rules,\nand lifecycle settings.\n\n --help, -h Show this help message\n --version, -v Show version\n";
|
|
110
110
|
export const commands = async (argv, prompter, options) => {
|
|
111
111
|
if (argv.help || argv.h) {
|
|
112
112
|
console.log(usage);
|
|
@@ -18,7 +18,7 @@ export declare function getClient(contextName?: string): {
|
|
|
18
18
|
appLimit: import("..").AppLimitModel;
|
|
19
19
|
appAchievement: import("..").AppAchievementModel;
|
|
20
20
|
appStep: import("..").AppStepModel;
|
|
21
|
-
|
|
21
|
+
appClaimedInvite: import("..").AppClaimedInviteModel;
|
|
22
22
|
orgChartEdgeGrant: import("..").OrgChartEdgeGrantModel;
|
|
23
23
|
orgLimit: import("..").OrgLimitModel;
|
|
24
24
|
appGrant: import("..").AppGrantModel;
|
|
@@ -28,7 +28,7 @@ export declare function getClient(contextName?: string): {
|
|
|
28
28
|
orgChartEdge: import("..").OrgChartEdgeModel;
|
|
29
29
|
orgMembershipDefault: import("..").OrgMembershipDefaultModel;
|
|
30
30
|
appLevel: import("..").AppLevelModel;
|
|
31
|
-
|
|
31
|
+
appInvite: import("..").AppInviteModel;
|
|
32
32
|
appMembership: import("..").AppMembershipModel;
|
|
33
33
|
orgMembership: import("..").OrgMembershipModel;
|
|
34
34
|
orgInvite: import("..").OrgInviteModel;
|
|
@@ -90,10 +90,10 @@ export declare function getClient(contextName?: string): {
|
|
|
90
90
|
}>;
|
|
91
91
|
};
|
|
92
92
|
mutation: {
|
|
93
|
-
|
|
93
|
+
submitAppInviteCode: <S extends import("../orm/input-types").SubmitAppInviteCodePayloadSelect>(args: import("../orm/mutation").SubmitAppInviteCodeVariables, options: {
|
|
94
94
|
select: S;
|
|
95
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").
|
|
96
|
-
|
|
95
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").SubmitAppInviteCodePayloadSelect>) => import("..").QueryBuilder<{
|
|
96
|
+
submitAppInviteCode: import("..").InferSelectResult<import("../orm/input-types").SubmitAppInviteCodePayload, S> | null;
|
|
97
97
|
}>;
|
|
98
98
|
submitOrgInviteCode: <S extends import("../orm/input-types").SubmitOrgInviteCodePayloadSelect>(args: import("../orm/mutation").SubmitOrgInviteCodeVariables, options: {
|
|
99
99
|
select: S;
|
package/esm/admin/orm/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import { MembershipTypeModel } from './models/membershipType';
|
|
|
17
17
|
import { AppLimitModel } from './models/appLimit';
|
|
18
18
|
import { AppAchievementModel } from './models/appAchievement';
|
|
19
19
|
import { AppStepModel } from './models/appStep';
|
|
20
|
-
import {
|
|
20
|
+
import { AppClaimedInviteModel } from './models/appClaimedInvite';
|
|
21
21
|
import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
|
|
22
22
|
import { OrgLimitModel } from './models/orgLimit';
|
|
23
23
|
import { AppGrantModel } from './models/appGrant';
|
|
@@ -27,7 +27,7 @@ import { OrgGrantModel } from './models/orgGrant';
|
|
|
27
27
|
import { OrgChartEdgeModel } from './models/orgChartEdge';
|
|
28
28
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
29
29
|
import { AppLevelModel } from './models/appLevel';
|
|
30
|
-
import {
|
|
30
|
+
import { AppInviteModel } from './models/appInvite';
|
|
31
31
|
import { AppMembershipModel } from './models/appMembership';
|
|
32
32
|
import { OrgMembershipModel } from './models/orgMembership';
|
|
33
33
|
import { OrgInviteModel } from './models/orgInvite';
|
|
@@ -81,7 +81,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
81
81
|
appLimit: AppLimitModel;
|
|
82
82
|
appAchievement: AppAchievementModel;
|
|
83
83
|
appStep: AppStepModel;
|
|
84
|
-
|
|
84
|
+
appClaimedInvite: AppClaimedInviteModel;
|
|
85
85
|
orgChartEdgeGrant: OrgChartEdgeGrantModel;
|
|
86
86
|
orgLimit: OrgLimitModel;
|
|
87
87
|
appGrant: AppGrantModel;
|
|
@@ -91,7 +91,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
91
91
|
orgChartEdge: OrgChartEdgeModel;
|
|
92
92
|
orgMembershipDefault: OrgMembershipDefaultModel;
|
|
93
93
|
appLevel: AppLevelModel;
|
|
94
|
-
|
|
94
|
+
appInvite: AppInviteModel;
|
|
95
95
|
appMembership: AppMembershipModel;
|
|
96
96
|
orgMembership: OrgMembershipModel;
|
|
97
97
|
orgInvite: OrgInviteModel;
|
|
@@ -153,10 +153,10 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
153
153
|
}>;
|
|
154
154
|
};
|
|
155
155
|
mutation: {
|
|
156
|
-
|
|
156
|
+
submitAppInviteCode: <S extends import("./input-types").SubmitAppInviteCodePayloadSelect>(args: import("./mutation").SubmitAppInviteCodeVariables, options: {
|
|
157
157
|
select: S;
|
|
158
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
159
|
-
|
|
158
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SubmitAppInviteCodePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
159
|
+
submitAppInviteCode: import("./select-types").InferSelectResult<import("./input-types").SubmitAppInviteCodePayload, S> | null;
|
|
160
160
|
}>;
|
|
161
161
|
submitOrgInviteCode: <S extends import("./input-types").SubmitOrgInviteCodePayloadSelect>(args: import("./mutation").SubmitOrgInviteCodeVariables, options: {
|
|
162
162
|
select: S;
|
package/esm/admin/orm/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import { MembershipTypeModel } from './models/membershipType';
|
|
|
22
22
|
import { AppLimitModel } from './models/appLimit';
|
|
23
23
|
import { AppAchievementModel } from './models/appAchievement';
|
|
24
24
|
import { AppStepModel } from './models/appStep';
|
|
25
|
-
import {
|
|
25
|
+
import { AppClaimedInviteModel } from './models/appClaimedInvite';
|
|
26
26
|
import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
|
|
27
27
|
import { OrgLimitModel } from './models/orgLimit';
|
|
28
28
|
import { AppGrantModel } from './models/appGrant';
|
|
@@ -32,7 +32,7 @@ import { OrgGrantModel } from './models/orgGrant';
|
|
|
32
32
|
import { OrgChartEdgeModel } from './models/orgChartEdge';
|
|
33
33
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
34
34
|
import { AppLevelModel } from './models/appLevel';
|
|
35
|
-
import {
|
|
35
|
+
import { AppInviteModel } from './models/appInvite';
|
|
36
36
|
import { AppMembershipModel } from './models/appMembership';
|
|
37
37
|
import { OrgMembershipModel } from './models/orgMembership';
|
|
38
38
|
import { OrgInviteModel } from './models/orgInvite';
|
|
@@ -89,7 +89,7 @@ export function createClient(config) {
|
|
|
89
89
|
appLimit: new AppLimitModel(client),
|
|
90
90
|
appAchievement: new AppAchievementModel(client),
|
|
91
91
|
appStep: new AppStepModel(client),
|
|
92
|
-
|
|
92
|
+
appClaimedInvite: new AppClaimedInviteModel(client),
|
|
93
93
|
orgChartEdgeGrant: new OrgChartEdgeGrantModel(client),
|
|
94
94
|
orgLimit: new OrgLimitModel(client),
|
|
95
95
|
appGrant: new AppGrantModel(client),
|
|
@@ -99,7 +99,7 @@ export function createClient(config) {
|
|
|
99
99
|
orgChartEdge: new OrgChartEdgeModel(client),
|
|
100
100
|
orgMembershipDefault: new OrgMembershipDefaultModel(client),
|
|
101
101
|
appLevel: new AppLevelModel(client),
|
|
102
|
-
|
|
102
|
+
appInvite: new AppInviteModel(client),
|
|
103
103
|
appMembership: new AppMembershipModel(client),
|
|
104
104
|
orgMembership: new OrgMembershipModel(client),
|
|
105
105
|
orgInvite: new OrgInviteModel(client),
|