@temporalio/proto 1.9.1 → 1.9.2
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/package.json +2 -2
- package/protos/json-module.js +47 -15
- package/protos/root.d.ts +147 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temporalio/proto",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"description": "Temporal.io SDK compiled protobuf definitions",
|
|
5
5
|
"main": "protos/index.js",
|
|
6
6
|
"types": "protos/index.d.ts",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "5fd66f5787deece0b30f085808db7651187600b1"
|
|
43
43
|
}
|
package/protos/json-module.js
CHANGED
|
@@ -1802,11 +1802,19 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
1802
1802
|
SEVERITY_LOW: 3
|
|
1803
1803
|
}
|
|
1804
1804
|
},
|
|
1805
|
+
ResetReapplyExcludeType: {
|
|
1806
|
+
values: {
|
|
1807
|
+
RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED: 0,
|
|
1808
|
+
RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL: 1,
|
|
1809
|
+
RESET_REAPPLY_EXCLUDE_TYPE_UPDATE: 2
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1805
1812
|
ResetReapplyType: {
|
|
1806
1813
|
values: {
|
|
1807
1814
|
RESET_REAPPLY_TYPE_UNSPECIFIED: 0,
|
|
1808
1815
|
RESET_REAPPLY_TYPE_SIGNAL: 1,
|
|
1809
|
-
RESET_REAPPLY_TYPE_NONE: 2
|
|
1816
|
+
RESET_REAPPLY_TYPE_NONE: 2,
|
|
1817
|
+
RESET_REAPPLY_TYPE_ALL_ELIGIBLE: 3
|
|
1810
1818
|
}
|
|
1811
1819
|
},
|
|
1812
1820
|
ResetType: {
|
|
@@ -1904,6 +1912,12 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
1904
1912
|
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED: 3
|
|
1905
1913
|
}
|
|
1906
1914
|
},
|
|
1915
|
+
UpdateRequestedEventOrigin: {
|
|
1916
|
+
values: {
|
|
1917
|
+
UPDATE_REQUESTED_EVENT_ORIGIN_UNSPECIFIED: 0,
|
|
1918
|
+
UPDATE_REQUESTED_EVENT_ORIGIN_REAPPLY: 1
|
|
1919
|
+
}
|
|
1920
|
+
},
|
|
1907
1921
|
WorkflowTaskFailedCause: {
|
|
1908
1922
|
values: {
|
|
1909
1923
|
WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED: 0,
|
|
@@ -2099,7 +2113,8 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
2099
2113
|
EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED: 43,
|
|
2100
2114
|
EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY: 44,
|
|
2101
2115
|
EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY: 45,
|
|
2102
|
-
EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED: 46
|
|
2116
|
+
EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED: 46,
|
|
2117
|
+
EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REQUESTED: 47
|
|
2103
2118
|
}
|
|
2104
2119
|
},
|
|
2105
2120
|
CommandType: {
|
|
@@ -4326,6 +4341,11 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
4326
4341
|
resetReapplyType: {
|
|
4327
4342
|
type: "temporal.api.enums.v1.ResetReapplyType",
|
|
4328
4343
|
id: 6
|
|
4344
|
+
},
|
|
4345
|
+
resetReapplyExcludeTypes: {
|
|
4346
|
+
rule: "repeated",
|
|
4347
|
+
type: "temporal.api.enums.v1.ResetReapplyExcludeType",
|
|
4348
|
+
id: 7
|
|
4329
4349
|
}
|
|
4330
4350
|
}
|
|
4331
4351
|
},
|
|
@@ -6216,6 +6236,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
6216
6236
|
skipGenerateWorkflowTask: {
|
|
6217
6237
|
type: "bool",
|
|
6218
6238
|
id: 5
|
|
6239
|
+
},
|
|
6240
|
+
externalWorkflowExecution: {
|
|
6241
|
+
type: "temporal.api.common.v1.WorkflowExecution",
|
|
6242
|
+
id: 6
|
|
6219
6243
|
}
|
|
6220
6244
|
}
|
|
6221
6245
|
},
|
|
@@ -6839,6 +6863,18 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
6839
6863
|
}
|
|
6840
6864
|
}
|
|
6841
6865
|
},
|
|
6866
|
+
WorkflowExecutionUpdateRequestedEventAttributes: {
|
|
6867
|
+
fields: {
|
|
6868
|
+
request: {
|
|
6869
|
+
type: "temporal.api.update.v1.Request",
|
|
6870
|
+
id: 1
|
|
6871
|
+
},
|
|
6872
|
+
origin: {
|
|
6873
|
+
type: "temporal.api.enums.v1.UpdateRequestedEventOrigin",
|
|
6874
|
+
id: 2
|
|
6875
|
+
}
|
|
6876
|
+
}
|
|
6877
|
+
},
|
|
6842
6878
|
HistoryEvent: {
|
|
6843
6879
|
oneofs: {
|
|
6844
6880
|
attributes: {
|
|
@@ -6888,7 +6924,8 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
6888
6924
|
"workflowExecutionUpdateCompletedEventAttributes",
|
|
6889
6925
|
"workflowPropertiesModifiedExternallyEventAttributes",
|
|
6890
6926
|
"activityPropertiesModifiedExternallyEventAttributes",
|
|
6891
|
-
"workflowPropertiesModifiedEventAttributes"
|
|
6927
|
+
"workflowPropertiesModifiedEventAttributes",
|
|
6928
|
+
"workflowExecutionUpdateRequestedEventAttributes"
|
|
6892
6929
|
]
|
|
6893
6930
|
}
|
|
6894
6931
|
},
|
|
@@ -7100,6 +7137,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
7100
7137
|
workflowPropertiesModifiedEventAttributes: {
|
|
7101
7138
|
type: "WorkflowPropertiesModifiedEventAttributes",
|
|
7102
7139
|
id: 51
|
|
7140
|
+
},
|
|
7141
|
+
workflowExecutionUpdateRequestedEventAttributes: {
|
|
7142
|
+
type: "WorkflowExecutionUpdateRequestedEventAttributes",
|
|
7143
|
+
id: 52
|
|
7103
7144
|
}
|
|
7104
7145
|
}
|
|
7105
7146
|
},
|
|
@@ -9452,10 +9493,7 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
9452
9493
|
fields: {
|
|
9453
9494
|
timestamp: {
|
|
9454
9495
|
type: "google.protobuf.Timestamp",
|
|
9455
|
-
id: 1
|
|
9456
|
-
options: {
|
|
9457
|
-
"(gogoproto.stdtime)": true
|
|
9458
|
-
}
|
|
9496
|
+
id: 1
|
|
9459
9497
|
}
|
|
9460
9498
|
}
|
|
9461
9499
|
},
|
|
@@ -9463,10 +9501,7 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
9463
9501
|
fields: {
|
|
9464
9502
|
duration: {
|
|
9465
9503
|
type: "google.protobuf.Duration",
|
|
9466
|
-
id: 1
|
|
9467
|
-
options: {
|
|
9468
|
-
"(gogoproto.stdduration)": true
|
|
9469
|
-
}
|
|
9504
|
+
id: 1
|
|
9470
9505
|
}
|
|
9471
9506
|
}
|
|
9472
9507
|
},
|
|
@@ -9477,10 +9512,7 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
9477
9512
|
fields: {
|
|
9478
9513
|
time: {
|
|
9479
9514
|
type: "google.protobuf.Timestamp",
|
|
9480
|
-
id: 1
|
|
9481
|
-
options: {
|
|
9482
|
-
"(gogoproto.stdtime)": true
|
|
9483
|
-
}
|
|
9515
|
+
id: 1
|
|
9484
9516
|
}
|
|
9485
9517
|
}
|
|
9486
9518
|
},
|
package/protos/root.d.ts
CHANGED
|
@@ -8905,15 +8905,23 @@ export namespace temporal {
|
|
|
8905
8905
|
SEVERITY_LOW = 3
|
|
8906
8906
|
}
|
|
8907
8907
|
|
|
8908
|
+
/** Event types to exclude when reapplying events. */
|
|
8909
|
+
enum ResetReapplyExcludeType {
|
|
8910
|
+
RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED = 0,
|
|
8911
|
+
RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL = 1,
|
|
8912
|
+
RESET_REAPPLY_EXCLUDE_TYPE_UPDATE = 2
|
|
8913
|
+
}
|
|
8914
|
+
|
|
8908
8915
|
/**
|
|
8909
|
-
*
|
|
8910
|
-
*
|
|
8911
|
-
*
|
|
8916
|
+
* Event types to include when reapplying events. Deprecated: applications
|
|
8917
|
+
* should use ResetReapplyExcludeType to specify exclusions from this set, and
|
|
8918
|
+
* new event types should be added to ResetReapplyExcludeType instead of here.
|
|
8912
8919
|
*/
|
|
8913
8920
|
enum ResetReapplyType {
|
|
8914
8921
|
RESET_REAPPLY_TYPE_UNSPECIFIED = 0,
|
|
8915
8922
|
RESET_REAPPLY_TYPE_SIGNAL = 1,
|
|
8916
|
-
RESET_REAPPLY_TYPE_NONE = 2
|
|
8923
|
+
RESET_REAPPLY_TYPE_NONE = 2,
|
|
8924
|
+
RESET_REAPPLY_TYPE_ALL_ELIGIBLE = 3
|
|
8917
8925
|
}
|
|
8918
8926
|
|
|
8919
8927
|
/** Reset type options. Deprecated, see temporal.api.common.v1.ResetOptions. */
|
|
@@ -9025,6 +9033,16 @@ export namespace temporal {
|
|
|
9025
9033
|
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED = 3
|
|
9026
9034
|
}
|
|
9027
9035
|
|
|
9036
|
+
/**
|
|
9037
|
+
* UpdateRequestedEventOrigin records why an
|
|
9038
|
+
* WorkflowExecutionUpdateRequestedEvent was written to history. Note that not
|
|
9039
|
+
* all update requests result in a WorkflowExecutionUpdateRequestedEvent.
|
|
9040
|
+
*/
|
|
9041
|
+
enum UpdateRequestedEventOrigin {
|
|
9042
|
+
UPDATE_REQUESTED_EVENT_ORIGIN_UNSPECIFIED = 0,
|
|
9043
|
+
UPDATE_REQUESTED_EVENT_ORIGIN_REAPPLY = 1
|
|
9044
|
+
}
|
|
9045
|
+
|
|
9028
9046
|
/**
|
|
9029
9047
|
* Workflow tasks can fail for various reasons. Note that some of these reasons can only originate
|
|
9030
9048
|
* from the server, and some of them can only originate from the SDK/worker.
|
|
@@ -9226,7 +9244,8 @@ export namespace temporal {
|
|
|
9226
9244
|
EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED = 43,
|
|
9227
9245
|
EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY = 44,
|
|
9228
9246
|
EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY = 45,
|
|
9229
|
-
EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED = 46
|
|
9247
|
+
EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED = 46,
|
|
9248
|
+
EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REQUESTED = 47
|
|
9230
9249
|
}
|
|
9231
9250
|
|
|
9232
9251
|
/** Whenever this list of command types is changed do change the function shouldBufferEvent in mutableStateBuilder.go to make sure to do the correct event ordering. */
|
|
@@ -18403,8 +18422,14 @@ export namespace temporal {
|
|
|
18403
18422
|
/** Used to de-dupe reset requests */
|
|
18404
18423
|
requestId?: (string|null);
|
|
18405
18424
|
|
|
18406
|
-
/**
|
|
18425
|
+
/**
|
|
18426
|
+
* Event types to be reapplied (deprecated)
|
|
18427
|
+
* Default: RESET_REAPPLY_TYPE_ALL_ELIGIBLE
|
|
18428
|
+
*/
|
|
18407
18429
|
resetReapplyType?: (temporal.api.enums.v1.ResetReapplyType|null);
|
|
18430
|
+
|
|
18431
|
+
/** Event types not to be reapplied */
|
|
18432
|
+
resetReapplyExcludeTypes?: (temporal.api.enums.v1.ResetReapplyExcludeType[]|null);
|
|
18408
18433
|
}
|
|
18409
18434
|
|
|
18410
18435
|
/** Represents a ResetWorkflowExecutionRequest. */
|
|
@@ -18434,9 +18459,15 @@ export namespace temporal {
|
|
|
18434
18459
|
/** Used to de-dupe reset requests */
|
|
18435
18460
|
public requestId: string;
|
|
18436
18461
|
|
|
18437
|
-
/**
|
|
18462
|
+
/**
|
|
18463
|
+
* Event types to be reapplied (deprecated)
|
|
18464
|
+
* Default: RESET_REAPPLY_TYPE_ALL_ELIGIBLE
|
|
18465
|
+
*/
|
|
18438
18466
|
public resetReapplyType: temporal.api.enums.v1.ResetReapplyType;
|
|
18439
18467
|
|
|
18468
|
+
/** Event types not to be reapplied */
|
|
18469
|
+
public resetReapplyExcludeTypes: temporal.api.enums.v1.ResetReapplyExcludeType[];
|
|
18470
|
+
|
|
18440
18471
|
/**
|
|
18441
18472
|
* Creates a new ResetWorkflowExecutionRequest instance using the specified properties.
|
|
18442
18473
|
* @param [properties] Properties to set
|
|
@@ -29194,6 +29225,9 @@ export namespace temporal {
|
|
|
29194
29225
|
|
|
29195
29226
|
/** Indicates the signal did not generate a new workflow task when received. */
|
|
29196
29227
|
skipGenerateWorkflowTask?: (boolean|null);
|
|
29228
|
+
|
|
29229
|
+
/** When signal origin is a workflow execution, this field is set. */
|
|
29230
|
+
externalWorkflowExecution?: (temporal.api.common.v1.IWorkflowExecution|null);
|
|
29197
29231
|
}
|
|
29198
29232
|
|
|
29199
29233
|
/** Represents a WorkflowExecutionSignaledEventAttributes. */
|
|
@@ -29223,6 +29257,9 @@ export namespace temporal {
|
|
|
29223
29257
|
/** Indicates the signal did not generate a new workflow task when received. */
|
|
29224
29258
|
public skipGenerateWorkflowTask: boolean;
|
|
29225
29259
|
|
|
29260
|
+
/** When signal origin is a workflow execution, this field is set. */
|
|
29261
|
+
public externalWorkflowExecution?: (temporal.api.common.v1.IWorkflowExecution|null);
|
|
29262
|
+
|
|
29226
29263
|
/**
|
|
29227
29264
|
* Creates a new WorkflowExecutionSignaledEventAttributes instance using the specified properties.
|
|
29228
29265
|
* @param [properties] Properties to set
|
|
@@ -32112,6 +32149,102 @@ export namespace temporal {
|
|
|
32112
32149
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
32113
32150
|
}
|
|
32114
32151
|
|
|
32152
|
+
/** Properties of a WorkflowExecutionUpdateRequestedEventAttributes. */
|
|
32153
|
+
interface IWorkflowExecutionUpdateRequestedEventAttributes {
|
|
32154
|
+
|
|
32155
|
+
/** The update request associated with this event. */
|
|
32156
|
+
request?: (temporal.api.update.v1.IRequest|null);
|
|
32157
|
+
|
|
32158
|
+
/** A record of why this event was written to history. */
|
|
32159
|
+
origin?: (temporal.api.enums.v1.UpdateRequestedEventOrigin|null);
|
|
32160
|
+
}
|
|
32161
|
+
|
|
32162
|
+
/** Represents a WorkflowExecutionUpdateRequestedEventAttributes. */
|
|
32163
|
+
class WorkflowExecutionUpdateRequestedEventAttributes implements IWorkflowExecutionUpdateRequestedEventAttributes {
|
|
32164
|
+
|
|
32165
|
+
/**
|
|
32166
|
+
* Constructs a new WorkflowExecutionUpdateRequestedEventAttributes.
|
|
32167
|
+
* @param [properties] Properties to set
|
|
32168
|
+
*/
|
|
32169
|
+
constructor(properties?: temporal.api.history.v1.IWorkflowExecutionUpdateRequestedEventAttributes);
|
|
32170
|
+
|
|
32171
|
+
/** The update request associated with this event. */
|
|
32172
|
+
public request?: (temporal.api.update.v1.IRequest|null);
|
|
32173
|
+
|
|
32174
|
+
/** A record of why this event was written to history. */
|
|
32175
|
+
public origin: temporal.api.enums.v1.UpdateRequestedEventOrigin;
|
|
32176
|
+
|
|
32177
|
+
/**
|
|
32178
|
+
* Creates a new WorkflowExecutionUpdateRequestedEventAttributes instance using the specified properties.
|
|
32179
|
+
* @param [properties] Properties to set
|
|
32180
|
+
* @returns WorkflowExecutionUpdateRequestedEventAttributes instance
|
|
32181
|
+
*/
|
|
32182
|
+
public static create(properties?: temporal.api.history.v1.IWorkflowExecutionUpdateRequestedEventAttributes): temporal.api.history.v1.WorkflowExecutionUpdateRequestedEventAttributes;
|
|
32183
|
+
|
|
32184
|
+
/**
|
|
32185
|
+
* Encodes the specified WorkflowExecutionUpdateRequestedEventAttributes message. Does not implicitly {@link temporal.api.history.v1.WorkflowExecutionUpdateRequestedEventAttributes.verify|verify} messages.
|
|
32186
|
+
* @param message WorkflowExecutionUpdateRequestedEventAttributes message or plain object to encode
|
|
32187
|
+
* @param [writer] Writer to encode to
|
|
32188
|
+
* @returns Writer
|
|
32189
|
+
*/
|
|
32190
|
+
public static encode(message: temporal.api.history.v1.IWorkflowExecutionUpdateRequestedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32191
|
+
|
|
32192
|
+
/**
|
|
32193
|
+
* Encodes the specified WorkflowExecutionUpdateRequestedEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.WorkflowExecutionUpdateRequestedEventAttributes.verify|verify} messages.
|
|
32194
|
+
* @param message WorkflowExecutionUpdateRequestedEventAttributes message or plain object to encode
|
|
32195
|
+
* @param [writer] Writer to encode to
|
|
32196
|
+
* @returns Writer
|
|
32197
|
+
*/
|
|
32198
|
+
public static encodeDelimited(message: temporal.api.history.v1.IWorkflowExecutionUpdateRequestedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32199
|
+
|
|
32200
|
+
/**
|
|
32201
|
+
* Decodes a WorkflowExecutionUpdateRequestedEventAttributes message from the specified reader or buffer.
|
|
32202
|
+
* @param reader Reader or buffer to decode from
|
|
32203
|
+
* @param [length] Message length if known beforehand
|
|
32204
|
+
* @returns WorkflowExecutionUpdateRequestedEventAttributes
|
|
32205
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32206
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32207
|
+
*/
|
|
32208
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.history.v1.WorkflowExecutionUpdateRequestedEventAttributes;
|
|
32209
|
+
|
|
32210
|
+
/**
|
|
32211
|
+
* Decodes a WorkflowExecutionUpdateRequestedEventAttributes message from the specified reader or buffer, length delimited.
|
|
32212
|
+
* @param reader Reader or buffer to decode from
|
|
32213
|
+
* @returns WorkflowExecutionUpdateRequestedEventAttributes
|
|
32214
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32215
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32216
|
+
*/
|
|
32217
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.history.v1.WorkflowExecutionUpdateRequestedEventAttributes;
|
|
32218
|
+
|
|
32219
|
+
/**
|
|
32220
|
+
* Creates a WorkflowExecutionUpdateRequestedEventAttributes message from a plain object. Also converts values to their respective internal types.
|
|
32221
|
+
* @param object Plain object
|
|
32222
|
+
* @returns WorkflowExecutionUpdateRequestedEventAttributes
|
|
32223
|
+
*/
|
|
32224
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.history.v1.WorkflowExecutionUpdateRequestedEventAttributes;
|
|
32225
|
+
|
|
32226
|
+
/**
|
|
32227
|
+
* Creates a plain object from a WorkflowExecutionUpdateRequestedEventAttributes message. Also converts values to other types if specified.
|
|
32228
|
+
* @param message WorkflowExecutionUpdateRequestedEventAttributes
|
|
32229
|
+
* @param [options] Conversion options
|
|
32230
|
+
* @returns Plain object
|
|
32231
|
+
*/
|
|
32232
|
+
public static toObject(message: temporal.api.history.v1.WorkflowExecutionUpdateRequestedEventAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32233
|
+
|
|
32234
|
+
/**
|
|
32235
|
+
* Converts this WorkflowExecutionUpdateRequestedEventAttributes to JSON.
|
|
32236
|
+
* @returns JSON object
|
|
32237
|
+
*/
|
|
32238
|
+
public toJSON(): { [k: string]: any };
|
|
32239
|
+
|
|
32240
|
+
/**
|
|
32241
|
+
* Gets the default type url for WorkflowExecutionUpdateRequestedEventAttributes
|
|
32242
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
32243
|
+
* @returns The default type url
|
|
32244
|
+
*/
|
|
32245
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
32246
|
+
}
|
|
32247
|
+
|
|
32115
32248
|
/** Properties of a HistoryEvent. */
|
|
32116
32249
|
interface IHistoryEvent {
|
|
32117
32250
|
|
|
@@ -32275,6 +32408,9 @@ export namespace temporal {
|
|
|
32275
32408
|
|
|
32276
32409
|
/** HistoryEvent workflowPropertiesModifiedEventAttributes */
|
|
32277
32410
|
workflowPropertiesModifiedEventAttributes?: (temporal.api.history.v1.IWorkflowPropertiesModifiedEventAttributes|null);
|
|
32411
|
+
|
|
32412
|
+
/** HistoryEvent workflowExecutionUpdateRequestedEventAttributes */
|
|
32413
|
+
workflowExecutionUpdateRequestedEventAttributes?: (temporal.api.history.v1.IWorkflowExecutionUpdateRequestedEventAttributes|null);
|
|
32278
32414
|
}
|
|
32279
32415
|
|
|
32280
32416
|
/**
|
|
@@ -32450,8 +32586,11 @@ export namespace temporal {
|
|
|
32450
32586
|
/** HistoryEvent workflowPropertiesModifiedEventAttributes. */
|
|
32451
32587
|
public workflowPropertiesModifiedEventAttributes?: (temporal.api.history.v1.IWorkflowPropertiesModifiedEventAttributes|null);
|
|
32452
32588
|
|
|
32589
|
+
/** HistoryEvent workflowExecutionUpdateRequestedEventAttributes. */
|
|
32590
|
+
public workflowExecutionUpdateRequestedEventAttributes?: (temporal.api.history.v1.IWorkflowExecutionUpdateRequestedEventAttributes|null);
|
|
32591
|
+
|
|
32453
32592
|
/** The event details. The type must match that in `event_type`. */
|
|
32454
|
-
public attributes?: ("workflowExecutionStartedEventAttributes"|"workflowExecutionCompletedEventAttributes"|"workflowExecutionFailedEventAttributes"|"workflowExecutionTimedOutEventAttributes"|"workflowTaskScheduledEventAttributes"|"workflowTaskStartedEventAttributes"|"workflowTaskCompletedEventAttributes"|"workflowTaskTimedOutEventAttributes"|"workflowTaskFailedEventAttributes"|"activityTaskScheduledEventAttributes"|"activityTaskStartedEventAttributes"|"activityTaskCompletedEventAttributes"|"activityTaskFailedEventAttributes"|"activityTaskTimedOutEventAttributes"|"timerStartedEventAttributes"|"timerFiredEventAttributes"|"activityTaskCancelRequestedEventAttributes"|"activityTaskCanceledEventAttributes"|"timerCanceledEventAttributes"|"markerRecordedEventAttributes"|"workflowExecutionSignaledEventAttributes"|"workflowExecutionTerminatedEventAttributes"|"workflowExecutionCancelRequestedEventAttributes"|"workflowExecutionCanceledEventAttributes"|"requestCancelExternalWorkflowExecutionInitiatedEventAttributes"|"requestCancelExternalWorkflowExecutionFailedEventAttributes"|"externalWorkflowExecutionCancelRequestedEventAttributes"|"workflowExecutionContinuedAsNewEventAttributes"|"startChildWorkflowExecutionInitiatedEventAttributes"|"startChildWorkflowExecutionFailedEventAttributes"|"childWorkflowExecutionStartedEventAttributes"|"childWorkflowExecutionCompletedEventAttributes"|"childWorkflowExecutionFailedEventAttributes"|"childWorkflowExecutionCanceledEventAttributes"|"childWorkflowExecutionTimedOutEventAttributes"|"childWorkflowExecutionTerminatedEventAttributes"|"signalExternalWorkflowExecutionInitiatedEventAttributes"|"signalExternalWorkflowExecutionFailedEventAttributes"|"externalWorkflowExecutionSignaledEventAttributes"|"upsertWorkflowSearchAttributesEventAttributes"|"workflowExecutionUpdateAcceptedEventAttributes"|"workflowExecutionUpdateRejectedEventAttributes"|"workflowExecutionUpdateCompletedEventAttributes"|"workflowPropertiesModifiedExternallyEventAttributes"|"activityPropertiesModifiedExternallyEventAttributes"|"workflowPropertiesModifiedEventAttributes");
|
|
32593
|
+
public attributes?: ("workflowExecutionStartedEventAttributes"|"workflowExecutionCompletedEventAttributes"|"workflowExecutionFailedEventAttributes"|"workflowExecutionTimedOutEventAttributes"|"workflowTaskScheduledEventAttributes"|"workflowTaskStartedEventAttributes"|"workflowTaskCompletedEventAttributes"|"workflowTaskTimedOutEventAttributes"|"workflowTaskFailedEventAttributes"|"activityTaskScheduledEventAttributes"|"activityTaskStartedEventAttributes"|"activityTaskCompletedEventAttributes"|"activityTaskFailedEventAttributes"|"activityTaskTimedOutEventAttributes"|"timerStartedEventAttributes"|"timerFiredEventAttributes"|"activityTaskCancelRequestedEventAttributes"|"activityTaskCanceledEventAttributes"|"timerCanceledEventAttributes"|"markerRecordedEventAttributes"|"workflowExecutionSignaledEventAttributes"|"workflowExecutionTerminatedEventAttributes"|"workflowExecutionCancelRequestedEventAttributes"|"workflowExecutionCanceledEventAttributes"|"requestCancelExternalWorkflowExecutionInitiatedEventAttributes"|"requestCancelExternalWorkflowExecutionFailedEventAttributes"|"externalWorkflowExecutionCancelRequestedEventAttributes"|"workflowExecutionContinuedAsNewEventAttributes"|"startChildWorkflowExecutionInitiatedEventAttributes"|"startChildWorkflowExecutionFailedEventAttributes"|"childWorkflowExecutionStartedEventAttributes"|"childWorkflowExecutionCompletedEventAttributes"|"childWorkflowExecutionFailedEventAttributes"|"childWorkflowExecutionCanceledEventAttributes"|"childWorkflowExecutionTimedOutEventAttributes"|"childWorkflowExecutionTerminatedEventAttributes"|"signalExternalWorkflowExecutionInitiatedEventAttributes"|"signalExternalWorkflowExecutionFailedEventAttributes"|"externalWorkflowExecutionSignaledEventAttributes"|"upsertWorkflowSearchAttributesEventAttributes"|"workflowExecutionUpdateAcceptedEventAttributes"|"workflowExecutionUpdateRejectedEventAttributes"|"workflowExecutionUpdateCompletedEventAttributes"|"workflowPropertiesModifiedExternallyEventAttributes"|"activityPropertiesModifiedExternallyEventAttributes"|"workflowPropertiesModifiedEventAttributes"|"workflowExecutionUpdateRequestedEventAttributes");
|
|
32455
32594
|
|
|
32456
32595
|
/**
|
|
32457
32596
|
* Creates a new HistoryEvent instance using the specified properties.
|