@constructive-io/sdk 1.19.7 → 1.19.9

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 (53) hide show
  1. package/agent/orm/input-types.d.ts +4 -4
  2. package/api/orm/index.d.ts +2 -0
  3. package/api/orm/index.js +2 -0
  4. package/api/orm/input-types.d.ts +60 -30
  5. package/api/orm/models/index.d.ts +1 -0
  6. package/api/orm/models/index.js +4 -2
  7. package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
  8. package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
  9. package/auth/orm/index.d.ts +15 -5
  10. package/auth/orm/input-types.d.ts +44 -14
  11. package/auth/orm/mutation/index.d.ts +25 -9
  12. package/auth/orm/mutation/index.js +36 -12
  13. package/compute/orm/index.d.ts +14 -0
  14. package/compute/orm/index.js +4 -0
  15. package/compute/orm/input-types.d.ts +553 -4
  16. package/compute/orm/input-types.js +2 -0
  17. package/compute/orm/models/functionSchedule.d.ts +54 -0
  18. package/compute/orm/models/functionSchedule.js +104 -0
  19. package/compute/orm/models/index.d.ts +2 -0
  20. package/compute/orm/models/index.js +7 -3
  21. package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
  22. package/compute/orm/models/platformFunctionSchedule.js +104 -0
  23. package/compute/orm/mutation/index.d.ts +17 -1
  24. package/compute/orm/mutation/index.js +24 -0
  25. package/esm/agent/orm/input-types.d.ts +4 -4
  26. package/esm/api/orm/index.d.ts +2 -0
  27. package/esm/api/orm/index.js +2 -0
  28. package/esm/api/orm/input-types.d.ts +60 -30
  29. package/esm/api/orm/models/index.d.ts +1 -0
  30. package/esm/api/orm/models/index.js +1 -0
  31. package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
  32. package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
  33. package/esm/auth/orm/index.d.ts +15 -5
  34. package/esm/auth/orm/input-types.d.ts +44 -14
  35. package/esm/auth/orm/mutation/index.d.ts +25 -9
  36. package/esm/auth/orm/mutation/index.js +36 -12
  37. package/esm/compute/orm/index.d.ts +14 -0
  38. package/esm/compute/orm/index.js +4 -0
  39. package/esm/compute/orm/input-types.d.ts +553 -4
  40. package/esm/compute/orm/input-types.js +2 -0
  41. package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
  42. package/esm/compute/orm/models/functionSchedule.js +100 -0
  43. package/esm/compute/orm/models/index.d.ts +2 -0
  44. package/esm/compute/orm/models/index.js +2 -0
  45. package/esm/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
  46. package/esm/compute/orm/models/platformFunctionSchedule.js +100 -0
  47. package/esm/compute/orm/mutation/index.d.ts +17 -1
  48. package/esm/compute/orm/mutation/index.js +24 -0
  49. package/esm/modules/orm/input-types.d.ts +26 -48
  50. package/esm/remote/orm/input-types.d.ts +13 -1
  51. package/modules/orm/input-types.d.ts +26 -48
  52. package/package.json +5 -5
  53. package/remote/orm/input-types.d.ts +13 -1
@@ -14,6 +14,7 @@ exports.connectionFieldsMap = {
14
14
  FunctionDefinition: {
15
15
  functionApiBindings: 'FunctionApiBinding',
16
16
  functionCapabilityBindingsByFunctionId: 'FunctionCapabilityBinding',
17
+ functionSchedules: 'FunctionSchedule',
17
18
  webhookEndpoints: 'WebhookEndpoint',
18
19
  },
19
20
  FunctionGraph: {
@@ -39,6 +40,7 @@ exports.connectionFieldsMap = {
39
40
  PlatformFunctionDefinition: {
40
41
  platformFunctionApiBindingsByFunctionDefinitionId: 'PlatformFunctionApiBinding',
41
42
  platformFunctionCapabilityBindingsByFunctionId: 'PlatformFunctionCapabilityBinding',
43
+ platformFunctionSchedulesByFunctionDefinitionId: 'PlatformFunctionSchedule',
42
44
  platformWebhookEndpointsByFunctionDefinitionId: 'PlatformWebhookEndpoint',
43
45
  },
44
46
  PlatformImage: {
@@ -0,0 +1,54 @@
1
+ /**
2
+ * FunctionSchedule 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 { FunctionScheduleWithRelations, FunctionScheduleSelect, FunctionScheduleFilter, FunctionScheduleOrderBy, CreateFunctionScheduleInput, FunctionSchedulePatch } from '../input-types';
10
+ export declare class FunctionScheduleModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends FunctionScheduleSelect>(args: FindManyArgs<S, FunctionScheduleFilter, FunctionScheduleOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, FunctionScheduleSelect>): QueryBuilder<{
16
+ functionSchedules: ConnectionResult<InferSelectResult<FunctionScheduleWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends FunctionScheduleSelect>(args: FindFirstArgs<S, FunctionScheduleFilter, FunctionScheduleOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, FunctionScheduleSelect>): QueryBuilder<{
21
+ functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends FunctionScheduleSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, FunctionScheduleSelect>): QueryBuilder<{
27
+ functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S> | null;
28
+ }>;
29
+ create<S extends FunctionScheduleSelect>(args: CreateArgs<S, CreateFunctionScheduleInput['functionSchedule']> & {
30
+ select: S;
31
+ } & StrictSelect<S, FunctionScheduleSelect>): QueryBuilder<{
32
+ createFunctionSchedule: {
33
+ functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends FunctionScheduleSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, FunctionSchedulePatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, FunctionScheduleSelect>): QueryBuilder<{
41
+ updateFunctionSchedule: {
42
+ functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends FunctionScheduleSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, FunctionScheduleSelect>): QueryBuilder<{
50
+ deleteFunctionSchedule: {
51
+ functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S>;
52
+ };
53
+ }>;
54
+ }
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FunctionScheduleModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class FunctionScheduleModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('FunctionSchedule', 'functionSchedules', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'FunctionScheduleFilter', 'FunctionScheduleOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'FunctionSchedule',
25
+ fieldName: 'functionSchedules',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('FunctionSchedule', 'functionSchedules', args.select, {
32
+ where: args?.where,
33
+ orderBy: args?.orderBy,
34
+ }, 'FunctionScheduleFilter', 'FunctionScheduleOrderBy', input_types_1.connectionFieldsMap);
35
+ return new query_builder_1.QueryBuilder({
36
+ client: this.client,
37
+ operation: 'query',
38
+ operationName: 'FunctionSchedule',
39
+ fieldName: 'functionSchedule',
40
+ document,
41
+ variables,
42
+ transform: (data) => ({
43
+ functionSchedule: data.functionSchedules?.nodes?.[0] ?? null,
44
+ }),
45
+ });
46
+ }
47
+ findOne(args) {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('FunctionSchedule', 'functionSchedules', args.select, {
49
+ where: {
50
+ id: {
51
+ equalTo: args.id,
52
+ },
53
+ },
54
+ first: 1,
55
+ }, 'FunctionScheduleFilter', 'FunctionScheduleOrderBy', input_types_1.connectionFieldsMap);
56
+ return new query_builder_1.QueryBuilder({
57
+ client: this.client,
58
+ operation: 'query',
59
+ operationName: 'FunctionSchedule',
60
+ fieldName: 'functionSchedule',
61
+ document,
62
+ variables,
63
+ transform: (data) => ({
64
+ functionSchedule: data.functionSchedules?.nodes?.[0] ?? null,
65
+ }),
66
+ });
67
+ }
68
+ create(args) {
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('FunctionSchedule', 'createFunctionSchedule', 'functionSchedule', args.select, args.data, 'CreateFunctionScheduleInput', input_types_1.connectionFieldsMap);
70
+ return new query_builder_1.QueryBuilder({
71
+ client: this.client,
72
+ operation: 'mutation',
73
+ operationName: 'FunctionSchedule',
74
+ fieldName: 'createFunctionSchedule',
75
+ document,
76
+ variables,
77
+ });
78
+ }
79
+ update(args) {
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('FunctionSchedule', 'updateFunctionSchedule', 'functionSchedule', args.select, args.where.id, args.data, 'UpdateFunctionScheduleInput', 'id', 'functionSchedulePatch', input_types_1.connectionFieldsMap, undefined);
81
+ return new query_builder_1.QueryBuilder({
82
+ client: this.client,
83
+ operation: 'mutation',
84
+ operationName: 'FunctionSchedule',
85
+ fieldName: 'updateFunctionSchedule',
86
+ document,
87
+ variables,
88
+ });
89
+ }
90
+ delete(args) {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('FunctionSchedule', 'deleteFunctionSchedule', 'functionSchedule', {
92
+ id: args.where.id,
93
+ }, 'DeleteFunctionScheduleInput', args.select, input_types_1.connectionFieldsMap);
94
+ return new query_builder_1.QueryBuilder({
95
+ client: this.client,
96
+ operation: 'mutation',
97
+ operationName: 'FunctionSchedule',
98
+ fieldName: 'deleteFunctionSchedule',
99
+ document,
100
+ variables,
101
+ });
102
+ }
103
+ }
104
+ exports.FunctionScheduleModel = FunctionScheduleModel;
@@ -33,6 +33,7 @@ export { FunctionGraphRefModel } from './functionGraphRef';
33
33
  export { FunctionGraphStoreModel } from './functionGraphStore';
34
34
  export { FunctionInvocationAttemptModel } from './functionInvocationAttempt';
35
35
  export { FunctionInvocationModel } from './functionInvocation';
36
+ export { FunctionScheduleModel } from './functionSchedule';
36
37
  export { GetAllTreeNodesRecordModel } from './getAllTreeNodesRecord';
37
38
  export { ImageModel } from './image';
38
39
  export { ImageGrantModel } from './imageGrant';
@@ -55,6 +56,7 @@ export { PlatformFunctionDeploymentEventModel } from './platformFunctionDeployme
55
56
  export { PlatformFunctionExecutionLogModel } from './platformFunctionExecutionLog';
56
57
  export { PlatformFunctionInvocationAttemptModel } from './platformFunctionInvocationAttempt';
57
58
  export { PlatformFunctionInvocationModel } from './platformFunctionInvocation';
59
+ export { PlatformFunctionScheduleModel } from './platformFunctionSchedule';
58
60
  export { PlatformImageModel } from './platformImage';
59
61
  export { PlatformImageGrantModel } from './platformImageGrant';
60
62
  export { PlatformInfraCommitModel } from './platformInfraCommit';
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlatformFunctionExecutionLogModel = exports.PlatformFunctionDeploymentEventModel = exports.PlatformFunctionDeploymentModel = exports.PlatformFunctionDefinitionModel = exports.PlatformFunctionCapabilityBindingModel = exports.PlatformFunctionApiBindingModel = exports.PlatformBuilderBindingModel = exports.PlatformBuildStepModel = exports.PlatformBuildModel = exports.NamespaceEventModel = exports.NamespaceModel = exports.IntegrationProviderModel = exports.InfraStoreModel = exports.InfraRefModel = exports.InfraObjectModel = exports.InfraGetAllTreeNodesRecordModel = exports.InfraCommitModel = exports.ImageGrantModel = exports.ImageModel = exports.GetAllTreeNodesRecordModel = exports.FunctionInvocationModel = exports.FunctionInvocationAttemptModel = exports.FunctionGraphStoreModel = exports.FunctionGraphRefModel = exports.FunctionGraphObjectModel = exports.FunctionGraphExecutionOutputModel = exports.FunctionGraphExecutionNodeStateModel = exports.FunctionGraphExecutionModel = exports.FunctionGraphModel = exports.FunctionGraphCommitModel = exports.FunctionExecutionLogModel = exports.FunctionDeploymentEventModel = exports.FunctionDeploymentModel = exports.FunctionDefinitionModel = exports.FunctionCapabilityBindingModel = exports.FunctionApiBindingModel = exports.DbPresetModel = exports.DatabaseGraphStoreModel = exports.DatabaseGraphRefModel = exports.DatabaseGraphObjectModel = exports.DatabaseGraphGetAllTreeNodesRecordModel = exports.DatabaseGraphCommitModel = exports.DatabaseFunctionGraphExecutionOutputModel = exports.DatabaseFunctionGraphExecutionNodeStateModel = exports.DatabaseFunctionGraphExecutionModel = exports.DatabaseFunctionGraphModel = exports.ContentPresetModel = exports.BuilderBindingModel = exports.BuildStepModel = exports.BuildModel = void 0;
4
- exports.RegistryGrantModel = exports.RegistryModel = exports.RegistryBindingModel = exports.ProposalsChunkModel = exports.ProposalReviewModel = exports.ProposalReactionModel = exports.ProposalFileViewModel = exports.ProposalModel = exports.ProposalCommentModel = exports.PlatformWebhookEventModel = exports.PlatformWebhookEndpointModel = exports.PlatformResourcesResolvedRequirementModel = exports.PlatformResourcesRequirementsStateModel = exports.PlatformResourcesHealthModel = exports.PlatformResourceUtilizationModel = exports.PlatformResourceUsageSummaryModel = exports.PlatformResourceUsageLogModel = exports.PlatformResourceStatusCheckModel = exports.PlatformResourceObservedStorageModel = exports.PlatformResourceInstallationModel = exports.PlatformResourceEventModel = exports.PlatformResourceDefinitionModel = exports.PlatformResourceDeclaredCapacityModel = exports.PlatformResourceModel = exports.PlatformRepositoryWorkflowModel = exports.PlatformRepositoryRequiredCheckModel = exports.PlatformRepositoryEventModel = exports.PlatformRepositoryModel = exports.PlatformRegistryGrantModel = exports.PlatformRegistryModel = exports.PlatformRegistryBindingModel = exports.PlatformProposalsChunkModel = exports.PlatformProposalReviewModel = exports.PlatformProposalReactionModel = exports.PlatformProposalFileViewModel = exports.PlatformProposalModel = exports.PlatformProposalCommentModel = exports.PlatformNamespaceEventModel = exports.PlatformNamespaceModel = exports.PlatformK8sSpecRuleModel = exports.PlatformK8sResourceKindModel = exports.PlatformInfraStoreModel = exports.PlatformInfraRefModel = exports.PlatformInfraObjectModel = exports.PlatformInfraGetAllTreeNodesRecordModel = exports.PlatformInfraCommitModel = exports.PlatformImageGrantModel = exports.PlatformImageModel = exports.PlatformFunctionInvocationModel = exports.PlatformFunctionInvocationAttemptModel = void 0;
5
- exports.WebhookEventModel = exports.WebhookEndpointModel = exports.ResourcesResolvedRequirementModel = exports.ResourcesRequirementsStateModel = exports.ResourcesHealthModel = exports.ResourceUtilizationModel = exports.ResourceUsageSummaryModel = exports.ResourceUsageLogModel = exports.ResourceStatusCheckModel = exports.ResourceObservedStorageModel = exports.ResourceInstallationModel = exports.ResourceEventModel = exports.ResourceDefinitionModel = exports.ResourceDeclaredCapacityModel = exports.ResourceModel = exports.RepositoryWorkflowModel = exports.RepositoryRequiredCheckModel = exports.RepositoryEventModel = exports.RepositoryModel = void 0;
3
+ exports.PlatformFunctionDeploymentEventModel = exports.PlatformFunctionDeploymentModel = exports.PlatformFunctionDefinitionModel = exports.PlatformFunctionCapabilityBindingModel = exports.PlatformFunctionApiBindingModel = exports.PlatformBuilderBindingModel = exports.PlatformBuildStepModel = exports.PlatformBuildModel = exports.NamespaceEventModel = exports.NamespaceModel = exports.IntegrationProviderModel = exports.InfraStoreModel = exports.InfraRefModel = exports.InfraObjectModel = exports.InfraGetAllTreeNodesRecordModel = exports.InfraCommitModel = exports.ImageGrantModel = exports.ImageModel = exports.GetAllTreeNodesRecordModel = exports.FunctionScheduleModel = exports.FunctionInvocationModel = exports.FunctionInvocationAttemptModel = exports.FunctionGraphStoreModel = exports.FunctionGraphRefModel = exports.FunctionGraphObjectModel = exports.FunctionGraphExecutionOutputModel = exports.FunctionGraphExecutionNodeStateModel = exports.FunctionGraphExecutionModel = exports.FunctionGraphModel = exports.FunctionGraphCommitModel = exports.FunctionExecutionLogModel = exports.FunctionDeploymentEventModel = exports.FunctionDeploymentModel = exports.FunctionDefinitionModel = exports.FunctionCapabilityBindingModel = exports.FunctionApiBindingModel = exports.DbPresetModel = exports.DatabaseGraphStoreModel = exports.DatabaseGraphRefModel = exports.DatabaseGraphObjectModel = exports.DatabaseGraphGetAllTreeNodesRecordModel = exports.DatabaseGraphCommitModel = exports.DatabaseFunctionGraphExecutionOutputModel = exports.DatabaseFunctionGraphExecutionNodeStateModel = exports.DatabaseFunctionGraphExecutionModel = exports.DatabaseFunctionGraphModel = exports.ContentPresetModel = exports.BuilderBindingModel = exports.BuildStepModel = exports.BuildModel = void 0;
4
+ exports.RegistryBindingModel = exports.ProposalsChunkModel = exports.ProposalReviewModel = exports.ProposalReactionModel = exports.ProposalFileViewModel = exports.ProposalModel = exports.ProposalCommentModel = exports.PlatformWebhookEventModel = exports.PlatformWebhookEndpointModel = exports.PlatformResourcesResolvedRequirementModel = exports.PlatformResourcesRequirementsStateModel = exports.PlatformResourcesHealthModel = exports.PlatformResourceUtilizationModel = exports.PlatformResourceUsageSummaryModel = exports.PlatformResourceUsageLogModel = exports.PlatformResourceStatusCheckModel = exports.PlatformResourceObservedStorageModel = exports.PlatformResourceInstallationModel = exports.PlatformResourceEventModel = exports.PlatformResourceDefinitionModel = exports.PlatformResourceDeclaredCapacityModel = exports.PlatformResourceModel = exports.PlatformRepositoryWorkflowModel = exports.PlatformRepositoryRequiredCheckModel = exports.PlatformRepositoryEventModel = exports.PlatformRepositoryModel = exports.PlatformRegistryGrantModel = exports.PlatformRegistryModel = exports.PlatformRegistryBindingModel = exports.PlatformProposalsChunkModel = exports.PlatformProposalReviewModel = exports.PlatformProposalReactionModel = exports.PlatformProposalFileViewModel = exports.PlatformProposalModel = exports.PlatformProposalCommentModel = exports.PlatformNamespaceEventModel = exports.PlatformNamespaceModel = exports.PlatformK8sSpecRuleModel = exports.PlatformK8sResourceKindModel = exports.PlatformInfraStoreModel = exports.PlatformInfraRefModel = exports.PlatformInfraObjectModel = exports.PlatformInfraGetAllTreeNodesRecordModel = exports.PlatformInfraCommitModel = exports.PlatformImageGrantModel = exports.PlatformImageModel = exports.PlatformFunctionScheduleModel = exports.PlatformFunctionInvocationModel = exports.PlatformFunctionInvocationAttemptModel = exports.PlatformFunctionExecutionLogModel = void 0;
5
+ exports.WebhookEventModel = exports.WebhookEndpointModel = exports.ResourcesResolvedRequirementModel = exports.ResourcesRequirementsStateModel = exports.ResourcesHealthModel = exports.ResourceUtilizationModel = exports.ResourceUsageSummaryModel = exports.ResourceUsageLogModel = exports.ResourceStatusCheckModel = exports.ResourceObservedStorageModel = exports.ResourceInstallationModel = exports.ResourceEventModel = exports.ResourceDefinitionModel = exports.ResourceDeclaredCapacityModel = exports.ResourceModel = exports.RepositoryWorkflowModel = exports.RepositoryRequiredCheckModel = exports.RepositoryEventModel = exports.RepositoryModel = exports.RegistryGrantModel = exports.RegistryModel = void 0;
6
6
  /**
7
7
  * Models barrel export
8
8
  * @generated by @constructive-io/graphql-codegen
@@ -68,6 +68,8 @@ var functionInvocationAttempt_1 = require("./functionInvocationAttempt");
68
68
  Object.defineProperty(exports, "FunctionInvocationAttemptModel", { enumerable: true, get: function () { return functionInvocationAttempt_1.FunctionInvocationAttemptModel; } });
69
69
  var functionInvocation_1 = require("./functionInvocation");
70
70
  Object.defineProperty(exports, "FunctionInvocationModel", { enumerable: true, get: function () { return functionInvocation_1.FunctionInvocationModel; } });
71
+ var functionSchedule_1 = require("./functionSchedule");
72
+ Object.defineProperty(exports, "FunctionScheduleModel", { enumerable: true, get: function () { return functionSchedule_1.FunctionScheduleModel; } });
71
73
  var getAllTreeNodesRecord_1 = require("./getAllTreeNodesRecord");
72
74
  Object.defineProperty(exports, "GetAllTreeNodesRecordModel", { enumerable: true, get: function () { return getAllTreeNodesRecord_1.GetAllTreeNodesRecordModel; } });
73
75
  var image_1 = require("./image");
@@ -112,6 +114,8 @@ var platformFunctionInvocationAttempt_1 = require("./platformFunctionInvocationA
112
114
  Object.defineProperty(exports, "PlatformFunctionInvocationAttemptModel", { enumerable: true, get: function () { return platformFunctionInvocationAttempt_1.PlatformFunctionInvocationAttemptModel; } });
113
115
  var platformFunctionInvocation_1 = require("./platformFunctionInvocation");
114
116
  Object.defineProperty(exports, "PlatformFunctionInvocationModel", { enumerable: true, get: function () { return platformFunctionInvocation_1.PlatformFunctionInvocationModel; } });
117
+ var platformFunctionSchedule_1 = require("./platformFunctionSchedule");
118
+ Object.defineProperty(exports, "PlatformFunctionScheduleModel", { enumerable: true, get: function () { return platformFunctionSchedule_1.PlatformFunctionScheduleModel; } });
115
119
  var platformImage_1 = require("./platformImage");
116
120
  Object.defineProperty(exports, "PlatformImageModel", { enumerable: true, get: function () { return platformImage_1.PlatformImageModel; } });
117
121
  var platformImageGrant_1 = require("./platformImageGrant");
@@ -0,0 +1,54 @@
1
+ /**
2
+ * PlatformFunctionSchedule 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 { PlatformFunctionScheduleWithRelations, PlatformFunctionScheduleSelect, PlatformFunctionScheduleFilter, PlatformFunctionScheduleOrderBy, CreatePlatformFunctionScheduleInput, PlatformFunctionSchedulePatch } from '../input-types';
10
+ export declare class PlatformFunctionScheduleModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends PlatformFunctionScheduleSelect>(args: FindManyArgs<S, PlatformFunctionScheduleFilter, PlatformFunctionScheduleOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, PlatformFunctionScheduleSelect>): QueryBuilder<{
16
+ platformFunctionSchedules: ConnectionResult<InferSelectResult<PlatformFunctionScheduleWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends PlatformFunctionScheduleSelect>(args: FindFirstArgs<S, PlatformFunctionScheduleFilter, PlatformFunctionScheduleOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, PlatformFunctionScheduleSelect>): QueryBuilder<{
21
+ platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends PlatformFunctionScheduleSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, PlatformFunctionScheduleSelect>): QueryBuilder<{
27
+ platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S> | null;
28
+ }>;
29
+ create<S extends PlatformFunctionScheduleSelect>(args: CreateArgs<S, CreatePlatformFunctionScheduleInput['platformFunctionSchedule']> & {
30
+ select: S;
31
+ } & StrictSelect<S, PlatformFunctionScheduleSelect>): QueryBuilder<{
32
+ createPlatformFunctionSchedule: {
33
+ platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends PlatformFunctionScheduleSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, PlatformFunctionSchedulePatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, PlatformFunctionScheduleSelect>): QueryBuilder<{
41
+ updatePlatformFunctionSchedule: {
42
+ platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends PlatformFunctionScheduleSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, PlatformFunctionScheduleSelect>): QueryBuilder<{
50
+ deletePlatformFunctionSchedule: {
51
+ platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S>;
52
+ };
53
+ }>;
54
+ }
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PlatformFunctionScheduleModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class PlatformFunctionScheduleModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformFunctionSchedule', 'platformFunctionSchedules', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'PlatformFunctionScheduleFilter', 'PlatformFunctionScheduleOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'PlatformFunctionSchedule',
25
+ fieldName: 'platformFunctionSchedules',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformFunctionSchedule', 'platformFunctionSchedules', args.select, {
32
+ where: args?.where,
33
+ orderBy: args?.orderBy,
34
+ }, 'PlatformFunctionScheduleFilter', 'PlatformFunctionScheduleOrderBy', input_types_1.connectionFieldsMap);
35
+ return new query_builder_1.QueryBuilder({
36
+ client: this.client,
37
+ operation: 'query',
38
+ operationName: 'PlatformFunctionSchedule',
39
+ fieldName: 'platformFunctionSchedule',
40
+ document,
41
+ variables,
42
+ transform: (data) => ({
43
+ platformFunctionSchedule: data.platformFunctionSchedules?.nodes?.[0] ?? null,
44
+ }),
45
+ });
46
+ }
47
+ findOne(args) {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformFunctionSchedule', 'platformFunctionSchedules', args.select, {
49
+ where: {
50
+ id: {
51
+ equalTo: args.id,
52
+ },
53
+ },
54
+ first: 1,
55
+ }, 'PlatformFunctionScheduleFilter', 'PlatformFunctionScheduleOrderBy', input_types_1.connectionFieldsMap);
56
+ return new query_builder_1.QueryBuilder({
57
+ client: this.client,
58
+ operation: 'query',
59
+ operationName: 'PlatformFunctionSchedule',
60
+ fieldName: 'platformFunctionSchedule',
61
+ document,
62
+ variables,
63
+ transform: (data) => ({
64
+ platformFunctionSchedule: data.platformFunctionSchedules?.nodes?.[0] ?? null,
65
+ }),
66
+ });
67
+ }
68
+ create(args) {
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformFunctionSchedule', 'createPlatformFunctionSchedule', 'platformFunctionSchedule', args.select, args.data, 'CreatePlatformFunctionScheduleInput', input_types_1.connectionFieldsMap);
70
+ return new query_builder_1.QueryBuilder({
71
+ client: this.client,
72
+ operation: 'mutation',
73
+ operationName: 'PlatformFunctionSchedule',
74
+ fieldName: 'createPlatformFunctionSchedule',
75
+ document,
76
+ variables,
77
+ });
78
+ }
79
+ update(args) {
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformFunctionSchedule', 'updatePlatformFunctionSchedule', 'platformFunctionSchedule', args.select, args.where.id, args.data, 'UpdatePlatformFunctionScheduleInput', 'id', 'platformFunctionSchedulePatch', input_types_1.connectionFieldsMap, undefined);
81
+ return new query_builder_1.QueryBuilder({
82
+ client: this.client,
83
+ operation: 'mutation',
84
+ operationName: 'PlatformFunctionSchedule',
85
+ fieldName: 'updatePlatformFunctionSchedule',
86
+ document,
87
+ variables,
88
+ });
89
+ }
90
+ delete(args) {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformFunctionSchedule', 'deletePlatformFunctionSchedule', 'platformFunctionSchedule', {
92
+ id: args.where.id,
93
+ }, 'DeletePlatformFunctionScheduleInput', args.select, input_types_1.connectionFieldsMap);
94
+ return new query_builder_1.QueryBuilder({
95
+ client: this.client,
96
+ operation: 'mutation',
97
+ operationName: 'PlatformFunctionSchedule',
98
+ fieldName: 'deletePlatformFunctionSchedule',
99
+ document,
100
+ variables,
101
+ });
102
+ }
103
+ }
104
+ exports.PlatformFunctionScheduleModel = PlatformFunctionScheduleModel;
@@ -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 { AddEdgeInput, AddEdgeAndSaveInput, AddNodeInput, AddNodeAndSaveInput, ApproveNodeInput, CopyGraphInput, DatabaseAddEdgeInput, DatabaseAddEdgeAndSaveInput, DatabaseAddNodeInput, DatabaseAddNodeAndSaveInput, DatabaseApproveNodeInput, DatabaseCopyGraphInput, DatabaseCreateFunctionGraphInput, DatabaseGraphInitEmptyRepoInput, DatabaseGraphInsertNodeAtPathInput, DatabaseGraphInsertNodesAtPathsInput, DatabaseGraphSetAndCommitInput, DatabaseGraphSetDataAtPathInput, DatabaseGraphSetManyAndCommitInput, DatabaseImportDefinitionsInput, DatabaseImportGraphJsonInput, DatabaseSaveGraphInput, DatabaseStartExecutionInput, DatabaseValidateFunctionGraphInput, FunctionInvocationsCreateSyncInput, ImportDefinitionsInput, ImportGraphJsonInput, InfraInitEmptyRepoInput, InfraInsertNodeAtPathInput, InfraInsertNodesAtPathsInput, InfraSetAndCommitInput, InfraSetDataAtPathInput, InfraSetManyAndCommitInput, InitEmptyRepoInput, InsertNodeAtPathInput, InsertNodesAtPathsInput, PlatformFunctionInvocationsCreateSyncInput, PlatformInfraInitEmptyRepoInput, PlatformInfraInsertNodeAtPathInput, PlatformInfraInsertNodesAtPathsInput, PlatformInfraSetAndCommitInput, PlatformInfraSetDataAtPathInput, PlatformInfraSetManyAndCommitInput, PlatformResourceInstallationsInstallInput, PlatformResourceInstallationsRollbackInput, PlatformResourceInstallationsUninstallInput, PlatformResourceInstallationsUpgradeInput, ProvisionBucketInput, ResourceInstallationsInstallInput, ResourceInstallationsRollbackInput, ResourceInstallationsUninstallInput, ResourceInstallationsUpgradeInput, SaveGraphInput, SetAndCommitInput, SetDataAtPathInput, SetManyAndCommitInput, StartExecutionInput, ValidateFunctionGraphInput, AddEdgePayload, AddEdgeAndSavePayload, AddNodePayload, AddNodeAndSavePayload, ApproveNodePayload, CopyGraphPayload, DatabaseAddEdgePayload, DatabaseAddEdgeAndSavePayload, DatabaseAddNodePayload, DatabaseAddNodeAndSavePayload, DatabaseApproveNodePayload, DatabaseCopyGraphPayload, DatabaseCreateFunctionGraphPayload, DatabaseGraphInitEmptyRepoPayload, DatabaseGraphInsertNodeAtPathPayload, DatabaseGraphInsertNodesAtPathsPayload, DatabaseGraphSetAndCommitPayload, DatabaseGraphSetDataAtPathPayload, DatabaseGraphSetManyAndCommitPayload, DatabaseImportDefinitionsPayload, DatabaseImportGraphJsonPayload, DatabaseSaveGraphPayload, DatabaseStartExecutionPayload, DatabaseValidateFunctionGraphPayload, FunctionInvocationsCreateSyncPayload, ImportDefinitionsPayload, ImportGraphJsonPayload, InfraInitEmptyRepoPayload, InfraInsertNodeAtPathPayload, InfraInsertNodesAtPathsPayload, InfraSetAndCommitPayload, InfraSetDataAtPathPayload, InfraSetManyAndCommitPayload, InitEmptyRepoPayload, InsertNodeAtPathPayload, InsertNodesAtPathsPayload, PlatformFunctionInvocationsCreateSyncPayload, PlatformInfraInitEmptyRepoPayload, PlatformInfraInsertNodeAtPathPayload, PlatformInfraInsertNodesAtPathsPayload, PlatformInfraSetAndCommitPayload, PlatformInfraSetDataAtPathPayload, PlatformInfraSetManyAndCommitPayload, PlatformResourceInstallationsInstallPayload, PlatformResourceInstallationsRollbackPayload, PlatformResourceInstallationsUninstallPayload, PlatformResourceInstallationsUpgradePayload, ProvisionBucketPayload, ResourceInstallationsInstallPayload, ResourceInstallationsRollbackPayload, ResourceInstallationsUninstallPayload, ResourceInstallationsUpgradePayload, SaveGraphPayload, SetAndCommitPayload, SetDataAtPathPayload, SetManyAndCommitPayload, StartExecutionPayload, ValidateFunctionGraphPayload, AddEdgePayloadSelect, AddEdgeAndSavePayloadSelect, AddNodePayloadSelect, AddNodeAndSavePayloadSelect, ApproveNodePayloadSelect, CopyGraphPayloadSelect, DatabaseAddEdgePayloadSelect, DatabaseAddEdgeAndSavePayloadSelect, DatabaseAddNodePayloadSelect, DatabaseAddNodeAndSavePayloadSelect, DatabaseApproveNodePayloadSelect, DatabaseCopyGraphPayloadSelect, DatabaseCreateFunctionGraphPayloadSelect, DatabaseGraphInitEmptyRepoPayloadSelect, DatabaseGraphInsertNodeAtPathPayloadSelect, DatabaseGraphInsertNodesAtPathsPayloadSelect, DatabaseGraphSetAndCommitPayloadSelect, DatabaseGraphSetDataAtPathPayloadSelect, DatabaseGraphSetManyAndCommitPayloadSelect, DatabaseImportDefinitionsPayloadSelect, DatabaseImportGraphJsonPayloadSelect, DatabaseSaveGraphPayloadSelect, DatabaseStartExecutionPayloadSelect, DatabaseValidateFunctionGraphPayloadSelect, FunctionInvocationsCreateSyncPayloadSelect, ImportDefinitionsPayloadSelect, ImportGraphJsonPayloadSelect, InfraInitEmptyRepoPayloadSelect, InfraInsertNodeAtPathPayloadSelect, InfraInsertNodesAtPathsPayloadSelect, InfraSetAndCommitPayloadSelect, InfraSetDataAtPathPayloadSelect, InfraSetManyAndCommitPayloadSelect, InitEmptyRepoPayloadSelect, InsertNodeAtPathPayloadSelect, InsertNodesAtPathsPayloadSelect, PlatformFunctionInvocationsCreateSyncPayloadSelect, PlatformInfraInitEmptyRepoPayloadSelect, PlatformInfraInsertNodeAtPathPayloadSelect, PlatformInfraInsertNodesAtPathsPayloadSelect, PlatformInfraSetAndCommitPayloadSelect, PlatformInfraSetDataAtPathPayloadSelect, PlatformInfraSetManyAndCommitPayloadSelect, PlatformResourceInstallationsInstallPayloadSelect, PlatformResourceInstallationsRollbackPayloadSelect, PlatformResourceInstallationsUninstallPayloadSelect, PlatformResourceInstallationsUpgradePayloadSelect, ProvisionBucketPayloadSelect, ResourceInstallationsInstallPayloadSelect, ResourceInstallationsRollbackPayloadSelect, ResourceInstallationsUninstallPayloadSelect, ResourceInstallationsUpgradePayloadSelect, SaveGraphPayloadSelect, SetAndCommitPayloadSelect, SetDataAtPathPayloadSelect, SetManyAndCommitPayloadSelect, StartExecutionPayloadSelect, ValidateFunctionGraphPayloadSelect } from '../input-types';
9
+ import type { AddEdgeInput, AddEdgeAndSaveInput, AddNodeInput, AddNodeAndSaveInput, ApproveNodeInput, CopyGraphInput, DatabaseAddEdgeInput, DatabaseAddEdgeAndSaveInput, DatabaseAddNodeInput, DatabaseAddNodeAndSaveInput, DatabaseApproveNodeInput, DatabaseCopyGraphInput, DatabaseCreateFunctionGraphInput, DatabaseGraphInitEmptyRepoInput, DatabaseGraphInsertNodeAtPathInput, DatabaseGraphInsertNodesAtPathsInput, DatabaseGraphSetAndCommitInput, DatabaseGraphSetDataAtPathInput, DatabaseGraphSetManyAndCommitInput, DatabaseImportDefinitionsInput, DatabaseImportGraphJsonInput, DatabaseSaveGraphInput, DatabaseStartExecutionInput, DatabaseValidateFunctionGraphInput, FunctionExecutionLogsAppendInput, FunctionInvocationsCreateSyncInput, ImportDefinitionsInput, ImportGraphJsonInput, InfraInitEmptyRepoInput, InfraInsertNodeAtPathInput, InfraInsertNodesAtPathsInput, InfraSetAndCommitInput, InfraSetDataAtPathInput, InfraSetManyAndCommitInput, InitEmptyRepoInput, InsertNodeAtPathInput, InsertNodesAtPathsInput, PlatformFunctionExecutionLogsAppendInput, PlatformFunctionInvocationsCreateSyncInput, PlatformInfraInitEmptyRepoInput, PlatformInfraInsertNodeAtPathInput, PlatformInfraInsertNodesAtPathsInput, PlatformInfraSetAndCommitInput, PlatformInfraSetDataAtPathInput, PlatformInfraSetManyAndCommitInput, PlatformResourceInstallationsInstallInput, PlatformResourceInstallationsRollbackInput, PlatformResourceInstallationsUninstallInput, PlatformResourceInstallationsUpgradeInput, ProvisionBucketInput, ResourceInstallationsInstallInput, ResourceInstallationsRollbackInput, ResourceInstallationsUninstallInput, ResourceInstallationsUpgradeInput, SaveGraphInput, SetAndCommitInput, SetDataAtPathInput, SetManyAndCommitInput, StartExecutionInput, ValidateFunctionGraphInput, AddEdgePayload, AddEdgeAndSavePayload, AddNodePayload, AddNodeAndSavePayload, ApproveNodePayload, CopyGraphPayload, DatabaseAddEdgePayload, DatabaseAddEdgeAndSavePayload, DatabaseAddNodePayload, DatabaseAddNodeAndSavePayload, DatabaseApproveNodePayload, DatabaseCopyGraphPayload, DatabaseCreateFunctionGraphPayload, DatabaseGraphInitEmptyRepoPayload, DatabaseGraphInsertNodeAtPathPayload, DatabaseGraphInsertNodesAtPathsPayload, DatabaseGraphSetAndCommitPayload, DatabaseGraphSetDataAtPathPayload, DatabaseGraphSetManyAndCommitPayload, DatabaseImportDefinitionsPayload, DatabaseImportGraphJsonPayload, DatabaseSaveGraphPayload, DatabaseStartExecutionPayload, DatabaseValidateFunctionGraphPayload, FunctionExecutionLogsAppendPayload, FunctionInvocationsCreateSyncPayload, ImportDefinitionsPayload, ImportGraphJsonPayload, InfraInitEmptyRepoPayload, InfraInsertNodeAtPathPayload, InfraInsertNodesAtPathsPayload, InfraSetAndCommitPayload, InfraSetDataAtPathPayload, InfraSetManyAndCommitPayload, InitEmptyRepoPayload, InsertNodeAtPathPayload, InsertNodesAtPathsPayload, PlatformFunctionExecutionLogsAppendPayload, PlatformFunctionInvocationsCreateSyncPayload, PlatformInfraInitEmptyRepoPayload, PlatformInfraInsertNodeAtPathPayload, PlatformInfraInsertNodesAtPathsPayload, PlatformInfraSetAndCommitPayload, PlatformInfraSetDataAtPathPayload, PlatformInfraSetManyAndCommitPayload, PlatformResourceInstallationsInstallPayload, PlatformResourceInstallationsRollbackPayload, PlatformResourceInstallationsUninstallPayload, PlatformResourceInstallationsUpgradePayload, ProvisionBucketPayload, ResourceInstallationsInstallPayload, ResourceInstallationsRollbackPayload, ResourceInstallationsUninstallPayload, ResourceInstallationsUpgradePayload, SaveGraphPayload, SetAndCommitPayload, SetDataAtPathPayload, SetManyAndCommitPayload, StartExecutionPayload, ValidateFunctionGraphPayload, AddEdgePayloadSelect, AddEdgeAndSavePayloadSelect, AddNodePayloadSelect, AddNodeAndSavePayloadSelect, ApproveNodePayloadSelect, CopyGraphPayloadSelect, DatabaseAddEdgePayloadSelect, DatabaseAddEdgeAndSavePayloadSelect, DatabaseAddNodePayloadSelect, DatabaseAddNodeAndSavePayloadSelect, DatabaseApproveNodePayloadSelect, DatabaseCopyGraphPayloadSelect, DatabaseCreateFunctionGraphPayloadSelect, DatabaseGraphInitEmptyRepoPayloadSelect, DatabaseGraphInsertNodeAtPathPayloadSelect, DatabaseGraphInsertNodesAtPathsPayloadSelect, DatabaseGraphSetAndCommitPayloadSelect, DatabaseGraphSetDataAtPathPayloadSelect, DatabaseGraphSetManyAndCommitPayloadSelect, DatabaseImportDefinitionsPayloadSelect, DatabaseImportGraphJsonPayloadSelect, DatabaseSaveGraphPayloadSelect, DatabaseStartExecutionPayloadSelect, DatabaseValidateFunctionGraphPayloadSelect, FunctionExecutionLogsAppendPayloadSelect, FunctionInvocationsCreateSyncPayloadSelect, ImportDefinitionsPayloadSelect, ImportGraphJsonPayloadSelect, InfraInitEmptyRepoPayloadSelect, InfraInsertNodeAtPathPayloadSelect, InfraInsertNodesAtPathsPayloadSelect, InfraSetAndCommitPayloadSelect, InfraSetDataAtPathPayloadSelect, InfraSetManyAndCommitPayloadSelect, InitEmptyRepoPayloadSelect, InsertNodeAtPathPayloadSelect, InsertNodesAtPathsPayloadSelect, PlatformFunctionExecutionLogsAppendPayloadSelect, PlatformFunctionInvocationsCreateSyncPayloadSelect, PlatformInfraInitEmptyRepoPayloadSelect, PlatformInfraInsertNodeAtPathPayloadSelect, PlatformInfraInsertNodesAtPathsPayloadSelect, PlatformInfraSetAndCommitPayloadSelect, PlatformInfraSetDataAtPathPayloadSelect, PlatformInfraSetManyAndCommitPayloadSelect, PlatformResourceInstallationsInstallPayloadSelect, PlatformResourceInstallationsRollbackPayloadSelect, PlatformResourceInstallationsUninstallPayloadSelect, PlatformResourceInstallationsUpgradePayloadSelect, ProvisionBucketPayloadSelect, ResourceInstallationsInstallPayloadSelect, ResourceInstallationsRollbackPayloadSelect, ResourceInstallationsUninstallPayloadSelect, ResourceInstallationsUpgradePayloadSelect, SaveGraphPayloadSelect, SetAndCommitPayloadSelect, SetDataAtPathPayloadSelect, SetManyAndCommitPayloadSelect, StartExecutionPayloadSelect, ValidateFunctionGraphPayloadSelect } from '../input-types';
10
10
  export interface AddEdgeVariables {
11
11
  input: AddEdgeInput;
12
12
  }
@@ -79,6 +79,9 @@ export interface DatabaseStartExecutionVariables {
79
79
  export interface DatabaseValidateFunctionGraphVariables {
80
80
  input: DatabaseValidateFunctionGraphInput;
81
81
  }
82
+ export interface FunctionExecutionLogsAppendVariables {
83
+ input: FunctionExecutionLogsAppendInput;
84
+ }
82
85
  export interface FunctionInvocationsCreateSyncVariables {
83
86
  input: FunctionInvocationsCreateSyncInput;
84
87
  }
@@ -115,6 +118,9 @@ export interface InsertNodeAtPathVariables {
115
118
  export interface InsertNodesAtPathsVariables {
116
119
  input: InsertNodesAtPathsInput;
117
120
  }
121
+ export interface PlatformFunctionExecutionLogsAppendVariables {
122
+ input: PlatformFunctionExecutionLogsAppendInput;
123
+ }
118
124
  export interface PlatformFunctionInvocationsCreateSyncVariables {
119
125
  input: PlatformFunctionInvocationsCreateSyncInput;
120
126
  }
@@ -310,6 +316,11 @@ export declare function createMutationOperations(client: OrmClient): {
310
316
  } & StrictSelect<S, DatabaseValidateFunctionGraphPayloadSelect>) => QueryBuilder<{
311
317
  databaseValidateFunctionGraph: InferSelectResult<DatabaseValidateFunctionGraphPayload, S> | null;
312
318
  }>;
319
+ functionExecutionLogsAppend: <S extends FunctionExecutionLogsAppendPayloadSelect>(args: FunctionExecutionLogsAppendVariables, options: {
320
+ select: S;
321
+ } & StrictSelect<S, FunctionExecutionLogsAppendPayloadSelect>) => QueryBuilder<{
322
+ functionExecutionLogsAppend: InferSelectResult<FunctionExecutionLogsAppendPayload, S> | null;
323
+ }>;
313
324
  functionInvocationsCreateSync: <S extends FunctionInvocationsCreateSyncPayloadSelect>(args: FunctionInvocationsCreateSyncVariables, options: {
314
325
  select: S;
315
326
  } & StrictSelect<S, FunctionInvocationsCreateSyncPayloadSelect>) => QueryBuilder<{
@@ -370,6 +381,11 @@ export declare function createMutationOperations(client: OrmClient): {
370
381
  } & StrictSelect<S, InsertNodesAtPathsPayloadSelect>) => QueryBuilder<{
371
382
  insertNodesAtPaths: InferSelectResult<InsertNodesAtPathsPayload, S> | null;
372
383
  }>;
384
+ platformFunctionExecutionLogsAppend: <S extends PlatformFunctionExecutionLogsAppendPayloadSelect>(args: PlatformFunctionExecutionLogsAppendVariables, options: {
385
+ select: S;
386
+ } & StrictSelect<S, PlatformFunctionExecutionLogsAppendPayloadSelect>) => QueryBuilder<{
387
+ platformFunctionExecutionLogsAppend: InferSelectResult<PlatformFunctionExecutionLogsAppendPayload, S> | null;
388
+ }>;
373
389
  platformFunctionInvocationsCreateSync: <S extends PlatformFunctionInvocationsCreateSyncPayloadSelect>(args: PlatformFunctionInvocationsCreateSyncVariables, options: {
374
390
  select: S;
375
391
  } & StrictSelect<S, PlatformFunctionInvocationsCreateSyncPayloadSelect>) => QueryBuilder<{
@@ -293,6 +293,18 @@ function createMutationOperations(client) {
293
293
  },
294
294
  ], input_types_1.connectionFieldsMap, 'DatabaseValidateFunctionGraphPayload'),
295
295
  }),
296
+ functionExecutionLogsAppend: (args, options) => new query_builder_1.QueryBuilder({
297
+ client,
298
+ operation: 'mutation',
299
+ operationName: 'FunctionExecutionLogsAppend',
300
+ fieldName: 'functionExecutionLogsAppend',
301
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'FunctionExecutionLogsAppend', 'functionExecutionLogsAppend', options.select, args, [
302
+ {
303
+ name: 'input',
304
+ type: 'FunctionExecutionLogsAppendInput!',
305
+ },
306
+ ], input_types_1.connectionFieldsMap, 'FunctionExecutionLogsAppendPayload'),
307
+ }),
296
308
  functionInvocationsCreateSync: (args, options) => new query_builder_1.QueryBuilder({
297
309
  client,
298
310
  operation: 'mutation',
@@ -437,6 +449,18 @@ function createMutationOperations(client) {
437
449
  },
438
450
  ], input_types_1.connectionFieldsMap, 'InsertNodesAtPathsPayload'),
439
451
  }),
452
+ platformFunctionExecutionLogsAppend: (args, options) => new query_builder_1.QueryBuilder({
453
+ client,
454
+ operation: 'mutation',
455
+ operationName: 'PlatformFunctionExecutionLogsAppend',
456
+ fieldName: 'platformFunctionExecutionLogsAppend',
457
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformFunctionExecutionLogsAppend', 'platformFunctionExecutionLogsAppend', options.select, args, [
458
+ {
459
+ name: 'input',
460
+ type: 'PlatformFunctionExecutionLogsAppendInput!',
461
+ },
462
+ ], input_types_1.connectionFieldsMap, 'PlatformFunctionExecutionLogsAppendPayload'),
463
+ }),
440
464
  platformFunctionInvocationsCreateSync: (args, options) => new query_builder_1.QueryBuilder({
441
465
  client,
442
466
  operation: 'mutation',
@@ -453,7 +453,7 @@ export interface AgentRun {
453
453
  databaseId?: string | null;
454
454
  /** When a supervisor should consider this run abandoned */
455
455
  deadlineAt?: string | null;
456
- /** Entity billed for this run: an org the actor invoked on behalf of, or the actor themselves */
456
+ /** Entity billed for this run: the database it executes in (rolls up to the database owner) */
457
457
  entityId?: string | null;
458
458
  /** Failure reason when status is failed */
459
459
  error?: string | null;
@@ -804,7 +804,7 @@ export interface PlatformAgentRun {
804
804
  databaseId?: string | null;
805
805
  /** When a supervisor should consider this run abandoned */
806
806
  deadlineAt?: string | null;
807
- /** Entity billed for this run: an org the actor invoked on behalf of, or the actor themselves */
807
+ /** Entity billed for this run: the database it executes in (rolls up to the database owner) */
808
808
  entityId?: string | null;
809
809
  /** Failure reason when status is failed */
810
810
  error?: string | null;
@@ -4423,7 +4423,7 @@ export interface AgentRunInput {
4423
4423
  createdAt?: string;
4424
4424
  /** When a supervisor should consider this run abandoned */
4425
4425
  deadlineAt?: string;
4426
- /** Entity billed for this run: an org the actor invoked on behalf of, or the actor themselves */
4426
+ /** Entity billed for this run: the database it executes in (rolls up to the database owner) */
4427
4427
  entityId?: string;
4428
4428
  /** Failure reason when status is failed */
4429
4429
  error?: string;
@@ -4739,7 +4739,7 @@ export interface PlatformAgentRunInput {
4739
4739
  databaseId?: string;
4740
4740
  /** When a supervisor should consider this run abandoned */
4741
4741
  deadlineAt?: string;
4742
- /** Entity billed for this run: an org the actor invoked on behalf of, or the actor themselves */
4742
+ /** Entity billed for this run: the database it executes in (rolls up to the database owner) */
4743
4743
  entityId?: string;
4744
4744
  /** Failure reason when status is failed */
4745
4745
  error?: string;
@@ -31,6 +31,7 @@ import { GetSitePreviewsRecordModel } from './models/getSitePreviewsRecord';
31
31
  import { HostnameBindingModel } from './models/hostnameBinding';
32
32
  import { IdentityProviderRegistryModel } from './models/identityProviderRegistry';
33
33
  import { IndexModel } from './models/index';
34
+ import { ListSuspendedDatabasesRecordModel } from './models/listSuspendedDatabasesRecord';
34
35
  import { ManagedDomainModel } from './models/managedDomain';
35
36
  import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
36
37
  import { PageModel } from './models/page';
@@ -153,6 +154,7 @@ export declare function createClient(config: OrmClientConfig): {
153
154
  hostnameBinding: HostnameBindingModel;
154
155
  identityProviderRegistry: IdentityProviderRegistryModel;
155
156
  index: IndexModel;
157
+ listSuspendedDatabasesRecord: ListSuspendedDatabasesRecordModel;
156
158
  managedDomain: ManagedDomainModel;
157
159
  nodeTypeRegistry: NodeTypeRegistryModel;
158
160
  page: PageModel;
@@ -36,6 +36,7 @@ import { GetSitePreviewsRecordModel } from './models/getSitePreviewsRecord';
36
36
  import { HostnameBindingModel } from './models/hostnameBinding';
37
37
  import { IdentityProviderRegistryModel } from './models/identityProviderRegistry';
38
38
  import { IndexModel } from './models/index';
39
+ import { ListSuspendedDatabasesRecordModel } from './models/listSuspendedDatabasesRecord';
39
40
  import { ManagedDomainModel } from './models/managedDomain';
40
41
  import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
41
42
  import { PageModel } from './models/page';
@@ -161,6 +162,7 @@ export function createClient(config) {
161
162
  hostnameBinding: new HostnameBindingModel(client),
162
163
  identityProviderRegistry: new IdentityProviderRegistryModel(client),
163
164
  index: new IndexModel(client),
165
+ listSuspendedDatabasesRecord: new ListSuspendedDatabasesRecordModel(client),
164
166
  managedDomain: new ManagedDomainModel(client),
165
167
  nodeTypeRegistry: new NodeTypeRegistryModel(client),
166
168
  page: new PageModel(client),