@sylphx/sdk 0.31.0 → 0.32.0

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 (99) hide show
  1. package/README.md +111 -4
  2. package/dist/access.d.ts +112 -17
  3. package/dist/access.js +101 -7
  4. package/dist/access.js.map +1 -1
  5. package/dist/ai.d.ts +1 -2
  6. package/dist/ai.js +2 -3
  7. package/dist/ai.js.map +1 -1
  8. package/dist/artifacts.d.ts +1 -1
  9. package/dist/artifacts.js +2 -2
  10. package/dist/assets.d.ts +447 -0
  11. package/dist/assets.js +266 -0
  12. package/dist/assets.js.map +1 -0
  13. package/dist/auth/client.d.ts +239 -0
  14. package/dist/auth/client.js +337 -0
  15. package/dist/auth/client.js.map +1 -0
  16. package/dist/auth/verify.d.ts +38 -3
  17. package/dist/auth/verify.js +58 -8
  18. package/dist/auth/verify.js.map +1 -1
  19. package/dist/auth.d.ts +455 -7
  20. package/dist/auth.js +416 -5
  21. package/dist/auth.js.map +1 -1
  22. package/dist/billing.d.ts +13 -13
  23. package/dist/billing.js +5 -5
  24. package/dist/broker.d.ts +5 -4
  25. package/dist/broker.js +3 -3
  26. package/dist/broker.js.map +1 -1
  27. package/dist/build.d.ts +4 -4
  28. package/dist/build.js +3 -3
  29. package/dist/common.d.ts +1 -1
  30. package/dist/common.js +1 -1
  31. package/dist/config/flags.d.ts +140 -0
  32. package/dist/config/flags.js +462 -0
  33. package/dist/config/flags.js.map +1 -0
  34. package/dist/config.d.ts +380 -15
  35. package/dist/config.js +283 -5
  36. package/dist/config.js.map +1 -1
  37. package/dist/connections.d.ts +6 -6
  38. package/dist/connections.js +3 -3
  39. package/dist/data.d.ts +560 -7
  40. package/dist/data.js +510 -4
  41. package/dist/data.js.map +1 -1
  42. package/dist/entitlement.d.ts +10 -8
  43. package/dist/entitlement.js +3 -4
  44. package/dist/entitlement.js.map +1 -1
  45. package/dist/events/realtime.d.ts +69 -0
  46. package/dist/events/realtime.js +107 -0
  47. package/dist/events/realtime.js.map +1 -0
  48. package/dist/events/webhooks.d.ts +40 -0
  49. package/dist/events/webhooks.js +110 -0
  50. package/dist/events/webhooks.js.map +1 -0
  51. package/dist/events.d.ts +369 -22
  52. package/dist/events.js +311 -8
  53. package/dist/events.js.map +1 -1
  54. package/dist/hosting.d.ts +13 -14
  55. package/dist/hosting.js +3 -4
  56. package/dist/hosting.js.map +1 -1
  57. package/dist/ids.d.ts +837 -0
  58. package/dist/ids.js +287 -0
  59. package/dist/ids.js.map +1 -0
  60. package/dist/index.d.ts +12 -1
  61. package/dist/index.js +16 -2
  62. package/dist/index.js.map +1 -1
  63. package/dist/keys.d.ts +2 -2
  64. package/dist/keys.js +3 -3
  65. package/dist/localization.d.ts +663 -0
  66. package/dist/localization.js +491 -0
  67. package/dist/localization.js.map +1 -0
  68. package/dist/methods.js +1719 -124
  69. package/dist/methods.js.map +1 -1
  70. package/dist/money.d.ts +1406 -0
  71. package/dist/money.js +1090 -0
  72. package/dist/money.js.map +1 -0
  73. package/dist/network.d.ts +4 -5
  74. package/dist/network.js +3 -4
  75. package/dist/network.js.map +1 -1
  76. package/dist/notify.d.ts +321 -124
  77. package/dist/notify.js +223 -73
  78. package/dist/notify.js.map +1 -1
  79. package/dist/observability.d.ts +184 -7
  80. package/dist/observability.js +156 -8
  81. package/dist/observability.js.map +1 -1
  82. package/dist/release.d.ts +14 -15
  83. package/dist/release.js +3 -4
  84. package/dist/release.js.map +1 -1
  85. package/dist/runners.d.ts +2 -3
  86. package/dist/runners.js +3 -4
  87. package/dist/runners.js.map +1 -1
  88. package/dist/runtime.d.ts +5 -1
  89. package/dist/runtime.js +7 -3
  90. package/dist/runtime.js.map +1 -1
  91. package/dist/sandboxes.d.ts +64 -20
  92. package/dist/sandboxes.js +9 -4
  93. package/dist/sandboxes.js.map +1 -1
  94. package/dist/secrets.d.ts +6 -6
  95. package/dist/secrets.js +4 -4
  96. package/dist/workflows.d.ts +850 -12
  97. package/dist/workflows.js +672 -3
  98. package/dist/workflows.js.map +1 -1
  99. package/package.json +1 -1
package/dist/workflows.js CHANGED
@@ -1,8 +1,11 @@
1
- // @generated by sylphx-gen 0.1.0 from contracts@446ceb843d4ff88057b0db68e2e54e4aea52d8143b72d66016122995b878de20. Do not edit.
1
+ // @generated by sylphx-gen 0.1.0 from contracts@c8aac0afaf7591d0d5efa1ba6a8540d723d41a97ce7ad5d68601380ef3ab4783. Do not edit.
2
2
  // `sylphx.workflows.v1`.
3
3
  import * as runtime from './runtime.js';
4
4
  import './common.js';
5
5
  runtime.registerSchemas({
6
+ 'sylphx.workflows.v1.AddDistributedRunShardsRequest': [
7
+ ['shards', 'shards', 'sylphx.workflows.v1.ShardInput'],
8
+ ],
6
9
  'sylphx.workflows.v1.BatchPosition': [
7
10
  ['parentRun', 'parent_run'],
8
11
  ['totalCount', 'total_count'],
@@ -10,7 +13,29 @@ runtime.registerSchemas({
10
13
  'sylphx.workflows.v1.CalendarSpec': [
11
14
  ['timeZone', 'time_zone'],
12
15
  ],
16
+ 'sylphx.workflows.v1.CancelDistributedRunRequest': [],
17
+ 'sylphx.workflows.v1.CancelJobRunRequest': [],
13
18
  'sylphx.workflows.v1.CancelRunRequest': [],
19
+ 'sylphx.workflows.v1.CreateDistributedJobRequest': [
20
+ ['distributedJobId', 'distributed_job_id'],
21
+ ['distributedJob', 'distributed_job', 'sylphx.workflows.v1.DistributedJob'],
22
+ ['validateOnly', 'validate_only'],
23
+ ],
24
+ 'sylphx.workflows.v1.CreateDistributedRunRequest': [
25
+ ['distributedRunId', 'distributed_run_id'],
26
+ ['distributedRun', 'distributed_run', 'sylphx.workflows.v1.DistributedRun'],
27
+ ['validateOnly', 'validate_only'],
28
+ ],
29
+ 'sylphx.workflows.v1.CreateJobRequest': [
30
+ ['jobId', 'job_id'],
31
+ ['job', 'job', 'sylphx.workflows.v1.Job'],
32
+ ['validateOnly', 'validate_only'],
33
+ ],
34
+ 'sylphx.workflows.v1.CreateJobRunRequest': [
35
+ ['jobRunId', 'job_run_id'],
36
+ ['jobRun', 'job_run', 'sylphx.workflows.v1.JobRun'],
37
+ ['validateOnly', 'validate_only'],
38
+ ],
14
39
  'sylphx.workflows.v1.CreateRunRequest': [
15
40
  ['runId', 'run_id'],
16
41
  ['run', 'run', 'sylphx.workflows.v1.Run'],
@@ -26,6 +51,14 @@ runtime.registerSchemas({
26
51
  ['workflow', 'workflow', 'sylphx.workflows.v1.Workflow'],
27
52
  ['validateOnly', 'validate_only'],
28
53
  ],
54
+ 'sylphx.workflows.v1.DeleteDistributedJobRequest': [
55
+ ['allowMissing', 'allow_missing'],
56
+ ['validateOnly', 'validate_only'],
57
+ ],
58
+ 'sylphx.workflows.v1.DeleteJobRequest': [
59
+ ['allowMissing', 'allow_missing'],
60
+ ['validateOnly', 'validate_only'],
61
+ ],
29
62
  'sylphx.workflows.v1.DeleteScheduleRequest': [
30
63
  ['allowMissing', 'allow_missing'],
31
64
  ['validateOnly', 'validate_only'],
@@ -34,10 +67,130 @@ runtime.registerSchemas({
34
67
  ['allowMissing', 'allow_missing'],
35
68
  ['validateOnly', 'validate_only'],
36
69
  ],
70
+ 'sylphx.workflows.v1.DistributedJob': [
71
+ ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
72
+ ['spec', 'spec', 'sylphx.workflows.v1.DistributedJobSpec'],
73
+ ['status', 'status', 'sylphx.workflows.v1.DistributedJobStatus'],
74
+ ],
75
+ 'sylphx.workflows.v1.DistributedJobSpec': [
76
+ ['worker', 'worker', 'sylphx.workflows.v1.JobSpec'],
77
+ ['workerClass', 'worker_class'],
78
+ ['scale', 'scale', 'sylphx.workflows.v1.WorkerScale'],
79
+ ['scratchGib', 'scratch_gib'],
80
+ ['shardCount', 'shard_count'],
81
+ ['shardTimeout', 'shard_timeout'],
82
+ ['shardRetries', 'shard_retries'],
83
+ ['maxFailedShards', 'max_failed_shards'],
84
+ ['runTimeout', 'run_timeout'],
85
+ ['checkpointUri', 'checkpoint_uri'],
86
+ ['outputUri', 'output_uri'],
87
+ ],
88
+ 'sylphx.workflows.v1.DistributedJobStatus': [
89
+ ['observedGeneration', 'observed_generation'],
90
+ ['conditions', 'conditions', 'sylphx.common.v1.Condition'],
91
+ ],
92
+ 'sylphx.workflows.v1.DistributedRun': [
93
+ ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
94
+ ['jobGeneration', 'job_generation'],
95
+ ['manifestOpen', 'manifest_open'],
96
+ ['createTime', 'create_time'],
97
+ ['startTime', 'start_time'],
98
+ ['endTime', 'end_time'],
99
+ ['shardCounts', 'shard_counts', 'sylphx.workflows.v1.ShardCounts'],
100
+ ['workerCounts', 'worker_counts', 'sylphx.workflows.v1.WorkerCounts'],
101
+ ['usage', 'usage', 'sylphx.workflows.v1.DistributedRunUsage'],
102
+ ['env', 'env', undefined, 'map'],
103
+ ['shards', 'shards', 'sylphx.workflows.v1.ShardInput'],
104
+ ['openManifest', 'open_manifest'],
105
+ ],
106
+ 'sylphx.workflows.v1.DistributedRunUsage': [
107
+ ['workerDuration', 'worker_duration'],
108
+ ['workerClass', 'worker_class'],
109
+ ['instanceType', 'instance_type'],
110
+ ],
111
+ 'sylphx.workflows.v1.GetDistributedJobRequest': [],
112
+ 'sylphx.workflows.v1.GetDistributedRunRequest': [],
113
+ 'sylphx.workflows.v1.GetJobRequest': [],
114
+ 'sylphx.workflows.v1.GetJobRunRequest': [],
37
115
  'sylphx.workflows.v1.GetRunRequest': [],
38
116
  'sylphx.workflows.v1.GetScheduleRequest': [],
39
117
  'sylphx.workflows.v1.GetWorkflowRequest': [],
40
118
  'sylphx.workflows.v1.IntervalSpec': [],
119
+ 'sylphx.workflows.v1.Job': [
120
+ ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
121
+ ['spec', 'spec', 'sylphx.workflows.v1.JobSpec'],
122
+ ['status', 'status', 'sylphx.workflows.v1.JobStatus'],
123
+ ],
124
+ 'sylphx.workflows.v1.JobLogLine': [
125
+ ['writeTime', 'write_time'],
126
+ ],
127
+ 'sylphx.workflows.v1.JobRun': [
128
+ ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
129
+ ['jobGeneration', 'job_generation'],
130
+ ['resolvedImage', 'resolved_image'],
131
+ ['env', 'env', undefined, 'map'],
132
+ ['exitCode', 'exit_code'],
133
+ ['attemptCount', 'attempt_count'],
134
+ ['terminationReason', 'termination_reason'],
135
+ ['scheduleFire', 'schedule_fire', 'sylphx.workflows.v1.ScheduleFireRef'],
136
+ ['createTime', 'create_time'],
137
+ ['startTime', 'start_time'],
138
+ ['endTime', 'end_time'],
139
+ ['usage', 'usage', 'sylphx.workflows.v1.JobRunUsage'],
140
+ ['scheduleTime', 'schedule_time'],
141
+ ['startDelay', 'start_delay'],
142
+ ],
143
+ 'sylphx.workflows.v1.JobRunUsage': [
144
+ ['billedDuration', 'billed_duration'],
145
+ ['instanceType', 'instance_type'],
146
+ ],
147
+ 'sylphx.workflows.v1.JobSpec': [
148
+ ['env', 'env', undefined, 'map'],
149
+ ['instanceType', 'instance_type'],
150
+ ['maxRetries', 'max_retries'],
151
+ ],
152
+ 'sylphx.workflows.v1.JobStatus': [
153
+ ['observedGeneration', 'observed_generation'],
154
+ ['conditions', 'conditions', 'sylphx.common.v1.Condition'],
155
+ ['resolvedImage', 'resolved_image'],
156
+ ['lastRun', 'last_run'],
157
+ ],
158
+ 'sylphx.workflows.v1.ListDistributedJobsRequest': [
159
+ ['pageSize', 'page_size'],
160
+ ['pageToken', 'page_token'],
161
+ ['orderBy', 'order_by'],
162
+ ],
163
+ 'sylphx.workflows.v1.ListDistributedJobsResponse': [
164
+ ['distributedJobs', 'distributed_jobs', 'sylphx.workflows.v1.DistributedJob'],
165
+ ['nextPageToken', 'next_page_token'],
166
+ ],
167
+ 'sylphx.workflows.v1.ListDistributedRunsRequest': [
168
+ ['pageSize', 'page_size'],
169
+ ['pageToken', 'page_token'],
170
+ ['orderBy', 'order_by'],
171
+ ],
172
+ 'sylphx.workflows.v1.ListDistributedRunsResponse': [
173
+ ['distributedRuns', 'distributed_runs', 'sylphx.workflows.v1.DistributedRun'],
174
+ ['nextPageToken', 'next_page_token'],
175
+ ],
176
+ 'sylphx.workflows.v1.ListJobRunsRequest': [
177
+ ['pageSize', 'page_size'],
178
+ ['pageToken', 'page_token'],
179
+ ['orderBy', 'order_by'],
180
+ ],
181
+ 'sylphx.workflows.v1.ListJobRunsResponse': [
182
+ ['jobRuns', 'job_runs', 'sylphx.workflows.v1.JobRun'],
183
+ ['nextPageToken', 'next_page_token'],
184
+ ],
185
+ 'sylphx.workflows.v1.ListJobsRequest': [
186
+ ['pageSize', 'page_size'],
187
+ ['pageToken', 'page_token'],
188
+ ['orderBy', 'order_by'],
189
+ ],
190
+ 'sylphx.workflows.v1.ListJobsResponse': [
191
+ ['jobs', 'jobs', 'sylphx.workflows.v1.Job'],
192
+ ['nextPageToken', 'next_page_token'],
193
+ ],
41
194
  'sylphx.workflows.v1.ListRunsRequest': [
42
195
  ['pageSize', 'page_size'],
43
196
  ['pageToken', 'page_token'],
@@ -69,6 +222,31 @@ runtime.registerSchemas({
69
222
  ['pauseNote', 'pause_note'],
70
223
  ['validateOnly', 'validate_only'],
71
224
  ],
225
+ 'sylphx.workflows.v1.ReadDistributedRunShardsRequest': [
226
+ ['pageSize', 'page_size'],
227
+ ['pageToken', 'page_token'],
228
+ ['stateFilter', 'state_filter'],
229
+ ],
230
+ 'sylphx.workflows.v1.ReadDistributedRunShardsResponse': [
231
+ ['shards', 'shards', 'sylphx.workflows.v1.Shard'],
232
+ ['nextPageToken', 'next_page_token'],
233
+ ],
234
+ 'sylphx.workflows.v1.ReadDistributedRunWorkersRequest': [
235
+ ['pageSize', 'page_size'],
236
+ ['pageToken', 'page_token'],
237
+ ],
238
+ 'sylphx.workflows.v1.ReadDistributedRunWorkersResponse': [
239
+ ['workers', 'workers', 'sylphx.workflows.v1.Worker'],
240
+ ['nextPageToken', 'next_page_token'],
241
+ ],
242
+ 'sylphx.workflows.v1.ReadJobRunLogsRequest': [
243
+ ['pageSize', 'page_size'],
244
+ ['pageToken', 'page_token'],
245
+ ],
246
+ 'sylphx.workflows.v1.ReadJobRunLogsResponse': [
247
+ ['lines', 'lines', 'sylphx.workflows.v1.JobLogLine'],
248
+ ['nextPageToken', 'next_page_token'],
249
+ ],
72
250
  'sylphx.workflows.v1.ReadRunHistoryRequest': [
73
251
  ['pageSize', 'page_size'],
74
252
  ['pageToken', 'page_token'],
@@ -98,6 +276,7 @@ runtime.registerSchemas({
98
276
  ['attemptCount', 'attempt_count'],
99
277
  ['output', 'output', undefined, 'json'],
100
278
  ['error', 'error', 'sylphx.workflows.v1.RunError'],
279
+ ['scheduleTime', 'schedule_time'],
101
280
  ],
102
281
  'sylphx.workflows.v1.RunError': [],
103
282
  'sylphx.workflows.v1.RunHistoryEvent': [
@@ -131,6 +310,13 @@ runtime.registerSchemas({
131
310
  ['lastFire', 'last_fire', 'sylphx.workflows.v1.ScheduleFire'],
132
311
  ],
133
312
  'sylphx.workflows.v1.ServiceHandler': [],
313
+ 'sylphx.workflows.v1.Shard': [
314
+ ['outputs', 'outputs', undefined, 'json'],
315
+ ],
316
+ 'sylphx.workflows.v1.ShardCounts': [],
317
+ 'sylphx.workflows.v1.ShardInput': [
318
+ ['input', 'input', undefined, 'json'],
319
+ ],
134
320
  'sylphx.workflows.v1.SignalRunRequest': [
135
321
  ['payload', 'payload', undefined, 'json'],
136
322
  ],
@@ -141,6 +327,18 @@ runtime.registerSchemas({
141
327
  'sylphx.workflows.v1.StartRunBatchResponse': [
142
328
  ['run', 'run', 'sylphx.workflows.v1.Run'],
143
329
  ],
330
+ 'sylphx.workflows.v1.UpdateDistributedJobRequest': [
331
+ ['distributedJob', 'distributed_job', 'sylphx.workflows.v1.DistributedJob'],
332
+ ['updateMask', 'update_mask'],
333
+ ['allowMissing', 'allow_missing'],
334
+ ['validateOnly', 'validate_only'],
335
+ ],
336
+ 'sylphx.workflows.v1.UpdateJobRequest': [
337
+ ['job', 'job', 'sylphx.workflows.v1.Job'],
338
+ ['updateMask', 'update_mask'],
339
+ ['allowMissing', 'allow_missing'],
340
+ ['validateOnly', 'validate_only'],
341
+ ],
144
342
  'sylphx.workflows.v1.UpdateScheduleRequest': [
145
343
  ['schedule', 'schedule', 'sylphx.workflows.v1.Schedule'],
146
344
  ['updateMask', 'update_mask'],
@@ -154,6 +352,15 @@ runtime.registerSchemas({
154
352
  ['validateOnly', 'validate_only'],
155
353
  ],
156
354
  'sylphx.workflows.v1.WaitRunRequest': [],
355
+ 'sylphx.workflows.v1.Worker': [
356
+ ['startTime', 'start_time'],
357
+ ['endTime', 'end_time'],
358
+ ],
359
+ 'sylphx.workflows.v1.WorkerCounts': [],
360
+ 'sylphx.workflows.v1.WorkerScale': [
361
+ ['minWorkers', 'min_workers'],
362
+ ['maxWorkers', 'max_workers'],
363
+ ],
157
364
  'sylphx.workflows.v1.Workflow': [
158
365
  ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
159
366
  ['spec', 'spec', 'sylphx.workflows.v1.WorkflowSpec'],
@@ -178,8 +385,7 @@ runtime.registerSchemas({
178
385
  });
179
386
  /**
180
387
  * WorkflowsService is Sylphx Workflows: durable execution, schedules, timers,
181
- * and runs (docs/services/workflows/vision.md, workflows-on-temporal.md §6).
182
- * Workflows is the one writer of these types.
388
+ * and runs. Workflows is the one writer of these types.
183
389
  *
184
390
  * Namespace of Sylphx Workflows on `Sylphx`.
185
391
  */
@@ -190,10 +396,22 @@ export class WorkflowsApi {
190
396
  schedules;
191
397
  /** The `runs` collection. */
192
398
  runs;
399
+ /** The `jobs` collection. */
400
+ jobs;
401
+ /** The `job_runs` collection. */
402
+ jobRuns;
403
+ /** The `distributed_jobs` collection. */
404
+ distributedJobs;
405
+ /** The `distributed_runs` collection. */
406
+ distributedRuns;
193
407
  constructor(client) {
194
408
  this.workflows = new WorkflowsCollection(client);
195
409
  this.schedules = new SchedulesCollection(client);
196
410
  this.runs = new RunsCollection(client);
411
+ this.jobs = new JobsCollection(client);
412
+ this.jobRuns = new JobRunsCollection(client);
413
+ this.distributedJobs = new DistributedJobsCollection(client);
414
+ this.distributedRuns = new DistributedRunsCollection(client);
197
415
  }
198
416
  }
199
417
  /** `workflows` of Sylphx Workflows: Resource type `workflows.sylphx.com/Workflow`. */
@@ -592,4 +810,455 @@ export class RunsCollection {
592
810
  });
593
811
  }
594
812
  }
813
+ /** `jobs` of Sylphx Workflows: Resource type `workflows.sylphx.com/Job`. */
814
+ export class JobsCollection {
815
+ client;
816
+ constructor(client) {
817
+ this.client = client;
818
+ }
819
+ /**
820
+ * Gets a job.
821
+ *
822
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/jobs/*}` · permission `workflows:read` · effect `read`
823
+ *
824
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
825
+ */
826
+ async get(request) {
827
+ return this.client.call({
828
+ method: 'GET',
829
+ path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/jobs/*', 'name')}`,
830
+ responseType: 'sylphx.workflows.v1.Job',
831
+ mutation: false,
832
+ });
833
+ }
834
+ /**
835
+ * Lists jobs.
836
+ *
837
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/jobs` · permission `workflows:read` · effect `read`
838
+ *
839
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
840
+ */
841
+ async list(request) {
842
+ return this.client.call({
843
+ method: 'GET',
844
+ path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/jobs`,
845
+ query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
846
+ responseType: 'sylphx.workflows.v1.ListJobsResponse',
847
+ mutation: false,
848
+ });
849
+ }
850
+ /** Every item of every page of `list`. */
851
+ async *listAll(request) {
852
+ let next = request;
853
+ for (;;) {
854
+ const page = await this.list(next);
855
+ yield* page.jobs ?? [];
856
+ if (page.nextPageToken === undefined || page.nextPageToken === '')
857
+ return;
858
+ next = { ...request, pageToken: page.nextPageToken };
859
+ }
860
+ }
861
+ /**
862
+ * Creates a job.
863
+ *
864
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/jobs` · permission `workflows:write` · effect `write`
865
+ *
866
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`.
867
+ */
868
+ async create(request) {
869
+ const operation = await this.client.call({
870
+ method: 'POST',
871
+ path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/jobs`,
872
+ query: { job_id: request.jobId, validate_only: request.validateOnly },
873
+ body: request.job ?? {},
874
+ bodyType: 'sylphx.workflows.v1.Job',
875
+ responseType: 'sylphx.common.v1.Operation',
876
+ mutation: true,
877
+ });
878
+ return new runtime.Operation(this.client, operation, 'sylphx.workflows.v1.Job');
879
+ }
880
+ /**
881
+ * Updates a job. Runs already started keep the generation they pinned.
882
+ *
883
+ * `PATCH /v1/{job.name=orgs/*\/projects/*\/envs/*\/jobs/*}` · permission `workflows:write` · effect `write`
884
+ *
885
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `ETAG_MISMATCH`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
886
+ */
887
+ async update(request) {
888
+ const operation = await this.client.call({
889
+ method: 'PATCH',
890
+ path: `/v1/${runtime.pathParam(request.job?.name, 'orgs/*/projects/*/envs/*/jobs/*', 'job.name')}`,
891
+ query: { update_mask: request.updateMask, allow_missing: request.allowMissing, validate_only: request.validateOnly },
892
+ body: request.job ?? {},
893
+ bodyType: 'sylphx.workflows.v1.Job',
894
+ responseType: 'sylphx.common.v1.Operation',
895
+ mutation: true,
896
+ });
897
+ return new runtime.Operation(this.client, operation, 'sylphx.workflows.v1.Job');
898
+ }
899
+ /**
900
+ * Deletes a job.
901
+ *
902
+ * `DELETE /v1/{name=orgs/*\/projects/*\/envs/*\/jobs/*}` · permission `workflows:write` · effect `destructive`
903
+ *
904
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
905
+ */
906
+ async delete(request) {
907
+ const operation = await this.client.call({
908
+ method: 'DELETE',
909
+ path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/jobs/*', 'name')}`,
910
+ query: { etag: request.etag, allow_missing: request.allowMissing, validate_only: request.validateOnly, force: request.force },
911
+ responseType: 'sylphx.common.v1.Operation',
912
+ mutation: true,
913
+ });
914
+ return new runtime.Operation(this.client, operation, undefined);
915
+ }
916
+ }
917
+ /** `job_runs` of Sylphx Workflows: Resource type `workflows.sylphx.com/JobRun`. */
918
+ export class JobRunsCollection {
919
+ client;
920
+ constructor(client) {
921
+ this.client = client;
922
+ }
923
+ /**
924
+ * Starts a run of a Job now. The same `Idempotency-Key` returns the same
925
+ * run for 24h; a Schedule fire uses `{job}:{intended time}`. With
926
+ * concurrency `forbid`, a start while a run is active fails with
927
+ * INVALID_STATE.
928
+ *
929
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*\/jobs/*}/job_runs` · permission `workflows:run` · effect `write`
930
+ *
931
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `INVALID_STATE`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`.
932
+ */
933
+ async create(request) {
934
+ return this.client.call({
935
+ method: 'POST',
936
+ path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/jobs/*', 'parent')}/job_runs`,
937
+ query: { job_run_id: request.jobRunId, validate_only: request.validateOnly },
938
+ body: request.jobRun ?? {},
939
+ bodyType: 'sylphx.workflows.v1.JobRun',
940
+ responseType: 'sylphx.workflows.v1.JobRun',
941
+ mutation: true,
942
+ });
943
+ }
944
+ /**
945
+ * Gets a job run.
946
+ *
947
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/jobs/*\/job_runs/*}` · permission `workflows:read` · effect `read`
948
+ *
949
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
950
+ */
951
+ async get(request) {
952
+ return this.client.call({
953
+ method: 'GET',
954
+ path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/jobs/*/job_runs/*', 'name')}`,
955
+ responseType: 'sylphx.workflows.v1.JobRun',
956
+ mutation: false,
957
+ });
958
+ }
959
+ /**
960
+ * Lists a job's runs, newest first.
961
+ *
962
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/jobs/*}/job_runs` · permission `workflows:read` · effect `read`
963
+ *
964
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
965
+ */
966
+ async list(request) {
967
+ return this.client.call({
968
+ method: 'GET',
969
+ path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/jobs/*', 'parent')}/job_runs`,
970
+ query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
971
+ responseType: 'sylphx.workflows.v1.ListJobRunsResponse',
972
+ mutation: false,
973
+ });
974
+ }
975
+ /** Every item of every page of `list`. */
976
+ async *listAll(request) {
977
+ let next = request;
978
+ for (;;) {
979
+ const page = await this.list(next);
980
+ yield* page.jobRuns ?? [];
981
+ if (page.nextPageToken === undefined || page.nextPageToken === '')
982
+ return;
983
+ next = { ...request, pageToken: page.nextPageToken };
984
+ }
985
+ }
986
+ /**
987
+ * Cancels a job run: SIGTERM, then SIGKILL after 30s. A closed run fails
988
+ * with INVALID_STATE.
989
+ *
990
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/jobs/*\/job_runs/*}:cancel` · permission `workflows:run` · effect `destructive`
991
+ *
992
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
993
+ */
994
+ async cancel(request) {
995
+ return this.client.call({
996
+ method: 'POST',
997
+ path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/jobs/*/job_runs/*', 'name')}:cancel`,
998
+ body: runtime.omit(request, ['name']),
999
+ bodyType: 'sylphx.workflows.v1.CancelJobRunRequest',
1000
+ responseType: 'sylphx.workflows.v1.JobRun',
1001
+ mutation: true,
1002
+ });
1003
+ }
1004
+ /**
1005
+ * Reads a page of a job run's log lines, oldest first. With `wait`, an
1006
+ * empty page on a running run waits up to that long for new lines, so a
1007
+ * client follows the log by passing each `next_page_token` back.
1008
+ *
1009
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/jobs/*\/job_runs/*}:readLogs` · permission `workflows:read` · effect `read`
1010
+ *
1011
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `PAGE_TOKEN_MISMATCH`.
1012
+ */
1013
+ async readLogs(request) {
1014
+ return this.client.call({
1015
+ method: 'GET',
1016
+ path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/jobs/*/job_runs/*', 'name')}:readLogs`,
1017
+ query: { page_size: request.pageSize, page_token: request.pageToken, wait: request.wait },
1018
+ responseType: 'sylphx.workflows.v1.ReadJobRunLogsResponse',
1019
+ mutation: false,
1020
+ });
1021
+ }
1022
+ }
1023
+ /** `distributed_jobs` of Sylphx Workflows: Resource type `workflows.sylphx.com/DistributedJob`. */
1024
+ export class DistributedJobsCollection {
1025
+ client;
1026
+ constructor(client) {
1027
+ this.client = client;
1028
+ }
1029
+ /**
1030
+ * Gets a distributed job.
1031
+ *
1032
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/distributed_jobs/*}` · permission `workflows:read` · effect `read`
1033
+ *
1034
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
1035
+ */
1036
+ async get(request) {
1037
+ return this.client.call({
1038
+ method: 'GET',
1039
+ path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/distributed_jobs/*', 'name')}`,
1040
+ responseType: 'sylphx.workflows.v1.DistributedJob',
1041
+ mutation: false,
1042
+ });
1043
+ }
1044
+ /**
1045
+ * Lists distributed jobs.
1046
+ *
1047
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/distributed_jobs` · permission `workflows:read` · effect `read`
1048
+ *
1049
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
1050
+ */
1051
+ async list(request) {
1052
+ return this.client.call({
1053
+ method: 'GET',
1054
+ path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/distributed_jobs`,
1055
+ query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
1056
+ responseType: 'sylphx.workflows.v1.ListDistributedJobsResponse',
1057
+ mutation: false,
1058
+ });
1059
+ }
1060
+ /** Every item of every page of `list`. */
1061
+ async *listAll(request) {
1062
+ let next = request;
1063
+ for (;;) {
1064
+ const page = await this.list(next);
1065
+ yield* page.distributedJobs ?? [];
1066
+ if (page.nextPageToken === undefined || page.nextPageToken === '')
1067
+ return;
1068
+ next = { ...request, pageToken: page.nextPageToken };
1069
+ }
1070
+ }
1071
+ /**
1072
+ * Creates a distributed job.
1073
+ *
1074
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/distributed_jobs` · permission `workflows:write` · effect `write`
1075
+ *
1076
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`.
1077
+ */
1078
+ async create(request) {
1079
+ const operation = await this.client.call({
1080
+ method: 'POST',
1081
+ path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/distributed_jobs`,
1082
+ query: { distributed_job_id: request.distributedJobId, validate_only: request.validateOnly },
1083
+ body: request.distributedJob ?? {},
1084
+ bodyType: 'sylphx.workflows.v1.DistributedJob',
1085
+ responseType: 'sylphx.common.v1.Operation',
1086
+ mutation: true,
1087
+ });
1088
+ return new runtime.Operation(this.client, operation, 'sylphx.workflows.v1.DistributedJob');
1089
+ }
1090
+ /**
1091
+ * Updates a distributed job. Runs already started keep the generation they
1092
+ * pinned.
1093
+ *
1094
+ * `PATCH /v1/{distributed_job.name=orgs/*\/projects/*\/envs/*\/distributed_jobs/*}` · permission `workflows:write` · effect `write`
1095
+ *
1096
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `ETAG_MISMATCH`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
1097
+ */
1098
+ async update(request) {
1099
+ const operation = await this.client.call({
1100
+ method: 'PATCH',
1101
+ path: `/v1/${runtime.pathParam(request.distributedJob?.name, 'orgs/*/projects/*/envs/*/distributed_jobs/*', 'distributed_job.name')}`,
1102
+ query: { update_mask: request.updateMask, allow_missing: request.allowMissing, validate_only: request.validateOnly },
1103
+ body: request.distributedJob ?? {},
1104
+ bodyType: 'sylphx.workflows.v1.DistributedJob',
1105
+ responseType: 'sylphx.common.v1.Operation',
1106
+ mutation: true,
1107
+ });
1108
+ return new runtime.Operation(this.client, operation, 'sylphx.workflows.v1.DistributedJob');
1109
+ }
1110
+ /**
1111
+ * Deletes a distributed job.
1112
+ *
1113
+ * `DELETE /v1/{name=orgs/*\/projects/*\/envs/*\/distributed_jobs/*}` · permission `workflows:write` · effect `destructive`
1114
+ *
1115
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
1116
+ */
1117
+ async delete(request) {
1118
+ const operation = await this.client.call({
1119
+ method: 'DELETE',
1120
+ path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/distributed_jobs/*', 'name')}`,
1121
+ query: { etag: request.etag, allow_missing: request.allowMissing, validate_only: request.validateOnly, force: request.force },
1122
+ responseType: 'sylphx.common.v1.Operation',
1123
+ mutation: true,
1124
+ });
1125
+ return new runtime.Operation(this.client, operation, undefined);
1126
+ }
1127
+ }
1128
+ /** `distributed_runs` of Sylphx Workflows: Resource type `workflows.sylphx.com/DistributedRun`. */
1129
+ export class DistributedRunsCollection {
1130
+ client;
1131
+ constructor(client) {
1132
+ this.client = client;
1133
+ }
1134
+ /**
1135
+ * Starts a run of a distributed job. The same `Idempotency-Key` returns the
1136
+ * same run for 24h.
1137
+ *
1138
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*\/distributed_jobs/*}/distributed_runs` · permission `workflows:run` · effect `write`
1139
+ *
1140
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `INVALID_STATE`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`.
1141
+ */
1142
+ async create(request) {
1143
+ return this.client.call({
1144
+ method: 'POST',
1145
+ path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/distributed_jobs/*', 'parent')}/distributed_runs`,
1146
+ query: { distributed_run_id: request.distributedRunId, validate_only: request.validateOnly },
1147
+ body: request.distributedRun ?? {},
1148
+ bodyType: 'sylphx.workflows.v1.DistributedRun',
1149
+ responseType: 'sylphx.workflows.v1.DistributedRun',
1150
+ mutation: true,
1151
+ });
1152
+ }
1153
+ /**
1154
+ * Gets a distributed run: its state, shard and worker counts, and usage.
1155
+ *
1156
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/distributed_jobs/*\/distributed_runs/*}` · permission `workflows:read` · effect `read`
1157
+ *
1158
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
1159
+ */
1160
+ async get(request) {
1161
+ return this.client.call({
1162
+ method: 'GET',
1163
+ path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/distributed_jobs/*/distributed_runs/*', 'name')}`,
1164
+ responseType: 'sylphx.workflows.v1.DistributedRun',
1165
+ mutation: false,
1166
+ });
1167
+ }
1168
+ /**
1169
+ * Lists a distributed job's runs, newest first.
1170
+ *
1171
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/distributed_jobs/*}/distributed_runs` · permission `workflows:read` · effect `read`
1172
+ *
1173
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
1174
+ */
1175
+ async list(request) {
1176
+ return this.client.call({
1177
+ method: 'GET',
1178
+ path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/distributed_jobs/*', 'parent')}/distributed_runs`,
1179
+ query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
1180
+ responseType: 'sylphx.workflows.v1.ListDistributedRunsResponse',
1181
+ mutation: false,
1182
+ });
1183
+ }
1184
+ /** Every item of every page of `list`. */
1185
+ async *listAll(request) {
1186
+ let next = request;
1187
+ for (;;) {
1188
+ const page = await this.list(next);
1189
+ yield* page.distributedRuns ?? [];
1190
+ if (page.nextPageToken === undefined || page.nextPageToken === '')
1191
+ return;
1192
+ next = { ...request, pageToken: page.nextPageToken };
1193
+ }
1194
+ }
1195
+ /**
1196
+ * Cancels a distributed run: workers get SIGTERM and 30s, then leases are
1197
+ * released; finished shards are kept. A closed run fails with INVALID_STATE.
1198
+ *
1199
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/distributed_jobs/*\/distributed_runs/*}:cancel` · permission `workflows:run` · effect `destructive`
1200
+ *
1201
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
1202
+ */
1203
+ async cancel(request) {
1204
+ return this.client.call({
1205
+ method: 'POST',
1206
+ path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/distributed_jobs/*/distributed_runs/*', 'name')}:cancel`,
1207
+ body: runtime.omit(request, ['name']),
1208
+ bodyType: 'sylphx.workflows.v1.CancelDistributedRunRequest',
1209
+ responseType: 'sylphx.workflows.v1.DistributedRun',
1210
+ mutation: true,
1211
+ });
1212
+ }
1213
+ /**
1214
+ * Appends shards to a run started with an open manifest; `close` ends the
1215
+ * manifest, and the run ends once those shards are done.
1216
+ *
1217
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/distributed_jobs/*\/distributed_runs/*}:addShards` · permission `workflows:run` · effect `write`
1218
+ *
1219
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
1220
+ */
1221
+ async addShards(request) {
1222
+ return this.client.call({
1223
+ method: 'POST',
1224
+ path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/distributed_jobs/*/distributed_runs/*', 'name')}:addShards`,
1225
+ body: runtime.omit(request, ['name']),
1226
+ bodyType: 'sylphx.workflows.v1.AddDistributedRunShardsRequest',
1227
+ responseType: 'sylphx.workflows.v1.DistributedRun',
1228
+ mutation: true,
1229
+ });
1230
+ }
1231
+ /**
1232
+ * Reads a page of the run's shards, in queue order.
1233
+ *
1234
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/distributed_jobs/*\/distributed_runs/*}:readShards` · permission `workflows:read` · effect `read`
1235
+ *
1236
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`, `RESOURCE_NOT_FOUND`.
1237
+ */
1238
+ async readShards(request) {
1239
+ return this.client.call({
1240
+ method: 'GET',
1241
+ path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/distributed_jobs/*/distributed_runs/*', 'name')}:readShards`,
1242
+ query: { page_size: request.pageSize, page_token: request.pageToken, state_filter: request.stateFilter },
1243
+ responseType: 'sylphx.workflows.v1.ReadDistributedRunShardsResponse',
1244
+ mutation: false,
1245
+ });
1246
+ }
1247
+ /**
1248
+ * Reads a page of the run's workers.
1249
+ *
1250
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/distributed_jobs/*\/distributed_runs/*}:readWorkers` · permission `workflows:read` · effect `read`
1251
+ *
1252
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`, `RESOURCE_NOT_FOUND`.
1253
+ */
1254
+ async readWorkers(request) {
1255
+ return this.client.call({
1256
+ method: 'GET',
1257
+ path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/distributed_jobs/*/distributed_runs/*', 'name')}:readWorkers`,
1258
+ query: { page_size: request.pageSize, page_token: request.pageToken },
1259
+ responseType: 'sylphx.workflows.v1.ReadDistributedRunWorkersResponse',
1260
+ mutation: false,
1261
+ });
1262
+ }
1263
+ }
595
1264
  //# sourceMappingURL=workflows.js.map