@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
@@ -11,6 +11,7 @@ export const connectionFieldsMap = {
11
11
  FunctionDefinition: {
12
12
  functionApiBindings: 'FunctionApiBinding',
13
13
  functionCapabilityBindingsByFunctionId: 'FunctionCapabilityBinding',
14
+ functionSchedules: 'FunctionSchedule',
14
15
  webhookEndpoints: 'WebhookEndpoint',
15
16
  },
16
17
  FunctionGraph: {
@@ -36,6 +37,7 @@ export const connectionFieldsMap = {
36
37
  PlatformFunctionDefinition: {
37
38
  platformFunctionApiBindingsByFunctionDefinitionId: 'PlatformFunctionApiBinding',
38
39
  platformFunctionCapabilityBindingsByFunctionId: 'PlatformFunctionCapabilityBinding',
40
+ platformFunctionSchedulesByFunctionDefinitionId: 'PlatformFunctionSchedule',
39
41
  platformWebhookEndpointsByFunctionDefinitionId: 'PlatformWebhookEndpoint',
40
42
  },
41
43
  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,100 @@
1
+ import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
2
+ import { connectionFieldsMap } from '../input-types';
3
+ export class FunctionScheduleModel {
4
+ client;
5
+ constructor(client) {
6
+ this.client = client;
7
+ }
8
+ findMany(args) {
9
+ const { document, variables } = buildFindManyDocument('FunctionSchedule', 'functionSchedules', args.select, {
10
+ where: args?.where,
11
+ orderBy: args?.orderBy,
12
+ first: args?.first,
13
+ last: args?.last,
14
+ after: args?.after,
15
+ before: args?.before,
16
+ offset: args?.offset,
17
+ }, 'FunctionScheduleFilter', 'FunctionScheduleOrderBy', connectionFieldsMap);
18
+ return new QueryBuilder({
19
+ client: this.client,
20
+ operation: 'query',
21
+ operationName: 'FunctionSchedule',
22
+ fieldName: 'functionSchedules',
23
+ document,
24
+ variables,
25
+ });
26
+ }
27
+ findFirst(args) {
28
+ const { document, variables } = buildFindFirstDocument('FunctionSchedule', 'functionSchedules', args.select, {
29
+ where: args?.where,
30
+ orderBy: args?.orderBy,
31
+ }, 'FunctionScheduleFilter', 'FunctionScheduleOrderBy', connectionFieldsMap);
32
+ return new QueryBuilder({
33
+ client: this.client,
34
+ operation: 'query',
35
+ operationName: 'FunctionSchedule',
36
+ fieldName: 'functionSchedule',
37
+ document,
38
+ variables,
39
+ transform: (data) => ({
40
+ functionSchedule: data.functionSchedules?.nodes?.[0] ?? null,
41
+ }),
42
+ });
43
+ }
44
+ findOne(args) {
45
+ const { document, variables } = buildFindManyDocument('FunctionSchedule', 'functionSchedules', args.select, {
46
+ where: {
47
+ id: {
48
+ equalTo: args.id,
49
+ },
50
+ },
51
+ first: 1,
52
+ }, 'FunctionScheduleFilter', 'FunctionScheduleOrderBy', connectionFieldsMap);
53
+ return new QueryBuilder({
54
+ client: this.client,
55
+ operation: 'query',
56
+ operationName: 'FunctionSchedule',
57
+ fieldName: 'functionSchedule',
58
+ document,
59
+ variables,
60
+ transform: (data) => ({
61
+ functionSchedule: data.functionSchedules?.nodes?.[0] ?? null,
62
+ }),
63
+ });
64
+ }
65
+ create(args) {
66
+ const { document, variables } = buildCreateDocument('FunctionSchedule', 'createFunctionSchedule', 'functionSchedule', args.select, args.data, 'CreateFunctionScheduleInput', connectionFieldsMap);
67
+ return new QueryBuilder({
68
+ client: this.client,
69
+ operation: 'mutation',
70
+ operationName: 'FunctionSchedule',
71
+ fieldName: 'createFunctionSchedule',
72
+ document,
73
+ variables,
74
+ });
75
+ }
76
+ update(args) {
77
+ const { document, variables } = buildUpdateByPkDocument('FunctionSchedule', 'updateFunctionSchedule', 'functionSchedule', args.select, args.where.id, args.data, 'UpdateFunctionScheduleInput', 'id', 'functionSchedulePatch', connectionFieldsMap, undefined);
78
+ return new QueryBuilder({
79
+ client: this.client,
80
+ operation: 'mutation',
81
+ operationName: 'FunctionSchedule',
82
+ fieldName: 'updateFunctionSchedule',
83
+ document,
84
+ variables,
85
+ });
86
+ }
87
+ delete(args) {
88
+ const { document, variables } = buildDeleteByPkDocument('FunctionSchedule', 'deleteFunctionSchedule', 'functionSchedule', {
89
+ id: args.where.id,
90
+ }, 'DeleteFunctionScheduleInput', args.select, connectionFieldsMap);
91
+ return new QueryBuilder({
92
+ client: this.client,
93
+ operation: 'mutation',
94
+ operationName: 'FunctionSchedule',
95
+ fieldName: 'deleteFunctionSchedule',
96
+ document,
97
+ variables,
98
+ });
99
+ }
100
+ }
@@ -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';
@@ -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';
@@ -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,100 @@
1
+ import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
2
+ import { connectionFieldsMap } from '../input-types';
3
+ export class PlatformFunctionScheduleModel {
4
+ client;
5
+ constructor(client) {
6
+ this.client = client;
7
+ }
8
+ findMany(args) {
9
+ const { document, variables } = buildFindManyDocument('PlatformFunctionSchedule', 'platformFunctionSchedules', args.select, {
10
+ where: args?.where,
11
+ orderBy: args?.orderBy,
12
+ first: args?.first,
13
+ last: args?.last,
14
+ after: args?.after,
15
+ before: args?.before,
16
+ offset: args?.offset,
17
+ }, 'PlatformFunctionScheduleFilter', 'PlatformFunctionScheduleOrderBy', connectionFieldsMap);
18
+ return new QueryBuilder({
19
+ client: this.client,
20
+ operation: 'query',
21
+ operationName: 'PlatformFunctionSchedule',
22
+ fieldName: 'platformFunctionSchedules',
23
+ document,
24
+ variables,
25
+ });
26
+ }
27
+ findFirst(args) {
28
+ const { document, variables } = buildFindFirstDocument('PlatformFunctionSchedule', 'platformFunctionSchedules', args.select, {
29
+ where: args?.where,
30
+ orderBy: args?.orderBy,
31
+ }, 'PlatformFunctionScheduleFilter', 'PlatformFunctionScheduleOrderBy', connectionFieldsMap);
32
+ return new QueryBuilder({
33
+ client: this.client,
34
+ operation: 'query',
35
+ operationName: 'PlatformFunctionSchedule',
36
+ fieldName: 'platformFunctionSchedule',
37
+ document,
38
+ variables,
39
+ transform: (data) => ({
40
+ platformFunctionSchedule: data.platformFunctionSchedules?.nodes?.[0] ?? null,
41
+ }),
42
+ });
43
+ }
44
+ findOne(args) {
45
+ const { document, variables } = buildFindManyDocument('PlatformFunctionSchedule', 'platformFunctionSchedules', args.select, {
46
+ where: {
47
+ id: {
48
+ equalTo: args.id,
49
+ },
50
+ },
51
+ first: 1,
52
+ }, 'PlatformFunctionScheduleFilter', 'PlatformFunctionScheduleOrderBy', connectionFieldsMap);
53
+ return new QueryBuilder({
54
+ client: this.client,
55
+ operation: 'query',
56
+ operationName: 'PlatformFunctionSchedule',
57
+ fieldName: 'platformFunctionSchedule',
58
+ document,
59
+ variables,
60
+ transform: (data) => ({
61
+ platformFunctionSchedule: data.platformFunctionSchedules?.nodes?.[0] ?? null,
62
+ }),
63
+ });
64
+ }
65
+ create(args) {
66
+ const { document, variables } = buildCreateDocument('PlatformFunctionSchedule', 'createPlatformFunctionSchedule', 'platformFunctionSchedule', args.select, args.data, 'CreatePlatformFunctionScheduleInput', connectionFieldsMap);
67
+ return new QueryBuilder({
68
+ client: this.client,
69
+ operation: 'mutation',
70
+ operationName: 'PlatformFunctionSchedule',
71
+ fieldName: 'createPlatformFunctionSchedule',
72
+ document,
73
+ variables,
74
+ });
75
+ }
76
+ update(args) {
77
+ const { document, variables } = buildUpdateByPkDocument('PlatformFunctionSchedule', 'updatePlatformFunctionSchedule', 'platformFunctionSchedule', args.select, args.where.id, args.data, 'UpdatePlatformFunctionScheduleInput', 'id', 'platformFunctionSchedulePatch', connectionFieldsMap, undefined);
78
+ return new QueryBuilder({
79
+ client: this.client,
80
+ operation: 'mutation',
81
+ operationName: 'PlatformFunctionSchedule',
82
+ fieldName: 'updatePlatformFunctionSchedule',
83
+ document,
84
+ variables,
85
+ });
86
+ }
87
+ delete(args) {
88
+ const { document, variables } = buildDeleteByPkDocument('PlatformFunctionSchedule', 'deletePlatformFunctionSchedule', 'platformFunctionSchedule', {
89
+ id: args.where.id,
90
+ }, 'DeletePlatformFunctionScheduleInput', args.select, connectionFieldsMap);
91
+ return new QueryBuilder({
92
+ client: this.client,
93
+ operation: 'mutation',
94
+ operationName: 'PlatformFunctionSchedule',
95
+ fieldName: 'deletePlatformFunctionSchedule',
96
+ document,
97
+ variables,
98
+ });
99
+ }
100
+ }
@@ -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<{
@@ -290,6 +290,18 @@ export function createMutationOperations(client) {
290
290
  },
291
291
  ], connectionFieldsMap, 'DatabaseValidateFunctionGraphPayload'),
292
292
  }),
293
+ functionExecutionLogsAppend: (args, options) => new QueryBuilder({
294
+ client,
295
+ operation: 'mutation',
296
+ operationName: 'FunctionExecutionLogsAppend',
297
+ fieldName: 'functionExecutionLogsAppend',
298
+ ...buildCustomDocument('mutation', 'FunctionExecutionLogsAppend', 'functionExecutionLogsAppend', options.select, args, [
299
+ {
300
+ name: 'input',
301
+ type: 'FunctionExecutionLogsAppendInput!',
302
+ },
303
+ ], connectionFieldsMap, 'FunctionExecutionLogsAppendPayload'),
304
+ }),
293
305
  functionInvocationsCreateSync: (args, options) => new QueryBuilder({
294
306
  client,
295
307
  operation: 'mutation',
@@ -434,6 +446,18 @@ export function createMutationOperations(client) {
434
446
  },
435
447
  ], connectionFieldsMap, 'InsertNodesAtPathsPayload'),
436
448
  }),
449
+ platformFunctionExecutionLogsAppend: (args, options) => new QueryBuilder({
450
+ client,
451
+ operation: 'mutation',
452
+ operationName: 'PlatformFunctionExecutionLogsAppend',
453
+ fieldName: 'platformFunctionExecutionLogsAppend',
454
+ ...buildCustomDocument('mutation', 'PlatformFunctionExecutionLogsAppend', 'platformFunctionExecutionLogsAppend', options.select, args, [
455
+ {
456
+ name: 'input',
457
+ type: 'PlatformFunctionExecutionLogsAppendInput!',
458
+ },
459
+ ], connectionFieldsMap, 'PlatformFunctionExecutionLogsAppendPayload'),
460
+ }),
437
461
  platformFunctionInvocationsCreateSync: (args, options) => new QueryBuilder({
438
462
  client,
439
463
  operation: 'mutation',