@temporalio/proto 1.9.0-rc.0 → 1.9.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.
- package/lib/patch-protobuf-root.js.map +1 -1
- package/package.json +7 -3
- package/protos/json-module.js +112 -19
- package/protos/root.d.ts +533 -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.
|
|
3
|
+
"version": "1.9.1",
|
|
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": "05f22004a0d877d8a128768016d5719adbc67de8"
|
|
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
|
|
@@ -7537,7 +7579,7 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
7537
7579
|
go_package: "go.temporal.io/api/sdk/v1;sdk",
|
|
7538
7580
|
java_package: "io.temporal.api.sdk.v1",
|
|
7539
7581
|
java_multiple_files: true,
|
|
7540
|
-
java_outer_classname: "
|
|
7582
|
+
java_outer_classname: "WorkflowMetadataProto",
|
|
7541
7583
|
ruby_package: "Temporalio::Api::Sdk::V1",
|
|
7542
7584
|
csharp_namespace: "Temporalio.Api.Sdk.V1"
|
|
7543
7585
|
},
|
|
@@ -7563,6 +7605,53 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
7563
7605
|
id: 4
|
|
7564
7606
|
}
|
|
7565
7607
|
}
|
|
7608
|
+
},
|
|
7609
|
+
WorkflowMetadata: {
|
|
7610
|
+
fields: {
|
|
7611
|
+
definition: {
|
|
7612
|
+
type: "WorkflowDefinition",
|
|
7613
|
+
id: 1
|
|
7614
|
+
}
|
|
7615
|
+
}
|
|
7616
|
+
},
|
|
7617
|
+
WorkflowDefinition: {
|
|
7618
|
+
fields: {
|
|
7619
|
+
type: {
|
|
7620
|
+
type: "string",
|
|
7621
|
+
id: 1
|
|
7622
|
+
},
|
|
7623
|
+
description: {
|
|
7624
|
+
type: "string",
|
|
7625
|
+
id: 2
|
|
7626
|
+
},
|
|
7627
|
+
queryDefinitions: {
|
|
7628
|
+
rule: "repeated",
|
|
7629
|
+
type: "WorkflowInteractionDefinition",
|
|
7630
|
+
id: 3
|
|
7631
|
+
},
|
|
7632
|
+
signalDefinitions: {
|
|
7633
|
+
rule: "repeated",
|
|
7634
|
+
type: "WorkflowInteractionDefinition",
|
|
7635
|
+
id: 4
|
|
7636
|
+
},
|
|
7637
|
+
updateDefinitions: {
|
|
7638
|
+
rule: "repeated",
|
|
7639
|
+
type: "WorkflowInteractionDefinition",
|
|
7640
|
+
id: 5
|
|
7641
|
+
}
|
|
7642
|
+
}
|
|
7643
|
+
},
|
|
7644
|
+
WorkflowInteractionDefinition: {
|
|
7645
|
+
fields: {
|
|
7646
|
+
name: {
|
|
7647
|
+
type: "string",
|
|
7648
|
+
id: 1
|
|
7649
|
+
},
|
|
7650
|
+
description: {
|
|
7651
|
+
type: "string",
|
|
7652
|
+
id: 2
|
|
7653
|
+
}
|
|
7654
|
+
}
|
|
7566
7655
|
}
|
|
7567
7656
|
}
|
|
7568
7657
|
}
|
|
@@ -8940,6 +9029,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
8940
9029
|
},
|
|
8941
9030
|
BatchOperationReset: {
|
|
8942
9031
|
fields: {
|
|
9032
|
+
identity: {
|
|
9033
|
+
type: "string",
|
|
9034
|
+
id: 3
|
|
9035
|
+
},
|
|
9036
|
+
options: {
|
|
9037
|
+
type: "temporal.api.common.v1.ResetOptions",
|
|
9038
|
+
id: 4
|
|
9039
|
+
},
|
|
8943
9040
|
resetType: {
|
|
8944
9041
|
type: "temporal.api.enums.v1.ResetType",
|
|
8945
9042
|
id: 1
|
|
@@ -8947,10 +9044,6 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
8947
9044
|
resetReapplyType: {
|
|
8948
9045
|
type: "temporal.api.enums.v1.ResetReapplyType",
|
|
8949
9046
|
id: 2
|
|
8950
|
-
},
|
|
8951
|
-
identity: {
|
|
8952
|
-
type: "string",
|
|
8953
|
-
id: 3
|
|
8954
9047
|
}
|
|
8955
9048
|
}
|
|
8956
9049
|
}
|
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. */
|
|
@@ -34753,6 +34909,340 @@ export namespace temporal {
|
|
|
34753
34909
|
*/
|
|
34754
34910
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34755
34911
|
}
|
|
34912
|
+
|
|
34913
|
+
/** Properties of a WorkflowMetadata. */
|
|
34914
|
+
interface IWorkflowMetadata {
|
|
34915
|
+
|
|
34916
|
+
/** Metadata provided at declaration or creation time. */
|
|
34917
|
+
definition?: (temporal.api.sdk.v1.IWorkflowDefinition|null);
|
|
34918
|
+
}
|
|
34919
|
+
|
|
34920
|
+
/** The name of the query to retrieve this information is `__temporal_getWorkflowMetadata`. */
|
|
34921
|
+
class WorkflowMetadata implements IWorkflowMetadata {
|
|
34922
|
+
|
|
34923
|
+
/**
|
|
34924
|
+
* Constructs a new WorkflowMetadata.
|
|
34925
|
+
* @param [properties] Properties to set
|
|
34926
|
+
*/
|
|
34927
|
+
constructor(properties?: temporal.api.sdk.v1.IWorkflowMetadata);
|
|
34928
|
+
|
|
34929
|
+
/** Metadata provided at declaration or creation time. */
|
|
34930
|
+
public definition?: (temporal.api.sdk.v1.IWorkflowDefinition|null);
|
|
34931
|
+
|
|
34932
|
+
/**
|
|
34933
|
+
* Creates a new WorkflowMetadata instance using the specified properties.
|
|
34934
|
+
* @param [properties] Properties to set
|
|
34935
|
+
* @returns WorkflowMetadata instance
|
|
34936
|
+
*/
|
|
34937
|
+
public static create(properties?: temporal.api.sdk.v1.IWorkflowMetadata): temporal.api.sdk.v1.WorkflowMetadata;
|
|
34938
|
+
|
|
34939
|
+
/**
|
|
34940
|
+
* Encodes the specified WorkflowMetadata message. Does not implicitly {@link temporal.api.sdk.v1.WorkflowMetadata.verify|verify} messages.
|
|
34941
|
+
* @param message WorkflowMetadata message or plain object to encode
|
|
34942
|
+
* @param [writer] Writer to encode to
|
|
34943
|
+
* @returns Writer
|
|
34944
|
+
*/
|
|
34945
|
+
public static encode(message: temporal.api.sdk.v1.IWorkflowMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34946
|
+
|
|
34947
|
+
/**
|
|
34948
|
+
* Encodes the specified WorkflowMetadata message, length delimited. Does not implicitly {@link temporal.api.sdk.v1.WorkflowMetadata.verify|verify} messages.
|
|
34949
|
+
* @param message WorkflowMetadata message or plain object to encode
|
|
34950
|
+
* @param [writer] Writer to encode to
|
|
34951
|
+
* @returns Writer
|
|
34952
|
+
*/
|
|
34953
|
+
public static encodeDelimited(message: temporal.api.sdk.v1.IWorkflowMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34954
|
+
|
|
34955
|
+
/**
|
|
34956
|
+
* Decodes a WorkflowMetadata message from the specified reader or buffer.
|
|
34957
|
+
* @param reader Reader or buffer to decode from
|
|
34958
|
+
* @param [length] Message length if known beforehand
|
|
34959
|
+
* @returns WorkflowMetadata
|
|
34960
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34961
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34962
|
+
*/
|
|
34963
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.sdk.v1.WorkflowMetadata;
|
|
34964
|
+
|
|
34965
|
+
/**
|
|
34966
|
+
* Decodes a WorkflowMetadata message from the specified reader or buffer, length delimited.
|
|
34967
|
+
* @param reader Reader or buffer to decode from
|
|
34968
|
+
* @returns WorkflowMetadata
|
|
34969
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34970
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34971
|
+
*/
|
|
34972
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.sdk.v1.WorkflowMetadata;
|
|
34973
|
+
|
|
34974
|
+
/**
|
|
34975
|
+
* Creates a WorkflowMetadata message from a plain object. Also converts values to their respective internal types.
|
|
34976
|
+
* @param object Plain object
|
|
34977
|
+
* @returns WorkflowMetadata
|
|
34978
|
+
*/
|
|
34979
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.sdk.v1.WorkflowMetadata;
|
|
34980
|
+
|
|
34981
|
+
/**
|
|
34982
|
+
* Creates a plain object from a WorkflowMetadata message. Also converts values to other types if specified.
|
|
34983
|
+
* @param message WorkflowMetadata
|
|
34984
|
+
* @param [options] Conversion options
|
|
34985
|
+
* @returns Plain object
|
|
34986
|
+
*/
|
|
34987
|
+
public static toObject(message: temporal.api.sdk.v1.WorkflowMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34988
|
+
|
|
34989
|
+
/**
|
|
34990
|
+
* Converts this WorkflowMetadata to JSON.
|
|
34991
|
+
* @returns JSON object
|
|
34992
|
+
*/
|
|
34993
|
+
public toJSON(): { [k: string]: any };
|
|
34994
|
+
|
|
34995
|
+
/**
|
|
34996
|
+
* Gets the default type url for WorkflowMetadata
|
|
34997
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34998
|
+
* @returns The default type url
|
|
34999
|
+
*/
|
|
35000
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35001
|
+
}
|
|
35002
|
+
|
|
35003
|
+
/** Properties of a WorkflowDefinition. */
|
|
35004
|
+
interface IWorkflowDefinition {
|
|
35005
|
+
|
|
35006
|
+
/**
|
|
35007
|
+
* A name scoped by the task queue that maps to this workflow definition.
|
|
35008
|
+
* If missing, this workflow is a dynamic workflow.
|
|
35009
|
+
*/
|
|
35010
|
+
type?: (string|null);
|
|
35011
|
+
|
|
35012
|
+
/**
|
|
35013
|
+
* An optional workflow description provided by the application.
|
|
35014
|
+
* By convention, external tools may interpret its first part,
|
|
35015
|
+
* i.e., ending with a line break, as a summary of the description.
|
|
35016
|
+
*/
|
|
35017
|
+
description?: (string|null);
|
|
35018
|
+
|
|
35019
|
+
/** WorkflowDefinition queryDefinitions */
|
|
35020
|
+
queryDefinitions?: (temporal.api.sdk.v1.IWorkflowInteractionDefinition[]|null);
|
|
35021
|
+
|
|
35022
|
+
/** WorkflowDefinition signalDefinitions */
|
|
35023
|
+
signalDefinitions?: (temporal.api.sdk.v1.IWorkflowInteractionDefinition[]|null);
|
|
35024
|
+
|
|
35025
|
+
/** WorkflowDefinition updateDefinitions */
|
|
35026
|
+
updateDefinitions?: (temporal.api.sdk.v1.IWorkflowInteractionDefinition[]|null);
|
|
35027
|
+
}
|
|
35028
|
+
|
|
35029
|
+
/** (-- api-linter: core::0203::optional=disabled --) */
|
|
35030
|
+
class WorkflowDefinition implements IWorkflowDefinition {
|
|
35031
|
+
|
|
35032
|
+
/**
|
|
35033
|
+
* Constructs a new WorkflowDefinition.
|
|
35034
|
+
* @param [properties] Properties to set
|
|
35035
|
+
*/
|
|
35036
|
+
constructor(properties?: temporal.api.sdk.v1.IWorkflowDefinition);
|
|
35037
|
+
|
|
35038
|
+
/**
|
|
35039
|
+
* A name scoped by the task queue that maps to this workflow definition.
|
|
35040
|
+
* If missing, this workflow is a dynamic workflow.
|
|
35041
|
+
*/
|
|
35042
|
+
public type: string;
|
|
35043
|
+
|
|
35044
|
+
/**
|
|
35045
|
+
* An optional workflow description provided by the application.
|
|
35046
|
+
* By convention, external tools may interpret its first part,
|
|
35047
|
+
* i.e., ending with a line break, as a summary of the description.
|
|
35048
|
+
*/
|
|
35049
|
+
public description: string;
|
|
35050
|
+
|
|
35051
|
+
/** WorkflowDefinition queryDefinitions. */
|
|
35052
|
+
public queryDefinitions: temporal.api.sdk.v1.IWorkflowInteractionDefinition[];
|
|
35053
|
+
|
|
35054
|
+
/** WorkflowDefinition signalDefinitions. */
|
|
35055
|
+
public signalDefinitions: temporal.api.sdk.v1.IWorkflowInteractionDefinition[];
|
|
35056
|
+
|
|
35057
|
+
/** WorkflowDefinition updateDefinitions. */
|
|
35058
|
+
public updateDefinitions: temporal.api.sdk.v1.IWorkflowInteractionDefinition[];
|
|
35059
|
+
|
|
35060
|
+
/**
|
|
35061
|
+
* Creates a new WorkflowDefinition instance using the specified properties.
|
|
35062
|
+
* @param [properties] Properties to set
|
|
35063
|
+
* @returns WorkflowDefinition instance
|
|
35064
|
+
*/
|
|
35065
|
+
public static create(properties?: temporal.api.sdk.v1.IWorkflowDefinition): temporal.api.sdk.v1.WorkflowDefinition;
|
|
35066
|
+
|
|
35067
|
+
/**
|
|
35068
|
+
* Encodes the specified WorkflowDefinition message. Does not implicitly {@link temporal.api.sdk.v1.WorkflowDefinition.verify|verify} messages.
|
|
35069
|
+
* @param message WorkflowDefinition message or plain object to encode
|
|
35070
|
+
* @param [writer] Writer to encode to
|
|
35071
|
+
* @returns Writer
|
|
35072
|
+
*/
|
|
35073
|
+
public static encode(message: temporal.api.sdk.v1.IWorkflowDefinition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35074
|
+
|
|
35075
|
+
/**
|
|
35076
|
+
* Encodes the specified WorkflowDefinition message, length delimited. Does not implicitly {@link temporal.api.sdk.v1.WorkflowDefinition.verify|verify} messages.
|
|
35077
|
+
* @param message WorkflowDefinition message or plain object to encode
|
|
35078
|
+
* @param [writer] Writer to encode to
|
|
35079
|
+
* @returns Writer
|
|
35080
|
+
*/
|
|
35081
|
+
public static encodeDelimited(message: temporal.api.sdk.v1.IWorkflowDefinition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35082
|
+
|
|
35083
|
+
/**
|
|
35084
|
+
* Decodes a WorkflowDefinition message from the specified reader or buffer.
|
|
35085
|
+
* @param reader Reader or buffer to decode from
|
|
35086
|
+
* @param [length] Message length if known beforehand
|
|
35087
|
+
* @returns WorkflowDefinition
|
|
35088
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35089
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35090
|
+
*/
|
|
35091
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.sdk.v1.WorkflowDefinition;
|
|
35092
|
+
|
|
35093
|
+
/**
|
|
35094
|
+
* Decodes a WorkflowDefinition message from the specified reader or buffer, length delimited.
|
|
35095
|
+
* @param reader Reader or buffer to decode from
|
|
35096
|
+
* @returns WorkflowDefinition
|
|
35097
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35098
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35099
|
+
*/
|
|
35100
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.sdk.v1.WorkflowDefinition;
|
|
35101
|
+
|
|
35102
|
+
/**
|
|
35103
|
+
* Creates a WorkflowDefinition message from a plain object. Also converts values to their respective internal types.
|
|
35104
|
+
* @param object Plain object
|
|
35105
|
+
* @returns WorkflowDefinition
|
|
35106
|
+
*/
|
|
35107
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.sdk.v1.WorkflowDefinition;
|
|
35108
|
+
|
|
35109
|
+
/**
|
|
35110
|
+
* Creates a plain object from a WorkflowDefinition message. Also converts values to other types if specified.
|
|
35111
|
+
* @param message WorkflowDefinition
|
|
35112
|
+
* @param [options] Conversion options
|
|
35113
|
+
* @returns Plain object
|
|
35114
|
+
*/
|
|
35115
|
+
public static toObject(message: temporal.api.sdk.v1.WorkflowDefinition, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35116
|
+
|
|
35117
|
+
/**
|
|
35118
|
+
* Converts this WorkflowDefinition to JSON.
|
|
35119
|
+
* @returns JSON object
|
|
35120
|
+
*/
|
|
35121
|
+
public toJSON(): { [k: string]: any };
|
|
35122
|
+
|
|
35123
|
+
/**
|
|
35124
|
+
* Gets the default type url for WorkflowDefinition
|
|
35125
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35126
|
+
* @returns The default type url
|
|
35127
|
+
*/
|
|
35128
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35129
|
+
}
|
|
35130
|
+
|
|
35131
|
+
/** Properties of a WorkflowInteractionDefinition. */
|
|
35132
|
+
interface IWorkflowInteractionDefinition {
|
|
35133
|
+
|
|
35134
|
+
/**
|
|
35135
|
+
* An optional name for the handler. If missing, it represents
|
|
35136
|
+
* a dynamic handler that processes any interactions not handled by others.
|
|
35137
|
+
* There is at most one dynamic handler per workflow and interaction kind.
|
|
35138
|
+
*/
|
|
35139
|
+
name?: (string|null);
|
|
35140
|
+
|
|
35141
|
+
/**
|
|
35142
|
+
* An optional interaction description provided by the application.
|
|
35143
|
+
* By convention, external tools may interpret its first part,
|
|
35144
|
+
* i.e., ending with a line break, as a summary of the description.
|
|
35145
|
+
*/
|
|
35146
|
+
description?: (string|null);
|
|
35147
|
+
}
|
|
35148
|
+
|
|
35149
|
+
/**
|
|
35150
|
+
* (-- api-linter: core::0123::resource-annotation=disabled
|
|
35151
|
+
* aip.dev/not-precedent: The `name` field is optional. --)
|
|
35152
|
+
* (-- api-linter: core::0203::optional=disabled --)
|
|
35153
|
+
*/
|
|
35154
|
+
class WorkflowInteractionDefinition implements IWorkflowInteractionDefinition {
|
|
35155
|
+
|
|
35156
|
+
/**
|
|
35157
|
+
* Constructs a new WorkflowInteractionDefinition.
|
|
35158
|
+
* @param [properties] Properties to set
|
|
35159
|
+
*/
|
|
35160
|
+
constructor(properties?: temporal.api.sdk.v1.IWorkflowInteractionDefinition);
|
|
35161
|
+
|
|
35162
|
+
/**
|
|
35163
|
+
* An optional name for the handler. If missing, it represents
|
|
35164
|
+
* a dynamic handler that processes any interactions not handled by others.
|
|
35165
|
+
* There is at most one dynamic handler per workflow and interaction kind.
|
|
35166
|
+
*/
|
|
35167
|
+
public name: string;
|
|
35168
|
+
|
|
35169
|
+
/**
|
|
35170
|
+
* An optional interaction description provided by the application.
|
|
35171
|
+
* By convention, external tools may interpret its first part,
|
|
35172
|
+
* i.e., ending with a line break, as a summary of the description.
|
|
35173
|
+
*/
|
|
35174
|
+
public description: string;
|
|
35175
|
+
|
|
35176
|
+
/**
|
|
35177
|
+
* Creates a new WorkflowInteractionDefinition instance using the specified properties.
|
|
35178
|
+
* @param [properties] Properties to set
|
|
35179
|
+
* @returns WorkflowInteractionDefinition instance
|
|
35180
|
+
*/
|
|
35181
|
+
public static create(properties?: temporal.api.sdk.v1.IWorkflowInteractionDefinition): temporal.api.sdk.v1.WorkflowInteractionDefinition;
|
|
35182
|
+
|
|
35183
|
+
/**
|
|
35184
|
+
* Encodes the specified WorkflowInteractionDefinition message. Does not implicitly {@link temporal.api.sdk.v1.WorkflowInteractionDefinition.verify|verify} messages.
|
|
35185
|
+
* @param message WorkflowInteractionDefinition message or plain object to encode
|
|
35186
|
+
* @param [writer] Writer to encode to
|
|
35187
|
+
* @returns Writer
|
|
35188
|
+
*/
|
|
35189
|
+
public static encode(message: temporal.api.sdk.v1.IWorkflowInteractionDefinition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35190
|
+
|
|
35191
|
+
/**
|
|
35192
|
+
* Encodes the specified WorkflowInteractionDefinition message, length delimited. Does not implicitly {@link temporal.api.sdk.v1.WorkflowInteractionDefinition.verify|verify} messages.
|
|
35193
|
+
* @param message WorkflowInteractionDefinition message or plain object to encode
|
|
35194
|
+
* @param [writer] Writer to encode to
|
|
35195
|
+
* @returns Writer
|
|
35196
|
+
*/
|
|
35197
|
+
public static encodeDelimited(message: temporal.api.sdk.v1.IWorkflowInteractionDefinition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35198
|
+
|
|
35199
|
+
/**
|
|
35200
|
+
* Decodes a WorkflowInteractionDefinition message from the specified reader or buffer.
|
|
35201
|
+
* @param reader Reader or buffer to decode from
|
|
35202
|
+
* @param [length] Message length if known beforehand
|
|
35203
|
+
* @returns WorkflowInteractionDefinition
|
|
35204
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35205
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35206
|
+
*/
|
|
35207
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.sdk.v1.WorkflowInteractionDefinition;
|
|
35208
|
+
|
|
35209
|
+
/**
|
|
35210
|
+
* Decodes a WorkflowInteractionDefinition message from the specified reader or buffer, length delimited.
|
|
35211
|
+
* @param reader Reader or buffer to decode from
|
|
35212
|
+
* @returns WorkflowInteractionDefinition
|
|
35213
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35214
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35215
|
+
*/
|
|
35216
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.sdk.v1.WorkflowInteractionDefinition;
|
|
35217
|
+
|
|
35218
|
+
/**
|
|
35219
|
+
* Creates a WorkflowInteractionDefinition message from a plain object. Also converts values to their respective internal types.
|
|
35220
|
+
* @param object Plain object
|
|
35221
|
+
* @returns WorkflowInteractionDefinition
|
|
35222
|
+
*/
|
|
35223
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.sdk.v1.WorkflowInteractionDefinition;
|
|
35224
|
+
|
|
35225
|
+
/**
|
|
35226
|
+
* Creates a plain object from a WorkflowInteractionDefinition message. Also converts values to other types if specified.
|
|
35227
|
+
* @param message WorkflowInteractionDefinition
|
|
35228
|
+
* @param [options] Conversion options
|
|
35229
|
+
* @returns Plain object
|
|
35230
|
+
*/
|
|
35231
|
+
public static toObject(message: temporal.api.sdk.v1.WorkflowInteractionDefinition, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35232
|
+
|
|
35233
|
+
/**
|
|
35234
|
+
* Converts this WorkflowInteractionDefinition to JSON.
|
|
35235
|
+
* @returns JSON object
|
|
35236
|
+
*/
|
|
35237
|
+
public toJSON(): { [k: string]: any };
|
|
35238
|
+
|
|
35239
|
+
/**
|
|
35240
|
+
* Gets the default type url for WorkflowInteractionDefinition
|
|
35241
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35242
|
+
* @returns The default type url
|
|
35243
|
+
*/
|
|
35244
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35245
|
+
}
|
|
34756
35246
|
}
|
|
34757
35247
|
}
|
|
34758
35248
|
|
|
@@ -41541,14 +42031,17 @@ export namespace temporal {
|
|
|
41541
42031
|
/** Properties of a BatchOperationReset. */
|
|
41542
42032
|
interface IBatchOperationReset {
|
|
41543
42033
|
|
|
41544
|
-
/**
|
|
42034
|
+
/** The identity of the worker/client. */
|
|
42035
|
+
identity?: (string|null);
|
|
42036
|
+
|
|
42037
|
+
/** Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored. */
|
|
42038
|
+
options?: (temporal.api.common.v1.IResetOptions|null);
|
|
42039
|
+
|
|
42040
|
+
/** Reset type (deprecated, use `options`). */
|
|
41545
42041
|
resetType?: (temporal.api.enums.v1.ResetType|null);
|
|
41546
42042
|
|
|
41547
|
-
/** History event reapply options. */
|
|
42043
|
+
/** History event reapply options (deprecated, use `options`). */
|
|
41548
42044
|
resetReapplyType?: (temporal.api.enums.v1.ResetReapplyType|null);
|
|
41549
|
-
|
|
41550
|
-
/** The identity of the worker/client. */
|
|
41551
|
-
identity?: (string|null);
|
|
41552
42045
|
}
|
|
41553
42046
|
|
|
41554
42047
|
/**
|
|
@@ -41563,15 +42056,18 @@ export namespace temporal {
|
|
|
41563
42056
|
*/
|
|
41564
42057
|
constructor(properties?: temporal.api.batch.v1.IBatchOperationReset);
|
|
41565
42058
|
|
|
41566
|
-
/**
|
|
42059
|
+
/** The identity of the worker/client. */
|
|
42060
|
+
public identity: string;
|
|
42061
|
+
|
|
42062
|
+
/** Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored. */
|
|
42063
|
+
public options?: (temporal.api.common.v1.IResetOptions|null);
|
|
42064
|
+
|
|
42065
|
+
/** Reset type (deprecated, use `options`). */
|
|
41567
42066
|
public resetType: temporal.api.enums.v1.ResetType;
|
|
41568
42067
|
|
|
41569
|
-
/** History event reapply options. */
|
|
42068
|
+
/** History event reapply options (deprecated, use `options`). */
|
|
41570
42069
|
public resetReapplyType: temporal.api.enums.v1.ResetReapplyType;
|
|
41571
42070
|
|
|
41572
|
-
/** The identity of the worker/client. */
|
|
41573
|
-
public identity: string;
|
|
41574
|
-
|
|
41575
42071
|
/**
|
|
41576
42072
|
* Creates a new BatchOperationReset instance using the specified properties.
|
|
41577
42073
|
* @param [properties] Properties to set
|