@constructive-sdk/cli 1.20.7 → 1.20.8

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 (109) hide show
  1. package/agent/orm/input-types.d.ts +4 -4
  2. package/api/cli/commands/email-provider-account.js +0 -22
  3. package/api/cli/commands/list-suspended-databases-record.d.ts +8 -0
  4. package/api/cli/commands/list-suspended-databases-record.js +152 -0
  5. package/api/cli/commands/platform-email-provider-account.js +0 -22
  6. package/api/cli/commands.js +3 -1
  7. package/api/cli/executor.d.ts +1 -0
  8. package/api/orm/index.d.ts +2 -0
  9. package/api/orm/index.js +2 -0
  10. package/api/orm/input-types.d.ts +60 -30
  11. package/api/orm/models/index.d.ts +1 -0
  12. package/api/orm/models/index.js +4 -2
  13. package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
  14. package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
  15. package/auth/cli/commands/{provision-new-user.d.ts → request-magic-link.d.ts} +1 -1
  16. package/auth/cli/commands/{provision-new-user.js → request-magic-link.js} +3 -3
  17. package/auth/cli/commands/send-mfa-challenge-code.d.ts +8 -0
  18. package/auth/cli/commands/send-mfa-challenge-code.js +36 -0
  19. package/{esm/auth/cli/commands/provision-new-user.d.ts → auth/cli/commands/send-sms-otp.d.ts} +1 -1
  20. package/auth/cli/commands/send-sms-otp.js +36 -0
  21. package/auth/cli/commands.js +7 -3
  22. package/auth/cli/executor.d.ts +15 -5
  23. package/auth/orm/index.d.ts +15 -5
  24. package/auth/orm/input-types.d.ts +44 -14
  25. package/auth/orm/mutation/index.d.ts +25 -9
  26. package/auth/orm/mutation/index.js +36 -12
  27. package/compute/cli/commands/function-execution-logs-append.d.ts +8 -0
  28. package/compute/cli/commands/function-execution-logs-append.js +36 -0
  29. package/compute/cli/commands/function-schedule.d.ts +8 -0
  30. package/compute/cli/commands/function-schedule.js +434 -0
  31. package/compute/cli/commands/platform-function-execution-logs-append.d.ts +8 -0
  32. package/compute/cli/commands/platform-function-execution-logs-append.js +36 -0
  33. package/compute/cli/commands/platform-function-schedule.d.ts +8 -0
  34. package/compute/cli/commands/platform-function-schedule.js +414 -0
  35. package/compute/cli/commands.js +9 -1
  36. package/compute/cli/executor.d.ts +12 -0
  37. package/compute/orm/index.d.ts +14 -0
  38. package/compute/orm/index.js +4 -0
  39. package/compute/orm/input-types.d.ts +553 -4
  40. package/compute/orm/input-types.js +2 -0
  41. package/compute/orm/models/functionSchedule.d.ts +54 -0
  42. package/compute/orm/models/functionSchedule.js +104 -0
  43. package/compute/orm/models/index.d.ts +2 -0
  44. package/compute/orm/models/index.js +7 -3
  45. package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
  46. package/compute/orm/models/platformFunctionSchedule.js +104 -0
  47. package/compute/orm/mutation/index.d.ts +17 -1
  48. package/compute/orm/mutation/index.js +24 -0
  49. package/esm/agent/orm/input-types.d.ts +4 -4
  50. package/esm/api/cli/commands/email-provider-account.js +0 -22
  51. package/esm/api/cli/commands/list-suspended-databases-record.d.ts +8 -0
  52. package/esm/api/cli/commands/list-suspended-databases-record.js +150 -0
  53. package/esm/api/cli/commands/platform-email-provider-account.js +0 -22
  54. package/esm/api/cli/commands.js +3 -1
  55. package/esm/api/cli/executor.d.ts +1 -0
  56. package/esm/api/orm/index.d.ts +2 -0
  57. package/esm/api/orm/index.js +2 -0
  58. package/esm/api/orm/input-types.d.ts +60 -30
  59. package/esm/api/orm/models/index.d.ts +1 -0
  60. package/esm/api/orm/models/index.js +1 -0
  61. package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
  62. package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
  63. package/esm/auth/cli/commands/request-magic-link.d.ts +8 -0
  64. package/esm/auth/cli/commands/{provision-new-user.js → request-magic-link.js} +3 -3
  65. package/esm/auth/cli/commands/send-mfa-challenge-code.d.ts +8 -0
  66. package/esm/auth/cli/commands/send-mfa-challenge-code.js +34 -0
  67. package/esm/auth/cli/commands/send-sms-otp.d.ts +8 -0
  68. package/esm/auth/cli/commands/send-sms-otp.js +34 -0
  69. package/esm/auth/cli/commands.js +7 -3
  70. package/esm/auth/cli/executor.d.ts +15 -5
  71. package/esm/auth/orm/index.d.ts +15 -5
  72. package/esm/auth/orm/input-types.d.ts +44 -14
  73. package/esm/auth/orm/mutation/index.d.ts +25 -9
  74. package/esm/auth/orm/mutation/index.js +36 -12
  75. package/esm/compute/cli/commands/function-execution-logs-append.d.ts +8 -0
  76. package/esm/compute/cli/commands/function-execution-logs-append.js +34 -0
  77. package/esm/compute/cli/commands/function-schedule.d.ts +8 -0
  78. package/esm/compute/cli/commands/function-schedule.js +432 -0
  79. package/esm/compute/cli/commands/platform-function-execution-logs-append.d.ts +8 -0
  80. package/esm/compute/cli/commands/platform-function-execution-logs-append.js +34 -0
  81. package/esm/compute/cli/commands/platform-function-schedule.d.ts +8 -0
  82. package/esm/compute/cli/commands/platform-function-schedule.js +412 -0
  83. package/esm/compute/cli/commands.js +9 -1
  84. package/esm/compute/cli/executor.d.ts +12 -0
  85. package/esm/compute/orm/index.d.ts +14 -0
  86. package/esm/compute/orm/index.js +4 -0
  87. package/esm/compute/orm/input-types.d.ts +553 -4
  88. package/esm/compute/orm/input-types.js +2 -0
  89. package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
  90. package/esm/compute/orm/models/functionSchedule.js +100 -0
  91. package/esm/compute/orm/models/index.d.ts +2 -0
  92. package/esm/compute/orm/models/index.js +2 -0
  93. package/esm/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
  94. package/esm/compute/orm/models/platformFunctionSchedule.js +100 -0
  95. package/esm/compute/orm/mutation/index.d.ts +17 -1
  96. package/esm/compute/orm/mutation/index.js +24 -0
  97. package/esm/modules/cli/commands/billing-provider-module.js +66 -0
  98. package/esm/modules/cli/commands/entity-type-provision.js +0 -88
  99. package/esm/modules/cli/commands/plans-module.js +0 -22
  100. package/esm/modules/orm/input-types.d.ts +26 -48
  101. package/esm/remote/cli/commands/machine.js +22 -0
  102. package/esm/remote/orm/input-types.d.ts +13 -1
  103. package/modules/cli/commands/billing-provider-module.js +66 -0
  104. package/modules/cli/commands/entity-type-provision.js +0 -88
  105. package/modules/cli/commands/plans-module.js +0 -22
  106. package/modules/orm/input-types.d.ts +26 -48
  107. package/package.json +2 -2
  108. package/remote/cli/commands/machine.js +22 -0
  109. 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;
@@ -7,7 +7,6 @@ import { extractFirst } from 'inquirerer';
7
7
  import { getClient } from '../executor';
8
8
  import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../utils';
9
9
  const fieldSchema = {
10
- apiBaseUrl: 'string',
11
10
  createdAt: 'string',
12
11
  credentialsSecretName: 'string',
13
12
  databaseId: 'uuid',
@@ -66,7 +65,6 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
66
65
  async function handleList(argv, _prompter) {
67
66
  try {
68
67
  const defaultSelect = {
69
- apiBaseUrl: true,
70
68
  createdAt: true,
71
69
  credentialsSecretName: true,
72
70
  databaseId: true,
@@ -99,7 +97,6 @@ async function handleList(argv, _prompter) {
99
97
  async function handleFindFirst(argv, _prompter) {
100
98
  try {
101
99
  const defaultSelect = {
102
- apiBaseUrl: true,
103
100
  createdAt: true,
104
101
  credentialsSecretName: true,
105
102
  databaseId: true,
@@ -144,7 +141,6 @@ async function handleGet(argv, prompter) {
144
141
  .findOne({
145
142
  id: answers.id,
146
143
  select: {
147
- apiBaseUrl: true,
148
144
  createdAt: true,
149
145
  credentialsSecretName: true,
150
146
  databaseId: true,
@@ -176,13 +172,6 @@ async function handleGet(argv, prompter) {
176
172
  async function handleCreate(argv, prompter) {
177
173
  try {
178
174
  const rawAnswers = await prompter.prompt(argv, [
179
- {
180
- type: 'text',
181
- name: 'apiBaseUrl',
182
- message: 'apiBaseUrl',
183
- required: false,
184
- skipPrompt: true,
185
- },
186
175
  {
187
176
  type: 'text',
188
177
  name: 'credentialsSecretName',
@@ -270,7 +259,6 @@ async function handleCreate(argv, prompter) {
270
259
  const result = await client.emailProviderAccount
271
260
  .create({
272
261
  data: {
273
- apiBaseUrl: cleanedData.apiBaseUrl,
274
262
  credentialsSecretName: cleanedData.credentialsSecretName,
275
263
  databaseId: cleanedData.databaseId,
276
264
  isActive: cleanedData.isActive,
@@ -285,7 +273,6 @@ async function handleCreate(argv, prompter) {
285
273
  webhookSigningSecretName: cleanedData.webhookSigningSecretName,
286
274
  },
287
275
  select: {
288
- apiBaseUrl: true,
289
276
  createdAt: true,
290
277
  credentialsSecretName: true,
291
278
  databaseId: true,
@@ -323,13 +310,6 @@ async function handleUpdate(argv, prompter) {
323
310
  message: 'id',
324
311
  required: true,
325
312
  },
326
- {
327
- type: 'text',
328
- name: 'apiBaseUrl',
329
- message: 'apiBaseUrl',
330
- required: false,
331
- skipPrompt: true,
332
- },
333
313
  {
334
314
  type: 'text',
335
315
  name: 'credentialsSecretName',
@@ -420,7 +400,6 @@ async function handleUpdate(argv, prompter) {
420
400
  id: answers.id,
421
401
  },
422
402
  data: {
423
- apiBaseUrl: cleanedData.apiBaseUrl,
424
403
  credentialsSecretName: cleanedData.credentialsSecretName,
425
404
  databaseId: cleanedData.databaseId,
426
405
  isActive: cleanedData.isActive,
@@ -435,7 +414,6 @@ async function handleUpdate(argv, prompter) {
435
414
  webhookSigningSecretName: cleanedData.webhookSigningSecretName,
436
415
  },
437
416
  select: {
438
- apiBaseUrl: true,
439
417
  createdAt: true,
440
418
  credentialsSecretName: true,
441
419
  databaseId: true,
@@ -0,0 +1,8 @@
1
+ /**
2
+ * CLI commands for ListSuspendedDatabasesRecord
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { CLIOptions, Inquirerer } from 'inquirerer';
7
+ declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
8
+ export default _default;