@temporalio/proto 1.9.0-rc.0 → 1.9.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/patch-protobuf-root.js.map +1 -1
- package/package.json +7 -3
- package/protos/json-module.js +64 -18
- package/protos/root.d.ts +199 -37
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-protobuf-root.js","sourceRoot":"","sources":["../src/patch-protobuf-root.ts"],"names":[],"mappings":";;;AAAA,MAAM,UAAU,GAAG;IACjB,SAAS;IACT,eAAe;IACf,MAAM;IACN,QAAQ;IACR,UAAU;IACV,SAAS;IACT,UAAU;IACV,QAAQ;IACR,cAAc;CACf,CAAC;AAEF;;;;;;GAMG;AACH,SAAgB,iBAAiB,CAAoC,IAAO;IAC1E,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAFD,8CAEC;AAED,SAAS,kBAAkB,CAAoC,IAAO,EAAE,IAAa;IACnF,MAAM,OAAO,GAAG,IAAK,IAAI,CAAC,WAAmB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAC7E,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"patch-protobuf-root.js","sourceRoot":"","sources":["../src/patch-protobuf-root.ts"],"names":[],"mappings":";;;AAAA,MAAM,UAAU,GAAG;IACjB,SAAS;IACT,eAAe;IACf,MAAM;IACN,QAAQ;IACR,UAAU;IACV,SAAS;IACT,UAAU;IACV,QAAQ;IACR,cAAc;CACf,CAAC;AAEF;;;;;;GAMG;AACH,SAAgB,iBAAiB,CAAoC,IAAO;IAC1E,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAFD,8CAEC;AAED,SAAS,kBAAkB,CAAoC,IAAO,EAAE,IAAa;IACnF,MAAM,OAAO,GAAG,IAAK,IAAI,CAAC,WAAmB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAC7E,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAED,IAAI,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,KAAK,MAAM,eAAe,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;YAC3C,IAAI,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC;gBACzC,OAAO,CAAC,GAAG,CACT,mDAAmD,eAAe,0CAA0C,eAAe,cACzH,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MACrC,uDAAuD,CACxD,CAAC;YACJ,CAAC;YAED,IAAI,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;gBACvB,OAAO,CAAC,eAAe,CAAC,GAAG,kBAAkB,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;YACxE,CAAC;iBAAM,IAAI,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;gBACzB,OAAO,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC;YACnC,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAKD,SAAS,MAAM,CAAC,KAAc;IAC5B,kHAAkH;IAClH,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAK,KAAK,CAAC,WAAmB,CAAC,SAAS,KAAK,MAAM,CAAC;AAC5E,CAAC;AAED,SAAS,WAAW,CAAC,KAAc;IACjC,kHAAkH;IAClH,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAK,KAAK,CAAC,WAAmB,CAAC,SAAS,KAAK,WAAW,CAAC;AACjF,CAAC;AAED,yFAAyF;AACzF,SAAS,QAAQ,CAAC,KAAc;IAC9B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC;AACrD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temporalio/proto",
|
|
3
|
-
"version": "1.9.0
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Temporal.io SDK compiled protobuf definitions",
|
|
5
5
|
"main": "protos/index.js",
|
|
6
6
|
"types": "protos/index.d.ts",
|
|
@@ -20,9 +20,13 @@
|
|
|
20
20
|
"author": "Temporal Technologies Inc. <sdk@temporal.io>",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"long": "^5.2.
|
|
23
|
+
"long": "^5.2.3",
|
|
24
24
|
"protobufjs": "^7.2.5"
|
|
25
25
|
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"glob": "^10.3.10",
|
|
28
|
+
"protobufjs-cli": "^1.1.2"
|
|
29
|
+
},
|
|
26
30
|
"bugs": {
|
|
27
31
|
"url": "https://github.com/temporalio/sdk-typescript/issues"
|
|
28
32
|
},
|
|
@@ -35,5 +39,5 @@
|
|
|
35
39
|
"publishConfig": {
|
|
36
40
|
"access": "public"
|
|
37
41
|
},
|
|
38
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "5096976287616207edcd3e4281a2a5e1f7393e33"
|
|
39
43
|
}
|
package/protos/json-module.js
CHANGED
|
@@ -1720,6 +1720,44 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
1720
1720
|
id: 2
|
|
1721
1721
|
}
|
|
1722
1722
|
}
|
|
1723
|
+
},
|
|
1724
|
+
ResetOptions: {
|
|
1725
|
+
oneofs: {
|
|
1726
|
+
target: {
|
|
1727
|
+
oneof: [
|
|
1728
|
+
"firstWorkflowTask",
|
|
1729
|
+
"lastWorkflowTask",
|
|
1730
|
+
"workflowTaskId",
|
|
1731
|
+
"buildId"
|
|
1732
|
+
]
|
|
1733
|
+
}
|
|
1734
|
+
},
|
|
1735
|
+
fields: {
|
|
1736
|
+
firstWorkflowTask: {
|
|
1737
|
+
type: "google.protobuf.Empty",
|
|
1738
|
+
id: 1
|
|
1739
|
+
},
|
|
1740
|
+
lastWorkflowTask: {
|
|
1741
|
+
type: "google.protobuf.Empty",
|
|
1742
|
+
id: 2
|
|
1743
|
+
},
|
|
1744
|
+
workflowTaskId: {
|
|
1745
|
+
type: "int64",
|
|
1746
|
+
id: 3
|
|
1747
|
+
},
|
|
1748
|
+
buildId: {
|
|
1749
|
+
type: "string",
|
|
1750
|
+
id: 4
|
|
1751
|
+
},
|
|
1752
|
+
resetReapplyType: {
|
|
1753
|
+
type: "temporal.api.enums.v1.ResetReapplyType",
|
|
1754
|
+
id: 10
|
|
1755
|
+
},
|
|
1756
|
+
currentRunOnly: {
|
|
1757
|
+
type: "bool",
|
|
1758
|
+
id: 11
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1723
1761
|
}
|
|
1724
1762
|
}
|
|
1725
1763
|
}
|
|
@@ -1764,6 +1802,20 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
1764
1802
|
SEVERITY_LOW: 3
|
|
1765
1803
|
}
|
|
1766
1804
|
},
|
|
1805
|
+
ResetReapplyType: {
|
|
1806
|
+
values: {
|
|
1807
|
+
RESET_REAPPLY_TYPE_UNSPECIFIED: 0,
|
|
1808
|
+
RESET_REAPPLY_TYPE_SIGNAL: 1,
|
|
1809
|
+
RESET_REAPPLY_TYPE_NONE: 2
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1812
|
+
ResetType: {
|
|
1813
|
+
values: {
|
|
1814
|
+
RESET_TYPE_UNSPECIFIED: 0,
|
|
1815
|
+
RESET_TYPE_FIRST_WORKFLOW_TASK: 1,
|
|
1816
|
+
RESET_TYPE_LAST_WORKFLOW_TASK: 2
|
|
1817
|
+
}
|
|
1818
|
+
},
|
|
1767
1819
|
WorkflowIdReusePolicy: {
|
|
1768
1820
|
values: {
|
|
1769
1821
|
WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED: 0,
|
|
@@ -1976,20 +2028,6 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
1976
2028
|
QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY: 3
|
|
1977
2029
|
}
|
|
1978
2030
|
},
|
|
1979
|
-
ResetReapplyType: {
|
|
1980
|
-
values: {
|
|
1981
|
-
RESET_REAPPLY_TYPE_UNSPECIFIED: 0,
|
|
1982
|
-
RESET_REAPPLY_TYPE_SIGNAL: 1,
|
|
1983
|
-
RESET_REAPPLY_TYPE_NONE: 2
|
|
1984
|
-
}
|
|
1985
|
-
},
|
|
1986
|
-
ResetType: {
|
|
1987
|
-
values: {
|
|
1988
|
-
RESET_TYPE_UNSPECIFIED: 0,
|
|
1989
|
-
RESET_TYPE_FIRST_WORKFLOW_TASK: 1,
|
|
1990
|
-
RESET_TYPE_LAST_WORKFLOW_TASK: 2
|
|
1991
|
-
}
|
|
1992
|
-
},
|
|
1993
2031
|
TaskQueueKind: {
|
|
1994
2032
|
values: {
|
|
1995
2033
|
TASK_QUEUE_KIND_UNSPECIFIED: 0,
|
|
@@ -7444,6 +7482,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
7444
7482
|
},
|
|
7445
7483
|
ResetPointInfo: {
|
|
7446
7484
|
fields: {
|
|
7485
|
+
buildId: {
|
|
7486
|
+
type: "string",
|
|
7487
|
+
id: 7
|
|
7488
|
+
},
|
|
7447
7489
|
binaryChecksum: {
|
|
7448
7490
|
type: "string",
|
|
7449
7491
|
id: 1
|
|
@@ -8940,6 +8982,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
8940
8982
|
},
|
|
8941
8983
|
BatchOperationReset: {
|
|
8942
8984
|
fields: {
|
|
8985
|
+
identity: {
|
|
8986
|
+
type: "string",
|
|
8987
|
+
id: 3
|
|
8988
|
+
},
|
|
8989
|
+
options: {
|
|
8990
|
+
type: "temporal.api.common.v1.ResetOptions",
|
|
8991
|
+
id: 4
|
|
8992
|
+
},
|
|
8943
8993
|
resetType: {
|
|
8944
8994
|
type: "temporal.api.enums.v1.ResetType",
|
|
8945
8995
|
id: 1
|
|
@@ -8947,10 +8997,6 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
8947
8997
|
resetReapplyType: {
|
|
8948
8998
|
type: "temporal.api.enums.v1.ResetReapplyType",
|
|
8949
8999
|
id: 2
|
|
8950
|
-
},
|
|
8951
|
-
identity: {
|
|
8952
|
-
type: "string",
|
|
8953
|
-
id: 3
|
|
8954
9000
|
}
|
|
8955
9001
|
}
|
|
8956
9002
|
}
|
package/protos/root.d.ts
CHANGED
|
@@ -8717,6 +8717,158 @@ export namespace temporal {
|
|
|
8717
8717
|
*/
|
|
8718
8718
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8719
8719
|
}
|
|
8720
|
+
|
|
8721
|
+
/** Properties of a ResetOptions. */
|
|
8722
|
+
interface IResetOptions {
|
|
8723
|
+
|
|
8724
|
+
/** Resets to the first workflow task completed or started event. */
|
|
8725
|
+
firstWorkflowTask?: (google.protobuf.IEmpty|null);
|
|
8726
|
+
|
|
8727
|
+
/** Resets to the last workflow task completed or started event. */
|
|
8728
|
+
lastWorkflowTask?: (google.protobuf.IEmpty|null);
|
|
8729
|
+
|
|
8730
|
+
/**
|
|
8731
|
+
* The id of a specific `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or
|
|
8732
|
+
* `WORKFLOW_TASK_STARTED` event to reset to.
|
|
8733
|
+
* Note that this option doesn't make sense when used as part of a batch request.
|
|
8734
|
+
*/
|
|
8735
|
+
workflowTaskId?: (Long|null);
|
|
8736
|
+
|
|
8737
|
+
/**
|
|
8738
|
+
* Resets to the first workflow task processed by this build id.
|
|
8739
|
+
* If the workflow was not processed by the build id, or the workflow task can't be
|
|
8740
|
+
* determined, no reset will be performed.
|
|
8741
|
+
* Note that by default, this reset is allowed to be to a prior run in a chain of
|
|
8742
|
+
* continue-as-new.
|
|
8743
|
+
*/
|
|
8744
|
+
buildId?: (string|null);
|
|
8745
|
+
|
|
8746
|
+
/** History event reapply options. */
|
|
8747
|
+
resetReapplyType?: (temporal.api.enums.v1.ResetReapplyType|null);
|
|
8748
|
+
|
|
8749
|
+
/**
|
|
8750
|
+
* If true, limit the reset to only within the current run. (Applies to build_id targets and
|
|
8751
|
+
* possibly others in the future.)
|
|
8752
|
+
*/
|
|
8753
|
+
currentRunOnly?: (boolean|null);
|
|
8754
|
+
}
|
|
8755
|
+
|
|
8756
|
+
/**
|
|
8757
|
+
* Describes where and how to reset a workflow, used for batch reset currently
|
|
8758
|
+
* and may be used for single-workflow reset later.
|
|
8759
|
+
*/
|
|
8760
|
+
class ResetOptions implements IResetOptions {
|
|
8761
|
+
|
|
8762
|
+
/**
|
|
8763
|
+
* Constructs a new ResetOptions.
|
|
8764
|
+
* @param [properties] Properties to set
|
|
8765
|
+
*/
|
|
8766
|
+
constructor(properties?: temporal.api.common.v1.IResetOptions);
|
|
8767
|
+
|
|
8768
|
+
/** Resets to the first workflow task completed or started event. */
|
|
8769
|
+
public firstWorkflowTask?: (google.protobuf.IEmpty|null);
|
|
8770
|
+
|
|
8771
|
+
/** Resets to the last workflow task completed or started event. */
|
|
8772
|
+
public lastWorkflowTask?: (google.protobuf.IEmpty|null);
|
|
8773
|
+
|
|
8774
|
+
/**
|
|
8775
|
+
* The id of a specific `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or
|
|
8776
|
+
* `WORKFLOW_TASK_STARTED` event to reset to.
|
|
8777
|
+
* Note that this option doesn't make sense when used as part of a batch request.
|
|
8778
|
+
*/
|
|
8779
|
+
public workflowTaskId?: (Long|null);
|
|
8780
|
+
|
|
8781
|
+
/**
|
|
8782
|
+
* Resets to the first workflow task processed by this build id.
|
|
8783
|
+
* If the workflow was not processed by the build id, or the workflow task can't be
|
|
8784
|
+
* determined, no reset will be performed.
|
|
8785
|
+
* Note that by default, this reset is allowed to be to a prior run in a chain of
|
|
8786
|
+
* continue-as-new.
|
|
8787
|
+
*/
|
|
8788
|
+
public buildId?: (string|null);
|
|
8789
|
+
|
|
8790
|
+
/** History event reapply options. */
|
|
8791
|
+
public resetReapplyType: temporal.api.enums.v1.ResetReapplyType;
|
|
8792
|
+
|
|
8793
|
+
/**
|
|
8794
|
+
* If true, limit the reset to only within the current run. (Applies to build_id targets and
|
|
8795
|
+
* possibly others in the future.)
|
|
8796
|
+
*/
|
|
8797
|
+
public currentRunOnly: boolean;
|
|
8798
|
+
|
|
8799
|
+
/** Which workflow task to reset to. */
|
|
8800
|
+
public target?: ("firstWorkflowTask"|"lastWorkflowTask"|"workflowTaskId"|"buildId");
|
|
8801
|
+
|
|
8802
|
+
/**
|
|
8803
|
+
* Creates a new ResetOptions instance using the specified properties.
|
|
8804
|
+
* @param [properties] Properties to set
|
|
8805
|
+
* @returns ResetOptions instance
|
|
8806
|
+
*/
|
|
8807
|
+
public static create(properties?: temporal.api.common.v1.IResetOptions): temporal.api.common.v1.ResetOptions;
|
|
8808
|
+
|
|
8809
|
+
/**
|
|
8810
|
+
* Encodes the specified ResetOptions message. Does not implicitly {@link temporal.api.common.v1.ResetOptions.verify|verify} messages.
|
|
8811
|
+
* @param message ResetOptions message or plain object to encode
|
|
8812
|
+
* @param [writer] Writer to encode to
|
|
8813
|
+
* @returns Writer
|
|
8814
|
+
*/
|
|
8815
|
+
public static encode(message: temporal.api.common.v1.IResetOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8816
|
+
|
|
8817
|
+
/**
|
|
8818
|
+
* Encodes the specified ResetOptions message, length delimited. Does not implicitly {@link temporal.api.common.v1.ResetOptions.verify|verify} messages.
|
|
8819
|
+
* @param message ResetOptions message or plain object to encode
|
|
8820
|
+
* @param [writer] Writer to encode to
|
|
8821
|
+
* @returns Writer
|
|
8822
|
+
*/
|
|
8823
|
+
public static encodeDelimited(message: temporal.api.common.v1.IResetOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8824
|
+
|
|
8825
|
+
/**
|
|
8826
|
+
* Decodes a ResetOptions message from the specified reader or buffer.
|
|
8827
|
+
* @param reader Reader or buffer to decode from
|
|
8828
|
+
* @param [length] Message length if known beforehand
|
|
8829
|
+
* @returns ResetOptions
|
|
8830
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8831
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8832
|
+
*/
|
|
8833
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.common.v1.ResetOptions;
|
|
8834
|
+
|
|
8835
|
+
/**
|
|
8836
|
+
* Decodes a ResetOptions message from the specified reader or buffer, length delimited.
|
|
8837
|
+
* @param reader Reader or buffer to decode from
|
|
8838
|
+
* @returns ResetOptions
|
|
8839
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8840
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8841
|
+
*/
|
|
8842
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.common.v1.ResetOptions;
|
|
8843
|
+
|
|
8844
|
+
/**
|
|
8845
|
+
* Creates a ResetOptions message from a plain object. Also converts values to their respective internal types.
|
|
8846
|
+
* @param object Plain object
|
|
8847
|
+
* @returns ResetOptions
|
|
8848
|
+
*/
|
|
8849
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.common.v1.ResetOptions;
|
|
8850
|
+
|
|
8851
|
+
/**
|
|
8852
|
+
* Creates a plain object from a ResetOptions message. Also converts values to other types if specified.
|
|
8853
|
+
* @param message ResetOptions
|
|
8854
|
+
* @param [options] Conversion options
|
|
8855
|
+
* @returns Plain object
|
|
8856
|
+
*/
|
|
8857
|
+
public static toObject(message: temporal.api.common.v1.ResetOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8858
|
+
|
|
8859
|
+
/**
|
|
8860
|
+
* Converts this ResetOptions to JSON.
|
|
8861
|
+
* @returns JSON object
|
|
8862
|
+
*/
|
|
8863
|
+
public toJSON(): { [k: string]: any };
|
|
8864
|
+
|
|
8865
|
+
/**
|
|
8866
|
+
* Gets the default type url for ResetOptions
|
|
8867
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8868
|
+
* @returns The default type url
|
|
8869
|
+
*/
|
|
8870
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8871
|
+
}
|
|
8720
8872
|
}
|
|
8721
8873
|
}
|
|
8722
8874
|
|
|
@@ -8753,6 +8905,24 @@ export namespace temporal {
|
|
|
8753
8905
|
SEVERITY_LOW = 3
|
|
8754
8906
|
}
|
|
8755
8907
|
|
|
8908
|
+
/**
|
|
8909
|
+
* Reset reapply (replay) options
|
|
8910
|
+
* * RESET_REAPPLY_TYPE_SIGNAL (default) - Signals are reapplied when workflow is reset
|
|
8911
|
+
* * RESET_REAPPLY_TYPE_NONE - nothing is reapplied
|
|
8912
|
+
*/
|
|
8913
|
+
enum ResetReapplyType {
|
|
8914
|
+
RESET_REAPPLY_TYPE_UNSPECIFIED = 0,
|
|
8915
|
+
RESET_REAPPLY_TYPE_SIGNAL = 1,
|
|
8916
|
+
RESET_REAPPLY_TYPE_NONE = 2
|
|
8917
|
+
}
|
|
8918
|
+
|
|
8919
|
+
/** Reset type options. Deprecated, see temporal.api.common.v1.ResetOptions. */
|
|
8920
|
+
enum ResetType {
|
|
8921
|
+
RESET_TYPE_UNSPECIFIED = 0,
|
|
8922
|
+
RESET_TYPE_FIRST_WORKFLOW_TASK = 1,
|
|
8923
|
+
RESET_TYPE_LAST_WORKFLOW_TASK = 2
|
|
8924
|
+
}
|
|
8925
|
+
|
|
8756
8926
|
/**
|
|
8757
8927
|
* Defines how new runs of a workflow with a particular ID may or may not be allowed. Note that
|
|
8758
8928
|
* it is *never* valid to have two actively running instances of the same workflow id.
|
|
@@ -8982,24 +9152,6 @@ export namespace temporal {
|
|
|
8982
9152
|
QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY = 3
|
|
8983
9153
|
}
|
|
8984
9154
|
|
|
8985
|
-
/**
|
|
8986
|
-
* Reset reapply (replay) options
|
|
8987
|
-
* * RESET_REAPPLY_TYPE_SIGNAL (default) - Signals are reapplied when workflow is reset
|
|
8988
|
-
* * RESET_REAPPLY_TYPE_NONE - nothing is reapplied
|
|
8989
|
-
*/
|
|
8990
|
-
enum ResetReapplyType {
|
|
8991
|
-
RESET_REAPPLY_TYPE_UNSPECIFIED = 0,
|
|
8992
|
-
RESET_REAPPLY_TYPE_SIGNAL = 1,
|
|
8993
|
-
RESET_REAPPLY_TYPE_NONE = 2
|
|
8994
|
-
}
|
|
8995
|
-
|
|
8996
|
-
/** Reset type options */
|
|
8997
|
-
enum ResetType {
|
|
8998
|
-
RESET_TYPE_UNSPECIFIED = 0,
|
|
8999
|
-
RESET_TYPE_FIRST_WORKFLOW_TASK = 1,
|
|
9000
|
-
RESET_TYPE_LAST_WORKFLOW_TASK = 2
|
|
9001
|
-
}
|
|
9002
|
-
|
|
9003
9155
|
/** TaskQueueKind enum. */
|
|
9004
9156
|
enum TaskQueueKind {
|
|
9005
9157
|
TASK_QUEUE_KIND_UNSPECIFIED = 0,
|
|
@@ -34266,10 +34418,10 @@ export namespace temporal {
|
|
|
34266
34418
|
/** Properties of a ResetPointInfo. */
|
|
34267
34419
|
interface IResetPointInfo {
|
|
34268
34420
|
|
|
34269
|
-
/**
|
|
34270
|
-
|
|
34271
|
-
|
|
34272
|
-
|
|
34421
|
+
/** Worker build id. */
|
|
34422
|
+
buildId?: (string|null);
|
|
34423
|
+
|
|
34424
|
+
/** A worker binary version identifier (deprecated). */
|
|
34273
34425
|
binaryChecksum?: (string|null);
|
|
34274
34426
|
|
|
34275
34427
|
/** The first run ID in the execution chain that was touched by this worker build. */
|
|
@@ -34292,7 +34444,11 @@ export namespace temporal {
|
|
|
34292
34444
|
resettable?: (boolean|null);
|
|
34293
34445
|
}
|
|
34294
34446
|
|
|
34295
|
-
/**
|
|
34447
|
+
/**
|
|
34448
|
+
* ResetPointInfo records the workflow event id that is the first one processed by a given
|
|
34449
|
+
* build id or binary checksum. A new reset point will be created if either build id or binary
|
|
34450
|
+
* checksum changes (although in general only one or the other will be used at a time).
|
|
34451
|
+
*/
|
|
34296
34452
|
class ResetPointInfo implements IResetPointInfo {
|
|
34297
34453
|
|
|
34298
34454
|
/**
|
|
@@ -34301,10 +34457,10 @@ export namespace temporal {
|
|
|
34301
34457
|
*/
|
|
34302
34458
|
constructor(properties?: temporal.api.workflow.v1.IResetPointInfo);
|
|
34303
34459
|
|
|
34304
|
-
/**
|
|
34305
|
-
|
|
34306
|
-
|
|
34307
|
-
|
|
34460
|
+
/** Worker build id. */
|
|
34461
|
+
public buildId: string;
|
|
34462
|
+
|
|
34463
|
+
/** A worker binary version identifier (deprecated). */
|
|
34308
34464
|
public binaryChecksum: string;
|
|
34309
34465
|
|
|
34310
34466
|
/** The first run ID in the execution chain that was touched by this worker build. */
|
|
@@ -41541,14 +41697,17 @@ export namespace temporal {
|
|
|
41541
41697
|
/** Properties of a BatchOperationReset. */
|
|
41542
41698
|
interface IBatchOperationReset {
|
|
41543
41699
|
|
|
41544
|
-
/**
|
|
41700
|
+
/** The identity of the worker/client. */
|
|
41701
|
+
identity?: (string|null);
|
|
41702
|
+
|
|
41703
|
+
/** Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored. */
|
|
41704
|
+
options?: (temporal.api.common.v1.IResetOptions|null);
|
|
41705
|
+
|
|
41706
|
+
/** Reset type (deprecated, use `options`). */
|
|
41545
41707
|
resetType?: (temporal.api.enums.v1.ResetType|null);
|
|
41546
41708
|
|
|
41547
|
-
/** History event reapply options. */
|
|
41709
|
+
/** History event reapply options (deprecated, use `options`). */
|
|
41548
41710
|
resetReapplyType?: (temporal.api.enums.v1.ResetReapplyType|null);
|
|
41549
|
-
|
|
41550
|
-
/** The identity of the worker/client. */
|
|
41551
|
-
identity?: (string|null);
|
|
41552
41711
|
}
|
|
41553
41712
|
|
|
41554
41713
|
/**
|
|
@@ -41563,15 +41722,18 @@ export namespace temporal {
|
|
|
41563
41722
|
*/
|
|
41564
41723
|
constructor(properties?: temporal.api.batch.v1.IBatchOperationReset);
|
|
41565
41724
|
|
|
41566
|
-
/**
|
|
41725
|
+
/** The identity of the worker/client. */
|
|
41726
|
+
public identity: string;
|
|
41727
|
+
|
|
41728
|
+
/** Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored. */
|
|
41729
|
+
public options?: (temporal.api.common.v1.IResetOptions|null);
|
|
41730
|
+
|
|
41731
|
+
/** Reset type (deprecated, use `options`). */
|
|
41567
41732
|
public resetType: temporal.api.enums.v1.ResetType;
|
|
41568
41733
|
|
|
41569
|
-
/** History event reapply options. */
|
|
41734
|
+
/** History event reapply options (deprecated, use `options`). */
|
|
41570
41735
|
public resetReapplyType: temporal.api.enums.v1.ResetReapplyType;
|
|
41571
41736
|
|
|
41572
|
-
/** The identity of the worker/client. */
|
|
41573
|
-
public identity: string;
|
|
41574
|
-
|
|
41575
41737
|
/**
|
|
41576
41738
|
* Creates a new BatchOperationReset instance using the specified properties.
|
|
41577
41739
|
* @param [properties] Properties to set
|