@constructive-sdk/cli 1.20.6 → 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 +5 -5
  108. package/remote/cli/commands/machine.js +22 -0
  109. package/remote/orm/input-types.d.ts +13 -1
@@ -1118,6 +1118,32 @@ export interface FunctionInvocation {
1118
1118
  /** Function routing slug (category:name). Denormalized from the definition — must match the row referenced by function_definition_id when that is set. */
1119
1119
  taskIdentifier?: string | null;
1120
1120
  }
1121
+ /** Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs) */
1122
+ export interface FunctionSchedule {
1123
+ /** User who created this schedule; every fire runs as them. Forced to current_user_id() on INSERT, immutable after. */
1124
+ actorId?: string | null;
1125
+ createdAt?: string | null;
1126
+ /** Database that owns this resource (database-scoped isolation) */
1127
+ databaseId?: string | null;
1128
+ /** Human-readable description of what this schedule does */
1129
+ description?: string | null;
1130
+ /** Function definition this schedule invokes */
1131
+ functionDefinitionId?: string | null;
1132
+ id: string;
1133
+ /** Whether this schedule is active. Deactivating removes the worker scheduler row; reactivating recreates it. */
1134
+ isActive?: boolean | null;
1135
+ /** Human-readable schedule name */
1136
+ name?: string | null;
1137
+ /** Job payload passed to the function on each scheduled firing */
1138
+ payload?: Record<string, unknown> | null;
1139
+ /** Cron spec — same shape app_jobs.scheduled_jobs uses: {"rule": "0 0 * * *"} or recurrence objects ({minute, hour, dayOfWeek, ...}) */
1140
+ scheduleInfo?: Record<string, unknown> | null;
1141
+ /** System suspension timestamp (circuit-breaker). While non-NULL the schedule is not effectively running (is_active AND suspended_at IS NULL) and its worker scheduler row is removed. System-only; never conflated with the user-facing is_active flag. */
1142
+ suspendedAt?: string | null;
1143
+ /** Reason the system suspended this schedule (e.g. quota_exceeded, limit_exceeded). NULL when not suspended. */
1144
+ suspendedReason?: string | null;
1145
+ updatedAt?: string | null;
1146
+ }
1121
1147
  export interface GetAllTreeNodesRecord {
1122
1148
  data?: Record<string, unknown> | null;
1123
1149
  path?: string[] | null;
@@ -1706,6 +1732,30 @@ export interface PlatformFunctionInvocation {
1706
1732
  /** Function routing slug (category:name). Denormalized from the definition — must match the row referenced by function_definition_id when that is set. */
1707
1733
  taskIdentifier?: string | null;
1708
1734
  }
1735
+ /** Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs) */
1736
+ export interface PlatformFunctionSchedule {
1737
+ /** User who created this schedule; every fire runs as them. Forced to current_user_id() on INSERT, immutable after. */
1738
+ actorId?: string | null;
1739
+ createdAt?: string | null;
1740
+ /** Human-readable description of what this schedule does */
1741
+ description?: string | null;
1742
+ /** Function definition this schedule invokes */
1743
+ functionDefinitionId?: string | null;
1744
+ id: string;
1745
+ /** Whether this schedule is active. Deactivating removes the worker scheduler row; reactivating recreates it. */
1746
+ isActive?: boolean | null;
1747
+ /** Human-readable schedule name */
1748
+ name?: string | null;
1749
+ /** Job payload passed to the function on each scheduled firing */
1750
+ payload?: Record<string, unknown> | null;
1751
+ /** Cron spec — same shape app_jobs.scheduled_jobs uses: {"rule": "0 0 * * *"} or recurrence objects ({minute, hour, dayOfWeek, ...}) */
1752
+ scheduleInfo?: Record<string, unknown> | null;
1753
+ /** System suspension timestamp (circuit-breaker). While non-NULL the schedule is not effectively running (is_active AND suspended_at IS NULL) and its worker scheduler row is removed. System-only; never conflated with the user-facing is_active flag. */
1754
+ suspendedAt?: string | null;
1755
+ /** Reason the system suspended this schedule (e.g. quota_exceeded, limit_exceeded). NULL when not suspended. */
1756
+ suspendedReason?: string | null;
1757
+ updatedAt?: string | null;
1758
+ }
1709
1759
  /** Container image catalog: images available to run as functions, resources, and builds */
1710
1760
  export interface PlatformImage {
1711
1761
  createdAt?: string | null;
@@ -2373,9 +2423,9 @@ export interface PlatformResource {
2373
2423
  status?: string | null;
2374
2424
  /** Observed state from K8s — populated by handlers after reconciliation (service_url, clone_url, replicas, etc.) */
2375
2425
  statusObserved?: Record<string, unknown> | null;
2376
- /** Storage class/tier, derived from the legacy spec.storage_class else spec.storage[0].class (NULL if unset) */
2426
+ /** Storage class/tier, derived from spec.storage[0].class (NULL if unset) */
2377
2427
  storageClass?: string | null;
2378
- /** Declared persistent volume bytes per pod, summed over spec.storage[] plus the legacy spec.storage_size (NULL if none declared) */
2428
+ /** Declared persistent volume bytes per pod, summed over spec.storage[] (NULL if none declared) */
2379
2429
  storageSizeBytes?: string | null;
2380
2430
  /** Total declared persistent volume bytes for the resource: per-pod bytes times replicas for StatefulSet (per-ordinal claims), per-pod bytes otherwise (claims shared across replicas) */
2381
2431
  storageTotalBytes?: string | null;
@@ -3173,9 +3223,9 @@ export interface Resource {
3173
3223
  status?: string | null;
3174
3224
  /** Observed state from K8s — populated by handlers after reconciliation (service_url, clone_url, replicas, etc.) */
3175
3225
  statusObserved?: Record<string, unknown> | null;
3176
- /** Storage class/tier, derived from the legacy spec.storage_class else spec.storage[0].class (NULL if unset) */
3226
+ /** Storage class/tier, derived from spec.storage[0].class (NULL if unset) */
3177
3227
  storageClass?: string | null;
3178
- /** Declared persistent volume bytes per pod, summed over spec.storage[] plus the legacy spec.storage_size (NULL if none declared) */
3228
+ /** Declared persistent volume bytes per pod, summed over spec.storage[] (NULL if none declared) */
3179
3229
  storageSizeBytes?: string | null;
3180
3230
  /** Total declared persistent volume bytes for the resource: per-pod bytes times replicas for StatefulSet (per-ordinal claims), per-pod bytes otherwise (claims shared across replicas) */
3181
3231
  storageTotalBytes?: string | null;
@@ -3563,6 +3613,7 @@ export interface FunctionDefinitionRelations {
3563
3613
  graph?: DatabaseFunctionGraph | null;
3564
3614
  functionApiBindings?: ConnectionResult<FunctionApiBinding>;
3565
3615
  functionCapabilityBindingsByFunctionId?: ConnectionResult<FunctionCapabilityBinding>;
3616
+ functionSchedules?: ConnectionResult<FunctionSchedule>;
3566
3617
  webhookEndpoints?: ConnectionResult<WebhookEndpoint>;
3567
3618
  }
3568
3619
  export interface FunctionDeploymentRelations {
@@ -3597,6 +3648,9 @@ export interface FunctionInvocationAttemptRelations {
3597
3648
  export interface FunctionInvocationRelations {
3598
3649
  apiBinding?: FunctionApiBinding | null;
3599
3650
  }
3651
+ export interface FunctionScheduleRelations {
3652
+ functionDefinition?: FunctionDefinition | null;
3653
+ }
3600
3654
  export interface GetAllTreeNodesRecordRelations {
3601
3655
  }
3602
3656
  export interface ImageRelations {
@@ -3650,6 +3704,7 @@ export interface PlatformFunctionDefinitionRelations {
3650
3704
  graph?: FunctionGraph | null;
3651
3705
  platformFunctionApiBindingsByFunctionDefinitionId?: ConnectionResult<PlatformFunctionApiBinding>;
3652
3706
  platformFunctionCapabilityBindingsByFunctionId?: ConnectionResult<PlatformFunctionCapabilityBinding>;
3707
+ platformFunctionSchedulesByFunctionDefinitionId?: ConnectionResult<PlatformFunctionSchedule>;
3653
3708
  platformWebhookEndpointsByFunctionDefinitionId?: ConnectionResult<PlatformWebhookEndpoint>;
3654
3709
  }
3655
3710
  export interface PlatformFunctionDeploymentRelations {
@@ -3664,6 +3719,9 @@ export interface PlatformFunctionInvocationAttemptRelations {
3664
3719
  export interface PlatformFunctionInvocationRelations {
3665
3720
  apiBinding?: PlatformFunctionApiBinding | null;
3666
3721
  }
3722
+ export interface PlatformFunctionScheduleRelations {
3723
+ functionDefinition?: PlatformFunctionDefinition | null;
3724
+ }
3667
3725
  export interface PlatformImageRelations {
3668
3726
  platformImageGrantsByImageId?: ConnectionResult<PlatformImageGrant>;
3669
3727
  }
@@ -3935,6 +3993,7 @@ export type FunctionGraphRefWithRelations = FunctionGraphRef & FunctionGraphRefR
3935
3993
  export type FunctionGraphStoreWithRelations = FunctionGraphStore & FunctionGraphStoreRelations;
3936
3994
  export type FunctionInvocationAttemptWithRelations = FunctionInvocationAttempt & FunctionInvocationAttemptRelations;
3937
3995
  export type FunctionInvocationWithRelations = FunctionInvocation & FunctionInvocationRelations;
3996
+ export type FunctionScheduleWithRelations = FunctionSchedule & FunctionScheduleRelations;
3938
3997
  export type GetAllTreeNodesRecordWithRelations = GetAllTreeNodesRecord & GetAllTreeNodesRecordRelations;
3939
3998
  export type ImageWithRelations = Image & ImageRelations;
3940
3999
  export type ImageGrantWithRelations = ImageGrant & ImageGrantRelations;
@@ -3957,6 +4016,7 @@ export type PlatformFunctionDeploymentEventWithRelations = PlatformFunctionDeplo
3957
4016
  export type PlatformFunctionExecutionLogWithRelations = PlatformFunctionExecutionLog & PlatformFunctionExecutionLogRelations;
3958
4017
  export type PlatformFunctionInvocationAttemptWithRelations = PlatformFunctionInvocationAttempt & PlatformFunctionInvocationAttemptRelations;
3959
4018
  export type PlatformFunctionInvocationWithRelations = PlatformFunctionInvocation & PlatformFunctionInvocationRelations;
4019
+ export type PlatformFunctionScheduleWithRelations = PlatformFunctionSchedule & PlatformFunctionScheduleRelations;
3960
4020
  export type PlatformImageWithRelations = PlatformImage & PlatformImageRelations;
3961
4021
  export type PlatformImageGrantWithRelations = PlatformImageGrant & PlatformImageGrantRelations;
3962
4022
  export type PlatformInfraCommitWithRelations = PlatformInfraCommit & PlatformInfraCommitRelations;
@@ -4358,6 +4418,12 @@ export type FunctionDefinitionSelect = {
4358
4418
  filter?: FunctionCapabilityBindingFilter;
4359
4419
  orderBy?: FunctionCapabilityBindingOrderBy[];
4360
4420
  };
4421
+ functionSchedules?: {
4422
+ select: FunctionScheduleSelect;
4423
+ first?: number;
4424
+ filter?: FunctionScheduleFilter;
4425
+ orderBy?: FunctionScheduleOrderBy[];
4426
+ };
4361
4427
  webhookEndpoints?: {
4362
4428
  select: WebhookEndpointSelect;
4363
4429
  first?: number;
@@ -4593,6 +4659,24 @@ export type FunctionInvocationSelect = {
4593
4659
  select: FunctionApiBindingSelect;
4594
4660
  };
4595
4661
  };
4662
+ export type FunctionScheduleSelect = {
4663
+ actorId?: boolean;
4664
+ createdAt?: boolean;
4665
+ databaseId?: boolean;
4666
+ description?: boolean;
4667
+ functionDefinitionId?: boolean;
4668
+ id?: boolean;
4669
+ isActive?: boolean;
4670
+ name?: boolean;
4671
+ payload?: boolean;
4672
+ scheduleInfo?: boolean;
4673
+ suspendedAt?: boolean;
4674
+ suspendedReason?: boolean;
4675
+ updatedAt?: boolean;
4676
+ functionDefinition?: {
4677
+ select: FunctionDefinitionSelect;
4678
+ };
4679
+ };
4596
4680
  export type GetAllTreeNodesRecordSelect = {
4597
4681
  data?: boolean;
4598
4682
  path?: boolean;
@@ -4929,6 +5013,12 @@ export type PlatformFunctionDefinitionSelect = {
4929
5013
  filter?: PlatformFunctionCapabilityBindingFilter;
4930
5014
  orderBy?: PlatformFunctionCapabilityBindingOrderBy[];
4931
5015
  };
5016
+ platformFunctionSchedulesByFunctionDefinitionId?: {
5017
+ select: PlatformFunctionScheduleSelect;
5018
+ first?: number;
5019
+ filter?: PlatformFunctionScheduleFilter;
5020
+ orderBy?: PlatformFunctionScheduleOrderBy[];
5021
+ };
4932
5022
  platformWebhookEndpointsByFunctionDefinitionId?: {
4933
5023
  select: PlatformWebhookEndpointSelect;
4934
5024
  first?: number;
@@ -5028,6 +5118,23 @@ export type PlatformFunctionInvocationSelect = {
5028
5118
  select: PlatformFunctionApiBindingSelect;
5029
5119
  };
5030
5120
  };
5121
+ export type PlatformFunctionScheduleSelect = {
5122
+ actorId?: boolean;
5123
+ createdAt?: boolean;
5124
+ description?: boolean;
5125
+ functionDefinitionId?: boolean;
5126
+ id?: boolean;
5127
+ isActive?: boolean;
5128
+ name?: boolean;
5129
+ payload?: boolean;
5130
+ scheduleInfo?: boolean;
5131
+ suspendedAt?: boolean;
5132
+ suspendedReason?: boolean;
5133
+ updatedAt?: boolean;
5134
+ functionDefinition?: {
5135
+ select: PlatformFunctionDefinitionSelect;
5136
+ };
5137
+ };
5031
5138
  export type PlatformImageSelect = {
5032
5139
  createdAt?: boolean;
5033
5140
  createdByPrincipal?: boolean;
@@ -7258,6 +7365,10 @@ export interface FunctionDefinitionFilter {
7258
7365
  functionCapabilityBindingsByFunctionIdExist?: boolean;
7259
7366
  /** Filter by the object’s `functionColumns` field. */
7260
7367
  functionColumns?: JSONFilter;
7368
+ /** Filter by the object’s `functionSchedules` relation. */
7369
+ functionSchedules?: FunctionDefinitionToManyFunctionScheduleFilter;
7370
+ /** `functionSchedules` exist. */
7371
+ functionSchedulesExist?: boolean;
7261
7372
  /** Filter by the object’s `graph` relation. */
7262
7373
  graph?: DatabaseFunctionGraphFilter;
7263
7374
  /** A related `graph` exists. */
@@ -7813,6 +7924,42 @@ export interface FunctionInvocationFilter {
7813
7924
  /** Filter by the object’s `taskIdentifier` field. */
7814
7925
  taskIdentifier?: StringFilter;
7815
7926
  }
7927
+ export interface FunctionScheduleFilter {
7928
+ /** Filter by the object’s `actorId` field. */
7929
+ actorId?: UUIDFilter;
7930
+ /** Checks for all expressions in this list. */
7931
+ and?: FunctionScheduleFilter[];
7932
+ /** Filter by the object’s `createdAt` field. */
7933
+ createdAt?: DatetimeFilter;
7934
+ /** Filter by the object’s `databaseId` field. */
7935
+ databaseId?: UUIDFilter;
7936
+ /** Filter by the object’s `description` field. */
7937
+ description?: StringFilter;
7938
+ /** Filter by the object’s `functionDefinition` relation. */
7939
+ functionDefinition?: FunctionDefinitionFilter;
7940
+ /** Filter by the object’s `functionDefinitionId` field. */
7941
+ functionDefinitionId?: UUIDFilter;
7942
+ /** Filter by the object’s `id` field. */
7943
+ id?: UUIDFilter;
7944
+ /** Filter by the object’s `isActive` field. */
7945
+ isActive?: BooleanFilter;
7946
+ /** Filter by the object’s `name` field. */
7947
+ name?: StringFilter;
7948
+ /** Negates the expression. */
7949
+ not?: FunctionScheduleFilter;
7950
+ /** Checks for any expressions in this list. */
7951
+ or?: FunctionScheduleFilter[];
7952
+ /** Filter by the object’s `payload` field. */
7953
+ payload?: JSONFilter;
7954
+ /** Filter by the object’s `scheduleInfo` field. */
7955
+ scheduleInfo?: JSONFilter;
7956
+ /** Filter by the object’s `suspendedAt` field. */
7957
+ suspendedAt?: DatetimeFilter;
7958
+ /** Filter by the object’s `suspendedReason` field. */
7959
+ suspendedReason?: StringFilter;
7960
+ /** Filter by the object’s `updatedAt` field. */
7961
+ updatedAt?: DatetimeFilter;
7962
+ }
7816
7963
  export interface GetAllTreeNodesRecordFilter {
7817
7964
  data?: JSONFilter;
7818
7965
  path?: StringListFilter;
@@ -8380,6 +8527,10 @@ export interface PlatformFunctionDefinitionFilter {
8380
8527
  platformFunctionCapabilityBindingsByFunctionId?: PlatformFunctionDefinitionToManyPlatformFunctionCapabilityBindingFilter;
8381
8528
  /** `platformFunctionCapabilityBindingsByFunctionId` exist. */
8382
8529
  platformFunctionCapabilityBindingsByFunctionIdExist?: boolean;
8530
+ /** Filter by the object’s `platformFunctionSchedulesByFunctionDefinitionId` relation. */
8531
+ platformFunctionSchedulesByFunctionDefinitionId?: PlatformFunctionDefinitionToManyPlatformFunctionScheduleFilter;
8532
+ /** `platformFunctionSchedulesByFunctionDefinitionId` exist. */
8533
+ platformFunctionSchedulesByFunctionDefinitionIdExist?: boolean;
8383
8534
  /** Filter by the object’s `platformWebhookEndpointsByFunctionDefinitionId` relation. */
8384
8535
  platformWebhookEndpointsByFunctionDefinitionId?: PlatformFunctionDefinitionToManyPlatformWebhookEndpointFilter;
8385
8536
  /** `platformWebhookEndpointsByFunctionDefinitionId` exist. */
@@ -8625,6 +8776,40 @@ export interface PlatformFunctionInvocationFilter {
8625
8776
  /** Filter by the object’s `taskIdentifier` field. */
8626
8777
  taskIdentifier?: StringFilter;
8627
8778
  }
8779
+ export interface PlatformFunctionScheduleFilter {
8780
+ /** Filter by the object’s `actorId` field. */
8781
+ actorId?: UUIDFilter;
8782
+ /** Checks for all expressions in this list. */
8783
+ and?: PlatformFunctionScheduleFilter[];
8784
+ /** Filter by the object’s `createdAt` field. */
8785
+ createdAt?: DatetimeFilter;
8786
+ /** Filter by the object’s `description` field. */
8787
+ description?: StringFilter;
8788
+ /** Filter by the object’s `functionDefinition` relation. */
8789
+ functionDefinition?: PlatformFunctionDefinitionFilter;
8790
+ /** Filter by the object’s `functionDefinitionId` field. */
8791
+ functionDefinitionId?: UUIDFilter;
8792
+ /** Filter by the object’s `id` field. */
8793
+ id?: UUIDFilter;
8794
+ /** Filter by the object’s `isActive` field. */
8795
+ isActive?: BooleanFilter;
8796
+ /** Filter by the object’s `name` field. */
8797
+ name?: StringFilter;
8798
+ /** Negates the expression. */
8799
+ not?: PlatformFunctionScheduleFilter;
8800
+ /** Checks for any expressions in this list. */
8801
+ or?: PlatformFunctionScheduleFilter[];
8802
+ /** Filter by the object’s `payload` field. */
8803
+ payload?: JSONFilter;
8804
+ /** Filter by the object’s `scheduleInfo` field. */
8805
+ scheduleInfo?: JSONFilter;
8806
+ /** Filter by the object’s `suspendedAt` field. */
8807
+ suspendedAt?: DatetimeFilter;
8808
+ /** Filter by the object’s `suspendedReason` field. */
8809
+ suspendedReason?: StringFilter;
8810
+ /** Filter by the object’s `updatedAt` field. */
8811
+ updatedAt?: DatetimeFilter;
8812
+ }
8628
8813
  export interface PlatformImageFilter {
8629
8814
  /** Checks for all expressions in this list. */
8630
8815
  and?: PlatformImageFilter[];
@@ -11622,6 +11807,7 @@ export type FunctionGraphRefOrderBy = 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC' | 'ID_A
11622
11807
  export type FunctionGraphStoreOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC';
11623
11808
  export type FunctionInvocationAttemptOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ATTEMPT_ASC' | 'ATTEMPT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'ERROR_DETAIL_ASC' | 'ERROR_DETAIL_DESC' | 'ID_ASC' | 'ID_DESC' | 'INVOCATION_CREATED_AT_ASC' | 'INVOCATION_CREATED_AT_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
11624
11809
  export type FunctionInvocationOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'API_BINDING_ID_ASC' | 'API_BINDING_ID_DESC' | 'CHANNEL_ASC' | 'CHANNEL_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFINITION_SCOPE_ASC' | 'DEFINITION_SCOPE_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'GRAPH_EXECUTION_ID_ASC' | 'GRAPH_EXECUTION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'JOB_ID_ASC' | 'JOB_ID_DESC' | 'NATURAL' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PARENT_INVOCATION_ID_ASC' | 'PARENT_INVOCATION_ID_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'PROVENANCE_ASC' | 'PROVENANCE_DESC' | 'RESULT_ASC' | 'RESULT_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
11810
+ export type FunctionScheduleOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEDULE_INFO_ASC' | 'SCHEDULE_INFO_DESC' | 'SUSPENDED_AT_ASC' | 'SUSPENDED_AT_DESC' | 'SUSPENDED_REASON_ASC' | 'SUSPENDED_REASON_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
11625
11811
  export type GetAllTreeNodesRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'DATA_ASC' | 'DATA_DESC' | 'PATH_ASC' | 'PATH_DESC';
11626
11812
  export type ImageOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DIGEST_ASC' | 'DIGEST_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLISHED_ASC' | 'IS_PUBLISHED_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PLATFORM_ONLY_ASC' | 'PLATFORM_ONLY_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REGISTRY_HOST_ASC' | 'REGISTRY_HOST_DESC' | 'REPOSITORY_ASC' | 'REPOSITORY_DESC' | 'RUNTIME_ASC' | 'RUNTIME_DESC' | 'TAG_ASC' | 'TAG_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
11627
11813
  export type ImageGrantOrderBy = 'ACTIONS_ASC' | 'ACTIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'GRANTED_BY_ASC' | 'GRANTED_BY_DESC' | 'GRANTEE_KEY_ASC' | 'GRANTEE_KEY_DESC' | 'GRANTEE_SCOPE_ASC' | 'GRANTEE_SCOPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'IMAGE_ID_ASC' | 'IMAGE_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
@@ -11644,6 +11830,7 @@ export type PlatformFunctionDeploymentEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_
11644
11830
  export type PlatformFunctionExecutionLogOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'LOG_LEVEL_ASC' | 'LOG_LEVEL_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
11645
11831
  export type PlatformFunctionInvocationAttemptOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ATTEMPT_ASC' | 'ATTEMPT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'ERROR_DETAIL_ASC' | 'ERROR_DETAIL_DESC' | 'ID_ASC' | 'ID_DESC' | 'INVOCATION_CREATED_AT_ASC' | 'INVOCATION_CREATED_AT_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
11646
11832
  export type PlatformFunctionInvocationOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'API_BINDING_ID_ASC' | 'API_BINDING_ID_DESC' | 'CHANNEL_ASC' | 'CHANNEL_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFINITION_SCOPE_ASC' | 'DEFINITION_SCOPE_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'GRAPH_EXECUTION_ID_ASC' | 'GRAPH_EXECUTION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'JOB_ID_ASC' | 'JOB_ID_DESC' | 'NATURAL' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PARENT_INVOCATION_ID_ASC' | 'PARENT_INVOCATION_ID_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'PROVENANCE_ASC' | 'PROVENANCE_DESC' | 'RESULT_ASC' | 'RESULT_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
11833
+ export type PlatformFunctionScheduleOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEDULE_INFO_ASC' | 'SCHEDULE_INFO_DESC' | 'SUSPENDED_AT_ASC' | 'SUSPENDED_AT_DESC' | 'SUSPENDED_REASON_ASC' | 'SUSPENDED_REASON_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
11647
11834
  export type PlatformImageOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DIGEST_ASC' | 'DIGEST_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLISHED_ASC' | 'IS_PUBLISHED_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PLATFORM_ONLY_ASC' | 'PLATFORM_ONLY_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REGISTRY_HOST_ASC' | 'REGISTRY_HOST_DESC' | 'REPOSITORY_ASC' | 'REPOSITORY_DESC' | 'RUNTIME_ASC' | 'RUNTIME_DESC' | 'TAG_ASC' | 'TAG_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
11648
11835
  export type PlatformImageGrantOrderBy = 'ACTIONS_ASC' | 'ACTIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'GRANTED_BY_ASC' | 'GRANTED_BY_DESC' | 'GRANTEE_KEY_ASC' | 'GRANTEE_KEY_DESC' | 'GRANTEE_SCOPE_ASC' | 'GRANTEE_SCOPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'IMAGE_ID_ASC' | 'IMAGE_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
11649
11836
  export type PlatformInfraCommitOrderBy = 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'DATE_ASC' | 'DATE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'NATURAL' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC';
@@ -12884,6 +13071,42 @@ export interface DeleteFunctionInvocationInput {
12884
13071
  clientMutationId?: string;
12885
13072
  id: string;
12886
13073
  }
13074
+ export interface CreateFunctionScheduleInput {
13075
+ clientMutationId?: string;
13076
+ functionSchedule: {
13077
+ actorId?: string;
13078
+ databaseId: string;
13079
+ description?: string;
13080
+ functionDefinitionId: string;
13081
+ isActive?: boolean;
13082
+ name: string;
13083
+ payload?: Record<string, unknown>;
13084
+ scheduleInfo: Record<string, unknown>;
13085
+ suspendedAt?: string;
13086
+ suspendedReason?: string;
13087
+ };
13088
+ }
13089
+ export interface FunctionSchedulePatch {
13090
+ actorId?: string | null;
13091
+ databaseId?: string | null;
13092
+ description?: string | null;
13093
+ functionDefinitionId?: string | null;
13094
+ isActive?: boolean | null;
13095
+ name?: string | null;
13096
+ payload?: Record<string, unknown> | null;
13097
+ scheduleInfo?: Record<string, unknown> | null;
13098
+ suspendedAt?: string | null;
13099
+ suspendedReason?: string | null;
13100
+ }
13101
+ export interface UpdateFunctionScheduleInput {
13102
+ clientMutationId?: string;
13103
+ id: string;
13104
+ functionSchedulePatch: FunctionSchedulePatch;
13105
+ }
13106
+ export interface DeleteFunctionScheduleInput {
13107
+ clientMutationId?: string;
13108
+ id: string;
13109
+ }
12887
13110
  export interface CreateGetAllTreeNodesRecordInput {
12888
13111
  clientMutationId?: string;
12889
13112
  getAllTreeNodesRecord: {
@@ -13706,6 +13929,40 @@ export interface DeletePlatformFunctionInvocationInput {
13706
13929
  clientMutationId?: string;
13707
13930
  id: string;
13708
13931
  }
13932
+ export interface CreatePlatformFunctionScheduleInput {
13933
+ clientMutationId?: string;
13934
+ platformFunctionSchedule: {
13935
+ actorId?: string;
13936
+ description?: string;
13937
+ functionDefinitionId: string;
13938
+ isActive?: boolean;
13939
+ name: string;
13940
+ payload?: Record<string, unknown>;
13941
+ scheduleInfo: Record<string, unknown>;
13942
+ suspendedAt?: string;
13943
+ suspendedReason?: string;
13944
+ };
13945
+ }
13946
+ export interface PlatformFunctionSchedulePatch {
13947
+ actorId?: string | null;
13948
+ description?: string | null;
13949
+ functionDefinitionId?: string | null;
13950
+ isActive?: boolean | null;
13951
+ name?: string | null;
13952
+ payload?: Record<string, unknown> | null;
13953
+ scheduleInfo?: Record<string, unknown> | null;
13954
+ suspendedAt?: string | null;
13955
+ suspendedReason?: string | null;
13956
+ }
13957
+ export interface UpdatePlatformFunctionScheduleInput {
13958
+ clientMutationId?: string;
13959
+ id: string;
13960
+ platformFunctionSchedulePatch: PlatformFunctionSchedulePatch;
13961
+ }
13962
+ export interface DeletePlatformFunctionScheduleInput {
13963
+ clientMutationId?: string;
13964
+ id: string;
13965
+ }
13709
13966
  export interface CreatePlatformImageInput {
13710
13967
  clientMutationId?: string;
13711
13968
  platformImage: {
@@ -16564,6 +16821,15 @@ export interface DatabaseValidateFunctionGraphInput {
16564
16821
  clientMutationId?: string;
16565
16822
  graphId?: string;
16566
16823
  }
16824
+ export interface FunctionExecutionLogsAppendInput {
16825
+ clientMutationId?: string;
16826
+ createdAt?: string;
16827
+ invocationId?: string;
16828
+ logLevel?: string;
16829
+ message?: string;
16830
+ metadata?: Record<string, unknown>;
16831
+ taskIdentifier?: string;
16832
+ }
16567
16833
  export interface FunctionInvocationsCreateSyncInput {
16568
16834
  clientMutationId?: string;
16569
16835
  entityId?: string;
@@ -16661,6 +16927,15 @@ export interface InsertNodesAtPathsInput {
16661
16927
  root?: string;
16662
16928
  sId?: string;
16663
16929
  }
16930
+ export interface PlatformFunctionExecutionLogsAppendInput {
16931
+ clientMutationId?: string;
16932
+ createdAt?: string;
16933
+ invocationId?: string;
16934
+ logLevel?: string;
16935
+ message?: string;
16936
+ metadata?: Record<string, unknown>;
16937
+ taskIdentifier?: string;
16938
+ }
16664
16939
  export interface PlatformFunctionInvocationsCreateSyncInput {
16665
16940
  clientMutationId?: string;
16666
16941
  entityId?: string;
@@ -16926,6 +17201,15 @@ export interface FunctionDefinitionToManyFunctionCapabilityBindingFilter {
16926
17201
  /** Filters to entities where at least one related entity matches. */
16927
17202
  some?: FunctionCapabilityBindingFilter;
16928
17203
  }
17204
+ /** A filter to be used against many `FunctionSchedule` object types. All fields are combined with a logical ‘and.’ */
17205
+ export interface FunctionDefinitionToManyFunctionScheduleFilter {
17206
+ /** Filters to entities where every related entity matches. */
17207
+ every?: FunctionScheduleFilter;
17208
+ /** Filters to entities where no related entity matches. */
17209
+ none?: FunctionScheduleFilter;
17210
+ /** Filters to entities where at least one related entity matches. */
17211
+ some?: FunctionScheduleFilter;
17212
+ }
16929
17213
  /** A filter to be used against many `WebhookEndpoint` object types. All fields are combined with a logical ‘and.’ */
16930
17214
  export interface FunctionDefinitionToManyWebhookEndpointFilter {
16931
17215
  /** Filters to entities where every related entity matches. */
@@ -17096,6 +17380,15 @@ export interface PlatformFunctionDefinitionToManyPlatformFunctionCapabilityBindi
17096
17380
  /** Filters to entities where at least one related entity matches. */
17097
17381
  some?: PlatformFunctionCapabilityBindingFilter;
17098
17382
  }
17383
+ /** A filter to be used against many `PlatformFunctionSchedule` object types. All fields are combined with a logical ‘and.’ */
17384
+ export interface PlatformFunctionDefinitionToManyPlatformFunctionScheduleFilter {
17385
+ /** Filters to entities where every related entity matches. */
17386
+ every?: PlatformFunctionScheduleFilter;
17387
+ /** Filters to entities where no related entity matches. */
17388
+ none?: PlatformFunctionScheduleFilter;
17389
+ /** Filters to entities where at least one related entity matches. */
17390
+ some?: PlatformFunctionScheduleFilter;
17391
+ }
17099
17392
  /** A filter to be used against many `PlatformWebhookEndpoint` object types. All fields are combined with a logical ‘and.’ */
17100
17393
  export interface PlatformFunctionDefinitionToManyPlatformWebhookEndpointFilter {
17101
17394
  /** Filters to entities where every related entity matches. */
@@ -18575,6 +18868,32 @@ export interface FunctionInvocationInput {
18575
18868
  /** Function routing slug (category:name). Denormalized from the definition — must match the row referenced by function_definition_id when that is set. */
18576
18869
  taskIdentifier: string;
18577
18870
  }
18871
+ /** An input for mutations affecting `FunctionSchedule` */
18872
+ export interface FunctionScheduleInput {
18873
+ /** User who created this schedule; every fire runs as them. Forced to current_user_id() on INSERT, immutable after. */
18874
+ actorId?: string;
18875
+ createdAt?: string;
18876
+ /** Database that owns this resource (database-scoped isolation) */
18877
+ databaseId: string;
18878
+ /** Human-readable description of what this schedule does */
18879
+ description?: string;
18880
+ /** Function definition this schedule invokes */
18881
+ functionDefinitionId: string;
18882
+ id?: string;
18883
+ /** Whether this schedule is active. Deactivating removes the worker scheduler row; reactivating recreates it. */
18884
+ isActive?: boolean;
18885
+ /** Human-readable schedule name */
18886
+ name: string;
18887
+ /** Job payload passed to the function on each scheduled firing */
18888
+ payload?: Record<string, unknown>;
18889
+ /** Cron spec — same shape app_jobs.scheduled_jobs uses: {"rule": "0 0 * * *"} or recurrence objects ({minute, hour, dayOfWeek, ...}) */
18890
+ scheduleInfo: Record<string, unknown>;
18891
+ /** System suspension timestamp (circuit-breaker). While non-NULL the schedule is not effectively running (is_active AND suspended_at IS NULL) and its worker scheduler row is removed. System-only; never conflated with the user-facing is_active flag. */
18892
+ suspendedAt?: string;
18893
+ /** Reason the system suspended this schedule (e.g. quota_exceeded, limit_exceeded). NULL when not suspended. */
18894
+ suspendedReason?: string;
18895
+ updatedAt?: string;
18896
+ }
18578
18897
  /** An input for mutations affecting `Image` */
18579
18898
  export interface ImageInput {
18580
18899
  createdAt?: string;
@@ -19145,6 +19464,30 @@ export interface PlatformFunctionInvocationInput {
19145
19464
  /** Function routing slug (category:name). Denormalized from the definition — must match the row referenced by function_definition_id when that is set. */
19146
19465
  taskIdentifier: string;
19147
19466
  }
19467
+ /** An input for mutations affecting `PlatformFunctionSchedule` */
19468
+ export interface PlatformFunctionScheduleInput {
19469
+ /** User who created this schedule; every fire runs as them. Forced to current_user_id() on INSERT, immutable after. */
19470
+ actorId?: string;
19471
+ createdAt?: string;
19472
+ /** Human-readable description of what this schedule does */
19473
+ description?: string;
19474
+ /** Function definition this schedule invokes */
19475
+ functionDefinitionId: string;
19476
+ id?: string;
19477
+ /** Whether this schedule is active. Deactivating removes the worker scheduler row; reactivating recreates it. */
19478
+ isActive?: boolean;
19479
+ /** Human-readable schedule name */
19480
+ name: string;
19481
+ /** Job payload passed to the function on each scheduled firing */
19482
+ payload?: Record<string, unknown>;
19483
+ /** Cron spec — same shape app_jobs.scheduled_jobs uses: {"rule": "0 0 * * *"} or recurrence objects ({minute, hour, dayOfWeek, ...}) */
19484
+ scheduleInfo: Record<string, unknown>;
19485
+ /** System suspension timestamp (circuit-breaker). While non-NULL the schedule is not effectively running (is_active AND suspended_at IS NULL) and its worker scheduler row is removed. System-only; never conflated with the user-facing is_active flag. */
19486
+ suspendedAt?: string;
19487
+ /** Reason the system suspended this schedule (e.g. quota_exceeded, limit_exceeded). NULL when not suspended. */
19488
+ suspendedReason?: string;
19489
+ updatedAt?: string;
19490
+ }
19148
19491
  /** An input for mutations affecting `PlatformImage` */
19149
19492
  export interface PlatformImageInput {
19150
19493
  createdAt?: string;
@@ -20650,6 +20993,10 @@ export interface FunctionDefinitionFilter {
20650
20993
  functionCapabilityBindingsByFunctionIdExist?: boolean;
20651
20994
  /** Filter by the object’s `functionColumns` field. */
20652
20995
  functionColumns?: JSONFilter;
20996
+ /** Filter by the object’s `functionSchedules` relation. */
20997
+ functionSchedules?: FunctionDefinitionToManyFunctionScheduleFilter;
20998
+ /** `functionSchedules` exist. */
20999
+ functionSchedulesExist?: boolean;
20653
21000
  /** Filter by the object’s `graph` relation. */
20654
21001
  graph?: DatabaseFunctionGraphFilter;
20655
21002
  /** A related `graph` exists. */
@@ -20917,6 +21264,43 @@ export interface FunctionCapabilityBindingFilter {
20917
21264
  /** Filter by the object’s `updatedAt` field. */
20918
21265
  updatedAt?: DatetimeFilter;
20919
21266
  }
21267
+ /** A filter to be used against `FunctionSchedule` object types. All fields are combined with a logical ‘and.’ */
21268
+ export interface FunctionScheduleFilter {
21269
+ /** Filter by the object’s `actorId` field. */
21270
+ actorId?: UUIDFilter;
21271
+ /** Checks for all expressions in this list. */
21272
+ and?: FunctionScheduleFilter[];
21273
+ /** Filter by the object’s `createdAt` field. */
21274
+ createdAt?: DatetimeFilter;
21275
+ /** Filter by the object’s `databaseId` field. */
21276
+ databaseId?: UUIDFilter;
21277
+ /** Filter by the object’s `description` field. */
21278
+ description?: StringFilter;
21279
+ /** Filter by the object’s `functionDefinition` relation. */
21280
+ functionDefinition?: FunctionDefinitionFilter;
21281
+ /** Filter by the object’s `functionDefinitionId` field. */
21282
+ functionDefinitionId?: UUIDFilter;
21283
+ /** Filter by the object’s `id` field. */
21284
+ id?: UUIDFilter;
21285
+ /** Filter by the object’s `isActive` field. */
21286
+ isActive?: BooleanFilter;
21287
+ /** Filter by the object’s `name` field. */
21288
+ name?: StringFilter;
21289
+ /** Negates the expression. */
21290
+ not?: FunctionScheduleFilter;
21291
+ /** Checks for any expressions in this list. */
21292
+ or?: FunctionScheduleFilter[];
21293
+ /** Filter by the object’s `payload` field. */
21294
+ payload?: JSONFilter;
21295
+ /** Filter by the object’s `scheduleInfo` field. */
21296
+ scheduleInfo?: JSONFilter;
21297
+ /** Filter by the object’s `suspendedAt` field. */
21298
+ suspendedAt?: DatetimeFilter;
21299
+ /** Filter by the object’s `suspendedReason` field. */
21300
+ suspendedReason?: StringFilter;
21301
+ /** Filter by the object’s `updatedAt` field. */
21302
+ updatedAt?: DatetimeFilter;
21303
+ }
20920
21304
  /** A filter to be used against `WebhookEndpoint` object types. All fields are combined with a logical ‘and.’ */
20921
21305
  export interface WebhookEndpointFilter {
20922
21306
  /** Filter by the object’s `active` field. */
@@ -21113,6 +21497,10 @@ export interface PlatformFunctionDefinitionFilter {
21113
21497
  platformFunctionCapabilityBindingsByFunctionId?: PlatformFunctionDefinitionToManyPlatformFunctionCapabilityBindingFilter;
21114
21498
  /** `platformFunctionCapabilityBindingsByFunctionId` exist. */
21115
21499
  platformFunctionCapabilityBindingsByFunctionIdExist?: boolean;
21500
+ /** Filter by the object’s `platformFunctionSchedulesByFunctionDefinitionId` relation. */
21501
+ platformFunctionSchedulesByFunctionDefinitionId?: PlatformFunctionDefinitionToManyPlatformFunctionScheduleFilter;
21502
+ /** `platformFunctionSchedulesByFunctionDefinitionId` exist. */
21503
+ platformFunctionSchedulesByFunctionDefinitionIdExist?: boolean;
21116
21504
  /** Filter by the object’s `platformWebhookEndpointsByFunctionDefinitionId` relation. */
21117
21505
  platformWebhookEndpointsByFunctionDefinitionId?: PlatformFunctionDefinitionToManyPlatformWebhookEndpointFilter;
21118
21506
  /** `platformWebhookEndpointsByFunctionDefinitionId` exist. */
@@ -21717,6 +22105,41 @@ export interface PlatformFunctionCapabilityBindingFilter {
21717
22105
  /** Filter by the object’s `updatedAt` field. */
21718
22106
  updatedAt?: DatetimeFilter;
21719
22107
  }
22108
+ /** A filter to be used against `PlatformFunctionSchedule` object types. All fields are combined with a logical ‘and.’ */
22109
+ export interface PlatformFunctionScheduleFilter {
22110
+ /** Filter by the object’s `actorId` field. */
22111
+ actorId?: UUIDFilter;
22112
+ /** Checks for all expressions in this list. */
22113
+ and?: PlatformFunctionScheduleFilter[];
22114
+ /** Filter by the object’s `createdAt` field. */
22115
+ createdAt?: DatetimeFilter;
22116
+ /** Filter by the object’s `description` field. */
22117
+ description?: StringFilter;
22118
+ /** Filter by the object’s `functionDefinition` relation. */
22119
+ functionDefinition?: PlatformFunctionDefinitionFilter;
22120
+ /** Filter by the object’s `functionDefinitionId` field. */
22121
+ functionDefinitionId?: UUIDFilter;
22122
+ /** Filter by the object’s `id` field. */
22123
+ id?: UUIDFilter;
22124
+ /** Filter by the object’s `isActive` field. */
22125
+ isActive?: BooleanFilter;
22126
+ /** Filter by the object’s `name` field. */
22127
+ name?: StringFilter;
22128
+ /** Negates the expression. */
22129
+ not?: PlatformFunctionScheduleFilter;
22130
+ /** Checks for any expressions in this list. */
22131
+ or?: PlatformFunctionScheduleFilter[];
22132
+ /** Filter by the object’s `payload` field. */
22133
+ payload?: JSONFilter;
22134
+ /** Filter by the object’s `scheduleInfo` field. */
22135
+ scheduleInfo?: JSONFilter;
22136
+ /** Filter by the object’s `suspendedAt` field. */
22137
+ suspendedAt?: DatetimeFilter;
22138
+ /** Filter by the object’s `suspendedReason` field. */
22139
+ suspendedReason?: StringFilter;
22140
+ /** Filter by the object’s `updatedAt` field. */
22141
+ updatedAt?: DatetimeFilter;
22142
+ }
21720
22143
  /** A filter to be used against `PlatformWebhookEndpoint` object types. All fields are combined with a logical ‘and.’ */
21721
22144
  export interface PlatformWebhookEndpointFilter {
21722
22145
  /** Filter by the object’s `active` field. */
@@ -24466,6 +24889,12 @@ export type DatabaseValidateFunctionGraphPayloadSelect = {
24466
24889
  clientMutationId?: boolean;
24467
24890
  result?: boolean;
24468
24891
  };
24892
+ export interface FunctionExecutionLogsAppendPayload {
24893
+ clientMutationId?: string | null;
24894
+ }
24895
+ export type FunctionExecutionLogsAppendPayloadSelect = {
24896
+ clientMutationId?: boolean;
24897
+ };
24469
24898
  export interface FunctionInvocationsCreateSyncPayload {
24470
24899
  clientMutationId?: string | null;
24471
24900
  functionInvocationEdge?: FunctionInvocationEdge | null;
@@ -24574,6 +25003,12 @@ export type InsertNodesAtPathsPayloadSelect = {
24574
25003
  clientMutationId?: boolean;
24575
25004
  result?: boolean;
24576
25005
  };
25006
+ export interface PlatformFunctionExecutionLogsAppendPayload {
25007
+ clientMutationId?: string | null;
25008
+ }
25009
+ export type PlatformFunctionExecutionLogsAppendPayloadSelect = {
25010
+ clientMutationId?: boolean;
25011
+ };
24577
25012
  export interface PlatformFunctionInvocationsCreateSyncPayload {
24578
25013
  clientMutationId?: string | null;
24579
25014
  platformFunctionInvocationEdge?: PlatformFunctionInvocationEdge | null;
@@ -26056,6 +26491,51 @@ export type DeleteFunctionInvocationPayloadSelect = {
26056
26491
  select: FunctionInvocationEdgeSelect;
26057
26492
  };
26058
26493
  };
26494
+ export interface CreateFunctionSchedulePayload {
26495
+ clientMutationId?: string | null;
26496
+ /** The `FunctionSchedule` that was created by this mutation. */
26497
+ functionSchedule?: FunctionSchedule | null;
26498
+ functionScheduleEdge?: FunctionScheduleEdge | null;
26499
+ }
26500
+ export type CreateFunctionSchedulePayloadSelect = {
26501
+ clientMutationId?: boolean;
26502
+ functionSchedule?: {
26503
+ select: FunctionScheduleSelect;
26504
+ };
26505
+ functionScheduleEdge?: {
26506
+ select: FunctionScheduleEdgeSelect;
26507
+ };
26508
+ };
26509
+ export interface UpdateFunctionSchedulePayload {
26510
+ clientMutationId?: string | null;
26511
+ /** The `FunctionSchedule` that was updated by this mutation. */
26512
+ functionSchedule?: FunctionSchedule | null;
26513
+ functionScheduleEdge?: FunctionScheduleEdge | null;
26514
+ }
26515
+ export type UpdateFunctionSchedulePayloadSelect = {
26516
+ clientMutationId?: boolean;
26517
+ functionSchedule?: {
26518
+ select: FunctionScheduleSelect;
26519
+ };
26520
+ functionScheduleEdge?: {
26521
+ select: FunctionScheduleEdgeSelect;
26522
+ };
26523
+ };
26524
+ export interface DeleteFunctionSchedulePayload {
26525
+ clientMutationId?: string | null;
26526
+ /** The `FunctionSchedule` that was deleted by this mutation. */
26527
+ functionSchedule?: FunctionSchedule | null;
26528
+ functionScheduleEdge?: FunctionScheduleEdge | null;
26529
+ }
26530
+ export type DeleteFunctionSchedulePayloadSelect = {
26531
+ clientMutationId?: boolean;
26532
+ functionSchedule?: {
26533
+ select: FunctionScheduleSelect;
26534
+ };
26535
+ functionScheduleEdge?: {
26536
+ select: FunctionScheduleEdgeSelect;
26537
+ };
26538
+ };
26059
26539
  export interface CreateImagePayload {
26060
26540
  clientMutationId?: string | null;
26061
26541
  /** The `Image` that was created by this mutation. */
@@ -26956,6 +27436,51 @@ export type DeletePlatformFunctionInvocationPayloadSelect = {
26956
27436
  select: PlatformFunctionInvocationEdgeSelect;
26957
27437
  };
26958
27438
  };
27439
+ export interface CreatePlatformFunctionSchedulePayload {
27440
+ clientMutationId?: string | null;
27441
+ /** The `PlatformFunctionSchedule` that was created by this mutation. */
27442
+ platformFunctionSchedule?: PlatformFunctionSchedule | null;
27443
+ platformFunctionScheduleEdge?: PlatformFunctionScheduleEdge | null;
27444
+ }
27445
+ export type CreatePlatformFunctionSchedulePayloadSelect = {
27446
+ clientMutationId?: boolean;
27447
+ platformFunctionSchedule?: {
27448
+ select: PlatformFunctionScheduleSelect;
27449
+ };
27450
+ platformFunctionScheduleEdge?: {
27451
+ select: PlatformFunctionScheduleEdgeSelect;
27452
+ };
27453
+ };
27454
+ export interface UpdatePlatformFunctionSchedulePayload {
27455
+ clientMutationId?: string | null;
27456
+ /** The `PlatformFunctionSchedule` that was updated by this mutation. */
27457
+ platformFunctionSchedule?: PlatformFunctionSchedule | null;
27458
+ platformFunctionScheduleEdge?: PlatformFunctionScheduleEdge | null;
27459
+ }
27460
+ export type UpdatePlatformFunctionSchedulePayloadSelect = {
27461
+ clientMutationId?: boolean;
27462
+ platformFunctionSchedule?: {
27463
+ select: PlatformFunctionScheduleSelect;
27464
+ };
27465
+ platformFunctionScheduleEdge?: {
27466
+ select: PlatformFunctionScheduleEdgeSelect;
27467
+ };
27468
+ };
27469
+ export interface DeletePlatformFunctionSchedulePayload {
27470
+ clientMutationId?: string | null;
27471
+ /** The `PlatformFunctionSchedule` that was deleted by this mutation. */
27472
+ platformFunctionSchedule?: PlatformFunctionSchedule | null;
27473
+ platformFunctionScheduleEdge?: PlatformFunctionScheduleEdge | null;
27474
+ }
27475
+ export type DeletePlatformFunctionSchedulePayloadSelect = {
27476
+ clientMutationId?: boolean;
27477
+ platformFunctionSchedule?: {
27478
+ select: PlatformFunctionScheduleSelect;
27479
+ };
27480
+ platformFunctionScheduleEdge?: {
27481
+ select: PlatformFunctionScheduleEdgeSelect;
27482
+ };
27483
+ };
26959
27484
  export interface CreatePlatformImagePayload {
26960
27485
  clientMutationId?: string | null;
26961
27486
  /** The `PlatformImage` that was created by this mutation. */
@@ -29770,6 +30295,18 @@ export type FunctionInvocationAttemptEdgeSelect = {
29770
30295
  select: FunctionInvocationAttemptSelect;
29771
30296
  };
29772
30297
  };
30298
+ /** A `FunctionSchedule` edge in the connection. */
30299
+ export interface FunctionScheduleEdge {
30300
+ cursor?: string | null;
30301
+ /** The `FunctionSchedule` at the end of the edge. */
30302
+ node?: FunctionSchedule | null;
30303
+ }
30304
+ export type FunctionScheduleEdgeSelect = {
30305
+ cursor?: boolean;
30306
+ node?: {
30307
+ select: FunctionScheduleSelect;
30308
+ };
30309
+ };
29773
30310
  /** A `Image` edge in the connection. */
29774
30311
  export interface ImageEdge {
29775
30312
  cursor?: string | null;
@@ -29986,6 +30523,18 @@ export type PlatformFunctionInvocationAttemptEdgeSelect = {
29986
30523
  select: PlatformFunctionInvocationAttemptSelect;
29987
30524
  };
29988
30525
  };
30526
+ /** A `PlatformFunctionSchedule` edge in the connection. */
30527
+ export interface PlatformFunctionScheduleEdge {
30528
+ cursor?: string | null;
30529
+ /** The `PlatformFunctionSchedule` at the end of the edge. */
30530
+ node?: PlatformFunctionSchedule | null;
30531
+ }
30532
+ export type PlatformFunctionScheduleEdgeSelect = {
30533
+ cursor?: boolean;
30534
+ node?: {
30535
+ select: PlatformFunctionScheduleSelect;
30536
+ };
30537
+ };
29989
30538
  /** A `PlatformImage` edge in the connection. */
29990
30539
  export interface PlatformImageEdge {
29991
30540
  cursor?: string | null;