@constructive-sdk/cli 0.29.0 → 0.29.2
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/api/cli/commands/api.js +44 -0
- package/api/cli/commands/check-constraint.js +0 -22
- package/api/cli/commands/composite-type.js +0 -22
- package/api/cli/commands/database-setting.js +44 -0
- package/api/cli/commands/domain.js +66 -0
- package/api/cli/commands/enum.js +0 -22
- package/api/cli/commands/field.js +0 -22
- package/api/cli/commands/foreign-key-constraint.js +0 -22
- package/api/cli/commands/index.js +0 -22
- package/api/cli/commands/policy.js +0 -22
- package/api/cli/commands/primary-key-constraint.js +0 -22
- package/api/cli/commands/schema.js +0 -22
- package/api/cli/commands/site.js +44 -0
- package/api/cli/commands/spatial-relation.js +0 -22
- package/api/cli/commands/table.js +0 -22
- package/api/cli/commands/trigger.js +0 -22
- package/api/cli/commands/unique-constraint.js +0 -22
- package/api/cli/commands/view.js +0 -22
- package/api/orm/input-types.d.ts +144 -171
- package/auth/cli/commands/create-org-api-key.d.ts +8 -0
- package/auth/cli/commands/create-org-api-key.js +36 -0
- package/auth/cli/commands/create-org-principal.d.ts +8 -0
- package/auth/cli/commands/create-org-principal.js +36 -0
- package/auth/cli/commands/delete-org-principal.d.ts +8 -0
- package/auth/cli/commands/delete-org-principal.js +36 -0
- package/auth/cli/commands/org-api-key-list.d.ts +8 -0
- package/auth/cli/commands/org-api-key-list.js +224 -0
- package/auth/cli/commands/principal-entity.d.ts +8 -0
- package/auth/cli/commands/principal-entity.js +282 -0
- package/auth/cli/commands/principal-scope-override.d.ts +8 -0
- package/auth/cli/commands/principal-scope-override.js +171 -0
- package/auth/cli/commands/principal.d.ts +8 -0
- package/auth/cli/commands/principal.js +171 -0
- package/auth/cli/commands/revoke-org-api-key.d.ts +8 -0
- package/auth/cli/commands/revoke-org-api-key.js +36 -0
- package/auth/cli/commands.js +19 -3
- package/auth/cli/executor.d.ts +28 -4
- package/auth/orm/index.d.ts +32 -4
- package/auth/orm/index.js +8 -0
- package/auth/orm/input-types.d.ts +915 -145
- package/auth/orm/input-types.js +7 -0
- package/auth/orm/models/index.d.ts +4 -0
- package/auth/orm/models/index.js +9 -1
- package/auth/orm/models/orgApiKeyList.d.ts +36 -0
- package/auth/orm/models/orgApiKeyList.js +80 -0
- package/auth/orm/models/principal.d.ts +45 -0
- package/auth/orm/models/principal.js +93 -0
- package/auth/orm/models/principalEntity.d.ts +54 -0
- package/auth/orm/models/principalEntity.js +104 -0
- package/auth/orm/models/principalScopeOverride.d.ts +36 -0
- package/auth/orm/models/principalScopeOverride.js +80 -0
- package/auth/orm/mutation/index.d.ts +33 -1
- package/auth/orm/mutation/index.js +48 -0
- package/auth/orm/query/index.d.ts +4 -4
- package/auth/orm/query/index.js +7 -7
- package/compute/cli/commands/function-graph-execution.js +0 -22
- package/compute/cli/commands/function-graph.js +0 -20
- package/compute/cli/commands/platform-namespace-event.d.ts +8 -0
- package/compute/cli/commands/platform-namespace-event.js +510 -0
- package/compute/cli/commands/platform-namespace.d.ts +8 -0
- package/compute/cli/commands/platform-namespace.js +436 -0
- package/compute/cli/commands/resource-event.d.ts +8 -0
- package/compute/cli/commands/resource-event.js +356 -0
- package/compute/cli/commands/resource.d.ts +8 -0
- package/compute/cli/commands/resource.js +520 -0
- package/compute/cli/commands.js +13 -5
- package/compute/cli/executor.d.ts +10 -6
- package/compute/orm/index.d.ts +15 -7
- package/compute/orm/index.js +10 -2
- package/compute/orm/input-types.d.ts +1159 -221
- package/compute/orm/input-types.js +4 -0
- package/compute/orm/models/index.d.ts +5 -1
- package/compute/orm/models/index.js +11 -3
- package/compute/orm/models/platformNamespace.d.ts +54 -0
- package/compute/orm/models/platformNamespace.js +104 -0
- package/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/compute/orm/models/platformNamespaceEvent.js +107 -0
- package/compute/orm/models/resource.d.ts +54 -0
- package/compute/orm/models/resource.js +104 -0
- package/compute/orm/models/resourceEvent.d.ts +56 -0
- package/compute/orm/models/resourceEvent.js +107 -0
- package/compute/orm/mutation/index.d.ts +9 -9
- package/compute/orm/mutation/index.js +12 -12
- package/esm/api/cli/commands/api.js +44 -0
- package/esm/api/cli/commands/check-constraint.js +0 -22
- package/esm/api/cli/commands/composite-type.js +0 -22
- package/esm/api/cli/commands/database-setting.js +44 -0
- package/esm/api/cli/commands/domain.js +66 -0
- package/esm/api/cli/commands/enum.js +0 -22
- package/esm/api/cli/commands/field.js +0 -22
- package/esm/api/cli/commands/foreign-key-constraint.js +0 -22
- package/esm/api/cli/commands/index.js +0 -22
- package/esm/api/cli/commands/policy.js +0 -22
- package/esm/api/cli/commands/primary-key-constraint.js +0 -22
- package/esm/api/cli/commands/schema.js +0 -22
- package/esm/api/cli/commands/site.js +44 -0
- package/esm/api/cli/commands/spatial-relation.js +0 -22
- package/esm/api/cli/commands/table.js +0 -22
- package/esm/api/cli/commands/trigger.js +0 -22
- package/esm/api/cli/commands/unique-constraint.js +0 -22
- package/esm/api/cli/commands/view.js +0 -22
- package/esm/api/orm/input-types.d.ts +144 -171
- package/esm/auth/cli/commands/create-org-api-key.d.ts +8 -0
- package/esm/auth/cli/commands/create-org-api-key.js +34 -0
- package/esm/auth/cli/commands/create-org-principal.d.ts +8 -0
- package/esm/auth/cli/commands/create-org-principal.js +34 -0
- package/esm/auth/cli/commands/delete-org-principal.d.ts +8 -0
- package/esm/auth/cli/commands/delete-org-principal.js +34 -0
- package/esm/auth/cli/commands/org-api-key-list.d.ts +8 -0
- package/esm/auth/cli/commands/org-api-key-list.js +222 -0
- package/esm/auth/cli/commands/principal-entity.d.ts +8 -0
- package/esm/auth/cli/commands/principal-entity.js +280 -0
- package/esm/auth/cli/commands/principal-scope-override.d.ts +8 -0
- package/esm/auth/cli/commands/principal-scope-override.js +169 -0
- package/esm/auth/cli/commands/principal.d.ts +8 -0
- package/esm/auth/cli/commands/principal.js +169 -0
- package/esm/auth/cli/commands/revoke-org-api-key.d.ts +8 -0
- package/esm/auth/cli/commands/revoke-org-api-key.js +34 -0
- package/esm/auth/cli/commands.js +19 -3
- package/esm/auth/cli/executor.d.ts +28 -4
- package/esm/auth/orm/index.d.ts +32 -4
- package/esm/auth/orm/index.js +8 -0
- package/esm/auth/orm/input-types.d.ts +915 -145
- package/esm/auth/orm/input-types.js +7 -0
- package/esm/auth/orm/models/index.d.ts +4 -0
- package/esm/auth/orm/models/index.js +4 -0
- package/esm/auth/orm/models/orgApiKeyList.d.ts +36 -0
- package/esm/auth/orm/models/orgApiKeyList.js +76 -0
- package/esm/auth/orm/models/principal.d.ts +45 -0
- package/esm/auth/orm/models/principal.js +89 -0
- package/esm/auth/orm/models/principalEntity.d.ts +54 -0
- package/esm/auth/orm/models/principalEntity.js +100 -0
- package/esm/auth/orm/models/principalScopeOverride.d.ts +36 -0
- package/esm/auth/orm/models/principalScopeOverride.js +76 -0
- package/esm/auth/orm/mutation/index.d.ts +33 -1
- package/esm/auth/orm/mutation/index.js +48 -0
- package/esm/auth/orm/query/index.d.ts +4 -4
- package/esm/auth/orm/query/index.js +7 -7
- package/esm/compute/cli/commands/function-graph-execution.js +0 -22
- package/esm/compute/cli/commands/function-graph.js +0 -20
- package/esm/compute/cli/commands/platform-namespace-event.d.ts +8 -0
- package/esm/compute/cli/commands/platform-namespace-event.js +508 -0
- package/esm/compute/cli/commands/platform-namespace.d.ts +8 -0
- package/esm/compute/cli/commands/platform-namespace.js +434 -0
- package/esm/compute/cli/commands/resource-event.d.ts +8 -0
- package/esm/compute/cli/commands/resource-event.js +354 -0
- package/esm/compute/cli/commands/resource.d.ts +8 -0
- package/esm/compute/cli/commands/resource.js +518 -0
- package/esm/compute/cli/commands.js +13 -5
- package/esm/compute/cli/executor.d.ts +10 -6
- package/esm/compute/orm/index.d.ts +15 -7
- package/esm/compute/orm/index.js +10 -2
- package/esm/compute/orm/input-types.d.ts +1159 -221
- package/esm/compute/orm/input-types.js +4 -0
- package/esm/compute/orm/models/index.d.ts +5 -1
- package/esm/compute/orm/models/index.js +5 -1
- package/esm/compute/orm/models/platformNamespace.d.ts +54 -0
- package/esm/compute/orm/models/platformNamespace.js +100 -0
- package/esm/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/esm/compute/orm/models/platformNamespaceEvent.js +103 -0
- package/esm/compute/orm/models/resource.d.ts +54 -0
- package/esm/compute/orm/models/resource.js +100 -0
- package/esm/compute/orm/models/resourceEvent.d.ts +56 -0
- package/esm/compute/orm/models/resourceEvent.js +103 -0
- package/esm/compute/orm/mutation/index.d.ts +9 -9
- package/esm/compute/orm/mutation/index.js +12 -12
- package/esm/modules/cli/commands/merkle-store-module.js +22 -0
- package/esm/modules/cli/commands/principal-auth-module.d.ts +8 -0
- package/esm/modules/cli/commands/principal-auth-module.js +580 -0
- package/esm/modules/cli/commands/resource-module.d.ts +8 -0
- package/esm/modules/cli/commands/resource-module.js +602 -0
- package/esm/modules/cli/commands.js +9 -5
- package/esm/modules/cli/executor.d.ts +4 -2
- package/esm/modules/orm/index.d.ts +8 -4
- package/esm/modules/orm/index.js +8 -4
- package/esm/modules/orm/input-types.d.ts +868 -411
- package/esm/modules/orm/models/index.d.ts +4 -2
- package/esm/modules/orm/models/index.js +4 -2
- package/esm/modules/orm/models/principalAuthModule.d.ts +54 -0
- package/esm/modules/orm/models/principalAuthModule.js +100 -0
- package/esm/modules/orm/models/resourceModule.d.ts +54 -0
- package/esm/modules/orm/models/resourceModule.js +100 -0
- package/modules/cli/commands/merkle-store-module.js +22 -0
- package/modules/cli/commands/principal-auth-module.d.ts +8 -0
- package/modules/cli/commands/principal-auth-module.js +582 -0
- package/modules/cli/commands/resource-module.d.ts +8 -0
- package/modules/cli/commands/resource-module.js +604 -0
- package/modules/cli/commands.js +9 -5
- package/modules/cli/executor.d.ts +4 -2
- package/modules/orm/index.d.ts +8 -4
- package/modules/orm/index.js +8 -4
- package/modules/orm/input-types.d.ts +868 -411
- package/modules/orm/models/index.d.ts +4 -2
- package/modules/orm/models/index.js +10 -6
- package/modules/orm/models/principalAuthModule.d.ts +54 -0
- package/modules/orm/models/principalAuthModule.js +104 -0
- package/modules/orm/models/resourceModule.d.ts +54 -0
- package/modules/orm/models/resourceModule.js +104 -0
- package/package.json +5 -5
|
@@ -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, SignInSmsOtpInput, SignUpSmsInput, SignUpInput, SignInInput, LinkIdentityInput, ExtendTokenExpiresInput, CreateApiKeyInput, RequestCrossOriginTokenInput, ForgotPasswordInput, SendVerificationEmailInput, ProvisionBucketInput, SignOutPayload, SendAccountDeletionEmailPayload, CheckPasswordPayload, DisconnectAccountPayload, RevokeApiKeyPayload, RevokeSessionPayload, VerifyPasswordPayload, VerifyTotpPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, ProvisionNewUserPayload, ResetPasswordPayload, SignInCrossOriginPayload, SignInSmsOtpPayload, SignUpSmsPayload, SignUpPayload, SignInPayload, LinkIdentityPayload, ExtendTokenExpiresPayload, CreateApiKeyPayload, RequestCrossOriginTokenPayload, ForgotPasswordPayload, SendVerificationEmailPayload, ProvisionBucketPayload, SignOutPayloadSelect, SendAccountDeletionEmailPayloadSelect, CheckPasswordPayloadSelect, DisconnectAccountPayloadSelect, RevokeApiKeyPayloadSelect, RevokeSessionPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, ProvisionNewUserPayloadSelect, ResetPasswordPayloadSelect, SignInCrossOriginPayloadSelect, SignInSmsOtpPayloadSelect, SignUpSmsPayloadSelect, SignUpPayloadSelect, SignInPayloadSelect, LinkIdentityPayloadSelect, ExtendTokenExpiresPayloadSelect, CreateApiKeyPayloadSelect, RequestCrossOriginTokenPayloadSelect, ForgotPasswordPayloadSelect, SendVerificationEmailPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
9
|
+
import type { SignOutInput, SendAccountDeletionEmailInput, CheckPasswordInput, DeleteOrgPrincipalInput, DisconnectAccountInput, RevokeApiKeyInput, RevokeSessionInput, VerifyPasswordInput, VerifyTotpInput, ConfirmDeleteAccountInput, RevokeOrgApiKeyInput, SetPasswordInput, VerifyEmailInput, ProvisionNewUserInput, ResetPasswordInput, SignInCrossOriginInput, SignInSmsOtpInput, SignUpSmsInput, SignUpInput, SignInInput, LinkIdentityInput, CreateOrgPrincipalInput, ExtendTokenExpiresInput, CreateOrgApiKeyInput, CreateApiKeyInput, RequestCrossOriginTokenInput, ForgotPasswordInput, SendVerificationEmailInput, ProvisionBucketInput, SignOutPayload, SendAccountDeletionEmailPayload, CheckPasswordPayload, DeleteOrgPrincipalPayload, DisconnectAccountPayload, RevokeApiKeyPayload, RevokeSessionPayload, VerifyPasswordPayload, VerifyTotpPayload, ConfirmDeleteAccountPayload, RevokeOrgApiKeyPayload, SetPasswordPayload, VerifyEmailPayload, ProvisionNewUserPayload, ResetPasswordPayload, SignInCrossOriginPayload, SignInSmsOtpPayload, SignUpSmsPayload, SignUpPayload, SignInPayload, LinkIdentityPayload, CreateOrgPrincipalPayload, ExtendTokenExpiresPayload, CreateOrgApiKeyPayload, CreateApiKeyPayload, RequestCrossOriginTokenPayload, ForgotPasswordPayload, SendVerificationEmailPayload, ProvisionBucketPayload, SignOutPayloadSelect, SendAccountDeletionEmailPayloadSelect, CheckPasswordPayloadSelect, DeleteOrgPrincipalPayloadSelect, DisconnectAccountPayloadSelect, RevokeApiKeyPayloadSelect, RevokeSessionPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect, ConfirmDeleteAccountPayloadSelect, RevokeOrgApiKeyPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, ProvisionNewUserPayloadSelect, ResetPasswordPayloadSelect, SignInCrossOriginPayloadSelect, SignInSmsOtpPayloadSelect, SignUpSmsPayloadSelect, SignUpPayloadSelect, SignInPayloadSelect, LinkIdentityPayloadSelect, CreateOrgPrincipalPayloadSelect, ExtendTokenExpiresPayloadSelect, CreateOrgApiKeyPayloadSelect, CreateApiKeyPayloadSelect, RequestCrossOriginTokenPayloadSelect, ForgotPasswordPayloadSelect, SendVerificationEmailPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SignOutVariables {
|
|
11
11
|
input: SignOutInput;
|
|
12
12
|
}
|
|
@@ -16,6 +16,9 @@ export interface SendAccountDeletionEmailVariables {
|
|
|
16
16
|
export interface CheckPasswordVariables {
|
|
17
17
|
input: CheckPasswordInput;
|
|
18
18
|
}
|
|
19
|
+
export interface DeleteOrgPrincipalVariables {
|
|
20
|
+
input: DeleteOrgPrincipalInput;
|
|
21
|
+
}
|
|
19
22
|
export interface DisconnectAccountVariables {
|
|
20
23
|
input: DisconnectAccountInput;
|
|
21
24
|
}
|
|
@@ -34,6 +37,9 @@ export interface VerifyTotpVariables {
|
|
|
34
37
|
export interface ConfirmDeleteAccountVariables {
|
|
35
38
|
input: ConfirmDeleteAccountInput;
|
|
36
39
|
}
|
|
40
|
+
export interface RevokeOrgApiKeyVariables {
|
|
41
|
+
input: RevokeOrgApiKeyInput;
|
|
42
|
+
}
|
|
37
43
|
export interface SetPasswordVariables {
|
|
38
44
|
input: SetPasswordInput;
|
|
39
45
|
}
|
|
@@ -64,9 +70,15 @@ export interface SignInVariables {
|
|
|
64
70
|
export interface LinkIdentityVariables {
|
|
65
71
|
input: LinkIdentityInput;
|
|
66
72
|
}
|
|
73
|
+
export interface CreateOrgPrincipalVariables {
|
|
74
|
+
input: CreateOrgPrincipalInput;
|
|
75
|
+
}
|
|
67
76
|
export interface ExtendTokenExpiresVariables {
|
|
68
77
|
input: ExtendTokenExpiresInput;
|
|
69
78
|
}
|
|
79
|
+
export interface CreateOrgApiKeyVariables {
|
|
80
|
+
input: CreateOrgApiKeyInput;
|
|
81
|
+
}
|
|
70
82
|
export interface CreateApiKeyVariables {
|
|
71
83
|
input: CreateApiKeyInput;
|
|
72
84
|
}
|
|
@@ -105,6 +117,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
105
117
|
} & StrictSelect<S, CheckPasswordPayloadSelect>) => QueryBuilder<{
|
|
106
118
|
checkPassword: InferSelectResult<CheckPasswordPayload, S> | null;
|
|
107
119
|
}>;
|
|
120
|
+
deleteOrgPrincipal: <S extends DeleteOrgPrincipalPayloadSelect>(args: DeleteOrgPrincipalVariables, options: {
|
|
121
|
+
select: S;
|
|
122
|
+
} & StrictSelect<S, DeleteOrgPrincipalPayloadSelect>) => QueryBuilder<{
|
|
123
|
+
deleteOrgPrincipal: InferSelectResult<DeleteOrgPrincipalPayload, S> | null;
|
|
124
|
+
}>;
|
|
108
125
|
disconnectAccount: <S extends DisconnectAccountPayloadSelect>(args: DisconnectAccountVariables, options: {
|
|
109
126
|
select: S;
|
|
110
127
|
} & StrictSelect<S, DisconnectAccountPayloadSelect>) => QueryBuilder<{
|
|
@@ -135,6 +152,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
135
152
|
} & StrictSelect<S, ConfirmDeleteAccountPayloadSelect>) => QueryBuilder<{
|
|
136
153
|
confirmDeleteAccount: InferSelectResult<ConfirmDeleteAccountPayload, S> | null;
|
|
137
154
|
}>;
|
|
155
|
+
revokeOrgApiKey: <S extends RevokeOrgApiKeyPayloadSelect>(args: RevokeOrgApiKeyVariables, options: {
|
|
156
|
+
select: S;
|
|
157
|
+
} & StrictSelect<S, RevokeOrgApiKeyPayloadSelect>) => QueryBuilder<{
|
|
158
|
+
revokeOrgApiKey: InferSelectResult<RevokeOrgApiKeyPayload, S> | null;
|
|
159
|
+
}>;
|
|
138
160
|
setPassword: <S extends SetPasswordPayloadSelect>(args: SetPasswordVariables, options: {
|
|
139
161
|
select: S;
|
|
140
162
|
} & StrictSelect<S, SetPasswordPayloadSelect>) => QueryBuilder<{
|
|
@@ -185,11 +207,21 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
185
207
|
} & StrictSelect<S, LinkIdentityPayloadSelect>) => QueryBuilder<{
|
|
186
208
|
linkIdentity: InferSelectResult<LinkIdentityPayload, S> | null;
|
|
187
209
|
}>;
|
|
210
|
+
createOrgPrincipal: <S extends CreateOrgPrincipalPayloadSelect>(args: CreateOrgPrincipalVariables, options: {
|
|
211
|
+
select: S;
|
|
212
|
+
} & StrictSelect<S, CreateOrgPrincipalPayloadSelect>) => QueryBuilder<{
|
|
213
|
+
createOrgPrincipal: InferSelectResult<CreateOrgPrincipalPayload, S> | null;
|
|
214
|
+
}>;
|
|
188
215
|
extendTokenExpires: <S extends ExtendTokenExpiresPayloadSelect>(args: ExtendTokenExpiresVariables, options: {
|
|
189
216
|
select: S;
|
|
190
217
|
} & StrictSelect<S, ExtendTokenExpiresPayloadSelect>) => QueryBuilder<{
|
|
191
218
|
extendTokenExpires: InferSelectResult<ExtendTokenExpiresPayload, S> | null;
|
|
192
219
|
}>;
|
|
220
|
+
createOrgApiKey: <S extends CreateOrgApiKeyPayloadSelect>(args: CreateOrgApiKeyVariables, options: {
|
|
221
|
+
select: S;
|
|
222
|
+
} & StrictSelect<S, CreateOrgApiKeyPayloadSelect>) => QueryBuilder<{
|
|
223
|
+
createOrgApiKey: InferSelectResult<CreateOrgApiKeyPayload, S> | null;
|
|
224
|
+
}>;
|
|
193
225
|
createApiKey: <S extends CreateApiKeyPayloadSelect>(args: CreateApiKeyVariables, options: {
|
|
194
226
|
select: S;
|
|
195
227
|
} & StrictSelect<S, CreateApiKeyPayloadSelect>) => QueryBuilder<{
|
|
@@ -41,6 +41,18 @@ function createMutationOperations(client) {
|
|
|
41
41
|
},
|
|
42
42
|
], input_types_1.connectionFieldsMap, 'CheckPasswordPayload'),
|
|
43
43
|
}),
|
|
44
|
+
deleteOrgPrincipal: (args, options) => new query_builder_1.QueryBuilder({
|
|
45
|
+
client,
|
|
46
|
+
operation: 'mutation',
|
|
47
|
+
operationName: 'DeleteOrgPrincipal',
|
|
48
|
+
fieldName: 'deleteOrgPrincipal',
|
|
49
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'DeleteOrgPrincipal', 'deleteOrgPrincipal', options.select, args, [
|
|
50
|
+
{
|
|
51
|
+
name: 'input',
|
|
52
|
+
type: 'DeleteOrgPrincipalInput!',
|
|
53
|
+
},
|
|
54
|
+
], input_types_1.connectionFieldsMap, 'DeleteOrgPrincipalPayload'),
|
|
55
|
+
}),
|
|
44
56
|
disconnectAccount: (args, options) => new query_builder_1.QueryBuilder({
|
|
45
57
|
client,
|
|
46
58
|
operation: 'mutation',
|
|
@@ -113,6 +125,18 @@ function createMutationOperations(client) {
|
|
|
113
125
|
},
|
|
114
126
|
], input_types_1.connectionFieldsMap, 'ConfirmDeleteAccountPayload'),
|
|
115
127
|
}),
|
|
128
|
+
revokeOrgApiKey: (args, options) => new query_builder_1.QueryBuilder({
|
|
129
|
+
client,
|
|
130
|
+
operation: 'mutation',
|
|
131
|
+
operationName: 'RevokeOrgApiKey',
|
|
132
|
+
fieldName: 'revokeOrgApiKey',
|
|
133
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'RevokeOrgApiKey', 'revokeOrgApiKey', options.select, args, [
|
|
134
|
+
{
|
|
135
|
+
name: 'input',
|
|
136
|
+
type: 'RevokeOrgApiKeyInput!',
|
|
137
|
+
},
|
|
138
|
+
], input_types_1.connectionFieldsMap, 'RevokeOrgApiKeyPayload'),
|
|
139
|
+
}),
|
|
116
140
|
setPassword: (args, options) => new query_builder_1.QueryBuilder({
|
|
117
141
|
client,
|
|
118
142
|
operation: 'mutation',
|
|
@@ -233,6 +257,18 @@ function createMutationOperations(client) {
|
|
|
233
257
|
},
|
|
234
258
|
], input_types_1.connectionFieldsMap, 'LinkIdentityPayload'),
|
|
235
259
|
}),
|
|
260
|
+
createOrgPrincipal: (args, options) => new query_builder_1.QueryBuilder({
|
|
261
|
+
client,
|
|
262
|
+
operation: 'mutation',
|
|
263
|
+
operationName: 'CreateOrgPrincipal',
|
|
264
|
+
fieldName: 'createOrgPrincipal',
|
|
265
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'CreateOrgPrincipal', 'createOrgPrincipal', options.select, args, [
|
|
266
|
+
{
|
|
267
|
+
name: 'input',
|
|
268
|
+
type: 'CreateOrgPrincipalInput!',
|
|
269
|
+
},
|
|
270
|
+
], input_types_1.connectionFieldsMap, 'CreateOrgPrincipalPayload'),
|
|
271
|
+
}),
|
|
236
272
|
extendTokenExpires: (args, options) => new query_builder_1.QueryBuilder({
|
|
237
273
|
client,
|
|
238
274
|
operation: 'mutation',
|
|
@@ -245,6 +281,18 @@ function createMutationOperations(client) {
|
|
|
245
281
|
},
|
|
246
282
|
], input_types_1.connectionFieldsMap, 'ExtendTokenExpiresPayload'),
|
|
247
283
|
}),
|
|
284
|
+
createOrgApiKey: (args, options) => new query_builder_1.QueryBuilder({
|
|
285
|
+
client,
|
|
286
|
+
operation: 'mutation',
|
|
287
|
+
operationName: 'CreateOrgApiKey',
|
|
288
|
+
fieldName: 'createOrgApiKey',
|
|
289
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'CreateOrgApiKey', 'createOrgApiKey', options.select, args, [
|
|
290
|
+
{
|
|
291
|
+
name: 'input',
|
|
292
|
+
type: 'CreateOrgApiKeyInput!',
|
|
293
|
+
},
|
|
294
|
+
], input_types_1.connectionFieldsMap, 'CreateOrgApiKeyPayload'),
|
|
295
|
+
}),
|
|
248
296
|
createApiKey: (args, options) => new query_builder_1.QueryBuilder({
|
|
249
297
|
client,
|
|
250
298
|
operation: 'mutation',
|
|
@@ -16,15 +16,15 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
16
16
|
}) => QueryBuilder<{
|
|
17
17
|
currentUserAgent: string | null;
|
|
18
18
|
}>;
|
|
19
|
-
|
|
19
|
+
currentUserId: (options?: {
|
|
20
20
|
select?: Record<string, unknown>;
|
|
21
21
|
}) => QueryBuilder<{
|
|
22
|
-
|
|
22
|
+
currentUserId: string | null;
|
|
23
23
|
}>;
|
|
24
|
-
|
|
24
|
+
currentIpAddress: (options?: {
|
|
25
25
|
select?: Record<string, unknown>;
|
|
26
26
|
}) => QueryBuilder<{
|
|
27
|
-
|
|
27
|
+
currentIpAddress: string | null;
|
|
28
28
|
}>;
|
|
29
29
|
requireStepUp: (args: RequireStepUpVariables, options?: {
|
|
30
30
|
select?: Record<string, unknown>;
|
package/auth/orm/query/index.js
CHANGED
|
@@ -12,13 +12,6 @@ function createQueryOperations(client) {
|
|
|
12
12
|
fieldName: 'currentUserAgent',
|
|
13
13
|
...(0, query_builder_1.buildCustomDocument)('query', 'CurrentUserAgent', 'currentUserAgent', options?.select, undefined, [], input_types_1.connectionFieldsMap, undefined),
|
|
14
14
|
}),
|
|
15
|
-
currentIpAddress: (options) => new query_builder_1.QueryBuilder({
|
|
16
|
-
client,
|
|
17
|
-
operation: 'query',
|
|
18
|
-
operationName: 'CurrentIpAddress',
|
|
19
|
-
fieldName: 'currentIpAddress',
|
|
20
|
-
...(0, query_builder_1.buildCustomDocument)('query', 'CurrentIpAddress', 'currentIpAddress', options?.select, undefined, [], input_types_1.connectionFieldsMap, undefined),
|
|
21
|
-
}),
|
|
22
15
|
currentUserId: (options) => new query_builder_1.QueryBuilder({
|
|
23
16
|
client,
|
|
24
17
|
operation: 'query',
|
|
@@ -26,6 +19,13 @@ function createQueryOperations(client) {
|
|
|
26
19
|
fieldName: 'currentUserId',
|
|
27
20
|
...(0, query_builder_1.buildCustomDocument)('query', 'CurrentUserId', 'currentUserId', options?.select, undefined, [], input_types_1.connectionFieldsMap, undefined),
|
|
28
21
|
}),
|
|
22
|
+
currentIpAddress: (options) => new query_builder_1.QueryBuilder({
|
|
23
|
+
client,
|
|
24
|
+
operation: 'query',
|
|
25
|
+
operationName: 'CurrentIpAddress',
|
|
26
|
+
fieldName: 'currentIpAddress',
|
|
27
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'CurrentIpAddress', 'currentIpAddress', options?.select, undefined, [], input_types_1.connectionFieldsMap, undefined),
|
|
28
|
+
}),
|
|
29
29
|
requireStepUp: (args, options) => new query_builder_1.QueryBuilder({
|
|
30
30
|
client,
|
|
31
31
|
operation: 'query',
|
|
@@ -14,7 +14,6 @@ const fieldSchema = {
|
|
|
14
14
|
graphId: 'uuid',
|
|
15
15
|
invocationId: 'uuid',
|
|
16
16
|
databaseId: 'uuid',
|
|
17
|
-
entityId: 'uuid',
|
|
18
17
|
outputNode: 'string',
|
|
19
18
|
outputPort: 'string',
|
|
20
19
|
status: 'string',
|
|
@@ -81,7 +80,6 @@ async function handleList(argv, _prompter) {
|
|
|
81
80
|
graphId: true,
|
|
82
81
|
invocationId: true,
|
|
83
82
|
databaseId: true,
|
|
84
|
-
entityId: true,
|
|
85
83
|
outputNode: true,
|
|
86
84
|
outputPort: true,
|
|
87
85
|
status: true,
|
|
@@ -122,7 +120,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
122
120
|
graphId: true,
|
|
123
121
|
invocationId: true,
|
|
124
122
|
databaseId: true,
|
|
125
|
-
entityId: true,
|
|
126
123
|
outputNode: true,
|
|
127
124
|
outputPort: true,
|
|
128
125
|
status: true,
|
|
@@ -175,7 +172,6 @@ async function handleGet(argv, prompter) {
|
|
|
175
172
|
graphId: true,
|
|
176
173
|
invocationId: true,
|
|
177
174
|
databaseId: true,
|
|
178
|
-
entityId: true,
|
|
179
175
|
outputNode: true,
|
|
180
176
|
outputPort: true,
|
|
181
177
|
status: true,
|
|
@@ -236,13 +232,6 @@ async function handleCreate(argv, prompter) {
|
|
|
236
232
|
message: 'databaseId',
|
|
237
233
|
required: true,
|
|
238
234
|
},
|
|
239
|
-
{
|
|
240
|
-
type: 'text',
|
|
241
|
-
name: 'entityId',
|
|
242
|
-
message: 'entityId',
|
|
243
|
-
required: false,
|
|
244
|
-
skipPrompt: true,
|
|
245
|
-
},
|
|
246
235
|
{
|
|
247
236
|
type: 'text',
|
|
248
237
|
name: 'outputNode',
|
|
@@ -379,7 +368,6 @@ async function handleCreate(argv, prompter) {
|
|
|
379
368
|
graphId: cleanedData.graphId,
|
|
380
369
|
invocationId: cleanedData.invocationId,
|
|
381
370
|
databaseId: cleanedData.databaseId,
|
|
382
|
-
entityId: cleanedData.entityId,
|
|
383
371
|
outputNode: cleanedData.outputNode,
|
|
384
372
|
outputPort: cleanedData.outputPort,
|
|
385
373
|
status: cleanedData.status,
|
|
@@ -405,7 +393,6 @@ async function handleCreate(argv, prompter) {
|
|
|
405
393
|
graphId: true,
|
|
406
394
|
invocationId: true,
|
|
407
395
|
databaseId: true,
|
|
408
|
-
entityId: true,
|
|
409
396
|
outputNode: true,
|
|
410
397
|
outputPort: true,
|
|
411
398
|
status: true,
|
|
@@ -471,13 +458,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
471
458
|
message: 'databaseId',
|
|
472
459
|
required: false,
|
|
473
460
|
},
|
|
474
|
-
{
|
|
475
|
-
type: 'text',
|
|
476
|
-
name: 'entityId',
|
|
477
|
-
message: 'entityId',
|
|
478
|
-
required: false,
|
|
479
|
-
skipPrompt: true,
|
|
480
|
-
},
|
|
481
461
|
{
|
|
482
462
|
type: 'text',
|
|
483
463
|
name: 'outputNode',
|
|
@@ -617,7 +597,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
617
597
|
graphId: cleanedData.graphId,
|
|
618
598
|
invocationId: cleanedData.invocationId,
|
|
619
599
|
databaseId: cleanedData.databaseId,
|
|
620
|
-
entityId: cleanedData.entityId,
|
|
621
600
|
outputNode: cleanedData.outputNode,
|
|
622
601
|
outputPort: cleanedData.outputPort,
|
|
623
602
|
status: cleanedData.status,
|
|
@@ -643,7 +622,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
643
622
|
graphId: true,
|
|
644
623
|
invocationId: true,
|
|
645
624
|
databaseId: true,
|
|
646
|
-
entityId: true,
|
|
647
625
|
outputNode: true,
|
|
648
626
|
outputPort: true,
|
|
649
627
|
status: true,
|
|
@@ -12,7 +12,6 @@ const fieldSchema = {
|
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
14
|
storeId: 'uuid',
|
|
15
|
-
entityId: 'uuid',
|
|
16
15
|
context: 'string',
|
|
17
16
|
name: 'string',
|
|
18
17
|
description: 'string',
|
|
@@ -68,7 +67,6 @@ async function handleList(argv, _prompter) {
|
|
|
68
67
|
id: true,
|
|
69
68
|
databaseId: true,
|
|
70
69
|
storeId: true,
|
|
71
|
-
entityId: true,
|
|
72
70
|
context: true,
|
|
73
71
|
name: true,
|
|
74
72
|
description: true,
|
|
@@ -98,7 +96,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
98
96
|
id: true,
|
|
99
97
|
databaseId: true,
|
|
100
98
|
storeId: true,
|
|
101
|
-
entityId: true,
|
|
102
99
|
context: true,
|
|
103
100
|
name: true,
|
|
104
101
|
description: true,
|
|
@@ -140,7 +137,6 @@ async function handleGet(argv, prompter) {
|
|
|
140
137
|
id: true,
|
|
141
138
|
databaseId: true,
|
|
142
139
|
storeId: true,
|
|
143
|
-
entityId: true,
|
|
144
140
|
context: true,
|
|
145
141
|
name: true,
|
|
146
142
|
description: true,
|
|
@@ -178,12 +174,6 @@ async function handleCreate(argv, prompter) {
|
|
|
178
174
|
message: 'storeId',
|
|
179
175
|
required: true,
|
|
180
176
|
},
|
|
181
|
-
{
|
|
182
|
-
type: 'text',
|
|
183
|
-
name: 'entityId',
|
|
184
|
-
message: 'entityId',
|
|
185
|
-
required: true,
|
|
186
|
-
},
|
|
187
177
|
{
|
|
188
178
|
type: 'text',
|
|
189
179
|
name: 'context',
|
|
@@ -235,7 +225,6 @@ async function handleCreate(argv, prompter) {
|
|
|
235
225
|
data: {
|
|
236
226
|
databaseId: cleanedData.databaseId,
|
|
237
227
|
storeId: cleanedData.storeId,
|
|
238
|
-
entityId: cleanedData.entityId,
|
|
239
228
|
context: cleanedData.context,
|
|
240
229
|
name: cleanedData.name,
|
|
241
230
|
description: cleanedData.description,
|
|
@@ -248,7 +237,6 @@ async function handleCreate(argv, prompter) {
|
|
|
248
237
|
id: true,
|
|
249
238
|
databaseId: true,
|
|
250
239
|
storeId: true,
|
|
251
|
-
entityId: true,
|
|
252
240
|
context: true,
|
|
253
241
|
name: true,
|
|
254
242
|
description: true,
|
|
@@ -292,12 +280,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
292
280
|
message: 'storeId',
|
|
293
281
|
required: false,
|
|
294
282
|
},
|
|
295
|
-
{
|
|
296
|
-
type: 'text',
|
|
297
|
-
name: 'entityId',
|
|
298
|
-
message: 'entityId',
|
|
299
|
-
required: false,
|
|
300
|
-
},
|
|
301
283
|
{
|
|
302
284
|
type: 'text',
|
|
303
285
|
name: 'context',
|
|
@@ -352,7 +334,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
352
334
|
data: {
|
|
353
335
|
databaseId: cleanedData.databaseId,
|
|
354
336
|
storeId: cleanedData.storeId,
|
|
355
|
-
entityId: cleanedData.entityId,
|
|
356
337
|
context: cleanedData.context,
|
|
357
338
|
name: cleanedData.name,
|
|
358
339
|
description: cleanedData.description,
|
|
@@ -365,7 +346,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
365
346
|
id: true,
|
|
366
347
|
databaseId: true,
|
|
367
348
|
storeId: true,
|
|
368
|
-
entityId: true,
|
|
369
349
|
context: true,
|
|
370
350
|
name: true,
|
|
371
351
|
description: true,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for PlatformNamespaceEvent
|
|
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;
|