@temporalio/proto 0.19.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/lib/coresdk.d.ts +240 -43
- package/lib/coresdk.js +638 -131
- package/lib/temporal.d.ts +393 -2
- package/lib/temporal.js +454 -10
- package/package.json +2 -2
package/lib/temporal.d.ts
CHANGED
|
@@ -541,6 +541,20 @@ export namespace temporal {
|
|
|
541
541
|
*/
|
|
542
542
|
public getClusterInfo(request: temporal.api.workflowservice.v1.IGetClusterInfoRequest): Promise<temporal.api.workflowservice.v1.GetClusterInfoResponse>;
|
|
543
543
|
|
|
544
|
+
/**
|
|
545
|
+
* Calls GetSystemInfo.
|
|
546
|
+
* @param request GetSystemInfoRequest message or plain object
|
|
547
|
+
* @param callback Node-style callback called with the error, if any, and GetSystemInfoResponse
|
|
548
|
+
*/
|
|
549
|
+
public getSystemInfo(request: temporal.api.workflowservice.v1.IGetSystemInfoRequest, callback: temporal.api.workflowservice.v1.WorkflowService.GetSystemInfoCallback): void;
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Calls GetSystemInfo.
|
|
553
|
+
* @param request GetSystemInfoRequest message or plain object
|
|
554
|
+
* @returns Promise
|
|
555
|
+
*/
|
|
556
|
+
public getSystemInfo(request: temporal.api.workflowservice.v1.IGetSystemInfoRequest): Promise<temporal.api.workflowservice.v1.GetSystemInfoResponse>;
|
|
557
|
+
|
|
544
558
|
/**
|
|
545
559
|
* Calls ListTaskQueuePartitions.
|
|
546
560
|
* @param request ListTaskQueuePartitionsRequest message or plain object
|
|
@@ -817,6 +831,13 @@ export namespace temporal {
|
|
|
817
831
|
*/
|
|
818
832
|
type GetClusterInfoCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.GetClusterInfoResponse) => void;
|
|
819
833
|
|
|
834
|
+
/**
|
|
835
|
+
* Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#getSystemInfo}.
|
|
836
|
+
* @param error Error, if any
|
|
837
|
+
* @param [response] GetSystemInfoResponse
|
|
838
|
+
*/
|
|
839
|
+
type GetSystemInfoCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.GetSystemInfoResponse) => void;
|
|
840
|
+
|
|
820
841
|
/**
|
|
821
842
|
* Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#listTaskQueuePartitions}.
|
|
822
843
|
* @param error Error, if any
|
|
@@ -7253,6 +7274,9 @@ export namespace temporal {
|
|
|
7253
7274
|
|
|
7254
7275
|
/** DescribeWorkflowExecutionResponse pendingChildren */
|
|
7255
7276
|
pendingChildren?: (temporal.api.workflow.v1.IPendingChildExecutionInfo[]|null);
|
|
7277
|
+
|
|
7278
|
+
/** DescribeWorkflowExecutionResponse pendingWorkflowTask */
|
|
7279
|
+
pendingWorkflowTask?: (temporal.api.workflow.v1.IPendingWorkflowTaskInfo|null);
|
|
7256
7280
|
}
|
|
7257
7281
|
|
|
7258
7282
|
/** Represents a DescribeWorkflowExecutionResponse. */
|
|
@@ -7276,6 +7300,9 @@ export namespace temporal {
|
|
|
7276
7300
|
/** DescribeWorkflowExecutionResponse pendingChildren. */
|
|
7277
7301
|
public pendingChildren: temporal.api.workflow.v1.IPendingChildExecutionInfo[];
|
|
7278
7302
|
|
|
7303
|
+
/** DescribeWorkflowExecutionResponse pendingWorkflowTask. */
|
|
7304
|
+
public pendingWorkflowTask?: (temporal.api.workflow.v1.IPendingWorkflowTaskInfo|null);
|
|
7305
|
+
|
|
7279
7306
|
/**
|
|
7280
7307
|
* Encodes the specified DescribeWorkflowExecutionResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse.verify|verify} messages.
|
|
7281
7308
|
* @param message DescribeWorkflowExecutionResponse message or plain object to encode
|
|
@@ -7697,6 +7724,243 @@ export namespace temporal {
|
|
|
7697
7724
|
public toJSON(): { [k: string]: any };
|
|
7698
7725
|
}
|
|
7699
7726
|
|
|
7727
|
+
/** Properties of a GetSystemInfoRequest. */
|
|
7728
|
+
interface IGetSystemInfoRequest {
|
|
7729
|
+
}
|
|
7730
|
+
|
|
7731
|
+
/** Represents a GetSystemInfoRequest. */
|
|
7732
|
+
class GetSystemInfoRequest implements IGetSystemInfoRequest {
|
|
7733
|
+
|
|
7734
|
+
/**
|
|
7735
|
+
* Constructs a new GetSystemInfoRequest.
|
|
7736
|
+
* @param [properties] Properties to set
|
|
7737
|
+
*/
|
|
7738
|
+
constructor(properties?: temporal.api.workflowservice.v1.IGetSystemInfoRequest);
|
|
7739
|
+
|
|
7740
|
+
/**
|
|
7741
|
+
* Encodes the specified GetSystemInfoRequest message. Does not implicitly {@link temporal.api.workflowservice.v1.GetSystemInfoRequest.verify|verify} messages.
|
|
7742
|
+
* @param message GetSystemInfoRequest message or plain object to encode
|
|
7743
|
+
* @param [writer] Writer to encode to
|
|
7744
|
+
* @returns Writer
|
|
7745
|
+
*/
|
|
7746
|
+
public static encode(message: temporal.api.workflowservice.v1.IGetSystemInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7747
|
+
|
|
7748
|
+
/**
|
|
7749
|
+
* Encodes the specified GetSystemInfoRequest message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.GetSystemInfoRequest.verify|verify} messages.
|
|
7750
|
+
* @param message GetSystemInfoRequest message or plain object to encode
|
|
7751
|
+
* @param [writer] Writer to encode to
|
|
7752
|
+
* @returns Writer
|
|
7753
|
+
*/
|
|
7754
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.IGetSystemInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7755
|
+
|
|
7756
|
+
/**
|
|
7757
|
+
* Decodes a GetSystemInfoRequest message from the specified reader or buffer.
|
|
7758
|
+
* @param reader Reader or buffer to decode from
|
|
7759
|
+
* @param [length] Message length if known beforehand
|
|
7760
|
+
* @returns GetSystemInfoRequest
|
|
7761
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7762
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7763
|
+
*/
|
|
7764
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.GetSystemInfoRequest;
|
|
7765
|
+
|
|
7766
|
+
/**
|
|
7767
|
+
* Decodes a GetSystemInfoRequest message from the specified reader or buffer, length delimited.
|
|
7768
|
+
* @param reader Reader or buffer to decode from
|
|
7769
|
+
* @returns GetSystemInfoRequest
|
|
7770
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7771
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7772
|
+
*/
|
|
7773
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.GetSystemInfoRequest;
|
|
7774
|
+
|
|
7775
|
+
/**
|
|
7776
|
+
* Creates a GetSystemInfoRequest message from a plain object. Also converts values to their respective internal types.
|
|
7777
|
+
* @param object Plain object
|
|
7778
|
+
* @returns GetSystemInfoRequest
|
|
7779
|
+
*/
|
|
7780
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.GetSystemInfoRequest;
|
|
7781
|
+
|
|
7782
|
+
/**
|
|
7783
|
+
* Creates a plain object from a GetSystemInfoRequest message. Also converts values to other types if specified.
|
|
7784
|
+
* @param message GetSystemInfoRequest
|
|
7785
|
+
* @param [options] Conversion options
|
|
7786
|
+
* @returns Plain object
|
|
7787
|
+
*/
|
|
7788
|
+
public static toObject(message: temporal.api.workflowservice.v1.GetSystemInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7789
|
+
|
|
7790
|
+
/**
|
|
7791
|
+
* Converts this GetSystemInfoRequest to JSON.
|
|
7792
|
+
* @returns JSON object
|
|
7793
|
+
*/
|
|
7794
|
+
public toJSON(): { [k: string]: any };
|
|
7795
|
+
}
|
|
7796
|
+
|
|
7797
|
+
/** Properties of a GetSystemInfoResponse. */
|
|
7798
|
+
interface IGetSystemInfoResponse {
|
|
7799
|
+
|
|
7800
|
+
/** GetSystemInfoResponse serverVersion */
|
|
7801
|
+
serverVersion?: (string|null);
|
|
7802
|
+
|
|
7803
|
+
/** GetSystemInfoResponse capabilities */
|
|
7804
|
+
capabilities?: (temporal.api.workflowservice.v1.GetSystemInfoResponse.ICapabilities|null);
|
|
7805
|
+
}
|
|
7806
|
+
|
|
7807
|
+
/** Represents a GetSystemInfoResponse. */
|
|
7808
|
+
class GetSystemInfoResponse implements IGetSystemInfoResponse {
|
|
7809
|
+
|
|
7810
|
+
/**
|
|
7811
|
+
* Constructs a new GetSystemInfoResponse.
|
|
7812
|
+
* @param [properties] Properties to set
|
|
7813
|
+
*/
|
|
7814
|
+
constructor(properties?: temporal.api.workflowservice.v1.IGetSystemInfoResponse);
|
|
7815
|
+
|
|
7816
|
+
/** GetSystemInfoResponse serverVersion. */
|
|
7817
|
+
public serverVersion: string;
|
|
7818
|
+
|
|
7819
|
+
/** GetSystemInfoResponse capabilities. */
|
|
7820
|
+
public capabilities?: (temporal.api.workflowservice.v1.GetSystemInfoResponse.ICapabilities|null);
|
|
7821
|
+
|
|
7822
|
+
/**
|
|
7823
|
+
* Encodes the specified GetSystemInfoResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.GetSystemInfoResponse.verify|verify} messages.
|
|
7824
|
+
* @param message GetSystemInfoResponse message or plain object to encode
|
|
7825
|
+
* @param [writer] Writer to encode to
|
|
7826
|
+
* @returns Writer
|
|
7827
|
+
*/
|
|
7828
|
+
public static encode(message: temporal.api.workflowservice.v1.IGetSystemInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7829
|
+
|
|
7830
|
+
/**
|
|
7831
|
+
* Encodes the specified GetSystemInfoResponse message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.GetSystemInfoResponse.verify|verify} messages.
|
|
7832
|
+
* @param message GetSystemInfoResponse message or plain object to encode
|
|
7833
|
+
* @param [writer] Writer to encode to
|
|
7834
|
+
* @returns Writer
|
|
7835
|
+
*/
|
|
7836
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.IGetSystemInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7837
|
+
|
|
7838
|
+
/**
|
|
7839
|
+
* Decodes a GetSystemInfoResponse message from the specified reader or buffer.
|
|
7840
|
+
* @param reader Reader or buffer to decode from
|
|
7841
|
+
* @param [length] Message length if known beforehand
|
|
7842
|
+
* @returns GetSystemInfoResponse
|
|
7843
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7844
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7845
|
+
*/
|
|
7846
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.GetSystemInfoResponse;
|
|
7847
|
+
|
|
7848
|
+
/**
|
|
7849
|
+
* Decodes a GetSystemInfoResponse message from the specified reader or buffer, length delimited.
|
|
7850
|
+
* @param reader Reader or buffer to decode from
|
|
7851
|
+
* @returns GetSystemInfoResponse
|
|
7852
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7853
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7854
|
+
*/
|
|
7855
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.GetSystemInfoResponse;
|
|
7856
|
+
|
|
7857
|
+
/**
|
|
7858
|
+
* Creates a GetSystemInfoResponse message from a plain object. Also converts values to their respective internal types.
|
|
7859
|
+
* @param object Plain object
|
|
7860
|
+
* @returns GetSystemInfoResponse
|
|
7861
|
+
*/
|
|
7862
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.GetSystemInfoResponse;
|
|
7863
|
+
|
|
7864
|
+
/**
|
|
7865
|
+
* Creates a plain object from a GetSystemInfoResponse message. Also converts values to other types if specified.
|
|
7866
|
+
* @param message GetSystemInfoResponse
|
|
7867
|
+
* @param [options] Conversion options
|
|
7868
|
+
* @returns Plain object
|
|
7869
|
+
*/
|
|
7870
|
+
public static toObject(message: temporal.api.workflowservice.v1.GetSystemInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7871
|
+
|
|
7872
|
+
/**
|
|
7873
|
+
* Converts this GetSystemInfoResponse to JSON.
|
|
7874
|
+
* @returns JSON object
|
|
7875
|
+
*/
|
|
7876
|
+
public toJSON(): { [k: string]: any };
|
|
7877
|
+
}
|
|
7878
|
+
|
|
7879
|
+
namespace GetSystemInfoResponse {
|
|
7880
|
+
|
|
7881
|
+
/** Properties of a Capabilities. */
|
|
7882
|
+
interface ICapabilities {
|
|
7883
|
+
|
|
7884
|
+
/** Capabilities signalAndQueryHeader */
|
|
7885
|
+
signalAndQueryHeader?: (boolean|null);
|
|
7886
|
+
|
|
7887
|
+
/** Capabilities internalErrorDifferentiation */
|
|
7888
|
+
internalErrorDifferentiation?: (boolean|null);
|
|
7889
|
+
}
|
|
7890
|
+
|
|
7891
|
+
/** Represents a Capabilities. */
|
|
7892
|
+
class Capabilities implements ICapabilities {
|
|
7893
|
+
|
|
7894
|
+
/**
|
|
7895
|
+
* Constructs a new Capabilities.
|
|
7896
|
+
* @param [properties] Properties to set
|
|
7897
|
+
*/
|
|
7898
|
+
constructor(properties?: temporal.api.workflowservice.v1.GetSystemInfoResponse.ICapabilities);
|
|
7899
|
+
|
|
7900
|
+
/** Capabilities signalAndQueryHeader. */
|
|
7901
|
+
public signalAndQueryHeader: boolean;
|
|
7902
|
+
|
|
7903
|
+
/** Capabilities internalErrorDifferentiation. */
|
|
7904
|
+
public internalErrorDifferentiation: boolean;
|
|
7905
|
+
|
|
7906
|
+
/**
|
|
7907
|
+
* Encodes the specified Capabilities message. Does not implicitly {@link temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities.verify|verify} messages.
|
|
7908
|
+
* @param message Capabilities message or plain object to encode
|
|
7909
|
+
* @param [writer] Writer to encode to
|
|
7910
|
+
* @returns Writer
|
|
7911
|
+
*/
|
|
7912
|
+
public static encode(message: temporal.api.workflowservice.v1.GetSystemInfoResponse.ICapabilities, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7913
|
+
|
|
7914
|
+
/**
|
|
7915
|
+
* Encodes the specified Capabilities message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities.verify|verify} messages.
|
|
7916
|
+
* @param message Capabilities message or plain object to encode
|
|
7917
|
+
* @param [writer] Writer to encode to
|
|
7918
|
+
* @returns Writer
|
|
7919
|
+
*/
|
|
7920
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.GetSystemInfoResponse.ICapabilities, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7921
|
+
|
|
7922
|
+
/**
|
|
7923
|
+
* Decodes a Capabilities message from the specified reader or buffer.
|
|
7924
|
+
* @param reader Reader or buffer to decode from
|
|
7925
|
+
* @param [length] Message length if known beforehand
|
|
7926
|
+
* @returns Capabilities
|
|
7927
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7928
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7929
|
+
*/
|
|
7930
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities;
|
|
7931
|
+
|
|
7932
|
+
/**
|
|
7933
|
+
* Decodes a Capabilities message from the specified reader or buffer, length delimited.
|
|
7934
|
+
* @param reader Reader or buffer to decode from
|
|
7935
|
+
* @returns Capabilities
|
|
7936
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7937
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7938
|
+
*/
|
|
7939
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities;
|
|
7940
|
+
|
|
7941
|
+
/**
|
|
7942
|
+
* Creates a Capabilities message from a plain object. Also converts values to their respective internal types.
|
|
7943
|
+
* @param object Plain object
|
|
7944
|
+
* @returns Capabilities
|
|
7945
|
+
*/
|
|
7946
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities;
|
|
7947
|
+
|
|
7948
|
+
/**
|
|
7949
|
+
* Creates a plain object from a Capabilities message. Also converts values to other types if specified.
|
|
7950
|
+
* @param message Capabilities
|
|
7951
|
+
* @param [options] Conversion options
|
|
7952
|
+
* @returns Plain object
|
|
7953
|
+
*/
|
|
7954
|
+
public static toObject(message: temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7955
|
+
|
|
7956
|
+
/**
|
|
7957
|
+
* Converts this Capabilities to JSON.
|
|
7958
|
+
* @returns JSON object
|
|
7959
|
+
*/
|
|
7960
|
+
public toJSON(): { [k: string]: any };
|
|
7961
|
+
}
|
|
7962
|
+
}
|
|
7963
|
+
|
|
7700
7964
|
/** Properties of a ListTaskQueuePartitionsRequest. */
|
|
7701
7965
|
interface IListTaskQueuePartitionsRequest {
|
|
7702
7966
|
|
|
@@ -7913,6 +8177,13 @@ export namespace temporal {
|
|
|
7913
8177
|
PENDING_ACTIVITY_STATE_CANCEL_REQUESTED = 3
|
|
7914
8178
|
}
|
|
7915
8179
|
|
|
8180
|
+
/** PendingWorkflowTaskState enum. */
|
|
8181
|
+
enum PendingWorkflowTaskState {
|
|
8182
|
+
PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED = 0,
|
|
8183
|
+
PENDING_WORKFLOW_TASK_STATE_SCHEDULED = 1,
|
|
8184
|
+
PENDING_WORKFLOW_TASK_STATE_STARTED = 2
|
|
8185
|
+
}
|
|
8186
|
+
|
|
7916
8187
|
/** HistoryEventFilterType enum. */
|
|
7917
8188
|
enum HistoryEventFilterType {
|
|
7918
8189
|
HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED = 0,
|
|
@@ -7946,8 +8217,7 @@ export namespace temporal {
|
|
|
7946
8217
|
NAMESPACE_STATE_UNSPECIFIED = 0,
|
|
7947
8218
|
NAMESPACE_STATE_REGISTERED = 1,
|
|
7948
8219
|
NAMESPACE_STATE_DEPRECATED = 2,
|
|
7949
|
-
NAMESPACE_STATE_DELETED = 3
|
|
7950
|
-
NAMESPACE_STATE_HANDOVER = 4
|
|
8220
|
+
NAMESPACE_STATE_DELETED = 3
|
|
7951
8221
|
}
|
|
7952
8222
|
|
|
7953
8223
|
/** ArchivalState enum. */
|
|
@@ -7957,6 +8227,13 @@ export namespace temporal {
|
|
|
7957
8227
|
ARCHIVAL_STATE_ENABLED = 2
|
|
7958
8228
|
}
|
|
7959
8229
|
|
|
8230
|
+
/** ReplicationState enum. */
|
|
8231
|
+
enum ReplicationState {
|
|
8232
|
+
REPLICATION_STATE_UNSPECIFIED = 0,
|
|
8233
|
+
REPLICATION_STATE_NORMAL = 1,
|
|
8234
|
+
REPLICATION_STATE_HANDOVER = 2
|
|
8235
|
+
}
|
|
8236
|
+
|
|
7960
8237
|
/** WorkflowTaskFailedCause enum. */
|
|
7961
8238
|
enum WorkflowTaskFailedCause {
|
|
7962
8239
|
WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED = 0,
|
|
@@ -8004,6 +8281,14 @@ export namespace temporal {
|
|
|
8004
8281
|
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND = 1
|
|
8005
8282
|
}
|
|
8006
8283
|
|
|
8284
|
+
/** ResourceExhaustedCause enum. */
|
|
8285
|
+
enum ResourceExhaustedCause {
|
|
8286
|
+
RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED = 0,
|
|
8287
|
+
RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT = 1,
|
|
8288
|
+
RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT = 2,
|
|
8289
|
+
RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED = 3
|
|
8290
|
+
}
|
|
8291
|
+
|
|
8007
8292
|
/** EncodingType enum. */
|
|
8008
8293
|
enum EncodingType {
|
|
8009
8294
|
ENCODING_TYPE_UNSPECIFIED = 0,
|
|
@@ -14859,6 +15144,106 @@ export namespace temporal {
|
|
|
14859
15144
|
public toJSON(): { [k: string]: any };
|
|
14860
15145
|
}
|
|
14861
15146
|
|
|
15147
|
+
/** Properties of a PendingWorkflowTaskInfo. */
|
|
15148
|
+
interface IPendingWorkflowTaskInfo {
|
|
15149
|
+
|
|
15150
|
+
/** PendingWorkflowTaskInfo state */
|
|
15151
|
+
state?: (temporal.api.enums.v1.PendingWorkflowTaskState|null);
|
|
15152
|
+
|
|
15153
|
+
/** PendingWorkflowTaskInfo scheduledTime */
|
|
15154
|
+
scheduledTime?: (google.protobuf.ITimestamp|null);
|
|
15155
|
+
|
|
15156
|
+
/** PendingWorkflowTaskInfo originalScheduledTime */
|
|
15157
|
+
originalScheduledTime?: (google.protobuf.ITimestamp|null);
|
|
15158
|
+
|
|
15159
|
+
/** PendingWorkflowTaskInfo startedTime */
|
|
15160
|
+
startedTime?: (google.protobuf.ITimestamp|null);
|
|
15161
|
+
|
|
15162
|
+
/** PendingWorkflowTaskInfo attempt */
|
|
15163
|
+
attempt?: (number|null);
|
|
15164
|
+
}
|
|
15165
|
+
|
|
15166
|
+
/** Represents a PendingWorkflowTaskInfo. */
|
|
15167
|
+
class PendingWorkflowTaskInfo implements IPendingWorkflowTaskInfo {
|
|
15168
|
+
|
|
15169
|
+
/**
|
|
15170
|
+
* Constructs a new PendingWorkflowTaskInfo.
|
|
15171
|
+
* @param [properties] Properties to set
|
|
15172
|
+
*/
|
|
15173
|
+
constructor(properties?: temporal.api.workflow.v1.IPendingWorkflowTaskInfo);
|
|
15174
|
+
|
|
15175
|
+
/** PendingWorkflowTaskInfo state. */
|
|
15176
|
+
public state: temporal.api.enums.v1.PendingWorkflowTaskState;
|
|
15177
|
+
|
|
15178
|
+
/** PendingWorkflowTaskInfo scheduledTime. */
|
|
15179
|
+
public scheduledTime?: (google.protobuf.ITimestamp|null);
|
|
15180
|
+
|
|
15181
|
+
/** PendingWorkflowTaskInfo originalScheduledTime. */
|
|
15182
|
+
public originalScheduledTime?: (google.protobuf.ITimestamp|null);
|
|
15183
|
+
|
|
15184
|
+
/** PendingWorkflowTaskInfo startedTime. */
|
|
15185
|
+
public startedTime?: (google.protobuf.ITimestamp|null);
|
|
15186
|
+
|
|
15187
|
+
/** PendingWorkflowTaskInfo attempt. */
|
|
15188
|
+
public attempt: number;
|
|
15189
|
+
|
|
15190
|
+
/**
|
|
15191
|
+
* Encodes the specified PendingWorkflowTaskInfo message. Does not implicitly {@link temporal.api.workflow.v1.PendingWorkflowTaskInfo.verify|verify} messages.
|
|
15192
|
+
* @param message PendingWorkflowTaskInfo message or plain object to encode
|
|
15193
|
+
* @param [writer] Writer to encode to
|
|
15194
|
+
* @returns Writer
|
|
15195
|
+
*/
|
|
15196
|
+
public static encode(message: temporal.api.workflow.v1.IPendingWorkflowTaskInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15197
|
+
|
|
15198
|
+
/**
|
|
15199
|
+
* Encodes the specified PendingWorkflowTaskInfo message, length delimited. Does not implicitly {@link temporal.api.workflow.v1.PendingWorkflowTaskInfo.verify|verify} messages.
|
|
15200
|
+
* @param message PendingWorkflowTaskInfo message or plain object to encode
|
|
15201
|
+
* @param [writer] Writer to encode to
|
|
15202
|
+
* @returns Writer
|
|
15203
|
+
*/
|
|
15204
|
+
public static encodeDelimited(message: temporal.api.workflow.v1.IPendingWorkflowTaskInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15205
|
+
|
|
15206
|
+
/**
|
|
15207
|
+
* Decodes a PendingWorkflowTaskInfo message from the specified reader or buffer.
|
|
15208
|
+
* @param reader Reader or buffer to decode from
|
|
15209
|
+
* @param [length] Message length if known beforehand
|
|
15210
|
+
* @returns PendingWorkflowTaskInfo
|
|
15211
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15212
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15213
|
+
*/
|
|
15214
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflow.v1.PendingWorkflowTaskInfo;
|
|
15215
|
+
|
|
15216
|
+
/**
|
|
15217
|
+
* Decodes a PendingWorkflowTaskInfo message from the specified reader or buffer, length delimited.
|
|
15218
|
+
* @param reader Reader or buffer to decode from
|
|
15219
|
+
* @returns PendingWorkflowTaskInfo
|
|
15220
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15221
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15222
|
+
*/
|
|
15223
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflow.v1.PendingWorkflowTaskInfo;
|
|
15224
|
+
|
|
15225
|
+
/**
|
|
15226
|
+
* Creates a PendingWorkflowTaskInfo message from a plain object. Also converts values to their respective internal types.
|
|
15227
|
+
* @param object Plain object
|
|
15228
|
+
* @returns PendingWorkflowTaskInfo
|
|
15229
|
+
*/
|
|
15230
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.workflow.v1.PendingWorkflowTaskInfo;
|
|
15231
|
+
|
|
15232
|
+
/**
|
|
15233
|
+
* Creates a plain object from a PendingWorkflowTaskInfo message. Also converts values to other types if specified.
|
|
15234
|
+
* @param message PendingWorkflowTaskInfo
|
|
15235
|
+
* @param [options] Conversion options
|
|
15236
|
+
* @returns Plain object
|
|
15237
|
+
*/
|
|
15238
|
+
public static toObject(message: temporal.api.workflow.v1.PendingWorkflowTaskInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
15239
|
+
|
|
15240
|
+
/**
|
|
15241
|
+
* Converts this PendingWorkflowTaskInfo to JSON.
|
|
15242
|
+
* @returns JSON object
|
|
15243
|
+
*/
|
|
15244
|
+
public toJSON(): { [k: string]: any };
|
|
15245
|
+
}
|
|
15246
|
+
|
|
14862
15247
|
/** Properties of a ResetPoints. */
|
|
14863
15248
|
interface IResetPoints {
|
|
14864
15249
|
|
|
@@ -18260,6 +18645,9 @@ export namespace temporal {
|
|
|
18260
18645
|
|
|
18261
18646
|
/** NamespaceReplicationConfig clusters */
|
|
18262
18647
|
clusters?: (temporal.api.replication.v1.IClusterReplicationConfig[]|null);
|
|
18648
|
+
|
|
18649
|
+
/** NamespaceReplicationConfig state */
|
|
18650
|
+
state?: (temporal.api.enums.v1.ReplicationState|null);
|
|
18263
18651
|
}
|
|
18264
18652
|
|
|
18265
18653
|
/** Represents a NamespaceReplicationConfig. */
|
|
@@ -18277,6 +18665,9 @@ export namespace temporal {
|
|
|
18277
18665
|
/** NamespaceReplicationConfig clusters. */
|
|
18278
18666
|
public clusters: temporal.api.replication.v1.IClusterReplicationConfig[];
|
|
18279
18667
|
|
|
18668
|
+
/** NamespaceReplicationConfig state. */
|
|
18669
|
+
public state: temporal.api.enums.v1.ReplicationState;
|
|
18670
|
+
|
|
18280
18671
|
/**
|
|
18281
18672
|
* Encodes the specified NamespaceReplicationConfig message. Does not implicitly {@link temporal.api.replication.v1.NamespaceReplicationConfig.verify|verify} messages.
|
|
18282
18673
|
* @param message NamespaceReplicationConfig message or plain object to encode
|