@constructive-io/sdk 0.23.3 → 0.24.1
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/README.md +4 -0
- package/admin/orm/index.d.ts +31 -33
- package/admin/orm/index.js +32 -33
- package/admin/orm/input-types.d.ts +2090 -2039
- package/admin/orm/input-types.js +4 -4
- package/admin/orm/models/appLimitEvent.d.ts +26 -2
- package/admin/orm/models/appLimitEvent.js +45 -0
- package/admin/orm/models/index.d.ts +15 -16
- package/admin/orm/models/index.js +31 -33
- package/admin/orm/models/orgLimitEvent.d.ts +26 -2
- package/admin/orm/models/orgLimitEvent.js +45 -0
- package/auth/orm/index.d.ts +8 -8
- package/auth/orm/index.js +4 -3
- package/auth/orm/input-types.d.ts +94 -94
- package/auth/orm/input-types.js +1 -1
- package/auth/orm/models/auditLogAuth.d.ts +54 -0
- package/{public/orm/models/agentMessage.js → auth/orm/models/auditLogAuth.js} +27 -27
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/mutation/index.d.ts +9 -9
- package/auth/orm/mutation/index.js +12 -12
- package/esm/admin/orm/index.d.ts +31 -33
- package/esm/admin/orm/index.js +31 -33
- package/esm/admin/orm/input-types.d.ts +2090 -2039
- package/esm/admin/orm/input-types.js +4 -4
- package/esm/admin/orm/models/appLimitEvent.d.ts +26 -2
- package/esm/admin/orm/models/appLimitEvent.js +46 -1
- package/esm/admin/orm/models/index.d.ts +15 -16
- package/esm/admin/orm/models/index.js +15 -16
- package/esm/admin/orm/models/orgLimitEvent.d.ts +26 -2
- package/esm/admin/orm/models/orgLimitEvent.js +46 -1
- package/esm/auth/orm/index.d.ts +8 -8
- package/esm/auth/orm/index.js +3 -3
- package/esm/auth/orm/input-types.d.ts +94 -94
- package/esm/auth/orm/input-types.js +1 -1
- package/esm/auth/orm/models/auditLogAuth.d.ts +54 -0
- package/esm/{public/orm/models/auditLog.js → auth/orm/models/auditLogAuth.js} +25 -25
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/mutation/index.d.ts +9 -9
- package/esm/auth/orm/mutation/index.js +12 -12
- package/esm/objects/orm/index.d.ts +1 -1
- package/esm/objects/orm/index.js +1 -1
- package/esm/public/orm/index.d.ts +102 -153
- package/esm/public/orm/index.js +59 -55
- package/esm/public/orm/input-types.d.ts +6255 -3877
- package/esm/public/orm/input-types.js +24 -15
- package/esm/public/orm/models/agentModule.d.ts +54 -0
- package/esm/public/orm/models/{agentThread.js → agentModule.js} +25 -25
- package/esm/public/orm/models/appLimitEvent.d.ts +26 -2
- package/esm/public/orm/models/appLimitEvent.js +46 -1
- package/esm/public/orm/models/auditLogAuth.d.ts +54 -0
- package/esm/{auth/orm/models/auditLog.js → public/orm/models/auditLogAuth.js} +25 -25
- package/esm/public/orm/models/computeLogModule.d.ts +54 -0
- package/esm/public/orm/models/{commit.js → computeLogModule.js} +25 -25
- package/esm/public/orm/models/configSecretsOrgModule.d.ts +54 -0
- package/esm/public/orm/models/{encryptedSecretsModule.js → configSecretsOrgModule.js} +25 -25
- package/esm/public/orm/models/configSecretsUserModule.d.ts +54 -0
- package/esm/public/orm/models/configSecretsUserModule.js +100 -0
- package/esm/public/orm/models/dbUsageModule.d.ts +54 -0
- package/esm/{admin/orm/models/usageSnapshot.js → public/orm/models/dbUsageModule.js} +25 -25
- package/esm/public/orm/models/functionModule.d.ts +54 -0
- package/esm/public/orm/models/{agentMessage.js → functionModule.js} +25 -25
- package/esm/public/orm/models/graphModule.d.ts +54 -0
- package/esm/public/orm/models/{agentTask.js → graphModule.js} +25 -25
- package/esm/public/orm/models/index.d.ts +29 -27
- package/esm/public/orm/models/index.js +29 -27
- package/esm/public/orm/models/inferenceLogModule.d.ts +54 -0
- package/esm/public/orm/models/inferenceLogModule.js +100 -0
- package/esm/public/orm/models/merkleStoreModule.d.ts +54 -0
- package/esm/public/orm/models/merkleStoreModule.js +100 -0
- package/esm/public/orm/models/namespaceModule.d.ts +54 -0
- package/esm/public/orm/models/namespaceModule.js +100 -0
- package/esm/public/orm/models/orgLimitEvent.d.ts +26 -2
- package/esm/public/orm/models/orgLimitEvent.js +46 -1
- package/esm/public/orm/models/storageLogModule.d.ts +54 -0
- package/esm/public/orm/models/{store.js → storageLogModule.js} +25 -25
- package/esm/public/orm/models/transferLogModule.d.ts +54 -0
- package/esm/public/orm/models/transferLogModule.js +100 -0
- package/esm/public/orm/mutation/index.d.ts +69 -133
- package/esm/public/orm/mutation/index.js +78 -174
- package/esm/public/orm/query/index.d.ts +22 -71
- package/esm/public/orm/query/index.js +36 -124
- package/objects/orm/index.d.ts +1 -1
- package/objects/orm/index.js +2 -1
- package/package.json +6 -6
- package/public/orm/index.d.ts +102 -153
- package/public/orm/index.js +60 -55
- package/public/orm/input-types.d.ts +6255 -3877
- package/public/orm/input-types.js +24 -15
- package/public/orm/models/agentModule.d.ts +54 -0
- package/public/orm/models/{agentThread.js → agentModule.js} +27 -27
- package/public/orm/models/appLimitEvent.d.ts +26 -2
- package/public/orm/models/appLimitEvent.js +45 -0
- package/public/orm/models/auditLogAuth.d.ts +54 -0
- package/public/orm/models/{usageSnapshot.js → auditLogAuth.js} +27 -27
- package/public/orm/models/computeLogModule.d.ts +54 -0
- package/public/orm/models/computeLogModule.js +104 -0
- package/public/orm/models/configSecretsOrgModule.d.ts +54 -0
- package/public/orm/models/{encryptedSecretsModule.js → configSecretsOrgModule.js} +27 -27
- package/public/orm/models/configSecretsUserModule.d.ts +54 -0
- package/public/orm/models/{ref.js → configSecretsUserModule.js} +27 -27
- package/public/orm/models/dbUsageModule.d.ts +54 -0
- package/{admin/orm/models/usageSnapshot.js → public/orm/models/dbUsageModule.js} +27 -27
- package/public/orm/models/functionModule.d.ts +54 -0
- package/{auth/orm/models/auditLog.js → public/orm/models/functionModule.js} +27 -27
- package/public/orm/models/graphModule.d.ts +54 -0
- package/public/orm/models/{agentTask.js → graphModule.js} +27 -27
- package/public/orm/models/index.d.ts +29 -27
- package/public/orm/models/index.js +61 -57
- package/public/orm/models/inferenceLogModule.d.ts +54 -0
- package/public/orm/models/inferenceLogModule.js +104 -0
- package/public/orm/models/merkleStoreModule.d.ts +54 -0
- package/public/orm/models/merkleStoreModule.js +104 -0
- package/public/orm/models/namespaceModule.d.ts +54 -0
- package/public/orm/models/namespaceModule.js +104 -0
- package/public/orm/models/orgLimitEvent.d.ts +26 -2
- package/public/orm/models/orgLimitEvent.js +45 -0
- package/public/orm/models/storageLogModule.d.ts +54 -0
- package/public/orm/models/storageLogModule.js +104 -0
- package/public/orm/models/transferLogModule.d.ts +54 -0
- package/public/orm/models/transferLogModule.js +104 -0
- package/public/orm/mutation/index.d.ts +69 -133
- package/public/orm/mutation/index.js +78 -174
- package/public/orm/query/index.d.ts +22 -71
- package/public/orm/query/index.js +36 -124
- package/admin/orm/models/usageSnapshot.d.ts +0 -54
- package/auth/orm/models/auditLog.d.ts +0 -54
- package/esm/admin/orm/models/usageSnapshot.d.ts +0 -54
- package/esm/auth/orm/models/auditLog.d.ts +0 -54
- package/esm/public/orm/models/agentMessage.d.ts +0 -54
- package/esm/public/orm/models/agentTask.d.ts +0 -54
- package/esm/public/orm/models/agentThread.d.ts +0 -54
- package/esm/public/orm/models/auditLog.d.ts +0 -54
- package/esm/public/orm/models/commit.d.ts +0 -54
- package/esm/public/orm/models/encryptedSecretsModule.d.ts +0 -54
- package/esm/public/orm/models/getAllRecord.d.ts +0 -30
- package/esm/public/orm/models/getAllRecord.js +0 -55
- package/esm/public/orm/models/object.d.ts +0 -54
- package/esm/public/orm/models/object.js +0 -90
- package/esm/public/orm/models/ref.d.ts +0 -54
- package/esm/public/orm/models/ref.js +0 -100
- package/esm/public/orm/models/store.d.ts +0 -54
- package/esm/public/orm/models/usageSnapshot.d.ts +0 -54
- package/esm/public/orm/models/usageSnapshot.js +0 -100
- package/public/orm/models/agentMessage.d.ts +0 -54
- package/public/orm/models/agentTask.d.ts +0 -54
- package/public/orm/models/agentThread.d.ts +0 -54
- package/public/orm/models/auditLog.d.ts +0 -54
- package/public/orm/models/auditLog.js +0 -104
- package/public/orm/models/commit.d.ts +0 -54
- package/public/orm/models/commit.js +0 -104
- package/public/orm/models/encryptedSecretsModule.d.ts +0 -54
- package/public/orm/models/getAllRecord.d.ts +0 -30
- package/public/orm/models/getAllRecord.js +0 -59
- package/public/orm/models/object.d.ts +0 -54
- package/public/orm/models/object.js +0 -94
- package/public/orm/models/ref.d.ts +0 -54
- package/public/orm/models/store.d.ts +0 -54
- package/public/orm/models/store.js +0 -104
- package/public/orm/models/usageSnapshot.d.ts +0 -54
|
@@ -197,30 +197,6 @@ function createMutationOperations(client) {
|
|
|
197
197
|
},
|
|
198
198
|
], input_types_1.connectionFieldsMap, 'VerifyEmailPayload'),
|
|
199
199
|
}),
|
|
200
|
-
freezeObjects: (args, options) => new query_builder_1.QueryBuilder({
|
|
201
|
-
client,
|
|
202
|
-
operation: 'mutation',
|
|
203
|
-
operationName: 'FreezeObjects',
|
|
204
|
-
fieldName: 'freezeObjects',
|
|
205
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'FreezeObjects', 'freezeObjects', options.select, args, [
|
|
206
|
-
{
|
|
207
|
-
name: 'input',
|
|
208
|
-
type: 'FreezeObjectsInput!',
|
|
209
|
-
},
|
|
210
|
-
], input_types_1.connectionFieldsMap, 'FreezeObjectsPayload'),
|
|
211
|
-
}),
|
|
212
|
-
initEmptyRepo: (args, options) => new query_builder_1.QueryBuilder({
|
|
213
|
-
client,
|
|
214
|
-
operation: 'mutation',
|
|
215
|
-
operationName: 'InitEmptyRepo',
|
|
216
|
-
fieldName: 'initEmptyRepo',
|
|
217
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'InitEmptyRepo', 'initEmptyRepo', options.select, args, [
|
|
218
|
-
{
|
|
219
|
-
name: 'input',
|
|
220
|
-
type: 'InitEmptyRepoInput!',
|
|
221
|
-
},
|
|
222
|
-
], input_types_1.connectionFieldsMap, 'InitEmptyRepoPayload'),
|
|
223
|
-
}),
|
|
224
200
|
constructBlueprint: (args, options) => new query_builder_1.QueryBuilder({
|
|
225
201
|
client,
|
|
226
202
|
operation: 'mutation',
|
|
@@ -257,66 +233,6 @@ function createMutationOperations(client) {
|
|
|
257
233
|
},
|
|
258
234
|
], input_types_1.connectionFieldsMap, 'ResetPasswordPayload'),
|
|
259
235
|
}),
|
|
260
|
-
removeNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
261
|
-
client,
|
|
262
|
-
operation: 'mutation',
|
|
263
|
-
operationName: 'RemoveNodeAtPath',
|
|
264
|
-
fieldName: 'removeNodeAtPath',
|
|
265
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'RemoveNodeAtPath', 'removeNodeAtPath', options.select, args, [
|
|
266
|
-
{
|
|
267
|
-
name: 'input',
|
|
268
|
-
type: 'RemoveNodeAtPathInput!',
|
|
269
|
-
},
|
|
270
|
-
], input_types_1.connectionFieldsMap, 'RemoveNodeAtPathPayload'),
|
|
271
|
-
}),
|
|
272
|
-
copyTemplateToBlueprint: (args, options) => new query_builder_1.QueryBuilder({
|
|
273
|
-
client,
|
|
274
|
-
operation: 'mutation',
|
|
275
|
-
operationName: 'CopyTemplateToBlueprint',
|
|
276
|
-
fieldName: 'copyTemplateToBlueprint',
|
|
277
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'CopyTemplateToBlueprint', 'copyTemplateToBlueprint', options.select, args, [
|
|
278
|
-
{
|
|
279
|
-
name: 'input',
|
|
280
|
-
type: 'CopyTemplateToBlueprintInput!',
|
|
281
|
-
},
|
|
282
|
-
], input_types_1.connectionFieldsMap, 'CopyTemplateToBlueprintPayload'),
|
|
283
|
-
}),
|
|
284
|
-
provisionSpatialRelation: (args, options) => new query_builder_1.QueryBuilder({
|
|
285
|
-
client,
|
|
286
|
-
operation: 'mutation',
|
|
287
|
-
operationName: 'ProvisionSpatialRelation',
|
|
288
|
-
fieldName: 'provisionSpatialRelation',
|
|
289
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionSpatialRelation', 'provisionSpatialRelation', options.select, args, [
|
|
290
|
-
{
|
|
291
|
-
name: 'input',
|
|
292
|
-
type: 'ProvisionSpatialRelationInput!',
|
|
293
|
-
},
|
|
294
|
-
], input_types_1.connectionFieldsMap, 'ProvisionSpatialRelationPayload'),
|
|
295
|
-
}),
|
|
296
|
-
bootstrapUser: (args, options) => new query_builder_1.QueryBuilder({
|
|
297
|
-
client,
|
|
298
|
-
operation: 'mutation',
|
|
299
|
-
operationName: 'BootstrapUser',
|
|
300
|
-
fieldName: 'bootstrapUser',
|
|
301
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'BootstrapUser', 'bootstrapUser', options.select, args, [
|
|
302
|
-
{
|
|
303
|
-
name: 'input',
|
|
304
|
-
type: 'BootstrapUserInput!',
|
|
305
|
-
},
|
|
306
|
-
], input_types_1.connectionFieldsMap, 'BootstrapUserPayload'),
|
|
307
|
-
}),
|
|
308
|
-
setFieldOrder: (args, options) => new query_builder_1.QueryBuilder({
|
|
309
|
-
client,
|
|
310
|
-
operation: 'mutation',
|
|
311
|
-
operationName: 'SetFieldOrder',
|
|
312
|
-
fieldName: 'setFieldOrder',
|
|
313
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'SetFieldOrder', 'setFieldOrder', options.select, args, [
|
|
314
|
-
{
|
|
315
|
-
name: 'input',
|
|
316
|
-
type: 'SetFieldOrderInput!',
|
|
317
|
-
},
|
|
318
|
-
], input_types_1.connectionFieldsMap, 'SetFieldOrderPayload'),
|
|
319
|
-
}),
|
|
320
236
|
provisionCheckConstraint: (args, options) => new query_builder_1.QueryBuilder({
|
|
321
237
|
client,
|
|
322
238
|
operation: 'mutation',
|
|
@@ -365,77 +281,77 @@ function createMutationOperations(client) {
|
|
|
365
281
|
},
|
|
366
282
|
], input_types_1.connectionFieldsMap, 'ProvisionIndexPayload'),
|
|
367
283
|
}),
|
|
368
|
-
|
|
284
|
+
copyTemplateToBlueprint: (args, options) => new query_builder_1.QueryBuilder({
|
|
369
285
|
client,
|
|
370
286
|
operation: 'mutation',
|
|
371
|
-
operationName: '
|
|
372
|
-
fieldName: '
|
|
373
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
287
|
+
operationName: 'CopyTemplateToBlueprint',
|
|
288
|
+
fieldName: 'copyTemplateToBlueprint',
|
|
289
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'CopyTemplateToBlueprint', 'copyTemplateToBlueprint', options.select, args, [
|
|
374
290
|
{
|
|
375
291
|
name: 'input',
|
|
376
|
-
type: '
|
|
292
|
+
type: 'CopyTemplateToBlueprintInput!',
|
|
377
293
|
},
|
|
378
|
-
], input_types_1.connectionFieldsMap, '
|
|
294
|
+
], input_types_1.connectionFieldsMap, 'CopyTemplateToBlueprintPayload'),
|
|
379
295
|
}),
|
|
380
|
-
|
|
296
|
+
provisionSpatialRelation: (args, options) => new query_builder_1.QueryBuilder({
|
|
381
297
|
client,
|
|
382
298
|
operation: 'mutation',
|
|
383
|
-
operationName: '
|
|
384
|
-
fieldName: '
|
|
385
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
299
|
+
operationName: 'ProvisionSpatialRelation',
|
|
300
|
+
fieldName: 'provisionSpatialRelation',
|
|
301
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionSpatialRelation', 'provisionSpatialRelation', options.select, args, [
|
|
386
302
|
{
|
|
387
303
|
name: 'input',
|
|
388
|
-
type: '
|
|
304
|
+
type: 'ProvisionSpatialRelationInput!',
|
|
389
305
|
},
|
|
390
|
-
], input_types_1.connectionFieldsMap, '
|
|
306
|
+
], input_types_1.connectionFieldsMap, 'ProvisionSpatialRelationPayload'),
|
|
391
307
|
}),
|
|
392
|
-
|
|
308
|
+
signInCrossOrigin: (args, options) => new query_builder_1.QueryBuilder({
|
|
393
309
|
client,
|
|
394
310
|
operation: 'mutation',
|
|
395
|
-
operationName: '
|
|
396
|
-
fieldName: '
|
|
397
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
311
|
+
operationName: 'SignInCrossOrigin',
|
|
312
|
+
fieldName: 'signInCrossOrigin',
|
|
313
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SignInCrossOrigin', 'signInCrossOrigin', options.select, args, [
|
|
398
314
|
{
|
|
399
315
|
name: 'input',
|
|
400
|
-
type: '
|
|
316
|
+
type: 'SignInCrossOriginInput!',
|
|
401
317
|
},
|
|
402
|
-
], input_types_1.connectionFieldsMap, '
|
|
318
|
+
], input_types_1.connectionFieldsMap, 'SignInCrossOriginPayload'),
|
|
403
319
|
}),
|
|
404
|
-
|
|
320
|
+
bootstrapUser: (args, options) => new query_builder_1.QueryBuilder({
|
|
405
321
|
client,
|
|
406
322
|
operation: 'mutation',
|
|
407
|
-
operationName: '
|
|
408
|
-
fieldName: '
|
|
409
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
323
|
+
operationName: 'BootstrapUser',
|
|
324
|
+
fieldName: 'bootstrapUser',
|
|
325
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'BootstrapUser', 'bootstrapUser', options.select, args, [
|
|
410
326
|
{
|
|
411
327
|
name: 'input',
|
|
412
|
-
type: '
|
|
328
|
+
type: 'BootstrapUserInput!',
|
|
413
329
|
},
|
|
414
|
-
], input_types_1.connectionFieldsMap, '
|
|
330
|
+
], input_types_1.connectionFieldsMap, 'BootstrapUserPayload'),
|
|
415
331
|
}),
|
|
416
|
-
|
|
332
|
+
signUp: (args, options) => new query_builder_1.QueryBuilder({
|
|
417
333
|
client,
|
|
418
334
|
operation: 'mutation',
|
|
419
|
-
operationName: '
|
|
420
|
-
fieldName: '
|
|
421
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
335
|
+
operationName: 'SignUp',
|
|
336
|
+
fieldName: 'signUp',
|
|
337
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SignUp', 'signUp', options.select, args, [
|
|
422
338
|
{
|
|
423
339
|
name: 'input',
|
|
424
|
-
type: '
|
|
340
|
+
type: 'SignUpInput!',
|
|
425
341
|
},
|
|
426
|
-
], input_types_1.connectionFieldsMap, '
|
|
342
|
+
], input_types_1.connectionFieldsMap, 'SignUpPayload'),
|
|
427
343
|
}),
|
|
428
|
-
|
|
344
|
+
signIn: (args, options) => new query_builder_1.QueryBuilder({
|
|
429
345
|
client,
|
|
430
346
|
operation: 'mutation',
|
|
431
|
-
operationName: '
|
|
432
|
-
fieldName: '
|
|
433
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
347
|
+
operationName: 'SignIn',
|
|
348
|
+
fieldName: 'signIn',
|
|
349
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SignIn', 'signIn', options.select, args, [
|
|
434
350
|
{
|
|
435
351
|
name: 'input',
|
|
436
|
-
type: '
|
|
352
|
+
type: 'SignInInput!',
|
|
437
353
|
},
|
|
438
|
-
], input_types_1.connectionFieldsMap, '
|
|
354
|
+
], input_types_1.connectionFieldsMap, 'SignInPayload'),
|
|
439
355
|
}),
|
|
440
356
|
provisionRelation: (args, options) => new query_builder_1.QueryBuilder({
|
|
441
357
|
client,
|
|
@@ -449,6 +365,18 @@ function createMutationOperations(client) {
|
|
|
449
365
|
},
|
|
450
366
|
], input_types_1.connectionFieldsMap, 'ProvisionRelationPayload'),
|
|
451
367
|
}),
|
|
368
|
+
setFieldOrder: (args, options) => new query_builder_1.QueryBuilder({
|
|
369
|
+
client,
|
|
370
|
+
operation: 'mutation',
|
|
371
|
+
operationName: 'SetFieldOrder',
|
|
372
|
+
fieldName: 'setFieldOrder',
|
|
373
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SetFieldOrder', 'setFieldOrder', options.select, args, [
|
|
374
|
+
{
|
|
375
|
+
name: 'input',
|
|
376
|
+
type: 'SetFieldOrderInput!',
|
|
377
|
+
},
|
|
378
|
+
], input_types_1.connectionFieldsMap, 'SetFieldOrderPayload'),
|
|
379
|
+
}),
|
|
452
380
|
applyRls: (args, options) => new query_builder_1.QueryBuilder({
|
|
453
381
|
client,
|
|
454
382
|
operation: 'mutation',
|
|
@@ -461,17 +389,17 @@ function createMutationOperations(client) {
|
|
|
461
389
|
},
|
|
462
390
|
], input_types_1.connectionFieldsMap, 'ApplyRlsPayload'),
|
|
463
391
|
}),
|
|
464
|
-
|
|
392
|
+
provisionDatabaseWithUser: (args, options) => new query_builder_1.QueryBuilder({
|
|
465
393
|
client,
|
|
466
394
|
operation: 'mutation',
|
|
467
|
-
operationName: '
|
|
468
|
-
fieldName: '
|
|
469
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
395
|
+
operationName: 'ProvisionDatabaseWithUser',
|
|
396
|
+
fieldName: 'provisionDatabaseWithUser',
|
|
397
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionDatabaseWithUser', 'provisionDatabaseWithUser', options.select, args, [
|
|
470
398
|
{
|
|
471
399
|
name: 'input',
|
|
472
|
-
type: '
|
|
400
|
+
type: 'ProvisionDatabaseWithUserInput!',
|
|
473
401
|
},
|
|
474
|
-
], input_types_1.connectionFieldsMap, '
|
|
402
|
+
], input_types_1.connectionFieldsMap, 'ProvisionDatabaseWithUserPayload'),
|
|
475
403
|
}),
|
|
476
404
|
createUserDatabase: (args, options) => new query_builder_1.QueryBuilder({
|
|
477
405
|
client,
|
|
@@ -509,42 +437,6 @@ function createMutationOperations(client) {
|
|
|
509
437
|
},
|
|
510
438
|
], input_types_1.connectionFieldsMap, 'CreateApiKeyPayload'),
|
|
511
439
|
}),
|
|
512
|
-
sendVerificationEmail: (args, options) => new query_builder_1.QueryBuilder({
|
|
513
|
-
client,
|
|
514
|
-
operation: 'mutation',
|
|
515
|
-
operationName: 'SendVerificationEmail',
|
|
516
|
-
fieldName: 'sendVerificationEmail',
|
|
517
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'SendVerificationEmail', 'sendVerificationEmail', options.select, args, [
|
|
518
|
-
{
|
|
519
|
-
name: 'input',
|
|
520
|
-
type: 'SendVerificationEmailInput!',
|
|
521
|
-
},
|
|
522
|
-
], input_types_1.connectionFieldsMap, 'SendVerificationEmailPayload'),
|
|
523
|
-
}),
|
|
524
|
-
forgotPassword: (args, options) => new query_builder_1.QueryBuilder({
|
|
525
|
-
client,
|
|
526
|
-
operation: 'mutation',
|
|
527
|
-
operationName: 'ForgotPassword',
|
|
528
|
-
fieldName: 'forgotPassword',
|
|
529
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'ForgotPassword', 'forgotPassword', options.select, args, [
|
|
530
|
-
{
|
|
531
|
-
name: 'input',
|
|
532
|
-
type: 'ForgotPasswordInput!',
|
|
533
|
-
},
|
|
534
|
-
], input_types_1.connectionFieldsMap, 'ForgotPasswordPayload'),
|
|
535
|
-
}),
|
|
536
|
-
signUp: (args, options) => new query_builder_1.QueryBuilder({
|
|
537
|
-
client,
|
|
538
|
-
operation: 'mutation',
|
|
539
|
-
operationName: 'SignUp',
|
|
540
|
-
fieldName: 'signUp',
|
|
541
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'SignUp', 'signUp', options.select, args, [
|
|
542
|
-
{
|
|
543
|
-
name: 'input',
|
|
544
|
-
type: 'SignUpInput!',
|
|
545
|
-
},
|
|
546
|
-
], input_types_1.connectionFieldsMap, 'SignUpPayload'),
|
|
547
|
-
}),
|
|
548
440
|
requestCrossOriginToken: (args, options) => new query_builder_1.QueryBuilder({
|
|
549
441
|
client,
|
|
550
442
|
operation: 'mutation',
|
|
@@ -557,18 +449,6 @@ function createMutationOperations(client) {
|
|
|
557
449
|
},
|
|
558
450
|
], input_types_1.connectionFieldsMap, 'RequestCrossOriginTokenPayload'),
|
|
559
451
|
}),
|
|
560
|
-
signIn: (args, options) => new query_builder_1.QueryBuilder({
|
|
561
|
-
client,
|
|
562
|
-
operation: 'mutation',
|
|
563
|
-
operationName: 'SignIn',
|
|
564
|
-
fieldName: 'signIn',
|
|
565
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'SignIn', 'signIn', options.select, args, [
|
|
566
|
-
{
|
|
567
|
-
name: 'input',
|
|
568
|
-
type: 'SignInInput!',
|
|
569
|
-
},
|
|
570
|
-
], input_types_1.connectionFieldsMap, 'SignInPayload'),
|
|
571
|
-
}),
|
|
572
452
|
provisionTable: (args, options) => new query_builder_1.QueryBuilder({
|
|
573
453
|
client,
|
|
574
454
|
operation: 'mutation',
|
|
@@ -581,6 +461,30 @@ function createMutationOperations(client) {
|
|
|
581
461
|
},
|
|
582
462
|
], input_types_1.connectionFieldsMap, 'ProvisionTablePayload'),
|
|
583
463
|
}),
|
|
464
|
+
sendVerificationEmail: (args, options) => new query_builder_1.QueryBuilder({
|
|
465
|
+
client,
|
|
466
|
+
operation: 'mutation',
|
|
467
|
+
operationName: 'SendVerificationEmail',
|
|
468
|
+
fieldName: 'sendVerificationEmail',
|
|
469
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SendVerificationEmail', 'sendVerificationEmail', options.select, args, [
|
|
470
|
+
{
|
|
471
|
+
name: 'input',
|
|
472
|
+
type: 'SendVerificationEmailInput!',
|
|
473
|
+
},
|
|
474
|
+
], input_types_1.connectionFieldsMap, 'SendVerificationEmailPayload'),
|
|
475
|
+
}),
|
|
476
|
+
forgotPassword: (args, options) => new query_builder_1.QueryBuilder({
|
|
477
|
+
client,
|
|
478
|
+
operation: 'mutation',
|
|
479
|
+
operationName: 'ForgotPassword',
|
|
480
|
+
fieldName: 'forgotPassword',
|
|
481
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'ForgotPassword', 'forgotPassword', options.select, args, [
|
|
482
|
+
{
|
|
483
|
+
name: 'input',
|
|
484
|
+
type: 'ForgotPasswordInput!',
|
|
485
|
+
},
|
|
486
|
+
], input_types_1.connectionFieldsMap, 'ForgotPasswordPayload'),
|
|
487
|
+
}),
|
|
584
488
|
provisionBucket: (args, options) => new query_builder_1.QueryBuilder({
|
|
585
489
|
client,
|
|
586
490
|
operation: 'mutation',
|
|
@@ -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 {
|
|
9
|
+
import type { User, UserSelect, AppPermissionConnection, OrgPermissionConnection } from '../input-types';
|
|
10
10
|
export interface RequireStepUpVariables {
|
|
11
11
|
stepUpType?: string;
|
|
12
12
|
}
|
|
@@ -16,10 +16,9 @@ export interface AppPermissionsGetPaddedMaskVariables {
|
|
|
16
16
|
export interface OrgPermissionsGetPaddedMaskVariables {
|
|
17
17
|
mask?: string;
|
|
18
18
|
}
|
|
19
|
-
export interface
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
refname?: string;
|
|
19
|
+
export interface ApplyRegistryDefaultsVariables {
|
|
20
|
+
nodeType?: string;
|
|
21
|
+
data?: unknown;
|
|
23
22
|
}
|
|
24
23
|
/**
|
|
25
24
|
* Variables for resolveBlueprintField
|
|
@@ -30,6 +29,17 @@ export interface ResolveBlueprintFieldVariables {
|
|
|
30
29
|
tableId?: string;
|
|
31
30
|
fieldName?: string;
|
|
32
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Variables for resolveBlueprintTable
|
|
34
|
+
* Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.
|
|
35
|
+
*/
|
|
36
|
+
export interface ResolveBlueprintTableVariables {
|
|
37
|
+
databaseId?: string;
|
|
38
|
+
tableName?: string;
|
|
39
|
+
schemaName?: string;
|
|
40
|
+
tableMap?: unknown;
|
|
41
|
+
defaultSchemaId?: string;
|
|
42
|
+
}
|
|
33
43
|
export interface OrgIsManagerOfVariables {
|
|
34
44
|
pEntityId?: string;
|
|
35
45
|
pManagerId?: string;
|
|
@@ -42,17 +52,6 @@ export interface AppPermissionsGetMaskVariables {
|
|
|
42
52
|
export interface OrgPermissionsGetMaskVariables {
|
|
43
53
|
ids?: string[];
|
|
44
54
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Variables for resolveBlueprintTable
|
|
47
|
-
* Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.
|
|
48
|
-
*/
|
|
49
|
-
export interface ResolveBlueprintTableVariables {
|
|
50
|
-
databaseId?: string;
|
|
51
|
-
tableName?: string;
|
|
52
|
-
schemaName?: string;
|
|
53
|
-
tableMap?: unknown;
|
|
54
|
-
defaultSchemaId?: string;
|
|
55
|
-
}
|
|
56
55
|
export interface AppPermissionsGetMaskByNamesVariables {
|
|
57
56
|
names?: string[];
|
|
58
57
|
}
|
|
@@ -83,39 +82,6 @@ export interface OrgPermissionsGetByMaskVariables {
|
|
|
83
82
|
/** Read all values in the set after (below) this cursor. */
|
|
84
83
|
after?: string;
|
|
85
84
|
}
|
|
86
|
-
export interface GetAllObjectsFromRootVariables {
|
|
87
|
-
databaseId?: string;
|
|
88
|
-
id?: string;
|
|
89
|
-
/** Only read the first `n` values of the set. */
|
|
90
|
-
first?: number;
|
|
91
|
-
/**
|
|
92
|
-
* Skip the first `n` values from our `after` cursor, an alternative to cursor
|
|
93
|
-
* based pagination. May not be used with `last`.
|
|
94
|
-
*/
|
|
95
|
-
offset?: number;
|
|
96
|
-
/** Read all values in the set after (below) this cursor. */
|
|
97
|
-
after?: string;
|
|
98
|
-
}
|
|
99
|
-
export interface GetPathObjectsFromRootVariables {
|
|
100
|
-
databaseId?: string;
|
|
101
|
-
id?: string;
|
|
102
|
-
path?: string[];
|
|
103
|
-
/** Only read the first `n` values of the set. */
|
|
104
|
-
first?: number;
|
|
105
|
-
/**
|
|
106
|
-
* Skip the first `n` values from our `after` cursor, an alternative to cursor
|
|
107
|
-
* based pagination. May not be used with `last`.
|
|
108
|
-
*/
|
|
109
|
-
offset?: number;
|
|
110
|
-
/** Read all values in the set after (below) this cursor. */
|
|
111
|
-
after?: string;
|
|
112
|
-
}
|
|
113
|
-
export interface GetObjectAtPathVariables {
|
|
114
|
-
dbId?: string;
|
|
115
|
-
storeId?: string;
|
|
116
|
-
path?: string[];
|
|
117
|
-
refname?: string;
|
|
118
|
-
}
|
|
119
85
|
export declare function createQueryOperations(client: OrmClient): {
|
|
120
86
|
currentUserId: (options?: {
|
|
121
87
|
select?: Record<string, unknown>;
|
|
@@ -147,16 +113,21 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
147
113
|
}) => QueryBuilder<{
|
|
148
114
|
orgPermissionsGetPaddedMask: string | null;
|
|
149
115
|
}>;
|
|
150
|
-
|
|
116
|
+
applyRegistryDefaults: (args: ApplyRegistryDefaultsVariables, options?: {
|
|
151
117
|
select?: Record<string, unknown>;
|
|
152
118
|
}) => QueryBuilder<{
|
|
153
|
-
|
|
119
|
+
applyRegistryDefaults: unknown | null;
|
|
154
120
|
}>;
|
|
155
121
|
resolveBlueprintField: (args: ResolveBlueprintFieldVariables, options?: {
|
|
156
122
|
select?: Record<string, unknown>;
|
|
157
123
|
}) => QueryBuilder<{
|
|
158
124
|
resolveBlueprintField: string | null;
|
|
159
125
|
}>;
|
|
126
|
+
resolveBlueprintTable: (args: ResolveBlueprintTableVariables, options?: {
|
|
127
|
+
select?: Record<string, unknown>;
|
|
128
|
+
}) => QueryBuilder<{
|
|
129
|
+
resolveBlueprintTable: string | null;
|
|
130
|
+
}>;
|
|
160
131
|
orgIsManagerOf: (args: OrgIsManagerOfVariables, options?: {
|
|
161
132
|
select?: Record<string, unknown>;
|
|
162
133
|
}) => QueryBuilder<{
|
|
@@ -172,11 +143,6 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
172
143
|
}) => QueryBuilder<{
|
|
173
144
|
orgPermissionsGetMask: string | null;
|
|
174
145
|
}>;
|
|
175
|
-
resolveBlueprintTable: (args: ResolveBlueprintTableVariables, options?: {
|
|
176
|
-
select?: Record<string, unknown>;
|
|
177
|
-
}) => QueryBuilder<{
|
|
178
|
-
resolveBlueprintTable: string | null;
|
|
179
|
-
}>;
|
|
180
146
|
appPermissionsGetMaskByNames: (args: AppPermissionsGetMaskByNamesVariables, options?: {
|
|
181
147
|
select?: Record<string, unknown>;
|
|
182
148
|
}) => QueryBuilder<{
|
|
@@ -197,21 +163,6 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
197
163
|
}) => QueryBuilder<{
|
|
198
164
|
orgPermissionsGetByMask: OrgPermissionConnection | null;
|
|
199
165
|
}>;
|
|
200
|
-
getAllObjectsFromRoot: (args: GetAllObjectsFromRootVariables, options?: {
|
|
201
|
-
select?: Record<string, unknown>;
|
|
202
|
-
}) => QueryBuilder<{
|
|
203
|
-
getAllObjectsFromRoot: ObjectConnection | null;
|
|
204
|
-
}>;
|
|
205
|
-
getPathObjectsFromRoot: (args: GetPathObjectsFromRootVariables, options?: {
|
|
206
|
-
select?: Record<string, unknown>;
|
|
207
|
-
}) => QueryBuilder<{
|
|
208
|
-
getPathObjectsFromRoot: ObjectConnection | null;
|
|
209
|
-
}>;
|
|
210
|
-
getObjectAtPath: <S extends ObjectSelect>(args: GetObjectAtPathVariables, options: {
|
|
211
|
-
select: S;
|
|
212
|
-
} & StrictSelect<S, ObjectSelect>) => QueryBuilder<{
|
|
213
|
-
getObjectAtPath: InferSelectResult<Object, S> | null;
|
|
214
|
-
}>;
|
|
215
166
|
currentUser: <S extends UserSelect>(options: {
|
|
216
167
|
select: S;
|
|
217
168
|
} & StrictSelect<S, UserSelect>) => QueryBuilder<{
|