@constructive-io/sdk 0.23.3 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/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
|
@@ -194,30 +194,6 @@ export function createMutationOperations(client) {
|
|
|
194
194
|
},
|
|
195
195
|
], connectionFieldsMap, 'VerifyEmailPayload'),
|
|
196
196
|
}),
|
|
197
|
-
freezeObjects: (args, options) => new QueryBuilder({
|
|
198
|
-
client,
|
|
199
|
-
operation: 'mutation',
|
|
200
|
-
operationName: 'FreezeObjects',
|
|
201
|
-
fieldName: 'freezeObjects',
|
|
202
|
-
...buildCustomDocument('mutation', 'FreezeObjects', 'freezeObjects', options.select, args, [
|
|
203
|
-
{
|
|
204
|
-
name: 'input',
|
|
205
|
-
type: 'FreezeObjectsInput!',
|
|
206
|
-
},
|
|
207
|
-
], connectionFieldsMap, 'FreezeObjectsPayload'),
|
|
208
|
-
}),
|
|
209
|
-
initEmptyRepo: (args, options) => new QueryBuilder({
|
|
210
|
-
client,
|
|
211
|
-
operation: 'mutation',
|
|
212
|
-
operationName: 'InitEmptyRepo',
|
|
213
|
-
fieldName: 'initEmptyRepo',
|
|
214
|
-
...buildCustomDocument('mutation', 'InitEmptyRepo', 'initEmptyRepo', options.select, args, [
|
|
215
|
-
{
|
|
216
|
-
name: 'input',
|
|
217
|
-
type: 'InitEmptyRepoInput!',
|
|
218
|
-
},
|
|
219
|
-
], connectionFieldsMap, 'InitEmptyRepoPayload'),
|
|
220
|
-
}),
|
|
221
197
|
constructBlueprint: (args, options) => new QueryBuilder({
|
|
222
198
|
client,
|
|
223
199
|
operation: 'mutation',
|
|
@@ -254,66 +230,6 @@ export function createMutationOperations(client) {
|
|
|
254
230
|
},
|
|
255
231
|
], connectionFieldsMap, 'ResetPasswordPayload'),
|
|
256
232
|
}),
|
|
257
|
-
removeNodeAtPath: (args, options) => new QueryBuilder({
|
|
258
|
-
client,
|
|
259
|
-
operation: 'mutation',
|
|
260
|
-
operationName: 'RemoveNodeAtPath',
|
|
261
|
-
fieldName: 'removeNodeAtPath',
|
|
262
|
-
...buildCustomDocument('mutation', 'RemoveNodeAtPath', 'removeNodeAtPath', options.select, args, [
|
|
263
|
-
{
|
|
264
|
-
name: 'input',
|
|
265
|
-
type: 'RemoveNodeAtPathInput!',
|
|
266
|
-
},
|
|
267
|
-
], connectionFieldsMap, 'RemoveNodeAtPathPayload'),
|
|
268
|
-
}),
|
|
269
|
-
copyTemplateToBlueprint: (args, options) => new QueryBuilder({
|
|
270
|
-
client,
|
|
271
|
-
operation: 'mutation',
|
|
272
|
-
operationName: 'CopyTemplateToBlueprint',
|
|
273
|
-
fieldName: 'copyTemplateToBlueprint',
|
|
274
|
-
...buildCustomDocument('mutation', 'CopyTemplateToBlueprint', 'copyTemplateToBlueprint', options.select, args, [
|
|
275
|
-
{
|
|
276
|
-
name: 'input',
|
|
277
|
-
type: 'CopyTemplateToBlueprintInput!',
|
|
278
|
-
},
|
|
279
|
-
], connectionFieldsMap, 'CopyTemplateToBlueprintPayload'),
|
|
280
|
-
}),
|
|
281
|
-
provisionSpatialRelation: (args, options) => new QueryBuilder({
|
|
282
|
-
client,
|
|
283
|
-
operation: 'mutation',
|
|
284
|
-
operationName: 'ProvisionSpatialRelation',
|
|
285
|
-
fieldName: 'provisionSpatialRelation',
|
|
286
|
-
...buildCustomDocument('mutation', 'ProvisionSpatialRelation', 'provisionSpatialRelation', options.select, args, [
|
|
287
|
-
{
|
|
288
|
-
name: 'input',
|
|
289
|
-
type: 'ProvisionSpatialRelationInput!',
|
|
290
|
-
},
|
|
291
|
-
], connectionFieldsMap, 'ProvisionSpatialRelationPayload'),
|
|
292
|
-
}),
|
|
293
|
-
bootstrapUser: (args, options) => new QueryBuilder({
|
|
294
|
-
client,
|
|
295
|
-
operation: 'mutation',
|
|
296
|
-
operationName: 'BootstrapUser',
|
|
297
|
-
fieldName: 'bootstrapUser',
|
|
298
|
-
...buildCustomDocument('mutation', 'BootstrapUser', 'bootstrapUser', options.select, args, [
|
|
299
|
-
{
|
|
300
|
-
name: 'input',
|
|
301
|
-
type: 'BootstrapUserInput!',
|
|
302
|
-
},
|
|
303
|
-
], connectionFieldsMap, 'BootstrapUserPayload'),
|
|
304
|
-
}),
|
|
305
|
-
setFieldOrder: (args, options) => new QueryBuilder({
|
|
306
|
-
client,
|
|
307
|
-
operation: 'mutation',
|
|
308
|
-
operationName: 'SetFieldOrder',
|
|
309
|
-
fieldName: 'setFieldOrder',
|
|
310
|
-
...buildCustomDocument('mutation', 'SetFieldOrder', 'setFieldOrder', options.select, args, [
|
|
311
|
-
{
|
|
312
|
-
name: 'input',
|
|
313
|
-
type: 'SetFieldOrderInput!',
|
|
314
|
-
},
|
|
315
|
-
], connectionFieldsMap, 'SetFieldOrderPayload'),
|
|
316
|
-
}),
|
|
317
233
|
provisionCheckConstraint: (args, options) => new QueryBuilder({
|
|
318
234
|
client,
|
|
319
235
|
operation: 'mutation',
|
|
@@ -362,77 +278,77 @@ export function createMutationOperations(client) {
|
|
|
362
278
|
},
|
|
363
279
|
], connectionFieldsMap, 'ProvisionIndexPayload'),
|
|
364
280
|
}),
|
|
365
|
-
|
|
281
|
+
copyTemplateToBlueprint: (args, options) => new QueryBuilder({
|
|
366
282
|
client,
|
|
367
283
|
operation: 'mutation',
|
|
368
|
-
operationName: '
|
|
369
|
-
fieldName: '
|
|
370
|
-
...buildCustomDocument('mutation', '
|
|
284
|
+
operationName: 'CopyTemplateToBlueprint',
|
|
285
|
+
fieldName: 'copyTemplateToBlueprint',
|
|
286
|
+
...buildCustomDocument('mutation', 'CopyTemplateToBlueprint', 'copyTemplateToBlueprint', options.select, args, [
|
|
371
287
|
{
|
|
372
288
|
name: 'input',
|
|
373
|
-
type: '
|
|
289
|
+
type: 'CopyTemplateToBlueprintInput!',
|
|
374
290
|
},
|
|
375
|
-
], connectionFieldsMap, '
|
|
291
|
+
], connectionFieldsMap, 'CopyTemplateToBlueprintPayload'),
|
|
376
292
|
}),
|
|
377
|
-
|
|
293
|
+
provisionSpatialRelation: (args, options) => new QueryBuilder({
|
|
378
294
|
client,
|
|
379
295
|
operation: 'mutation',
|
|
380
|
-
operationName: '
|
|
381
|
-
fieldName: '
|
|
382
|
-
...buildCustomDocument('mutation', '
|
|
296
|
+
operationName: 'ProvisionSpatialRelation',
|
|
297
|
+
fieldName: 'provisionSpatialRelation',
|
|
298
|
+
...buildCustomDocument('mutation', 'ProvisionSpatialRelation', 'provisionSpatialRelation', options.select, args, [
|
|
383
299
|
{
|
|
384
300
|
name: 'input',
|
|
385
|
-
type: '
|
|
301
|
+
type: 'ProvisionSpatialRelationInput!',
|
|
386
302
|
},
|
|
387
|
-
], connectionFieldsMap, '
|
|
303
|
+
], connectionFieldsMap, 'ProvisionSpatialRelationPayload'),
|
|
388
304
|
}),
|
|
389
|
-
|
|
305
|
+
signInCrossOrigin: (args, options) => new QueryBuilder({
|
|
390
306
|
client,
|
|
391
307
|
operation: 'mutation',
|
|
392
|
-
operationName: '
|
|
393
|
-
fieldName: '
|
|
394
|
-
...buildCustomDocument('mutation', '
|
|
308
|
+
operationName: 'SignInCrossOrigin',
|
|
309
|
+
fieldName: 'signInCrossOrigin',
|
|
310
|
+
...buildCustomDocument('mutation', 'SignInCrossOrigin', 'signInCrossOrigin', options.select, args, [
|
|
395
311
|
{
|
|
396
312
|
name: 'input',
|
|
397
|
-
type: '
|
|
313
|
+
type: 'SignInCrossOriginInput!',
|
|
398
314
|
},
|
|
399
|
-
], connectionFieldsMap, '
|
|
315
|
+
], connectionFieldsMap, 'SignInCrossOriginPayload'),
|
|
400
316
|
}),
|
|
401
|
-
|
|
317
|
+
bootstrapUser: (args, options) => new QueryBuilder({
|
|
402
318
|
client,
|
|
403
319
|
operation: 'mutation',
|
|
404
|
-
operationName: '
|
|
405
|
-
fieldName: '
|
|
406
|
-
...buildCustomDocument('mutation', '
|
|
320
|
+
operationName: 'BootstrapUser',
|
|
321
|
+
fieldName: 'bootstrapUser',
|
|
322
|
+
...buildCustomDocument('mutation', 'BootstrapUser', 'bootstrapUser', options.select, args, [
|
|
407
323
|
{
|
|
408
324
|
name: 'input',
|
|
409
|
-
type: '
|
|
325
|
+
type: 'BootstrapUserInput!',
|
|
410
326
|
},
|
|
411
|
-
], connectionFieldsMap, '
|
|
327
|
+
], connectionFieldsMap, 'BootstrapUserPayload'),
|
|
412
328
|
}),
|
|
413
|
-
|
|
329
|
+
signUp: (args, options) => new QueryBuilder({
|
|
414
330
|
client,
|
|
415
331
|
operation: 'mutation',
|
|
416
|
-
operationName: '
|
|
417
|
-
fieldName: '
|
|
418
|
-
...buildCustomDocument('mutation', '
|
|
332
|
+
operationName: 'SignUp',
|
|
333
|
+
fieldName: 'signUp',
|
|
334
|
+
...buildCustomDocument('mutation', 'SignUp', 'signUp', options.select, args, [
|
|
419
335
|
{
|
|
420
336
|
name: 'input',
|
|
421
|
-
type: '
|
|
337
|
+
type: 'SignUpInput!',
|
|
422
338
|
},
|
|
423
|
-
], connectionFieldsMap, '
|
|
339
|
+
], connectionFieldsMap, 'SignUpPayload'),
|
|
424
340
|
}),
|
|
425
|
-
|
|
341
|
+
signIn: (args, options) => new QueryBuilder({
|
|
426
342
|
client,
|
|
427
343
|
operation: 'mutation',
|
|
428
|
-
operationName: '
|
|
429
|
-
fieldName: '
|
|
430
|
-
...buildCustomDocument('mutation', '
|
|
344
|
+
operationName: 'SignIn',
|
|
345
|
+
fieldName: 'signIn',
|
|
346
|
+
...buildCustomDocument('mutation', 'SignIn', 'signIn', options.select, args, [
|
|
431
347
|
{
|
|
432
348
|
name: 'input',
|
|
433
|
-
type: '
|
|
349
|
+
type: 'SignInInput!',
|
|
434
350
|
},
|
|
435
|
-
], connectionFieldsMap, '
|
|
351
|
+
], connectionFieldsMap, 'SignInPayload'),
|
|
436
352
|
}),
|
|
437
353
|
provisionRelation: (args, options) => new QueryBuilder({
|
|
438
354
|
client,
|
|
@@ -446,6 +362,18 @@ export function createMutationOperations(client) {
|
|
|
446
362
|
},
|
|
447
363
|
], connectionFieldsMap, 'ProvisionRelationPayload'),
|
|
448
364
|
}),
|
|
365
|
+
setFieldOrder: (args, options) => new QueryBuilder({
|
|
366
|
+
client,
|
|
367
|
+
operation: 'mutation',
|
|
368
|
+
operationName: 'SetFieldOrder',
|
|
369
|
+
fieldName: 'setFieldOrder',
|
|
370
|
+
...buildCustomDocument('mutation', 'SetFieldOrder', 'setFieldOrder', options.select, args, [
|
|
371
|
+
{
|
|
372
|
+
name: 'input',
|
|
373
|
+
type: 'SetFieldOrderInput!',
|
|
374
|
+
},
|
|
375
|
+
], connectionFieldsMap, 'SetFieldOrderPayload'),
|
|
376
|
+
}),
|
|
449
377
|
applyRls: (args, options) => new QueryBuilder({
|
|
450
378
|
client,
|
|
451
379
|
operation: 'mutation',
|
|
@@ -458,17 +386,17 @@ export function createMutationOperations(client) {
|
|
|
458
386
|
},
|
|
459
387
|
], connectionFieldsMap, 'ApplyRlsPayload'),
|
|
460
388
|
}),
|
|
461
|
-
|
|
389
|
+
provisionDatabaseWithUser: (args, options) => new QueryBuilder({
|
|
462
390
|
client,
|
|
463
391
|
operation: 'mutation',
|
|
464
|
-
operationName: '
|
|
465
|
-
fieldName: '
|
|
466
|
-
...buildCustomDocument('mutation', '
|
|
392
|
+
operationName: 'ProvisionDatabaseWithUser',
|
|
393
|
+
fieldName: 'provisionDatabaseWithUser',
|
|
394
|
+
...buildCustomDocument('mutation', 'ProvisionDatabaseWithUser', 'provisionDatabaseWithUser', options.select, args, [
|
|
467
395
|
{
|
|
468
396
|
name: 'input',
|
|
469
|
-
type: '
|
|
397
|
+
type: 'ProvisionDatabaseWithUserInput!',
|
|
470
398
|
},
|
|
471
|
-
], connectionFieldsMap, '
|
|
399
|
+
], connectionFieldsMap, 'ProvisionDatabaseWithUserPayload'),
|
|
472
400
|
}),
|
|
473
401
|
createUserDatabase: (args, options) => new QueryBuilder({
|
|
474
402
|
client,
|
|
@@ -506,42 +434,6 @@ export function createMutationOperations(client) {
|
|
|
506
434
|
},
|
|
507
435
|
], connectionFieldsMap, 'CreateApiKeyPayload'),
|
|
508
436
|
}),
|
|
509
|
-
sendVerificationEmail: (args, options) => new QueryBuilder({
|
|
510
|
-
client,
|
|
511
|
-
operation: 'mutation',
|
|
512
|
-
operationName: 'SendVerificationEmail',
|
|
513
|
-
fieldName: 'sendVerificationEmail',
|
|
514
|
-
...buildCustomDocument('mutation', 'SendVerificationEmail', 'sendVerificationEmail', options.select, args, [
|
|
515
|
-
{
|
|
516
|
-
name: 'input',
|
|
517
|
-
type: 'SendVerificationEmailInput!',
|
|
518
|
-
},
|
|
519
|
-
], connectionFieldsMap, 'SendVerificationEmailPayload'),
|
|
520
|
-
}),
|
|
521
|
-
forgotPassword: (args, options) => new QueryBuilder({
|
|
522
|
-
client,
|
|
523
|
-
operation: 'mutation',
|
|
524
|
-
operationName: 'ForgotPassword',
|
|
525
|
-
fieldName: 'forgotPassword',
|
|
526
|
-
...buildCustomDocument('mutation', 'ForgotPassword', 'forgotPassword', options.select, args, [
|
|
527
|
-
{
|
|
528
|
-
name: 'input',
|
|
529
|
-
type: 'ForgotPasswordInput!',
|
|
530
|
-
},
|
|
531
|
-
], connectionFieldsMap, 'ForgotPasswordPayload'),
|
|
532
|
-
}),
|
|
533
|
-
signUp: (args, options) => new QueryBuilder({
|
|
534
|
-
client,
|
|
535
|
-
operation: 'mutation',
|
|
536
|
-
operationName: 'SignUp',
|
|
537
|
-
fieldName: 'signUp',
|
|
538
|
-
...buildCustomDocument('mutation', 'SignUp', 'signUp', options.select, args, [
|
|
539
|
-
{
|
|
540
|
-
name: 'input',
|
|
541
|
-
type: 'SignUpInput!',
|
|
542
|
-
},
|
|
543
|
-
], connectionFieldsMap, 'SignUpPayload'),
|
|
544
|
-
}),
|
|
545
437
|
requestCrossOriginToken: (args, options) => new QueryBuilder({
|
|
546
438
|
client,
|
|
547
439
|
operation: 'mutation',
|
|
@@ -554,18 +446,6 @@ export function createMutationOperations(client) {
|
|
|
554
446
|
},
|
|
555
447
|
], connectionFieldsMap, 'RequestCrossOriginTokenPayload'),
|
|
556
448
|
}),
|
|
557
|
-
signIn: (args, options) => new QueryBuilder({
|
|
558
|
-
client,
|
|
559
|
-
operation: 'mutation',
|
|
560
|
-
operationName: 'SignIn',
|
|
561
|
-
fieldName: 'signIn',
|
|
562
|
-
...buildCustomDocument('mutation', 'SignIn', 'signIn', options.select, args, [
|
|
563
|
-
{
|
|
564
|
-
name: 'input',
|
|
565
|
-
type: 'SignInInput!',
|
|
566
|
-
},
|
|
567
|
-
], connectionFieldsMap, 'SignInPayload'),
|
|
568
|
-
}),
|
|
569
449
|
provisionTable: (args, options) => new QueryBuilder({
|
|
570
450
|
client,
|
|
571
451
|
operation: 'mutation',
|
|
@@ -578,6 +458,30 @@ export function createMutationOperations(client) {
|
|
|
578
458
|
},
|
|
579
459
|
], connectionFieldsMap, 'ProvisionTablePayload'),
|
|
580
460
|
}),
|
|
461
|
+
sendVerificationEmail: (args, options) => new QueryBuilder({
|
|
462
|
+
client,
|
|
463
|
+
operation: 'mutation',
|
|
464
|
+
operationName: 'SendVerificationEmail',
|
|
465
|
+
fieldName: 'sendVerificationEmail',
|
|
466
|
+
...buildCustomDocument('mutation', 'SendVerificationEmail', 'sendVerificationEmail', options.select, args, [
|
|
467
|
+
{
|
|
468
|
+
name: 'input',
|
|
469
|
+
type: 'SendVerificationEmailInput!',
|
|
470
|
+
},
|
|
471
|
+
], connectionFieldsMap, 'SendVerificationEmailPayload'),
|
|
472
|
+
}),
|
|
473
|
+
forgotPassword: (args, options) => new QueryBuilder({
|
|
474
|
+
client,
|
|
475
|
+
operation: 'mutation',
|
|
476
|
+
operationName: 'ForgotPassword',
|
|
477
|
+
fieldName: 'forgotPassword',
|
|
478
|
+
...buildCustomDocument('mutation', 'ForgotPassword', 'forgotPassword', options.select, args, [
|
|
479
|
+
{
|
|
480
|
+
name: 'input',
|
|
481
|
+
type: 'ForgotPasswordInput!',
|
|
482
|
+
},
|
|
483
|
+
], connectionFieldsMap, 'ForgotPasswordPayload'),
|
|
484
|
+
}),
|
|
581
485
|
provisionBucket: (args, options) => new QueryBuilder({
|
|
582
486
|
client,
|
|
583
487
|
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<{
|