@temporalio/proto 0.18.0 → 0.20.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.
package/README.md CHANGED
@@ -2,16 +2,11 @@
2
2
 
3
3
  [![NPM](https://img.shields.io/npm/v/@temporalio/proto?style=for-the-badge)](https://www.npmjs.com/package/@temporalio/proto)
4
4
 
5
- Part of the [Temporal](https://temporal.io) [TypeScript SDK](https://www.npmjs.com/package/temporalio).
5
+ Part of [Temporal](https://temporal.io)'s TypeScript SDK (see [docs](https://docs.temporal.io/docs/typescript/introduction/) and [samples](https://github.com/temporalio/samples-typescript)).
6
6
 
7
- You should probably not be using this package directly. See instead:
7
+ You should usually not be using this package directly. Instead use:
8
8
 
9
- - https://typescript.temporal.io/api/namespaces/client
10
- - https://typescript.temporal.io/api/namespaces/activity
11
- - https://typescript.temporal.io/api/namespaces/worker
12
- - https://typescript.temporal.io/api/namespaces/workflow
13
-
14
- More docs:
15
-
16
- - See code samples [here](https://github.com/temporalio/samples-typescript)
17
- - See full introduction on the [docs site](https://docs.temporal.io/docs/typescript/introduction)
9
+ - [`@temporalio/client`](https://typescript.temporal.io/api/namespaces/client)
10
+ - [`@temporalio/worker`](https://typescript.temporal.io/api/namespaces/worker)
11
+ - [`@temporalio/workflow`](https://typescript.temporal.io/api/namespaces/workflow)
12
+ - [`@temporalio/activity`](https://typescript.temporal.io/api/namespaces/activity)
package/lib/coresdk.d.ts CHANGED
@@ -9,9 +9,6 @@ export namespace coresdk {
9
9
  /** ActivityHeartbeat taskToken */
10
10
  taskToken?: (Uint8Array|null);
11
11
 
12
- /** ActivityHeartbeat taskQueue */
13
- taskQueue?: (string|null);
14
-
15
12
  /** ActivityHeartbeat details */
16
13
  details?: (coresdk.common.IPayload[]|null);
17
14
  }
@@ -28,9 +25,6 @@ export namespace coresdk {
28
25
  /** ActivityHeartbeat taskToken. */
29
26
  public taskToken: Uint8Array;
30
27
 
31
- /** ActivityHeartbeat taskQueue. */
32
- public taskQueue: string;
33
-
34
28
  /** ActivityHeartbeat details. */
35
29
  public details: coresdk.common.IPayload[];
36
30
 
@@ -97,9 +91,6 @@ export namespace coresdk {
97
91
  /** ActivityTaskCompletion taskToken */
98
92
  taskToken?: (Uint8Array|null);
99
93
 
100
- /** ActivityTaskCompletion taskQueue */
101
- taskQueue?: (string|null);
102
-
103
94
  /** ActivityTaskCompletion result */
104
95
  result?: (coresdk.activity_result.IActivityExecutionResult|null);
105
96
  }
@@ -116,9 +107,6 @@ export namespace coresdk {
116
107
  /** ActivityTaskCompletion taskToken. */
117
108
  public taskToken: Uint8Array;
118
109
 
119
- /** ActivityTaskCompletion taskQueue. */
120
- public taskQueue: string;
121
-
122
110
  /** ActivityTaskCompletion result. */
123
111
  public result?: (coresdk.activity_result.IActivityExecutionResult|null);
124
112
 
@@ -1872,23 +1860,74 @@ export namespace coresdk {
1872
1860
  /** Properties of a StartWorkflow. */
1873
1861
  interface IStartWorkflow {
1874
1862
 
1875
- /** The identifier the lang-specific sdk uses to execute workflow code */
1863
+ /** StartWorkflow workflowType */
1876
1864
  workflowType?: (string|null);
1877
1865
 
1878
- /** The workflow id used on the temporal server */
1866
+ /** StartWorkflow workflowId */
1879
1867
  workflowId?: (string|null);
1880
1868
 
1881
- /** Inputs to the workflow code */
1869
+ /** StartWorkflow arguments */
1882
1870
  "arguments"?: (coresdk.common.IPayload[]|null);
1883
1871
 
1884
- /** RandomSeedUpdatedAttributes are used to deliver seed updates. */
1872
+ /** StartWorkflow randomnessSeed */
1885
1873
  randomnessSeed?: (Long|null);
1886
1874
 
1887
- /** Used to add metadata e.g. for tracing and auth, meant to be read and written to by interceptors. */
1875
+ /** StartWorkflow headers */
1888
1876
  headers?: ({ [k: string]: coresdk.common.IPayload }|null);
1877
+
1878
+ /** StartWorkflow identity */
1879
+ identity?: (string|null);
1880
+
1881
+ /** StartWorkflow parentWorkflowInfo */
1882
+ parentWorkflowInfo?: (coresdk.common.INamespacedWorkflowExecution|null);
1883
+
1884
+ /** StartWorkflow workflowExecutionTimeout */
1885
+ workflowExecutionTimeout?: (google.protobuf.IDuration|null);
1886
+
1887
+ /** StartWorkflow workflowRunTimeout */
1888
+ workflowRunTimeout?: (google.protobuf.IDuration|null);
1889
+
1890
+ /** StartWorkflow workflowTaskTimeout */
1891
+ workflowTaskTimeout?: (google.protobuf.IDuration|null);
1892
+
1893
+ /** StartWorkflow continuedFromExecutionRunId */
1894
+ continuedFromExecutionRunId?: (string|null);
1895
+
1896
+ /** StartWorkflow continuedInitiator */
1897
+ continuedInitiator?: (temporal.api.enums.v1.ContinueAsNewInitiator|null);
1898
+
1899
+ /** StartWorkflow continuedFailure */
1900
+ continuedFailure?: (temporal.api.failure.v1.IFailure|null);
1901
+
1902
+ /** StartWorkflow lastCompletionResult */
1903
+ lastCompletionResult?: (temporal.api.common.v1.IPayloads|null);
1904
+
1905
+ /** StartWorkflow firstExecutionRunId */
1906
+ firstExecutionRunId?: (string|null);
1907
+
1908
+ /** StartWorkflow retryPolicy */
1909
+ retryPolicy?: (temporal.api.common.v1.IRetryPolicy|null);
1910
+
1911
+ /** StartWorkflow attempt */
1912
+ attempt?: (number|null);
1913
+
1914
+ /** StartWorkflow cronSchedule */
1915
+ cronSchedule?: (string|null);
1916
+
1917
+ /** StartWorkflow workflowExecutionExpirationTime */
1918
+ workflowExecutionExpirationTime?: (google.protobuf.ITimestamp|null);
1919
+
1920
+ /** StartWorkflow cronScheduleToScheduleInterval */
1921
+ cronScheduleToScheduleInterval?: (google.protobuf.IDuration|null);
1922
+
1923
+ /** StartWorkflow memo */
1924
+ memo?: (temporal.api.common.v1.IMemo|null);
1925
+
1926
+ /** StartWorkflow searchAttributes */
1927
+ searchAttributes?: (temporal.api.common.v1.ISearchAttributes|null);
1889
1928
  }
1890
1929
 
1891
- /** Start a new workflow */
1930
+ /** Represents a StartWorkflow. */
1892
1931
  class StartWorkflow implements IStartWorkflow {
1893
1932
 
1894
1933
  /**
@@ -1897,21 +1936,72 @@ export namespace coresdk {
1897
1936
  */
1898
1937
  constructor(properties?: coresdk.workflow_activation.IStartWorkflow);
1899
1938
 
1900
- /** The identifier the lang-specific sdk uses to execute workflow code */
1939
+ /** StartWorkflow workflowType. */
1901
1940
  public workflowType: string;
1902
1941
 
1903
- /** The workflow id used on the temporal server */
1942
+ /** StartWorkflow workflowId. */
1904
1943
  public workflowId: string;
1905
1944
 
1906
- /** Inputs to the workflow code */
1945
+ /** StartWorkflow arguments. */
1907
1946
  public arguments: coresdk.common.IPayload[];
1908
1947
 
1909
- /** RandomSeedUpdatedAttributes are used to deliver seed updates. */
1948
+ /** StartWorkflow randomnessSeed. */
1910
1949
  public randomnessSeed: Long;
1911
1950
 
1912
- /** Used to add metadata e.g. for tracing and auth, meant to be read and written to by interceptors. */
1951
+ /** StartWorkflow headers. */
1913
1952
  public headers: { [k: string]: coresdk.common.IPayload };
1914
1953
 
1954
+ /** StartWorkflow identity. */
1955
+ public identity: string;
1956
+
1957
+ /** StartWorkflow parentWorkflowInfo. */
1958
+ public parentWorkflowInfo?: (coresdk.common.INamespacedWorkflowExecution|null);
1959
+
1960
+ /** StartWorkflow workflowExecutionTimeout. */
1961
+ public workflowExecutionTimeout?: (google.protobuf.IDuration|null);
1962
+
1963
+ /** StartWorkflow workflowRunTimeout. */
1964
+ public workflowRunTimeout?: (google.protobuf.IDuration|null);
1965
+
1966
+ /** StartWorkflow workflowTaskTimeout. */
1967
+ public workflowTaskTimeout?: (google.protobuf.IDuration|null);
1968
+
1969
+ /** StartWorkflow continuedFromExecutionRunId. */
1970
+ public continuedFromExecutionRunId: string;
1971
+
1972
+ /** StartWorkflow continuedInitiator. */
1973
+ public continuedInitiator: temporal.api.enums.v1.ContinueAsNewInitiator;
1974
+
1975
+ /** StartWorkflow continuedFailure. */
1976
+ public continuedFailure?: (temporal.api.failure.v1.IFailure|null);
1977
+
1978
+ /** StartWorkflow lastCompletionResult. */
1979
+ public lastCompletionResult?: (temporal.api.common.v1.IPayloads|null);
1980
+
1981
+ /** StartWorkflow firstExecutionRunId. */
1982
+ public firstExecutionRunId: string;
1983
+
1984
+ /** StartWorkflow retryPolicy. */
1985
+ public retryPolicy?: (temporal.api.common.v1.IRetryPolicy|null);
1986
+
1987
+ /** StartWorkflow attempt. */
1988
+ public attempt: number;
1989
+
1990
+ /** StartWorkflow cronSchedule. */
1991
+ public cronSchedule: string;
1992
+
1993
+ /** StartWorkflow workflowExecutionExpirationTime. */
1994
+ public workflowExecutionExpirationTime?: (google.protobuf.ITimestamp|null);
1995
+
1996
+ /** StartWorkflow cronScheduleToScheduleInterval. */
1997
+ public cronScheduleToScheduleInterval?: (google.protobuf.IDuration|null);
1998
+
1999
+ /** StartWorkflow memo. */
2000
+ public memo?: (temporal.api.common.v1.IMemo|null);
2001
+
2002
+ /** StartWorkflow searchAttributes. */
2003
+ public searchAttributes?: (temporal.api.common.v1.ISearchAttributes|null);
2004
+
1915
2005
  /**
1916
2006
  * Encodes the specified StartWorkflow message. Does not implicitly {@link coresdk.workflow_activation.StartWorkflow.verify|verify} messages.
1917
2007
  * @param message StartWorkflow message or plain object to encode
@@ -2633,6 +2723,9 @@ export namespace coresdk {
2633
2723
 
2634
2724
  /** QueryWorkflow arguments */
2635
2725
  "arguments"?: (coresdk.common.IPayload[]|null);
2726
+
2727
+ /** Headers attached to the query */
2728
+ headers?: ({ [k: string]: coresdk.common.IPayload }|null);
2636
2729
  }
2637
2730
 
2638
2731
  /** Query a workflow */
@@ -2653,6 +2746,9 @@ export namespace coresdk {
2653
2746
  /** QueryWorkflow arguments. */
2654
2747
  public arguments: coresdk.common.IPayload[];
2655
2748
 
2749
+ /** Headers attached to the query */
2750
+ public headers: { [k: string]: coresdk.common.IPayload };
2751
+
2656
2752
  /**
2657
2753
  * Encodes the specified QueryWorkflow message. Does not implicitly {@link coresdk.workflow_activation.QueryWorkflow.verify|verify} messages.
2658
2754
  * @param message QueryWorkflow message or plain object to encode
@@ -2797,9 +2893,12 @@ export namespace coresdk {
2797
2893
 
2798
2894
  /** SignalWorkflow identity */
2799
2895
  identity?: (string|null);
2896
+
2897
+ /** SignalWorkflow headers */
2898
+ headers?: ({ [k: string]: coresdk.common.IPayload }|null);
2800
2899
  }
2801
2900
 
2802
- /** Send a signal to a workflow */
2901
+ /** Represents a SignalWorkflow. */
2803
2902
  class SignalWorkflow implements ISignalWorkflow {
2804
2903
 
2805
2904
  /**
@@ -2817,6 +2916,9 @@ export namespace coresdk {
2817
2916
  /** SignalWorkflow identity. */
2818
2917
  public identity: string;
2819
2918
 
2919
+ /** SignalWorkflow headers. */
2920
+ public headers: { [k: string]: coresdk.common.IPayload };
2921
+
2820
2922
  /**
2821
2923
  * Encodes the specified SignalWorkflow message. Does not implicitly {@link coresdk.workflow_activation.SignalWorkflow.verify|verify} messages.
2822
2924
  * @param message SignalWorkflow message or plain object to encode
@@ -3623,6 +3725,9 @@ export namespace coresdk {
3623
3725
 
3624
3726
  /** WorkflowCommand requestCancelLocalActivity */
3625
3727
  requestCancelLocalActivity?: (coresdk.workflow_commands.IRequestCancelLocalActivity|null);
3728
+
3729
+ /** WorkflowCommand upsertWorkflowSearchAttributesCommandAttributes */
3730
+ upsertWorkflowSearchAttributesCommandAttributes?: (coresdk.workflow_commands.IUpsertWorkflowSearchAttributes|null);
3626
3731
  }
3627
3732
 
3628
3733
  /** Represents a WorkflowCommand. */
@@ -3685,8 +3790,11 @@ export namespace coresdk {
3685
3790
  /** WorkflowCommand requestCancelLocalActivity. */
3686
3791
  public requestCancelLocalActivity?: (coresdk.workflow_commands.IRequestCancelLocalActivity|null);
3687
3792
 
3793
+ /** WorkflowCommand upsertWorkflowSearchAttributesCommandAttributes. */
3794
+ public upsertWorkflowSearchAttributesCommandAttributes?: (coresdk.workflow_commands.IUpsertWorkflowSearchAttributes|null);
3795
+
3688
3796
  /** WorkflowCommand variant. */
3689
- public variant?: ("startTimer"|"scheduleActivity"|"respondToQuery"|"requestCancelActivity"|"cancelTimer"|"completeWorkflowExecution"|"failWorkflowExecution"|"continueAsNewWorkflowExecution"|"cancelWorkflowExecution"|"setPatchMarker"|"startChildWorkflowExecution"|"cancelUnstartedChildWorkflowExecution"|"requestCancelExternalWorkflowExecution"|"signalExternalWorkflowExecution"|"cancelSignalWorkflow"|"scheduleLocalActivity"|"requestCancelLocalActivity");
3797
+ public variant?: ("startTimer"|"scheduleActivity"|"respondToQuery"|"requestCancelActivity"|"cancelTimer"|"completeWorkflowExecution"|"failWorkflowExecution"|"continueAsNewWorkflowExecution"|"cancelWorkflowExecution"|"setPatchMarker"|"startChildWorkflowExecution"|"cancelUnstartedChildWorkflowExecution"|"requestCancelExternalWorkflowExecution"|"signalExternalWorkflowExecution"|"cancelSignalWorkflow"|"scheduleLocalActivity"|"requestCancelLocalActivity"|"upsertWorkflowSearchAttributesCommandAttributes");
3690
3798
 
3691
3799
  /**
3692
3800
  * Encodes the specified WorkflowCommand message. Does not implicitly {@link coresdk.workflow_commands.WorkflowCommand.verify|verify} messages.
@@ -3921,8 +4029,8 @@ export namespace coresdk {
3921
4029
  /** ScheduleActivity taskQueue */
3922
4030
  taskQueue?: (string|null);
3923
4031
 
3924
- /** ScheduleActivity headerFields */
3925
- headerFields?: ({ [k: string]: coresdk.common.IPayload }|null);
4032
+ /** ScheduleActivity headers */
4033
+ headers?: ({ [k: string]: coresdk.common.IPayload }|null);
3926
4034
 
3927
4035
  /** Arguments/input to the activity. Called "input" upstream. */
3928
4036
  "arguments"?: (coresdk.common.IPayload[]|null);
@@ -3970,8 +4078,8 @@ export namespace coresdk {
3970
4078
  /** ScheduleActivity taskQueue. */
3971
4079
  public taskQueue: string;
3972
4080
 
3973
- /** ScheduleActivity headerFields. */
3974
- public headerFields: { [k: string]: coresdk.common.IPayload };
4081
+ /** ScheduleActivity headers. */
4082
+ public headers: { [k: string]: coresdk.common.IPayload };
3975
4083
 
3976
4084
  /** Arguments/input to the activity. Called "input" upstream. */
3977
4085
  public arguments: coresdk.common.IPayload[];
@@ -4069,8 +4177,8 @@ export namespace coresdk {
4069
4177
  /** scheduling time (as provided in `DoBackoff`) */
4070
4178
  originalScheduleTime?: (google.protobuf.ITimestamp|null);
4071
4179
 
4072
- /** ScheduleLocalActivity headerFields */
4073
- headerFields?: ({ [k: string]: coresdk.common.IPayload }|null);
4180
+ /** ScheduleLocalActivity headers */
4181
+ headers?: ({ [k: string]: coresdk.common.IPayload }|null);
4074
4182
 
4075
4183
  /** Arguments/input to the activity. */
4076
4184
  "arguments"?: (coresdk.common.IPayload[]|null);
@@ -4118,8 +4226,8 @@ export namespace coresdk {
4118
4226
  /** scheduling time (as provided in `DoBackoff`) */
4119
4227
  public originalScheduleTime?: (google.protobuf.ITimestamp|null);
4120
4228
 
4121
- /** ScheduleLocalActivity headerFields. */
4122
- public headerFields: { [k: string]: coresdk.common.IPayload };
4229
+ /** ScheduleLocalActivity headers. */
4230
+ public headers: { [k: string]: coresdk.common.IPayload };
4123
4231
 
4124
4232
  /** Arguments/input to the activity. */
4125
4233
  public arguments: coresdk.common.IPayload[];
@@ -4699,7 +4807,7 @@ export namespace coresdk {
4699
4807
  memo?: ({ [k: string]: coresdk.common.IPayload }|null);
4700
4808
 
4701
4809
  /** Header fields */
4702
- header?: ({ [k: string]: coresdk.common.IPayload }|null);
4810
+ headers?: ({ [k: string]: coresdk.common.IPayload }|null);
4703
4811
 
4704
4812
  /** Search attributes */
4705
4813
  searchAttributes?: ({ [k: string]: coresdk.common.IPayload }|null);
@@ -4733,7 +4841,7 @@ export namespace coresdk {
4733
4841
  public memo: { [k: string]: coresdk.common.IPayload };
4734
4842
 
4735
4843
  /** Header fields */
4736
- public header: { [k: string]: coresdk.common.IPayload };
4844
+ public headers: { [k: string]: coresdk.common.IPayload };
4737
4845
 
4738
4846
  /** Search attributes */
4739
4847
  public searchAttributes: { [k: string]: coresdk.common.IPayload };
@@ -4990,7 +5098,7 @@ export namespace coresdk {
4990
5098
  cronSchedule?: (string|null);
4991
5099
 
4992
5100
  /** Header fields */
4993
- header?: ({ [k: string]: coresdk.common.IPayload }|null);
5101
+ headers?: ({ [k: string]: coresdk.common.IPayload }|null);
4994
5102
 
4995
5103
  /** Memo fields */
4996
5104
  memo?: ({ [k: string]: coresdk.common.IPayload }|null);
@@ -5051,7 +5159,7 @@ export namespace coresdk {
5051
5159
  public cronSchedule: string;
5052
5160
 
5053
5161
  /** Header fields */
5054
- public header: { [k: string]: coresdk.common.IPayload };
5162
+ public headers: { [k: string]: coresdk.common.IPayload };
5055
5163
 
5056
5164
  /** Memo fields */
5057
5165
  public memo: { [k: string]: coresdk.common.IPayload };
@@ -5303,6 +5411,9 @@ export namespace coresdk {
5303
5411
 
5304
5412
  /** Arguments for the handler */
5305
5413
  args?: (coresdk.common.IPayload[]|null);
5414
+
5415
+ /** Headers to attach to the signal */
5416
+ headers?: ({ [k: string]: coresdk.common.IPayload }|null);
5306
5417
  }
5307
5418
 
5308
5419
  /** Send a signal to an external or child workflow */
@@ -5329,6 +5440,9 @@ export namespace coresdk {
5329
5440
  /** Arguments for the handler */
5330
5441
  public args: coresdk.common.IPayload[];
5331
5442
 
5443
+ /** Headers to attach to the signal */
5444
+ public headers: { [k: string]: coresdk.common.IPayload };
5445
+
5332
5446
  /** SignalExternalWorkflowExecution target. */
5333
5447
  public target?: ("workflowExecution"|"childWorkflowId");
5334
5448
 
@@ -5464,6 +5578,88 @@ export namespace coresdk {
5464
5578
  */
5465
5579
  public toJSON(): { [k: string]: any };
5466
5580
  }
5581
+
5582
+ /** Properties of an UpsertWorkflowSearchAttributes. */
5583
+ interface IUpsertWorkflowSearchAttributes {
5584
+
5585
+ /** Lang's incremental sequence number as passed to `UpsertWorkflowSearchAttributes` */
5586
+ seq?: (number|null);
5587
+
5588
+ /** SearchAttributes fields - equivalent to indexed_fields on api. Key = search index, Value = value? */
5589
+ searchAttributes?: ({ [k: string]: coresdk.common.IPayload }|null);
5590
+ }
5591
+
5592
+ /** Represents an UpsertWorkflowSearchAttributes. */
5593
+ class UpsertWorkflowSearchAttributes implements IUpsertWorkflowSearchAttributes {
5594
+
5595
+ /**
5596
+ * Constructs a new UpsertWorkflowSearchAttributes.
5597
+ * @param [properties] Properties to set
5598
+ */
5599
+ constructor(properties?: coresdk.workflow_commands.IUpsertWorkflowSearchAttributes);
5600
+
5601
+ /** Lang's incremental sequence number as passed to `UpsertWorkflowSearchAttributes` */
5602
+ public seq: number;
5603
+
5604
+ /** SearchAttributes fields - equivalent to indexed_fields on api. Key = search index, Value = value? */
5605
+ public searchAttributes: { [k: string]: coresdk.common.IPayload };
5606
+
5607
+ /**
5608
+ * Encodes the specified UpsertWorkflowSearchAttributes message. Does not implicitly {@link coresdk.workflow_commands.UpsertWorkflowSearchAttributes.verify|verify} messages.
5609
+ * @param message UpsertWorkflowSearchAttributes message or plain object to encode
5610
+ * @param [writer] Writer to encode to
5611
+ * @returns Writer
5612
+ */
5613
+ public static encode(message: coresdk.workflow_commands.IUpsertWorkflowSearchAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
5614
+
5615
+ /**
5616
+ * Encodes the specified UpsertWorkflowSearchAttributes message, length delimited. Does not implicitly {@link coresdk.workflow_commands.UpsertWorkflowSearchAttributes.verify|verify} messages.
5617
+ * @param message UpsertWorkflowSearchAttributes message or plain object to encode
5618
+ * @param [writer] Writer to encode to
5619
+ * @returns Writer
5620
+ */
5621
+ public static encodeDelimited(message: coresdk.workflow_commands.IUpsertWorkflowSearchAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
5622
+
5623
+ /**
5624
+ * Decodes an UpsertWorkflowSearchAttributes message from the specified reader or buffer.
5625
+ * @param reader Reader or buffer to decode from
5626
+ * @param [length] Message length if known beforehand
5627
+ * @returns UpsertWorkflowSearchAttributes
5628
+ * @throws {Error} If the payload is not a reader or valid buffer
5629
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5630
+ */
5631
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): coresdk.workflow_commands.UpsertWorkflowSearchAttributes;
5632
+
5633
+ /**
5634
+ * Decodes an UpsertWorkflowSearchAttributes message from the specified reader or buffer, length delimited.
5635
+ * @param reader Reader or buffer to decode from
5636
+ * @returns UpsertWorkflowSearchAttributes
5637
+ * @throws {Error} If the payload is not a reader or valid buffer
5638
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5639
+ */
5640
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): coresdk.workflow_commands.UpsertWorkflowSearchAttributes;
5641
+
5642
+ /**
5643
+ * Creates an UpsertWorkflowSearchAttributes message from a plain object. Also converts values to their respective internal types.
5644
+ * @param object Plain object
5645
+ * @returns UpsertWorkflowSearchAttributes
5646
+ */
5647
+ public static fromObject(object: { [k: string]: any }): coresdk.workflow_commands.UpsertWorkflowSearchAttributes;
5648
+
5649
+ /**
5650
+ * Creates a plain object from an UpsertWorkflowSearchAttributes message. Also converts values to other types if specified.
5651
+ * @param message UpsertWorkflowSearchAttributes
5652
+ * @param [options] Conversion options
5653
+ * @returns Plain object
5654
+ */
5655
+ public static toObject(message: coresdk.workflow_commands.UpsertWorkflowSearchAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
5656
+
5657
+ /**
5658
+ * Converts this UpsertWorkflowSearchAttributes to JSON.
5659
+ * @returns JSON object
5660
+ */
5661
+ public toJSON(): { [k: string]: any };
5662
+ }
5467
5663
  }
5468
5664
 
5469
5665
  /** Namespace workflow_completion. */
@@ -5472,9 +5668,6 @@ export namespace coresdk {
5472
5668
  /** Properties of a WorkflowActivationCompletion. */
5473
5669
  interface IWorkflowActivationCompletion {
5474
5670
 
5475
- /** WorkflowActivationCompletion taskQueue */
5476
- taskQueue?: (string|null);
5477
-
5478
5671
  /** WorkflowActivationCompletion runId */
5479
5672
  runId?: (string|null);
5480
5673
 
@@ -5494,9 +5687,6 @@ export namespace coresdk {
5494
5687
  */
5495
5688
  constructor(properties?: coresdk.workflow_completion.IWorkflowActivationCompletion);
5496
5689
 
5497
- /** WorkflowActivationCompletion taskQueue. */
5498
- public taskQueue: string;
5499
-
5500
5690
  /** WorkflowActivationCompletion runId. */
5501
5691
  public runId: string;
5502
5692
 
@@ -10402,6 +10592,13 @@ export namespace temporal {
10402
10592
  PENDING_ACTIVITY_STATE_CANCEL_REQUESTED = 3
10403
10593
  }
10404
10594
 
10595
+ /** PendingWorkflowTaskState enum. */
10596
+ enum PendingWorkflowTaskState {
10597
+ PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED = 0,
10598
+ PENDING_WORKFLOW_TASK_STATE_SCHEDULED = 1,
10599
+ PENDING_WORKFLOW_TASK_STATE_STARTED = 2
10600
+ }
10601
+
10405
10602
  /** HistoryEventFilterType enum. */
10406
10603
  enum HistoryEventFilterType {
10407
10604
  HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED = 0,