@constructive-io/sdk 1.9.2 → 1.9.3

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.
Files changed (55) hide show
  1. package/admin/orm/index.d.ts +13 -0
  2. package/admin/orm/index.js +8 -0
  3. package/admin/orm/input-types.d.ts +399 -0
  4. package/admin/orm/models/index.d.ts +4 -0
  5. package/admin/orm/models/index.js +9 -1
  6. package/admin/orm/models/orgChartEdge.d.ts +54 -0
  7. package/admin/orm/models/orgChartEdge.js +104 -0
  8. package/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
  9. package/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +27 -27
  10. package/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
  11. package/admin/orm/models/orgGetManagersRecord.js +59 -0
  12. package/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
  13. package/admin/orm/models/orgGetSubordinatesRecord.js +59 -0
  14. package/admin/orm/query/index.d.ts +11 -0
  15. package/admin/orm/query/index.js +24 -0
  16. package/api/orm/index.d.ts +2 -4
  17. package/api/orm/index.js +2 -4
  18. package/api/orm/input-types.d.ts +378 -468
  19. package/api/orm/input-types.js +2 -2
  20. package/api/orm/models/domainType.d.ts +54 -0
  21. package/api/orm/models/{apiModule.js → domainType.js} +27 -27
  22. package/api/orm/models/index.d.ts +1 -2
  23. package/api/orm/models/index.js +4 -6
  24. package/compute/orm/input-types.d.ts +42 -3
  25. package/esm/admin/orm/index.d.ts +13 -0
  26. package/esm/admin/orm/index.js +8 -0
  27. package/esm/admin/orm/input-types.d.ts +399 -0
  28. package/esm/admin/orm/models/index.d.ts +4 -0
  29. package/esm/admin/orm/models/index.js +4 -0
  30. package/esm/admin/orm/models/orgChartEdge.d.ts +54 -0
  31. package/esm/admin/orm/models/orgChartEdge.js +100 -0
  32. package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
  33. package/esm/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +25 -25
  34. package/esm/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
  35. package/esm/admin/orm/models/orgGetManagersRecord.js +55 -0
  36. package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
  37. package/esm/admin/orm/models/orgGetSubordinatesRecord.js +55 -0
  38. package/esm/admin/orm/query/index.d.ts +11 -0
  39. package/esm/admin/orm/query/index.js +24 -0
  40. package/esm/api/orm/index.d.ts +2 -4
  41. package/esm/api/orm/index.js +2 -4
  42. package/esm/api/orm/input-types.d.ts +378 -468
  43. package/esm/api/orm/input-types.js +2 -2
  44. package/esm/api/orm/models/domainType.d.ts +54 -0
  45. package/esm/api/orm/models/{apiModule.js → domainType.js} +25 -25
  46. package/esm/api/orm/models/index.d.ts +1 -2
  47. package/esm/api/orm/models/index.js +1 -2
  48. package/esm/compute/orm/input-types.d.ts +42 -3
  49. package/esm/modules/orm/input-types.d.ts +9 -16
  50. package/modules/orm/input-types.d.ts +9 -16
  51. package/package.json +5 -5
  52. package/api/orm/models/apiModule.d.ts +0 -54
  53. package/api/orm/models/platformApiModule.d.ts +0 -54
  54. package/esm/api/orm/models/apiModule.d.ts +0 -54
  55. package/esm/api/orm/models/platformApiModule.d.ts +0 -54
@@ -4,7 +4,6 @@ exports.connectionFieldsMap = void 0;
4
4
  // ============ Connection Fields Map ============
5
5
  exports.connectionFieldsMap = {
6
6
  Api: {
7
- apiModules: 'ApiModule',
8
7
  apiSchemas: 'ApiSchema',
9
8
  corsSettings: 'CorsSetting',
10
9
  },
@@ -13,6 +12,7 @@ exports.connectionFieldsMap = {
13
12
  compositeTypes: 'CompositeType',
14
13
  databaseTransfers: 'DatabaseTransfer',
15
14
  defaultPrivileges: 'DefaultPrivilege',
15
+ domainTypes: 'DomainType',
16
16
  embeddingChunks: 'EmbeddingChunk',
17
17
  enums: 'Enum',
18
18
  exclusionConstraints: 'ExclusionConstraint',
@@ -52,7 +52,6 @@ exports.connectionFieldsMap = {
52
52
  domainVerifications: 'DomainVerification',
53
53
  },
54
54
  PlatformApi: {
55
- platformApiModulesByApiId: 'PlatformApiModule',
56
55
  platformApiSchemasByApiId: 'PlatformApiSchema',
57
56
  },
58
57
  PlatformDomain: {
@@ -72,6 +71,7 @@ exports.connectionFieldsMap = {
72
71
  apiSchemas: 'ApiSchema',
73
72
  compositeTypes: 'CompositeType',
74
73
  defaultPrivileges: 'DefaultPrivilege',
74
+ domainTypes: 'DomainType',
75
75
  enums: 'Enum',
76
76
  functions: 'Function',
77
77
  platformApiSchemas: 'PlatformApiSchema',
@@ -0,0 +1,54 @@
1
+ /**
2
+ * DomainType model for ORM client
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { OrmClient } from '../client';
7
+ import { QueryBuilder } from '../query-builder';
8
+ import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
+ import type { DomainTypeWithRelations, DomainTypeSelect, DomainTypeFilter, DomainTypeOrderBy, CreateDomainTypeInput, DomainTypePatch } from '../input-types';
10
+ export declare class DomainTypeModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends DomainTypeSelect>(args: FindManyArgs<S, DomainTypeFilter, DomainTypeOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
16
+ domainTypes: ConnectionResult<InferSelectResult<DomainTypeWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends DomainTypeSelect>(args: FindFirstArgs<S, DomainTypeFilter, DomainTypeOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
21
+ domainType: InferSelectResult<DomainTypeWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends DomainTypeSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
27
+ domainType: InferSelectResult<DomainTypeWithRelations, S> | null;
28
+ }>;
29
+ create<S extends DomainTypeSelect>(args: CreateArgs<S, CreateDomainTypeInput['domainType']> & {
30
+ select: S;
31
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
32
+ createDomainType: {
33
+ domainType: InferSelectResult<DomainTypeWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends DomainTypeSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, DomainTypePatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
41
+ updateDomainType: {
42
+ domainType: InferSelectResult<DomainTypeWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends DomainTypeSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
50
+ deleteDomainType: {
51
+ domainType: InferSelectResult<DomainTypeWithRelations, S>;
52
+ };
53
+ }>;
54
+ }
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApiModuleModel = void 0;
3
+ exports.DomainTypeModel = void 0;
4
4
  const query_builder_1 = require("../query-builder");
5
5
  const input_types_1 = require("../input-types");
6
- class ApiModuleModel {
6
+ class DomainTypeModel {
7
7
  client;
8
8
  constructor(client) {
9
9
  this.client = client;
10
10
  }
11
11
  findMany(args) {
12
- const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ApiModule', 'apiModules', args.select, {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('DomainType', 'domainTypes', args.select, {
13
13
  where: args?.where,
14
14
  orderBy: args?.orderBy,
15
15
  first: args?.first,
@@ -17,88 +17,88 @@ class ApiModuleModel {
17
17
  after: args?.after,
18
18
  before: args?.before,
19
19
  offset: args?.offset,
20
- }, 'ApiModuleFilter', 'ApiModuleOrderBy', input_types_1.connectionFieldsMap);
20
+ }, 'DomainTypeFilter', 'DomainTypeOrderBy', input_types_1.connectionFieldsMap);
21
21
  return new query_builder_1.QueryBuilder({
22
22
  client: this.client,
23
23
  operation: 'query',
24
- operationName: 'ApiModule',
25
- fieldName: 'apiModules',
24
+ operationName: 'DomainType',
25
+ fieldName: 'domainTypes',
26
26
  document,
27
27
  variables,
28
28
  });
29
29
  }
30
30
  findFirst(args) {
31
- const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ApiModule', 'apiModules', args.select, {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('DomainType', 'domainTypes', args.select, {
32
32
  where: args?.where,
33
33
  orderBy: args?.orderBy,
34
- }, 'ApiModuleFilter', 'ApiModuleOrderBy', input_types_1.connectionFieldsMap);
34
+ }, 'DomainTypeFilter', 'DomainTypeOrderBy', input_types_1.connectionFieldsMap);
35
35
  return new query_builder_1.QueryBuilder({
36
36
  client: this.client,
37
37
  operation: 'query',
38
- operationName: 'ApiModule',
39
- fieldName: 'apiModule',
38
+ operationName: 'DomainType',
39
+ fieldName: 'domainType',
40
40
  document,
41
41
  variables,
42
42
  transform: (data) => ({
43
- apiModule: data.apiModules?.nodes?.[0] ?? null,
43
+ domainType: data.domainTypes?.nodes?.[0] ?? null,
44
44
  }),
45
45
  });
46
46
  }
47
47
  findOne(args) {
48
- const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ApiModule', 'apiModules', args.select, {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('DomainType', 'domainTypes', args.select, {
49
49
  where: {
50
50
  id: {
51
51
  equalTo: args.id,
52
52
  },
53
53
  },
54
54
  first: 1,
55
- }, 'ApiModuleFilter', 'ApiModuleOrderBy', input_types_1.connectionFieldsMap);
55
+ }, 'DomainTypeFilter', 'DomainTypeOrderBy', input_types_1.connectionFieldsMap);
56
56
  return new query_builder_1.QueryBuilder({
57
57
  client: this.client,
58
58
  operation: 'query',
59
- operationName: 'ApiModule',
60
- fieldName: 'apiModule',
59
+ operationName: 'DomainType',
60
+ fieldName: 'domainType',
61
61
  document,
62
62
  variables,
63
63
  transform: (data) => ({
64
- apiModule: data.apiModules?.nodes?.[0] ?? null,
64
+ domainType: data.domainTypes?.nodes?.[0] ?? null,
65
65
  }),
66
66
  });
67
67
  }
68
68
  create(args) {
69
- const { document, variables } = (0, query_builder_1.buildCreateDocument)('ApiModule', 'createApiModule', 'apiModule', args.select, args.data, 'CreateApiModuleInput', input_types_1.connectionFieldsMap);
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('DomainType', 'createDomainType', 'domainType', args.select, args.data, 'CreateDomainTypeInput', input_types_1.connectionFieldsMap);
70
70
  return new query_builder_1.QueryBuilder({
71
71
  client: this.client,
72
72
  operation: 'mutation',
73
- operationName: 'ApiModule',
74
- fieldName: 'createApiModule',
73
+ operationName: 'DomainType',
74
+ fieldName: 'createDomainType',
75
75
  document,
76
76
  variables,
77
77
  });
78
78
  }
79
79
  update(args) {
80
- const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('ApiModule', 'updateApiModule', 'apiModule', args.select, args.where.id, args.data, 'UpdateApiModuleInput', 'id', 'apiModulePatch', input_types_1.connectionFieldsMap, undefined);
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('DomainType', 'updateDomainType', 'domainType', args.select, args.where.id, args.data, 'UpdateDomainTypeInput', 'id', 'domainTypePatch', input_types_1.connectionFieldsMap, undefined);
81
81
  return new query_builder_1.QueryBuilder({
82
82
  client: this.client,
83
83
  operation: 'mutation',
84
- operationName: 'ApiModule',
85
- fieldName: 'updateApiModule',
84
+ operationName: 'DomainType',
85
+ fieldName: 'updateDomainType',
86
86
  document,
87
87
  variables,
88
88
  });
89
89
  }
90
90
  delete(args) {
91
- const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('ApiModule', 'deleteApiModule', 'apiModule', {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('DomainType', 'deleteDomainType', 'domainType', {
92
92
  id: args.where.id,
93
- }, 'DeleteApiModuleInput', args.select, input_types_1.connectionFieldsMap);
93
+ }, 'DeleteDomainTypeInput', args.select, input_types_1.connectionFieldsMap);
94
94
  return new query_builder_1.QueryBuilder({
95
95
  client: this.client,
96
96
  operation: 'mutation',
97
- operationName: 'ApiModule',
98
- fieldName: 'deleteApiModule',
97
+ operationName: 'DomainType',
98
+ fieldName: 'deleteDomainType',
99
99
  document,
100
100
  variables,
101
101
  });
102
102
  }
103
103
  }
104
- exports.ApiModuleModel = ApiModuleModel;
104
+ exports.DomainTypeModel = DomainTypeModel;
@@ -4,7 +4,6 @@
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
6
  export { ApiModel } from './api';
7
- export { ApiModuleModel } from './apiModule';
8
7
  export { ApiSchemaModel } from './apiSchema';
9
8
  export { ApiSettingModel } from './apiSetting';
10
9
  export { AstMigrationModel } from './astMigration';
@@ -17,6 +16,7 @@ export { DatabaseTransferModel } from './databaseTransfer';
17
16
  export { DefaultPrivilegeModel } from './defaultPrivilege';
18
17
  export { DomainModel } from './domain';
19
18
  export { DomainEventModel } from './domainEvent';
19
+ export { DomainTypeModel } from './domainType';
20
20
  export { DomainVerificationModel } from './domainVerification';
21
21
  export { EmbeddingChunkModel } from './embeddingChunk';
22
22
  export { EnumModel } from './enum';
@@ -32,7 +32,6 @@ export { ManagedDomainModel } from './managedDomain';
32
32
  export { NodeTypeRegistryModel } from './nodeTypeRegistry';
33
33
  export { PartitionModel } from './partition';
34
34
  export { PlatformApiModel } from './platformApi';
35
- export { PlatformApiModuleModel } from './platformApiModule';
36
35
  export { PlatformApiSchemaModel } from './platformApiSchema';
37
36
  export { PlatformApiSettingModel } from './platformApiSetting';
38
37
  export { PlatformCorsSettingModel } from './platformCorsSetting';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SiteModel = exports.SchemaGrantModel = exports.SchemaModel = exports.RouteModel = exports.RouteBindingModel = exports.RlsSettingModel = exports.PubkeySettingModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.PlatformSiteThemeModel = exports.PlatformSiteModuleModel = exports.PlatformSiteMetadatumModel = exports.PlatformSiteModel = exports.PlatformManagedDomainModel = exports.PlatformDomainVerificationModel = exports.PlatformDomainEventModel = exports.PlatformDomainModel = exports.PlatformCorsSettingModel = exports.PlatformApiSettingModel = exports.PlatformApiSchemaModel = exports.PlatformApiModuleModel = exports.PlatformApiModel = exports.PartitionModel = exports.NodeTypeRegistryModel = exports.ManagedDomainModel = exports.IndexModel = exports.HttpRouteModel = exports.HostnameBindingModel = exports.FunctionModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.FieldModel = exports.ExclusionConstraintModel = exports.EnumModel = exports.EmbeddingChunkModel = exports.DomainVerificationModel = exports.DomainEventModel = exports.DomainModel = exports.DefaultPrivilegeModel = exports.DatabaseTransferModel = exports.DatabaseSettingModel = exports.DatabaseModel = exports.CorsSettingModel = exports.CompositeTypeModel = exports.CheckConstraintModel = exports.AstMigrationModel = exports.ApiSettingModel = exports.ApiSchemaModel = exports.ApiModuleModel = exports.ApiModel = void 0;
4
- exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.SqlActionModel = exports.SpatialRelationModel = exports.SiteThemeModel = exports.SiteModuleModel = exports.SiteMetadatumModel = void 0;
3
+ exports.SiteMetadatumModel = exports.SiteModel = exports.SchemaGrantModel = exports.SchemaModel = exports.RouteModel = exports.RouteBindingModel = exports.RlsSettingModel = exports.PubkeySettingModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.PlatformSiteThemeModel = exports.PlatformSiteModuleModel = exports.PlatformSiteMetadatumModel = exports.PlatformSiteModel = exports.PlatformManagedDomainModel = exports.PlatformDomainVerificationModel = exports.PlatformDomainEventModel = exports.PlatformDomainModel = exports.PlatformCorsSettingModel = exports.PlatformApiSettingModel = exports.PlatformApiSchemaModel = exports.PlatformApiModel = exports.PartitionModel = exports.NodeTypeRegistryModel = exports.ManagedDomainModel = exports.IndexModel = exports.HttpRouteModel = exports.HostnameBindingModel = exports.FunctionModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.FieldModel = exports.ExclusionConstraintModel = exports.EnumModel = exports.EmbeddingChunkModel = exports.DomainVerificationModel = exports.DomainTypeModel = exports.DomainEventModel = exports.DomainModel = exports.DefaultPrivilegeModel = exports.DatabaseTransferModel = exports.DatabaseSettingModel = exports.DatabaseModel = exports.CorsSettingModel = exports.CompositeTypeModel = exports.CheckConstraintModel = exports.AstMigrationModel = exports.ApiSettingModel = exports.ApiSchemaModel = exports.ApiModel = void 0;
4
+ exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.SqlActionModel = exports.SpatialRelationModel = exports.SiteThemeModel = exports.SiteModuleModel = void 0;
5
5
  /**
6
6
  * Models barrel export
7
7
  * @generated by @constructive-io/graphql-codegen
@@ -9,8 +9,6 @@ exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel =
9
9
  */
10
10
  var api_1 = require("./api");
11
11
  Object.defineProperty(exports, "ApiModel", { enumerable: true, get: function () { return api_1.ApiModel; } });
12
- var apiModule_1 = require("./apiModule");
13
- Object.defineProperty(exports, "ApiModuleModel", { enumerable: true, get: function () { return apiModule_1.ApiModuleModel; } });
14
12
  var apiSchema_1 = require("./apiSchema");
15
13
  Object.defineProperty(exports, "ApiSchemaModel", { enumerable: true, get: function () { return apiSchema_1.ApiSchemaModel; } });
16
14
  var apiSetting_1 = require("./apiSetting");
@@ -35,6 +33,8 @@ var domain_1 = require("./domain");
35
33
  Object.defineProperty(exports, "DomainModel", { enumerable: true, get: function () { return domain_1.DomainModel; } });
36
34
  var domainEvent_1 = require("./domainEvent");
37
35
  Object.defineProperty(exports, "DomainEventModel", { enumerable: true, get: function () { return domainEvent_1.DomainEventModel; } });
36
+ var domainType_1 = require("./domainType");
37
+ Object.defineProperty(exports, "DomainTypeModel", { enumerable: true, get: function () { return domainType_1.DomainTypeModel; } });
38
38
  var domainVerification_1 = require("./domainVerification");
39
39
  Object.defineProperty(exports, "DomainVerificationModel", { enumerable: true, get: function () { return domainVerification_1.DomainVerificationModel; } });
40
40
  var embeddingChunk_1 = require("./embeddingChunk");
@@ -65,8 +65,6 @@ var partition_1 = require("./partition");
65
65
  Object.defineProperty(exports, "PartitionModel", { enumerable: true, get: function () { return partition_1.PartitionModel; } });
66
66
  var platformApi_1 = require("./platformApi");
67
67
  Object.defineProperty(exports, "PlatformApiModel", { enumerable: true, get: function () { return platformApi_1.PlatformApiModel; } });
68
- var platformApiModule_1 = require("./platformApiModule");
69
- Object.defineProperty(exports, "PlatformApiModuleModel", { enumerable: true, get: function () { return platformApiModule_1.PlatformApiModuleModel; } });
70
68
  var platformApiSchema_1 = require("./platformApiSchema");
71
69
  Object.defineProperty(exports, "PlatformApiSchemaModel", { enumerable: true, get: function () { return platformApiSchema_1.PlatformApiSchemaModel; } });
72
70
  var platformApiSetting_1 = require("./platformApiSetting");
@@ -265,9 +265,11 @@ export interface FunctionApiBinding {
265
265
  apiId?: string | null;
266
266
  /** Per-binding configuration (overrides, routing rules, etc.) */
267
267
  config?: Record<string, unknown> | null;
268
+ createdAt?: string | null;
268
269
  /** Function definition this binding belongs to */
269
270
  functionDefinitionId?: string | null;
270
271
  id: string;
272
+ updatedAt?: string | null;
271
273
  }
272
274
  /** Function definitions — registered cloud functions with routing, queue, and retry configuration */
273
275
  export interface FunctionDefinition {
@@ -860,9 +862,11 @@ export interface PlatformFunctionApiBinding {
860
862
  apiId?: string | null;
861
863
  /** Per-binding configuration (overrides, routing rules, etc.) */
862
864
  config?: Record<string, unknown> | null;
865
+ createdAt?: string | null;
863
866
  /** Function definition this binding belongs to */
864
867
  functionDefinitionId?: string | null;
865
868
  id: string;
869
+ updatedAt?: string | null;
866
870
  }
867
871
  /** Function definitions — registered cloud functions with routing, queue, and retry configuration */
868
872
  export interface PlatformFunctionDefinition {
@@ -1069,6 +1073,8 @@ export interface PlatformFunctionInvocation {
1069
1073
  completedAt?: string | null;
1070
1074
  /** Invocation creation timestamp (partition key) */
1071
1075
  createdAt?: string | null;
1076
+ /** Database this invocation is attributed to (usage/billing attribution) */
1077
+ databaseId?: string | null;
1072
1078
  /** Scope that owns function_definition_id (e.g. app/org/database/platform) — the per-scope definitions table the resolver selected */
1073
1079
  definitionScope?: string | null;
1074
1080
  /** Wall-clock execution time in milliseconds */
@@ -2155,8 +2161,10 @@ export type FunctionApiBindingSelect = {
2155
2161
  alias?: boolean;
2156
2162
  apiId?: boolean;
2157
2163
  config?: boolean;
2164
+ createdAt?: boolean;
2158
2165
  functionDefinitionId?: boolean;
2159
2166
  id?: boolean;
2167
+ updatedAt?: boolean;
2160
2168
  functionDefinition?: {
2161
2169
  select: FunctionDefinitionSelect;
2162
2170
  };
@@ -2546,8 +2554,10 @@ export type PlatformFunctionApiBindingSelect = {
2546
2554
  alias?: boolean;
2547
2555
  apiId?: boolean;
2548
2556
  config?: boolean;
2557
+ createdAt?: boolean;
2549
2558
  functionDefinitionId?: boolean;
2550
2559
  id?: boolean;
2560
+ updatedAt?: boolean;
2551
2561
  functionDefinition?: {
2552
2562
  select: PlatformFunctionDefinitionSelect;
2553
2563
  };
@@ -2684,6 +2694,7 @@ export type PlatformFunctionInvocationSelect = {
2684
2694
  channel?: boolean;
2685
2695
  completedAt?: boolean;
2686
2696
  createdAt?: boolean;
2697
+ databaseId?: boolean;
2687
2698
  definitionScope?: boolean;
2688
2699
  durationMs?: boolean;
2689
2700
  error?: boolean;
@@ -3389,6 +3400,8 @@ export interface FunctionApiBindingFilter {
3389
3400
  apiId?: UUIDFilter;
3390
3401
  /** Filter by the object’s `config` field. */
3391
3402
  config?: JSONFilter;
3403
+ /** Filter by the object’s `createdAt` field. */
3404
+ createdAt?: DatetimeFilter;
3392
3405
  /** Filter by the object’s `functionDefinition` relation. */
3393
3406
  functionDefinition?: FunctionDefinitionFilter;
3394
3407
  /** Filter by the object’s `functionDefinitionId` field. */
@@ -3403,6 +3416,8 @@ export interface FunctionApiBindingFilter {
3403
3416
  not?: FunctionApiBindingFilter;
3404
3417
  /** Checks for any expressions in this list. */
3405
3418
  or?: FunctionApiBindingFilter[];
3419
+ /** Filter by the object’s `updatedAt` field. */
3420
+ updatedAt?: DatetimeFilter;
3406
3421
  }
3407
3422
  export interface FunctionDefinitionFilter {
3408
3423
  /** Filter by the object’s `accessChannels` field. */
@@ -4155,6 +4170,8 @@ export interface PlatformFunctionApiBindingFilter {
4155
4170
  apiId?: UUIDFilter;
4156
4171
  /** Filter by the object’s `config` field. */
4157
4172
  config?: JSONFilter;
4173
+ /** Filter by the object’s `createdAt` field. */
4174
+ createdAt?: DatetimeFilter;
4158
4175
  /** Filter by the object’s `functionDefinition` relation. */
4159
4176
  functionDefinition?: PlatformFunctionDefinitionFilter;
4160
4177
  /** Filter by the object’s `functionDefinitionId` field. */
@@ -4169,6 +4186,8 @@ export interface PlatformFunctionApiBindingFilter {
4169
4186
  platformFunctionInvocationsByApiBindingId?: PlatformFunctionApiBindingToManyPlatformFunctionInvocationFilter;
4170
4187
  /** `platformFunctionInvocationsByApiBindingId` exist. */
4171
4188
  platformFunctionInvocationsByApiBindingIdExist?: boolean;
4189
+ /** Filter by the object’s `updatedAt` field. */
4190
+ updatedAt?: DatetimeFilter;
4172
4191
  }
4173
4192
  export interface PlatformFunctionDefinitionFilter {
4174
4193
  /** Filter by the object’s `accessChannels` field. */
@@ -4421,6 +4440,8 @@ export interface PlatformFunctionInvocationFilter {
4421
4440
  completedAt?: DatetimeFilter;
4422
4441
  /** Filter by the object’s `createdAt` field. */
4423
4442
  createdAt?: DatetimeFilter;
4443
+ /** Filter by the object’s `databaseId` field. */
4444
+ databaseId?: UUIDFilter;
4424
4445
  /** Filter by the object’s `definitionScope` field. */
4425
4446
  definitionScope?: StringFilter;
4426
4447
  /** Filter by the object’s `durationMs` field. */
@@ -5694,7 +5715,7 @@ export interface WebhookEventFilter {
5694
5715
  updatedAt?: DatetimeFilter;
5695
5716
  }
5696
5717
  export type DbPresetOrderBy = 'ACTIVE_ASC' | 'ACTIVE_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'MODULES_HASH_ASC' | 'MODULES_HASH_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
5697
- export type FunctionApiBindingOrderBy = 'ALIAS_ASC' | 'ALIAS_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
5718
+ export type FunctionApiBindingOrderBy = 'ALIAS_ASC' | 'ALIAS_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
5698
5719
  export type FunctionDefinitionOrderBy = 'ACCESS_CHANNELS_ASC' | 'ACCESS_CHANNELS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CONCURRENCY_ASC' | 'CONCURRENCY_DESC' | 'CPU_LIMIT_MILLICORES_ASC' | 'CPU_LIMIT_MILLICORES_DESC' | 'CPU_REQUEST_MILLICORES_ASC' | 'CPU_REQUEST_MILLICORES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'FN_CATEGORY_ASC' | 'FN_CATEGORY_DESC' | 'FUNCTION_COLUMNS_ASC' | 'FUNCTION_COLUMNS_DESC' | 'GRAPH_ID_ASC' | 'GRAPH_ID_DESC' | 'ICON_ASC' | 'ICON_DESC' | 'ID_ASC' | 'ID_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'INPUTS_ASC' | 'INPUTS_DESC' | 'INTEGRATIONS_ASC' | 'INTEGRATIONS_DESC' | 'IS_PUBLISHED_ASC' | 'IS_PUBLISHED_DESC' | 'MAX_ATTEMPTS_ASC' | 'MAX_ATTEMPTS_DESC' | 'MEMORY_LIMIT_BYTES_ASC' | 'MEMORY_LIMIT_BYTES_DESC' | 'MEMORY_REQUEST_BYTES_ASC' | 'MEMORY_REQUEST_BYTES_DESC' | 'MODULE_TABLE_ASC' | 'MODULE_TABLE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OUTPUTS_ASC' | 'OUTPUTS_DESC' | 'PAYLOAD_ARGS_ASC' | 'PAYLOAD_ARGS_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'PROPS_ASC' | 'PROPS_DESC' | 'PROTECTED_ASC' | 'PROTECTED_DESC' | 'PUBLISHED_AT_ASC' | 'PUBLISHED_AT_DESC' | 'QUEUE_NAME_ASC' | 'QUEUE_NAME_DESC' | 'REQUIRED_BUCKETS_ASC' | 'REQUIRED_BUCKETS_DESC' | 'REQUIRED_CONFIGS_ASC' | 'REQUIRED_CONFIGS_DESC' | 'REQUIRED_MODELS_ASC' | 'REQUIRED_MODELS_DESC' | 'REQUIRED_SECRETS_ASC' | 'REQUIRED_SECRETS_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'RUNTIME_ASC' | 'RUNTIME_DESC' | 'SCALE_MAX_ASC' | 'SCALE_MAX_DESC' | 'SCALE_MIN_ASC' | 'SCALE_MIN_DESC' | 'TARGET_FUNCTION_ASC' | 'TARGET_FUNCTION_DESC' | 'TARGET_SCHEMA_ASC' | 'TARGET_SCHEMA_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'TIMEOUT_SECONDS_ASC' | 'TIMEOUT_SECONDS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VOLATILE_ASC' | 'VOLATILE_DESC';
5699
5720
  export type FunctionDeploymentOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CONCURRENCY_ASC' | 'CONCURRENCY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ERROR_COUNT_ASC' | 'ERROR_COUNT_DESC' | 'HANDLER_NAME_ASC' | 'HANDLER_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'IMAGE_VERSION_ASC' | 'IMAGE_VERSION_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_AT_ASC' | 'LAST_ERROR_AT_DESC' | 'LAST_ERROR_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'REVISION_ASC' | 'REVISION_DESC' | 'SCALE_MAX_ASC' | 'SCALE_MAX_DESC' | 'SCALE_MIN_ASC' | 'SCALE_MIN_DESC' | 'SERVICE_NAME_ASC' | 'SERVICE_NAME_DESC' | 'SERVICE_URL_ASC' | 'SERVICE_URL_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TIMEOUT_SECONDS_ASC' | 'TIMEOUT_SECONDS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
5700
5721
  export type FunctionDeploymentEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOYMENT_ID_ASC' | 'DEPLOYMENT_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
@@ -5718,13 +5739,13 @@ export type InfraStoreOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE
5718
5739
  export type IntegrationProviderOrderBy = 'BRAND_ASC' | 'BRAND_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ICON_ASC' | 'ICON_DESC' | 'ID_ASC' | 'ID_DESC' | 'LOGO_ASC' | 'LOGO_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REQUIRED_CONFIGS_ASC' | 'REQUIRED_CONFIGS_DESC' | 'REQUIRED_SECRETS_ASC' | 'REQUIRED_SECRETS_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
5719
5740
  export type NamespaceOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_MANAGED_ASC' | 'IS_MANAGED_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_DESC' | 'NAMESPACE_NAME_ASC' | 'NAMESPACE_NAME_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
5720
5741
  export type NamespaceEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
5721
- export type PlatformFunctionApiBindingOrderBy = 'ALIAS_ASC' | 'ALIAS_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
5742
+ export type PlatformFunctionApiBindingOrderBy = 'ALIAS_ASC' | 'ALIAS_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
5722
5743
  export type PlatformFunctionDefinitionOrderBy = 'ACCESS_CHANNELS_ASC' | 'ACCESS_CHANNELS_DESC' | 'BILLABLE_ASC' | 'BILLABLE_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CONCURRENCY_ASC' | 'CONCURRENCY_DESC' | 'CPU_LIMIT_MILLICORES_ASC' | 'CPU_LIMIT_MILLICORES_DESC' | 'CPU_REQUEST_MILLICORES_ASC' | 'CPU_REQUEST_MILLICORES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'FN_CATEGORY_ASC' | 'FN_CATEGORY_DESC' | 'FUNCTION_COLUMNS_ASC' | 'FUNCTION_COLUMNS_DESC' | 'GRAPH_ID_ASC' | 'GRAPH_ID_DESC' | 'ICON_ASC' | 'ICON_DESC' | 'ID_ASC' | 'ID_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'INPUTS_ASC' | 'INPUTS_DESC' | 'INTEGRATIONS_ASC' | 'INTEGRATIONS_DESC' | 'IS_PUBLISHED_ASC' | 'IS_PUBLISHED_DESC' | 'MAX_ATTEMPTS_ASC' | 'MAX_ATTEMPTS_DESC' | 'MEMORY_LIMIT_BYTES_ASC' | 'MEMORY_LIMIT_BYTES_DESC' | 'MEMORY_REQUEST_BYTES_ASC' | 'MEMORY_REQUEST_BYTES_DESC' | 'MODULE_TABLE_ASC' | 'MODULE_TABLE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OUTPUTS_ASC' | 'OUTPUTS_DESC' | 'PAYLOAD_ARGS_ASC' | 'PAYLOAD_ARGS_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'PROPS_ASC' | 'PROPS_DESC' | 'PROTECTED_ASC' | 'PROTECTED_DESC' | 'PUBLISHED_AT_ASC' | 'PUBLISHED_AT_DESC' | 'QUEUE_NAME_ASC' | 'QUEUE_NAME_DESC' | 'REQUIRED_BUCKETS_ASC' | 'REQUIRED_BUCKETS_DESC' | 'REQUIRED_CONFIGS_ASC' | 'REQUIRED_CONFIGS_DESC' | 'REQUIRED_MODELS_ASC' | 'REQUIRED_MODELS_DESC' | 'REQUIRED_SECRETS_ASC' | 'REQUIRED_SECRETS_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'RUNTIME_ASC' | 'RUNTIME_DESC' | 'SCALE_MAX_ASC' | 'SCALE_MAX_DESC' | 'SCALE_MIN_ASC' | 'SCALE_MIN_DESC' | 'SYSTEM_ASC' | 'SYSTEM_DESC' | 'TARGET_FUNCTION_ASC' | 'TARGET_FUNCTION_DESC' | 'TARGET_SCHEMA_ASC' | 'TARGET_SCHEMA_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'TIMEOUT_SECONDS_ASC' | 'TIMEOUT_SECONDS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VOLATILE_ASC' | 'VOLATILE_DESC';
5723
5744
  export type PlatformFunctionDeploymentOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CONCURRENCY_ASC' | 'CONCURRENCY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ERROR_COUNT_ASC' | 'ERROR_COUNT_DESC' | 'HANDLER_NAME_ASC' | 'HANDLER_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'IMAGE_VERSION_ASC' | 'IMAGE_VERSION_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_AT_ASC' | 'LAST_ERROR_AT_DESC' | 'LAST_ERROR_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'REVISION_ASC' | 'REVISION_DESC' | 'SCALE_MAX_ASC' | 'SCALE_MAX_DESC' | 'SCALE_MIN_ASC' | 'SCALE_MIN_DESC' | 'SERVICE_NAME_ASC' | 'SERVICE_NAME_DESC' | 'SERVICE_URL_ASC' | 'SERVICE_URL_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TIMEOUT_SECONDS_ASC' | 'TIMEOUT_SECONDS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
5724
5745
  export type PlatformFunctionDeploymentEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DEPLOYMENT_ID_ASC' | 'DEPLOYMENT_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
5725
5746
  export type PlatformFunctionExecutionLogOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'LOG_LEVEL_ASC' | 'LOG_LEVEL_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
5726
5747
  export type PlatformFunctionInvocationAttemptOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ATTEMPT_ASC' | 'ATTEMPT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'ERROR_DETAIL_ASC' | 'ERROR_DETAIL_DESC' | 'ID_ASC' | 'ID_DESC' | 'INVOCATION_CREATED_AT_ASC' | 'INVOCATION_CREATED_AT_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
5727
- export type PlatformFunctionInvocationOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'API_BINDING_ID_ASC' | 'API_BINDING_ID_DESC' | 'CHANNEL_ASC' | 'CHANNEL_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DEFINITION_SCOPE_ASC' | 'DEFINITION_SCOPE_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'GRAPH_EXECUTION_ID_ASC' | 'GRAPH_EXECUTION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'JOB_ID_ASC' | 'JOB_ID_DESC' | 'NATURAL' | 'PARENT_INVOCATION_ID_ASC' | 'PARENT_INVOCATION_ID_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVENANCE_ASC' | 'PROVENANCE_DESC' | 'RESULT_ASC' | 'RESULT_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
5748
+ export type PlatformFunctionInvocationOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'API_BINDING_ID_ASC' | 'API_BINDING_ID_DESC' | 'CHANNEL_ASC' | 'CHANNEL_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFINITION_SCOPE_ASC' | 'DEFINITION_SCOPE_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'GRAPH_EXECUTION_ID_ASC' | 'GRAPH_EXECUTION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'JOB_ID_ASC' | 'JOB_ID_DESC' | 'NATURAL' | 'PARENT_INVOCATION_ID_ASC' | 'PARENT_INVOCATION_ID_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVENANCE_ASC' | 'PROVENANCE_DESC' | 'RESULT_ASC' | 'RESULT_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
5728
5749
  export type PlatformInfraCommitOrderBy = 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'DATE_ASC' | 'DATE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'NATURAL' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC';
5729
5750
  export type PlatformInfraGetAllTreeNodesRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'DATA_ASC' | 'DATA_DESC' | 'PATH_ASC' | 'PATH_DESC';
5730
5751
  export type PlatformInfraObjectOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'ID_ASC' | 'ID_DESC' | 'KIDS_ASC' | 'KIDS_DESC' | 'KTREE_ASC' | 'KTREE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC';
@@ -6884,6 +6905,7 @@ export interface CreatePlatformFunctionInvocationInput {
6884
6905
  apiBindingId?: string;
6885
6906
  channel?: string;
6886
6907
  completedAt?: string;
6908
+ databaseId?: string;
6887
6909
  definitionScope?: string;
6888
6910
  durationMs?: number;
6889
6911
  error?: string;
@@ -6904,6 +6926,7 @@ export interface PlatformFunctionInvocationPatch {
6904
6926
  apiBindingId?: string | null;
6905
6927
  channel?: string | null;
6906
6928
  completedAt?: string | null;
6929
+ databaseId?: string | null;
6907
6930
  definitionScope?: string | null;
6908
6931
  durationMs?: number | null;
6909
6932
  error?: string | null;
@@ -8782,9 +8805,11 @@ export interface FunctionApiBindingInput {
8782
8805
  apiId: string;
8783
8806
  /** Per-binding configuration (overrides, routing rules, etc.) */
8784
8807
  config?: Record<string, unknown>;
8808
+ createdAt?: string;
8785
8809
  /** Function definition this binding belongs to */
8786
8810
  functionDefinitionId: string;
8787
8811
  id?: string;
8812
+ updatedAt?: string;
8788
8813
  }
8789
8814
  /** An input for mutations affecting `FunctionDefinition` */
8790
8815
  export interface FunctionDefinitionInput {
@@ -9338,9 +9363,11 @@ export interface PlatformFunctionApiBindingInput {
9338
9363
  apiId: string;
9339
9364
  /** Per-binding configuration (overrides, routing rules, etc.) */
9340
9365
  config?: Record<string, unknown>;
9366
+ createdAt?: string;
9341
9367
  /** Function definition this binding belongs to */
9342
9368
  functionDefinitionId: string;
9343
9369
  id?: string;
9370
+ updatedAt?: string;
9344
9371
  }
9345
9372
  /** An input for mutations affecting `PlatformFunctionDefinition` */
9346
9373
  export interface PlatformFunctionDefinitionInput {
@@ -9537,6 +9564,8 @@ export interface PlatformFunctionInvocationInput {
9537
9564
  completedAt?: string;
9538
9565
  /** Invocation creation timestamp (partition key) */
9539
9566
  createdAt?: string;
9567
+ /** Database this invocation is attributed to (usage/billing attribution) */
9568
+ databaseId?: string;
9540
9569
  /** Scope that owns function_definition_id (e.g. app/org/database/platform) — the per-scope definitions table the resolver selected */
9541
9570
  definitionScope?: string;
9542
9571
  /** Wall-clock execution time in milliseconds */
@@ -10213,6 +10242,8 @@ export interface FunctionApiBindingFilter {
10213
10242
  apiId?: UUIDFilter;
10214
10243
  /** Filter by the object’s `config` field. */
10215
10244
  config?: JSONFilter;
10245
+ /** Filter by the object’s `createdAt` field. */
10246
+ createdAt?: DatetimeFilter;
10216
10247
  /** Filter by the object’s `functionDefinition` relation. */
10217
10248
  functionDefinition?: FunctionDefinitionFilter;
10218
10249
  /** Filter by the object’s `functionDefinitionId` field. */
@@ -10227,6 +10258,8 @@ export interface FunctionApiBindingFilter {
10227
10258
  not?: FunctionApiBindingFilter;
10228
10259
  /** Checks for any expressions in this list. */
10229
10260
  or?: FunctionApiBindingFilter[];
10261
+ /** Filter by the object’s `updatedAt` field. */
10262
+ updatedAt?: DatetimeFilter;
10230
10263
  }
10231
10264
  /** A filter to be used against `WebhookEndpoint` object types. All fields are combined with a logical ‘and.’ */
10232
10265
  export interface WebhookEndpointFilter {
@@ -10695,6 +10728,8 @@ export interface PlatformFunctionInvocationFilter {
10695
10728
  completedAt?: DatetimeFilter;
10696
10729
  /** Filter by the object’s `createdAt` field. */
10697
10730
  createdAt?: DatetimeFilter;
10731
+ /** Filter by the object’s `databaseId` field. */
10732
+ databaseId?: UUIDFilter;
10698
10733
  /** Filter by the object’s `definitionScope` field. */
10699
10734
  definitionScope?: StringFilter;
10700
10735
  /** Filter by the object’s `durationMs` field. */
@@ -10738,6 +10773,8 @@ export interface PlatformFunctionApiBindingFilter {
10738
10773
  apiId?: UUIDFilter;
10739
10774
  /** Filter by the object’s `config` field. */
10740
10775
  config?: JSONFilter;
10776
+ /** Filter by the object’s `createdAt` field. */
10777
+ createdAt?: DatetimeFilter;
10741
10778
  /** Filter by the object’s `functionDefinition` relation. */
10742
10779
  functionDefinition?: PlatformFunctionDefinitionFilter;
10743
10780
  /** Filter by the object’s `functionDefinitionId` field. */
@@ -10752,6 +10789,8 @@ export interface PlatformFunctionApiBindingFilter {
10752
10789
  platformFunctionInvocationsByApiBindingId?: PlatformFunctionApiBindingToManyPlatformFunctionInvocationFilter;
10753
10790
  /** `platformFunctionInvocationsByApiBindingId` exist. */
10754
10791
  platformFunctionInvocationsByApiBindingIdExist?: boolean;
10792
+ /** Filter by the object’s `updatedAt` field. */
10793
+ updatedAt?: DatetimeFilter;
10755
10794
  }
10756
10795
  /** A filter to be used against `PlatformWebhookEndpoint` object types. All fields are combined with a logical ‘and.’ */
10757
10796
  export interface PlatformWebhookEndpointFilter {
@@ -12,7 +12,11 @@ import { AppPermissionDefaultGrantModel } from './models/appPermissionDefaultGra
12
12
  import { AppPermissionDefaultPermissionModel } from './models/appPermissionDefaultPermission';
13
13
  import { MembershipTypeModel } from './models/membershipType';
14
14
  import { OrgAdminGrantModel } from './models/orgAdminGrant';
15
+ import { OrgChartEdgeModel } from './models/orgChartEdge';
16
+ import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
15
17
  import { OrgClaimedInviteModel } from './models/orgClaimedInvite';
18
+ import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord';
19
+ import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord';
16
20
  import { OrgGrantModel } from './models/orgGrant';
17
21
  import { OrgInviteModel } from './models/orgInvite';
18
22
  import { OrgMemberModel } from './models/orgMember';
@@ -69,7 +73,11 @@ export declare function createClient(config: OrmClientConfig): {
69
73
  appPermissionDefaultPermission: AppPermissionDefaultPermissionModel;
70
74
  membershipType: MembershipTypeModel;
71
75
  orgAdminGrant: OrgAdminGrantModel;
76
+ orgChartEdge: OrgChartEdgeModel;
77
+ orgChartEdgeGrant: OrgChartEdgeGrantModel;
72
78
  orgClaimedInvite: OrgClaimedInviteModel;
79
+ orgGetManagersRecord: OrgGetManagersRecordModel;
80
+ orgGetSubordinatesRecord: OrgGetSubordinatesRecordModel;
73
81
  orgGrant: OrgGrantModel;
74
82
  orgInvite: OrgInviteModel;
75
83
  orgMember: OrgMemberModel;
@@ -103,6 +111,11 @@ export declare function createClient(config: OrmClientConfig): {
103
111
  }) => import("./query-builder").QueryBuilder<{
104
112
  appPermissionsGetPaddedMask: string | null;
105
113
  }>;
114
+ orgIsManagerOf: (args: import("./query").OrgIsManagerOfVariables, options?: {
115
+ select?: Record<string, unknown>;
116
+ }) => import("./query-builder").QueryBuilder<{
117
+ orgIsManagerOf: boolean | null;
118
+ }>;
106
119
  orgPermissionsGetByMask: (args: import("./query").OrgPermissionsGetByMaskVariables, options?: {
107
120
  select?: Record<string, unknown>;
108
121
  }) => import("./query-builder").QueryBuilder<{
@@ -17,7 +17,11 @@ import { AppPermissionDefaultGrantModel } from './models/appPermissionDefaultGra
17
17
  import { AppPermissionDefaultPermissionModel } from './models/appPermissionDefaultPermission';
18
18
  import { MembershipTypeModel } from './models/membershipType';
19
19
  import { OrgAdminGrantModel } from './models/orgAdminGrant';
20
+ import { OrgChartEdgeModel } from './models/orgChartEdge';
21
+ import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
20
22
  import { OrgClaimedInviteModel } from './models/orgClaimedInvite';
23
+ import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord';
24
+ import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord';
21
25
  import { OrgGrantModel } from './models/orgGrant';
22
26
  import { OrgInviteModel } from './models/orgInvite';
23
27
  import { OrgMemberModel } from './models/orgMember';
@@ -77,7 +81,11 @@ export function createClient(config) {
77
81
  appPermissionDefaultPermission: new AppPermissionDefaultPermissionModel(client),
78
82
  membershipType: new MembershipTypeModel(client),
79
83
  orgAdminGrant: new OrgAdminGrantModel(client),
84
+ orgChartEdge: new OrgChartEdgeModel(client),
85
+ orgChartEdgeGrant: new OrgChartEdgeGrantModel(client),
80
86
  orgClaimedInvite: new OrgClaimedInviteModel(client),
87
+ orgGetManagersRecord: new OrgGetManagersRecordModel(client),
88
+ orgGetSubordinatesRecord: new OrgGetSubordinatesRecordModel(client),
81
89
  orgGrant: new OrgGrantModel(client),
82
90
  orgInvite: new OrgInviteModel(client),
83
91
  orgMember: new OrgMemberModel(client),