@constructive-io/sdk 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/orm/input-types.d.ts +144 -171
- 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/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/orm/input-types.d.ts +144 -171
- 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/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/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/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 +4 -4
|
@@ -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',
|
package/compute/orm/index.d.ts
CHANGED
|
@@ -2,19 +2,23 @@ import type { OrmClientConfig } from './client';
|
|
|
2
2
|
import { GetAllRecordModel } from './models/getAllRecord';
|
|
3
3
|
import { FunctionApiBindingModel } from './models/functionApiBinding';
|
|
4
4
|
import { FunctionDeploymentModel } from './models/functionDeployment';
|
|
5
|
+
import { ResourceModel } from './models/resource';
|
|
5
6
|
import { FunctionGraphRefModel } from './models/functionGraphRef';
|
|
6
7
|
import { FunctionGraphStoreModel } from './models/functionGraphStore';
|
|
7
8
|
import { FunctionGraphObjectModel } from './models/functionGraphObject';
|
|
8
9
|
import { FunctionDeploymentEventModel } from './models/functionDeploymentEvent';
|
|
9
10
|
import { OrgFunctionExecutionLogModel } from './models/orgFunctionExecutionLog';
|
|
11
|
+
import { ResourceEventModel } from './models/resourceEvent';
|
|
10
12
|
import { FunctionGraphExecutionOutputModel } from './models/functionGraphExecutionOutput';
|
|
11
13
|
import { FunctionGraphCommitModel } from './models/functionGraphCommit';
|
|
12
14
|
import { SecretDefinitionModel } from './models/secretDefinition';
|
|
13
15
|
import { FunctionExecutionLogModel } from './models/functionExecutionLog';
|
|
14
|
-
import { FunctionGraphExecutionNodeStateModel } from './models/functionGraphExecutionNodeState';
|
|
15
16
|
import { FunctionGraphModel } from './models/functionGraph';
|
|
17
|
+
import { FunctionGraphExecutionNodeStateModel } from './models/functionGraphExecutionNodeState';
|
|
18
|
+
import { PlatformNamespaceModel } from './models/platformNamespace';
|
|
16
19
|
import { OrgFunctionInvocationModel } from './models/orgFunctionInvocation';
|
|
17
20
|
import { FunctionInvocationModel } from './models/functionInvocation';
|
|
21
|
+
import { PlatformNamespaceEventModel } from './models/platformNamespaceEvent';
|
|
18
22
|
import { FunctionGraphExecutionModel } from './models/functionGraphExecution';
|
|
19
23
|
import { FunctionDefinitionModel } from './models/functionDefinition';
|
|
20
24
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
@@ -51,19 +55,23 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
51
55
|
getAllRecord: GetAllRecordModel;
|
|
52
56
|
functionApiBinding: FunctionApiBindingModel;
|
|
53
57
|
functionDeployment: FunctionDeploymentModel;
|
|
58
|
+
resource: ResourceModel;
|
|
54
59
|
functionGraphRef: FunctionGraphRefModel;
|
|
55
60
|
functionGraphStore: FunctionGraphStoreModel;
|
|
56
61
|
functionGraphObject: FunctionGraphObjectModel;
|
|
57
62
|
functionDeploymentEvent: FunctionDeploymentEventModel;
|
|
58
63
|
orgFunctionExecutionLog: OrgFunctionExecutionLogModel;
|
|
64
|
+
resourceEvent: ResourceEventModel;
|
|
59
65
|
functionGraphExecutionOutput: FunctionGraphExecutionOutputModel;
|
|
60
66
|
functionGraphCommit: FunctionGraphCommitModel;
|
|
61
67
|
secretDefinition: SecretDefinitionModel;
|
|
62
68
|
functionExecutionLog: FunctionExecutionLogModel;
|
|
63
|
-
functionGraphExecutionNodeState: FunctionGraphExecutionNodeStateModel;
|
|
64
69
|
functionGraph: FunctionGraphModel;
|
|
70
|
+
functionGraphExecutionNodeState: FunctionGraphExecutionNodeStateModel;
|
|
71
|
+
platformNamespace: PlatformNamespaceModel;
|
|
65
72
|
orgFunctionInvocation: OrgFunctionInvocationModel;
|
|
66
73
|
functionInvocation: FunctionInvocationModel;
|
|
74
|
+
platformNamespaceEvent: PlatformNamespaceEventModel;
|
|
67
75
|
functionGraphExecution: FunctionGraphExecutionModel;
|
|
68
76
|
functionDefinition: FunctionDefinitionModel;
|
|
69
77
|
query: {
|
|
@@ -114,6 +122,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
114
122
|
} & import("./select-types").StrictSelect<S, import("./input-types").AddNodeAndSavePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
115
123
|
addNodeAndSave: import("./select-types").InferSelectResult<import("./input-types").AddNodeAndSavePayload, S> | null;
|
|
116
124
|
}>;
|
|
125
|
+
importGraphJson: <S extends import("./input-types").ImportGraphJsonPayloadSelect>(args: import("./mutation").ImportGraphJsonVariables, options: {
|
|
126
|
+
select: S;
|
|
127
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ImportGraphJsonPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
128
|
+
importGraphJson: import("./select-types").InferSelectResult<import("./input-types").ImportGraphJsonPayload, S> | null;
|
|
129
|
+
}>;
|
|
117
130
|
addEdge: <S extends import("./input-types").AddEdgePayloadSelect>(args: import("./mutation").AddEdgeVariables, options: {
|
|
118
131
|
select: S;
|
|
119
132
|
} & import("./select-types").StrictSelect<S, import("./input-types").AddEdgePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -124,11 +137,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
124
137
|
} & import("./select-types").StrictSelect<S, import("./input-types").AddNodePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
125
138
|
addNode: import("./select-types").InferSelectResult<import("./input-types").AddNodePayload, S> | null;
|
|
126
139
|
}>;
|
|
127
|
-
importGraphJson: <S extends import("./input-types").ImportGraphJsonPayloadSelect>(args: import("./mutation").ImportGraphJsonVariables, options: {
|
|
128
|
-
select: S;
|
|
129
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ImportGraphJsonPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
130
|
-
importGraphJson: import("./select-types").InferSelectResult<import("./input-types").ImportGraphJsonPayload, S> | null;
|
|
131
|
-
}>;
|
|
132
140
|
insertNodeAtPath: <S extends import("./input-types").InsertNodeAtPathPayloadSelect>(args: import("./mutation").InsertNodeAtPathVariables, options: {
|
|
133
141
|
select: S;
|
|
134
142
|
} & import("./select-types").StrictSelect<S, import("./input-types").InsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
package/compute/orm/index.js
CHANGED
|
@@ -25,19 +25,23 @@ const client_1 = require("./client");
|
|
|
25
25
|
const getAllRecord_1 = require("./models/getAllRecord");
|
|
26
26
|
const functionApiBinding_1 = require("./models/functionApiBinding");
|
|
27
27
|
const functionDeployment_1 = require("./models/functionDeployment");
|
|
28
|
+
const resource_1 = require("./models/resource");
|
|
28
29
|
const functionGraphRef_1 = require("./models/functionGraphRef");
|
|
29
30
|
const functionGraphStore_1 = require("./models/functionGraphStore");
|
|
30
31
|
const functionGraphObject_1 = require("./models/functionGraphObject");
|
|
31
32
|
const functionDeploymentEvent_1 = require("./models/functionDeploymentEvent");
|
|
32
33
|
const orgFunctionExecutionLog_1 = require("./models/orgFunctionExecutionLog");
|
|
34
|
+
const resourceEvent_1 = require("./models/resourceEvent");
|
|
33
35
|
const functionGraphExecutionOutput_1 = require("./models/functionGraphExecutionOutput");
|
|
34
36
|
const functionGraphCommit_1 = require("./models/functionGraphCommit");
|
|
35
37
|
const secretDefinition_1 = require("./models/secretDefinition");
|
|
36
38
|
const functionExecutionLog_1 = require("./models/functionExecutionLog");
|
|
37
|
-
const functionGraphExecutionNodeState_1 = require("./models/functionGraphExecutionNodeState");
|
|
38
39
|
const functionGraph_1 = require("./models/functionGraph");
|
|
40
|
+
const functionGraphExecutionNodeState_1 = require("./models/functionGraphExecutionNodeState");
|
|
41
|
+
const platformNamespace_1 = require("./models/platformNamespace");
|
|
39
42
|
const orgFunctionInvocation_1 = require("./models/orgFunctionInvocation");
|
|
40
43
|
const functionInvocation_1 = require("./models/functionInvocation");
|
|
44
|
+
const platformNamespaceEvent_1 = require("./models/platformNamespaceEvent");
|
|
41
45
|
const functionGraphExecution_1 = require("./models/functionGraphExecution");
|
|
42
46
|
const functionDefinition_1 = require("./models/functionDefinition");
|
|
43
47
|
const query_1 = require("./query");
|
|
@@ -82,19 +86,23 @@ function createClient(config) {
|
|
|
82
86
|
getAllRecord: new getAllRecord_1.GetAllRecordModel(client),
|
|
83
87
|
functionApiBinding: new functionApiBinding_1.FunctionApiBindingModel(client),
|
|
84
88
|
functionDeployment: new functionDeployment_1.FunctionDeploymentModel(client),
|
|
89
|
+
resource: new resource_1.ResourceModel(client),
|
|
85
90
|
functionGraphRef: new functionGraphRef_1.FunctionGraphRefModel(client),
|
|
86
91
|
functionGraphStore: new functionGraphStore_1.FunctionGraphStoreModel(client),
|
|
87
92
|
functionGraphObject: new functionGraphObject_1.FunctionGraphObjectModel(client),
|
|
88
93
|
functionDeploymentEvent: new functionDeploymentEvent_1.FunctionDeploymentEventModel(client),
|
|
89
94
|
orgFunctionExecutionLog: new orgFunctionExecutionLog_1.OrgFunctionExecutionLogModel(client),
|
|
95
|
+
resourceEvent: new resourceEvent_1.ResourceEventModel(client),
|
|
90
96
|
functionGraphExecutionOutput: new functionGraphExecutionOutput_1.FunctionGraphExecutionOutputModel(client),
|
|
91
97
|
functionGraphCommit: new functionGraphCommit_1.FunctionGraphCommitModel(client),
|
|
92
98
|
secretDefinition: new secretDefinition_1.SecretDefinitionModel(client),
|
|
93
99
|
functionExecutionLog: new functionExecutionLog_1.FunctionExecutionLogModel(client),
|
|
94
|
-
functionGraphExecutionNodeState: new functionGraphExecutionNodeState_1.FunctionGraphExecutionNodeStateModel(client),
|
|
95
100
|
functionGraph: new functionGraph_1.FunctionGraphModel(client),
|
|
101
|
+
functionGraphExecutionNodeState: new functionGraphExecutionNodeState_1.FunctionGraphExecutionNodeStateModel(client),
|
|
102
|
+
platformNamespace: new platformNamespace_1.PlatformNamespaceModel(client),
|
|
96
103
|
orgFunctionInvocation: new orgFunctionInvocation_1.OrgFunctionInvocationModel(client),
|
|
97
104
|
functionInvocation: new functionInvocation_1.FunctionInvocationModel(client),
|
|
105
|
+
platformNamespaceEvent: new platformNamespaceEvent_1.PlatformNamespaceEventModel(client),
|
|
98
106
|
functionGraphExecution: new functionGraphExecution_1.FunctionGraphExecutionModel(client),
|
|
99
107
|
functionDefinition: new functionDefinition_1.FunctionDefinitionModel(client),
|
|
100
108
|
query: (0, query_1.createQueryOperations)(client),
|