@temporalio/proto 1.6.0 → 1.7.1

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.
@@ -6,6 +6,9 @@ var $protobuf = require("protobufjs/light");
6
6
  var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $protobuf.Root()))
7
7
  .addJSON({
8
8
  coresdk: {
9
+ options: {
10
+ ruby_package: "Temporalio::Bridge::Api::CoreInterface"
11
+ },
9
12
  nested: {
10
13
  ActivityHeartbeat: {
11
14
  fields: {
@@ -33,6 +36,9 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
33
36
  }
34
37
  },
35
38
  activity_result: {
39
+ options: {
40
+ ruby_package: "Temporalio::Bridge::Api::ActivityResult"
41
+ },
36
42
  nested: {
37
43
  ActivityExecutionResult: {
38
44
  oneofs: {
@@ -140,6 +146,9 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
140
146
  }
141
147
  },
142
148
  activity_task: {
149
+ options: {
150
+ ruby_package: "Temporalio::Bridge::Api::ActivityTask"
151
+ },
143
152
  nested: {
144
153
  ActivityTask: {
145
154
  oneofs: {
@@ -252,12 +261,16 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
252
261
  values: {
253
262
  NOT_FOUND: 0,
254
263
  CANCELLED: 1,
255
- TIMED_OUT: 2
264
+ TIMED_OUT: 2,
265
+ WORKER_SHUTDOWN: 3
256
266
  }
257
267
  }
258
268
  }
259
269
  },
260
270
  common: {
271
+ options: {
272
+ ruby_package: "Temporalio::Bridge::Api::Common"
273
+ },
261
274
  nested: {
262
275
  NamespacedWorkflowExecution: {
263
276
  fields: {
@@ -278,6 +291,9 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
278
291
  }
279
292
  },
280
293
  external_data: {
294
+ options: {
295
+ ruby_package: "Temporalio::Bridge::Api::ExternalData"
296
+ },
281
297
  nested: {
282
298
  LocalActivityMarkerData: {
283
299
  fields: {
@@ -310,10 +326,25 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
310
326
  id: 7
311
327
  }
312
328
  }
329
+ },
330
+ PatchedMarkerData: {
331
+ fields: {
332
+ id: {
333
+ type: "string",
334
+ id: 1
335
+ },
336
+ deprecated: {
337
+ type: "bool",
338
+ id: 2
339
+ }
340
+ }
313
341
  }
314
342
  }
315
343
  },
316
344
  workflow_activation: {
345
+ options: {
346
+ ruby_package: "Temporalio::Bridge::Api::WorkflowActivation"
347
+ },
317
348
  nested: {
318
349
  WorkflowActivation: {
319
350
  fields: {
@@ -337,6 +368,11 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
337
368
  rule: "repeated",
338
369
  type: "WorkflowActivationJob",
339
370
  id: 5
371
+ },
372
+ availableInternalFlags: {
373
+ rule: "repeated",
374
+ type: "uint32",
375
+ id: 6
340
376
  }
341
377
  }
342
378
  },
@@ -730,6 +766,9 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
730
766
  }
731
767
  },
732
768
  child_workflow: {
769
+ options: {
770
+ ruby_package: "Temporalio::Bridge::Api::ChildWorkflow"
771
+ },
733
772
  nested: {
734
773
  ChildWorkflowResult: {
735
774
  oneofs: {
@@ -805,6 +844,9 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
805
844
  }
806
845
  },
807
846
  workflow_commands: {
847
+ options: {
848
+ ruby_package: "Temporalio::Bridge::Api::WorkflowCommands"
849
+ },
808
850
  nested: {
809
851
  WorkflowCommand: {
810
852
  oneofs: {
@@ -1351,6 +1393,9 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1351
1393
  }
1352
1394
  },
1353
1395
  workflow_completion: {
1396
+ options: {
1397
+ ruby_package: "Temporalio::Bridge::Api::WorkflowCompletion"
1398
+ },
1354
1399
  nested: {
1355
1400
  WorkflowActivationCompletion: {
1356
1401
  oneofs: {
@@ -1382,6 +1427,11 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1382
1427
  rule: "repeated",
1383
1428
  type: "workflow_commands.WorkflowCommand",
1384
1429
  id: 1
1430
+ },
1431
+ usedInternalFlags: {
1432
+ rule: "repeated",
1433
+ type: "uint32",
1434
+ id: 6
1385
1435
  }
1386
1436
  }
1387
1437
  },
@@ -1390,6 +1440,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1390
1440
  failure: {
1391
1441
  type: "temporal.api.failure.v1.Failure",
1392
1442
  id: 1
1443
+ },
1444
+ forceCause: {
1445
+ type: "temporal.api.enums.v1.WorkflowTaskFailedCause",
1446
+ id: 2
1393
1447
  }
1394
1448
  }
1395
1449
  }
@@ -1532,6 +1586,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1532
1586
  id: 5
1533
1587
  }
1534
1588
  }
1589
+ },
1590
+ MeteringMetadata: {
1591
+ fields: {
1592
+ nonfirstLocalActivityExecutionAttempts: {
1593
+ type: "uint32",
1594
+ id: 13
1595
+ }
1596
+ }
1535
1597
  }
1536
1598
  }
1537
1599
  }
@@ -1656,45 +1718,6 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1656
1718
  TIMEOUT_TYPE_HEARTBEAT: 4
1657
1719
  }
1658
1720
  },
1659
- BatchOperationType: {
1660
- values: {
1661
- BATCH_OPERATION_TYPE_UNSPECIFIED: 0,
1662
- BATCH_OPERATION_TYPE_TERMINATE: 1,
1663
- BATCH_OPERATION_TYPE_CANCEL: 2,
1664
- BATCH_OPERATION_TYPE_SIGNAL: 3,
1665
- BATCH_OPERATION_TYPE_DELETE: 4
1666
- }
1667
- },
1668
- BatchOperationState: {
1669
- values: {
1670
- BATCH_OPERATION_STATE_UNSPECIFIED: 0,
1671
- BATCH_OPERATION_STATE_RUNNING: 1,
1672
- BATCH_OPERATION_STATE_COMPLETED: 2,
1673
- BATCH_OPERATION_STATE_FAILED: 3
1674
- }
1675
- },
1676
- NamespaceState: {
1677
- values: {
1678
- NAMESPACE_STATE_UNSPECIFIED: 0,
1679
- NAMESPACE_STATE_REGISTERED: 1,
1680
- NAMESPACE_STATE_DEPRECATED: 2,
1681
- NAMESPACE_STATE_DELETED: 3
1682
- }
1683
- },
1684
- ArchivalState: {
1685
- values: {
1686
- ARCHIVAL_STATE_UNSPECIFIED: 0,
1687
- ARCHIVAL_STATE_DISABLED: 1,
1688
- ARCHIVAL_STATE_ENABLED: 2
1689
- }
1690
- },
1691
- ReplicationState: {
1692
- values: {
1693
- REPLICATION_STATE_UNSPECIFIED: 0,
1694
- REPLICATION_STATE_NORMAL: 1,
1695
- REPLICATION_STATE_HANDOVER: 2
1696
- }
1697
- },
1698
1721
  WorkflowTaskFailedCause: {
1699
1722
  values: {
1700
1723
  WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED: 0,
@@ -1726,7 +1749,9 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1726
1749
  WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED: 26,
1727
1750
  WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED: 27,
1728
1751
  WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED: 28,
1729
- WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED: 29
1752
+ WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED: 29,
1753
+ WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE: 30,
1754
+ WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE: 31
1730
1755
  }
1731
1756
  },
1732
1757
  StartChildWorkflowExecutionFailedCause: {
@@ -1759,6 +1784,45 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1759
1784
  RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT: 4
1760
1785
  }
1761
1786
  },
1787
+ BatchOperationType: {
1788
+ values: {
1789
+ BATCH_OPERATION_TYPE_UNSPECIFIED: 0,
1790
+ BATCH_OPERATION_TYPE_TERMINATE: 1,
1791
+ BATCH_OPERATION_TYPE_CANCEL: 2,
1792
+ BATCH_OPERATION_TYPE_SIGNAL: 3,
1793
+ BATCH_OPERATION_TYPE_DELETE: 4
1794
+ }
1795
+ },
1796
+ BatchOperationState: {
1797
+ values: {
1798
+ BATCH_OPERATION_STATE_UNSPECIFIED: 0,
1799
+ BATCH_OPERATION_STATE_RUNNING: 1,
1800
+ BATCH_OPERATION_STATE_COMPLETED: 2,
1801
+ BATCH_OPERATION_STATE_FAILED: 3
1802
+ }
1803
+ },
1804
+ NamespaceState: {
1805
+ values: {
1806
+ NAMESPACE_STATE_UNSPECIFIED: 0,
1807
+ NAMESPACE_STATE_REGISTERED: 1,
1808
+ NAMESPACE_STATE_DEPRECATED: 2,
1809
+ NAMESPACE_STATE_DELETED: 3
1810
+ }
1811
+ },
1812
+ ArchivalState: {
1813
+ values: {
1814
+ ARCHIVAL_STATE_UNSPECIFIED: 0,
1815
+ ARCHIVAL_STATE_DISABLED: 1,
1816
+ ARCHIVAL_STATE_ENABLED: 2
1817
+ }
1818
+ },
1819
+ ReplicationState: {
1820
+ values: {
1821
+ REPLICATION_STATE_UNSPECIFIED: 0,
1822
+ REPLICATION_STATE_NORMAL: 1,
1823
+ REPLICATION_STATE_HANDOVER: 2
1824
+ }
1825
+ },
1762
1826
  QueryResultType: {
1763
1827
  values: {
1764
1828
  QUERY_RESULT_TYPE_UNSPECIFIED: 0,
@@ -1795,12 +1859,6 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1795
1859
  TASK_QUEUE_TYPE_ACTIVITY: 2
1796
1860
  }
1797
1861
  },
1798
- WorkflowUpdateResultAccessStyle: {
1799
- values: {
1800
- WORKFLOW_UPDATE_RESULT_ACCESS_STYLE_UNSPECIFIED: 0,
1801
- WORKFLOW_UPDATE_RESULT_ACCESS_STYLE_REQUIRE_INLINE: 1
1802
- }
1803
- },
1804
1862
  EventType: {
1805
1863
  values: {
1806
1864
  EVENT_TYPE_UNSPECIFIED: 0,
@@ -1844,20 +1902,20 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1844
1902
  EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED: 38,
1845
1903
  EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED: 39,
1846
1904
  EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES: 40,
1847
- EVENT_TYPE_WORKFLOW_UPDATE_REJECTED: 41,
1848
- EVENT_TYPE_WORKFLOW_UPDATE_ACCEPTED: 42,
1849
- EVENT_TYPE_WORKFLOW_UPDATE_COMPLETED: 43,
1905
+ EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED: 41,
1906
+ EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED: 42,
1907
+ EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED: 43,
1850
1908
  EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY: 44,
1851
1909
  EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY: 45,
1852
1910
  EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED: 46
1853
1911
  }
1854
1912
  },
1855
- InteractionType: {
1913
+ UpdateWorkflowExecutionLifecycleStage: {
1856
1914
  values: {
1857
- INTERACTION_TYPE_UNSPECIFIED: 0,
1858
- INTERACTION_TYPE_WORKFLOW_QUERY: 1,
1859
- INTERACTION_TYPE_WORKFLOW_UPDATE: 2,
1860
- INTERACTION_TYPE_WORKFLOW_SIGNAL: 3
1915
+ UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED: 0,
1916
+ UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED: 1,
1917
+ UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED: 2,
1918
+ UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED: 3
1861
1919
  }
1862
1920
  },
1863
1921
  CommandType: {
@@ -1876,10 +1934,8 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1876
1934
  COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION: 11,
1877
1935
  COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION: 12,
1878
1936
  COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES: 13,
1879
- COMMAND_TYPE_ACCEPT_WORKFLOW_UPDATE: 14,
1880
- COMMAND_TYPE_COMPLETE_WORKFLOW_UPDATE: 15,
1881
- COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES: 16,
1882
- COMMAND_TYPE_REJECT_WORKFLOW_UPDATE: 17
1937
+ COMMAND_TYPE_PROTOCOL_MESSAGE: 14,
1938
+ COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES: 16
1883
1939
  }
1884
1940
  },
1885
1941
  ScheduleOverlapPolicy: {
@@ -2308,9 +2364,9 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
2308
2364
  requestType: "GetWorkerBuildIdOrderingRequest",
2309
2365
  responseType: "GetWorkerBuildIdOrderingResponse"
2310
2366
  },
2311
- UpdateWorkflow: {
2312
- requestType: "UpdateWorkflowRequest",
2313
- responseType: "UpdateWorkflowResponse"
2367
+ UpdateWorkflowExecution: {
2368
+ requestType: "UpdateWorkflowExecutionRequest",
2369
+ responseType: "UpdateWorkflowExecutionResponse"
2314
2370
  },
2315
2371
  StartBatchOperation: {
2316
2372
  requestType: "StartBatchOperationRequest",
@@ -2609,6 +2665,18 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
2609
2665
  header: {
2610
2666
  type: "temporal.api.common.v1.Header",
2611
2667
  id: 16
2668
+ },
2669
+ requestEagerExecution: {
2670
+ type: "bool",
2671
+ id: 17
2672
+ },
2673
+ continuedFailure: {
2674
+ type: "temporal.api.failure.v1.Failure",
2675
+ id: 18
2676
+ },
2677
+ lastCompletionResult: {
2678
+ type: "temporal.api.common.v1.Payloads",
2679
+ id: 19
2612
2680
  }
2613
2681
  }
2614
2682
  },
@@ -2617,6 +2685,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
2617
2685
  runId: {
2618
2686
  type: "string",
2619
2687
  id: 1
2688
+ },
2689
+ eagerWorkflowTask: {
2690
+ type: "PollWorkflowTaskQueueResponse",
2691
+ id: 2
2620
2692
  }
2621
2693
  }
2622
2694
  },
@@ -2794,9 +2866,9 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
2794
2866
  type: "temporal.api.query.v1.WorkflowQuery",
2795
2867
  id: 14
2796
2868
  },
2797
- interactions: {
2869
+ messages: {
2798
2870
  rule: "repeated",
2799
- type: "temporal.api.interaction.v1.Invocation",
2871
+ type: "temporal.api.protocol.v1.Message",
2800
2872
  id: 15
2801
2873
  }
2802
2874
  }
@@ -2844,6 +2916,19 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
2844
2916
  workerVersioningId: {
2845
2917
  type: "temporal.api.taskqueue.v1.VersionId",
2846
2918
  id: 10
2919
+ },
2920
+ messages: {
2921
+ rule: "repeated",
2922
+ type: "temporal.api.protocol.v1.Message",
2923
+ id: 11
2924
+ },
2925
+ sdkMetadata: {
2926
+ type: "temporal.api.sdk.v1.WorkflowTaskCompletedMetadata",
2927
+ id: 12
2928
+ },
2929
+ meteringMetadata: {
2930
+ type: "temporal.api.common.v1.MeteringMetadata",
2931
+ id: 13
2847
2932
  }
2848
2933
  }
2849
2934
  },
@@ -2889,6 +2974,11 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
2889
2974
  namespace: {
2890
2975
  type: "string",
2891
2976
  id: 6
2977
+ },
2978
+ messages: {
2979
+ rule: "repeated",
2980
+ type: "temporal.api.protocol.v1.Message",
2981
+ id: 7
2892
2982
  }
2893
2983
  }
2894
2984
  },
@@ -3973,6 +4063,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
3973
4063
  upsertMemo: {
3974
4064
  type: "bool",
3975
4065
  id: 7
4066
+ },
4067
+ eagerWorkflowStart: {
4068
+ type: "bool",
4069
+ id: 8
4070
+ },
4071
+ sdkMetadata: {
4072
+ type: "bool",
4073
+ id: 9
3976
4074
  }
3977
4075
  }
3978
4076
  }
@@ -4284,46 +4382,38 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
4284
4382
  }
4285
4383
  }
4286
4384
  },
4287
- UpdateWorkflowRequest: {
4385
+ UpdateWorkflowExecutionRequest: {
4288
4386
  fields: {
4289
- requestId: {
4387
+ namespace: {
4290
4388
  type: "string",
4291
4389
  id: 1
4292
4390
  },
4293
- resultAccessStyle: {
4294
- type: "temporal.api.enums.v1.WorkflowUpdateResultAccessStyle",
4391
+ workflowExecution: {
4392
+ type: "temporal.api.common.v1.WorkflowExecution",
4295
4393
  id: 2
4296
4394
  },
4297
- namespace: {
4395
+ firstExecutionRunId: {
4298
4396
  type: "string",
4299
4397
  id: 3
4300
4398
  },
4301
- workflowExecution: {
4302
- type: "temporal.api.common.v1.WorkflowExecution",
4399
+ waitPolicy: {
4400
+ type: "temporal.api.update.v1.WaitPolicy",
4303
4401
  id: 4
4304
4402
  },
4305
- firstExecutionRunId: {
4306
- type: "string",
4403
+ request: {
4404
+ type: "temporal.api.update.v1.Request",
4307
4405
  id: 5
4308
- },
4309
- identity: {
4310
- type: "string",
4311
- id: 6
4312
- },
4313
- input: {
4314
- type: "temporal.api.interaction.v1.Input",
4315
- id: 7
4316
4406
  }
4317
4407
  }
4318
4408
  },
4319
- UpdateWorkflowResponse: {
4409
+ UpdateWorkflowExecutionResponse: {
4320
4410
  fields: {
4321
- updateToken: {
4322
- type: "bytes",
4411
+ updateRef: {
4412
+ type: "temporal.api.update.v1.UpdateRef",
4323
4413
  id: 1
4324
4414
  },
4325
- output: {
4326
- type: "temporal.api.interaction.v1.Output",
4415
+ outcome: {
4416
+ type: "temporal.api.update.v1.Outcome",
4327
4417
  id: 2
4328
4418
  }
4329
4419
  }
@@ -4356,6 +4446,11 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
4356
4446
  type: "string",
4357
4447
  id: 4
4358
4448
  },
4449
+ executions: {
4450
+ rule: "repeated",
4451
+ type: "temporal.api.common.v1.WorkflowExecution",
4452
+ id: 5
4453
+ },
4359
4454
  terminationOperation: {
4360
4455
  type: "temporal.api.batch.v1.BatchOperationTermination",
4361
4456
  id: 10
@@ -4815,6 +4910,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
4815
4910
  workerVersioningId: {
4816
4911
  type: "temporal.api.taskqueue.v1.VersionId",
4817
4912
  id: 5
4913
+ },
4914
+ sdkMetadata: {
4915
+ type: "temporal.api.sdk.v1.WorkflowTaskCompletedMetadata",
4916
+ id: 6
4917
+ },
4918
+ meteringMetadata: {
4919
+ type: "temporal.api.common.v1.MeteringMetadata",
4920
+ id: 13
4818
4921
  }
4819
4922
  }
4820
4923
  },
@@ -5721,42 +5824,6 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
5721
5824
  }
5722
5825
  }
5723
5826
  },
5724
- WorkflowUpdateAcceptedEventAttributes: {
5725
- fields: {
5726
- meta: {
5727
- type: "temporal.api.interaction.v1.Meta",
5728
- id: 1
5729
- },
5730
- input: {
5731
- type: "temporal.api.interaction.v1.Input",
5732
- id: 2
5733
- }
5734
- }
5735
- },
5736
- WorkflowUpdateCompletedEventAttributes: {
5737
- fields: {
5738
- meta: {
5739
- type: "temporal.api.interaction.v1.Meta",
5740
- id: 1
5741
- },
5742
- output: {
5743
- type: "temporal.api.interaction.v1.Output",
5744
- id: 2
5745
- }
5746
- }
5747
- },
5748
- WorkflowUpdateRejectedEventAttributes: {
5749
- fields: {
5750
- meta: {
5751
- type: "temporal.api.interaction.v1.Meta",
5752
- id: 1
5753
- },
5754
- failure: {
5755
- type: "temporal.api.failure.v1.Failure",
5756
- id: 2
5757
- }
5758
- }
5759
- },
5760
5827
  WorkflowPropertiesModifiedExternallyEventAttributes: {
5761
5828
  fields: {
5762
5829
  newTaskQueue: {
@@ -5802,6 +5869,62 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
5802
5869
  }
5803
5870
  }
5804
5871
  },
5872
+ WorkflowExecutionUpdateAcceptedEventAttributes: {
5873
+ fields: {
5874
+ protocolInstanceId: {
5875
+ type: "string",
5876
+ id: 1
5877
+ },
5878
+ acceptedRequestMessageId: {
5879
+ type: "string",
5880
+ id: 2
5881
+ },
5882
+ acceptedRequestSequencingEventId: {
5883
+ type: "int64",
5884
+ id: 3
5885
+ },
5886
+ acceptedRequest: {
5887
+ type: "temporal.api.update.v1.Request",
5888
+ id: 4
5889
+ }
5890
+ }
5891
+ },
5892
+ WorkflowExecutionUpdateCompletedEventAttributes: {
5893
+ fields: {
5894
+ meta: {
5895
+ type: "temporal.api.update.v1.Meta",
5896
+ id: 1
5897
+ },
5898
+ outcome: {
5899
+ type: "temporal.api.update.v1.Outcome",
5900
+ id: 2
5901
+ }
5902
+ }
5903
+ },
5904
+ WorkflowExecutionUpdateRejectedEventAttributes: {
5905
+ fields: {
5906
+ protocolInstanceId: {
5907
+ type: "string",
5908
+ id: 1
5909
+ },
5910
+ rejectedRequestMessageId: {
5911
+ type: "string",
5912
+ id: 2
5913
+ },
5914
+ rejectedRequestSequencingEventId: {
5915
+ type: "int64",
5916
+ id: 3
5917
+ },
5918
+ rejectedRequest: {
5919
+ type: "temporal.api.update.v1.Request",
5920
+ id: 4
5921
+ },
5922
+ failure: {
5923
+ type: "temporal.api.failure.v1.Failure",
5924
+ id: 5
5925
+ }
5926
+ }
5927
+ },
5805
5928
  HistoryEvent: {
5806
5929
  oneofs: {
5807
5930
  attributes: {
@@ -5846,9 +5969,9 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
5846
5969
  "signalExternalWorkflowExecutionFailedEventAttributes",
5847
5970
  "externalWorkflowExecutionSignaledEventAttributes",
5848
5971
  "upsertWorkflowSearchAttributesEventAttributes",
5849
- "workflowUpdateRejectedEventAttributes",
5850
- "workflowUpdateAcceptedEventAttributes",
5851
- "workflowUpdateCompletedEventAttributes",
5972
+ "workflowExecutionUpdateAcceptedEventAttributes",
5973
+ "workflowExecutionUpdateRejectedEventAttributes",
5974
+ "workflowExecutionUpdateCompletedEventAttributes",
5852
5975
  "workflowPropertiesModifiedExternallyEventAttributes",
5853
5976
  "activityPropertiesModifiedExternallyEventAttributes",
5854
5977
  "workflowPropertiesModifiedEventAttributes"
@@ -6043,16 +6166,16 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
6043
6166
  type: "UpsertWorkflowSearchAttributesEventAttributes",
6044
6167
  id: 45
6045
6168
  },
6046
- workflowUpdateRejectedEventAttributes: {
6047
- type: "WorkflowUpdateRejectedEventAttributes",
6169
+ workflowExecutionUpdateAcceptedEventAttributes: {
6170
+ type: "WorkflowExecutionUpdateAcceptedEventAttributes",
6048
6171
  id: 46
6049
6172
  },
6050
- workflowUpdateAcceptedEventAttributes: {
6051
- type: "WorkflowUpdateAcceptedEventAttributes",
6173
+ workflowExecutionUpdateRejectedEventAttributes: {
6174
+ type: "WorkflowExecutionUpdateRejectedEventAttributes",
6052
6175
  id: 47
6053
6176
  },
6054
- workflowUpdateCompletedEventAttributes: {
6055
- type: "WorkflowUpdateCompletedEventAttributes",
6177
+ workflowExecutionUpdateCompletedEventAttributes: {
6178
+ type: "WorkflowExecutionUpdateCompletedEventAttributes",
6056
6179
  id: 48
6057
6180
  },
6058
6181
  workflowPropertiesModifiedExternallyEventAttributes: {
@@ -6082,123 +6205,31 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
6082
6205
  }
6083
6206
  }
6084
6207
  },
6085
- interaction: {
6208
+ taskqueue: {
6086
6209
  nested: {
6087
6210
  v1: {
6088
6211
  options: {
6089
- go_package: "go.temporal.io/api/interaction/v1;interaction",
6090
- java_package: "io.temporal.api.interaction.v1",
6212
+ go_package: "go.temporal.io/api/taskqueue/v1;taskqueue",
6213
+ java_package: "io.temporal.api.taskqueue.v1",
6091
6214
  java_multiple_files: true,
6092
6215
  java_outer_classname: "MessageProto",
6093
- ruby_package: "Temporalio::Api::Interaction::V1",
6094
- csharp_namespace: "Temporalio.Api.Interaction.V1"
6216
+ ruby_package: "Temporalio::Api::TaskQueue::V1",
6217
+ csharp_namespace: "Temporalio.Api.TaskQueue.V1"
6095
6218
  },
6096
6219
  nested: {
6097
- Meta: {
6220
+ TaskQueue: {
6098
6221
  fields: {
6099
- id: {
6222
+ name: {
6100
6223
  type: "string",
6101
6224
  id: 1
6102
6225
  },
6103
- eventId: {
6104
- type: "int64",
6226
+ kind: {
6227
+ type: "temporal.api.enums.v1.TaskQueueKind",
6105
6228
  id: 2
6106
- },
6107
- interactionType: {
6108
- type: "temporal.api.enums.v1.InteractionType",
6109
- id: 3
6110
- },
6111
- identity: {
6112
- type: "string",
6113
- id: 4
6114
- },
6115
- requestId: {
6116
- type: "string",
6117
- id: 5
6118
6229
  }
6119
6230
  }
6120
6231
  },
6121
- Input: {
6122
- fields: {
6123
- header: {
6124
- type: "temporal.api.common.v1.Header",
6125
- id: 1
6126
- },
6127
- name: {
6128
- type: "string",
6129
- id: 2
6130
- },
6131
- args: {
6132
- type: "temporal.api.common.v1.Payloads",
6133
- id: 3
6134
- }
6135
- }
6136
- },
6137
- Output: {
6138
- oneofs: {
6139
- result: {
6140
- oneof: [
6141
- "success",
6142
- "failure"
6143
- ]
6144
- }
6145
- },
6146
- fields: {
6147
- header: {
6148
- type: "temporal.api.common.v1.Header",
6149
- id: 1
6150
- },
6151
- success: {
6152
- type: "temporal.api.common.v1.Payloads",
6153
- id: 2
6154
- },
6155
- failure: {
6156
- type: "temporal.api.failure.v1.Failure",
6157
- id: 3
6158
- }
6159
- }
6160
- },
6161
- Invocation: {
6162
- fields: {
6163
- meta: {
6164
- type: "Meta",
6165
- id: 1
6166
- },
6167
- input: {
6168
- type: "Input",
6169
- id: 2
6170
- }
6171
- }
6172
- }
6173
- }
6174
- }
6175
- }
6176
- },
6177
- taskqueue: {
6178
- nested: {
6179
- v1: {
6180
- options: {
6181
- go_package: "go.temporal.io/api/taskqueue/v1;taskqueue",
6182
- java_package: "io.temporal.api.taskqueue.v1",
6183
- java_multiple_files: true,
6184
- java_outer_classname: "MessageProto",
6185
- ruby_package: "Temporalio::Api::TaskQueue::V1",
6186
- csharp_namespace: "Temporalio.Api.TaskQueue.V1"
6187
- },
6188
- nested: {
6189
- TaskQueue: {
6190
- fields: {
6191
- name: {
6192
- type: "string",
6193
- id: 1
6194
- },
6195
- kind: {
6196
- type: "temporal.api.enums.v1.TaskQueueKind",
6197
- id: 2
6198
- }
6199
- }
6200
- },
6201
- TaskQueueMetadata: {
6232
+ TaskQueueMetadata: {
6202
6233
  fields: {
6203
6234
  maxTasksPerSecond: {
6204
6235
  type: "google.protobuf.DoubleValue",
@@ -6320,6 +6351,150 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
6320
6351
  }
6321
6352
  }
6322
6353
  },
6354
+ update: {
6355
+ nested: {
6356
+ v1: {
6357
+ options: {
6358
+ go_package: "go.temporal.io/api/update/v1;update",
6359
+ java_package: "io.temporal.api.update.v1",
6360
+ java_multiple_files: true,
6361
+ java_outer_classname: "MessageProto",
6362
+ ruby_package: "Temporalio::Api::Update::V1",
6363
+ csharp_namespace: "Temporalio.Api.Update.V1"
6364
+ },
6365
+ nested: {
6366
+ WaitPolicy: {
6367
+ fields: {
6368
+ lifecycleStage: {
6369
+ type: "temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage",
6370
+ id: 1
6371
+ }
6372
+ }
6373
+ },
6374
+ UpdateRef: {
6375
+ fields: {
6376
+ workflowExecution: {
6377
+ type: "temporal.api.common.v1.WorkflowExecution",
6378
+ id: 1
6379
+ },
6380
+ updateId: {
6381
+ type: "string",
6382
+ id: 2
6383
+ }
6384
+ }
6385
+ },
6386
+ Outcome: {
6387
+ oneofs: {
6388
+ value: {
6389
+ oneof: [
6390
+ "success",
6391
+ "failure"
6392
+ ]
6393
+ }
6394
+ },
6395
+ fields: {
6396
+ success: {
6397
+ type: "temporal.api.common.v1.Payloads",
6398
+ id: 1
6399
+ },
6400
+ failure: {
6401
+ type: "temporal.api.failure.v1.Failure",
6402
+ id: 2
6403
+ }
6404
+ }
6405
+ },
6406
+ Meta: {
6407
+ fields: {
6408
+ updateId: {
6409
+ type: "string",
6410
+ id: 1
6411
+ },
6412
+ identity: {
6413
+ type: "string",
6414
+ id: 2
6415
+ }
6416
+ }
6417
+ },
6418
+ Input: {
6419
+ fields: {
6420
+ header: {
6421
+ type: "temporal.api.common.v1.Header",
6422
+ id: 1
6423
+ },
6424
+ name: {
6425
+ type: "string",
6426
+ id: 2
6427
+ },
6428
+ args: {
6429
+ type: "temporal.api.common.v1.Payloads",
6430
+ id: 3
6431
+ }
6432
+ }
6433
+ },
6434
+ Request: {
6435
+ fields: {
6436
+ meta: {
6437
+ type: "Meta",
6438
+ id: 1
6439
+ },
6440
+ input: {
6441
+ type: "Input",
6442
+ id: 2
6443
+ }
6444
+ }
6445
+ },
6446
+ Rejection: {
6447
+ fields: {
6448
+ rejectedRequestMessageId: {
6449
+ type: "string",
6450
+ id: 1
6451
+ },
6452
+ rejectedRequestSequencingEventId: {
6453
+ type: "int64",
6454
+ id: 2
6455
+ },
6456
+ rejectedRequest: {
6457
+ type: "Request",
6458
+ id: 3
6459
+ },
6460
+ failure: {
6461
+ type: "temporal.api.failure.v1.Failure",
6462
+ id: 4
6463
+ }
6464
+ }
6465
+ },
6466
+ Acceptance: {
6467
+ fields: {
6468
+ acceptedRequestMessageId: {
6469
+ type: "string",
6470
+ id: 1
6471
+ },
6472
+ acceptedRequestSequencingEventId: {
6473
+ type: "int64",
6474
+ id: 2
6475
+ },
6476
+ acceptedRequest: {
6477
+ type: "Request",
6478
+ id: 3
6479
+ }
6480
+ }
6481
+ },
6482
+ Response: {
6483
+ fields: {
6484
+ meta: {
6485
+ type: "Meta",
6486
+ id: 1
6487
+ },
6488
+ outcome: {
6489
+ type: "Outcome",
6490
+ id: 2
6491
+ }
6492
+ }
6493
+ }
6494
+ }
6495
+ }
6496
+ }
6497
+ },
6323
6498
  workflow: {
6324
6499
  nested: {
6325
6500
  v1: {
@@ -6667,6 +6842,36 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
6667
6842
  }
6668
6843
  }
6669
6844
  },
6845
+ sdk: {
6846
+ nested: {
6847
+ v1: {
6848
+ options: {
6849
+ go_package: "go.temporal.io/api/sdk/v1;sdk",
6850
+ java_package: "io.temporal.api.sdk.v1",
6851
+ java_multiple_files: true,
6852
+ java_outer_classname: "TaskCompleteMetadataProto",
6853
+ ruby_package: "Temporalio::Api::Sdk::V1",
6854
+ csharp_namespace: "Temporalio.Api.Sdk.V1"
6855
+ },
6856
+ nested: {
6857
+ WorkflowTaskCompletedMetadata: {
6858
+ fields: {
6859
+ coreUsedFlags: {
6860
+ rule: "repeated",
6861
+ type: "uint32",
6862
+ id: 1
6863
+ },
6864
+ langUsedFlags: {
6865
+ rule: "repeated",
6866
+ type: "uint32",
6867
+ id: 2
6868
+ }
6869
+ }
6870
+ }
6871
+ }
6872
+ }
6873
+ }
6874
+ },
6670
6875
  command: {
6671
6876
  nested: {
6672
6877
  v1: {
@@ -7043,39 +7248,11 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
7043
7248
  }
7044
7249
  }
7045
7250
  },
7046
- AcceptWorkflowUpdateCommandAttributes: {
7047
- fields: {
7048
- meta: {
7049
- type: "temporal.api.interaction.v1.Meta",
7050
- id: 1
7051
- },
7052
- input: {
7053
- type: "temporal.api.interaction.v1.Input",
7054
- id: 2
7055
- }
7056
- }
7057
- },
7058
- CompleteWorkflowUpdateCommandAttributes: {
7059
- fields: {
7060
- meta: {
7061
- type: "temporal.api.interaction.v1.Meta",
7062
- id: 1
7063
- },
7064
- output: {
7065
- type: "temporal.api.interaction.v1.Output",
7066
- id: 2
7067
- }
7068
- }
7069
- },
7070
- RejectWorkflowUpdateCommandAttributes: {
7251
+ ProtocolMessageCommandAttributes: {
7071
7252
  fields: {
7072
- meta: {
7073
- type: "temporal.api.interaction.v1.Meta",
7253
+ messageId: {
7254
+ type: "string",
7074
7255
  id: 1
7075
- },
7076
- failure: {
7077
- type: "temporal.api.failure.v1.Failure",
7078
- id: 2
7079
7256
  }
7080
7257
  }
7081
7258
  },
@@ -7096,10 +7273,8 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
7096
7273
  "startChildWorkflowExecutionCommandAttributes",
7097
7274
  "signalExternalWorkflowExecutionCommandAttributes",
7098
7275
  "upsertWorkflowSearchAttributesCommandAttributes",
7099
- "acceptWorkflowUpdateCommandAttributes",
7100
- "completeWorkflowUpdateCommandAttributes",
7101
- "modifyWorkflowPropertiesCommandAttributes",
7102
- "rejectWorkflowUpdateCommandAttributes"
7276
+ "protocolMessageCommandAttributes",
7277
+ "modifyWorkflowPropertiesCommandAttributes"
7103
7278
  ]
7104
7279
  }
7105
7280
  },
@@ -7160,21 +7335,13 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
7160
7335
  type: "UpsertWorkflowSearchAttributesCommandAttributes",
7161
7336
  id: 14
7162
7337
  },
7163
- acceptWorkflowUpdateCommandAttributes: {
7164
- type: "AcceptWorkflowUpdateCommandAttributes",
7338
+ protocolMessageCommandAttributes: {
7339
+ type: "ProtocolMessageCommandAttributes",
7165
7340
  id: 15
7166
7341
  },
7167
- completeWorkflowUpdateCommandAttributes: {
7168
- type: "CompleteWorkflowUpdateCommandAttributes",
7169
- id: 16
7170
- },
7171
7342
  modifyWorkflowPropertiesCommandAttributes: {
7172
7343
  type: "ModifyWorkflowPropertiesCommandAttributes",
7173
7344
  id: 17
7174
- },
7175
- rejectWorkflowUpdateCommandAttributes: {
7176
- type: "RejectWorkflowUpdateCommandAttributes",
7177
- id: 18
7178
7345
  }
7179
7346
  }
7180
7347
  }
@@ -7244,6 +7411,54 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
7244
7411
  }
7245
7412
  }
7246
7413
  },
7414
+ protocol: {
7415
+ nested: {
7416
+ v1: {
7417
+ options: {
7418
+ go_package: "go.temporal.io/api/protocol/v1;protocol",
7419
+ java_package: "io.temporal.api.protocol.v1",
7420
+ java_multiple_files: true,
7421
+ java_outer_classname: "MessageProto",
7422
+ ruby_package: "Temporalio::Api::Protocol::V1",
7423
+ csharp_namespace: "Temporalt.Api.Protocol.V1"
7424
+ },
7425
+ nested: {
7426
+ Message: {
7427
+ oneofs: {
7428
+ sequencingId: {
7429
+ oneof: [
7430
+ "eventId",
7431
+ "commandIndex"
7432
+ ]
7433
+ }
7434
+ },
7435
+ fields: {
7436
+ id: {
7437
+ type: "string",
7438
+ id: 1
7439
+ },
7440
+ protocolInstanceId: {
7441
+ type: "string",
7442
+ id: 2
7443
+ },
7444
+ eventId: {
7445
+ type: "int64",
7446
+ id: 3
7447
+ },
7448
+ commandIndex: {
7449
+ type: "int64",
7450
+ id: 4
7451
+ },
7452
+ body: {
7453
+ type: "google.protobuf.Any",
7454
+ id: 5
7455
+ }
7456
+ }
7457
+ }
7458
+ }
7459
+ }
7460
+ }
7461
+ },
7247
7462
  namespace: {
7248
7463
  nested: {
7249
7464
  v1: {
@@ -7317,6 +7532,11 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
7317
7532
  visibilityArchivalUri: {
7318
7533
  type: "string",
7319
7534
  id: 6
7535
+ },
7536
+ customSearchAttributeAliases: {
7537
+ keyType: "string",
7538
+ type: "string",
7539
+ id: 7
7320
7540
  }
7321
7541
  }
7322
7542
  },
@@ -8158,6 +8378,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8158
8378
  keyType: "string",
8159
8379
  type: "temporal.api.enums.v1.IndexedValueType",
8160
8380
  id: 1
8381
+ },
8382
+ namespace: {
8383
+ type: "string",
8384
+ id: 2
8161
8385
  }
8162
8386
  }
8163
8387
  },
@@ -8170,6 +8394,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8170
8394
  rule: "repeated",
8171
8395
  type: "string",
8172
8396
  id: 1
8397
+ },
8398
+ namespace: {
8399
+ type: "string",
8400
+ id: 2
8173
8401
  }
8174
8402
  }
8175
8403
  },
@@ -8177,7 +8405,12 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8177
8405
  fields: {}
8178
8406
  },
8179
8407
  ListSearchAttributesRequest: {
8180
- fields: {}
8408
+ fields: {
8409
+ namespace: {
8410
+ type: "string",
8411
+ id: 1
8412
+ }
8413
+ }
8181
8414
  },
8182
8415
  ListSearchAttributesResponse: {
8183
8416
  fields: {
@@ -9609,6 +9842,18 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
9609
9842
  id: 1
9610
9843
  }
9611
9844
  }
9845
+ },
9846
+ Any: {
9847
+ fields: {
9848
+ type_url: {
9849
+ type: "string",
9850
+ id: 1
9851
+ },
9852
+ value: {
9853
+ type: "bytes",
9854
+ id: 2
9855
+ }
9856
+ }
9612
9857
  }
9613
9858
  }
9614
9859
  }