@distilled.cloud/temporal 1.0.0-rc.14 → 1.0.0-rc.16
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/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +19 -18
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +15 -15
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +16 -16
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +15 -15
- package/lib/index.js.map +1 -1
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.js +7 -7
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +21 -24
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +25 -24
- package/lib/retry.js.map +1 -1
- package/lib/services/temporal.d.ts +0 -726
- package/lib/services/temporal.d.ts.map +1 -1
- package/lib/services/temporal.js +431 -4988
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +8 -8
- package/package.json +13 -9
- package/src/credentials.ts +7 -6
- package/src/errors.ts +12 -16
- package/src/index.ts +2 -2
- package/src/pagination.ts +1 -1
- package/src/protocol.ts +6 -9
- package/src/retry.ts +6 -4
- package/src/services/temporal.ts +5761 -6627
- package/src/traits.ts +1 -1
- package/lib/services/temporal.js.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
2
|
import { type TemporalOpError, type TemporalOpContext } from "../protocol.ts";
|
|
4
3
|
export type { TemporalOpError, TemporalOpContext };
|
|
5
4
|
export interface CountActivityExecutionsRequest {
|
|
@@ -7,92 +6,72 @@ export interface CountActivityExecutionsRequest {
|
|
|
7
6
|
/** Visibility query, see https://docs.temporal.io/list-filter for the syntax. */
|
|
8
7
|
query?: string;
|
|
9
8
|
}
|
|
10
|
-
export declare const CountActivityExecutionsRequest: S.Schema<CountActivityExecutionsRequest>;
|
|
11
9
|
export type CountActivityExecutionsResponseAggregationGroupGroupValuesList = Array<unknown>;
|
|
12
|
-
export declare const CountActivityExecutionsResponseAggregationGroupGroupValuesList: S.Schema<CountActivityExecutionsResponseAggregationGroupGroupValuesList>;
|
|
13
10
|
export interface CountActivityExecutionsResponseAggregationGroup {
|
|
14
11
|
groupValues?: CountActivityExecutionsResponseAggregationGroupGroupValuesList;
|
|
15
12
|
count?: string;
|
|
16
13
|
}
|
|
17
|
-
export declare const CountActivityExecutionsResponseAggregationGroup: S.Schema<CountActivityExecutionsResponseAggregationGroup>;
|
|
18
14
|
/** Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. */
|
|
19
15
|
export type CountActivityExecutionsResponseGroupsList = Array<CountActivityExecutionsResponseAggregationGroup>;
|
|
20
|
-
export declare const CountActivityExecutionsResponseGroupsList: S.Schema<CountActivityExecutionsResponseGroupsList>;
|
|
21
16
|
export interface CountActivityExecutionsResponse {
|
|
22
17
|
/** If `query` is not grouping by any field, the count is an approximate number of activities that match the query. If `query` is grouping by a field, the count is simply the sum of the counts of the groups returned in the response. This number can be smaller than the total number of activities matching the query. */
|
|
23
18
|
count?: string;
|
|
24
19
|
/** Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. */
|
|
25
20
|
groups?: CountActivityExecutionsResponseGroupsList;
|
|
26
21
|
}
|
|
27
|
-
export declare const CountActivityExecutionsResponse: S.Schema<CountActivityExecutionsResponse>;
|
|
28
22
|
export interface CountNexusOperationExecutionsRequest {
|
|
29
23
|
namespace: string;
|
|
30
24
|
/** Visibility query, see https://docs.temporal.io/list-filter for the syntax. See also ListNexusOperationExecutionsRequest for search attributes available for Nexus operations. */
|
|
31
25
|
query?: string;
|
|
32
26
|
}
|
|
33
|
-
export declare const CountNexusOperationExecutionsRequest: S.Schema<CountNexusOperationExecutionsRequest>;
|
|
34
27
|
export type CountNexusOperationExecutionsResponseAggregationGroupGroupValuesList = Array<unknown>;
|
|
35
|
-
export declare const CountNexusOperationExecutionsResponseAggregationGroupGroupValuesList: S.Schema<CountNexusOperationExecutionsResponseAggregationGroupGroupValuesList>;
|
|
36
28
|
export interface CountNexusOperationExecutionsResponseAggregationGroup {
|
|
37
29
|
groupValues?: CountNexusOperationExecutionsResponseAggregationGroupGroupValuesList;
|
|
38
30
|
count?: string;
|
|
39
31
|
}
|
|
40
|
-
export declare const CountNexusOperationExecutionsResponseAggregationGroup: S.Schema<CountNexusOperationExecutionsResponseAggregationGroup>;
|
|
41
32
|
/** Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. */
|
|
42
33
|
export type CountNexusOperationExecutionsResponseGroupsList = Array<CountNexusOperationExecutionsResponseAggregationGroup>;
|
|
43
|
-
export declare const CountNexusOperationExecutionsResponseGroupsList: S.Schema<CountNexusOperationExecutionsResponseGroupsList>;
|
|
44
34
|
export interface CountNexusOperationExecutionsResponse {
|
|
45
35
|
/** If `query` is not grouping by any field, the count is an approximate number of operations that match the query. If `query` is grouping by a field, the count is simply the sum of the counts of the groups returned in the response. This number can be smaller than the total number of operations matching the query. */
|
|
46
36
|
count?: string;
|
|
47
37
|
/** Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. */
|
|
48
38
|
groups?: CountNexusOperationExecutionsResponseGroupsList;
|
|
49
39
|
}
|
|
50
|
-
export declare const CountNexusOperationExecutionsResponse: S.Schema<CountNexusOperationExecutionsResponse>;
|
|
51
40
|
export interface CountSchedulesRequest {
|
|
52
41
|
namespace: string;
|
|
53
42
|
/** Visibility query, see https://docs.temporal.io/list-filter for the syntax. */
|
|
54
43
|
query?: string;
|
|
55
44
|
}
|
|
56
|
-
export declare const CountSchedulesRequest: S.Schema<CountSchedulesRequest>;
|
|
57
45
|
export type CountSchedulesResponseAggregationGroupGroupValuesList = Array<unknown>;
|
|
58
|
-
export declare const CountSchedulesResponseAggregationGroupGroupValuesList: S.Schema<CountSchedulesResponseAggregationGroupGroupValuesList>;
|
|
59
46
|
export interface CountSchedulesResponseAggregationGroup {
|
|
60
47
|
groupValues?: CountSchedulesResponseAggregationGroupGroupValuesList;
|
|
61
48
|
count?: string;
|
|
62
49
|
}
|
|
63
|
-
export declare const CountSchedulesResponseAggregationGroup: S.Schema<CountSchedulesResponseAggregationGroup>;
|
|
64
50
|
/** Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. */
|
|
65
51
|
export type CountSchedulesResponseGroupsList = Array<CountSchedulesResponseAggregationGroup>;
|
|
66
|
-
export declare const CountSchedulesResponseGroupsList: S.Schema<CountSchedulesResponseGroupsList>;
|
|
67
52
|
export interface CountSchedulesResponse {
|
|
68
53
|
/** If `query` is not grouping by any field, the count is an approximate number of schedules that match the query. If `query` is grouping by a field, the count is simply the sum of the counts of the groups returned in the response. This number can be smaller than the total number of schedules matching the query. */
|
|
69
54
|
count?: string;
|
|
70
55
|
/** Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. */
|
|
71
56
|
groups?: CountSchedulesResponseGroupsList;
|
|
72
57
|
}
|
|
73
|
-
export declare const CountSchedulesResponse: S.Schema<CountSchedulesResponse>;
|
|
74
58
|
export interface CountWorkflowExecutionsRequest {
|
|
75
59
|
namespace: string;
|
|
76
60
|
query?: string;
|
|
77
61
|
}
|
|
78
|
-
export declare const CountWorkflowExecutionsRequest: S.Schema<CountWorkflowExecutionsRequest>;
|
|
79
62
|
export type CountWorkflowExecutionsResponseAggregationGroupGroupValuesList = Array<unknown>;
|
|
80
|
-
export declare const CountWorkflowExecutionsResponseAggregationGroupGroupValuesList: S.Schema<CountWorkflowExecutionsResponseAggregationGroupGroupValuesList>;
|
|
81
63
|
export interface CountWorkflowExecutionsResponseAggregationGroup {
|
|
82
64
|
groupValues?: CountWorkflowExecutionsResponseAggregationGroupGroupValuesList;
|
|
83
65
|
count?: string;
|
|
84
66
|
}
|
|
85
|
-
export declare const CountWorkflowExecutionsResponseAggregationGroup: S.Schema<CountWorkflowExecutionsResponseAggregationGroup>;
|
|
86
67
|
/** `groups` contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. */
|
|
87
68
|
export type CountWorkflowExecutionsResponseGroupsList = Array<CountWorkflowExecutionsResponseAggregationGroup>;
|
|
88
|
-
export declare const CountWorkflowExecutionsResponseGroupsList: S.Schema<CountWorkflowExecutionsResponseGroupsList>;
|
|
89
69
|
export interface CountWorkflowExecutionsResponse {
|
|
90
70
|
/** If `query` is not grouping by any field, the count is an approximate number of workflows that matches the query. If `query` is grouping by a field, the count is simply the sum of the counts of the groups returned in the response. This number can be smaller than the total number of workflows matching the query. */
|
|
91
71
|
count?: string;
|
|
92
72
|
/** `groups` contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. */
|
|
93
73
|
groups?: CountWorkflowExecutionsResponseGroupsList;
|
|
94
74
|
}
|
|
95
|
-
export declare const CountWorkflowExecutionsResponse: S.Schema<CountWorkflowExecutionsResponse>;
|
|
96
75
|
/** Target a worker polling on a Nexus task queue in a specific namespace. */
|
|
97
76
|
export interface EndpointTargetWorker {
|
|
98
77
|
/** Namespace to route requests to. */
|
|
@@ -100,19 +79,16 @@ export interface EndpointTargetWorker {
|
|
|
100
79
|
/** Nexus task queue to route requests to. */
|
|
101
80
|
taskQueue?: string;
|
|
102
81
|
}
|
|
103
|
-
export declare const EndpointTargetWorker: S.Schema<EndpointTargetWorker>;
|
|
104
82
|
/** Target an external server by URL. At a later point, this will support providing credentials, in the meantime, an http.RoundTripper can be injected into the server to modify the request. */
|
|
105
83
|
export interface EndpointTargetExternal {
|
|
106
84
|
/** URL to call. */
|
|
107
85
|
url?: string;
|
|
108
86
|
}
|
|
109
|
-
export declare const EndpointTargetExternal: S.Schema<EndpointTargetExternal>;
|
|
110
87
|
/** Target to route requests to. */
|
|
111
88
|
export interface EndpointTarget {
|
|
112
89
|
worker?: EndpointTargetWorker;
|
|
113
90
|
external?: EndpointTargetExternal;
|
|
114
91
|
}
|
|
115
|
-
export declare const EndpointTarget: S.Schema<EndpointTarget>;
|
|
116
92
|
/** Contains mutable fields for an Endpoint. */
|
|
117
93
|
export interface EndpointSpec {
|
|
118
94
|
/** Endpoint name, unique for this cluster. Must match `[a-zA-Z_][a-zA-Z0-9_]*`. Renaming an endpoint breaks all workflow callers that reference this endpoint, causing operations to fail. */
|
|
@@ -122,12 +98,10 @@ export interface EndpointSpec {
|
|
|
122
98
|
/** Target to route requests to. */
|
|
123
99
|
target?: EndpointTarget;
|
|
124
100
|
}
|
|
125
|
-
export declare const EndpointSpec: S.Schema<EndpointSpec>;
|
|
126
101
|
export interface CreateNexusEndpointRequest {
|
|
127
102
|
/** Endpoint definition to create. */
|
|
128
103
|
spec?: EndpointSpec;
|
|
129
104
|
}
|
|
130
|
-
export declare const CreateNexusEndpointRequest: S.Schema<CreateNexusEndpointRequest>;
|
|
131
105
|
/** A cluster-global binding from an endpoint ID to a target for dispatching incoming Nexus requests. */
|
|
132
106
|
export interface Endpoint {
|
|
133
107
|
/** Data version for this endpoint, incremented for every update issued via the UpdateNexusEndpoint API. */
|
|
@@ -143,12 +117,10 @@ export interface Endpoint {
|
|
|
143
117
|
/** Server exposed URL prefix for invocation of operations on this endpoint. This doesn't include the protocol, hostname or port as the server does not know how it should be accessed publicly. The URL is stable in the face of endpoint renames. */
|
|
144
118
|
urlPrefix?: string;
|
|
145
119
|
}
|
|
146
|
-
export declare const Endpoint: S.Schema<Endpoint>;
|
|
147
120
|
export interface CreateNexusEndpointResponse {
|
|
148
121
|
/** Data post acceptance. Can be used to issue additional updates to this record. */
|
|
149
122
|
endpoint?: Endpoint;
|
|
150
123
|
}
|
|
151
|
-
export declare const CreateNexusEndpointResponse: S.Schema<CreateNexusEndpointResponse>;
|
|
152
124
|
/** Range represents a set of integer values, used to match fields of a calendar time in StructuredCalendarSpec. If end < start, then end is interpreted as equal to start. This means you can use a Range with start set to a value, and end and step unset (defaulting to 0) to represent a single value. */
|
|
153
125
|
export interface Range {
|
|
154
126
|
/** Start of range (inclusive). */
|
|
@@ -158,28 +130,20 @@ export interface Range {
|
|
|
158
130
|
/** Step (optional, default 1). */
|
|
159
131
|
step?: number;
|
|
160
132
|
}
|
|
161
|
-
export declare const Range: S.Schema<Range>;
|
|
162
133
|
/** Match seconds (0-59) */
|
|
163
134
|
export type StructuredCalendarSpecSecondList = Array<Range>;
|
|
164
|
-
export declare const StructuredCalendarSpecSecondList: S.Schema<StructuredCalendarSpecSecondList>;
|
|
165
135
|
/** Match minutes (0-59) */
|
|
166
136
|
export type StructuredCalendarSpecMinuteList = Array<Range>;
|
|
167
|
-
export declare const StructuredCalendarSpecMinuteList: S.Schema<StructuredCalendarSpecMinuteList>;
|
|
168
137
|
/** Match hours (0-23) */
|
|
169
138
|
export type StructuredCalendarSpecHourList = Array<Range>;
|
|
170
|
-
export declare const StructuredCalendarSpecHourList: S.Schema<StructuredCalendarSpecHourList>;
|
|
171
139
|
/** Match days of the month (1-31) (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: standard name of field --) */
|
|
172
140
|
export type StructuredCalendarSpecDayOfMonthList = Array<Range>;
|
|
173
|
-
export declare const StructuredCalendarSpecDayOfMonthList: S.Schema<StructuredCalendarSpecDayOfMonthList>;
|
|
174
141
|
/** Match months (1-12) */
|
|
175
142
|
export type StructuredCalendarSpecMonthList = Array<Range>;
|
|
176
|
-
export declare const StructuredCalendarSpecMonthList: S.Schema<StructuredCalendarSpecMonthList>;
|
|
177
143
|
/** Match years. */
|
|
178
144
|
export type StructuredCalendarSpecYearList = Array<Range>;
|
|
179
|
-
export declare const StructuredCalendarSpecYearList: S.Schema<StructuredCalendarSpecYearList>;
|
|
180
145
|
/** Match days of the week (0-6; 0 is Sunday). */
|
|
181
146
|
export type StructuredCalendarSpecDayOfWeekList = Array<Range>;
|
|
182
|
-
export declare const StructuredCalendarSpecDayOfWeekList: S.Schema<StructuredCalendarSpecDayOfWeekList>;
|
|
183
147
|
/** StructuredCalendarSpec describes an event specification relative to the calendar, in a form that's easy to work with programmatically. Each field can be one or more ranges. A timestamp matches if at least one range of each field matches the corresponding fields of the timestamp, except for year: if year is missing, that means all years match. For all fields besides year, at least one Range must be present to match anything. Relative expressions such as "last day of the month" or "third Monday" are not currently representable; callers must enumerate the concrete days they require. */
|
|
184
148
|
export interface StructuredCalendarSpec {
|
|
185
149
|
/** Match seconds (0-59) */
|
|
@@ -199,13 +163,10 @@ export interface StructuredCalendarSpec {
|
|
|
199
163
|
/** Free-form comment describing the intention of this spec. */
|
|
200
164
|
comment?: string;
|
|
201
165
|
}
|
|
202
|
-
export declare const StructuredCalendarSpec: S.Schema<StructuredCalendarSpec>;
|
|
203
166
|
/** Calendar-based specifications of times. */
|
|
204
167
|
export type ScheduleSpecStructuredCalendarList = Array<StructuredCalendarSpec>;
|
|
205
|
-
export declare const ScheduleSpecStructuredCalendarList: S.Schema<ScheduleSpecStructuredCalendarList>;
|
|
206
168
|
/** cron_string holds a traditional cron specification as a string. It accepts 5, 6, or 7 fields, separated by spaces, and interprets them the same way as CalendarSpec. 5 fields: minute, hour, day_of_month, month, day_of_week 6 fields: minute, hour, day_of_month, month, day_of_week, year 7 fields: second, minute, hour, day_of_month, month, day_of_week, year If year is not given, it defaults to *. If second is not given, it defaults to 0. Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also accepted instead of the 5-7 time fields. Optionally, the string can be preceded by CRON_TZ=<timezone name> or TZ=<timezone name>, which will get copied to timezone_name. (There must not also be a timezone_name present.) Optionally "#" followed by a comment can appear at the end of the string. Note that the special case that some cron implementations have for treating day_of_month and day_of_week as "or" instead of "and" when both are set is not implemented. @every <interval>[/<phase>] is accepted and gets compiled into an IntervalSpec instead. <interval> and <phase> should be a decimal integer with a unit suffix s, m, h, or d. */
|
|
207
169
|
export type ScheduleSpecCronStringList = Array<string>;
|
|
208
|
-
export declare const ScheduleSpecCronStringList: S.Schema<ScheduleSpecCronStringList>;
|
|
209
170
|
/** CalendarSpec describes an event specification relative to the calendar, similar to a traditional cron specification, but with labeled fields. Each field can be one of: *: matches always x: matches when the field equals x x/y : matches when the field equals x+n*y where n is an integer x-z: matches when the field is between x and z inclusive w,x,y,...: matches when the field is one of the listed values Each x, y, z, ... is either a decimal integer, or a month or day of week name or abbreviation (in the appropriate fields). A timestamp matches if all fields match. Note that fields have different default values, for convenience. Note that the special case that some cron implementations have for treating day_of_month and day_of_week as "or" instead of "and" when both are set is not implemented. day_of_week can accept 0 or 7 as Sunday CalendarSpec gets compiled into StructuredCalendarSpec, which is what will be returned if you describe the schedule. */
|
|
210
171
|
export interface CalendarSpec {
|
|
211
172
|
/** Expression to match seconds. Default: 0 */
|
|
@@ -225,24 +186,18 @@ export interface CalendarSpec {
|
|
|
225
186
|
/** Free-form comment describing the intention of this spec. */
|
|
226
187
|
comment?: string;
|
|
227
188
|
}
|
|
228
|
-
export declare const CalendarSpec: S.Schema<CalendarSpec>;
|
|
229
189
|
/** Calendar-based specifications of times. */
|
|
230
190
|
export type ScheduleSpecCalendarList = Array<CalendarSpec>;
|
|
231
|
-
export declare const ScheduleSpecCalendarList: S.Schema<ScheduleSpecCalendarList>;
|
|
232
191
|
/** IntervalSpec matches times that can be expressed as: epoch + n * interval + phase where n is an integer. phase defaults to zero if missing. interval is required. Both interval and phase must be non-negative and are truncated to the nearest second before any calculations. For example, an interval of 1 hour with phase of zero would match every hour, on the hour. The same interval but a phase of 19 minutes would match every xx:19:00. An interval of 28 days with phase zero would match 2022-02-17T00:00:00Z (among other times). The same interval with a phase of 3 days, 5 hours, and 23 minutes would match 2022-02-20T05:23:00Z instead. */
|
|
233
192
|
export interface IntervalSpec {
|
|
234
193
|
interval?: string;
|
|
235
194
|
phase?: string;
|
|
236
195
|
}
|
|
237
|
-
export declare const IntervalSpec: S.Schema<IntervalSpec>;
|
|
238
196
|
/** Interval-based specifications of times. */
|
|
239
197
|
export type ScheduleSpecIntervalList = Array<IntervalSpec>;
|
|
240
|
-
export declare const ScheduleSpecIntervalList: S.Schema<ScheduleSpecIntervalList>;
|
|
241
198
|
/** Any timestamps matching any of exclude_* will be skipped. Deprecated. Use exclude_structured_calendar. */
|
|
242
199
|
export type ScheduleSpecExcludeCalendarList = Array<CalendarSpec>;
|
|
243
|
-
export declare const ScheduleSpecExcludeCalendarList: S.Schema<ScheduleSpecExcludeCalendarList>;
|
|
244
200
|
export type ScheduleSpecExcludeStructuredCalendarList = Array<StructuredCalendarSpec>;
|
|
245
|
-
export declare const ScheduleSpecExcludeStructuredCalendarList: S.Schema<ScheduleSpecExcludeStructuredCalendarList>;
|
|
246
201
|
/** ScheduleSpec is a complete description of a set of absolute timestamps (possibly infinite) that an action should occur at. The meaning of a ScheduleSpec depends only on its contents and never changes, except that the definition of a time zone can change over time (most commonly, when daylight saving time policy changes for an area). To create a totally self-contained ScheduleSpec, use UTC or include timezone_data. For input, you can provide zero or more of: structured_calendar, calendar, cron_string, interval, and exclude_structured_calendar, and all of them will be used (the schedule will take action at the union of all of their times, minus the ones that match exclude_structured_calendar). On input, calendar and cron_string fields will be compiled into structured_calendar (and maybe interval and timezone_name), so if you Describe a schedule, you'll see only structured_calendar, interval, etc. If a spec has no matching times after the current time, then the schedule will be subject to automatic deletion (after several days). */
|
|
247
202
|
export interface ScheduleSpec {
|
|
248
203
|
/** Calendar-based specifications of times. */
|
|
@@ -266,15 +221,12 @@ export interface ScheduleSpec {
|
|
|
266
221
|
timezoneName?: string;
|
|
267
222
|
timezoneData?: string;
|
|
268
223
|
}
|
|
269
|
-
export declare const ScheduleSpec: S.Schema<ScheduleSpec>;
|
|
270
224
|
/** Represents the identifier used by a workflow author to define the workflow. Typically, the name of a function. This is sometimes referred to as the workflow's "name" */
|
|
271
225
|
export interface WorkflowType {
|
|
272
226
|
name?: string;
|
|
273
227
|
}
|
|
274
|
-
export declare const WorkflowType: S.Schema<WorkflowType>;
|
|
275
228
|
/** Default: TASK_QUEUE_KIND_NORMAL. */
|
|
276
229
|
export type TaskQueueKind = "TASK_QUEUE_KIND_UNSPECIFIED" | "TASK_QUEUE_KIND_NORMAL" | "TASK_QUEUE_KIND_STICKY" | "TASK_QUEUE_KIND_WORKER_COMMANDS";
|
|
277
|
-
export declare const TaskQueueKind: any;
|
|
278
230
|
/** See https://docs.temporal.io/docs/concepts/task-queues/ */
|
|
279
231
|
export interface TaskQueue {
|
|
280
232
|
name?: string;
|
|
@@ -283,20 +235,15 @@ export interface TaskQueue {
|
|
|
283
235
|
/** Iff kind == TASK_QUEUE_KIND_STICKY, then this field contains the name of the normal task queue that the sticky worker is running on. */
|
|
284
236
|
normalName?: string;
|
|
285
237
|
}
|
|
286
|
-
export declare const TaskQueue: S.Schema<TaskQueue>;
|
|
287
238
|
export type PayloadsPayloadsList = Array<unknown>;
|
|
288
|
-
export declare const PayloadsPayloadsList: S.Schema<PayloadsPayloadsList>;
|
|
289
239
|
/** See `Payload` */
|
|
290
240
|
export interface Payloads {
|
|
291
241
|
payloads?: PayloadsPayloadsList;
|
|
292
242
|
}
|
|
293
|
-
export declare const Payloads: S.Schema<Payloads>;
|
|
294
243
|
/** Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. */
|
|
295
244
|
export type NewWorkflowExecutionInfoWorkflowIdReusePolicy = "WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED" | "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE" | "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY" | "WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE" | "WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING";
|
|
296
|
-
export declare const NewWorkflowExecutionInfoWorkflowIdReusePolicy: any;
|
|
297
245
|
/** Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that this is not a substring match, the error *type* (not message) must match exactly. */
|
|
298
246
|
export type RetryPolicyNonRetryableErrorTypesList = Array<string>;
|
|
299
|
-
export declare const RetryPolicyNonRetryableErrorTypesList: S.Schema<RetryPolicyNonRetryableErrorTypesList>;
|
|
300
247
|
/** How retries ought to be handled, usable by both workflows and activities */
|
|
301
248
|
export interface RetryPolicy {
|
|
302
249
|
/** Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries. */
|
|
@@ -310,34 +257,27 @@ export interface RetryPolicy {
|
|
|
310
257
|
/** Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that this is not a substring match, the error *type* (not message) must match exactly. */
|
|
311
258
|
nonRetryableErrorTypes?: RetryPolicyNonRetryableErrorTypesList;
|
|
312
259
|
}
|
|
313
|
-
export declare const RetryPolicy: S.Schema<RetryPolicy>;
|
|
314
260
|
export type MemoFieldsMap = {
|
|
315
261
|
[key: string]: unknown | undefined;
|
|
316
262
|
};
|
|
317
|
-
export declare const MemoFieldsMap: S.Schema<MemoFieldsMap>;
|
|
318
263
|
/** A user-defined set of *unindexed* fields that are exposed when listing/searching workflows */
|
|
319
264
|
export interface Memo {
|
|
320
265
|
fields?: MemoFieldsMap;
|
|
321
266
|
}
|
|
322
|
-
export declare const Memo: S.Schema<Memo>;
|
|
323
267
|
export type SearchAttributesIndexedFieldsMap = {
|
|
324
268
|
[key: string]: unknown | undefined;
|
|
325
269
|
};
|
|
326
|
-
export declare const SearchAttributesIndexedFieldsMap: S.Schema<SearchAttributesIndexedFieldsMap>;
|
|
327
270
|
/** A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows. The payload is not serialized in a user-defined way. */
|
|
328
271
|
export interface SearchAttributes {
|
|
329
272
|
indexedFields?: SearchAttributesIndexedFieldsMap;
|
|
330
273
|
}
|
|
331
|
-
export declare const SearchAttributes: S.Schema<SearchAttributes>;
|
|
332
274
|
export type HeaderFieldsMap = {
|
|
333
275
|
[key: string]: unknown | undefined;
|
|
334
276
|
};
|
|
335
|
-
export declare const HeaderFieldsMap: S.Schema<HeaderFieldsMap>;
|
|
336
277
|
/** Contains metadata that can be attached to a variety of requests, like starting a workflow, and can be propagated between, for example, workflows and activities. */
|
|
337
278
|
export interface Header {
|
|
338
279
|
fields?: HeaderFieldsMap;
|
|
339
280
|
}
|
|
340
|
-
export declare const Header: S.Schema<Header>;
|
|
341
281
|
/** Information a user can set, often for use by user interfaces. */
|
|
342
282
|
export interface UserMetadata {
|
|
343
283
|
/** Short-form text that provides a summary. This payload should be a "json/plain"-encoded payload that is a single JSON string for use in user interfaces. User interface formatting may not apply to this text when used in "title" situations. The payload data section is limited to 400 bytes by default. */
|
|
@@ -345,10 +285,8 @@ export interface UserMetadata {
|
|
|
345
285
|
/** Long-form text that provides details. This payload should be a "json/plain"-encoded payload that is a single JSON string for use in user interfaces. User interface formatting may apply to this text in common use. The payload data section is limited to 20000 bytes by default. */
|
|
346
286
|
details?: unknown;
|
|
347
287
|
}
|
|
348
|
-
export declare const UserMetadata: S.Schema<UserMetadata>;
|
|
349
288
|
/** Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED. See `PinnedOverrideBehavior` for details. */
|
|
350
289
|
export type VersioningOverridePinnedOverrideBehavior = "PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED" | "PINNED_OVERRIDE_BEHAVIOR_PINNED";
|
|
351
|
-
export declare const VersioningOverridePinnedOverrideBehavior: any;
|
|
352
290
|
/** A Worker Deployment Version (Version, for short) represents a version of workers within a Worker Deployment. (see documentation of WorkerDeploymentVersionInfo) Version records are created in Temporal server automatically when their first poller arrives to the server. Experimental. Worker Deployment Versions are experimental and might significantly change in the future. */
|
|
353
291
|
export interface WorkerDeploymentVersion {
|
|
354
292
|
/** A unique identifier for this Version within the Deployment it is a part of. Not necessarily unique within the namespace. The combination of `deployment_name` and `build_id` uniquely identifies this Version within the namespace, because Deployment names are unique within a namespace. */
|
|
@@ -356,17 +294,14 @@ export interface WorkerDeploymentVersion {
|
|
|
356
294
|
/** Identifies the Worker Deployment this Version is part of. */
|
|
357
295
|
deploymentName?: string;
|
|
358
296
|
}
|
|
359
|
-
export declare const WorkerDeploymentVersion: S.Schema<WorkerDeploymentVersion>;
|
|
360
297
|
export interface VersioningOverridePinnedOverride {
|
|
361
298
|
/** Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED. See `PinnedOverrideBehavior` for details. */
|
|
362
299
|
behavior?: VersioningOverridePinnedOverrideBehavior | (string & {});
|
|
363
300
|
/** Specifies the Worker Deployment Version to pin this workflow to. Required if the target workflow is not already pinned to a version. If omitted and the target workflow is already pinned, the effective pinned version will be the existing pinned version. If omitted and the target workflow is not pinned, the override request will be rejected with a PreconditionFailed error. */
|
|
364
301
|
version?: WorkerDeploymentVersion;
|
|
365
302
|
}
|
|
366
|
-
export declare const VersioningOverridePinnedOverride: S.Schema<VersioningOverridePinnedOverride>;
|
|
367
303
|
/** Required. Deprecated. Use `override`. */
|
|
368
304
|
export type VersioningOverrideBehavior = "VERSIONING_BEHAVIOR_UNSPECIFIED" | "VERSIONING_BEHAVIOR_PINNED" | "VERSIONING_BEHAVIOR_AUTO_UPGRADE";
|
|
369
|
-
export declare const VersioningOverrideBehavior: any;
|
|
370
305
|
/** `Deployment` identifies a deployment of Temporal workers. The combination of deployment series name + build ID serves as the identifier. User can use `WorkerDeploymentOptions` in their worker programs to specify these values. Deprecated. */
|
|
371
306
|
export interface Deployment {
|
|
372
307
|
/** Different versions of the same worker service/application are related together by having a shared series name. Out of all deployments of a series, one can be designated as the current deployment, which receives new workflow executions and new tasks of workflows with `VERSIONING_BEHAVIOR_AUTO_UPGRADE` versioning behavior. */
|
|
@@ -374,7 +309,6 @@ export interface Deployment {
|
|
|
374
309
|
/** Build ID changes with each version of the worker when the worker program code and/or config changes. */
|
|
375
310
|
buildId?: string;
|
|
376
311
|
}
|
|
377
|
-
export declare const Deployment: S.Schema<Deployment>;
|
|
378
312
|
/** Used to override the versioning behavior (and pinned deployment version, if applicable) of a specific workflow execution. If set, this override takes precedence over worker-sent values. See `WorkflowExecutionInfo.VersioningInfo` for more information. To remove the override, call `UpdateWorkflowExecutionOptions` with a null `VersioningOverride`, and use the `update_mask` to indicate that it should be mutated. Pinned behavior overrides are automatically inherited by child workflows, workflow retries, continue-as-new workflows, and cron workflows. */
|
|
379
313
|
export interface VersioningOverride {
|
|
380
314
|
/** Override the workflow to have Pinned behavior. */
|
|
@@ -388,7 +322,6 @@ export interface VersioningOverride {
|
|
|
388
322
|
/** Required if behavior is `PINNED`. Must be absent if behavior is not `PINNED`. Identifies the worker deployment version to pin the workflow to, in the format "<deployment_name>.<build_id>". Deprecated. Use `override.pinned.version`. */
|
|
389
323
|
pinnedVersion?: string;
|
|
390
324
|
}
|
|
391
|
-
export declare const VersioningOverride: S.Schema<VersioningOverride>;
|
|
392
325
|
/** Priority contains metadata that controls relative ordering of task processing when tasks are backed up in a queue. Initially, Priority will be used in matching (workflow and activity) task queues. Later it may be used in history task queues and in rate limiting decisions. Priority is attached to workflows and activities. By default, activities inherit Priority from the workflow that created them, but may override fields when an activity is started or modified. Despite being named "Priority", this message also contains fields that control "fairness" mechanisms. For all fields, the field not present or equal to zero/empty string means to inherit the value from the calling workflow, or if there is no calling workflow, then use the default value. For all fields other than fairness_key, the zero value isn't meaningful so there's no confusion between inherit/default and a meaningful value. For fairness_key, the empty string will be interpreted as "inherit". This means that if a workflow has a non-empty fairness key, you can't override the fairness key of its activity to the empty string. The overall semantics of Priority are: 1. First, consider "priority": higher priority (lower number) goes first. 2. Then, consider fairness: try to dispatch tasks for different fairness keys in proportion to their weight. Applications may use any subset of mechanisms that are useful to them and leave the other fields to use default values. Not all queues in the system may support the "full" semantics of all priority fields. (Currently only support in matching task queues is planned.) */
|
|
393
326
|
export interface Priority {
|
|
394
327
|
/** Priority key is a positive integer from 1 to n, where smaller integers correspond to higher priorities (tasks run sooner). In general, tasks in a queue should be processed in close to priority order, although small deviations are possible. The maximum priority value (minimum priority) is determined by server configuration, and defaults to 5. If priority is not present (or zero), then the effective priority will be the default priority, which is calculated by (min+max)/2. With the default max of 5, and min of 1, that comes out to 3. */
|
|
@@ -398,7 +331,6 @@ export interface Priority {
|
|
|
398
331
|
/** Fairness weight for a task can come from multiple sources for flexibility. From highest to lowest precedence: 1. Weights for a small set of keys can be overridden in task queue configuration with an API. 2. It can be attached to the workflow/activity in this field. 3. The default weight of 1.0 will be used. Weight values are clamped to the range [0.001, 1000]. */
|
|
399
332
|
fairnessWeight?: number;
|
|
400
333
|
}
|
|
401
|
-
export declare const Priority: S.Schema<Priority>;
|
|
402
334
|
/** NewWorkflowExecutionInfo is a shared message that encapsulates all the required arguments to starting a workflow in different contexts. */
|
|
403
335
|
export interface NewWorkflowExecutionInfo {
|
|
404
336
|
workflowId?: string;
|
|
@@ -428,15 +360,12 @@ export interface NewWorkflowExecutionInfo {
|
|
|
428
360
|
/** Priority metadata */
|
|
429
361
|
priority?: Priority;
|
|
430
362
|
}
|
|
431
|
-
export declare const NewWorkflowExecutionInfo: S.Schema<NewWorkflowExecutionInfo>;
|
|
432
363
|
export interface ScheduleAction {
|
|
433
364
|
/** All fields of NewWorkflowExecutionInfo are valid except for: - workflow_id_reuse_policy - cron_schedule The workflow id of the started workflow may not match this exactly, it may have a timestamp appended for uniqueness. */
|
|
434
365
|
startWorkflow?: NewWorkflowExecutionInfo;
|
|
435
366
|
}
|
|
436
|
-
export declare const ScheduleAction: S.Schema<ScheduleAction>;
|
|
437
367
|
/** Policy for overlaps. Note that this can be changed after a schedule has taken some actions, and some changes might produce unintuitive results. In general, the later policy overrides the earlier policy. */
|
|
438
368
|
export type SchedulePoliciesOverlapPolicy = "SCHEDULE_OVERLAP_POLICY_UNSPECIFIED" | "SCHEDULE_OVERLAP_POLICY_SKIP" | "SCHEDULE_OVERLAP_POLICY_BUFFER_ONE" | "SCHEDULE_OVERLAP_POLICY_BUFFER_ALL" | "SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER" | "SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER" | "SCHEDULE_OVERLAP_POLICY_ALLOW_ALL";
|
|
439
|
-
export declare const SchedulePoliciesOverlapPolicy: any;
|
|
440
369
|
export interface SchedulePolicies {
|
|
441
370
|
/** Policy for overlaps. Note that this can be changed after a schedule has taken some actions, and some changes might produce unintuitive results. In general, the later policy overrides the earlier policy. */
|
|
442
371
|
overlapPolicy?: SchedulePoliciesOverlapPolicy | (string & {});
|
|
@@ -447,7 +376,6 @@ export interface SchedulePolicies {
|
|
|
447
376
|
/** If true, and the action would start a workflow, a timestamp will not be appended to the scheduled workflow id. */
|
|
448
377
|
keepOriginalWorkflowId?: boolean;
|
|
449
378
|
}
|
|
450
|
-
export declare const SchedulePolicies: S.Schema<SchedulePolicies>;
|
|
451
379
|
export interface ScheduleState {
|
|
452
380
|
/** Informative human-readable message with contextual notes, e.g. the reason a schedule is paused. The system may overwrite this message on certain conditions, e.g. when pause-on-failure happens. */
|
|
453
381
|
notes?: string;
|
|
@@ -457,27 +385,22 @@ export interface ScheduleState {
|
|
|
457
385
|
limitedActions?: boolean;
|
|
458
386
|
remainingActions?: string;
|
|
459
387
|
}
|
|
460
|
-
export declare const ScheduleState: S.Schema<ScheduleState>;
|
|
461
388
|
export interface Schedule {
|
|
462
389
|
spec?: ScheduleSpec;
|
|
463
390
|
action?: ScheduleAction;
|
|
464
391
|
policies?: SchedulePolicies;
|
|
465
392
|
state?: ScheduleState;
|
|
466
393
|
}
|
|
467
|
-
export declare const Schedule: S.Schema<Schedule>;
|
|
468
394
|
/** If set, override overlap policy for this one request. */
|
|
469
395
|
export type TriggerImmediatelyRequestOverlapPolicy = "SCHEDULE_OVERLAP_POLICY_UNSPECIFIED" | "SCHEDULE_OVERLAP_POLICY_SKIP" | "SCHEDULE_OVERLAP_POLICY_BUFFER_ONE" | "SCHEDULE_OVERLAP_POLICY_BUFFER_ALL" | "SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER" | "SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER" | "SCHEDULE_OVERLAP_POLICY_ALLOW_ALL";
|
|
470
|
-
export declare const TriggerImmediatelyRequestOverlapPolicy: any;
|
|
471
396
|
export interface TriggerImmediatelyRequest {
|
|
472
397
|
/** If set, override overlap policy for this one request. */
|
|
473
398
|
overlapPolicy?: TriggerImmediatelyRequestOverlapPolicy | (string & {});
|
|
474
399
|
/** Timestamp used for the identity of the target workflow. If not set the default value is the current time. */
|
|
475
400
|
scheduledTime?: string;
|
|
476
401
|
}
|
|
477
|
-
export declare const TriggerImmediatelyRequest: S.Schema<TriggerImmediatelyRequest>;
|
|
478
402
|
/** If set, override overlap policy for this request. */
|
|
479
403
|
export type BackfillRequestOverlapPolicy = "SCHEDULE_OVERLAP_POLICY_UNSPECIFIED" | "SCHEDULE_OVERLAP_POLICY_SKIP" | "SCHEDULE_OVERLAP_POLICY_BUFFER_ONE" | "SCHEDULE_OVERLAP_POLICY_BUFFER_ALL" | "SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER" | "SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER" | "SCHEDULE_OVERLAP_POLICY_ALLOW_ALL";
|
|
480
|
-
export declare const BackfillRequestOverlapPolicy: any;
|
|
481
404
|
export interface BackfillRequest {
|
|
482
405
|
/** Time range to evaluate schedule in. Currently, this time range is exclusive on start_time and inclusive on end_time. (This is admittedly counterintuitive and it may change in the future, so to be safe, use a start time strictly before a scheduled time.) Also note that an action nominally scheduled in the interval but with jitter that pushes it after end_time will not be included. */
|
|
483
406
|
startTime?: string;
|
|
@@ -485,10 +408,8 @@ export interface BackfillRequest {
|
|
|
485
408
|
/** If set, override overlap policy for this request. */
|
|
486
409
|
overlapPolicy?: BackfillRequestOverlapPolicy | (string & {});
|
|
487
410
|
}
|
|
488
|
-
export declare const BackfillRequest: S.Schema<BackfillRequest>;
|
|
489
411
|
/** If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill. */
|
|
490
412
|
export type SchedulePatchBackfillRequestList = Array<BackfillRequest>;
|
|
491
|
-
export declare const SchedulePatchBackfillRequestList: S.Schema<SchedulePatchBackfillRequestList>;
|
|
492
413
|
export interface SchedulePatch {
|
|
493
414
|
/** If set, trigger one action immediately. */
|
|
494
415
|
triggerImmediately?: TriggerImmediatelyRequest;
|
|
@@ -498,7 +419,6 @@ export interface SchedulePatch {
|
|
|
498
419
|
pause?: string;
|
|
499
420
|
unpause?: string;
|
|
500
421
|
}
|
|
501
|
-
export declare const SchedulePatch: S.Schema<SchedulePatch>;
|
|
502
422
|
export interface CreateScheduleRequest {
|
|
503
423
|
/** The namespace the schedule should be created in. */
|
|
504
424
|
namespace: string;
|
|
@@ -516,11 +436,9 @@ export interface CreateScheduleRequest {
|
|
|
516
436
|
memo?: Memo;
|
|
517
437
|
searchAttributes?: SearchAttributes;
|
|
518
438
|
}
|
|
519
|
-
export declare const CreateScheduleRequest: S.Schema<CreateScheduleRequest>;
|
|
520
439
|
export interface CreateScheduleResponse {
|
|
521
440
|
conflictToken?: string;
|
|
522
441
|
}
|
|
523
|
-
export declare const CreateScheduleResponse: S.Schema<CreateScheduleResponse>;
|
|
524
442
|
export interface CreateWorkerDeploymentRequest {
|
|
525
443
|
namespace: string;
|
|
526
444
|
/** The name of the Worker Deployment to create. If a Worker Deployment with this name already exists, an error will be returned. */
|
|
@@ -530,17 +448,13 @@ export interface CreateWorkerDeploymentRequest {
|
|
|
530
448
|
/** A unique identifier for this create request for idempotence. Typically UUIDv4. */
|
|
531
449
|
requestId?: string;
|
|
532
450
|
}
|
|
533
|
-
export declare const CreateWorkerDeploymentRequest: S.Schema<CreateWorkerDeploymentRequest>;
|
|
534
451
|
export interface CreateWorkerDeploymentResponse {
|
|
535
452
|
/** This value is returned so that it can be optionally passed to APIs that write to the WorkerDeployment state to ensure that the state did not change between this API call and a future write. */
|
|
536
453
|
conflictToken?: string;
|
|
537
454
|
}
|
|
538
|
-
export declare const CreateWorkerDeploymentResponse: S.Schema<CreateWorkerDeploymentResponse>;
|
|
539
455
|
export type ComputeConfigScalingGroupTaskQueueTypesItem = "TASK_QUEUE_TYPE_UNSPECIFIED" | "TASK_QUEUE_TYPE_WORKFLOW" | "TASK_QUEUE_TYPE_ACTIVITY" | "TASK_QUEUE_TYPE_NEXUS";
|
|
540
|
-
export declare const ComputeConfigScalingGroupTaskQueueTypesItem: any;
|
|
541
456
|
/** Optional. The set of task queue types this scaling group serves. If not provided, this scaling group serves all not otherwise defined task types. */
|
|
542
457
|
export type ComputeConfigScalingGroupTaskQueueTypesList = Array<ComputeConfigScalingGroupTaskQueueTypesItem | (string & {})>;
|
|
543
|
-
export declare const ComputeConfigScalingGroupTaskQueueTypesList: S.Schema<ComputeConfigScalingGroupTaskQueueTypesList>;
|
|
544
458
|
/** ComputeProvider stores information used by a worker control plane controller to respond to worker lifecycle events. For example, when a Task is received on a TaskQueue that has no active pollers, a serverless worker lifecycle controller might need to invoke an AWS Lambda Function that itself ends up calling the SDK's worker.New() function. */
|
|
545
459
|
export interface ComputeProvider {
|
|
546
460
|
/** Type of the compute provider. This string is implementation-specific and can be used by implementations to understand how to interpret the contents of the provider_details field. */
|
|
@@ -550,7 +464,6 @@ export interface ComputeProvider {
|
|
|
550
464
|
/** Optional. If the compute provider is a Nexus service, this should point there. */
|
|
551
465
|
nexusEndpoint?: string;
|
|
552
466
|
}
|
|
553
|
-
export declare const ComputeProvider: S.Schema<ComputeProvider>;
|
|
554
467
|
/** ComputeScaler instructs the Temporal Service when to scale up or down the number of Workers that comprise a WorkerDeployment. */
|
|
555
468
|
export interface ComputeScaler {
|
|
556
469
|
/** Type of the compute scaler. this string is implementation-specific and can be used by implementations to understand how to interpret the contents of the scaler_details field. */
|
|
@@ -558,7 +471,6 @@ export interface ComputeScaler {
|
|
|
558
471
|
/** Contains scaler-specific instructions and configuration. For server-implemented scalers, use the SDK's default data converter to ensure the server can understand it. For remote-implemented scalers, you might use your own data converters according to what the remote endpoints understand. */
|
|
559
472
|
details?: unknown;
|
|
560
473
|
}
|
|
561
|
-
export declare const ComputeScaler: S.Schema<ComputeScaler>;
|
|
562
474
|
export interface ComputeConfigScalingGroup {
|
|
563
475
|
/** Optional. The set of task queue types this scaling group serves. If not provided, this scaling group serves all not otherwise defined task types. */
|
|
564
476
|
taskQueueTypes?: ComputeConfigScalingGroupTaskQueueTypesList;
|
|
@@ -567,18 +479,15 @@ export interface ComputeConfigScalingGroup {
|
|
|
567
479
|
/** Informs a worker lifecycle controller *when* and *how often* to perform certain worker lifecycle actions like starting a serverless worker. */
|
|
568
480
|
scaler?: ComputeScaler;
|
|
569
481
|
}
|
|
570
|
-
export declare const ComputeConfigScalingGroup: S.Schema<ComputeConfigScalingGroup>;
|
|
571
482
|
/** Each scaling group describes a compute config for a specific subset of the worker deployment version: covering a specific set of task types and/or regions. Having different configurations for different task types, allows independent tuning of activity and workflow task processing (for example). The key of the map is the ID of the scaling group used to reference it in subsequent update calls. */
|
|
572
483
|
export type ComputeConfigScalingGroupsMap = {
|
|
573
484
|
[key: string]: ComputeConfigScalingGroup | undefined;
|
|
574
485
|
};
|
|
575
|
-
export declare const ComputeConfigScalingGroupsMap: S.Schema<ComputeConfigScalingGroupsMap>;
|
|
576
486
|
/** ComputeConfig stores configuration that helps a worker control plane controller understand *when* and *how* to respond to worker lifecycle events. */
|
|
577
487
|
export interface ComputeConfig {
|
|
578
488
|
/** Each scaling group describes a compute config for a specific subset of the worker deployment version: covering a specific set of task types and/or regions. Having different configurations for different task types, allows independent tuning of activity and workflow task processing (for example). The key of the map is the ID of the scaling group used to reference it in subsequent update calls. */
|
|
579
489
|
scalingGroups?: ComputeConfigScalingGroupsMap;
|
|
580
490
|
}
|
|
581
|
-
export declare const ComputeConfig: S.Schema<ComputeConfig>;
|
|
582
491
|
export interface CreateWorkerDeploymentVersionRequest {
|
|
583
492
|
namespace: string;
|
|
584
493
|
deployment_version_deployment_name: string;
|
|
@@ -591,22 +500,17 @@ export interface CreateWorkerDeploymentVersionRequest {
|
|
|
591
500
|
/** A unique identifier for this create request for idempotence. Typically UUIDv4. If a second request with the same ID is recieved, it is considered a successful no-op. Retrying with a different request ID for the same deployment name + build ID is an error. */
|
|
592
501
|
requestId?: string;
|
|
593
502
|
}
|
|
594
|
-
export declare const CreateWorkerDeploymentVersionRequest: S.Schema<CreateWorkerDeploymentVersionRequest>;
|
|
595
503
|
export type CreateWorkerDeploymentVersionResponse2 = unknown;
|
|
596
|
-
export declare const CreateWorkerDeploymentVersionResponse2: S.Schema<CreateWorkerDeploymentVersionResponse2>;
|
|
597
504
|
/** Activity trigger will be triggered when an activity is about to start. */
|
|
598
505
|
export interface WorkflowRuleSpecActivityStartingTrigger {
|
|
599
506
|
/** Activity predicate is a SQL-like string filter parameter. It is used to match against workflow data. The following activity attributes are supported as part of the predicate: - ActivityType: An Activity Type is the mapping of a name to an Activity Definition.. - ActivityId: The ID of the activity. - ActivityAttempt: The number attempts of the activity. - BackoffInterval: The current amount of time between scheduled attempts of the activity. - ActivityStatus: The status of the activity. Can be one of "Scheduled", "Started", "Paused". - TaskQueue: The name of the task queue the workflow specified that the activity should run on. Activity predicate support the following operators: * =, !=, >, >=, <, <= * AND, OR, () * BETWEEN ... AND STARTS_WITH */
|
|
600
507
|
predicate?: string;
|
|
601
508
|
}
|
|
602
|
-
export declare const WorkflowRuleSpecActivityStartingTrigger: S.Schema<WorkflowRuleSpecActivityStartingTrigger>;
|
|
603
509
|
export interface WorkflowRuleAction {
|
|
604
510
|
activityPause?: unknown;
|
|
605
511
|
}
|
|
606
|
-
export declare const WorkflowRuleAction: S.Schema<WorkflowRuleAction>;
|
|
607
512
|
/** WorkflowRuleAction to be taken when the rule is triggered and predicate is matched. */
|
|
608
513
|
export type WorkflowRuleSpecActionsList = Array<WorkflowRuleAction>;
|
|
609
|
-
export declare const WorkflowRuleSpecActionsList: S.Schema<WorkflowRuleSpecActionsList>;
|
|
610
514
|
export interface WorkflowRuleSpec {
|
|
611
515
|
/** The id of the new workflow rule. Must be unique within the namespace. Can be set by the user, and can have business meaning. */
|
|
612
516
|
id?: string;
|
|
@@ -618,7 +522,6 @@ export interface WorkflowRuleSpec {
|
|
|
618
522
|
/** Expiration time of the rule. After this time, the rule will be deleted. Can be empty if the rule should never expire. */
|
|
619
523
|
expirationTime?: string;
|
|
620
524
|
}
|
|
621
|
-
export declare const WorkflowRuleSpec: S.Schema<WorkflowRuleSpec>;
|
|
622
525
|
export interface CreateWorkflowRuleRequest {
|
|
623
526
|
namespace: string;
|
|
624
527
|
/** The rule specification . */
|
|
@@ -632,7 +535,6 @@ export interface CreateWorkflowRuleRequest {
|
|
|
632
535
|
/** Rule description.Will be stored with the rule. */
|
|
633
536
|
description?: string;
|
|
634
537
|
}
|
|
635
|
-
export declare const CreateWorkflowRuleRequest: S.Schema<CreateWorkflowRuleRequest>;
|
|
636
538
|
/** WorkflowRule describes a rule that can be applied to any workflow in this namespace. */
|
|
637
539
|
export interface WorkflowRule {
|
|
638
540
|
/** Rule creation time. */
|
|
@@ -644,23 +546,19 @@ export interface WorkflowRule {
|
|
|
644
546
|
/** Rule description. */
|
|
645
547
|
description?: string;
|
|
646
548
|
}
|
|
647
|
-
export declare const WorkflowRule: S.Schema<WorkflowRule>;
|
|
648
549
|
export interface CreateWorkflowRuleResponse {
|
|
649
550
|
/** Created rule. */
|
|
650
551
|
rule?: WorkflowRule;
|
|
651
552
|
/** Batch Job ID if force-scan flag was provided. Otherwise empty. */
|
|
652
553
|
jobId?: string;
|
|
653
554
|
}
|
|
654
|
-
export declare const CreateWorkflowRuleResponse: S.Schema<CreateWorkflowRuleResponse>;
|
|
655
555
|
export interface DeleteNexusEndpointRequest {
|
|
656
556
|
/** Server-generated unique endpoint ID. */
|
|
657
557
|
id: string;
|
|
658
558
|
/** Data version for this endpoint. Must match current version. */
|
|
659
559
|
version?: string;
|
|
660
560
|
}
|
|
661
|
-
export declare const DeleteNexusEndpointRequest: S.Schema<DeleteNexusEndpointRequest>;
|
|
662
561
|
export type DeleteNexusEndpointResponse2 = unknown;
|
|
663
|
-
export declare const DeleteNexusEndpointResponse2: S.Schema<DeleteNexusEndpointResponse2>;
|
|
664
562
|
export interface DeleteScheduleRequest {
|
|
665
563
|
/** The namespace of the schedule to delete. */
|
|
666
564
|
namespace: string;
|
|
@@ -669,18 +567,14 @@ export interface DeleteScheduleRequest {
|
|
|
669
567
|
/** The identity of the client who initiated this request. */
|
|
670
568
|
identity?: string;
|
|
671
569
|
}
|
|
672
|
-
export declare const DeleteScheduleRequest: S.Schema<DeleteScheduleRequest>;
|
|
673
570
|
export type DeleteScheduleResponse2 = unknown;
|
|
674
|
-
export declare const DeleteScheduleResponse2: S.Schema<DeleteScheduleResponse2>;
|
|
675
571
|
export interface DeleteWorkerDeploymentRequest {
|
|
676
572
|
namespace: string;
|
|
677
573
|
deploymentName: string;
|
|
678
574
|
/** Optional. The identity of the client who initiated this request. */
|
|
679
575
|
identity?: string;
|
|
680
576
|
}
|
|
681
|
-
export declare const DeleteWorkerDeploymentRequest: S.Schema<DeleteWorkerDeploymentRequest>;
|
|
682
577
|
export type DeleteWorkerDeploymentResponse2 = unknown;
|
|
683
|
-
export declare const DeleteWorkerDeploymentResponse2: S.Schema<DeleteWorkerDeploymentResponse2>;
|
|
684
578
|
export interface DeleteWorkerDeploymentVersionRequest {
|
|
685
579
|
namespace: string;
|
|
686
580
|
deployment_version_deployment_name: string;
|
|
@@ -696,17 +590,13 @@ export interface DeleteWorkerDeploymentVersionRequest {
|
|
|
696
590
|
/** Optional. The identity of the client who initiated this request. */
|
|
697
591
|
identity?: string;
|
|
698
592
|
}
|
|
699
|
-
export declare const DeleteWorkerDeploymentVersionRequest: S.Schema<DeleteWorkerDeploymentVersionRequest>;
|
|
700
593
|
export type DeleteWorkerDeploymentVersionResponse2 = unknown;
|
|
701
|
-
export declare const DeleteWorkerDeploymentVersionResponse2: S.Schema<DeleteWorkerDeploymentVersionResponse2>;
|
|
702
594
|
export interface DeleteWorkflowRuleRequest {
|
|
703
595
|
namespace: string;
|
|
704
596
|
/** ID of the rule to delete. Unique within the namespace. */
|
|
705
597
|
ruleId: string;
|
|
706
598
|
}
|
|
707
|
-
export declare const DeleteWorkflowRuleRequest: S.Schema<DeleteWorkflowRuleRequest>;
|
|
708
599
|
export type DeleteWorkflowRuleResponse2 = unknown;
|
|
709
|
-
export declare const DeleteWorkflowRuleResponse2: S.Schema<DeleteWorkflowRuleResponse2>;
|
|
710
600
|
export interface DescribeActivityExecutionRequest {
|
|
711
601
|
namespace: string;
|
|
712
602
|
activityId: string;
|
|
@@ -719,18 +609,13 @@ export interface DescribeActivityExecutionRequest {
|
|
|
719
609
|
/** Token from a previous DescribeActivityExecutionResponse. If present, long-poll until activity state changes from the state encoded in this token. If absent, return current state immediately. If present, run_id must also be present. Note that activity state may change multiple times between requests, therefore it is not guaranteed that a client making a sequence of long-poll requests will see a complete sequence of state changes. */
|
|
720
610
|
longPollToken?: string;
|
|
721
611
|
}
|
|
722
|
-
export declare const DescribeActivityExecutionRequest: S.Schema<DescribeActivityExecutionRequest>;
|
|
723
612
|
/** Represents the identifier used by a activity author to define the activity. Typically, the name of a function. This is sometimes referred to as the activity's "name" */
|
|
724
613
|
export type ActivityType = WorkflowType;
|
|
725
|
-
export declare const ActivityType: S.Schema<WorkflowType>;
|
|
726
614
|
/** A general status for this activity, indicates whether it is currently running or in one of the terminal statuses. */
|
|
727
615
|
export type ActivityExecutionInfoStatus = "ACTIVITY_EXECUTION_STATUS_UNSPECIFIED" | "ACTIVITY_EXECUTION_STATUS_RUNNING" | "ACTIVITY_EXECUTION_STATUS_COMPLETED" | "ACTIVITY_EXECUTION_STATUS_FAILED" | "ACTIVITY_EXECUTION_STATUS_CANCELED" | "ACTIVITY_EXECUTION_STATUS_TERMINATED" | "ACTIVITY_EXECUTION_STATUS_TIMED_OUT";
|
|
728
|
-
export declare const ActivityExecutionInfoStatus: any;
|
|
729
616
|
/** More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING. */
|
|
730
617
|
export type ActivityExecutionInfoRunState = "PENDING_ACTIVITY_STATE_UNSPECIFIED" | "PENDING_ACTIVITY_STATE_SCHEDULED" | "PENDING_ACTIVITY_STATE_STARTED" | "PENDING_ACTIVITY_STATE_CANCEL_REQUESTED" | "PENDING_ACTIVITY_STATE_PAUSED" | "PENDING_ACTIVITY_STATE_PAUSE_REQUESTED";
|
|
731
|
-
export declare const ActivityExecutionInfoRunState: any;
|
|
732
618
|
export type ApplicationFailureInfoCategory = "APPLICATION_ERROR_CATEGORY_UNSPECIFIED" | "APPLICATION_ERROR_CATEGORY_BENIGN";
|
|
733
|
-
export declare const ApplicationFailureInfoCategory: any;
|
|
734
619
|
export interface ApplicationFailureInfo {
|
|
735
620
|
type?: string;
|
|
736
621
|
nonRetryable?: boolean;
|
|
@@ -739,35 +624,27 @@ export interface ApplicationFailureInfo {
|
|
|
739
624
|
nextRetryDelay?: string;
|
|
740
625
|
category?: ApplicationFailureInfoCategory | (string & {});
|
|
741
626
|
}
|
|
742
|
-
export declare const ApplicationFailureInfo: S.Schema<ApplicationFailureInfo>;
|
|
743
627
|
export type TimeoutFailureInfoTimeoutType = "TIMEOUT_TYPE_UNSPECIFIED" | "TIMEOUT_TYPE_START_TO_CLOSE" | "TIMEOUT_TYPE_SCHEDULE_TO_START" | "TIMEOUT_TYPE_SCHEDULE_TO_CLOSE" | "TIMEOUT_TYPE_HEARTBEAT";
|
|
744
|
-
export declare const TimeoutFailureInfoTimeoutType: any;
|
|
745
628
|
export interface TimeoutFailureInfo {
|
|
746
629
|
timeoutType?: TimeoutFailureInfoTimeoutType | (string & {});
|
|
747
630
|
lastHeartbeatDetails?: Payloads;
|
|
748
631
|
}
|
|
749
|
-
export declare const TimeoutFailureInfo: S.Schema<TimeoutFailureInfo>;
|
|
750
632
|
export interface CanceledFailureInfo {
|
|
751
633
|
details?: Payloads;
|
|
752
634
|
/** The identity of the worker or client that requested the cancellation. */
|
|
753
635
|
identity?: string;
|
|
754
636
|
}
|
|
755
|
-
export declare const CanceledFailureInfo: S.Schema<CanceledFailureInfo>;
|
|
756
637
|
export interface TerminatedFailureInfo {
|
|
757
638
|
/** The identity of the worker or client that requested the termination. */
|
|
758
639
|
identity?: string;
|
|
759
640
|
}
|
|
760
|
-
export declare const TerminatedFailureInfo: S.Schema<TerminatedFailureInfo>;
|
|
761
641
|
export interface ServerFailureInfo {
|
|
762
642
|
nonRetryable?: boolean;
|
|
763
643
|
}
|
|
764
|
-
export declare const ServerFailureInfo: S.Schema<ServerFailureInfo>;
|
|
765
644
|
export interface ResetWorkflowFailureInfo {
|
|
766
645
|
lastHeartbeatDetails?: Payloads;
|
|
767
646
|
}
|
|
768
|
-
export declare const ResetWorkflowFailureInfo: S.Schema<ResetWorkflowFailureInfo>;
|
|
769
647
|
export type ActivityFailureInfoRetryState = "RETRY_STATE_UNSPECIFIED" | "RETRY_STATE_IN_PROGRESS" | "RETRY_STATE_NON_RETRYABLE_FAILURE" | "RETRY_STATE_TIMEOUT" | "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED" | "RETRY_STATE_RETRY_POLICY_NOT_SET" | "RETRY_STATE_INTERNAL_SERVER_ERROR" | "RETRY_STATE_CANCEL_REQUESTED";
|
|
770
|
-
export declare const ActivityFailureInfoRetryState: any;
|
|
771
648
|
export interface ActivityFailureInfo {
|
|
772
649
|
scheduledEventId?: string;
|
|
773
650
|
startedEventId?: string;
|
|
@@ -776,15 +653,12 @@ export interface ActivityFailureInfo {
|
|
|
776
653
|
activityId?: string;
|
|
777
654
|
retryState?: ActivityFailureInfoRetryState | (string & {});
|
|
778
655
|
}
|
|
779
|
-
export declare const ActivityFailureInfo: S.Schema<ActivityFailureInfo>;
|
|
780
656
|
/** Identifies a specific workflow within a namespace. Practically speaking, because run_id is a uuid, a workflow execution is globally unique. Note that many commands allow specifying an empty run id as a way of saying "target the latest run of the workflow". */
|
|
781
657
|
export interface WorkflowExecution {
|
|
782
658
|
workflowId?: string;
|
|
783
659
|
runId?: string;
|
|
784
660
|
}
|
|
785
|
-
export declare const WorkflowExecution: S.Schema<WorkflowExecution>;
|
|
786
661
|
export type ChildWorkflowExecutionFailureInfoRetryState = "RETRY_STATE_UNSPECIFIED" | "RETRY_STATE_IN_PROGRESS" | "RETRY_STATE_NON_RETRYABLE_FAILURE" | "RETRY_STATE_TIMEOUT" | "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED" | "RETRY_STATE_RETRY_POLICY_NOT_SET" | "RETRY_STATE_INTERNAL_SERVER_ERROR" | "RETRY_STATE_CANCEL_REQUESTED";
|
|
787
|
-
export declare const ChildWorkflowExecutionFailureInfoRetryState: any;
|
|
788
662
|
export interface ChildWorkflowExecutionFailureInfo {
|
|
789
663
|
namespace?: string;
|
|
790
664
|
workflowExecution?: WorkflowExecution;
|
|
@@ -793,7 +667,6 @@ export interface ChildWorkflowExecutionFailureInfo {
|
|
|
793
667
|
startedEventId?: string;
|
|
794
668
|
retryState?: ChildWorkflowExecutionFailureInfoRetryState | (string & {});
|
|
795
669
|
}
|
|
796
|
-
export declare const ChildWorkflowExecutionFailureInfo: S.Schema<ChildWorkflowExecutionFailureInfo>;
|
|
797
670
|
/** Representation of the Temporal SDK NexusOperationError object that is returned to workflow callers. */
|
|
798
671
|
export interface NexusOperationFailureInfo {
|
|
799
672
|
/** The NexusOperationScheduled event ID. */
|
|
@@ -809,17 +682,14 @@ export interface NexusOperationFailureInfo {
|
|
|
809
682
|
/** Operation token - may be empty if the operation completed synchronously. */
|
|
810
683
|
operationToken?: string;
|
|
811
684
|
}
|
|
812
|
-
export declare const NexusOperationFailureInfo: S.Schema<NexusOperationFailureInfo>;
|
|
813
685
|
/** Retry behavior, defaults to the retry behavior of the error type as defined in the spec. */
|
|
814
686
|
export type NexusHandlerFailureInfoRetryBehavior = "NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED" | "NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE" | "NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE";
|
|
815
|
-
export declare const NexusHandlerFailureInfoRetryBehavior: any;
|
|
816
687
|
export interface NexusHandlerFailureInfo {
|
|
817
688
|
/** The Nexus error type as defined in the spec: https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors. */
|
|
818
689
|
type?: string;
|
|
819
690
|
/** Retry behavior, defaults to the retry behavior of the error type as defined in the spec. */
|
|
820
691
|
retryBehavior?: NexusHandlerFailureInfoRetryBehavior | (string & {});
|
|
821
692
|
}
|
|
822
|
-
export declare const NexusHandlerFailureInfo: S.Schema<NexusHandlerFailureInfo>;
|
|
823
693
|
export interface Failure {
|
|
824
694
|
message?: string;
|
|
825
695
|
/** The source this Failure originated in, e.g. TypeScriptSDK / JavaSDK In some SDKs this is used to rehydrate the stack trace into an exception object. */
|
|
@@ -839,23 +709,18 @@ export interface Failure {
|
|
|
839
709
|
nexusOperationExecutionFailureInfo?: NexusOperationFailureInfo;
|
|
840
710
|
nexusHandlerFailureInfo?: NexusHandlerFailureInfo;
|
|
841
711
|
}
|
|
842
|
-
export declare const Failure: S.Schema<Failure>;
|
|
843
712
|
export type WorkflowEventEventReferenceEventType = "EVENT_TYPE_UNSPECIFIED" | "EVENT_TYPE_WORKFLOW_EXECUTION_STARTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED" | "EVENT_TYPE_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT" | "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED" | "EVENT_TYPE_WORKFLOW_TASK_STARTED" | "EVENT_TYPE_WORKFLOW_TASK_COMPLETED" | "EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT" | "EVENT_TYPE_WORKFLOW_TASK_FAILED" | "EVENT_TYPE_ACTIVITY_TASK_SCHEDULED" | "EVENT_TYPE_ACTIVITY_TASK_STARTED" | "EVENT_TYPE_ACTIVITY_TASK_COMPLETED" | "EVENT_TYPE_ACTIVITY_TASK_FAILED" | "EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT" | "EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED" | "EVENT_TYPE_ACTIVITY_TASK_CANCELED" | "EVENT_TYPE_TIMER_STARTED" | "EVENT_TYPE_TIMER_FIRED" | "EVENT_TYPE_TIMER_CANCELED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED" | "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED" | "EVENT_TYPE_MARKER_RECORDED" | "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW" | "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED" | "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED" | "EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED" | "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY" | "EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY" | "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED" | "EVENT_TYPE_NEXUS_OPERATION_SCHEDULED" | "EVENT_TYPE_NEXUS_OPERATION_STARTED" | "EVENT_TYPE_NEXUS_OPERATION_COMPLETED" | "EVENT_TYPE_NEXUS_OPERATION_FAILED" | "EVENT_TYPE_NEXUS_OPERATION_CANCELED" | "EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED" | "EVENT_TYPE_WORKFLOW_EXECUTION_PAUSED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UNPAUSED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TIME_SKIPPING_TRANSITIONED";
|
|
844
|
-
export declare const WorkflowEventEventReferenceEventType: any;
|
|
845
713
|
/** EventReference is a direct reference to a history event through the event ID. */
|
|
846
714
|
export interface WorkflowEventEventReference {
|
|
847
715
|
eventId?: string;
|
|
848
716
|
eventType?: WorkflowEventEventReferenceEventType | (string & {});
|
|
849
717
|
}
|
|
850
|
-
export declare const WorkflowEventEventReference: S.Schema<WorkflowEventEventReference>;
|
|
851
718
|
export type WorkflowEventRequestIdReferenceEventType = "EVENT_TYPE_UNSPECIFIED" | "EVENT_TYPE_WORKFLOW_EXECUTION_STARTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED" | "EVENT_TYPE_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT" | "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED" | "EVENT_TYPE_WORKFLOW_TASK_STARTED" | "EVENT_TYPE_WORKFLOW_TASK_COMPLETED" | "EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT" | "EVENT_TYPE_WORKFLOW_TASK_FAILED" | "EVENT_TYPE_ACTIVITY_TASK_SCHEDULED" | "EVENT_TYPE_ACTIVITY_TASK_STARTED" | "EVENT_TYPE_ACTIVITY_TASK_COMPLETED" | "EVENT_TYPE_ACTIVITY_TASK_FAILED" | "EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT" | "EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED" | "EVENT_TYPE_ACTIVITY_TASK_CANCELED" | "EVENT_TYPE_TIMER_STARTED" | "EVENT_TYPE_TIMER_FIRED" | "EVENT_TYPE_TIMER_CANCELED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED" | "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED" | "EVENT_TYPE_MARKER_RECORDED" | "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW" | "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED" | "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED" | "EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED" | "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY" | "EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY" | "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED" | "EVENT_TYPE_NEXUS_OPERATION_SCHEDULED" | "EVENT_TYPE_NEXUS_OPERATION_STARTED" | "EVENT_TYPE_NEXUS_OPERATION_COMPLETED" | "EVENT_TYPE_NEXUS_OPERATION_FAILED" | "EVENT_TYPE_NEXUS_OPERATION_CANCELED" | "EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED" | "EVENT_TYPE_WORKFLOW_EXECUTION_PAUSED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UNPAUSED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TIME_SKIPPING_TRANSITIONED";
|
|
852
|
-
export declare const WorkflowEventRequestIdReferenceEventType: any;
|
|
853
719
|
/** RequestIdReference is a indirect reference to a history event through the request ID. */
|
|
854
720
|
export interface WorkflowEventRequestIdReference {
|
|
855
721
|
requestId?: string;
|
|
856
722
|
eventType?: WorkflowEventRequestIdReferenceEventType | (string & {});
|
|
857
723
|
}
|
|
858
|
-
export declare const WorkflowEventRequestIdReference: S.Schema<WorkflowEventRequestIdReference>;
|
|
859
724
|
export interface LinkWorkflowEvent {
|
|
860
725
|
namespace?: string;
|
|
861
726
|
workflowId?: string;
|
|
@@ -863,26 +728,22 @@ export interface LinkWorkflowEvent {
|
|
|
863
728
|
eventRef?: WorkflowEventEventReference;
|
|
864
729
|
requestIdRef?: WorkflowEventRequestIdReference;
|
|
865
730
|
}
|
|
866
|
-
export declare const LinkWorkflowEvent: S.Schema<LinkWorkflowEvent>;
|
|
867
731
|
/** A link to a built-in batch job. Batch jobs can be used to perform operations on a set of workflows (e.g. terminate, signal, cancel, etc). This link can be put on workflow history events generated by actions taken by a batch job. */
|
|
868
732
|
export interface LinkBatchJob {
|
|
869
733
|
jobId?: string;
|
|
870
734
|
}
|
|
871
|
-
export declare const LinkBatchJob: S.Schema<LinkBatchJob>;
|
|
872
735
|
/** A link to an activity. */
|
|
873
736
|
export interface LinkActivity {
|
|
874
737
|
namespace?: string;
|
|
875
738
|
activityId?: string;
|
|
876
739
|
runId?: string;
|
|
877
740
|
}
|
|
878
|
-
export declare const LinkActivity: S.Schema<LinkActivity>;
|
|
879
741
|
/** A link to a standalone Nexus operation. */
|
|
880
742
|
export interface LinkNexusOperation {
|
|
881
743
|
namespace?: string;
|
|
882
744
|
operationId?: string;
|
|
883
745
|
runId?: string;
|
|
884
746
|
}
|
|
885
|
-
export declare const LinkNexusOperation: S.Schema<LinkNexusOperation>;
|
|
886
747
|
/** Link can be associated with history events. It might contain information about an external entity related to the history event. For example, workflow A makes a Nexus call that starts workflow B: in this case, a history event in workflow A could contain a Link to the workflow started event in workflow B, and vice-versa. */
|
|
887
748
|
export interface Link {
|
|
888
749
|
workflowEvent?: LinkWorkflowEvent;
|
|
@@ -890,10 +751,8 @@ export interface Link {
|
|
|
890
751
|
activity?: LinkActivity;
|
|
891
752
|
nexusOperation?: LinkNexusOperation;
|
|
892
753
|
}
|
|
893
|
-
export declare const Link: S.Schema<Link>;
|
|
894
754
|
/** Links to related entities, such as the entity that started this activity. */
|
|
895
755
|
export type ActivityExecutionInfoLinksList = Array<Link>;
|
|
896
|
-
export declare const ActivityExecutionInfoLinksList: S.Schema<ActivityExecutionInfoLinksList>;
|
|
897
756
|
/** Information about a standalone activity. */
|
|
898
757
|
export interface ActivityExecutionInfo {
|
|
899
758
|
/** Unique identifier of this activity within its namespace along with run ID (below). */
|
|
@@ -960,7 +819,6 @@ export interface ActivityExecutionInfo {
|
|
|
960
819
|
/** Total number of heartbeats recorded across all attempts of this activity, including retries. */
|
|
961
820
|
totalHeartbeatCount?: string;
|
|
962
821
|
}
|
|
963
|
-
export declare const ActivityExecutionInfo: S.Schema<ActivityExecutionInfo>;
|
|
964
822
|
/** The outcome of a completed activity execution: either a successful result or a failure. */
|
|
965
823
|
export interface ActivityExecutionOutcome {
|
|
966
824
|
/** The result if the activity completed successfully. */
|
|
@@ -968,28 +826,23 @@ export interface ActivityExecutionOutcome {
|
|
|
968
826
|
/** The failure if the activity completed unsuccessfully. */
|
|
969
827
|
failure?: Failure;
|
|
970
828
|
}
|
|
971
|
-
export declare const ActivityExecutionOutcome: S.Schema<ActivityExecutionOutcome>;
|
|
972
829
|
/** Header to attach to callback request. */
|
|
973
830
|
export type CallbackNexusHeaderMap = {
|
|
974
831
|
[key: string]: string | undefined;
|
|
975
832
|
};
|
|
976
|
-
export declare const CallbackNexusHeaderMap: S.Schema<CallbackNexusHeaderMap>;
|
|
977
833
|
export interface CallbackNexus {
|
|
978
834
|
/** Callback URL. */
|
|
979
835
|
url?: string;
|
|
980
836
|
/** Header to attach to callback request. */
|
|
981
837
|
header?: CallbackNexusHeaderMap;
|
|
982
838
|
}
|
|
983
|
-
export declare const CallbackNexus: S.Schema<CallbackNexus>;
|
|
984
839
|
/** Callbacks to be delivered internally within the system. This variant is not settable in the API and will be rejected by the service with an INVALID_ARGUMENT error. The only reason that this is exposed is because callbacks are replicated across clusters via the WorkflowExecutionStarted event, which is defined in the public API. */
|
|
985
840
|
export interface CallbackInternal {
|
|
986
841
|
/** Opaque internal data. */
|
|
987
842
|
data?: string;
|
|
988
843
|
}
|
|
989
|
-
export declare const CallbackInternal: S.Schema<CallbackInternal>;
|
|
990
844
|
/** Links associated with the callback. It can be used to link to underlying resources of the callback. */
|
|
991
845
|
export type CallbackLinksList = Array<Link>;
|
|
992
|
-
export declare const CallbackLinksList: S.Schema<CallbackLinksList>;
|
|
993
846
|
/** Callback to attach to various events in the system, e.g. workflow run completion. */
|
|
994
847
|
export interface Callback {
|
|
995
848
|
nexus?: CallbackNexus;
|
|
@@ -997,10 +850,8 @@ export interface Callback {
|
|
|
997
850
|
/** Links associated with the callback. It can be used to link to underlying resources of the callback. */
|
|
998
851
|
links?: CallbackLinksList;
|
|
999
852
|
}
|
|
1000
|
-
export declare const Callback: S.Schema<Callback>;
|
|
1001
853
|
/** The current state of the callback. */
|
|
1002
854
|
export type CallbackInfoState = "CALLBACK_STATE_UNSPECIFIED" | "CALLBACK_STATE_STANDBY" | "CALLBACK_STATE_SCHEDULED" | "CALLBACK_STATE_BACKING_OFF" | "CALLBACK_STATE_FAILED" | "CALLBACK_STATE_SUCCEEDED" | "CALLBACK_STATE_BLOCKED";
|
|
1003
|
-
export declare const CallbackInfoState: any;
|
|
1004
855
|
/** Common callback information. Specific CallbackInfo messages should embed this and may include additional fields. */
|
|
1005
856
|
export interface CallbackInfo {
|
|
1006
857
|
/** Information on how this callback should be invoked (e.g. its URL and type). */
|
|
@@ -1020,10 +871,8 @@ export interface CallbackInfo {
|
|
|
1020
871
|
/** If the state is BLOCKED, blocked reason provides additional information. */
|
|
1021
872
|
blockedReason?: string;
|
|
1022
873
|
}
|
|
1023
|
-
export declare const CallbackInfo: S.Schema<CallbackInfo>;
|
|
1024
874
|
/** Callbacks attached to this activity execution and their current state. */
|
|
1025
875
|
export type DescribeActivityExecutionResponseCallbacksList = Array<CallbackInfo>;
|
|
1026
|
-
export declare const DescribeActivityExecutionResponseCallbacksList: S.Schema<DescribeActivityExecutionResponseCallbacksList>;
|
|
1027
876
|
export interface DescribeActivityExecutionResponse {
|
|
1028
877
|
/** The run ID of the activity, useful when run_id was not specified in the request. */
|
|
1029
878
|
runId?: string;
|
|
@@ -1038,20 +887,16 @@ export interface DescribeActivityExecutionResponse {
|
|
|
1038
887
|
/** Callbacks attached to this activity execution and their current state. */
|
|
1039
888
|
callbacks?: DescribeActivityExecutionResponseCallbacksList;
|
|
1040
889
|
}
|
|
1041
|
-
export declare const DescribeActivityExecutionResponse: S.Schema<DescribeActivityExecutionResponse>;
|
|
1042
890
|
export interface DescribeBatchOperationRequest {
|
|
1043
891
|
/** Namespace that contains the batch operation */
|
|
1044
892
|
namespace: string;
|
|
1045
893
|
/** Batch job id */
|
|
1046
894
|
jobId: string;
|
|
1047
895
|
}
|
|
1048
|
-
export declare const DescribeBatchOperationRequest: S.Schema<DescribeBatchOperationRequest>;
|
|
1049
896
|
/** Batch operation type */
|
|
1050
897
|
export type DescribeBatchOperationResponseOperationType = "BATCH_OPERATION_TYPE_UNSPECIFIED" | "BATCH_OPERATION_TYPE_TERMINATE" | "BATCH_OPERATION_TYPE_CANCEL" | "BATCH_OPERATION_TYPE_SIGNAL" | "BATCH_OPERATION_TYPE_DELETE" | "BATCH_OPERATION_TYPE_RESET" | "BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS" | "BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY" | "BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS" | "BATCH_OPERATION_TYPE_RESET_ACTIVITY";
|
|
1051
|
-
export declare const DescribeBatchOperationResponseOperationType: any;
|
|
1052
898
|
/** Batch operation state */
|
|
1053
899
|
export type DescribeBatchOperationResponseState = "BATCH_OPERATION_STATE_UNSPECIFIED" | "BATCH_OPERATION_STATE_RUNNING" | "BATCH_OPERATION_STATE_COMPLETED" | "BATCH_OPERATION_STATE_FAILED";
|
|
1054
|
-
export declare const DescribeBatchOperationResponseState: any;
|
|
1055
900
|
export interface DescribeBatchOperationResponse {
|
|
1056
901
|
/** Batch operation type */
|
|
1057
902
|
operationType?: DescribeBatchOperationResponseOperationType;
|
|
@@ -1074,7 +919,6 @@ export interface DescribeBatchOperationResponse {
|
|
|
1074
919
|
/** Reason indicates the reason to stop a operation */
|
|
1075
920
|
reason?: string;
|
|
1076
921
|
}
|
|
1077
|
-
export declare const DescribeBatchOperationResponse: S.Schema<DescribeBatchOperationResponse>;
|
|
1078
922
|
export interface DescribeDeploymentRequest {
|
|
1079
923
|
namespace: string;
|
|
1080
924
|
deployment_series_name: string;
|
|
@@ -1084,23 +928,18 @@ export interface DescribeDeploymentRequest {
|
|
|
1084
928
|
/** Build ID changes with each version of the worker when the worker program code and/or config changes. */
|
|
1085
929
|
deployment_buildId?: string;
|
|
1086
930
|
}
|
|
1087
|
-
export declare const DescribeDeploymentRequest: S.Schema<DescribeDeploymentRequest>;
|
|
1088
931
|
export type DeploymentInfoTaskQueueInfoType = "TASK_QUEUE_TYPE_UNSPECIFIED" | "TASK_QUEUE_TYPE_WORKFLOW" | "TASK_QUEUE_TYPE_ACTIVITY" | "TASK_QUEUE_TYPE_NEXUS";
|
|
1089
|
-
export declare const DeploymentInfoTaskQueueInfoType: any;
|
|
1090
932
|
export interface DeploymentInfoTaskQueueInfo {
|
|
1091
933
|
name?: string;
|
|
1092
934
|
type?: DeploymentInfoTaskQueueInfoType;
|
|
1093
935
|
/** When server saw the first poller for this task queue in this deployment. */
|
|
1094
936
|
firstPollerTime?: string;
|
|
1095
937
|
}
|
|
1096
|
-
export declare const DeploymentInfoTaskQueueInfo: S.Schema<DeploymentInfoTaskQueueInfo>;
|
|
1097
938
|
export type DeploymentInfoTaskQueueInfosList = Array<DeploymentInfoTaskQueueInfo>;
|
|
1098
|
-
export declare const DeploymentInfoTaskQueueInfosList: S.Schema<DeploymentInfoTaskQueueInfosList>;
|
|
1099
939
|
/** A user-defined set of key-values. Can be updated as part of write operations to the deployment, such as `SetCurrentDeployment`. */
|
|
1100
940
|
export type DeploymentInfoMetadataMap = {
|
|
1101
941
|
[key: string]: unknown | undefined;
|
|
1102
942
|
};
|
|
1103
|
-
export declare const DeploymentInfoMetadataMap: S.Schema<DeploymentInfoMetadataMap>;
|
|
1104
943
|
/** `DeploymentInfo` holds information about a deployment. Deployment information is tracked automatically by server as soon as the first poll from that deployment reaches the server. There can be multiple task queue workers in a single deployment which are listed in this message. Deprecated. */
|
|
1105
944
|
export interface DeploymentInfo {
|
|
1106
945
|
deployment?: Deployment;
|
|
@@ -1111,26 +950,21 @@ export interface DeploymentInfo {
|
|
|
1111
950
|
/** If this deployment is the current deployment of its deployment series. */
|
|
1112
951
|
isCurrent?: boolean;
|
|
1113
952
|
}
|
|
1114
|
-
export declare const DeploymentInfo: S.Schema<DeploymentInfo>;
|
|
1115
953
|
/** [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later */
|
|
1116
954
|
export interface DescribeDeploymentResponse {
|
|
1117
955
|
deploymentInfo?: DeploymentInfo;
|
|
1118
956
|
}
|
|
1119
|
-
export declare const DescribeDeploymentResponse: S.Schema<DescribeDeploymentResponse>;
|
|
1120
957
|
export interface DescribeNamespaceRequest {
|
|
1121
958
|
namespace: string;
|
|
1122
959
|
id?: string;
|
|
1123
960
|
/** If true, the server may serve the response from an eventually-consistent source instead of reading through to persistence. Defaults to false, which preserves read-after-write consistency. SDKs should set this when fetching namespace capabilities on worker/client startup. */
|
|
1124
961
|
weakConsistency?: boolean;
|
|
1125
962
|
}
|
|
1126
|
-
export declare const DescribeNamespaceRequest: S.Schema<DescribeNamespaceRequest>;
|
|
1127
963
|
export type NamespaceInfoState = "NAMESPACE_STATE_UNSPECIFIED" | "NAMESPACE_STATE_REGISTERED" | "NAMESPACE_STATE_DEPRECATED" | "NAMESPACE_STATE_DELETED";
|
|
1128
|
-
export declare const NamespaceInfoState: any;
|
|
1129
964
|
/** A key-value map for any customized purpose. */
|
|
1130
965
|
export type NamespaceInfoDataMap = {
|
|
1131
966
|
[key: string]: string | undefined;
|
|
1132
967
|
};
|
|
1133
|
-
export declare const NamespaceInfoDataMap: S.Schema<NamespaceInfoDataMap>;
|
|
1134
968
|
/** Namespace capability details. Should contain what features are enabled in a namespace. */
|
|
1135
969
|
export interface NamespaceInfoCapabilities {
|
|
1136
970
|
/** True if the namespace supports eager workflow start. */
|
|
@@ -1154,14 +988,12 @@ export interface NamespaceInfoCapabilities {
|
|
|
1154
988
|
/** True if the namespace supports worker commands (server-to-worker communication via control queues). */
|
|
1155
989
|
workerCommands?: boolean;
|
|
1156
990
|
}
|
|
1157
|
-
export declare const NamespaceInfoCapabilities: S.Schema<NamespaceInfoCapabilities>;
|
|
1158
991
|
export interface NamespaceInfoLimits {
|
|
1159
992
|
/** Maximum size in bytes for payload fields in workflow history events (e.g., workflow/activity inputs and results, failure details, signal payloads). When exceeded, the server will reject the operation with an error. */
|
|
1160
993
|
blobSizeLimitError?: string;
|
|
1161
994
|
/** Maximum total memo size in bytes per workflow execution. */
|
|
1162
995
|
memoSizeLimitError?: string;
|
|
1163
996
|
}
|
|
1164
|
-
export declare const NamespaceInfoLimits: S.Schema<NamespaceInfoLimits>;
|
|
1165
997
|
export interface NamespaceInfo {
|
|
1166
998
|
name?: string;
|
|
1167
999
|
state?: NamespaceInfoState;
|
|
@@ -1177,32 +1009,25 @@ export interface NamespaceInfo {
|
|
|
1177
1009
|
/** Whether scheduled workflows are supported on this namespace. This is only needed temporarily while the feature is experimental, so we can give it a high tag. */
|
|
1178
1010
|
supportsSchedules?: boolean;
|
|
1179
1011
|
}
|
|
1180
|
-
export declare const NamespaceInfo: S.Schema<NamespaceInfo>;
|
|
1181
1012
|
export interface BadBinaryInfo {
|
|
1182
1013
|
reason?: string;
|
|
1183
1014
|
operator?: string;
|
|
1184
1015
|
createTime?: string;
|
|
1185
1016
|
}
|
|
1186
|
-
export declare const BadBinaryInfo: S.Schema<BadBinaryInfo>;
|
|
1187
1017
|
export type BadBinariesBinariesMap = {
|
|
1188
1018
|
[key: string]: BadBinaryInfo | undefined;
|
|
1189
1019
|
};
|
|
1190
|
-
export declare const BadBinariesBinariesMap: S.Schema<BadBinariesBinariesMap>;
|
|
1191
1020
|
export interface BadBinaries {
|
|
1192
1021
|
binaries?: BadBinariesBinariesMap;
|
|
1193
1022
|
}
|
|
1194
|
-
export declare const BadBinaries: S.Schema<BadBinaries>;
|
|
1195
1023
|
/** If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used. */
|
|
1196
1024
|
export type NamespaceConfigHistoryArchivalState = "ARCHIVAL_STATE_UNSPECIFIED" | "ARCHIVAL_STATE_DISABLED" | "ARCHIVAL_STATE_ENABLED";
|
|
1197
|
-
export declare const NamespaceConfigHistoryArchivalState: any;
|
|
1198
1025
|
/** If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used. */
|
|
1199
1026
|
export type NamespaceConfigVisibilityArchivalState = "ARCHIVAL_STATE_UNSPECIFIED" | "ARCHIVAL_STATE_DISABLED" | "ARCHIVAL_STATE_ENABLED";
|
|
1200
|
-
export declare const NamespaceConfigVisibilityArchivalState: any;
|
|
1201
1027
|
/** Map from field name to alias. */
|
|
1202
1028
|
export type NamespaceConfigCustomSearchAttributeAliasesMap = {
|
|
1203
1029
|
[key: string]: string | undefined;
|
|
1204
1030
|
};
|
|
1205
|
-
export declare const NamespaceConfigCustomSearchAttributeAliasesMap: S.Schema<NamespaceConfigCustomSearchAttributeAliasesMap>;
|
|
1206
1031
|
export interface NamespaceConfig {
|
|
1207
1032
|
workflowExecutionRetentionTtl?: string;
|
|
1208
1033
|
badBinaries?: BadBinaries;
|
|
@@ -1215,31 +1040,24 @@ export interface NamespaceConfig {
|
|
|
1215
1040
|
/** Map from field name to alias. */
|
|
1216
1041
|
customSearchAttributeAliases?: NamespaceConfigCustomSearchAttributeAliasesMap;
|
|
1217
1042
|
}
|
|
1218
|
-
export declare const NamespaceConfig: S.Schema<NamespaceConfig>;
|
|
1219
1043
|
export interface ClusterReplicationConfig {
|
|
1220
1044
|
clusterName?: string;
|
|
1221
1045
|
}
|
|
1222
|
-
export declare const ClusterReplicationConfig: S.Schema<ClusterReplicationConfig>;
|
|
1223
1046
|
export type NamespaceReplicationConfigClustersList = Array<ClusterReplicationConfig>;
|
|
1224
|
-
export declare const NamespaceReplicationConfigClustersList: S.Schema<NamespaceReplicationConfigClustersList>;
|
|
1225
1047
|
export type NamespaceReplicationConfigState = "REPLICATION_STATE_UNSPECIFIED" | "REPLICATION_STATE_NORMAL" | "REPLICATION_STATE_HANDOVER";
|
|
1226
|
-
export declare const NamespaceReplicationConfigState: any;
|
|
1227
1048
|
export interface NamespaceReplicationConfig {
|
|
1228
1049
|
activeClusterName?: string;
|
|
1229
1050
|
clusters?: NamespaceReplicationConfigClustersList;
|
|
1230
1051
|
state?: NamespaceReplicationConfigState | (string & {});
|
|
1231
1052
|
}
|
|
1232
|
-
export declare const NamespaceReplicationConfig: S.Schema<NamespaceReplicationConfig>;
|
|
1233
1053
|
/** Represents a historical replication status of a Namespace */
|
|
1234
1054
|
export interface FailoverStatus {
|
|
1235
1055
|
/** Timestamp when the Cluster switched to the following failover_version */
|
|
1236
1056
|
failoverTime?: string;
|
|
1237
1057
|
failoverVersion?: string;
|
|
1238
1058
|
}
|
|
1239
|
-
export declare const FailoverStatus: S.Schema<FailoverStatus>;
|
|
1240
1059
|
/** Contains the historical state of failover_versions for the cluster, truncated to contain only the last N states to ensure that the list does not grow unbounded. */
|
|
1241
1060
|
export type DescribeNamespaceResponseFailoverHistoryList = Array<FailoverStatus>;
|
|
1242
|
-
export declare const DescribeNamespaceResponseFailoverHistoryList: S.Schema<DescribeNamespaceResponseFailoverHistoryList>;
|
|
1243
1061
|
export interface DescribeNamespaceResponse {
|
|
1244
1062
|
namespaceInfo?: NamespaceInfo;
|
|
1245
1063
|
config?: NamespaceConfig;
|
|
@@ -1249,7 +1067,6 @@ export interface DescribeNamespaceResponse {
|
|
|
1249
1067
|
/** Contains the historical state of failover_versions for the cluster, truncated to contain only the last N states to ensure that the list does not grow unbounded. */
|
|
1250
1068
|
failoverHistory?: DescribeNamespaceResponseFailoverHistoryList;
|
|
1251
1069
|
}
|
|
1252
|
-
export declare const DescribeNamespaceResponse: S.Schema<DescribeNamespaceResponse>;
|
|
1253
1070
|
export interface DescribeNexusOperationExecutionRequest {
|
|
1254
1071
|
namespace: string;
|
|
1255
1072
|
operationId: string;
|
|
@@ -1262,15 +1079,11 @@ export interface DescribeNexusOperationExecutionRequest {
|
|
|
1262
1079
|
/** Token from a previous DescribeNexusOperationExecutionResponse. If present, this RPC will long-poll until operation state changes from the state encoded in this token. If absent, return current state immediately. If present, run_id must also be present. Note that operation state may change multiple times between requests, therefore it is not guaranteed that a client making a sequence of long-poll requests will see a complete sequence of state changes. */
|
|
1263
1080
|
longPollToken?: string;
|
|
1264
1081
|
}
|
|
1265
|
-
export declare const DescribeNexusOperationExecutionRequest: S.Schema<DescribeNexusOperationExecutionRequest>;
|
|
1266
1082
|
/** A general status for this operation, indicates whether it is currently running or in one of the terminal statuses. Updated once when the operation is originally scheduled, and again when it reaches a terminal status. */
|
|
1267
1083
|
export type NexusOperationExecutionInfoStatus = "NEXUS_OPERATION_EXECUTION_STATUS_UNSPECIFIED" | "NEXUS_OPERATION_EXECUTION_STATUS_RUNNING" | "NEXUS_OPERATION_EXECUTION_STATUS_COMPLETED" | "NEXUS_OPERATION_EXECUTION_STATUS_FAILED" | "NEXUS_OPERATION_EXECUTION_STATUS_CANCELED" | "NEXUS_OPERATION_EXECUTION_STATUS_TERMINATED" | "NEXUS_OPERATION_EXECUTION_STATUS_TIMED_OUT";
|
|
1268
|
-
export declare const NexusOperationExecutionInfoStatus: any;
|
|
1269
1084
|
/** More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING. */
|
|
1270
1085
|
export type NexusOperationExecutionInfoState = "PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED" | "PENDING_NEXUS_OPERATION_STATE_SCHEDULED" | "PENDING_NEXUS_OPERATION_STATE_BACKING_OFF" | "PENDING_NEXUS_OPERATION_STATE_STARTED" | "PENDING_NEXUS_OPERATION_STATE_BLOCKED";
|
|
1271
|
-
export declare const NexusOperationExecutionInfoState: any;
|
|
1272
1086
|
export type NexusOperationExecutionCancellationInfoState = "NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED" | "NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED" | "NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF" | "NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED" | "NEXUS_OPERATION_CANCELLATION_STATE_FAILED" | "NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT" | "NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED";
|
|
1273
|
-
export declare const NexusOperationExecutionCancellationInfoState: any;
|
|
1274
1087
|
/** NexusOperationExecutionCancellationInfo contains the state of a Nexus operation cancellation. */
|
|
1275
1088
|
export interface NexusOperationExecutionCancellationInfo {
|
|
1276
1089
|
/** The time when cancellation was requested. */
|
|
@@ -1289,15 +1102,12 @@ export interface NexusOperationExecutionCancellationInfo {
|
|
|
1289
1102
|
/** A reason that may be specified in the CancelNexusOperationRequest. */
|
|
1290
1103
|
reason?: string;
|
|
1291
1104
|
}
|
|
1292
|
-
export declare const NexusOperationExecutionCancellationInfo: S.Schema<NexusOperationExecutionCancellationInfo>;
|
|
1293
1105
|
/** Header for context propagation and tracing purposes. */
|
|
1294
1106
|
export type NexusOperationExecutionInfoNexusHeaderMap = {
|
|
1295
1107
|
[key: string]: string | undefined;
|
|
1296
1108
|
};
|
|
1297
|
-
export declare const NexusOperationExecutionInfoNexusHeaderMap: S.Schema<NexusOperationExecutionInfoNexusHeaderMap>;
|
|
1298
1109
|
/** Links attached by the handler of this operation on start or completion. */
|
|
1299
1110
|
export type NexusOperationExecutionInfoLinksList = Array<Link>;
|
|
1300
|
-
export declare const NexusOperationExecutionInfoLinksList: S.Schema<NexusOperationExecutionInfoLinksList>;
|
|
1301
1111
|
/** Full current state of a standalone Nexus operation, as of the time of the request. */
|
|
1302
1112
|
export interface NexusOperationExecutionInfo {
|
|
1303
1113
|
/** Unique identifier of this Nexus operation within its namespace along with run ID (below). */
|
|
@@ -1354,7 +1164,6 @@ export interface NexusOperationExecutionInfo {
|
|
|
1354
1164
|
/** The identity of the client who started this operation. */
|
|
1355
1165
|
identity?: string;
|
|
1356
1166
|
}
|
|
1357
|
-
export declare const NexusOperationExecutionInfo: S.Schema<NexusOperationExecutionInfo>;
|
|
1358
1167
|
export interface DescribeNexusOperationExecutionResponse {
|
|
1359
1168
|
/** The run ID of the operation, useful when run_id was not specified in the request. */
|
|
1360
1169
|
runId?: string;
|
|
@@ -1369,20 +1178,16 @@ export interface DescribeNexusOperationExecutionResponse {
|
|
|
1369
1178
|
/** Token for follow-on long-poll requests. Absent only if the operation is complete. */
|
|
1370
1179
|
longPollToken?: string;
|
|
1371
1180
|
}
|
|
1372
|
-
export declare const DescribeNexusOperationExecutionResponse: S.Schema<DescribeNexusOperationExecutionResponse>;
|
|
1373
1181
|
export interface DescribeScheduleRequest {
|
|
1374
1182
|
/** The namespace of the schedule to describe. */
|
|
1375
1183
|
namespace: string;
|
|
1376
1184
|
/** The id of the schedule to describe. */
|
|
1377
1185
|
scheduleId: string;
|
|
1378
1186
|
}
|
|
1379
|
-
export declare const DescribeScheduleRequest: S.Schema<DescribeScheduleRequest>;
|
|
1380
1187
|
/** Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id. */
|
|
1381
1188
|
export type ScheduleInfoRunningWorkflowsList = Array<WorkflowExecution>;
|
|
1382
|
-
export declare const ScheduleInfoRunningWorkflowsList: S.Schema<ScheduleInfoRunningWorkflowsList>;
|
|
1383
1189
|
/** If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status. */
|
|
1384
1190
|
export type ScheduleActionResultStartWorkflowStatus = "WORKFLOW_EXECUTION_STATUS_UNSPECIFIED" | "WORKFLOW_EXECUTION_STATUS_RUNNING" | "WORKFLOW_EXECUTION_STATUS_COMPLETED" | "WORKFLOW_EXECUTION_STATUS_FAILED" | "WORKFLOW_EXECUTION_STATUS_CANCELED" | "WORKFLOW_EXECUTION_STATUS_TERMINATED" | "WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW" | "WORKFLOW_EXECUTION_STATUS_TIMED_OUT" | "WORKFLOW_EXECUTION_STATUS_PAUSED";
|
|
1385
|
-
export declare const ScheduleActionResultStartWorkflowStatus: any;
|
|
1386
1191
|
export interface ScheduleActionResult {
|
|
1387
1192
|
/** Time that the action was taken (according to the schedule, including jitter). */
|
|
1388
1193
|
scheduleTime?: string;
|
|
@@ -1393,13 +1198,10 @@ export interface ScheduleActionResult {
|
|
|
1393
1198
|
/** If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status. */
|
|
1394
1199
|
startWorkflowStatus?: ScheduleActionResultStartWorkflowStatus;
|
|
1395
1200
|
}
|
|
1396
|
-
export declare const ScheduleActionResult: S.Schema<ScheduleActionResult>;
|
|
1397
1201
|
/** Most recent ten actual action times (including manual triggers). */
|
|
1398
1202
|
export type ScheduleInfoRecentActionsList = Array<ScheduleActionResult>;
|
|
1399
|
-
export declare const ScheduleInfoRecentActionsList: S.Schema<ScheduleInfoRecentActionsList>;
|
|
1400
1203
|
/** Next ten scheduled action times. */
|
|
1401
1204
|
export type ScheduleInfoFutureActionTimesList = Array<string>;
|
|
1402
|
-
export declare const ScheduleInfoFutureActionTimesList: S.Schema<ScheduleInfoFutureActionTimesList>;
|
|
1403
1205
|
export interface ScheduleInfo {
|
|
1404
1206
|
/** Number of actions taken so far. */
|
|
1405
1207
|
actionCount?: string;
|
|
@@ -1423,7 +1225,6 @@ export interface ScheduleInfo {
|
|
|
1423
1225
|
/** Deprecated. */
|
|
1424
1226
|
invalidScheduleError?: string;
|
|
1425
1227
|
}
|
|
1426
|
-
export declare const ScheduleInfo: S.Schema<ScheduleInfo>;
|
|
1427
1228
|
export interface DescribeScheduleResponse {
|
|
1428
1229
|
/** The complete current schedule details. This may not match the schedule as created because: - some types of schedule specs may get compiled into others (e.g. CronString into StructuredCalendarSpec) - some unspecified fields may be replaced by defaults - some fields in the state are modified automatically - the schedule may have been modified by UpdateSchedule or PatchSchedule */
|
|
1429
1230
|
schedule?: Schedule;
|
|
@@ -1435,19 +1236,12 @@ export interface DescribeScheduleResponse {
|
|
|
1435
1236
|
/** This value can be passed back to UpdateSchedule to ensure that the schedule was not modified between a Describe and an Update, which could lead to lost updates and other confusion. */
|
|
1436
1237
|
conflictToken?: string;
|
|
1437
1238
|
}
|
|
1438
|
-
export declare const DescribeScheduleResponse: S.Schema<DescribeScheduleResponse>;
|
|
1439
1239
|
export type DescribeTaskQueueRequestTaskQueueKind = "TASK_QUEUE_KIND_UNSPECIFIED" | "TASK_QUEUE_KIND_NORMAL" | "TASK_QUEUE_KIND_STICKY" | "TASK_QUEUE_KIND_WORKER_COMMANDS";
|
|
1440
|
-
export declare const DescribeTaskQueueRequestTaskQueueKind: any;
|
|
1441
1240
|
export type DescribeTaskQueueRequestTaskQueueType = "TASK_QUEUE_TYPE_UNSPECIFIED" | "TASK_QUEUE_TYPE_WORKFLOW" | "TASK_QUEUE_TYPE_ACTIVITY" | "TASK_QUEUE_TYPE_NEXUS";
|
|
1442
|
-
export declare const DescribeTaskQueueRequestTaskQueueType: any;
|
|
1443
1241
|
export type DescribeTaskQueueRequestApiMode = "DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED" | "DESCRIBE_TASK_QUEUE_MODE_ENHANCED";
|
|
1444
|
-
export declare const DescribeTaskQueueRequestApiMode: any;
|
|
1445
1242
|
export type DescribeTaskQueueRequestVersionsBuildIdsList = Array<string>;
|
|
1446
|
-
export declare const DescribeTaskQueueRequestVersionsBuildIdsList: S.Schema<DescribeTaskQueueRequestVersionsBuildIdsList>;
|
|
1447
1243
|
export type DescribeTaskQueueRequestTaskQueueTypesItem = "TASK_QUEUE_TYPE_UNSPECIFIED" | "TASK_QUEUE_TYPE_WORKFLOW" | "TASK_QUEUE_TYPE_ACTIVITY" | "TASK_QUEUE_TYPE_NEXUS";
|
|
1448
|
-
export declare const DescribeTaskQueueRequestTaskQueueTypesItem: any;
|
|
1449
1244
|
export type DescribeTaskQueueRequestTaskQueueTypesList = Array<DescribeTaskQueueRequestTaskQueueTypesItem | (string & {})>;
|
|
1450
|
-
export declare const DescribeTaskQueueRequestTaskQueueTypesList: S.Schema<DescribeTaskQueueRequestTaskQueueTypesList>;
|
|
1451
1245
|
export interface DescribeTaskQueueRequest {
|
|
1452
1246
|
namespace: string;
|
|
1453
1247
|
task_queue_name: string;
|
|
@@ -1479,7 +1273,6 @@ export interface DescribeTaskQueueRequest {
|
|
|
1479
1273
|
/** Deprecated (as part of the ENHANCED mode deprecation). Report task reachability for the requested versions and all task types (task reachability is not reported per task type). */
|
|
1480
1274
|
reportTaskReachability?: boolean;
|
|
1481
1275
|
}
|
|
1482
|
-
export declare const DescribeTaskQueueRequest: S.Schema<DescribeTaskQueueRequest>;
|
|
1483
1276
|
/** Identifies the version that a worker is compatible with when polling or identifying itself, and whether or not this worker is opting into the build-id based versioning feature. This is used by matching to determine which workers ought to receive what tasks. Deprecated. Use WorkerDeploymentOptions instead. */
|
|
1484
1277
|
export interface WorkerVersionCapabilities {
|
|
1485
1278
|
/** An opaque whole-worker identifier */
|
|
@@ -1489,10 +1282,8 @@ export interface WorkerVersionCapabilities {
|
|
|
1489
1282
|
/** Must be sent if user has set a deployment series name (versioning-3). */
|
|
1490
1283
|
deploymentSeriesName?: string;
|
|
1491
1284
|
}
|
|
1492
|
-
export declare const WorkerVersionCapabilities: S.Schema<WorkerVersionCapabilities>;
|
|
1493
1285
|
/** Required. Versioning Mode for this worker. Must be the same for all workers with the same `deployment_name` and `build_id` combination, across all Task Queues. When `worker_versioning_mode==VERSIONED`, the worker will be part of a Deployment Version. */
|
|
1494
1286
|
export type WorkerDeploymentOptionsWorkerVersioningMode = "WORKER_VERSIONING_MODE_UNSPECIFIED" | "WORKER_VERSIONING_MODE_UNVERSIONED" | "WORKER_VERSIONING_MODE_VERSIONED";
|
|
1495
|
-
export declare const WorkerDeploymentOptionsWorkerVersioningMode: any;
|
|
1496
1287
|
/** Worker Deployment options set in SDK that need to be sent to server in every poll. */
|
|
1497
1288
|
export interface WorkerDeploymentOptions {
|
|
1498
1289
|
/** Required when `worker_versioning_mode==VERSIONED`. */
|
|
@@ -1502,7 +1293,6 @@ export interface WorkerDeploymentOptions {
|
|
|
1502
1293
|
/** Required. Versioning Mode for this worker. Must be the same for all workers with the same `deployment_name` and `build_id` combination, across all Task Queues. When `worker_versioning_mode==VERSIONED`, the worker will be part of a Deployment Version. */
|
|
1503
1294
|
workerVersioningMode?: WorkerDeploymentOptionsWorkerVersioningMode | (string & {});
|
|
1504
1295
|
}
|
|
1505
|
-
export declare const WorkerDeploymentOptions: S.Schema<WorkerDeploymentOptions>;
|
|
1506
1296
|
export interface PollerInfo {
|
|
1507
1297
|
lastAccessTime?: string;
|
|
1508
1298
|
identity?: string;
|
|
@@ -1512,9 +1302,7 @@ export interface PollerInfo {
|
|
|
1512
1302
|
/** Worker deployment options that SDK sent to server. */
|
|
1513
1303
|
deploymentOptions?: WorkerDeploymentOptions;
|
|
1514
1304
|
}
|
|
1515
|
-
export declare const PollerInfo: S.Schema<PollerInfo>;
|
|
1516
1305
|
export type DescribeTaskQueueResponsePollersList = Array<PollerInfo>;
|
|
1517
|
-
export declare const DescribeTaskQueueResponsePollersList: S.Schema<DescribeTaskQueueResponsePollersList>;
|
|
1518
1306
|
/** TaskQueueStats contains statistics about task queue backlog and activity. For workflow task queue type, this result is partial because tasks sent to sticky queues are not included. Read comments above each metric to understand the impact of sticky queue exclusion on that metric accuracy. */
|
|
1519
1307
|
export interface TaskQueueStats {
|
|
1520
1308
|
/** The approximate number of tasks backlogged in this task queue. May count expired tasks but eventually converges to the right value. Can be relied upon for scaling decisions. Special note for workflow task queue type: this metric does not count sticky queue tasks. However, because those tasks only remain valid for a few seconds, the inaccuracy becomes less significant as the backlog size grows. */
|
|
@@ -1526,12 +1314,10 @@ export interface TaskQueueStats {
|
|
|
1526
1314
|
/** The approximate tasks per second dispatched from the task queue, averaging the last 30 seconds. These includes tasks whether or not they were added to/dispatched from the backlog or they were dispatched immediately without going to the backlog (sync-matched). The difference between `tasks_add_rate` and `tasks_dispatch_rate` is a reliable metric for the rate at which backlog grows/shrinks. Note: the actual tasks delivered to the workers may significantly be higher than the numbers reported by tasks_dispatch_rate, because: - Tasks can be sent to workers without going to the task queue. This is called Eager dispatch. Eager dispatch is enable for activities by default in the latest SDKs. - Tasks going to Sticky queue are not accounted for. Note that, typically, only the first workflow task of each workflow goes to a normal queue, and the rest workflow tasks go to the Sticky queue associated with a specific worker instance. */
|
|
1527
1315
|
tasksDispatchRate?: number;
|
|
1528
1316
|
}
|
|
1529
|
-
export declare const TaskQueueStats: S.Schema<TaskQueueStats>;
|
|
1530
1317
|
/** Task queue stats breakdown by priority key. Only contains actively used priority keys. Only set if `report_stats` is set on the request. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "by" is used to clarify the keys and values. --) */
|
|
1531
1318
|
export type DescribeTaskQueueResponseStatsByPriorityKeyMap = {
|
|
1532
1319
|
[key: string]: TaskQueueStats | undefined;
|
|
1533
1320
|
};
|
|
1534
|
-
export declare const DescribeTaskQueueResponseStatsByPriorityKeyMap: S.Schema<DescribeTaskQueueResponseStatsByPriorityKeyMap>;
|
|
1535
1321
|
export interface TaskQueueVersioningInfo {
|
|
1536
1322
|
/** Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows. Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.) Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`). */
|
|
1537
1323
|
currentDeploymentVersion?: WorkerDeploymentVersion;
|
|
@@ -1546,12 +1332,10 @@ export interface TaskQueueVersioningInfo {
|
|
|
1546
1332
|
/** Last time versioning information of this Task Queue changed. */
|
|
1547
1333
|
updateTime?: string;
|
|
1548
1334
|
}
|
|
1549
|
-
export declare const TaskQueueVersioningInfo: S.Schema<TaskQueueVersioningInfo>;
|
|
1550
1335
|
export interface RateLimit {
|
|
1551
1336
|
/** Zero is a valid rate limit. */
|
|
1552
1337
|
requestsPerSecond?: number;
|
|
1553
1338
|
}
|
|
1554
|
-
export declare const RateLimit: S.Schema<RateLimit>;
|
|
1555
1339
|
export interface ConfigMetadata {
|
|
1556
1340
|
/** Reason for why the config was set. */
|
|
1557
1341
|
reason?: string;
|
|
@@ -1560,17 +1344,14 @@ export interface ConfigMetadata {
|
|
|
1560
1344
|
/** Time of the last update. */
|
|
1561
1345
|
updateTime?: string;
|
|
1562
1346
|
}
|
|
1563
|
-
export declare const ConfigMetadata: S.Schema<ConfigMetadata>;
|
|
1564
1347
|
export interface RateLimitConfig {
|
|
1565
1348
|
rateLimit?: RateLimit;
|
|
1566
1349
|
metadata?: ConfigMetadata;
|
|
1567
1350
|
}
|
|
1568
|
-
export declare const RateLimitConfig: S.Schema<RateLimitConfig>;
|
|
1569
1351
|
/** If set, overrides the fairness weights for the corresponding fairness keys. */
|
|
1570
1352
|
export type TaskQueueConfigFairnessWeightOverridesMap = {
|
|
1571
1353
|
[key: string]: number | undefined;
|
|
1572
1354
|
};
|
|
1573
|
-
export declare const TaskQueueConfigFairnessWeightOverridesMap: S.Schema<TaskQueueConfigFairnessWeightOverridesMap>;
|
|
1574
1355
|
export interface TaskQueueConfig {
|
|
1575
1356
|
/** Unless modified, this is the system-defined rate limit. */
|
|
1576
1357
|
queueRateLimit?: RateLimitConfig;
|
|
@@ -1579,22 +1360,18 @@ export interface TaskQueueConfig {
|
|
|
1579
1360
|
/** If set, overrides the fairness weights for the corresponding fairness keys. */
|
|
1580
1361
|
fairnessWeightOverrides?: TaskQueueConfigFairnessWeightOverridesMap;
|
|
1581
1362
|
}
|
|
1582
|
-
export declare const TaskQueueConfig: S.Schema<TaskQueueConfig>;
|
|
1583
1363
|
/** Source of the RateLimit Configuration,which can be one of the following values: - SOURCE_API: The rate limit that is set via the TaskQueueConfig api. - SOURCE_WORKER: The rate limit is the value set using the workerOptions in TaskQueueActivitiesPerSecond. - SOURCE_SYSTEM: The rate limit is the default value set by the system */
|
|
1584
1364
|
export type DescribeTaskQueueResponseEffectiveRateLimitRateLimitSource = "RATE_LIMIT_SOURCE_UNSPECIFIED" | "RATE_LIMIT_SOURCE_API" | "RATE_LIMIT_SOURCE_WORKER" | "RATE_LIMIT_SOURCE_SYSTEM";
|
|
1585
|
-
export declare const DescribeTaskQueueResponseEffectiveRateLimitRateLimitSource: any;
|
|
1586
1365
|
export interface DescribeTaskQueueResponseEffectiveRateLimit {
|
|
1587
1366
|
/** The effective rate limit for the task queue. */
|
|
1588
1367
|
requestsPerSecond?: number;
|
|
1589
1368
|
/** Source of the RateLimit Configuration,which can be one of the following values: - SOURCE_API: The rate limit that is set via the TaskQueueConfig api. - SOURCE_WORKER: The rate limit is the value set using the workerOptions in TaskQueueActivitiesPerSecond. - SOURCE_SYSTEM: The rate limit is the default value set by the system */
|
|
1590
1369
|
rateLimitSource?: DescribeTaskQueueResponseEffectiveRateLimitRateLimitSource;
|
|
1591
1370
|
}
|
|
1592
|
-
export declare const DescribeTaskQueueResponseEffectiveRateLimit: S.Schema<DescribeTaskQueueResponseEffectiveRateLimit>;
|
|
1593
1371
|
export interface TaskIdBlock {
|
|
1594
1372
|
startId?: string;
|
|
1595
1373
|
endId?: string;
|
|
1596
1374
|
}
|
|
1597
|
-
export declare const TaskIdBlock: S.Schema<TaskIdBlock>;
|
|
1598
1375
|
/** Deprecated. Use `InternalTaskQueueStatus`. This is kept until `DescribeTaskQueue` supports legacy behavior. */
|
|
1599
1376
|
export interface TaskQueueStatus {
|
|
1600
1377
|
backlogCountHint?: string;
|
|
@@ -1603,36 +1380,29 @@ export interface TaskQueueStatus {
|
|
|
1603
1380
|
ratePerSecond?: number;
|
|
1604
1381
|
taskIdBlock?: TaskIdBlock;
|
|
1605
1382
|
}
|
|
1606
|
-
export declare const TaskQueueStatus: S.Schema<TaskQueueStatus>;
|
|
1607
1383
|
/** Unversioned workers (with `useVersioning=false`) are reported in unversioned result even if they set a Build ID. */
|
|
1608
1384
|
export type TaskQueueTypeInfoPollersList = Array<PollerInfo>;
|
|
1609
|
-
export declare const TaskQueueTypeInfoPollersList: S.Schema<TaskQueueTypeInfoPollersList>;
|
|
1610
1385
|
export interface TaskQueueTypeInfo {
|
|
1611
1386
|
/** Unversioned workers (with `useVersioning=false`) are reported in unversioned result even if they set a Build ID. */
|
|
1612
1387
|
pollers?: TaskQueueTypeInfoPollersList;
|
|
1613
1388
|
stats?: TaskQueueStats;
|
|
1614
1389
|
}
|
|
1615
|
-
export declare const TaskQueueTypeInfo: S.Schema<TaskQueueTypeInfo>;
|
|
1616
1390
|
/** Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum. */
|
|
1617
1391
|
export type TaskQueueVersionInfoTypesInfoMap = {
|
|
1618
1392
|
[key: string]: TaskQueueTypeInfo | undefined;
|
|
1619
1393
|
};
|
|
1620
|
-
export declare const TaskQueueVersionInfoTypesInfoMap: S.Schema<TaskQueueVersionInfoTypesInfoMap>;
|
|
1621
1394
|
/** Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY. Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be accounted for reachability as server cannot know if they'll happen as they do not use assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make sure to query reachability for the parent/previous workflow's Task Queue as well. */
|
|
1622
1395
|
export type TaskQueueVersionInfoTaskReachability = "BUILD_ID_TASK_REACHABILITY_UNSPECIFIED" | "BUILD_ID_TASK_REACHABILITY_REACHABLE" | "BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY" | "BUILD_ID_TASK_REACHABILITY_UNREACHABLE";
|
|
1623
|
-
export declare const TaskQueueVersionInfoTaskReachability: any;
|
|
1624
1396
|
export interface TaskQueueVersionInfo {
|
|
1625
1397
|
/** Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum. */
|
|
1626
1398
|
typesInfo?: TaskQueueVersionInfoTypesInfoMap;
|
|
1627
1399
|
/** Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY. Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be accounted for reachability as server cannot know if they'll happen as they do not use assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make sure to query reachability for the parent/previous workflow's Task Queue as well. */
|
|
1628
1400
|
taskReachability?: TaskQueueVersionInfoTaskReachability;
|
|
1629
1401
|
}
|
|
1630
|
-
export declare const TaskQueueVersionInfo: S.Schema<TaskQueueVersionInfo>;
|
|
1631
1402
|
/** Deprecated. Only returned in ENHANCED mode. This map contains Task Queue information for each Build ID. Empty string as key value means unversioned. */
|
|
1632
1403
|
export type DescribeTaskQueueResponseVersionsInfoMap = {
|
|
1633
1404
|
[key: string]: TaskQueueVersionInfo | undefined;
|
|
1634
1405
|
};
|
|
1635
|
-
export declare const DescribeTaskQueueResponseVersionsInfoMap: S.Schema<DescribeTaskQueueResponseVersionsInfoMap>;
|
|
1636
1406
|
export interface DescribeTaskQueueResponse {
|
|
1637
1407
|
pollers?: DescribeTaskQueueResponsePollersList;
|
|
1638
1408
|
/** Statistics for the task queue. Only set if `report_stats` is set on the request. */
|
|
@@ -1649,14 +1419,12 @@ export interface DescribeTaskQueueResponse {
|
|
|
1649
1419
|
/** Deprecated. Only returned in ENHANCED mode. This map contains Task Queue information for each Build ID. Empty string as key value means unversioned. */
|
|
1650
1420
|
versionsInfo?: DescribeTaskQueueResponseVersionsInfoMap;
|
|
1651
1421
|
}
|
|
1652
|
-
export declare const DescribeTaskQueueResponse: S.Schema<DescribeTaskQueueResponse>;
|
|
1653
1422
|
export interface DescribeWorkerRequest {
|
|
1654
1423
|
/** Namespace this worker belongs to. */
|
|
1655
1424
|
namespace: string;
|
|
1656
1425
|
/** Worker instance key to describe. */
|
|
1657
1426
|
workerInstanceKey: string;
|
|
1658
1427
|
}
|
|
1659
|
-
export declare const DescribeWorkerRequest: S.Schema<DescribeWorkerRequest>;
|
|
1660
1428
|
/** Holds everything needed to identify the worker host/process context */
|
|
1661
1429
|
export interface WorkerHostInfo {
|
|
1662
1430
|
/** Worker host identifier. */
|
|
@@ -1670,10 +1438,8 @@ export interface WorkerHostInfo {
|
|
|
1670
1438
|
/** System used memory as a float in the range [0.0, 1.0] where 1.0 is defined as all available memory on the host is used. */
|
|
1671
1439
|
currentHostMemUsage?: number;
|
|
1672
1440
|
}
|
|
1673
|
-
export declare const WorkerHostInfo: S.Schema<WorkerHostInfo>;
|
|
1674
1441
|
/** Worker status. Defined by SDK. */
|
|
1675
1442
|
export type WorkerHeartbeatStatus = "WORKER_STATUS_UNSPECIFIED" | "WORKER_STATUS_RUNNING" | "WORKER_STATUS_SHUTTING_DOWN" | "WORKER_STATUS_SHUTDOWN";
|
|
1676
|
-
export declare const WorkerHeartbeatStatus: any;
|
|
1677
1443
|
export interface WorkerSlotsInfo {
|
|
1678
1444
|
/** Number of slots available for the worker to specific tasks. May be -1 if the upper bound is not known. */
|
|
1679
1445
|
currentAvailableSlots?: number;
|
|
@@ -1690,7 +1456,6 @@ export interface WorkerSlotsInfo {
|
|
|
1690
1456
|
/** Number of failed tasks processed since the last heartbeat from the worker. */
|
|
1691
1457
|
lastIntervalFailureTasks?: number;
|
|
1692
1458
|
}
|
|
1693
|
-
export declare const WorkerSlotsInfo: S.Schema<WorkerSlotsInfo>;
|
|
1694
1459
|
export interface WorkerPollerInfo {
|
|
1695
1460
|
/** Number of polling RPCs that are currently in flight. */
|
|
1696
1461
|
currentPollers?: number;
|
|
@@ -1698,25 +1463,20 @@ export interface WorkerPollerInfo {
|
|
|
1698
1463
|
/** Set true if the number of concurrent pollers is auto-scaled */
|
|
1699
1464
|
isAutoscaling?: boolean;
|
|
1700
1465
|
}
|
|
1701
|
-
export declare const WorkerPollerInfo: S.Schema<WorkerPollerInfo>;
|
|
1702
1466
|
export interface PluginInfo {
|
|
1703
1467
|
/** The name of the plugin, required. */
|
|
1704
1468
|
name?: string;
|
|
1705
1469
|
/** The version of the plugin, may be empty. */
|
|
1706
1470
|
version?: string;
|
|
1707
1471
|
}
|
|
1708
|
-
export declare const PluginInfo: S.Schema<PluginInfo>;
|
|
1709
1472
|
/** Plugins currently in use by this SDK. */
|
|
1710
1473
|
export type WorkerHeartbeatPluginsList = Array<PluginInfo>;
|
|
1711
|
-
export declare const WorkerHeartbeatPluginsList: S.Schema<WorkerHeartbeatPluginsList>;
|
|
1712
1474
|
export interface StorageDriverInfo {
|
|
1713
1475
|
/** The type of the driver, required. */
|
|
1714
1476
|
type?: string;
|
|
1715
1477
|
}
|
|
1716
|
-
export declare const StorageDriverInfo: S.Schema<StorageDriverInfo>;
|
|
1717
1478
|
/** Storage drivers in use by this SDK. */
|
|
1718
1479
|
export type WorkerHeartbeatDriversList = Array<StorageDriverInfo>;
|
|
1719
|
-
export declare const WorkerHeartbeatDriversList: S.Schema<WorkerHeartbeatDriversList>;
|
|
1720
1480
|
/** Worker info message, contains information about the worker and its current state. All information is provided by the worker itself. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: Removing those words make names less clear. --) */
|
|
1721
1481
|
export interface WorkerHeartbeat {
|
|
1722
1482
|
/** Worker identifier, should be unique for the namespace. It is distinct from worker identity, which is not necessarily namespace-unique. */
|
|
@@ -1757,30 +1517,23 @@ export interface WorkerHeartbeat {
|
|
|
1757
1517
|
/** Storage drivers in use by this SDK. */
|
|
1758
1518
|
drivers?: WorkerHeartbeatDriversList;
|
|
1759
1519
|
}
|
|
1760
|
-
export declare const WorkerHeartbeat: S.Schema<WorkerHeartbeat>;
|
|
1761
1520
|
/** Detailed worker information. */
|
|
1762
1521
|
export interface WorkerInfo {
|
|
1763
1522
|
workerHeartbeat?: WorkerHeartbeat;
|
|
1764
1523
|
}
|
|
1765
|
-
export declare const WorkerInfo: S.Schema<WorkerInfo>;
|
|
1766
1524
|
export interface DescribeWorkerResponse {
|
|
1767
1525
|
workerInfo?: WorkerInfo;
|
|
1768
1526
|
}
|
|
1769
|
-
export declare const DescribeWorkerResponse: S.Schema<DescribeWorkerResponse>;
|
|
1770
1527
|
export interface DescribeWorkerDeploymentRequest {
|
|
1771
1528
|
namespace: string;
|
|
1772
1529
|
deploymentName: string;
|
|
1773
1530
|
}
|
|
1774
|
-
export declare const DescribeWorkerDeploymentRequest: S.Schema<DescribeWorkerDeploymentRequest>;
|
|
1775
1531
|
/** The status of the Worker Deployment Version. */
|
|
1776
1532
|
export type WorkerDeploymentInfoWorkerDeploymentVersionSummaryStatus = "WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED" | "WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE" | "WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT" | "WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING" | "WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING" | "WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED" | "WORKER_DEPLOYMENT_VERSION_STATUS_CREATED";
|
|
1777
|
-
export declare const WorkerDeploymentInfoWorkerDeploymentVersionSummaryStatus: any;
|
|
1778
1533
|
/** Deprecated. Use `drainage_info` instead. */
|
|
1779
1534
|
export type WorkerDeploymentInfoWorkerDeploymentVersionSummaryDrainageStatus = "VERSION_DRAINAGE_STATUS_UNSPECIFIED" | "VERSION_DRAINAGE_STATUS_DRAINING" | "VERSION_DRAINAGE_STATUS_DRAINED";
|
|
1780
|
-
export declare const WorkerDeploymentInfoWorkerDeploymentVersionSummaryDrainageStatus: any;
|
|
1781
1535
|
/** Set to DRAINING when the version first stops accepting new executions (is no longer current or ramping). Set to DRAINED when no more open pinned workflows exist on this version. */
|
|
1782
1536
|
export type VersionDrainageInfoStatus = "VERSION_DRAINAGE_STATUS_UNSPECIFIED" | "VERSION_DRAINAGE_STATUS_DRAINING" | "VERSION_DRAINAGE_STATUS_DRAINED";
|
|
1783
|
-
export declare const VersionDrainageInfoStatus: any;
|
|
1784
1537
|
/** Information about workflow drainage to help the user determine when it is safe to decommission a Version. Not present while version is current or ramping. */
|
|
1785
1538
|
export interface VersionDrainageInfo {
|
|
1786
1539
|
/** Set to DRAINING when the version first stops accepting new executions (is no longer current or ramping). Set to DRAINED when no more open pinned workflows exist on this version. */
|
|
@@ -1790,25 +1543,19 @@ export interface VersionDrainageInfo {
|
|
|
1790
1543
|
/** Last time the system checked for drainage of this version. */
|
|
1791
1544
|
lastCheckedTime?: string;
|
|
1792
1545
|
}
|
|
1793
|
-
export declare const VersionDrainageInfo: S.Schema<VersionDrainageInfo>;
|
|
1794
1546
|
export type ComputeConfigScalingGroupSummaryTaskQueueTypesItem = "TASK_QUEUE_TYPE_UNSPECIFIED" | "TASK_QUEUE_TYPE_WORKFLOW" | "TASK_QUEUE_TYPE_ACTIVITY" | "TASK_QUEUE_TYPE_NEXUS";
|
|
1795
|
-
export declare const ComputeConfigScalingGroupSummaryTaskQueueTypesItem: any;
|
|
1796
1547
|
export type ComputeConfigScalingGroupSummaryTaskQueueTypesList = Array<ComputeConfigScalingGroupSummaryTaskQueueTypesItem>;
|
|
1797
|
-
export declare const ComputeConfigScalingGroupSummaryTaskQueueTypesList: S.Schema<ComputeConfigScalingGroupSummaryTaskQueueTypesList>;
|
|
1798
1548
|
export interface ComputeConfigScalingGroupSummary {
|
|
1799
1549
|
taskQueueTypes?: ComputeConfigScalingGroupSummaryTaskQueueTypesList;
|
|
1800
1550
|
providerType?: string;
|
|
1801
1551
|
}
|
|
1802
|
-
export declare const ComputeConfigScalingGroupSummary: S.Schema<ComputeConfigScalingGroupSummary>;
|
|
1803
1552
|
export type ComputeConfigSummaryScalingGroupsMap = {
|
|
1804
1553
|
[key: string]: ComputeConfigScalingGroupSummary | undefined;
|
|
1805
1554
|
};
|
|
1806
|
-
export declare const ComputeConfigSummaryScalingGroupsMap: S.Schema<ComputeConfigSummaryScalingGroupsMap>;
|
|
1807
1555
|
/** A subset of information in ComputeConfig optimized for list views. */
|
|
1808
1556
|
export interface ComputeConfigSummary {
|
|
1809
1557
|
scalingGroups?: ComputeConfigSummaryScalingGroupsMap;
|
|
1810
1558
|
}
|
|
1811
|
-
export declare const ComputeConfigSummary: S.Schema<ComputeConfigSummary>;
|
|
1812
1559
|
export interface WorkerDeploymentInfoWorkerDeploymentVersionSummary {
|
|
1813
1560
|
/** Deprecated. Use `deployment_version`. */
|
|
1814
1561
|
version?: string;
|
|
@@ -1835,10 +1582,8 @@ export interface WorkerDeploymentInfoWorkerDeploymentVersionSummary {
|
|
|
1835
1582
|
lastDeactivationTime?: string;
|
|
1836
1583
|
computeConfig?: ComputeConfigSummary;
|
|
1837
1584
|
}
|
|
1838
|
-
export declare const WorkerDeploymentInfoWorkerDeploymentVersionSummary: S.Schema<WorkerDeploymentInfoWorkerDeploymentVersionSummary>;
|
|
1839
1585
|
/** Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status) */
|
|
1840
1586
|
export type WorkerDeploymentInfoVersionSummariesList = Array<WorkerDeploymentInfoWorkerDeploymentVersionSummary>;
|
|
1841
|
-
export declare const WorkerDeploymentInfoVersionSummariesList: S.Schema<WorkerDeploymentInfoVersionSummariesList>;
|
|
1842
1587
|
export interface RoutingConfig {
|
|
1843
1588
|
/** Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows. Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.). Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`). */
|
|
1844
1589
|
currentDeploymentVersion?: WorkerDeploymentVersion;
|
|
@@ -1859,10 +1604,8 @@ export interface RoutingConfig {
|
|
|
1859
1604
|
/** Monotonically increasing value which is incremented on every mutation to any field of this message to achieve eventual consistency between task queues and their partitions. */
|
|
1860
1605
|
revisionNumber?: string;
|
|
1861
1606
|
}
|
|
1862
|
-
export declare const RoutingConfig: S.Schema<RoutingConfig>;
|
|
1863
1607
|
/** Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions. */
|
|
1864
1608
|
export type WorkerDeploymentInfoRoutingConfigUpdateState = "ROUTING_CONFIG_UPDATE_STATE_UNSPECIFIED" | "ROUTING_CONFIG_UPDATE_STATE_IN_PROGRESS" | "ROUTING_CONFIG_UPDATE_STATE_COMPLETED";
|
|
1865
|
-
export declare const WorkerDeploymentInfoRoutingConfigUpdateState: any;
|
|
1866
1609
|
/** A Worker Deployment (Deployment, for short) represents all workers serving a shared set of Task Queues. Typically, a Deployment represents one service or application. A Deployment contains multiple Deployment Versions, each representing a different version of workers. (see documentation of WorkerDeploymentVersionInfo) Deployment records are created in Temporal server automatically when their first poller arrives to the server. */
|
|
1867
1610
|
export interface WorkerDeploymentInfo {
|
|
1868
1611
|
/** Identifies a Worker Deployment. Must be unique within the namespace. */
|
|
@@ -1878,13 +1621,11 @@ export interface WorkerDeploymentInfo {
|
|
|
1878
1621
|
/** Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions. */
|
|
1879
1622
|
routingConfigUpdateState?: WorkerDeploymentInfoRoutingConfigUpdateState;
|
|
1880
1623
|
}
|
|
1881
|
-
export declare const WorkerDeploymentInfo: S.Schema<WorkerDeploymentInfo>;
|
|
1882
1624
|
export interface DescribeWorkerDeploymentResponse {
|
|
1883
1625
|
/** This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this read and a future write. */
|
|
1884
1626
|
conflictToken?: string;
|
|
1885
1627
|
workerDeploymentInfo?: WorkerDeploymentInfo;
|
|
1886
1628
|
}
|
|
1887
|
-
export declare const DescribeWorkerDeploymentResponse: S.Schema<DescribeWorkerDeploymentResponse>;
|
|
1888
1629
|
export interface DescribeWorkerDeploymentVersionRequest {
|
|
1889
1630
|
namespace: string;
|
|
1890
1631
|
deployment_version_deployment_name: string;
|
|
@@ -1898,30 +1639,23 @@ export interface DescribeWorkerDeploymentVersionRequest {
|
|
|
1898
1639
|
/** Report stats for task queues which have been polled by this version. */
|
|
1899
1640
|
reportTaskQueueStats?: boolean;
|
|
1900
1641
|
}
|
|
1901
|
-
export declare const DescribeWorkerDeploymentVersionRequest: S.Schema<DescribeWorkerDeploymentVersionRequest>;
|
|
1902
1642
|
/** The status of the Worker Deployment Version. */
|
|
1903
1643
|
export type WorkerDeploymentVersionInfoStatus = "WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED" | "WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE" | "WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT" | "WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING" | "WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING" | "WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED" | "WORKER_DEPLOYMENT_VERSION_STATUS_CREATED";
|
|
1904
|
-
export declare const WorkerDeploymentVersionInfoStatus: any;
|
|
1905
1644
|
export type WorkerDeploymentVersionInfoVersionTaskQueueInfoType = "TASK_QUEUE_TYPE_UNSPECIFIED" | "TASK_QUEUE_TYPE_WORKFLOW" | "TASK_QUEUE_TYPE_ACTIVITY" | "TASK_QUEUE_TYPE_NEXUS";
|
|
1906
|
-
export declare const WorkerDeploymentVersionInfoVersionTaskQueueInfoType: any;
|
|
1907
1645
|
export interface WorkerDeploymentVersionInfoVersionTaskQueueInfo {
|
|
1908
1646
|
name?: string;
|
|
1909
1647
|
type?: WorkerDeploymentVersionInfoVersionTaskQueueInfoType;
|
|
1910
1648
|
}
|
|
1911
|
-
export declare const WorkerDeploymentVersionInfoVersionTaskQueueInfo: S.Schema<WorkerDeploymentVersionInfoVersionTaskQueueInfo>;
|
|
1912
1649
|
/** All the Task Queues that have ever polled from this Deployment version. Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead. */
|
|
1913
1650
|
export type WorkerDeploymentVersionInfoTaskQueueInfosList = Array<WorkerDeploymentVersionInfoVersionTaskQueueInfo>;
|
|
1914
|
-
export declare const WorkerDeploymentVersionInfoTaskQueueInfosList: S.Schema<WorkerDeploymentVersionInfoTaskQueueInfosList>;
|
|
1915
1651
|
/** Arbitrary key-values. */
|
|
1916
1652
|
export type VersionMetadataEntriesMap = {
|
|
1917
1653
|
[key: string]: unknown | undefined;
|
|
1918
1654
|
};
|
|
1919
|
-
export declare const VersionMetadataEntriesMap: S.Schema<VersionMetadataEntriesMap>;
|
|
1920
1655
|
export interface VersionMetadata {
|
|
1921
1656
|
/** Arbitrary key-values. */
|
|
1922
1657
|
entries?: VersionMetadataEntriesMap;
|
|
1923
1658
|
}
|
|
1924
|
-
export declare const VersionMetadata: S.Schema<VersionMetadata>;
|
|
1925
1659
|
/** A Worker Deployment Version (Version, for short) represents all workers of the same code and config within a Deployment. Workers of the same Version are expected to behave exactly the same so when executions move between them there are no non-determinism issues. Worker Deployment Versions are created in Temporal server automatically when their first poller arrives to the server. */
|
|
1926
1660
|
export interface WorkerDeploymentVersionInfo {
|
|
1927
1661
|
/** Deprecated. Use `deployment_version`. */
|
|
@@ -1958,14 +1692,11 @@ export interface WorkerDeploymentVersionInfo {
|
|
|
1958
1692
|
/** Identity of the last client who modified the configuration of this Version. As of now, this field only covers changes through the following APIs: - `CreateWorkerDeploymentVersion` - `UpdateWorkerDeploymentVersionComputeConfig` - `UpdateWorkerDeploymentVersionMetadata` */
|
|
1959
1693
|
lastModifierIdentity?: string;
|
|
1960
1694
|
}
|
|
1961
|
-
export declare const WorkerDeploymentVersionInfo: S.Schema<WorkerDeploymentVersionInfo>;
|
|
1962
1695
|
export type DescribeWorkerDeploymentVersionResponseVersionTaskQueueType = "TASK_QUEUE_TYPE_UNSPECIFIED" | "TASK_QUEUE_TYPE_WORKFLOW" | "TASK_QUEUE_TYPE_ACTIVITY" | "TASK_QUEUE_TYPE_NEXUS";
|
|
1963
|
-
export declare const DescribeWorkerDeploymentVersionResponseVersionTaskQueueType: any;
|
|
1964
1696
|
/** Task queue stats breakdown by priority key. Only contains actively used priority keys. Only set if `report_task_queue_stats` is set to true in the request. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "by" is used to clarify the key. --) */
|
|
1965
1697
|
export type DescribeWorkerDeploymentVersionResponseVersionTaskQueueStatsByPriorityKeyMap = {
|
|
1966
1698
|
[key: string]: TaskQueueStats | undefined;
|
|
1967
1699
|
};
|
|
1968
|
-
export declare const DescribeWorkerDeploymentVersionResponseVersionTaskQueueStatsByPriorityKeyMap: S.Schema<DescribeWorkerDeploymentVersionResponseVersionTaskQueueStatsByPriorityKeyMap>;
|
|
1969
1700
|
export interface DescribeWorkerDeploymentVersionResponseVersionTaskQueue {
|
|
1970
1701
|
name?: string;
|
|
1971
1702
|
type?: DescribeWorkerDeploymentVersionResponseVersionTaskQueueType;
|
|
@@ -1974,23 +1705,19 @@ export interface DescribeWorkerDeploymentVersionResponseVersionTaskQueue {
|
|
|
1974
1705
|
/** Task queue stats breakdown by priority key. Only contains actively used priority keys. Only set if `report_task_queue_stats` is set to true in the request. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "by" is used to clarify the key. --) */
|
|
1975
1706
|
statsByPriorityKey?: DescribeWorkerDeploymentVersionResponseVersionTaskQueueStatsByPriorityKeyMap;
|
|
1976
1707
|
}
|
|
1977
|
-
export declare const DescribeWorkerDeploymentVersionResponseVersionTaskQueue: S.Schema<DescribeWorkerDeploymentVersionResponseVersionTaskQueue>;
|
|
1978
1708
|
/** All the Task Queues that have ever polled from this Deployment version. */
|
|
1979
1709
|
export type DescribeWorkerDeploymentVersionResponseVersionTaskQueuesList = Array<DescribeWorkerDeploymentVersionResponseVersionTaskQueue>;
|
|
1980
|
-
export declare const DescribeWorkerDeploymentVersionResponseVersionTaskQueuesList: S.Schema<DescribeWorkerDeploymentVersionResponseVersionTaskQueuesList>;
|
|
1981
1710
|
export interface DescribeWorkerDeploymentVersionResponse {
|
|
1982
1711
|
workerDeploymentVersionInfo?: WorkerDeploymentVersionInfo;
|
|
1983
1712
|
/** All the Task Queues that have ever polled from this Deployment version. */
|
|
1984
1713
|
versionTaskQueues?: DescribeWorkerDeploymentVersionResponseVersionTaskQueuesList;
|
|
1985
1714
|
}
|
|
1986
|
-
export declare const DescribeWorkerDeploymentVersionResponse: S.Schema<DescribeWorkerDeploymentVersionResponse>;
|
|
1987
1715
|
export interface DescribeWorkflowExecutionRequest {
|
|
1988
1716
|
namespace: string;
|
|
1989
1717
|
execution_workflow_id: string;
|
|
1990
1718
|
execution_workflowId?: string;
|
|
1991
1719
|
execution_runId?: string;
|
|
1992
1720
|
}
|
|
1993
|
-
export declare const DescribeWorkflowExecutionRequest: S.Schema<DescribeWorkflowExecutionRequest>;
|
|
1994
1721
|
export interface WorkflowExecutionConfig {
|
|
1995
1722
|
taskQueue?: TaskQueue;
|
|
1996
1723
|
workflowExecutionTimeout?: string;
|
|
@@ -1999,9 +1726,7 @@ export interface WorkflowExecutionConfig {
|
|
|
1999
1726
|
/** User metadata provided on start workflow. */
|
|
2000
1727
|
userMetadata?: UserMetadata;
|
|
2001
1728
|
}
|
|
2002
|
-
export declare const WorkflowExecutionConfig: S.Schema<WorkflowExecutionConfig>;
|
|
2003
1729
|
export type WorkflowExecutionInfoStatus = "WORKFLOW_EXECUTION_STATUS_UNSPECIFIED" | "WORKFLOW_EXECUTION_STATUS_RUNNING" | "WORKFLOW_EXECUTION_STATUS_COMPLETED" | "WORKFLOW_EXECUTION_STATUS_FAILED" | "WORKFLOW_EXECUTION_STATUS_CANCELED" | "WORKFLOW_EXECUTION_STATUS_TERMINATED" | "WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW" | "WORKFLOW_EXECUTION_STATUS_TIMED_OUT" | "WORKFLOW_EXECUTION_STATUS_PAUSED";
|
|
2004
|
-
export declare const WorkflowExecutionInfoStatus: any;
|
|
2005
1730
|
/** ResetPointInfo records the workflow event id that is the first one processed by a given build id or binary checksum. A new reset point will be created if either build id or binary checksum changes (although in general only one or the other will be used at a time). */
|
|
2006
1731
|
export interface ResetPointInfo {
|
|
2007
1732
|
/** Worker build id. */
|
|
@@ -2018,13 +1743,10 @@ export interface ResetPointInfo {
|
|
|
2018
1743
|
/** false if the reset point has pending childWFs/reqCancels/signalExternals. */
|
|
2019
1744
|
resettable?: boolean;
|
|
2020
1745
|
}
|
|
2021
|
-
export declare const ResetPointInfo: S.Schema<ResetPointInfo>;
|
|
2022
1746
|
export type ResetPointsPointsList = Array<ResetPointInfo>;
|
|
2023
|
-
export declare const ResetPointsPointsList: S.Schema<ResetPointsPointsList>;
|
|
2024
1747
|
export interface ResetPoints {
|
|
2025
1748
|
points?: ResetPointsPointsList;
|
|
2026
1749
|
}
|
|
2027
|
-
export declare const ResetPoints: S.Schema<ResetPoints>;
|
|
2028
1750
|
/** Deprecated. This message is replaced with `Deployment` and `VersioningBehavior`. Identifies the version(s) of a worker that processed a task */
|
|
2029
1751
|
export interface WorkerVersionStamp {
|
|
2030
1752
|
/** An opaque whole-worker identifier. Replaces the deprecated `binary_checksum` field when this message is included in requests which previously used that. */
|
|
@@ -2032,16 +1754,13 @@ export interface WorkerVersionStamp {
|
|
|
2032
1754
|
/** If set, the worker is opting in to worker versioning. Otherwise, this is used only as a marker for workflow reset points and the BuildIDs search attribute. */
|
|
2033
1755
|
useVersioning?: boolean;
|
|
2034
1756
|
}
|
|
2035
|
-
export declare const WorkerVersionStamp: S.Schema<WorkerVersionStamp>;
|
|
2036
1757
|
/** Versioning behavior determines how the server should treat this execution when workers are upgraded. When present it means this workflow execution is versioned; UNSPECIFIED means unversioned. See the comments in `VersioningBehavior` enum for more info about different behaviors. Child workflows or CaN executions **inherit** their parent/previous run's effective Versioning Behavior and Version (except when the new execution runs on a task queue not belonging to the same deployment version as the parent/previous run's task queue). The first workflow task will be dispatched according to the inherited behavior (or to the current version of the task-queue's deployment in the case of AutoUpgrade.) After completion of their first workflow task the Deployment Version and Behavior of the execution will update according to configuration on the worker. Note that `behavior` is overridden by `versioning_override` if the latter is present. */
|
|
2037
1758
|
export type WorkflowExecutionVersioningInfoBehavior = "VERSIONING_BEHAVIOR_UNSPECIFIED" | "VERSIONING_BEHAVIOR_PINNED" | "VERSIONING_BEHAVIOR_AUTO_UPGRADE";
|
|
2038
|
-
export declare const WorkflowExecutionVersioningInfoBehavior: any;
|
|
2039
1759
|
/** Holds information about ongoing transition of a workflow execution from one deployment to another. Deprecated. Use DeploymentVersionTransition. */
|
|
2040
1760
|
export interface DeploymentTransition {
|
|
2041
1761
|
/** The target deployment of the transition. Null means a so-far-versioned workflow is transitioning to unversioned workers. */
|
|
2042
1762
|
deployment?: Deployment;
|
|
2043
1763
|
}
|
|
2044
|
-
export declare const DeploymentTransition: S.Schema<DeploymentTransition>;
|
|
2045
1764
|
/** Holds information about ongoing transition of a workflow execution from one worker deployment version to another. Experimental. Might change in the future. */
|
|
2046
1765
|
export interface DeploymentVersionTransition {
|
|
2047
1766
|
/** Deprecated. Use `deployment_version`. */
|
|
@@ -2049,10 +1768,8 @@ export interface DeploymentVersionTransition {
|
|
|
2049
1768
|
/** The target Version of the transition. If nil, a so-far-versioned workflow is transitioning to unversioned workers. */
|
|
2050
1769
|
deploymentVersion?: WorkerDeploymentVersion;
|
|
2051
1770
|
}
|
|
2052
|
-
export declare const DeploymentVersionTransition: S.Schema<DeploymentVersionTransition>;
|
|
2053
1771
|
/** Experimental. If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior specified in that command. Only used for the initial task of this run and the initial task of any retries of this run. Not passed to children or to future continue-as-new. Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade, a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility with ContinueAsNew history commands generated during that time, know that an UNSPECIFIED value here is equivalent to ContinueAsNewVersioningBehaviorAutoUpgrade if the behavior of the workflow is AutoUpgrade. */
|
|
2054
1772
|
export type WorkflowExecutionVersioningInfoContinueAsNewInitialVersioningBehavior = "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED" | "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE" | "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_USE_RAMPING_VERSION";
|
|
2055
|
-
export declare const WorkflowExecutionVersioningInfoContinueAsNewInitialVersioningBehavior: any;
|
|
2056
1773
|
/** Holds all the information about worker versioning for a particular workflow execution. Experimental. Versioning info is experimental and might change in the future. */
|
|
2057
1774
|
export interface WorkflowExecutionVersioningInfo {
|
|
2058
1775
|
/** Versioning behavior determines how the server should treat this execution when workers are upgraded. When present it means this workflow execution is versioned; UNSPECIFIED means unversioned. See the comments in `VersioningBehavior` enum for more info about different behaviors. Child workflows or CaN executions **inherit** their parent/previous run's effective Versioning Behavior and Version (except when the new execution runs on a task queue not belonging to the same deployment version as the parent/previous run's task queue). The first workflow task will be dispatched according to the inherited behavior (or to the current version of the task-queue's deployment in the case of AutoUpgrade.) After completion of their first workflow task the Deployment Version and Behavior of the execution will update according to configuration on the worker. Note that `behavior` is overridden by `versioning_override` if the latter is present. */
|
|
@@ -2074,7 +1791,6 @@ export interface WorkflowExecutionVersioningInfo {
|
|
|
2074
1791
|
/** Experimental. If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior specified in that command. Only used for the initial task of this run and the initial task of any retries of this run. Not passed to children or to future continue-as-new. Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade, a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility with ContinueAsNew history commands generated during that time, know that an UNSPECIFIED value here is equivalent to ContinueAsNewVersioningBehaviorAutoUpgrade if the behavior of the workflow is AutoUpgrade. */
|
|
2075
1792
|
continueAsNewInitialVersioningBehavior?: WorkflowExecutionVersioningInfoContinueAsNewInitialVersioningBehavior;
|
|
2076
1793
|
}
|
|
2077
|
-
export declare const WorkflowExecutionVersioningInfo: S.Schema<WorkflowExecutionVersioningInfo>;
|
|
2078
1794
|
/** Hold basic information about a workflow execution. This structure is a part of visibility, and thus contain a limited subset of information. */
|
|
2079
1795
|
export interface WorkflowExecutionInfo {
|
|
2080
1796
|
execution?: WorkflowExecution;
|
|
@@ -2115,16 +1831,13 @@ export interface WorkflowExecutionInfo {
|
|
|
2115
1831
|
/** Count of external payloads referenced in workflow history. */
|
|
2116
1832
|
externalPayloadCount?: string;
|
|
2117
1833
|
}
|
|
2118
|
-
export declare const WorkflowExecutionInfo: S.Schema<WorkflowExecutionInfo>;
|
|
2119
1834
|
export type PendingActivityInfoState = "PENDING_ACTIVITY_STATE_UNSPECIFIED" | "PENDING_ACTIVITY_STATE_SCHEDULED" | "PENDING_ACTIVITY_STATE_STARTED" | "PENDING_ACTIVITY_STATE_CANCEL_REQUESTED" | "PENDING_ACTIVITY_STATE_PAUSED" | "PENDING_ACTIVITY_STATE_PAUSE_REQUESTED";
|
|
2120
|
-
export declare const PendingActivityInfoState: any;
|
|
2121
1835
|
export interface PauseInfoManual {
|
|
2122
1836
|
/** The identity of the actor that paused the activity. */
|
|
2123
1837
|
identity?: string;
|
|
2124
1838
|
/** Reason for pausing the activity. */
|
|
2125
1839
|
reason?: string;
|
|
2126
1840
|
}
|
|
2127
|
-
export declare const PauseInfoManual: S.Schema<PauseInfoManual>;
|
|
2128
1841
|
export interface PauseInfoRule {
|
|
2129
1842
|
/** The rule that paused the activity. */
|
|
2130
1843
|
ruleId?: string;
|
|
@@ -2133,7 +1846,6 @@ export interface PauseInfoRule {
|
|
|
2133
1846
|
/** Reason why rule was created. Populated from rule description. */
|
|
2134
1847
|
reason?: string;
|
|
2135
1848
|
}
|
|
2136
|
-
export declare const PauseInfoRule: S.Schema<PauseInfoRule>;
|
|
2137
1849
|
export interface PendingActivityInfoPauseInfo {
|
|
2138
1850
|
/** The time when the activity was paused. */
|
|
2139
1851
|
pauseTime?: string;
|
|
@@ -2142,7 +1854,6 @@ export interface PendingActivityInfoPauseInfo {
|
|
|
2142
1854
|
/** activity was paused by the rule */
|
|
2143
1855
|
rule?: PauseInfoRule;
|
|
2144
1856
|
}
|
|
2145
|
-
export declare const PendingActivityInfoPauseInfo: S.Schema<PendingActivityInfoPauseInfo>;
|
|
2146
1857
|
export interface ActivityOptions {
|
|
2147
1858
|
taskQueue?: TaskQueue;
|
|
2148
1859
|
/** Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) */
|
|
@@ -2158,7 +1869,6 @@ export interface ActivityOptions {
|
|
|
2158
1869
|
/** Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow. */
|
|
2159
1870
|
priority?: Priority;
|
|
2160
1871
|
}
|
|
2161
|
-
export declare const ActivityOptions: S.Schema<ActivityOptions>;
|
|
2162
1872
|
export interface PendingActivityInfo {
|
|
2163
1873
|
activityId?: string;
|
|
2164
1874
|
activityType?: WorkflowType;
|
|
@@ -2196,12 +1906,9 @@ export interface PendingActivityInfo {
|
|
|
2196
1906
|
/** Current activity options. May be different from the one used to start the activity. */
|
|
2197
1907
|
activityOptions?: ActivityOptions;
|
|
2198
1908
|
}
|
|
2199
|
-
export declare const PendingActivityInfo: S.Schema<PendingActivityInfo>;
|
|
2200
1909
|
export type DescribeWorkflowExecutionResponsePendingActivitiesList = Array<PendingActivityInfo>;
|
|
2201
|
-
export declare const DescribeWorkflowExecutionResponsePendingActivitiesList: S.Schema<DescribeWorkflowExecutionResponsePendingActivitiesList>;
|
|
2202
1910
|
/** Default: PARENT_CLOSE_POLICY_TERMINATE. */
|
|
2203
1911
|
export type PendingChildExecutionInfoParentClosePolicy = "PARENT_CLOSE_POLICY_UNSPECIFIED" | "PARENT_CLOSE_POLICY_TERMINATE" | "PARENT_CLOSE_POLICY_ABANDON" | "PARENT_CLOSE_POLICY_REQUEST_CANCEL";
|
|
2204
|
-
export declare const PendingChildExecutionInfoParentClosePolicy: any;
|
|
2205
1912
|
export interface PendingChildExecutionInfo {
|
|
2206
1913
|
workflowId?: string;
|
|
2207
1914
|
runId?: string;
|
|
@@ -2210,11 +1917,8 @@ export interface PendingChildExecutionInfo {
|
|
|
2210
1917
|
/** Default: PARENT_CLOSE_POLICY_TERMINATE. */
|
|
2211
1918
|
parentClosePolicy?: PendingChildExecutionInfoParentClosePolicy;
|
|
2212
1919
|
}
|
|
2213
|
-
export declare const PendingChildExecutionInfo: S.Schema<PendingChildExecutionInfo>;
|
|
2214
1920
|
export type DescribeWorkflowExecutionResponsePendingChildrenList = Array<PendingChildExecutionInfo>;
|
|
2215
|
-
export declare const DescribeWorkflowExecutionResponsePendingChildrenList: S.Schema<DescribeWorkflowExecutionResponsePendingChildrenList>;
|
|
2216
1921
|
export type PendingWorkflowTaskInfoState = "PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED" | "PENDING_WORKFLOW_TASK_STATE_SCHEDULED" | "PENDING_WORKFLOW_TASK_STATE_STARTED";
|
|
2217
|
-
export declare const PendingWorkflowTaskInfoState: any;
|
|
2218
1922
|
export interface PendingWorkflowTaskInfo {
|
|
2219
1923
|
state?: PendingWorkflowTaskInfoState;
|
|
2220
1924
|
scheduledTime?: string;
|
|
@@ -2223,13 +1927,9 @@ export interface PendingWorkflowTaskInfo {
|
|
|
2223
1927
|
startedTime?: string;
|
|
2224
1928
|
attempt?: number;
|
|
2225
1929
|
}
|
|
2226
|
-
export declare const PendingWorkflowTaskInfo: S.Schema<PendingWorkflowTaskInfo>;
|
|
2227
1930
|
export type DescribeWorkflowExecutionResponseCallbacksList = Array<CallbackInfo>;
|
|
2228
|
-
export declare const DescribeWorkflowExecutionResponseCallbacksList: S.Schema<DescribeWorkflowExecutionResponseCallbacksList>;
|
|
2229
1931
|
export type PendingNexusOperationInfoState = "PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED" | "PENDING_NEXUS_OPERATION_STATE_SCHEDULED" | "PENDING_NEXUS_OPERATION_STATE_BACKING_OFF" | "PENDING_NEXUS_OPERATION_STATE_STARTED" | "PENDING_NEXUS_OPERATION_STATE_BLOCKED";
|
|
2230
|
-
export declare const PendingNexusOperationInfoState: any;
|
|
2231
1932
|
export type NexusOperationCancellationInfoState = "NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED" | "NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED" | "NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF" | "NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED" | "NEXUS_OPERATION_CANCELLATION_STATE_FAILED" | "NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT" | "NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED";
|
|
2232
|
-
export declare const NexusOperationCancellationInfoState: any;
|
|
2233
1933
|
/** NexusOperationCancellationInfo contains the state of a nexus operation cancellation. */
|
|
2234
1934
|
export interface NexusOperationCancellationInfo {
|
|
2235
1935
|
/** The time when cancellation was requested. */
|
|
@@ -2246,7 +1946,6 @@ export interface NexusOperationCancellationInfo {
|
|
|
2246
1946
|
/** If the state is BLOCKED, blocked reason provides additional information. */
|
|
2247
1947
|
blockedReason?: string;
|
|
2248
1948
|
}
|
|
2249
|
-
export declare const NexusOperationCancellationInfo: S.Schema<NexusOperationCancellationInfo>;
|
|
2250
1949
|
/** PendingNexusOperationInfo contains the state of a pending Nexus operation. */
|
|
2251
1950
|
export interface PendingNexusOperationInfo {
|
|
2252
1951
|
/** Endpoint name. Resolved to a URL via the cluster's endpoint registry. */
|
|
@@ -2282,12 +1981,9 @@ export interface PendingNexusOperationInfo {
|
|
|
2282
1981
|
/** Start-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) */
|
|
2283
1982
|
startToCloseTimeout?: string;
|
|
2284
1983
|
}
|
|
2285
|
-
export declare const PendingNexusOperationInfo: S.Schema<PendingNexusOperationInfo>;
|
|
2286
1984
|
export type DescribeWorkflowExecutionResponsePendingNexusOperationsList = Array<PendingNexusOperationInfo>;
|
|
2287
|
-
export declare const DescribeWorkflowExecutionResponsePendingNexusOperationsList: S.Schema<DescribeWorkflowExecutionResponsePendingNexusOperationsList>;
|
|
2288
1985
|
/** The event type of the history event generated by the request. */
|
|
2289
1986
|
export type RequestIdInfoEventType = "EVENT_TYPE_UNSPECIFIED" | "EVENT_TYPE_WORKFLOW_EXECUTION_STARTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED" | "EVENT_TYPE_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT" | "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED" | "EVENT_TYPE_WORKFLOW_TASK_STARTED" | "EVENT_TYPE_WORKFLOW_TASK_COMPLETED" | "EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT" | "EVENT_TYPE_WORKFLOW_TASK_FAILED" | "EVENT_TYPE_ACTIVITY_TASK_SCHEDULED" | "EVENT_TYPE_ACTIVITY_TASK_STARTED" | "EVENT_TYPE_ACTIVITY_TASK_COMPLETED" | "EVENT_TYPE_ACTIVITY_TASK_FAILED" | "EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT" | "EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED" | "EVENT_TYPE_ACTIVITY_TASK_CANCELED" | "EVENT_TYPE_TIMER_STARTED" | "EVENT_TYPE_TIMER_FIRED" | "EVENT_TYPE_TIMER_CANCELED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED" | "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED" | "EVENT_TYPE_MARKER_RECORDED" | "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW" | "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED" | "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED" | "EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED" | "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY" | "EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY" | "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED" | "EVENT_TYPE_NEXUS_OPERATION_SCHEDULED" | "EVENT_TYPE_NEXUS_OPERATION_STARTED" | "EVENT_TYPE_NEXUS_OPERATION_COMPLETED" | "EVENT_TYPE_NEXUS_OPERATION_FAILED" | "EVENT_TYPE_NEXUS_OPERATION_CANCELED" | "EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED" | "EVENT_TYPE_WORKFLOW_EXECUTION_PAUSED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UNPAUSED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TIME_SKIPPING_TRANSITIONED";
|
|
2290
|
-
export declare const RequestIdInfoEventType: any;
|
|
2291
1987
|
/** RequestIdInfo contains details of a request ID. */
|
|
2292
1988
|
export interface RequestIdInfo {
|
|
2293
1989
|
/** The event type of the history event generated by the request. */
|
|
@@ -2297,12 +1993,10 @@ export interface RequestIdInfo {
|
|
|
2297
1993
|
/** Indicate if the request is still buffered. If so, the event ID is not known and its value will be an invalid event ID. */
|
|
2298
1994
|
buffered?: boolean;
|
|
2299
1995
|
}
|
|
2300
|
-
export declare const RequestIdInfo: S.Schema<RequestIdInfo>;
|
|
2301
1996
|
/** Request ID information (eg: history event information associated with the request ID). Note: It only contains request IDs from StartWorkflowExecution requests, including indirect calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is used in the StartWorkflowExecution request). */
|
|
2302
1997
|
export type WorkflowExecutionExtendedInfoRequestIdInfosMap = {
|
|
2303
1998
|
[key: string]: RequestIdInfo | undefined;
|
|
2304
1999
|
};
|
|
2305
|
-
export declare const WorkflowExecutionExtendedInfoRequestIdInfosMap: S.Schema<WorkflowExecutionExtendedInfoRequestIdInfosMap>;
|
|
2306
2000
|
/** WorkflowExecutionPauseInfo contains the information about a workflow execution pause. */
|
|
2307
2001
|
export interface WorkflowExecutionPauseInfo {
|
|
2308
2002
|
/** The identity of the client who paused the workflow execution. */
|
|
@@ -2312,7 +2006,6 @@ export interface WorkflowExecutionPauseInfo {
|
|
|
2312
2006
|
/** The reason for pausing the workflow execution. */
|
|
2313
2007
|
reason?: string;
|
|
2314
2008
|
}
|
|
2315
|
-
export declare const WorkflowExecutionPauseInfo: S.Schema<WorkflowExecutionPauseInfo>;
|
|
2316
2009
|
/** Holds all the extra information about workflow execution that is not part of Visibility. */
|
|
2317
2010
|
export interface WorkflowExecutionExtendedInfo {
|
|
2318
2011
|
/** Workflow execution expiration time is defined as workflow start time plus expiration timeout. Workflow start time may change after workflow reset. */
|
|
@@ -2332,7 +2025,6 @@ export interface WorkflowExecutionExtendedInfo {
|
|
|
2332
2025
|
/** Information about the workflow execution pause operation. */
|
|
2333
2026
|
pauseInfo?: WorkflowExecutionPauseInfo;
|
|
2334
2027
|
}
|
|
2335
|
-
export declare const WorkflowExecutionExtendedInfo: S.Schema<WorkflowExecutionExtendedInfo>;
|
|
2336
2028
|
export interface DescribeWorkflowExecutionResponse {
|
|
2337
2029
|
executionConfig?: WorkflowExecutionConfig;
|
|
2338
2030
|
workflowExecutionInfo?: WorkflowExecutionInfo;
|
|
@@ -2343,24 +2035,20 @@ export interface DescribeWorkflowExecutionResponse {
|
|
|
2343
2035
|
pendingNexusOperations?: DescribeWorkflowExecutionResponsePendingNexusOperationsList;
|
|
2344
2036
|
workflowExtendedInfo?: WorkflowExecutionExtendedInfo;
|
|
2345
2037
|
}
|
|
2346
|
-
export declare const DescribeWorkflowExecutionResponse: S.Schema<DescribeWorkflowExecutionResponse>;
|
|
2347
2038
|
export interface DescribeWorkflowRuleRequest {
|
|
2348
2039
|
namespace: string;
|
|
2349
2040
|
/** User-specified ID of the rule to read. Unique within the namespace. */
|
|
2350
2041
|
ruleId: string;
|
|
2351
2042
|
}
|
|
2352
|
-
export declare const DescribeWorkflowRuleRequest: S.Schema<DescribeWorkflowRuleRequest>;
|
|
2353
2043
|
export interface DescribeWorkflowRuleResponse {
|
|
2354
2044
|
/** The rule that was read. */
|
|
2355
2045
|
rule?: WorkflowRule;
|
|
2356
2046
|
}
|
|
2357
|
-
export declare const DescribeWorkflowRuleResponse: S.Schema<DescribeWorkflowRuleResponse>;
|
|
2358
2047
|
/** This is used to send commands to a specific worker or a group of workers. Right now, it is used to send commands to a specific worker instance. Will be extended to be able to send command to multiple workers. */
|
|
2359
2048
|
export interface WorkerSelector {
|
|
2360
2049
|
/** Worker instance key to which the command should be sent. */
|
|
2361
2050
|
workerInstanceKey?: string;
|
|
2362
2051
|
}
|
|
2363
|
-
export declare const WorkerSelector: S.Schema<WorkerSelector>;
|
|
2364
2052
|
export interface FetchWorkerConfigRequest {
|
|
2365
2053
|
/** Namespace this worker belongs to. */
|
|
2366
2054
|
namespace: string;
|
|
@@ -2373,11 +2061,9 @@ export interface FetchWorkerConfigRequest {
|
|
|
2373
2061
|
/** Resource ID for routing. Contains the worker grouping key. */
|
|
2374
2062
|
resourceId?: string;
|
|
2375
2063
|
}
|
|
2376
|
-
export declare const FetchWorkerConfigRequest: S.Schema<FetchWorkerConfigRequest>;
|
|
2377
2064
|
export interface WorkerConfigSimplePollerBehavior {
|
|
2378
2065
|
maxPollers?: number;
|
|
2379
2066
|
}
|
|
2380
|
-
export declare const WorkerConfigSimplePollerBehavior: S.Schema<WorkerConfigSimplePollerBehavior>;
|
|
2381
2067
|
export interface WorkerConfigAutoscalingPollerBehavior {
|
|
2382
2068
|
/** At least this many poll calls will always be attempted (assuming slots are available). Cannot be zero. */
|
|
2383
2069
|
minPollers?: number;
|
|
@@ -2386,43 +2072,34 @@ export interface WorkerConfigAutoscalingPollerBehavior {
|
|
|
2386
2072
|
/** This many polls will be attempted initially before scaling kicks in. Must be between `minimum` and `maximum`. */
|
|
2387
2073
|
initialPollers?: number;
|
|
2388
2074
|
}
|
|
2389
|
-
export declare const WorkerConfigAutoscalingPollerBehavior: S.Schema<WorkerConfigAutoscalingPollerBehavior>;
|
|
2390
2075
|
export interface WorkerConfig {
|
|
2391
2076
|
workflowCacheSize?: number;
|
|
2392
2077
|
simplePollerBehavior?: WorkerConfigSimplePollerBehavior;
|
|
2393
2078
|
autoscalingPollerBehavior?: WorkerConfigAutoscalingPollerBehavior;
|
|
2394
2079
|
}
|
|
2395
|
-
export declare const WorkerConfig: S.Schema<WorkerConfig>;
|
|
2396
2080
|
export interface FetchWorkerConfigResponse {
|
|
2397
2081
|
/** The worker configuration. */
|
|
2398
2082
|
workerConfig?: WorkerConfig;
|
|
2399
2083
|
}
|
|
2400
|
-
export declare const FetchWorkerConfigResponse: S.Schema<FetchWorkerConfigResponse>;
|
|
2401
2084
|
export interface GetClusterInfoRequest {
|
|
2402
2085
|
}
|
|
2403
|
-
export declare const GetClusterInfoRequest: S.Schema<GetClusterInfoRequest>;
|
|
2404
2086
|
/** Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli". Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0". */
|
|
2405
2087
|
export type GetClusterInfoResponseSupportedClientsMap = {
|
|
2406
2088
|
[key: string]: string | undefined;
|
|
2407
2089
|
};
|
|
2408
|
-
export declare const GetClusterInfoResponseSupportedClientsMap: S.Schema<GetClusterInfoResponseSupportedClientsMap>;
|
|
2409
2090
|
/** ReleaseInfo contains information about specific version of temporal. */
|
|
2410
2091
|
export interface ReleaseInfo {
|
|
2411
2092
|
version?: string;
|
|
2412
2093
|
releaseTime?: string;
|
|
2413
2094
|
notes?: string;
|
|
2414
2095
|
}
|
|
2415
|
-
export declare const ReleaseInfo: S.Schema<ReleaseInfo>;
|
|
2416
2096
|
export type AlertSeverity = "SEVERITY_UNSPECIFIED" | "SEVERITY_HIGH" | "SEVERITY_MEDIUM" | "SEVERITY_LOW";
|
|
2417
|
-
export declare const AlertSeverity: any;
|
|
2418
2097
|
/** Alert contains notification and severity. */
|
|
2419
2098
|
export interface Alert {
|
|
2420
2099
|
message?: string;
|
|
2421
2100
|
severity?: AlertSeverity;
|
|
2422
2101
|
}
|
|
2423
|
-
export declare const Alert: S.Schema<Alert>;
|
|
2424
2102
|
export type VersionInfoAlertsList = Array<Alert>;
|
|
2425
|
-
export declare const VersionInfoAlertsList: S.Schema<VersionInfoAlertsList>;
|
|
2426
2103
|
/** VersionInfo contains details about current and recommended release versions as well as alerts and upgrade instructions. */
|
|
2427
2104
|
export interface VersionInfo {
|
|
2428
2105
|
current?: ReleaseInfo;
|
|
@@ -2431,7 +2108,6 @@ export interface VersionInfo {
|
|
|
2431
2108
|
alerts?: VersionInfoAlertsList;
|
|
2432
2109
|
lastUpdateTime?: string;
|
|
2433
2110
|
}
|
|
2434
|
-
export declare const VersionInfo: S.Schema<VersionInfo>;
|
|
2435
2111
|
/** GetClusterInfoResponse contains information about Temporal cluster. */
|
|
2436
2112
|
export interface GetClusterInfoResponse {
|
|
2437
2113
|
/** Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli". Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0". */
|
|
@@ -2446,17 +2122,14 @@ export interface GetClusterInfoResponse {
|
|
|
2446
2122
|
initialFailoverVersion?: string;
|
|
2447
2123
|
failoverVersionIncrement?: string;
|
|
2448
2124
|
}
|
|
2449
|
-
export declare const GetClusterInfoResponse: S.Schema<GetClusterInfoResponse>;
|
|
2450
2125
|
export interface GetCurrentDeploymentRequest {
|
|
2451
2126
|
namespace: string;
|
|
2452
2127
|
seriesName: string;
|
|
2453
2128
|
}
|
|
2454
|
-
export declare const GetCurrentDeploymentRequest: S.Schema<GetCurrentDeploymentRequest>;
|
|
2455
2129
|
/** [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later */
|
|
2456
2130
|
export interface GetCurrentDeploymentResponse {
|
|
2457
2131
|
currentDeploymentInfo?: DeploymentInfo;
|
|
2458
2132
|
}
|
|
2459
|
-
export declare const GetCurrentDeploymentResponse: S.Schema<GetCurrentDeploymentResponse>;
|
|
2460
2133
|
export interface GetDeploymentReachabilityRequest {
|
|
2461
2134
|
namespace: string;
|
|
2462
2135
|
deployment_series_name: string;
|
|
@@ -2466,9 +2139,7 @@ export interface GetDeploymentReachabilityRequest {
|
|
|
2466
2139
|
/** Build ID changes with each version of the worker when the worker program code and/or config changes. */
|
|
2467
2140
|
deployment_buildId?: string;
|
|
2468
2141
|
}
|
|
2469
|
-
export declare const GetDeploymentReachabilityRequest: S.Schema<GetDeploymentReachabilityRequest>;
|
|
2470
2142
|
export type GetDeploymentReachabilityResponseReachability = "DEPLOYMENT_REACHABILITY_UNSPECIFIED" | "DEPLOYMENT_REACHABILITY_REACHABLE" | "DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY" | "DEPLOYMENT_REACHABILITY_UNREACHABLE";
|
|
2471
|
-
export declare const GetDeploymentReachabilityResponseReachability: any;
|
|
2472
2143
|
/** [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later */
|
|
2473
2144
|
export interface GetDeploymentReachabilityResponse {
|
|
2474
2145
|
deploymentInfo?: DeploymentInfo;
|
|
@@ -2476,19 +2147,15 @@ export interface GetDeploymentReachabilityResponse {
|
|
|
2476
2147
|
/** Reachability level might come from server cache. This timestamp specifies when the value was actually calculated. */
|
|
2477
2148
|
lastUpdateTime?: string;
|
|
2478
2149
|
}
|
|
2479
|
-
export declare const GetDeploymentReachabilityResponse: S.Schema<GetDeploymentReachabilityResponse>;
|
|
2480
2150
|
export interface GetNexusEndpointRequest {
|
|
2481
2151
|
/** Server-generated unique endpoint ID. */
|
|
2482
2152
|
id: string;
|
|
2483
2153
|
}
|
|
2484
|
-
export declare const GetNexusEndpointRequest: S.Schema<GetNexusEndpointRequest>;
|
|
2485
2154
|
export interface GetNexusEndpointResponse {
|
|
2486
2155
|
endpoint?: Endpoint;
|
|
2487
2156
|
}
|
|
2488
|
-
export declare const GetNexusEndpointResponse: S.Schema<GetNexusEndpointResponse>;
|
|
2489
2157
|
export interface GetSystemInfoRequest {
|
|
2490
2158
|
}
|
|
2491
|
-
export declare const GetSystemInfoRequest: S.Schema<GetSystemInfoRequest>;
|
|
2492
2159
|
/** System capability details. */
|
|
2493
2160
|
export interface GetSystemInfoResponseCapabilities {
|
|
2494
2161
|
/** True if signal and query headers are supported. */
|
|
@@ -2516,14 +2183,12 @@ export interface GetSystemInfoResponseCapabilities {
|
|
|
2516
2183
|
/** True if the server supports server-scaled deployments. This flag is dependent both on server version and for server-scaled deployments to be enabled via server configuration. */
|
|
2517
2184
|
serverScaledDeployments?: boolean;
|
|
2518
2185
|
}
|
|
2519
|
-
export declare const GetSystemInfoResponseCapabilities: S.Schema<GetSystemInfoResponseCapabilities>;
|
|
2520
2186
|
export interface GetSystemInfoResponse {
|
|
2521
2187
|
/** Version of the server. */
|
|
2522
2188
|
serverVersion?: string;
|
|
2523
2189
|
/** All capabilities the system supports. */
|
|
2524
2190
|
capabilities?: GetSystemInfoResponseCapabilities;
|
|
2525
2191
|
}
|
|
2526
|
-
export declare const GetSystemInfoResponse: S.Schema<GetSystemInfoResponse>;
|
|
2527
2192
|
export interface GetWorkerBuildIdCompatibilityRequest {
|
|
2528
2193
|
namespace: string;
|
|
2529
2194
|
/** Must be set, the task queue to interrogate about worker id compatibility. */
|
|
@@ -2531,31 +2196,23 @@ export interface GetWorkerBuildIdCompatibilityRequest {
|
|
|
2531
2196
|
/** Limits how many compatible sets will be returned. Specify 1 to only return the current default major version set. 0 returns all sets. */
|
|
2532
2197
|
maxSets?: number;
|
|
2533
2198
|
}
|
|
2534
|
-
export declare const GetWorkerBuildIdCompatibilityRequest: S.Schema<GetWorkerBuildIdCompatibilityRequest>;
|
|
2535
2199
|
/** All the compatible versions, unordered, except for the last element, which is considered the set "default". */
|
|
2536
2200
|
export type CompatibleVersionSetBuildIdsList = Array<string>;
|
|
2537
|
-
export declare const CompatibleVersionSetBuildIdsList: S.Schema<CompatibleVersionSetBuildIdsList>;
|
|
2538
2201
|
/** Used by the worker versioning APIs, represents an unordered set of one or more versions which are considered to be compatible with each other. Currently the versions are always worker build IDs. */
|
|
2539
2202
|
export interface CompatibleVersionSet {
|
|
2540
2203
|
/** All the compatible versions, unordered, except for the last element, which is considered the set "default". */
|
|
2541
2204
|
buildIds?: CompatibleVersionSetBuildIdsList;
|
|
2542
2205
|
}
|
|
2543
|
-
export declare const CompatibleVersionSet: S.Schema<CompatibleVersionSet>;
|
|
2544
2206
|
/** Major version sets, in order from oldest to newest. The last element of the list will always be the current default major version. IE: New workflows will target the most recent version in that version set. There may be fewer sets returned than exist, if the request chose to limit this response. */
|
|
2545
2207
|
export type GetWorkerBuildIdCompatibilityResponseMajorVersionSetsList = Array<CompatibleVersionSet>;
|
|
2546
|
-
export declare const GetWorkerBuildIdCompatibilityResponseMajorVersionSetsList: S.Schema<GetWorkerBuildIdCompatibilityResponseMajorVersionSetsList>;
|
|
2547
2208
|
/** [cleanup-wv-pre-release] */
|
|
2548
2209
|
export interface GetWorkerBuildIdCompatibilityResponse {
|
|
2549
2210
|
/** Major version sets, in order from oldest to newest. The last element of the list will always be the current default major version. IE: New workflows will target the most recent version in that version set. There may be fewer sets returned than exist, if the request chose to limit this response. */
|
|
2550
2211
|
majorVersionSets?: GetWorkerBuildIdCompatibilityResponseMajorVersionSetsList;
|
|
2551
2212
|
}
|
|
2552
|
-
export declare const GetWorkerBuildIdCompatibilityResponse: S.Schema<GetWorkerBuildIdCompatibilityResponse>;
|
|
2553
2213
|
export type GetWorkerTaskReachabilityRequestBuildIdsList = Array<string>;
|
|
2554
|
-
export declare const GetWorkerTaskReachabilityRequestBuildIdsList: S.Schema<GetWorkerTaskReachabilityRequestBuildIdsList>;
|
|
2555
2214
|
export type GetWorkerTaskReachabilityRequestTaskQueuesList = Array<string>;
|
|
2556
|
-
export declare const GetWorkerTaskReachabilityRequestTaskQueuesList: S.Schema<GetWorkerTaskReachabilityRequestTaskQueuesList>;
|
|
2557
2215
|
export type GetWorkerTaskReachabilityRequestReachability = "TASK_REACHABILITY_UNSPECIFIED" | "TASK_REACHABILITY_NEW_WORKFLOWS" | "TASK_REACHABILITY_EXISTING_WORKFLOWS" | "TASK_REACHABILITY_OPEN_WORKFLOWS" | "TASK_REACHABILITY_CLOSED_WORKFLOWS";
|
|
2558
|
-
export declare const GetWorkerTaskReachabilityRequestReachability: any;
|
|
2559
2216
|
export interface GetWorkerTaskReachabilityRequest {
|
|
2560
2217
|
namespace: string;
|
|
2561
2218
|
/** Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. The number of build ids that can be queried in a single API call is limited. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store. */
|
|
@@ -2565,22 +2222,17 @@ export interface GetWorkerTaskReachabilityRequest {
|
|
|
2565
2222
|
/** Type of reachability to query for. `TASK_REACHABILITY_NEW_WORKFLOWS` is always returned in the response. Use `TASK_REACHABILITY_EXISTING_WORKFLOWS` if your application needs to respond to queries on closed workflows. Otherwise, use `TASK_REACHABILITY_OPEN_WORKFLOWS`. Default is `TASK_REACHABILITY_EXISTING_WORKFLOWS` if left unspecified. See the TaskReachability docstring for information about each enum variant. */
|
|
2566
2223
|
reachability?: GetWorkerTaskReachabilityRequestReachability | (string & {});
|
|
2567
2224
|
}
|
|
2568
|
-
export declare const GetWorkerTaskReachabilityRequest: S.Schema<GetWorkerTaskReachabilityRequest>;
|
|
2569
2225
|
export type TaskQueueReachabilityReachabilityItem = "TASK_REACHABILITY_UNSPECIFIED" | "TASK_REACHABILITY_NEW_WORKFLOWS" | "TASK_REACHABILITY_EXISTING_WORKFLOWS" | "TASK_REACHABILITY_OPEN_WORKFLOWS" | "TASK_REACHABILITY_CLOSED_WORKFLOWS";
|
|
2570
|
-
export declare const TaskQueueReachabilityReachabilityItem: any;
|
|
2571
2226
|
/** Task reachability for a worker in a single task queue. See the TaskReachability docstring for information about each enum variant. If reachability is empty, this worker is considered unreachable in this task queue. */
|
|
2572
2227
|
export type TaskQueueReachabilityReachabilityList = Array<TaskQueueReachabilityReachabilityItem>;
|
|
2573
|
-
export declare const TaskQueueReachabilityReachabilityList: S.Schema<TaskQueueReachabilityReachabilityList>;
|
|
2574
2228
|
/** Reachability of tasks for a worker on a single task queue. */
|
|
2575
2229
|
export interface TaskQueueReachability {
|
|
2576
2230
|
taskQueue?: string;
|
|
2577
2231
|
/** Task reachability for a worker in a single task queue. See the TaskReachability docstring for information about each enum variant. If reachability is empty, this worker is considered unreachable in this task queue. */
|
|
2578
2232
|
reachability?: TaskQueueReachabilityReachabilityList;
|
|
2579
2233
|
}
|
|
2580
|
-
export declare const TaskQueueReachability: S.Schema<TaskQueueReachability>;
|
|
2581
2234
|
/** Reachability per task queue. */
|
|
2582
2235
|
export type BuildIdReachabilityTaskQueueReachabilityList = Array<TaskQueueReachability>;
|
|
2583
|
-
export declare const BuildIdReachabilityTaskQueueReachabilityList: S.Schema<BuildIdReachabilityTaskQueueReachabilityList>;
|
|
2584
2236
|
/** Reachability of tasks for a worker by build id, in one or more task queues. */
|
|
2585
2237
|
export interface BuildIdReachability {
|
|
2586
2238
|
/** A build id or empty if unversioned. */
|
|
@@ -2588,54 +2240,43 @@ export interface BuildIdReachability {
|
|
|
2588
2240
|
/** Reachability per task queue. */
|
|
2589
2241
|
taskQueueReachability?: BuildIdReachabilityTaskQueueReachabilityList;
|
|
2590
2242
|
}
|
|
2591
|
-
export declare const BuildIdReachability: S.Schema<BuildIdReachability>;
|
|
2592
2243
|
/** Task reachability, broken down by build id and then task queue. When requesting a large number of task queues or all task queues associated with the given build ids in a namespace, all task queues will be listed in the response but some of them may not contain reachability information due to a server enforced limit. When reaching the limit, task queues that reachability information could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue another call to get the reachability for those task queues. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. */
|
|
2593
2244
|
export type GetWorkerTaskReachabilityResponseBuildIdReachabilityList = Array<BuildIdReachability>;
|
|
2594
|
-
export declare const GetWorkerTaskReachabilityResponseBuildIdReachabilityList: S.Schema<GetWorkerTaskReachabilityResponseBuildIdReachabilityList>;
|
|
2595
2245
|
/** [cleanup-wv-pre-release] Deprecated. Use `DescribeTaskQueue`. */
|
|
2596
2246
|
export interface GetWorkerTaskReachabilityResponse {
|
|
2597
2247
|
/** Task reachability, broken down by build id and then task queue. When requesting a large number of task queues or all task queues associated with the given build ids in a namespace, all task queues will be listed in the response but some of them may not contain reachability information due to a server enforced limit. When reaching the limit, task queues that reachability information could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue another call to get the reachability for those task queues. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. */
|
|
2598
2248
|
buildIdReachability?: GetWorkerTaskReachabilityResponseBuildIdReachabilityList;
|
|
2599
2249
|
}
|
|
2600
|
-
export declare const GetWorkerTaskReachabilityResponse: S.Schema<GetWorkerTaskReachabilityResponse>;
|
|
2601
2250
|
export interface GetWorkerVersioningRulesRequest {
|
|
2602
2251
|
namespace: string;
|
|
2603
2252
|
taskQueue: string;
|
|
2604
2253
|
}
|
|
2605
|
-
export declare const GetWorkerVersioningRulesRequest: S.Schema<GetWorkerVersioningRulesRequest>;
|
|
2606
2254
|
export interface RampByPercentage {
|
|
2607
2255
|
/** Acceptable range is [0,100). */
|
|
2608
2256
|
rampPercentage?: number;
|
|
2609
2257
|
}
|
|
2610
|
-
export declare const RampByPercentage: S.Schema<RampByPercentage>;
|
|
2611
2258
|
/** Assignment rules are applied to *new* Workflow and Activity executions at schedule time to assign them to a Build ID. Assignment rules will not be used in the following cases: - Child Workflows or Continue-As-New Executions who inherit their parent/previous Workflow's assigned Build ID (by setting the `inherit_build_id` flag - default behavior in SDKs when the same Task Queue is used.) - An Activity that inherits the assigned Build ID of its Workflow (by setting the `use_workflow_build_id` flag - default behavior in SDKs when the same Task Queue is used.) In absence of (applicable) redirect rules (`CompatibleBuildIdRedirectRule`s) the task will be dispatched to Workers of the Build ID determined by the assignment rules (or inherited). Otherwise, the final Build ID will be determined by the redirect rules. Once a Workflow completes its first Workflow Task in a particular Build ID it stays in that Build ID regardless of changes to assignment rules. Redirect rules can be used to move the workflow to another compatible Build ID. When using Worker Versioning on a Task Queue, in the steady state, there should typically be a single assignment rule to send all new executions to the latest Build ID. Existence of at least one such "unconditional" rule at all times is enforces by the system, unless the `force` flag is used by the user when replacing/deleting these rules (for exceptional cases). During a deployment, one or more additional rules can be added to assign a subset of the tasks to a new Build ID based on a "ramp percentage". When there are multiple assignment rules for a Task Queue, the rules are evaluated in order, starting from index 0. The first applicable rule will be applied and the rest will be ignored. In the event that no assignment rule is applicable on a task (or the Task Queue is simply not versioned), the tasks will be dispatched to an unversioned Worker. */
|
|
2612
2259
|
export interface BuildIdAssignmentRule {
|
|
2613
2260
|
targetBuildId?: string;
|
|
2614
2261
|
/** This ramp is useful for gradual Blue/Green deployments (and similar) where you want to send a certain portion of the traffic to the target Build ID. */
|
|
2615
2262
|
percentageRamp?: RampByPercentage;
|
|
2616
2263
|
}
|
|
2617
|
-
export declare const BuildIdAssignmentRule: S.Schema<BuildIdAssignmentRule>;
|
|
2618
2264
|
export interface TimestampedBuildIdAssignmentRule {
|
|
2619
2265
|
rule?: BuildIdAssignmentRule;
|
|
2620
2266
|
createTime?: string;
|
|
2621
2267
|
}
|
|
2622
|
-
export declare const TimestampedBuildIdAssignmentRule: S.Schema<TimestampedBuildIdAssignmentRule>;
|
|
2623
2268
|
export type GetWorkerVersioningRulesResponseAssignmentRulesList = Array<TimestampedBuildIdAssignmentRule>;
|
|
2624
|
-
export declare const GetWorkerVersioningRulesResponseAssignmentRulesList: S.Schema<GetWorkerVersioningRulesResponseAssignmentRulesList>;
|
|
2625
2269
|
/** These rules apply to tasks assigned to a particular Build ID (`source_build_id`) to redirect them to another *compatible* Build ID (`target_build_id`). It is user's responsibility to ensure that the target Build ID is compatible with the source Build ID (e.g. by using the Patching API). Most deployments are not expected to need these rules, however following situations can greatly benefit from redirects: - Need to move long-running Workflow Executions from an old Build ID to a newer one. - Need to hotfix some broken or stuck Workflow Executions. In steady state, redirect rules are beneficial when dealing with old Executions ran on now-decommissioned Build IDs: - To redirecting the Workflow Queries to the current (compatible) Build ID. - To be able to Reset an old Execution so it can run on the current (compatible) Build ID. Redirect rules can be chained. */
|
|
2626
2270
|
export interface CompatibleBuildIdRedirectRule {
|
|
2627
2271
|
sourceBuildId?: string;
|
|
2628
2272
|
/** Target Build ID must be compatible with the Source Build ID; that is it must be able to process event histories made by the Source Build ID by using [Patching](https://docs.temporal.io/workflows#patching) or other means. */
|
|
2629
2273
|
targetBuildId?: string;
|
|
2630
2274
|
}
|
|
2631
|
-
export declare const CompatibleBuildIdRedirectRule: S.Schema<CompatibleBuildIdRedirectRule>;
|
|
2632
2275
|
export interface TimestampedCompatibleBuildIdRedirectRule {
|
|
2633
2276
|
rule?: CompatibleBuildIdRedirectRule;
|
|
2634
2277
|
createTime?: string;
|
|
2635
2278
|
}
|
|
2636
|
-
export declare const TimestampedCompatibleBuildIdRedirectRule: S.Schema<TimestampedCompatibleBuildIdRedirectRule>;
|
|
2637
2279
|
export type GetWorkerVersioningRulesResponseCompatibleRedirectRulesList = Array<TimestampedCompatibleBuildIdRedirectRule>;
|
|
2638
|
-
export declare const GetWorkerVersioningRulesResponseCompatibleRedirectRulesList: S.Schema<GetWorkerVersioningRulesResponseCompatibleRedirectRulesList>;
|
|
2639
2280
|
/** [cleanup-wv-pre-release] */
|
|
2640
2281
|
export interface GetWorkerVersioningRulesResponse {
|
|
2641
2282
|
assignmentRules?: GetWorkerVersioningRulesResponseAssignmentRulesList;
|
|
@@ -2643,9 +2284,7 @@ export interface GetWorkerVersioningRulesResponse {
|
|
|
2643
2284
|
/** This value can be passed back to UpdateWorkerVersioningRulesRequest to ensure that the rules were not modified between this List and the Update, which could lead to lost updates and other confusion. */
|
|
2644
2285
|
conflictToken?: string;
|
|
2645
2286
|
}
|
|
2646
|
-
export declare const GetWorkerVersioningRulesResponse: S.Schema<GetWorkerVersioningRulesResponse>;
|
|
2647
2287
|
export type GetWorkflowExecutionHistoryRequestHistoryEventFilterType = "HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED" | "HISTORY_EVENT_FILTER_TYPE_ALL_EVENT" | "HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT";
|
|
2648
|
-
export declare const GetWorkflowExecutionHistoryRequestHistoryEventFilterType: any;
|
|
2649
2288
|
export interface GetWorkflowExecutionHistoryRequest {
|
|
2650
2289
|
namespace: string;
|
|
2651
2290
|
execution_workflow_id: string;
|
|
@@ -2660,12 +2299,9 @@ export interface GetWorkflowExecutionHistoryRequest {
|
|
|
2660
2299
|
historyEventFilterType?: GetWorkflowExecutionHistoryRequestHistoryEventFilterType | (string & {});
|
|
2661
2300
|
skipArchival?: boolean;
|
|
2662
2301
|
}
|
|
2663
|
-
export declare const GetWorkflowExecutionHistoryRequest: S.Schema<GetWorkflowExecutionHistoryRequest>;
|
|
2664
2302
|
export type HistoryEventEventType = "EVENT_TYPE_UNSPECIFIED" | "EVENT_TYPE_WORKFLOW_EXECUTION_STARTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED" | "EVENT_TYPE_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT" | "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED" | "EVENT_TYPE_WORKFLOW_TASK_STARTED" | "EVENT_TYPE_WORKFLOW_TASK_COMPLETED" | "EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT" | "EVENT_TYPE_WORKFLOW_TASK_FAILED" | "EVENT_TYPE_ACTIVITY_TASK_SCHEDULED" | "EVENT_TYPE_ACTIVITY_TASK_STARTED" | "EVENT_TYPE_ACTIVITY_TASK_COMPLETED" | "EVENT_TYPE_ACTIVITY_TASK_FAILED" | "EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT" | "EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED" | "EVENT_TYPE_ACTIVITY_TASK_CANCELED" | "EVENT_TYPE_TIMER_STARTED" | "EVENT_TYPE_TIMER_FIRED" | "EVENT_TYPE_TIMER_CANCELED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED" | "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED" | "EVENT_TYPE_MARKER_RECORDED" | "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW" | "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED" | "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED" | "EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED" | "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY" | "EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY" | "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED" | "EVENT_TYPE_NEXUS_OPERATION_SCHEDULED" | "EVENT_TYPE_NEXUS_OPERATION_STARTED" | "EVENT_TYPE_NEXUS_OPERATION_COMPLETED" | "EVENT_TYPE_NEXUS_OPERATION_FAILED" | "EVENT_TYPE_NEXUS_OPERATION_CANCELED" | "EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED" | "EVENT_TYPE_WORKFLOW_EXECUTION_PAUSED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UNPAUSED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TIME_SKIPPING_TRANSITIONED";
|
|
2665
|
-
export declare const HistoryEventEventType: any;
|
|
2666
2303
|
/** Links to related entities, such as the entity that started this event's workflow. */
|
|
2667
2304
|
export type HistoryEventLinksList = Array<Link>;
|
|
2668
|
-
export declare const HistoryEventLinksList: S.Schema<HistoryEventLinksList>;
|
|
2669
2305
|
/** Principal is an authenticated caller identity computed by the server from trusted authentication context. */
|
|
2670
2306
|
export interface Principal {
|
|
2671
2307
|
/** Low-cardinality category of the principal (e.g., "jwt", "users"). */
|
|
@@ -2673,15 +2309,11 @@ export interface Principal {
|
|
|
2673
2309
|
/** Identifier within that category (e.g., sub JWT claim, email address). */
|
|
2674
2310
|
name?: string;
|
|
2675
2311
|
}
|
|
2676
|
-
export declare const Principal: S.Schema<Principal>;
|
|
2677
2312
|
export type WorkflowExecutionStartedEventAttributesInitiator = "CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED" | "CONTINUE_AS_NEW_INITIATOR_WORKFLOW" | "CONTINUE_AS_NEW_INITIATOR_RETRY" | "CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE";
|
|
2678
|
-
export declare const WorkflowExecutionStartedEventAttributesInitiator: any;
|
|
2679
2313
|
/** Completion callbacks attached when this workflow was started. */
|
|
2680
2314
|
export type WorkflowExecutionStartedEventAttributesCompletionCallbacksList = Array<Callback>;
|
|
2681
|
-
export declare const WorkflowExecutionStartedEventAttributesCompletionCallbacksList: S.Schema<WorkflowExecutionStartedEventAttributesCompletionCallbacksList>;
|
|
2682
2315
|
/** Experimental. If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior specified in that command. Only used for the initial task of this run and the initial task of any retries of this run. Not passed to children or to future continue-as-new. Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade, a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility with history events generated during that time, know that an UNSPECIFIED value here is equivalent to AutoUpgrade value if the InheritedAutoUpgradeInfo is non-empty. */
|
|
2683
2316
|
export type InheritedAutoUpgradeInfoContinueAsNewInitialVersioningBehavior = "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED" | "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE" | "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_USE_RAMPING_VERSION";
|
|
2684
|
-
export declare const InheritedAutoUpgradeInfoContinueAsNewInitialVersioningBehavior: any;
|
|
2685
2317
|
/** Used as part of WorkflowExecutionStartedEventAttributes to pass down the AutoUpgrade behavior and source deployment version to a workflow execution whose parent/previous workflow has an AutoUpgrade behavior. Also used for Upgrade-on-CaN behaviors AutoUpgrade and UseRampingVersion. */
|
|
2686
2318
|
export interface InheritedAutoUpgradeInfo {
|
|
2687
2319
|
/** The source deployment version of the parent/previous workflow. */
|
|
@@ -2691,14 +2323,12 @@ export interface InheritedAutoUpgradeInfo {
|
|
|
2691
2323
|
/** Experimental. If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior specified in that command. Only used for the initial task of this run and the initial task of any retries of this run. Not passed to children or to future continue-as-new. Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade, a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility with history events generated during that time, know that an UNSPECIFIED value here is equivalent to AutoUpgrade value if the InheritedAutoUpgradeInfo is non-empty. */
|
|
2692
2324
|
continueAsNewInitialVersioningBehavior?: InheritedAutoUpgradeInfoContinueAsNewInitialVersioningBehavior;
|
|
2693
2325
|
}
|
|
2694
|
-
export declare const InheritedAutoUpgradeInfo: S.Schema<InheritedAutoUpgradeInfo>;
|
|
2695
2326
|
/** Wrapper for a target deployment version that the SDK declined to upgrade to. See declined_target_version_upgrade on WorkflowExecutionStartedEventAttributes. */
|
|
2696
2327
|
export interface DeclinedTargetVersionUpgrade {
|
|
2697
2328
|
deploymentVersion?: WorkerDeploymentVersion;
|
|
2698
2329
|
/** Revision number of the task queue routing config at the time the target was declined. If an incoming target's revision is <= this value, it is not newer and is not used for deciding whether or not to suppress the upgrade signal. */
|
|
2699
2330
|
revisionNumber?: string;
|
|
2700
2331
|
}
|
|
2701
|
-
export declare const DeclinedTargetVersionUpgrade: S.Schema<DeclinedTargetVersionUpgrade>;
|
|
2702
2332
|
/** Configuration for time skipping during a workflow execution. When enabled, virtual time advances automatically whenever there is no in-flight work. In-flight work includes activities, child workflows, Nexus operations, signal/cancel external workflow operations, and possibly other features added in the future. User timers are not classified as in-flight work and will be skipped over. When time advances, it skips to the earlier of the next user timer or the configured bound, if either exists. Propagation behavior of time skipping: The enabled flag, bound fields, and accumulated skipped duration are propagated to related executions as follows: (1) Child workflows and continue-as-new: both the configuration and the accumulated skipped duration are inherited from the current execution. The configured bound is shared between the inherited skipped duration and any additional duration skipped by the new run. (2) Retry and cron: the configuration and accumulated skipped duration are inherited as recorded when the current workflow started; the accumulated skipped duration of the current run is not propagated. (3) Reset: the new run retains the time-skipping configuration of the current execution. Because reset replays all events up to the reset point and re-applies any UpdateWorkflowExecutionOptions changes made after that point, the resulting run ends up with the same final time-skipping configuration as the previous run. */
|
|
2703
2333
|
export interface TimeSkippingConfig {
|
|
2704
2334
|
/** Enables or disables time skipping for this workflow execution. */
|
|
@@ -2708,7 +2338,6 @@ export interface TimeSkippingConfig {
|
|
|
2708
2338
|
/** Maximum elapsed time since time skipping was enabled. This includes both skipped time and real time elapsing. */
|
|
2709
2339
|
maxElapsedDuration?: string;
|
|
2710
2340
|
}
|
|
2711
|
-
export declare const TimeSkippingConfig: S.Schema<TimeSkippingConfig>;
|
|
2712
2341
|
/** Always the first event in workflow history */
|
|
2713
2342
|
export interface WorkflowExecutionStartedEventAttributes {
|
|
2714
2343
|
workflowType?: WorkflowType;
|
|
@@ -2783,7 +2412,6 @@ export interface WorkflowExecutionStartedEventAttributes {
|
|
|
2783
2412
|
/** The time skipped by the previous execution that started this workflow. It can happen in cases of child workflows and continue-as-new workflows. */
|
|
2784
2413
|
initialSkippedDuration?: string;
|
|
2785
2414
|
}
|
|
2786
|
-
export declare const WorkflowExecutionStartedEventAttributes: S.Schema<WorkflowExecutionStartedEventAttributes>;
|
|
2787
2415
|
export interface WorkflowExecutionCompletedEventAttributes {
|
|
2788
2416
|
/** Serialized result of workflow completion (ie: The return value of the workflow function) */
|
|
2789
2417
|
result?: Payloads;
|
|
@@ -2792,9 +2420,7 @@ export interface WorkflowExecutionCompletedEventAttributes {
|
|
|
2792
2420
|
/** If another run is started by cron, this contains the new run id. */
|
|
2793
2421
|
newExecutionRunId?: string;
|
|
2794
2422
|
}
|
|
2795
|
-
export declare const WorkflowExecutionCompletedEventAttributes: S.Schema<WorkflowExecutionCompletedEventAttributes>;
|
|
2796
2423
|
export type WorkflowExecutionFailedEventAttributesRetryState = "RETRY_STATE_UNSPECIFIED" | "RETRY_STATE_IN_PROGRESS" | "RETRY_STATE_NON_RETRYABLE_FAILURE" | "RETRY_STATE_TIMEOUT" | "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED" | "RETRY_STATE_RETRY_POLICY_NOT_SET" | "RETRY_STATE_INTERNAL_SERVER_ERROR" | "RETRY_STATE_CANCEL_REQUESTED";
|
|
2797
|
-
export declare const WorkflowExecutionFailedEventAttributesRetryState: any;
|
|
2798
2424
|
export interface WorkflowExecutionFailedEventAttributes {
|
|
2799
2425
|
/** Serialized result of workflow failure (ex: An exception thrown, or error returned) */
|
|
2800
2426
|
failure?: Failure;
|
|
@@ -2804,15 +2430,12 @@ export interface WorkflowExecutionFailedEventAttributes {
|
|
|
2804
2430
|
/** If another run is started by cron or retry, this contains the new run id. */
|
|
2805
2431
|
newExecutionRunId?: string;
|
|
2806
2432
|
}
|
|
2807
|
-
export declare const WorkflowExecutionFailedEventAttributes: S.Schema<WorkflowExecutionFailedEventAttributes>;
|
|
2808
2433
|
export type WorkflowExecutionTimedOutEventAttributesRetryState = "RETRY_STATE_UNSPECIFIED" | "RETRY_STATE_IN_PROGRESS" | "RETRY_STATE_NON_RETRYABLE_FAILURE" | "RETRY_STATE_TIMEOUT" | "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED" | "RETRY_STATE_RETRY_POLICY_NOT_SET" | "RETRY_STATE_INTERNAL_SERVER_ERROR" | "RETRY_STATE_CANCEL_REQUESTED";
|
|
2809
|
-
export declare const WorkflowExecutionTimedOutEventAttributesRetryState: any;
|
|
2810
2434
|
export interface WorkflowExecutionTimedOutEventAttributes {
|
|
2811
2435
|
retryState?: WorkflowExecutionTimedOutEventAttributesRetryState;
|
|
2812
2436
|
/** If another run is started by cron or retry, this contains the new run id. */
|
|
2813
2437
|
newExecutionRunId?: string;
|
|
2814
2438
|
}
|
|
2815
|
-
export declare const WorkflowExecutionTimedOutEventAttributes: S.Schema<WorkflowExecutionTimedOutEventAttributes>;
|
|
2816
2439
|
export interface WorkflowTaskScheduledEventAttributes {
|
|
2817
2440
|
/** The task queue this workflow task was enqueued in, which could be a normal or sticky queue */
|
|
2818
2441
|
taskQueue?: TaskQueue;
|
|
@@ -2821,12 +2444,9 @@ export interface WorkflowTaskScheduledEventAttributes {
|
|
|
2821
2444
|
/** Starting at 1, how many attempts there have been to complete this task */
|
|
2822
2445
|
attempt?: number;
|
|
2823
2446
|
}
|
|
2824
|
-
export declare const WorkflowTaskScheduledEventAttributes: S.Schema<WorkflowTaskScheduledEventAttributes>;
|
|
2825
2447
|
export type WorkflowTaskStartedEventAttributesSuggestContinueAsNewReasonsItem = "SUGGEST_CONTINUE_AS_NEW_REASON_UNSPECIFIED" | "SUGGEST_CONTINUE_AS_NEW_REASON_HISTORY_SIZE_TOO_LARGE" | "SUGGEST_CONTINUE_AS_NEW_REASON_TOO_MANY_HISTORY_EVENTS" | "SUGGEST_CONTINUE_AS_NEW_REASON_TOO_MANY_UPDATES";
|
|
2826
|
-
export declare const WorkflowTaskStartedEventAttributesSuggestContinueAsNewReasonsItem: any;
|
|
2827
2448
|
/** The reason(s) that suggest_continue_as_new is true, if it is. Unset if suggest_continue_as_new is false. */
|
|
2828
2449
|
export type WorkflowTaskStartedEventAttributesSuggestContinueAsNewReasonsList = Array<WorkflowTaskStartedEventAttributesSuggestContinueAsNewReasonsItem>;
|
|
2829
|
-
export declare const WorkflowTaskStartedEventAttributesSuggestContinueAsNewReasonsList: S.Schema<WorkflowTaskStartedEventAttributesSuggestContinueAsNewReasonsList>;
|
|
2830
2450
|
export interface WorkflowTaskStartedEventAttributes {
|
|
2831
2451
|
/** The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to */
|
|
2832
2452
|
scheduledEventId?: string;
|
|
@@ -2847,13 +2467,10 @@ export interface WorkflowTaskStartedEventAttributes {
|
|
|
2847
2467
|
/** Used by server internally to properly reapply build ID redirects to an execution when rebuilding it from events. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] */
|
|
2848
2468
|
buildIdRedirectCounter?: string;
|
|
2849
2469
|
}
|
|
2850
|
-
export declare const WorkflowTaskStartedEventAttributes: S.Schema<WorkflowTaskStartedEventAttributes>;
|
|
2851
2470
|
/** Internal flags used by the core SDK. SDKs using flags must comply with the following behavior: During replay: * If a flag is not recognized (value is too high or not defined), it must fail the workflow task. * If a flag is recognized, it is stored in a set of used flags for the run. Code checks for that flag during and after this WFT are allowed to assume that the flag is present. * If a code check for a flag does not find the flag in the set of used flags, it must take the branch corresponding to the absence of that flag. During non-replay execution of new WFTs: * The SDK is free to use all flags it knows about. It must record any newly-used (IE: not previously recorded) flags when completing the WFT. SDKs which are too old to even know about this field at all are considered to produce undefined behavior if they replay workflows which used this mechanism. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --) */
|
|
2852
2471
|
export type WorkflowTaskCompletedMetadataCoreUsedFlagsList = Array<number>;
|
|
2853
|
-
export declare const WorkflowTaskCompletedMetadataCoreUsedFlagsList: S.Schema<WorkflowTaskCompletedMetadataCoreUsedFlagsList>;
|
|
2854
2472
|
/** Flags used by the SDK lang. No attempt is made to distinguish between different SDK languages here as processing a workflow with a different language than the one which authored it is already undefined behavior. See `core_used_patches` for more. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --) */
|
|
2855
2473
|
export type WorkflowTaskCompletedMetadataLangUsedFlagsList = Array<number>;
|
|
2856
|
-
export declare const WorkflowTaskCompletedMetadataLangUsedFlagsList: S.Schema<WorkflowTaskCompletedMetadataLangUsedFlagsList>;
|
|
2857
2474
|
export interface WorkflowTaskCompletedMetadata {
|
|
2858
2475
|
/** Internal flags used by the core SDK. SDKs using flags must comply with the following behavior: During replay: * If a flag is not recognized (value is too high or not defined), it must fail the workflow task. * If a flag is recognized, it is stored in a set of used flags for the run. Code checks for that flag during and after this WFT are allowed to assume that the flag is present. * If a code check for a flag does not find the flag in the set of used flags, it must take the branch corresponding to the absence of that flag. During non-replay execution of new WFTs: * The SDK is free to use all flags it knows about. It must record any newly-used (IE: not previously recorded) flags when completing the WFT. SDKs which are too old to even know about this field at all are considered to produce undefined behavior if they replay workflows which used this mechanism. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --) */
|
|
2859
2476
|
coreUsedFlags?: WorkflowTaskCompletedMetadataCoreUsedFlagsList;
|
|
@@ -2864,16 +2481,13 @@ export interface WorkflowTaskCompletedMetadata {
|
|
|
2864
2481
|
/** Version of the SDK that processed the task. This is usually something like "1.20.0" and is usually the same as client-version gRPC header. This should only be set if its value changed since the last time recorded on the workflow (or be set on the first task). */
|
|
2865
2482
|
sdkVersion?: string;
|
|
2866
2483
|
}
|
|
2867
|
-
export declare const WorkflowTaskCompletedMetadata: S.Schema<WorkflowTaskCompletedMetadata>;
|
|
2868
2484
|
/** Metadata relevant for metering purposes */
|
|
2869
2485
|
export interface MeteringMetadata {
|
|
2870
2486
|
/** Count of local activities which have begun an execution attempt during this workflow task, and whose first attempt occurred in some previous task. This is used for metering purposes, and does not affect workflow state. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: Negative values make no sense to represent. --) */
|
|
2871
2487
|
nonfirstLocalActivityExecutionAttempts?: number;
|
|
2872
2488
|
}
|
|
2873
|
-
export declare const MeteringMetadata: S.Schema<MeteringMetadata>;
|
|
2874
2489
|
/** Versioning behavior sent by the worker that completed this task for this particular workflow execution. UNSPECIFIED means the task was completed by an unversioned worker. This value updates workflow execution's `versioning_info.behavior`. */
|
|
2875
2490
|
export type WorkflowTaskCompletedEventAttributesVersioningBehavior = "VERSIONING_BEHAVIOR_UNSPECIFIED" | "VERSIONING_BEHAVIOR_PINNED" | "VERSIONING_BEHAVIOR_AUTO_UPGRADE";
|
|
2876
|
-
export declare const WorkflowTaskCompletedEventAttributesVersioningBehavior: any;
|
|
2877
2491
|
export interface WorkflowTaskCompletedEventAttributes {
|
|
2878
2492
|
/** The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to */
|
|
2879
2493
|
scheduledEventId?: string;
|
|
@@ -2900,9 +2514,7 @@ export interface WorkflowTaskCompletedEventAttributes {
|
|
|
2900
2514
|
/** The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` is set. This value updates workflow execution's `versioning_info.deployment_version`. */
|
|
2901
2515
|
deploymentVersion?: WorkerDeploymentVersion;
|
|
2902
2516
|
}
|
|
2903
|
-
export declare const WorkflowTaskCompletedEventAttributes: S.Schema<WorkflowTaskCompletedEventAttributes>;
|
|
2904
2517
|
export type WorkflowTaskTimedOutEventAttributesTimeoutType = "TIMEOUT_TYPE_UNSPECIFIED" | "TIMEOUT_TYPE_START_TO_CLOSE" | "TIMEOUT_TYPE_SCHEDULE_TO_START" | "TIMEOUT_TYPE_SCHEDULE_TO_CLOSE" | "TIMEOUT_TYPE_HEARTBEAT";
|
|
2905
|
-
export declare const WorkflowTaskTimedOutEventAttributesTimeoutType: any;
|
|
2906
2518
|
export interface WorkflowTaskTimedOutEventAttributes {
|
|
2907
2519
|
/** The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to */
|
|
2908
2520
|
scheduledEventId?: string;
|
|
@@ -2910,9 +2522,7 @@ export interface WorkflowTaskTimedOutEventAttributes {
|
|
|
2910
2522
|
startedEventId?: string;
|
|
2911
2523
|
timeoutType?: WorkflowTaskTimedOutEventAttributesTimeoutType;
|
|
2912
2524
|
}
|
|
2913
|
-
export declare const WorkflowTaskTimedOutEventAttributes: S.Schema<WorkflowTaskTimedOutEventAttributes>;
|
|
2914
2525
|
export type WorkflowTaskFailedEventAttributesCause = "WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED" | "WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID" | "WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE" | "WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND" | "WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE" | "WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY" | "WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED" | "WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED" | "WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED" | "WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE" | "WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED" | "WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES" | "WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED" | "WORKFLOW_TASK_FAILED_CAUSE_GRPC_MESSAGE_TOO_LARGE" | "WORKFLOW_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE";
|
|
2915
|
-
export declare const WorkflowTaskFailedEventAttributesCause: any;
|
|
2916
2526
|
export interface WorkflowTaskFailedEventAttributes {
|
|
2917
2527
|
/** The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to */
|
|
2918
2528
|
scheduledEventId?: string;
|
|
@@ -2934,7 +2544,6 @@ export interface WorkflowTaskFailedEventAttributes {
|
|
|
2934
2544
|
/** Version info of the worker who processed this workflow task. If present, the `build_id` field within is also used as `binary_checksum`, which may be omitted in that case (it may also be populated to preserve compatibility). Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] */
|
|
2935
2545
|
workerVersion?: WorkerVersionStamp;
|
|
2936
2546
|
}
|
|
2937
|
-
export declare const WorkflowTaskFailedEventAttributes: S.Schema<WorkflowTaskFailedEventAttributes>;
|
|
2938
2547
|
export interface ActivityTaskScheduledEventAttributes {
|
|
2939
2548
|
/** The worker/user assigned identifier for the activity */
|
|
2940
2549
|
activityId?: string;
|
|
@@ -2959,7 +2568,6 @@ export interface ActivityTaskScheduledEventAttributes {
|
|
|
2959
2568
|
/** Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow. */
|
|
2960
2569
|
priority?: Priority;
|
|
2961
2570
|
}
|
|
2962
|
-
export declare const ActivityTaskScheduledEventAttributes: S.Schema<ActivityTaskScheduledEventAttributes>;
|
|
2963
2571
|
export interface ActivityTaskStartedEventAttributes {
|
|
2964
2572
|
/** The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds to */
|
|
2965
2573
|
scheduledEventId?: string;
|
|
@@ -2976,7 +2584,6 @@ export interface ActivityTaskStartedEventAttributes {
|
|
|
2976
2584
|
/** Used by server internally to properly reapply build ID redirects to an execution when rebuilding it from events. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] */
|
|
2977
2585
|
buildIdRedirectCounter?: string;
|
|
2978
2586
|
}
|
|
2979
|
-
export declare const ActivityTaskStartedEventAttributes: S.Schema<ActivityTaskStartedEventAttributes>;
|
|
2980
2587
|
export interface ActivityTaskCompletedEventAttributes {
|
|
2981
2588
|
/** Serialized results of the activity. IE: The return value of the activity function */
|
|
2982
2589
|
result?: Payloads;
|
|
@@ -2989,9 +2596,7 @@ export interface ActivityTaskCompletedEventAttributes {
|
|
|
2989
2596
|
/** Version info of the worker who processed this workflow task. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] */
|
|
2990
2597
|
workerVersion?: WorkerVersionStamp;
|
|
2991
2598
|
}
|
|
2992
|
-
export declare const ActivityTaskCompletedEventAttributes: S.Schema<ActivityTaskCompletedEventAttributes>;
|
|
2993
2599
|
export type ActivityTaskFailedEventAttributesRetryState = "RETRY_STATE_UNSPECIFIED" | "RETRY_STATE_IN_PROGRESS" | "RETRY_STATE_NON_RETRYABLE_FAILURE" | "RETRY_STATE_TIMEOUT" | "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED" | "RETRY_STATE_RETRY_POLICY_NOT_SET" | "RETRY_STATE_INTERNAL_SERVER_ERROR" | "RETRY_STATE_CANCEL_REQUESTED";
|
|
2994
|
-
export declare const ActivityTaskFailedEventAttributesRetryState: any;
|
|
2995
2600
|
export interface ActivityTaskFailedEventAttributes {
|
|
2996
2601
|
/** Failure details */
|
|
2997
2602
|
failure?: Failure;
|
|
@@ -3005,9 +2610,7 @@ export interface ActivityTaskFailedEventAttributes {
|
|
|
3005
2610
|
/** Version info of the worker who processed this workflow task. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] */
|
|
3006
2611
|
workerVersion?: WorkerVersionStamp;
|
|
3007
2612
|
}
|
|
3008
|
-
export declare const ActivityTaskFailedEventAttributes: S.Schema<ActivityTaskFailedEventAttributes>;
|
|
3009
2613
|
export type ActivityTaskTimedOutEventAttributesRetryState = "RETRY_STATE_UNSPECIFIED" | "RETRY_STATE_IN_PROGRESS" | "RETRY_STATE_NON_RETRYABLE_FAILURE" | "RETRY_STATE_TIMEOUT" | "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED" | "RETRY_STATE_RETRY_POLICY_NOT_SET" | "RETRY_STATE_INTERNAL_SERVER_ERROR" | "RETRY_STATE_CANCEL_REQUESTED";
|
|
3010
|
-
export declare const ActivityTaskTimedOutEventAttributesRetryState: any;
|
|
3011
2614
|
export interface ActivityTaskTimedOutEventAttributes {
|
|
3012
2615
|
/** If this activity had failed, was retried, and then timed out, that failure is stored as the `cause` in here. */
|
|
3013
2616
|
failure?: Failure;
|
|
@@ -3017,7 +2620,6 @@ export interface ActivityTaskTimedOutEventAttributes {
|
|
|
3017
2620
|
startedEventId?: string;
|
|
3018
2621
|
retryState?: ActivityTaskTimedOutEventAttributesRetryState;
|
|
3019
2622
|
}
|
|
3020
|
-
export declare const ActivityTaskTimedOutEventAttributes: S.Schema<ActivityTaskTimedOutEventAttributes>;
|
|
3021
2623
|
export interface TimerStartedEventAttributes {
|
|
3022
2624
|
/** The worker/user assigned id for this timer */
|
|
3023
2625
|
timerId?: string;
|
|
@@ -3026,21 +2628,18 @@ export interface TimerStartedEventAttributes {
|
|
|
3026
2628
|
/** The `WORKFLOW_TASK_COMPLETED` event which this command was reported with */
|
|
3027
2629
|
workflowTaskCompletedEventId?: string;
|
|
3028
2630
|
}
|
|
3029
|
-
export declare const TimerStartedEventAttributes: S.Schema<TimerStartedEventAttributes>;
|
|
3030
2631
|
export interface TimerFiredEventAttributes {
|
|
3031
2632
|
/** Will match the `timer_id` from `TIMER_STARTED` event for this timer */
|
|
3032
2633
|
timerId?: string;
|
|
3033
2634
|
/** The id of the `TIMER_STARTED` event itself */
|
|
3034
2635
|
startedEventId?: string;
|
|
3035
2636
|
}
|
|
3036
|
-
export declare const TimerFiredEventAttributes: S.Schema<TimerFiredEventAttributes>;
|
|
3037
2637
|
export interface ActivityTaskCancelRequestedEventAttributes {
|
|
3038
2638
|
/** The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel request corresponds to */
|
|
3039
2639
|
scheduledEventId?: string;
|
|
3040
2640
|
/** The `WORKFLOW_TASK_COMPLETED` event which this command was reported with */
|
|
3041
2641
|
workflowTaskCompletedEventId?: string;
|
|
3042
2642
|
}
|
|
3043
|
-
export declare const ActivityTaskCancelRequestedEventAttributes: S.Schema<ActivityTaskCancelRequestedEventAttributes>;
|
|
3044
2643
|
export interface ActivityTaskCanceledEventAttributes {
|
|
3045
2644
|
/** Additional information that the activity reported upon confirming cancellation */
|
|
3046
2645
|
details?: Payloads;
|
|
@@ -3055,7 +2654,6 @@ export interface ActivityTaskCanceledEventAttributes {
|
|
|
3055
2654
|
/** Version info of the worker who processed this workflow task. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] */
|
|
3056
2655
|
workerVersion?: WorkerVersionStamp;
|
|
3057
2656
|
}
|
|
3058
|
-
export declare const ActivityTaskCanceledEventAttributes: S.Schema<ActivityTaskCanceledEventAttributes>;
|
|
3059
2657
|
export interface TimerCanceledEventAttributes {
|
|
3060
2658
|
/** Will match the `timer_id` from `TIMER_STARTED` event for this timer */
|
|
3061
2659
|
timerId?: string;
|
|
@@ -3066,12 +2664,10 @@ export interface TimerCanceledEventAttributes {
|
|
|
3066
2664
|
/** The id of the worker who requested this cancel */
|
|
3067
2665
|
identity?: string;
|
|
3068
2666
|
}
|
|
3069
|
-
export declare const TimerCanceledEventAttributes: S.Schema<TimerCanceledEventAttributes>;
|
|
3070
2667
|
/** Serialized information recorded in the marker */
|
|
3071
2668
|
export type MarkerRecordedEventAttributesDetailsMap = {
|
|
3072
2669
|
[key: string]: Payloads | undefined;
|
|
3073
2670
|
};
|
|
3074
|
-
export declare const MarkerRecordedEventAttributesDetailsMap: S.Schema<MarkerRecordedEventAttributesDetailsMap>;
|
|
3075
2671
|
export interface MarkerRecordedEventAttributes {
|
|
3076
2672
|
/** Workers use this to identify the "types" of various markers. Ex: Local activity, side effect. */
|
|
3077
2673
|
markerName?: string;
|
|
@@ -3083,7 +2679,6 @@ export interface MarkerRecordedEventAttributes {
|
|
|
3083
2679
|
/** Some uses of markers, like a local activity, could "fail". If they did that is recorded here. */
|
|
3084
2680
|
failure?: Failure;
|
|
3085
2681
|
}
|
|
3086
|
-
export declare const MarkerRecordedEventAttributes: S.Schema<MarkerRecordedEventAttributes>;
|
|
3087
2682
|
export interface WorkflowExecutionSignaledEventAttributes {
|
|
3088
2683
|
/** The name/type of the signal to fire */
|
|
3089
2684
|
signalName?: string;
|
|
@@ -3100,7 +2695,6 @@ export interface WorkflowExecutionSignaledEventAttributes {
|
|
|
3100
2695
|
/** The request ID of the Signal request, used by the server to attach this to the correct Event ID when generating link. */
|
|
3101
2696
|
requestId?: string;
|
|
3102
2697
|
}
|
|
3103
|
-
export declare const WorkflowExecutionSignaledEventAttributes: S.Schema<WorkflowExecutionSignaledEventAttributes>;
|
|
3104
2698
|
export interface WorkflowExecutionTerminatedEventAttributes {
|
|
3105
2699
|
/** User/client provided reason for termination */
|
|
3106
2700
|
reason?: string;
|
|
@@ -3108,7 +2702,6 @@ export interface WorkflowExecutionTerminatedEventAttributes {
|
|
|
3108
2702
|
/** id of the client who requested termination */
|
|
3109
2703
|
identity?: string;
|
|
3110
2704
|
}
|
|
3111
|
-
export declare const WorkflowExecutionTerminatedEventAttributes: S.Schema<WorkflowExecutionTerminatedEventAttributes>;
|
|
3112
2705
|
export interface WorkflowExecutionCancelRequestedEventAttributes {
|
|
3113
2706
|
/** User provided reason for requesting cancellation */
|
|
3114
2707
|
cause?: string;
|
|
@@ -3118,13 +2711,11 @@ export interface WorkflowExecutionCancelRequestedEventAttributes {
|
|
|
3118
2711
|
/** id of the worker or client who requested this cancel */
|
|
3119
2712
|
identity?: string;
|
|
3120
2713
|
}
|
|
3121
|
-
export declare const WorkflowExecutionCancelRequestedEventAttributes: S.Schema<WorkflowExecutionCancelRequestedEventAttributes>;
|
|
3122
2714
|
export interface WorkflowExecutionCanceledEventAttributes {
|
|
3123
2715
|
/** The `WORKFLOW_TASK_COMPLETED` event which this command was reported with */
|
|
3124
2716
|
workflowTaskCompletedEventId?: string;
|
|
3125
2717
|
details?: Payloads;
|
|
3126
2718
|
}
|
|
3127
|
-
export declare const WorkflowExecutionCanceledEventAttributes: S.Schema<WorkflowExecutionCanceledEventAttributes>;
|
|
3128
2719
|
export interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes {
|
|
3129
2720
|
/** The `WORKFLOW_TASK_COMPLETED` event which this command was reported with */
|
|
3130
2721
|
workflowTaskCompletedEventId?: string;
|
|
@@ -3139,9 +2730,7 @@ export interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
|
|
|
3139
2730
|
/** Reason for requesting the cancellation */
|
|
3140
2731
|
reason?: string;
|
|
3141
2732
|
}
|
|
3142
|
-
export declare const RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: S.Schema<RequestCancelExternalWorkflowExecutionInitiatedEventAttributes>;
|
|
3143
2733
|
export type RequestCancelExternalWorkflowExecutionFailedEventAttributesCause = "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED" | "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND" | "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND";
|
|
3144
|
-
export declare const RequestCancelExternalWorkflowExecutionFailedEventAttributesCause: any;
|
|
3145
2734
|
export interface RequestCancelExternalWorkflowExecutionFailedEventAttributes {
|
|
3146
2735
|
cause?: RequestCancelExternalWorkflowExecutionFailedEventAttributesCause;
|
|
3147
2736
|
/** The `WORKFLOW_TASK_COMPLETED` event which this command was reported with */
|
|
@@ -3155,7 +2744,6 @@ export interface RequestCancelExternalWorkflowExecutionFailedEventAttributes {
|
|
|
3155
2744
|
/** Deprecated. */
|
|
3156
2745
|
control?: string;
|
|
3157
2746
|
}
|
|
3158
|
-
export declare const RequestCancelExternalWorkflowExecutionFailedEventAttributes: S.Schema<RequestCancelExternalWorkflowExecutionFailedEventAttributes>;
|
|
3159
2747
|
export interface ExternalWorkflowExecutionCancelRequestedEventAttributes {
|
|
3160
2748
|
/** id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to */
|
|
3161
2749
|
initiatedEventId?: string;
|
|
@@ -3164,12 +2752,9 @@ export interface ExternalWorkflowExecutionCancelRequestedEventAttributes {
|
|
|
3164
2752
|
namespaceId?: string;
|
|
3165
2753
|
workflowExecution?: WorkflowExecution;
|
|
3166
2754
|
}
|
|
3167
|
-
export declare const ExternalWorkflowExecutionCancelRequestedEventAttributes: S.Schema<ExternalWorkflowExecutionCancelRequestedEventAttributes>;
|
|
3168
2755
|
export type WorkflowExecutionContinuedAsNewEventAttributesInitiator = "CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED" | "CONTINUE_AS_NEW_INITIATOR_WORKFLOW" | "CONTINUE_AS_NEW_INITIATOR_RETRY" | "CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE";
|
|
3169
|
-
export declare const WorkflowExecutionContinuedAsNewEventAttributesInitiator: any;
|
|
3170
2756
|
/** Experimental. Optionally decide the versioning behavior that the first task of the new run should use. For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run. */
|
|
3171
2757
|
export type WorkflowExecutionContinuedAsNewEventAttributesInitialVersioningBehavior = "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED" | "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE" | "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_USE_RAMPING_VERSION";
|
|
3172
|
-
export declare const WorkflowExecutionContinuedAsNewEventAttributesInitialVersioningBehavior: any;
|
|
3173
2758
|
export interface WorkflowExecutionContinuedAsNewEventAttributes {
|
|
3174
2759
|
/** The run ID of the new workflow started by this continue-as-new */
|
|
3175
2760
|
newExecutionRunId?: string;
|
|
@@ -3197,13 +2782,10 @@ export interface WorkflowExecutionContinuedAsNewEventAttributes {
|
|
|
3197
2782
|
/** Experimental. Optionally decide the versioning behavior that the first task of the new run should use. For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run. */
|
|
3198
2783
|
initialVersioningBehavior?: WorkflowExecutionContinuedAsNewEventAttributesInitialVersioningBehavior;
|
|
3199
2784
|
}
|
|
3200
|
-
export declare const WorkflowExecutionContinuedAsNewEventAttributes: S.Schema<WorkflowExecutionContinuedAsNewEventAttributes>;
|
|
3201
2785
|
/** Default: PARENT_CLOSE_POLICY_TERMINATE. */
|
|
3202
2786
|
export type StartChildWorkflowExecutionInitiatedEventAttributesParentClosePolicy = "PARENT_CLOSE_POLICY_UNSPECIFIED" | "PARENT_CLOSE_POLICY_TERMINATE" | "PARENT_CLOSE_POLICY_ABANDON" | "PARENT_CLOSE_POLICY_REQUEST_CANCEL";
|
|
3203
|
-
export declare const StartChildWorkflowExecutionInitiatedEventAttributesParentClosePolicy: any;
|
|
3204
2787
|
/** Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. */
|
|
3205
2788
|
export type StartChildWorkflowExecutionInitiatedEventAttributesWorkflowIdReusePolicy = "WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED" | "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE" | "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY" | "WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE" | "WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING";
|
|
3206
|
-
export declare const StartChildWorkflowExecutionInitiatedEventAttributesWorkflowIdReusePolicy: any;
|
|
3207
2789
|
export interface StartChildWorkflowExecutionInitiatedEventAttributes {
|
|
3208
2790
|
/** Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. */
|
|
3209
2791
|
namespace?: string;
|
|
@@ -3241,9 +2823,7 @@ export interface StartChildWorkflowExecutionInitiatedEventAttributes {
|
|
|
3241
2823
|
/** Propagate the duration skipped to the child workflow. */
|
|
3242
2824
|
initialSkippedDuration?: string;
|
|
3243
2825
|
}
|
|
3244
|
-
export declare const StartChildWorkflowExecutionInitiatedEventAttributes: S.Schema<StartChildWorkflowExecutionInitiatedEventAttributes>;
|
|
3245
2826
|
export type StartChildWorkflowExecutionFailedEventAttributesCause = "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED" | "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS" | "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND";
|
|
3246
|
-
export declare const StartChildWorkflowExecutionFailedEventAttributesCause: any;
|
|
3247
2827
|
export interface StartChildWorkflowExecutionFailedEventAttributes {
|
|
3248
2828
|
/** Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. */
|
|
3249
2829
|
namespace?: string;
|
|
@@ -3258,7 +2838,6 @@ export interface StartChildWorkflowExecutionFailedEventAttributes {
|
|
|
3258
2838
|
/** The `WORKFLOW_TASK_COMPLETED` event which this command was reported with */
|
|
3259
2839
|
workflowTaskCompletedEventId?: string;
|
|
3260
2840
|
}
|
|
3261
|
-
export declare const StartChildWorkflowExecutionFailedEventAttributes: S.Schema<StartChildWorkflowExecutionFailedEventAttributes>;
|
|
3262
2841
|
export interface ChildWorkflowExecutionStartedEventAttributes {
|
|
3263
2842
|
/** Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. */
|
|
3264
2843
|
namespace?: string;
|
|
@@ -3269,7 +2848,6 @@ export interface ChildWorkflowExecutionStartedEventAttributes {
|
|
|
3269
2848
|
workflowType?: WorkflowType;
|
|
3270
2849
|
header?: Header;
|
|
3271
2850
|
}
|
|
3272
|
-
export declare const ChildWorkflowExecutionStartedEventAttributes: S.Schema<ChildWorkflowExecutionStartedEventAttributes>;
|
|
3273
2851
|
export interface ChildWorkflowExecutionCompletedEventAttributes {
|
|
3274
2852
|
result?: Payloads;
|
|
3275
2853
|
/** Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. */
|
|
@@ -3282,9 +2860,7 @@ export interface ChildWorkflowExecutionCompletedEventAttributes {
|
|
|
3282
2860
|
/** Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to */
|
|
3283
2861
|
startedEventId?: string;
|
|
3284
2862
|
}
|
|
3285
|
-
export declare const ChildWorkflowExecutionCompletedEventAttributes: S.Schema<ChildWorkflowExecutionCompletedEventAttributes>;
|
|
3286
2863
|
export type ChildWorkflowExecutionFailedEventAttributesRetryState = "RETRY_STATE_UNSPECIFIED" | "RETRY_STATE_IN_PROGRESS" | "RETRY_STATE_NON_RETRYABLE_FAILURE" | "RETRY_STATE_TIMEOUT" | "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED" | "RETRY_STATE_RETRY_POLICY_NOT_SET" | "RETRY_STATE_INTERNAL_SERVER_ERROR" | "RETRY_STATE_CANCEL_REQUESTED";
|
|
3287
|
-
export declare const ChildWorkflowExecutionFailedEventAttributesRetryState: any;
|
|
3288
2864
|
export interface ChildWorkflowExecutionFailedEventAttributes {
|
|
3289
2865
|
failure?: Failure;
|
|
3290
2866
|
/** Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. */
|
|
@@ -3298,7 +2874,6 @@ export interface ChildWorkflowExecutionFailedEventAttributes {
|
|
|
3298
2874
|
startedEventId?: string;
|
|
3299
2875
|
retryState?: ChildWorkflowExecutionFailedEventAttributesRetryState;
|
|
3300
2876
|
}
|
|
3301
|
-
export declare const ChildWorkflowExecutionFailedEventAttributes: S.Schema<ChildWorkflowExecutionFailedEventAttributes>;
|
|
3302
2877
|
export interface ChildWorkflowExecutionCanceledEventAttributes {
|
|
3303
2878
|
details?: Payloads;
|
|
3304
2879
|
/** Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. */
|
|
@@ -3311,9 +2886,7 @@ export interface ChildWorkflowExecutionCanceledEventAttributes {
|
|
|
3311
2886
|
/** Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to */
|
|
3312
2887
|
startedEventId?: string;
|
|
3313
2888
|
}
|
|
3314
|
-
export declare const ChildWorkflowExecutionCanceledEventAttributes: S.Schema<ChildWorkflowExecutionCanceledEventAttributes>;
|
|
3315
2889
|
export type ChildWorkflowExecutionTimedOutEventAttributesRetryState = "RETRY_STATE_UNSPECIFIED" | "RETRY_STATE_IN_PROGRESS" | "RETRY_STATE_NON_RETRYABLE_FAILURE" | "RETRY_STATE_TIMEOUT" | "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED" | "RETRY_STATE_RETRY_POLICY_NOT_SET" | "RETRY_STATE_INTERNAL_SERVER_ERROR" | "RETRY_STATE_CANCEL_REQUESTED";
|
|
3316
|
-
export declare const ChildWorkflowExecutionTimedOutEventAttributesRetryState: any;
|
|
3317
2890
|
export interface ChildWorkflowExecutionTimedOutEventAttributes {
|
|
3318
2891
|
/** Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. */
|
|
3319
2892
|
namespace?: string;
|
|
@@ -3326,7 +2899,6 @@ export interface ChildWorkflowExecutionTimedOutEventAttributes {
|
|
|
3326
2899
|
startedEventId?: string;
|
|
3327
2900
|
retryState?: ChildWorkflowExecutionTimedOutEventAttributesRetryState;
|
|
3328
2901
|
}
|
|
3329
|
-
export declare const ChildWorkflowExecutionTimedOutEventAttributes: S.Schema<ChildWorkflowExecutionTimedOutEventAttributes>;
|
|
3330
2902
|
export interface ChildWorkflowExecutionTerminatedEventAttributes {
|
|
3331
2903
|
/** Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. */
|
|
3332
2904
|
namespace?: string;
|
|
@@ -3338,7 +2910,6 @@ export interface ChildWorkflowExecutionTerminatedEventAttributes {
|
|
|
3338
2910
|
/** Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to */
|
|
3339
2911
|
startedEventId?: string;
|
|
3340
2912
|
}
|
|
3341
|
-
export declare const ChildWorkflowExecutionTerminatedEventAttributes: S.Schema<ChildWorkflowExecutionTerminatedEventAttributes>;
|
|
3342
2913
|
export interface SignalExternalWorkflowExecutionInitiatedEventAttributes {
|
|
3343
2914
|
/** The `WORKFLOW_TASK_COMPLETED` event which this command was reported with */
|
|
3344
2915
|
workflowTaskCompletedEventId?: string;
|
|
@@ -3356,9 +2927,7 @@ export interface SignalExternalWorkflowExecutionInitiatedEventAttributes {
|
|
|
3356
2927
|
childWorkflowOnly?: boolean;
|
|
3357
2928
|
header?: Header;
|
|
3358
2929
|
}
|
|
3359
|
-
export declare const SignalExternalWorkflowExecutionInitiatedEventAttributes: S.Schema<SignalExternalWorkflowExecutionInitiatedEventAttributes>;
|
|
3360
2930
|
export type SignalExternalWorkflowExecutionFailedEventAttributesCause = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED" | "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND" | "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND" | "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED";
|
|
3361
|
-
export declare const SignalExternalWorkflowExecutionFailedEventAttributesCause: any;
|
|
3362
2931
|
export interface SignalExternalWorkflowExecutionFailedEventAttributes {
|
|
3363
2932
|
cause?: SignalExternalWorkflowExecutionFailedEventAttributesCause;
|
|
3364
2933
|
/** The `WORKFLOW_TASK_COMPLETED` event which this command was reported with */
|
|
@@ -3371,7 +2940,6 @@ export interface SignalExternalWorkflowExecutionFailedEventAttributes {
|
|
|
3371
2940
|
/** Deprecated. */
|
|
3372
2941
|
control?: string;
|
|
3373
2942
|
}
|
|
3374
|
-
export declare const SignalExternalWorkflowExecutionFailedEventAttributes: S.Schema<SignalExternalWorkflowExecutionFailedEventAttributes>;
|
|
3375
2943
|
export interface ExternalWorkflowExecutionSignaledEventAttributes {
|
|
3376
2944
|
/** id of the `SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to */
|
|
3377
2945
|
initiatedEventId?: string;
|
|
@@ -3382,13 +2950,11 @@ export interface ExternalWorkflowExecutionSignaledEventAttributes {
|
|
|
3382
2950
|
/** Deprecated. */
|
|
3383
2951
|
control?: string;
|
|
3384
2952
|
}
|
|
3385
|
-
export declare const ExternalWorkflowExecutionSignaledEventAttributes: S.Schema<ExternalWorkflowExecutionSignaledEventAttributes>;
|
|
3386
2953
|
export interface UpsertWorkflowSearchAttributesEventAttributes {
|
|
3387
2954
|
/** The `WORKFLOW_TASK_COMPLETED` event which this command was reported with */
|
|
3388
2955
|
workflowTaskCompletedEventId?: string;
|
|
3389
2956
|
searchAttributes?: SearchAttributes;
|
|
3390
2957
|
}
|
|
3391
|
-
export declare const UpsertWorkflowSearchAttributesEventAttributes: S.Schema<UpsertWorkflowSearchAttributesEventAttributes>;
|
|
3392
2958
|
/** Metadata about a Workflow Update. */
|
|
3393
2959
|
export interface Meta {
|
|
3394
2960
|
/** An ID with workflow-scoped uniqueness for this Update. */
|
|
@@ -3396,7 +2962,6 @@ export interface Meta {
|
|
|
3396
2962
|
/** A string identifying the agent that requested this Update. */
|
|
3397
2963
|
identity?: string;
|
|
3398
2964
|
}
|
|
3399
|
-
export declare const Meta: S.Schema<Meta>;
|
|
3400
2965
|
export interface Input {
|
|
3401
2966
|
/** Headers that are passed with the Update from the requesting entity. These can include things like auth or tracing tokens. */
|
|
3402
2967
|
header?: Header;
|
|
@@ -3405,13 +2970,11 @@ export interface Input {
|
|
|
3405
2970
|
/** The arguments to pass to the named Update handler. */
|
|
3406
2971
|
args?: Payloads;
|
|
3407
2972
|
}
|
|
3408
|
-
export declare const Input: S.Schema<Input>;
|
|
3409
2973
|
/** The client request that triggers a Workflow Update. */
|
|
3410
2974
|
export interface Request {
|
|
3411
2975
|
meta?: Meta;
|
|
3412
2976
|
input?: Input;
|
|
3413
2977
|
}
|
|
3414
|
-
export declare const Request: S.Schema<Request>;
|
|
3415
2978
|
export interface WorkflowExecutionUpdateAcceptedEventAttributes {
|
|
3416
2979
|
/** The instance ID of the update protocol that generated this event. */
|
|
3417
2980
|
protocolInstanceId?: string;
|
|
@@ -3422,7 +2985,6 @@ export interface WorkflowExecutionUpdateAcceptedEventAttributes {
|
|
|
3422
2985
|
/** The message payload of the original request message that initiated this update. */
|
|
3423
2986
|
acceptedRequest?: Request;
|
|
3424
2987
|
}
|
|
3425
|
-
export declare const WorkflowExecutionUpdateAcceptedEventAttributes: S.Schema<WorkflowExecutionUpdateAcceptedEventAttributes>;
|
|
3426
2988
|
export interface WorkflowExecutionUpdateRejectedEventAttributes {
|
|
3427
2989
|
/** The instance ID of the update protocol that generated this event. */
|
|
3428
2990
|
protocolInstanceId?: string;
|
|
@@ -3435,13 +2997,11 @@ export interface WorkflowExecutionUpdateRejectedEventAttributes {
|
|
|
3435
2997
|
/** The cause of rejection. */
|
|
3436
2998
|
failure?: Failure;
|
|
3437
2999
|
}
|
|
3438
|
-
export declare const WorkflowExecutionUpdateRejectedEventAttributes: S.Schema<WorkflowExecutionUpdateRejectedEventAttributes>;
|
|
3439
3000
|
/** The outcome of a Workflow Update: success or failure. */
|
|
3440
3001
|
export interface Outcome {
|
|
3441
3002
|
success?: Payloads;
|
|
3442
3003
|
failure?: Failure;
|
|
3443
3004
|
}
|
|
3444
|
-
export declare const Outcome: S.Schema<Outcome>;
|
|
3445
3005
|
export interface WorkflowExecutionUpdateCompletedEventAttributes {
|
|
3446
3006
|
/** The metadata about this update. */
|
|
3447
3007
|
meta?: Meta;
|
|
@@ -3450,7 +3010,6 @@ export interface WorkflowExecutionUpdateCompletedEventAttributes {
|
|
|
3450
3010
|
/** The outcome of executing the workflow update function. */
|
|
3451
3011
|
outcome?: Outcome;
|
|
3452
3012
|
}
|
|
3453
|
-
export declare const WorkflowExecutionUpdateCompletedEventAttributes: S.Schema<WorkflowExecutionUpdateCompletedEventAttributes>;
|
|
3454
3013
|
/** Not used anywhere. Use case is replaced by WorkflowExecutionOptionsUpdatedEventAttributes */
|
|
3455
3014
|
export interface WorkflowPropertiesModifiedExternallyEventAttributes {
|
|
3456
3015
|
/** Not used. */
|
|
@@ -3464,36 +3023,30 @@ export interface WorkflowPropertiesModifiedExternallyEventAttributes {
|
|
|
3464
3023
|
/** Not used. */
|
|
3465
3024
|
upsertedMemo?: Memo;
|
|
3466
3025
|
}
|
|
3467
|
-
export declare const WorkflowPropertiesModifiedExternallyEventAttributes: S.Schema<WorkflowPropertiesModifiedExternallyEventAttributes>;
|
|
3468
3026
|
export interface ActivityPropertiesModifiedExternallyEventAttributes {
|
|
3469
3027
|
/** The id of the `ACTIVITY_TASK_SCHEDULED` event this modification corresponds to. */
|
|
3470
3028
|
scheduledEventId?: string;
|
|
3471
3029
|
/** If set, update the retry policy of the activity, replacing it with the specified one. The number of attempts at the activity is preserved. */
|
|
3472
3030
|
newRetryPolicy?: RetryPolicy;
|
|
3473
3031
|
}
|
|
3474
|
-
export declare const ActivityPropertiesModifiedExternallyEventAttributes: S.Schema<ActivityPropertiesModifiedExternallyEventAttributes>;
|
|
3475
3032
|
export interface WorkflowPropertiesModifiedEventAttributes {
|
|
3476
3033
|
/** The `WORKFLOW_TASK_COMPLETED` event which this command was reported with */
|
|
3477
3034
|
workflowTaskCompletedEventId?: string;
|
|
3478
3035
|
/** If set, update the workflow memo with the provided values. The values will be merged with the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted. */
|
|
3479
3036
|
upsertedMemo?: Memo;
|
|
3480
3037
|
}
|
|
3481
|
-
export declare const WorkflowPropertiesModifiedEventAttributes: S.Schema<WorkflowPropertiesModifiedEventAttributes>;
|
|
3482
3038
|
/** An explanation of why this event was written to history. */
|
|
3483
3039
|
export type WorkflowExecutionUpdateAdmittedEventAttributesOrigin = "UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED" | "UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY";
|
|
3484
|
-
export declare const WorkflowExecutionUpdateAdmittedEventAttributesOrigin: any;
|
|
3485
3040
|
export interface WorkflowExecutionUpdateAdmittedEventAttributes {
|
|
3486
3041
|
/** The update request associated with this event. */
|
|
3487
3042
|
request?: Request;
|
|
3488
3043
|
/** An explanation of why this event was written to history. */
|
|
3489
3044
|
origin?: WorkflowExecutionUpdateAdmittedEventAttributesOrigin;
|
|
3490
3045
|
}
|
|
3491
|
-
export declare const WorkflowExecutionUpdateAdmittedEventAttributes: S.Schema<WorkflowExecutionUpdateAdmittedEventAttributes>;
|
|
3492
3046
|
/** Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. */
|
|
3493
3047
|
export type NexusOperationScheduledEventAttributesNexusHeaderMap = {
|
|
3494
3048
|
[key: string]: string | undefined;
|
|
3495
3049
|
};
|
|
3496
|
-
export declare const NexusOperationScheduledEventAttributesNexusHeaderMap: S.Schema<NexusOperationScheduledEventAttributesNexusHeaderMap>;
|
|
3497
3050
|
/** Event marking that an operation was scheduled by a workflow via the ScheduleNexusOperation command. */
|
|
3498
3051
|
export interface NexusOperationScheduledEventAttributes {
|
|
3499
3052
|
/** Endpoint name, must exist in the endpoint registry. */
|
|
@@ -3519,7 +3072,6 @@ export interface NexusOperationScheduledEventAttributes {
|
|
|
3519
3072
|
/** Start-to-close timeout for this operation. See ScheduleNexusOperationCommandAttributes.start_to_close_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) */
|
|
3520
3073
|
startToCloseTimeout?: string;
|
|
3521
3074
|
}
|
|
3522
|
-
export declare const NexusOperationScheduledEventAttributes: S.Schema<NexusOperationScheduledEventAttributes>;
|
|
3523
3075
|
/** Event marking an asynchronous operation was started by the responding Nexus handler. If the operation completes synchronously, this event is not generated. In rare situations, such as request timeouts, the service may fail to record the actual start time and will fabricate this event upon receiving the operation completion via callback. */
|
|
3524
3076
|
export interface NexusOperationStartedEventAttributes {
|
|
3525
3077
|
/** The ID of the `NEXUS_OPERATION_SCHEDULED` event this task corresponds to. */
|
|
@@ -3531,7 +3083,6 @@ export interface NexusOperationStartedEventAttributes {
|
|
|
3531
3083
|
/** The operation token returned by the Nexus handler in the response to the StartOperation request. This token is used when canceling the operation. */
|
|
3532
3084
|
operationToken?: string;
|
|
3533
3085
|
}
|
|
3534
|
-
export declare const NexusOperationStartedEventAttributes: S.Schema<NexusOperationStartedEventAttributes>;
|
|
3535
3086
|
/** Nexus operation completed successfully. */
|
|
3536
3087
|
export interface NexusOperationCompletedEventAttributes {
|
|
3537
3088
|
/** The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation. */
|
|
@@ -3541,7 +3092,6 @@ export interface NexusOperationCompletedEventAttributes {
|
|
|
3541
3092
|
/** The request ID allocated at schedule time. */
|
|
3542
3093
|
requestId?: string;
|
|
3543
3094
|
}
|
|
3544
|
-
export declare const NexusOperationCompletedEventAttributes: S.Schema<NexusOperationCompletedEventAttributes>;
|
|
3545
3095
|
/** Nexus operation failed. */
|
|
3546
3096
|
export interface NexusOperationFailedEventAttributes {
|
|
3547
3097
|
/** The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation. */
|
|
@@ -3551,7 +3101,6 @@ export interface NexusOperationFailedEventAttributes {
|
|
|
3551
3101
|
/** The request ID allocated at schedule time. */
|
|
3552
3102
|
requestId?: string;
|
|
3553
3103
|
}
|
|
3554
|
-
export declare const NexusOperationFailedEventAttributes: S.Schema<NexusOperationFailedEventAttributes>;
|
|
3555
3104
|
/** Nexus operation completed as canceled. May or may not have been due to a cancellation request by the workflow. */
|
|
3556
3105
|
export interface NexusOperationCanceledEventAttributes {
|
|
3557
3106
|
/** The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation. */
|
|
@@ -3561,7 +3110,6 @@ export interface NexusOperationCanceledEventAttributes {
|
|
|
3561
3110
|
/** The request ID allocated at schedule time. */
|
|
3562
3111
|
requestId?: string;
|
|
3563
3112
|
}
|
|
3564
|
-
export declare const NexusOperationCanceledEventAttributes: S.Schema<NexusOperationCanceledEventAttributes>;
|
|
3565
3113
|
/** Nexus operation timed out. */
|
|
3566
3114
|
export interface NexusOperationTimedOutEventAttributes {
|
|
3567
3115
|
/** The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation. */
|
|
@@ -3571,17 +3119,14 @@ export interface NexusOperationTimedOutEventAttributes {
|
|
|
3571
3119
|
/** The request ID allocated at schedule time. */
|
|
3572
3120
|
requestId?: string;
|
|
3573
3121
|
}
|
|
3574
|
-
export declare const NexusOperationTimedOutEventAttributes: S.Schema<NexusOperationTimedOutEventAttributes>;
|
|
3575
3122
|
export interface NexusOperationCancelRequestedEventAttributes {
|
|
3576
3123
|
/** The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to. */
|
|
3577
3124
|
scheduledEventId?: string;
|
|
3578
3125
|
/** The `WORKFLOW_TASK_COMPLETED` event that the corresponding RequestCancelNexusOperation command was reported with. */
|
|
3579
3126
|
workflowTaskCompletedEventId?: string;
|
|
3580
3127
|
}
|
|
3581
|
-
export declare const NexusOperationCancelRequestedEventAttributes: S.Schema<NexusOperationCancelRequestedEventAttributes>;
|
|
3582
3128
|
/** Completion callbacks attached to the running workflow execution. */
|
|
3583
3129
|
export type WorkflowExecutionOptionsUpdatedEventAttributesAttachedCompletionCallbacksList = Array<Callback>;
|
|
3584
|
-
export declare const WorkflowExecutionOptionsUpdatedEventAttributesAttachedCompletionCallbacksList: S.Schema<WorkflowExecutionOptionsUpdatedEventAttributesAttachedCompletionCallbacksList>;
|
|
3585
3130
|
export interface WorkflowExecutionOptionsUpdatedEventAttributes {
|
|
3586
3131
|
/** Versioning override upserted in this event. Ignored if nil or if unset_versioning_override is true. */
|
|
3587
3132
|
versioningOverride?: VersioningOverride;
|
|
@@ -3598,7 +3143,6 @@ export interface WorkflowExecutionOptionsUpdatedEventAttributes {
|
|
|
3598
3143
|
/** If set, the time-skipping configuration was changed. Contains the full updated configuration. */
|
|
3599
3144
|
timeSkippingConfig?: TimeSkippingConfig;
|
|
3600
3145
|
}
|
|
3601
|
-
export declare const WorkflowExecutionOptionsUpdatedEventAttributes: S.Schema<WorkflowExecutionOptionsUpdatedEventAttributes>;
|
|
3602
3146
|
export interface NexusOperationCancelRequestCompletedEventAttributes {
|
|
3603
3147
|
/** The ID of the `NEXUS_OPERATION_CANCEL_REQUESTED` event. */
|
|
3604
3148
|
requestedEventId?: string;
|
|
@@ -3607,7 +3151,6 @@ export interface NexusOperationCancelRequestCompletedEventAttributes {
|
|
|
3607
3151
|
/** The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to. */
|
|
3608
3152
|
scheduledEventId?: string;
|
|
3609
3153
|
}
|
|
3610
|
-
export declare const NexusOperationCancelRequestCompletedEventAttributes: S.Schema<NexusOperationCancelRequestCompletedEventAttributes>;
|
|
3611
3154
|
export interface NexusOperationCancelRequestFailedEventAttributes {
|
|
3612
3155
|
/** The ID of the `NEXUS_OPERATION_CANCEL_REQUESTED` event. */
|
|
3613
3156
|
requestedEventId?: string;
|
|
@@ -3618,7 +3161,6 @@ export interface NexusOperationCancelRequestFailedEventAttributes {
|
|
|
3618
3161
|
/** The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to. */
|
|
3619
3162
|
scheduledEventId?: string;
|
|
3620
3163
|
}
|
|
3621
|
-
export declare const NexusOperationCancelRequestFailedEventAttributes: S.Schema<NexusOperationCancelRequestFailedEventAttributes>;
|
|
3622
3164
|
/** Attributes for an event marking that a workflow execution was paused. */
|
|
3623
3165
|
export interface WorkflowExecutionPausedEventAttributes {
|
|
3624
3166
|
/** The identity of the client who paused the workflow execution. */
|
|
@@ -3628,7 +3170,6 @@ export interface WorkflowExecutionPausedEventAttributes {
|
|
|
3628
3170
|
/** The request ID of the request that paused the workflow execution. */
|
|
3629
3171
|
requestId?: string;
|
|
3630
3172
|
}
|
|
3631
|
-
export declare const WorkflowExecutionPausedEventAttributes: S.Schema<WorkflowExecutionPausedEventAttributes>;
|
|
3632
3173
|
/** Attributes for an event marking that a workflow execution was unpaused. */
|
|
3633
3174
|
export interface WorkflowExecutionUnpausedEventAttributes {
|
|
3634
3175
|
/** The identity of the client who unpaused the workflow execution. */
|
|
@@ -3638,7 +3179,6 @@ export interface WorkflowExecutionUnpausedEventAttributes {
|
|
|
3638
3179
|
/** The request ID of the request that unpaused the workflow execution. */
|
|
3639
3180
|
requestId?: string;
|
|
3640
3181
|
}
|
|
3641
|
-
export declare const WorkflowExecutionUnpausedEventAttributes: S.Schema<WorkflowExecutionUnpausedEventAttributes>;
|
|
3642
3182
|
/** Attributes for an event indicating that time skipping state changed for a workflow execution, either time was advanced or time skipping was disabled automatically due to a bound being reached. The worker_may_ignore field in HistoryEvent should always be set true for this event. */
|
|
3643
3183
|
export interface WorkflowExecutionTimeSkippingTransitionedEventAttributes {
|
|
3644
3184
|
/** The virtual time after time skipping was applied. */
|
|
@@ -3648,7 +3188,6 @@ export interface WorkflowExecutionTimeSkippingTransitionedEventAttributes {
|
|
|
3648
3188
|
/** The wall-clock time when the time-skipping state changed event was generated. */
|
|
3649
3189
|
wallClockTime?: string;
|
|
3650
3190
|
}
|
|
3651
|
-
export declare const WorkflowExecutionTimeSkippingTransitionedEventAttributes: S.Schema<WorkflowExecutionTimeSkippingTransitionedEventAttributes>;
|
|
3652
3191
|
/** History events are the method by which Temporal SDKs advance (or recreate) workflow state. See the `EventType` enum for more info about what each event is for. */
|
|
3653
3192
|
export interface HistoryEvent {
|
|
3654
3193
|
/** Monotonically increasing event number, starts at 1. */
|
|
@@ -3728,23 +3267,17 @@ export interface HistoryEvent {
|
|
|
3728
3267
|
workflowExecutionUnpausedEventAttributes?: WorkflowExecutionUnpausedEventAttributes;
|
|
3729
3268
|
workflowExecutionTimeSkippingTransitionedEventAttributes?: WorkflowExecutionTimeSkippingTransitionedEventAttributes;
|
|
3730
3269
|
}
|
|
3731
|
-
export declare const HistoryEvent: S.Schema<HistoryEvent>;
|
|
3732
3270
|
export type HistoryEventsList = Array<HistoryEvent>;
|
|
3733
|
-
export declare const HistoryEventsList: S.Schema<HistoryEventsList>;
|
|
3734
3271
|
export interface History {
|
|
3735
3272
|
events?: HistoryEventsList;
|
|
3736
3273
|
}
|
|
3737
|
-
export declare const History: S.Schema<History>;
|
|
3738
3274
|
export type DataBlobEncodingType = "ENCODING_TYPE_UNSPECIFIED" | "ENCODING_TYPE_PROTO3" | "ENCODING_TYPE_JSON";
|
|
3739
|
-
export declare const DataBlobEncodingType: any;
|
|
3740
3275
|
export interface DataBlob {
|
|
3741
3276
|
encodingType?: DataBlobEncodingType;
|
|
3742
3277
|
data?: string;
|
|
3743
3278
|
}
|
|
3744
|
-
export declare const DataBlob: S.Schema<DataBlob>;
|
|
3745
3279
|
/** Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set. */
|
|
3746
3280
|
export type GetWorkflowExecutionHistoryResponseRawHistoryList = Array<DataBlob>;
|
|
3747
|
-
export declare const GetWorkflowExecutionHistoryResponseRawHistoryList: S.Schema<GetWorkflowExecutionHistoryResponseRawHistoryList>;
|
|
3748
3281
|
export interface GetWorkflowExecutionHistoryResponse {
|
|
3749
3282
|
history?: History;
|
|
3750
3283
|
/** Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set. */
|
|
@@ -3753,7 +3286,6 @@ export interface GetWorkflowExecutionHistoryResponse {
|
|
|
3753
3286
|
nextPageToken?: string;
|
|
3754
3287
|
archived?: boolean;
|
|
3755
3288
|
}
|
|
3756
|
-
export declare const GetWorkflowExecutionHistoryResponse: S.Schema<GetWorkflowExecutionHistoryResponse>;
|
|
3757
3289
|
export interface GetWorkflowExecutionHistoryReverseRequest {
|
|
3758
3290
|
namespace: string;
|
|
3759
3291
|
execution_workflow_id: string;
|
|
@@ -3762,13 +3294,11 @@ export interface GetWorkflowExecutionHistoryReverseRequest {
|
|
|
3762
3294
|
maximumPageSize?: number;
|
|
3763
3295
|
nextPageToken?: string;
|
|
3764
3296
|
}
|
|
3765
|
-
export declare const GetWorkflowExecutionHistoryReverseRequest: S.Schema<GetWorkflowExecutionHistoryReverseRequest>;
|
|
3766
3297
|
export interface GetWorkflowExecutionHistoryReverseResponse {
|
|
3767
3298
|
history?: History;
|
|
3768
3299
|
/** Will be set if there are more history events than were included in this response */
|
|
3769
3300
|
nextPageToken?: string;
|
|
3770
3301
|
}
|
|
3771
|
-
export declare const GetWorkflowExecutionHistoryReverseResponse: S.Schema<GetWorkflowExecutionHistoryReverseResponse>;
|
|
3772
3302
|
export interface ListActivityExecutionsRequest {
|
|
3773
3303
|
namespace: string;
|
|
3774
3304
|
/** Max number of executions to return per page. */
|
|
@@ -3778,10 +3308,8 @@ export interface ListActivityExecutionsRequest {
|
|
|
3778
3308
|
/** Visibility query, see https://docs.temporal.io/list-filter for the syntax. */
|
|
3779
3309
|
query?: string;
|
|
3780
3310
|
}
|
|
3781
|
-
export declare const ListActivityExecutionsRequest: S.Schema<ListActivityExecutionsRequest>;
|
|
3782
3311
|
/** Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not available in the list response. */
|
|
3783
3312
|
export type ActivityExecutionListInfoStatus = "ACTIVITY_EXECUTION_STATUS_UNSPECIFIED" | "ACTIVITY_EXECUTION_STATUS_RUNNING" | "ACTIVITY_EXECUTION_STATUS_COMPLETED" | "ACTIVITY_EXECUTION_STATUS_FAILED" | "ACTIVITY_EXECUTION_STATUS_CANCELED" | "ACTIVITY_EXECUTION_STATUS_TERMINATED" | "ACTIVITY_EXECUTION_STATUS_TIMED_OUT";
|
|
3784
|
-
export declare const ActivityExecutionListInfoStatus: any;
|
|
3785
3313
|
/** Limited activity information returned in the list response. When adding fields here, ensure that it is also present in ActivityExecutionInfo (note that it may already be present in ActivityExecutionInfo but not at the top-level). */
|
|
3786
3314
|
export interface ActivityExecutionListInfo {
|
|
3787
3315
|
/** A unique identifier of this activity within its namespace along with run ID (below). */
|
|
@@ -3807,29 +3335,23 @@ export interface ActivityExecutionListInfo {
|
|
|
3807
3335
|
/** The difference between close time and scheduled time. This field is only populated if the activity is closed. */
|
|
3808
3336
|
executionDuration?: string;
|
|
3809
3337
|
}
|
|
3810
|
-
export declare const ActivityExecutionListInfo: S.Schema<ActivityExecutionListInfo>;
|
|
3811
3338
|
export type ListActivityExecutionsResponseExecutionsList = Array<ActivityExecutionListInfo>;
|
|
3812
|
-
export declare const ListActivityExecutionsResponseExecutionsList: S.Schema<ListActivityExecutionsResponseExecutionsList>;
|
|
3813
3339
|
export interface ListActivityExecutionsResponse {
|
|
3814
3340
|
executions?: ListActivityExecutionsResponseExecutionsList;
|
|
3815
3341
|
/** Token to use to fetch the next page. If empty, there is no next page. */
|
|
3816
3342
|
nextPageToken?: string;
|
|
3817
3343
|
}
|
|
3818
|
-
export declare const ListActivityExecutionsResponse: S.Schema<ListActivityExecutionsResponse>;
|
|
3819
3344
|
export interface ListArchivedWorkflowExecutionsRequest {
|
|
3820
3345
|
namespace: string;
|
|
3821
3346
|
pageSize?: number;
|
|
3822
3347
|
nextPageToken?: string;
|
|
3823
3348
|
query?: string;
|
|
3824
3349
|
}
|
|
3825
|
-
export declare const ListArchivedWorkflowExecutionsRequest: S.Schema<ListArchivedWorkflowExecutionsRequest>;
|
|
3826
3350
|
export type ListArchivedWorkflowExecutionsResponseExecutionsList = Array<WorkflowExecutionInfo>;
|
|
3827
|
-
export declare const ListArchivedWorkflowExecutionsResponseExecutionsList: S.Schema<ListArchivedWorkflowExecutionsResponseExecutionsList>;
|
|
3828
3351
|
export interface ListArchivedWorkflowExecutionsResponse {
|
|
3829
3352
|
executions?: ListArchivedWorkflowExecutionsResponseExecutionsList;
|
|
3830
3353
|
nextPageToken?: string;
|
|
3831
3354
|
}
|
|
3832
|
-
export declare const ListArchivedWorkflowExecutionsResponse: S.Schema<ListArchivedWorkflowExecutionsResponse>;
|
|
3833
3355
|
export interface ListBatchOperationsRequest {
|
|
3834
3356
|
/** Namespace that contains the batch operation */
|
|
3835
3357
|
namespace: string;
|
|
@@ -3838,10 +3360,8 @@ export interface ListBatchOperationsRequest {
|
|
|
3838
3360
|
/** Next page token */
|
|
3839
3361
|
nextPageToken?: string;
|
|
3840
3362
|
}
|
|
3841
|
-
export declare const ListBatchOperationsRequest: S.Schema<ListBatchOperationsRequest>;
|
|
3842
3363
|
/** Batch operation state */
|
|
3843
3364
|
export type BatchOperationInfoState = "BATCH_OPERATION_STATE_UNSPECIFIED" | "BATCH_OPERATION_STATE_RUNNING" | "BATCH_OPERATION_STATE_COMPLETED" | "BATCH_OPERATION_STATE_FAILED";
|
|
3844
|
-
export declare const BatchOperationInfoState: any;
|
|
3845
3365
|
export interface BatchOperationInfo {
|
|
3846
3366
|
/** Batch job ID */
|
|
3847
3367
|
jobId?: string;
|
|
@@ -3852,16 +3372,13 @@ export interface BatchOperationInfo {
|
|
|
3852
3372
|
/** Batch operation close time */
|
|
3853
3373
|
closeTime?: string;
|
|
3854
3374
|
}
|
|
3855
|
-
export declare const BatchOperationInfo: S.Schema<BatchOperationInfo>;
|
|
3856
3375
|
/** BatchOperationInfo contains the basic info about batch operation */
|
|
3857
3376
|
export type ListBatchOperationsResponseOperationInfoList = Array<BatchOperationInfo>;
|
|
3858
|
-
export declare const ListBatchOperationsResponseOperationInfoList: S.Schema<ListBatchOperationsResponseOperationInfoList>;
|
|
3859
3377
|
export interface ListBatchOperationsResponse {
|
|
3860
3378
|
/** BatchOperationInfo contains the basic info about batch operation */
|
|
3861
3379
|
operationInfo?: ListBatchOperationsResponseOperationInfoList;
|
|
3862
3380
|
nextPageToken?: string;
|
|
3863
3381
|
}
|
|
3864
|
-
export declare const ListBatchOperationsResponse: S.Schema<ListBatchOperationsResponse>;
|
|
3865
3382
|
export interface ListDeploymentsRequest {
|
|
3866
3383
|
namespace: string;
|
|
3867
3384
|
pageSize?: number;
|
|
@@ -3869,7 +3386,6 @@ export interface ListDeploymentsRequest {
|
|
|
3869
3386
|
/** Optional. Use to filter based on exact series name match. */
|
|
3870
3387
|
seriesName?: string;
|
|
3871
3388
|
}
|
|
3872
|
-
export declare const ListDeploymentsRequest: S.Schema<ListDeploymentsRequest>;
|
|
3873
3389
|
/** DeploymentListInfo is an abbreviated set of fields from DeploymentInfo that's returned in ListDeployments. Deprecated. */
|
|
3874
3390
|
export interface DeploymentListInfo {
|
|
3875
3391
|
deployment?: Deployment;
|
|
@@ -3877,29 +3393,23 @@ export interface DeploymentListInfo {
|
|
|
3877
3393
|
/** If this deployment is the current deployment of its deployment series. */
|
|
3878
3394
|
isCurrent?: boolean;
|
|
3879
3395
|
}
|
|
3880
|
-
export declare const DeploymentListInfo: S.Schema<DeploymentListInfo>;
|
|
3881
3396
|
export type ListDeploymentsResponseDeploymentsList = Array<DeploymentListInfo>;
|
|
3882
|
-
export declare const ListDeploymentsResponseDeploymentsList: S.Schema<ListDeploymentsResponseDeploymentsList>;
|
|
3883
3397
|
/** [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later */
|
|
3884
3398
|
export interface ListDeploymentsResponse {
|
|
3885
3399
|
nextPageToken?: string;
|
|
3886
3400
|
deployments?: ListDeploymentsResponseDeploymentsList;
|
|
3887
3401
|
}
|
|
3888
|
-
export declare const ListDeploymentsResponse: S.Schema<ListDeploymentsResponse>;
|
|
3889
3402
|
export interface ListNamespacesRequest {
|
|
3890
3403
|
pageSize?: number;
|
|
3891
3404
|
nextPageToken?: string;
|
|
3892
3405
|
/** By default namespaces in NAMESPACE_STATE_DELETED state are not included. Setting include_deleted to true will include deleted namespaces. Note: Namespace is in NAMESPACE_STATE_DELETED state when it was deleted from the system but associated data is not deleted yet. */
|
|
3893
3406
|
namespaceFilter_includeDeleted?: boolean;
|
|
3894
3407
|
}
|
|
3895
|
-
export declare const ListNamespacesRequest: S.Schema<ListNamespacesRequest>;
|
|
3896
3408
|
export type ListNamespacesResponseNamespacesList = Array<DescribeNamespaceResponse>;
|
|
3897
|
-
export declare const ListNamespacesResponseNamespacesList: S.Schema<ListNamespacesResponseNamespacesList>;
|
|
3898
3409
|
export interface ListNamespacesResponse {
|
|
3899
3410
|
namespaces?: ListNamespacesResponseNamespacesList;
|
|
3900
3411
|
nextPageToken?: string;
|
|
3901
3412
|
}
|
|
3902
|
-
export declare const ListNamespacesResponse: S.Schema<ListNamespacesResponse>;
|
|
3903
3413
|
export interface ListNexusEndpointsRequest {
|
|
3904
3414
|
pageSize?: number;
|
|
3905
3415
|
/** To get the next page, pass in `ListNexusEndpointsResponse.next_page_token` from the previous page's response, the token will be empty if there's no other page. Note: the last page may be empty if the total number of endpoints registered is a multiple of the page size. */
|
|
@@ -3907,15 +3417,12 @@ export interface ListNexusEndpointsRequest {
|
|
|
3907
3417
|
/** Name of the incoming endpoint to filter on - optional. Specifying this will result in zero or one results. (-- api-linter: core::203::field-behavior-required=disabled aip.dev/not-precedent: Not following linter rules. --) */
|
|
3908
3418
|
name?: string;
|
|
3909
3419
|
}
|
|
3910
|
-
export declare const ListNexusEndpointsRequest: S.Schema<ListNexusEndpointsRequest>;
|
|
3911
3420
|
export type ListNexusEndpointsResponseEndpointsList = Array<Endpoint>;
|
|
3912
|
-
export declare const ListNexusEndpointsResponseEndpointsList: S.Schema<ListNexusEndpointsResponseEndpointsList>;
|
|
3913
3421
|
export interface ListNexusEndpointsResponse {
|
|
3914
3422
|
/** Token for getting the next page. */
|
|
3915
3423
|
nextPageToken?: string;
|
|
3916
3424
|
endpoints?: ListNexusEndpointsResponseEndpointsList;
|
|
3917
3425
|
}
|
|
3918
|
-
export declare const ListNexusEndpointsResponse: S.Schema<ListNexusEndpointsResponse>;
|
|
3919
3426
|
export interface ListNexusOperationExecutionsRequest {
|
|
3920
3427
|
namespace: string;
|
|
3921
3428
|
/** Max number of operations to return per page. */
|
|
@@ -3925,10 +3432,8 @@ export interface ListNexusOperationExecutionsRequest {
|
|
|
3925
3432
|
/** Visibility query, see https://docs.temporal.io/list-filter for the syntax. Search attributes that are avaialble for Nexus operations include: - OperationId - RunId - Endpoint - Service - Operation - RequestId - StartTime - ExecutionTime - CloseTime - ExecutionStatus - ExecutionDuration - StateTransitionCount */
|
|
3926
3433
|
query?: string;
|
|
3927
3434
|
}
|
|
3928
|
-
export declare const ListNexusOperationExecutionsRequest: S.Schema<ListNexusOperationExecutionsRequest>;
|
|
3929
3435
|
/** The status is updated once, when the operation is originally scheduled, and again when the operation reaches a terminal status. */
|
|
3930
3436
|
export type NexusOperationExecutionListInfoStatus = "NEXUS_OPERATION_EXECUTION_STATUS_UNSPECIFIED" | "NEXUS_OPERATION_EXECUTION_STATUS_RUNNING" | "NEXUS_OPERATION_EXECUTION_STATUS_COMPLETED" | "NEXUS_OPERATION_EXECUTION_STATUS_FAILED" | "NEXUS_OPERATION_EXECUTION_STATUS_CANCELED" | "NEXUS_OPERATION_EXECUTION_STATUS_TERMINATED" | "NEXUS_OPERATION_EXECUTION_STATUS_TIMED_OUT";
|
|
3931
|
-
export declare const NexusOperationExecutionListInfoStatus: any;
|
|
3932
3437
|
/** Limited Nexus operation information returned in the list response. When adding fields here, ensure that it is also present in NexusOperationExecutionInfo (note that it may already be present in NexusOperationExecutionInfo but not at the top-level). */
|
|
3933
3438
|
export interface NexusOperationExecutionListInfo {
|
|
3934
3439
|
/** A unique identifier of this operation within its namespace along with run ID (below). */
|
|
@@ -3954,15 +3459,12 @@ export interface NexusOperationExecutionListInfo {
|
|
|
3954
3459
|
/** The difference between close time and scheduled time. This field is only populated if the operation is closed. */
|
|
3955
3460
|
executionDuration?: string;
|
|
3956
3461
|
}
|
|
3957
|
-
export declare const NexusOperationExecutionListInfo: S.Schema<NexusOperationExecutionListInfo>;
|
|
3958
3462
|
export type ListNexusOperationExecutionsResponseOperationsList = Array<NexusOperationExecutionListInfo>;
|
|
3959
|
-
export declare const ListNexusOperationExecutionsResponseOperationsList: S.Schema<ListNexusOperationExecutionsResponseOperationsList>;
|
|
3960
3463
|
export interface ListNexusOperationExecutionsResponse {
|
|
3961
3464
|
operations?: ListNexusOperationExecutionsResponseOperationsList;
|
|
3962
3465
|
/** Token to use to fetch the next page. If empty, there is no next page. */
|
|
3963
3466
|
nextPageToken?: string;
|
|
3964
3467
|
}
|
|
3965
|
-
export declare const ListNexusOperationExecutionsResponse: S.Schema<ListNexusOperationExecutionsResponse>;
|
|
3966
3468
|
export interface ListScheduleMatchingTimesRequest {
|
|
3967
3469
|
/** The namespace of the schedule to query. */
|
|
3968
3470
|
namespace: string;
|
|
@@ -3972,13 +3474,10 @@ export interface ListScheduleMatchingTimesRequest {
|
|
|
3972
3474
|
startTime?: string;
|
|
3973
3475
|
endTime?: string;
|
|
3974
3476
|
}
|
|
3975
|
-
export declare const ListScheduleMatchingTimesRequest: S.Schema<ListScheduleMatchingTimesRequest>;
|
|
3976
3477
|
export type ListScheduleMatchingTimesResponseStartTimeList = Array<string>;
|
|
3977
|
-
export declare const ListScheduleMatchingTimesResponseStartTimeList: S.Schema<ListScheduleMatchingTimesResponseStartTimeList>;
|
|
3978
3478
|
export interface ListScheduleMatchingTimesResponse {
|
|
3979
3479
|
startTime?: ListScheduleMatchingTimesResponseStartTimeList;
|
|
3980
3480
|
}
|
|
3981
|
-
export declare const ListScheduleMatchingTimesResponse: S.Schema<ListScheduleMatchingTimesResponse>;
|
|
3982
3481
|
export interface ListSchedulesRequest {
|
|
3983
3482
|
/** The namespace to list schedules in. */
|
|
3984
3483
|
namespace: string;
|
|
@@ -3989,12 +3488,9 @@ export interface ListSchedulesRequest {
|
|
|
3989
3488
|
/** Query to filter schedules. */
|
|
3990
3489
|
query?: string;
|
|
3991
3490
|
}
|
|
3992
|
-
export declare const ListSchedulesRequest: S.Schema<ListSchedulesRequest>;
|
|
3993
3491
|
/** From info (maybe fewer entries): */
|
|
3994
3492
|
export type ScheduleListInfoRecentActionsList = Array<ScheduleActionResult>;
|
|
3995
|
-
export declare const ScheduleListInfoRecentActionsList: S.Schema<ScheduleListInfoRecentActionsList>;
|
|
3996
3493
|
export type ScheduleListInfoFutureActionTimesList = Array<string>;
|
|
3997
|
-
export declare const ScheduleListInfoFutureActionTimesList: S.Schema<ScheduleListInfoFutureActionTimesList>;
|
|
3998
3494
|
/** ScheduleListInfo is an abbreviated set of values from Schedule and ScheduleInfo that's returned in ListSchedules. */
|
|
3999
3495
|
export interface ScheduleListInfo {
|
|
4000
3496
|
/** From spec: Some fields are dropped from this copy of spec: timezone_data */
|
|
@@ -4008,7 +3504,6 @@ export interface ScheduleListInfo {
|
|
|
4008
3504
|
recentActions?: ScheduleListInfoRecentActionsList;
|
|
4009
3505
|
futureActionTimes?: ScheduleListInfoFutureActionTimesList;
|
|
4010
3506
|
}
|
|
4011
|
-
export declare const ScheduleListInfo: S.Schema<ScheduleListInfo>;
|
|
4012
3507
|
/** ScheduleListEntry is returned by ListSchedules. */
|
|
4013
3508
|
export interface ScheduleListEntry {
|
|
4014
3509
|
scheduleId?: string;
|
|
@@ -4016,37 +3511,28 @@ export interface ScheduleListEntry {
|
|
|
4016
3511
|
searchAttributes?: SearchAttributes;
|
|
4017
3512
|
info?: ScheduleListInfo;
|
|
4018
3513
|
}
|
|
4019
|
-
export declare const ScheduleListEntry: S.Schema<ScheduleListEntry>;
|
|
4020
3514
|
export type ListSchedulesResponseSchedulesList = Array<ScheduleListEntry>;
|
|
4021
|
-
export declare const ListSchedulesResponseSchedulesList: S.Schema<ListSchedulesResponseSchedulesList>;
|
|
4022
3515
|
export interface ListSchedulesResponse {
|
|
4023
3516
|
schedules?: ListSchedulesResponseSchedulesList;
|
|
4024
3517
|
nextPageToken?: string;
|
|
4025
3518
|
}
|
|
4026
|
-
export declare const ListSchedulesResponse: S.Schema<ListSchedulesResponse>;
|
|
4027
3519
|
export interface ListSearchAttributesRequest {
|
|
4028
3520
|
namespace: string;
|
|
4029
3521
|
}
|
|
4030
|
-
export declare const ListSearchAttributesRequest: S.Schema<ListSearchAttributesRequest>;
|
|
4031
3522
|
export type ListSearchAttributesResponseCustomAttributesValue = "INDEXED_VALUE_TYPE_UNSPECIFIED" | "INDEXED_VALUE_TYPE_TEXT" | "INDEXED_VALUE_TYPE_KEYWORD" | "INDEXED_VALUE_TYPE_INT" | "INDEXED_VALUE_TYPE_DOUBLE" | "INDEXED_VALUE_TYPE_BOOL" | "INDEXED_VALUE_TYPE_DATETIME" | "INDEXED_VALUE_TYPE_KEYWORD_LIST";
|
|
4032
|
-
export declare const ListSearchAttributesResponseCustomAttributesValue: any;
|
|
4033
3523
|
/** Mapping between custom (user-registered) search attribute name to its IndexedValueType. */
|
|
4034
3524
|
export type ListSearchAttributesResponseCustomAttributesMap = {
|
|
4035
3525
|
[key: string]: ListSearchAttributesResponseCustomAttributesValue | undefined;
|
|
4036
3526
|
};
|
|
4037
|
-
export declare const ListSearchAttributesResponseCustomAttributesMap: S.Schema<ListSearchAttributesResponseCustomAttributesMap>;
|
|
4038
3527
|
export type ListSearchAttributesResponseSystemAttributesValue = "INDEXED_VALUE_TYPE_UNSPECIFIED" | "INDEXED_VALUE_TYPE_TEXT" | "INDEXED_VALUE_TYPE_KEYWORD" | "INDEXED_VALUE_TYPE_INT" | "INDEXED_VALUE_TYPE_DOUBLE" | "INDEXED_VALUE_TYPE_BOOL" | "INDEXED_VALUE_TYPE_DATETIME" | "INDEXED_VALUE_TYPE_KEYWORD_LIST";
|
|
4039
|
-
export declare const ListSearchAttributesResponseSystemAttributesValue: any;
|
|
4040
3528
|
/** Mapping between system (predefined) search attribute name to its IndexedValueType. */
|
|
4041
3529
|
export type ListSearchAttributesResponseSystemAttributesMap = {
|
|
4042
3530
|
[key: string]: ListSearchAttributesResponseSystemAttributesValue | undefined;
|
|
4043
3531
|
};
|
|
4044
|
-
export declare const ListSearchAttributesResponseSystemAttributesMap: S.Schema<ListSearchAttributesResponseSystemAttributesMap>;
|
|
4045
3532
|
/** Mapping from the attribute name to the visibility storage native type. */
|
|
4046
3533
|
export type ListSearchAttributesResponseStorageSchemaMap = {
|
|
4047
3534
|
[key: string]: string | undefined;
|
|
4048
3535
|
};
|
|
4049
|
-
export declare const ListSearchAttributesResponseStorageSchemaMap: S.Schema<ListSearchAttributesResponseStorageSchemaMap>;
|
|
4050
3536
|
export interface ListSearchAttributesResponse {
|
|
4051
3537
|
/** Mapping between custom (user-registered) search attribute name to its IndexedValueType. */
|
|
4052
3538
|
customAttributes?: ListSearchAttributesResponseCustomAttributesMap;
|
|
@@ -4055,13 +3541,11 @@ export interface ListSearchAttributesResponse {
|
|
|
4055
3541
|
/** Mapping from the attribute name to the visibility storage native type. */
|
|
4056
3542
|
storageSchema?: ListSearchAttributesResponseStorageSchemaMap;
|
|
4057
3543
|
}
|
|
4058
|
-
export declare const ListSearchAttributesResponse: S.Schema<ListSearchAttributesResponse>;
|
|
4059
3544
|
export interface ListWorkerDeploymentsRequest {
|
|
4060
3545
|
namespace: string;
|
|
4061
3546
|
pageSize?: number;
|
|
4062
3547
|
nextPageToken?: string;
|
|
4063
3548
|
}
|
|
4064
|
-
export declare const ListWorkerDeploymentsRequest: S.Schema<ListWorkerDeploymentsRequest>;
|
|
4065
3549
|
/** A subset of WorkerDeploymentInfo */
|
|
4066
3550
|
export interface ListWorkerDeploymentsResponseWorkerDeploymentSummary {
|
|
4067
3551
|
name?: string;
|
|
@@ -4074,16 +3558,13 @@ export interface ListWorkerDeploymentsResponseWorkerDeploymentSummary {
|
|
|
4074
3558
|
/** Summary of the ramping version of the Worker Deployment. */
|
|
4075
3559
|
rampingVersionSummary?: WorkerDeploymentInfoWorkerDeploymentVersionSummary;
|
|
4076
3560
|
}
|
|
4077
|
-
export declare const ListWorkerDeploymentsResponseWorkerDeploymentSummary: S.Schema<ListWorkerDeploymentsResponseWorkerDeploymentSummary>;
|
|
4078
3561
|
/** The list of worker deployments. */
|
|
4079
3562
|
export type ListWorkerDeploymentsResponseWorkerDeploymentsList = Array<ListWorkerDeploymentsResponseWorkerDeploymentSummary>;
|
|
4080
|
-
export declare const ListWorkerDeploymentsResponseWorkerDeploymentsList: S.Schema<ListWorkerDeploymentsResponseWorkerDeploymentsList>;
|
|
4081
3563
|
export interface ListWorkerDeploymentsResponse {
|
|
4082
3564
|
nextPageToken?: string;
|
|
4083
3565
|
/** The list of worker deployments. */
|
|
4084
3566
|
workerDeployments?: ListWorkerDeploymentsResponseWorkerDeploymentsList;
|
|
4085
3567
|
}
|
|
4086
|
-
export declare const ListWorkerDeploymentsResponse: S.Schema<ListWorkerDeploymentsResponse>;
|
|
4087
3568
|
export interface ListWorkersRequest {
|
|
4088
3569
|
namespace: string;
|
|
4089
3570
|
pageSize?: number;
|
|
@@ -4093,19 +3574,14 @@ export interface ListWorkersRequest {
|
|
|
4093
3574
|
/** When true, the response will include system workers that are created implicitly by the server and not by the user. By default, system workers are excluded. */
|
|
4094
3575
|
includeSystemWorkers?: boolean;
|
|
4095
3576
|
}
|
|
4096
|
-
export declare const ListWorkersRequest: S.Schema<ListWorkersRequest>;
|
|
4097
3577
|
/** Deprecated: Use workers instead. This field returns full WorkerInfo which includes expensive runtime metrics. We will stop populating this field in the future. */
|
|
4098
3578
|
export type ListWorkersResponseWorkersInfoList = Array<WorkerInfo>;
|
|
4099
|
-
export declare const ListWorkersResponseWorkersInfoList: S.Schema<ListWorkersResponseWorkersInfoList>;
|
|
4100
3579
|
/** Worker status. Defined by SDK. */
|
|
4101
3580
|
export type WorkerListInfoStatus = "WORKER_STATUS_UNSPECIFIED" | "WORKER_STATUS_RUNNING" | "WORKER_STATUS_SHUTTING_DOWN" | "WORKER_STATUS_SHUTDOWN";
|
|
4102
|
-
export declare const WorkerListInfoStatus: any;
|
|
4103
3581
|
/** Plugins currently in use by this SDK. */
|
|
4104
3582
|
export type WorkerListInfoPluginsList = Array<PluginInfo>;
|
|
4105
|
-
export declare const WorkerListInfoPluginsList: S.Schema<WorkerListInfoPluginsList>;
|
|
4106
3583
|
/** Storage drivers in use by this SDK. */
|
|
4107
3584
|
export type WorkerListInfoDriversList = Array<StorageDriverInfo>;
|
|
4108
|
-
export declare const WorkerListInfoDriversList: S.Schema<WorkerListInfoDriversList>;
|
|
4109
3585
|
/** Limited worker information returned in the list response. When adding fields here, ensure that it is also added to WorkerInfo (as it carries the full worker information). */
|
|
4110
3586
|
export interface WorkerListInfo {
|
|
4111
3587
|
/** Worker identifier, should be unique for the namespace. It is distinct from worker identity, which is not necessarily namespace-unique. */
|
|
@@ -4132,10 +3608,8 @@ export interface WorkerListInfo {
|
|
|
4132
3608
|
/** Storage drivers in use by this SDK. */
|
|
4133
3609
|
drivers?: WorkerListInfoDriversList;
|
|
4134
3610
|
}
|
|
4135
|
-
export declare const WorkerListInfo: S.Schema<WorkerListInfo>;
|
|
4136
3611
|
/** Limited worker information. */
|
|
4137
3612
|
export type ListWorkersResponseWorkersList = Array<WorkerListInfo>;
|
|
4138
|
-
export declare const ListWorkersResponseWorkersList: S.Schema<ListWorkersResponseWorkersList>;
|
|
4139
3613
|
export interface ListWorkersResponse {
|
|
4140
3614
|
/** Deprecated: Use workers instead. This field returns full WorkerInfo which includes expensive runtime metrics. We will stop populating this field in the future. */
|
|
4141
3615
|
workersInfo?: ListWorkersResponseWorkersInfoList;
|
|
@@ -4144,33 +3618,26 @@ export interface ListWorkersResponse {
|
|
|
4144
3618
|
/** Next page token */
|
|
4145
3619
|
nextPageToken?: string;
|
|
4146
3620
|
}
|
|
4147
|
-
export declare const ListWorkersResponse: S.Schema<ListWorkersResponse>;
|
|
4148
3621
|
export interface ListWorkflowExecutionsRequest {
|
|
4149
3622
|
namespace: string;
|
|
4150
3623
|
pageSize?: number;
|
|
4151
3624
|
nextPageToken?: string;
|
|
4152
3625
|
query?: string;
|
|
4153
3626
|
}
|
|
4154
|
-
export declare const ListWorkflowExecutionsRequest: S.Schema<ListWorkflowExecutionsRequest>;
|
|
4155
3627
|
export type ListWorkflowExecutionsResponseExecutionsList = Array<WorkflowExecutionInfo>;
|
|
4156
|
-
export declare const ListWorkflowExecutionsResponseExecutionsList: S.Schema<ListWorkflowExecutionsResponseExecutionsList>;
|
|
4157
3628
|
export interface ListWorkflowExecutionsResponse {
|
|
4158
3629
|
executions?: ListWorkflowExecutionsResponseExecutionsList;
|
|
4159
3630
|
nextPageToken?: string;
|
|
4160
3631
|
}
|
|
4161
|
-
export declare const ListWorkflowExecutionsResponse: S.Schema<ListWorkflowExecutionsResponse>;
|
|
4162
3632
|
export interface ListWorkflowRulesRequest {
|
|
4163
3633
|
namespace: string;
|
|
4164
3634
|
nextPageToken?: string;
|
|
4165
3635
|
}
|
|
4166
|
-
export declare const ListWorkflowRulesRequest: S.Schema<ListWorkflowRulesRequest>;
|
|
4167
3636
|
export type ListWorkflowRulesResponseRulesList = Array<WorkflowRule>;
|
|
4168
|
-
export declare const ListWorkflowRulesResponseRulesList: S.Schema<ListWorkflowRulesResponseRulesList>;
|
|
4169
3637
|
export interface ListWorkflowRulesResponse {
|
|
4170
3638
|
rules?: ListWorkflowRulesResponseRulesList;
|
|
4171
3639
|
nextPageToken?: string;
|
|
4172
3640
|
}
|
|
4173
|
-
export declare const ListWorkflowRulesResponse: S.Schema<ListWorkflowRulesResponse>;
|
|
4174
3641
|
export interface PatchScheduleRequest {
|
|
4175
3642
|
/** The namespace of the schedule to patch. */
|
|
4176
3643
|
namespace: string;
|
|
@@ -4182,9 +3649,7 @@ export interface PatchScheduleRequest {
|
|
|
4182
3649
|
/** A unique identifier for this update request for idempotence. Typically UUIDv4. */
|
|
4183
3650
|
requestId?: string;
|
|
4184
3651
|
}
|
|
4185
|
-
export declare const PatchScheduleRequest: S.Schema<PatchScheduleRequest>;
|
|
4186
3652
|
export type PatchScheduleResponse2 = unknown;
|
|
4187
|
-
export declare const PatchScheduleResponse2: S.Schema<PatchScheduleResponse2>;
|
|
4188
3653
|
export interface PauseActivityRequest {
|
|
4189
3654
|
/** Namespace of the workflow which scheduled this activity. */
|
|
4190
3655
|
namespace: string;
|
|
@@ -4201,9 +3666,7 @@ export interface PauseActivityRequest {
|
|
|
4201
3666
|
/** Used to de-dupe pause requests. */
|
|
4202
3667
|
requestId?: string;
|
|
4203
3668
|
}
|
|
4204
|
-
export declare const PauseActivityRequest: S.Schema<PauseActivityRequest>;
|
|
4205
3669
|
export type PauseActivityResponse2 = unknown;
|
|
4206
|
-
export declare const PauseActivityResponse2: S.Schema<PauseActivityResponse2>;
|
|
4207
3670
|
export interface PauseActivityExecutionRequest {
|
|
4208
3671
|
/** Namespace of the workflow which scheduled this activity. */
|
|
4209
3672
|
namespace: string;
|
|
@@ -4222,9 +3685,7 @@ export interface PauseActivityExecutionRequest {
|
|
|
4222
3685
|
/** Used to de-dupe pause requests. */
|
|
4223
3686
|
requestId?: string;
|
|
4224
3687
|
}
|
|
4225
|
-
export declare const PauseActivityExecutionRequest: S.Schema<PauseActivityExecutionRequest>;
|
|
4226
3688
|
export type PauseActivityExecutionResponse2 = unknown;
|
|
4227
|
-
export declare const PauseActivityExecutionResponse2: S.Schema<PauseActivityExecutionResponse2>;
|
|
4228
3689
|
export interface PauseWorkflowExecutionRequest {
|
|
4229
3690
|
/** Namespace of the workflow to pause. */
|
|
4230
3691
|
namespace: string;
|
|
@@ -4239,24 +3700,19 @@ export interface PauseWorkflowExecutionRequest {
|
|
|
4239
3700
|
/** A unique identifier for this pause request for idempotence. Typically UUIDv4. */
|
|
4240
3701
|
requestId?: string;
|
|
4241
3702
|
}
|
|
4242
|
-
export declare const PauseWorkflowExecutionRequest: S.Schema<PauseWorkflowExecutionRequest>;
|
|
4243
3703
|
export type PauseWorkflowExecutionResponse2 = unknown;
|
|
4244
|
-
export declare const PauseWorkflowExecutionResponse2: S.Schema<PauseWorkflowExecutionResponse2>;
|
|
4245
3704
|
export interface PollActivityExecutionRequest {
|
|
4246
3705
|
namespace: string;
|
|
4247
3706
|
activityId: string;
|
|
4248
3707
|
/** Activity run ID. If empty the request targets the latest run. */
|
|
4249
3708
|
runId?: string;
|
|
4250
3709
|
}
|
|
4251
|
-
export declare const PollActivityExecutionRequest: S.Schema<PollActivityExecutionRequest>;
|
|
4252
3710
|
export interface PollActivityExecutionResponse {
|
|
4253
3711
|
/** The run ID of the activity, useful when run_id was not specified in the request. */
|
|
4254
3712
|
runId?: string;
|
|
4255
3713
|
outcome?: ActivityExecutionOutcome;
|
|
4256
3714
|
}
|
|
4257
|
-
export declare const PollActivityExecutionResponse: S.Schema<PollActivityExecutionResponse>;
|
|
4258
3715
|
export type PollNexusOperationExecutionRequestWaitStage = "NEXUS_OPERATION_WAIT_STAGE_UNSPECIFIED" | "NEXUS_OPERATION_WAIT_STAGE_STARTED" | "NEXUS_OPERATION_WAIT_STAGE_CLOSED";
|
|
4259
|
-
export declare const PollNexusOperationExecutionRequestWaitStage: any;
|
|
4260
3716
|
export interface PollNexusOperationExecutionRequest {
|
|
4261
3717
|
namespace: string;
|
|
4262
3718
|
operationId: string;
|
|
@@ -4265,10 +3721,8 @@ export interface PollNexusOperationExecutionRequest {
|
|
|
4265
3721
|
/** Stage to wait for. The operation may be in a more advanced stage when the poll is unblocked. */
|
|
4266
3722
|
waitStage?: PollNexusOperationExecutionRequestWaitStage | (string & {});
|
|
4267
3723
|
}
|
|
4268
|
-
export declare const PollNexusOperationExecutionRequest: S.Schema<PollNexusOperationExecutionRequest>;
|
|
4269
3724
|
/** The current stage of the operation. May be more advanced than the stage requested in the poll. */
|
|
4270
3725
|
export type PollNexusOperationExecutionResponseWaitStage = "NEXUS_OPERATION_WAIT_STAGE_UNSPECIFIED" | "NEXUS_OPERATION_WAIT_STAGE_STARTED" | "NEXUS_OPERATION_WAIT_STAGE_CLOSED";
|
|
4271
|
-
export declare const PollNexusOperationExecutionResponseWaitStage: any;
|
|
4272
3726
|
export interface PollNexusOperationExecutionResponse {
|
|
4273
3727
|
/** The run ID of the operation, useful when run_id was not specified in the request. */
|
|
4274
3728
|
runId?: string;
|
|
@@ -4281,7 +3735,6 @@ export interface PollNexusOperationExecutionResponse {
|
|
|
4281
3735
|
/** The failure if the operation completed unsuccessfully. */
|
|
4282
3736
|
failure?: Failure;
|
|
4283
3737
|
}
|
|
4284
|
-
export declare const PollNexusOperationExecutionResponse: S.Schema<PollNexusOperationExecutionResponse>;
|
|
4285
3738
|
/** See https://docs.temporal.io/docs/concepts/queries/ */
|
|
4286
3739
|
export interface WorkflowQuery {
|
|
4287
3740
|
/** The workflow-author-defined identifier of the query. Typically a function name. */
|
|
@@ -4291,10 +3744,8 @@ export interface WorkflowQuery {
|
|
|
4291
3744
|
/** Headers that were passed by the caller of the query and copied by temporal server into the workflow task. */
|
|
4292
3745
|
header?: Header;
|
|
4293
3746
|
}
|
|
4294
|
-
export declare const WorkflowQuery: S.Schema<WorkflowQuery>;
|
|
4295
3747
|
/** QueryRejectCondition can used to reject the query if workflow state does not satisfy condition. Default: QUERY_REJECT_CONDITION_NONE. */
|
|
4296
3748
|
export type QueryWorkflowRequestQueryRejectCondition = "QUERY_REJECT_CONDITION_UNSPECIFIED" | "QUERY_REJECT_CONDITION_NONE" | "QUERY_REJECT_CONDITION_NOT_OPEN" | "QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY";
|
|
4297
|
-
export declare const QueryWorkflowRequestQueryRejectCondition: any;
|
|
4298
3749
|
export interface QueryWorkflowRequest {
|
|
4299
3750
|
namespace: string;
|
|
4300
3751
|
execution_workflow_id: string;
|
|
@@ -4304,18 +3755,14 @@ export interface QueryWorkflowRequest {
|
|
|
4304
3755
|
/** QueryRejectCondition can used to reject the query if workflow state does not satisfy condition. Default: QUERY_REJECT_CONDITION_NONE. */
|
|
4305
3756
|
queryRejectCondition?: QueryWorkflowRequestQueryRejectCondition | (string & {});
|
|
4306
3757
|
}
|
|
4307
|
-
export declare const QueryWorkflowRequest: S.Schema<QueryWorkflowRequest>;
|
|
4308
3758
|
export type QueryRejectedStatus = "WORKFLOW_EXECUTION_STATUS_UNSPECIFIED" | "WORKFLOW_EXECUTION_STATUS_RUNNING" | "WORKFLOW_EXECUTION_STATUS_COMPLETED" | "WORKFLOW_EXECUTION_STATUS_FAILED" | "WORKFLOW_EXECUTION_STATUS_CANCELED" | "WORKFLOW_EXECUTION_STATUS_TERMINATED" | "WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW" | "WORKFLOW_EXECUTION_STATUS_TIMED_OUT" | "WORKFLOW_EXECUTION_STATUS_PAUSED";
|
|
4309
|
-
export declare const QueryRejectedStatus: any;
|
|
4310
3759
|
export interface QueryRejected {
|
|
4311
3760
|
status?: QueryRejectedStatus;
|
|
4312
3761
|
}
|
|
4313
|
-
export declare const QueryRejected: S.Schema<QueryRejected>;
|
|
4314
3762
|
export interface QueryWorkflowResponse {
|
|
4315
3763
|
queryResult?: Payloads;
|
|
4316
3764
|
queryRejected?: QueryRejected;
|
|
4317
3765
|
}
|
|
4318
|
-
export declare const QueryWorkflowResponse: S.Schema<QueryWorkflowResponse>;
|
|
4319
3766
|
export interface RecordActivityTaskHeartbeatRequest {
|
|
4320
3767
|
namespace: string;
|
|
4321
3768
|
/** The task token as received in `PollActivityTaskQueueResponse` */
|
|
@@ -4327,7 +3774,6 @@ export interface RecordActivityTaskHeartbeatRequest {
|
|
|
4327
3774
|
/** Resource ID for routing. Contains the workflow ID or activity ID for standalone activities. */
|
|
4328
3775
|
resourceId?: string;
|
|
4329
3776
|
}
|
|
4330
|
-
export declare const RecordActivityTaskHeartbeatRequest: S.Schema<RecordActivityTaskHeartbeatRequest>;
|
|
4331
3777
|
export interface RecordActivityTaskHeartbeatResponse {
|
|
4332
3778
|
/** Will be set to true if the activity has been asked to cancel itself. The SDK should then notify the activity of cancellation if it is still running. */
|
|
4333
3779
|
cancelRequested?: boolean;
|
|
@@ -4336,7 +3782,6 @@ export interface RecordActivityTaskHeartbeatResponse {
|
|
|
4336
3782
|
/** Will be set to true if the activity was reset. Applies only to the current run. */
|
|
4337
3783
|
activityReset?: boolean;
|
|
4338
3784
|
}
|
|
4339
|
-
export declare const RecordActivityTaskHeartbeatResponse: S.Schema<RecordActivityTaskHeartbeatResponse>;
|
|
4340
3785
|
export interface RecordActivityTaskHeartbeatByIdRequest {
|
|
4341
3786
|
/** Namespace of the workflow which scheduled this activity */
|
|
4342
3787
|
namespace: string;
|
|
@@ -4353,7 +3798,6 @@ export interface RecordActivityTaskHeartbeatByIdRequest {
|
|
|
4353
3798
|
/** Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities. */
|
|
4354
3799
|
resourceId?: string;
|
|
4355
3800
|
}
|
|
4356
|
-
export declare const RecordActivityTaskHeartbeatByIdRequest: S.Schema<RecordActivityTaskHeartbeatByIdRequest>;
|
|
4357
3801
|
export interface RecordActivityTaskHeartbeatByIdResponse {
|
|
4358
3802
|
/** Will be set to true if the activity has been asked to cancel itself. The SDK should then notify the activity of cancellation if it is still running. */
|
|
4359
3803
|
cancelRequested?: boolean;
|
|
@@ -4362,9 +3806,7 @@ export interface RecordActivityTaskHeartbeatByIdResponse {
|
|
|
4362
3806
|
/** Will be set to true if the activity was reset. Applies only to the current run. */
|
|
4363
3807
|
activityReset?: boolean;
|
|
4364
3808
|
}
|
|
4365
|
-
export declare const RecordActivityTaskHeartbeatByIdResponse: S.Schema<RecordActivityTaskHeartbeatByIdResponse>;
|
|
4366
3809
|
export type RecordWorkerHeartbeatRequestWorkerHeartbeatList = Array<WorkerHeartbeat>;
|
|
4367
|
-
export declare const RecordWorkerHeartbeatRequestWorkerHeartbeatList: S.Schema<RecordWorkerHeartbeatRequestWorkerHeartbeatList>;
|
|
4368
3810
|
export interface RecordWorkerHeartbeatRequest {
|
|
4369
3811
|
/** Namespace this worker belongs to. */
|
|
4370
3812
|
namespace: string;
|
|
@@ -4374,22 +3816,16 @@ export interface RecordWorkerHeartbeatRequest {
|
|
|
4374
3816
|
/** Resource ID for routing. Contains the worker grouping key. */
|
|
4375
3817
|
resourceId?: string;
|
|
4376
3818
|
}
|
|
4377
|
-
export declare const RecordWorkerHeartbeatRequest: S.Schema<RecordWorkerHeartbeatRequest>;
|
|
4378
3819
|
export type RecordWorkerHeartbeatResponse2 = unknown;
|
|
4379
|
-
export declare const RecordWorkerHeartbeatResponse2: S.Schema<RecordWorkerHeartbeatResponse2>;
|
|
4380
3820
|
export type RegisterNamespaceRequestClustersList = Array<ClusterReplicationConfig>;
|
|
4381
|
-
export declare const RegisterNamespaceRequestClustersList: S.Schema<RegisterNamespaceRequestClustersList>;
|
|
4382
3821
|
/** A key-value map for any customized purpose. */
|
|
4383
3822
|
export type RegisterNamespaceRequestDataMap = {
|
|
4384
3823
|
[key: string]: string | undefined;
|
|
4385
3824
|
};
|
|
4386
|
-
export declare const RegisterNamespaceRequestDataMap: S.Schema<RegisterNamespaceRequestDataMap>;
|
|
4387
3825
|
/** If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used. */
|
|
4388
3826
|
export type RegisterNamespaceRequestHistoryArchivalState = "ARCHIVAL_STATE_UNSPECIFIED" | "ARCHIVAL_STATE_DISABLED" | "ARCHIVAL_STATE_ENABLED";
|
|
4389
|
-
export declare const RegisterNamespaceRequestHistoryArchivalState: any;
|
|
4390
3827
|
/** If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used. */
|
|
4391
3828
|
export type RegisterNamespaceRequestVisibilityArchivalState = "ARCHIVAL_STATE_UNSPECIFIED" | "ARCHIVAL_STATE_DISABLED" | "ARCHIVAL_STATE_ENABLED";
|
|
4392
|
-
export declare const RegisterNamespaceRequestVisibilityArchivalState: any;
|
|
4393
3829
|
export interface RegisterNamespaceRequest {
|
|
4394
3830
|
namespace?: string;
|
|
4395
3831
|
description?: string;
|
|
@@ -4408,9 +3844,7 @@ export interface RegisterNamespaceRequest {
|
|
|
4408
3844
|
visibilityArchivalState?: RegisterNamespaceRequestVisibilityArchivalState | (string & {});
|
|
4409
3845
|
visibilityArchivalUri?: string;
|
|
4410
3846
|
}
|
|
4411
|
-
export declare const RegisterNamespaceRequest: S.Schema<RegisterNamespaceRequest>;
|
|
4412
3847
|
export type RegisterNamespaceResponse2 = unknown;
|
|
4413
|
-
export declare const RegisterNamespaceResponse2: S.Schema<RegisterNamespaceResponse2>;
|
|
4414
3848
|
export interface RequestCancelActivityExecutionRequest {
|
|
4415
3849
|
namespace: string;
|
|
4416
3850
|
activityId: string;
|
|
@@ -4423,9 +3857,7 @@ export interface RequestCancelActivityExecutionRequest {
|
|
|
4423
3857
|
/** Reason for requesting the cancellation, recorded and available via the PollActivityExecution API. Not propagated to a worker if an activity attempt is currently running. */
|
|
4424
3858
|
reason?: string;
|
|
4425
3859
|
}
|
|
4426
|
-
export declare const RequestCancelActivityExecutionRequest: S.Schema<RequestCancelActivityExecutionRequest>;
|
|
4427
3860
|
export type RequestCancelActivityExecutionResponse2 = unknown;
|
|
4428
|
-
export declare const RequestCancelActivityExecutionResponse2: S.Schema<RequestCancelActivityExecutionResponse2>;
|
|
4429
3861
|
export interface RequestCancelNexusOperationExecutionRequest {
|
|
4430
3862
|
namespace: string;
|
|
4431
3863
|
operationId: string;
|
|
@@ -4438,12 +3870,9 @@ export interface RequestCancelNexusOperationExecutionRequest {
|
|
|
4438
3870
|
/** Reason for requesting the cancellation, recorded and available via the DescribeNexusOperationExecution API. */
|
|
4439
3871
|
reason?: string;
|
|
4440
3872
|
}
|
|
4441
|
-
export declare const RequestCancelNexusOperationExecutionRequest: S.Schema<RequestCancelNexusOperationExecutionRequest>;
|
|
4442
3873
|
export type RequestCancelNexusOperationExecutionResponse2 = unknown;
|
|
4443
|
-
export declare const RequestCancelNexusOperationExecutionResponse2: S.Schema<RequestCancelNexusOperationExecutionResponse2>;
|
|
4444
3874
|
/** Links to be associated with the WorkflowExecutionCanceled event. */
|
|
4445
3875
|
export type RequestCancelWorkflowExecutionRequestLinksList = Array<Link>;
|
|
4446
|
-
export declare const RequestCancelWorkflowExecutionRequestLinksList: S.Schema<RequestCancelWorkflowExecutionRequestLinksList>;
|
|
4447
3876
|
export interface RequestCancelWorkflowExecutionRequest {
|
|
4448
3877
|
namespace: string;
|
|
4449
3878
|
workflow_execution_workflow_id: string;
|
|
@@ -4459,9 +3888,7 @@ export interface RequestCancelWorkflowExecutionRequest {
|
|
|
4459
3888
|
/** Links to be associated with the WorkflowExecutionCanceled event. */
|
|
4460
3889
|
links?: RequestCancelWorkflowExecutionRequestLinksList;
|
|
4461
3890
|
}
|
|
4462
|
-
export declare const RequestCancelWorkflowExecutionRequest: S.Schema<RequestCancelWorkflowExecutionRequest>;
|
|
4463
3891
|
export type RequestCancelWorkflowExecutionResponse2 = unknown;
|
|
4464
|
-
export declare const RequestCancelWorkflowExecutionResponse2: S.Schema<RequestCancelWorkflowExecutionResponse2>;
|
|
4465
3892
|
export interface ResetActivityRequest {
|
|
4466
3893
|
/** Namespace of the workflow which scheduled this activity. */
|
|
4467
3894
|
namespace: string;
|
|
@@ -4484,9 +3911,7 @@ export interface ResetActivityRequest {
|
|
|
4484
3911
|
/** If set, the activity options will be restored to the defaults. Default options are then options activity was created with. They are part of the first schedule event. */
|
|
4485
3912
|
restoreOriginalOptions?: boolean;
|
|
4486
3913
|
}
|
|
4487
|
-
export declare const ResetActivityRequest: S.Schema<ResetActivityRequest>;
|
|
4488
3914
|
export type ResetActivityResponse2 = unknown;
|
|
4489
|
-
export declare const ResetActivityResponse2: S.Schema<ResetActivityResponse2>;
|
|
4490
3915
|
export interface ResetActivityExecutionRequest {
|
|
4491
3916
|
/** Namespace of the workflow which scheduled this activity. */
|
|
4492
3917
|
namespace: string;
|
|
@@ -4509,20 +3934,14 @@ export interface ResetActivityExecutionRequest {
|
|
|
4509
3934
|
/** Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. */
|
|
4510
3935
|
resourceId?: string;
|
|
4511
3936
|
}
|
|
4512
|
-
export declare const ResetActivityExecutionRequest: S.Schema<ResetActivityExecutionRequest>;
|
|
4513
3937
|
export type ResetActivityExecutionResponse2 = unknown;
|
|
4514
|
-
export declare const ResetActivityExecutionResponse2: S.Schema<ResetActivityExecutionResponse2>;
|
|
4515
3938
|
/** Deprecated. Use `options`. Default: RESET_REAPPLY_TYPE_SIGNAL */
|
|
4516
3939
|
export type ResetWorkflowExecutionRequestResetReapplyType = "RESET_REAPPLY_TYPE_UNSPECIFIED" | "RESET_REAPPLY_TYPE_SIGNAL" | "RESET_REAPPLY_TYPE_NONE" | "RESET_REAPPLY_TYPE_ALL_ELIGIBLE";
|
|
4517
|
-
export declare const ResetWorkflowExecutionRequestResetReapplyType: any;
|
|
4518
3940
|
export type ResetWorkflowExecutionRequestResetReapplyExcludeTypesItem = "RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED" | "RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL" | "RESET_REAPPLY_EXCLUDE_TYPE_UPDATE" | "RESET_REAPPLY_EXCLUDE_TYPE_NEXUS" | "RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST";
|
|
4519
|
-
export declare const ResetWorkflowExecutionRequestResetReapplyExcludeTypesItem: any;
|
|
4520
3941
|
/** Event types not to be reapplied */
|
|
4521
3942
|
export type ResetWorkflowExecutionRequestResetReapplyExcludeTypesList = Array<ResetWorkflowExecutionRequestResetReapplyExcludeTypesItem | (string & {})>;
|
|
4522
|
-
export declare const ResetWorkflowExecutionRequestResetReapplyExcludeTypesList: S.Schema<ResetWorkflowExecutionRequestResetReapplyExcludeTypesList>;
|
|
4523
3943
|
/** Links to be associated with the WorkflowExecutionSignaled event. */
|
|
4524
3944
|
export type PostResetOperationSignalWorkflowLinksList = Array<Link>;
|
|
4525
|
-
export declare const PostResetOperationSignalWorkflowLinksList: S.Schema<PostResetOperationSignalWorkflowLinksList>;
|
|
4526
3945
|
/** SignalWorkflow represents sending a signal after a workflow reset. Keep the parameter in sync with temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest. */
|
|
4527
3946
|
export interface PostResetOperationSignalWorkflow {
|
|
4528
3947
|
/** The workflow author-defined name of the signal to send to the workflow. */
|
|
@@ -4534,7 +3953,6 @@ export interface PostResetOperationSignalWorkflow {
|
|
|
4534
3953
|
/** Links to be associated with the WorkflowExecutionSignaled event. */
|
|
4535
3954
|
links?: PostResetOperationSignalWorkflowLinksList;
|
|
4536
3955
|
}
|
|
4537
|
-
export declare const PostResetOperationSignalWorkflow: S.Schema<PostResetOperationSignalWorkflow>;
|
|
4538
3956
|
export interface WorkflowExecutionOptions {
|
|
4539
3957
|
/** If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. */
|
|
4540
3958
|
versioningOverride?: VersioningOverride;
|
|
@@ -4543,7 +3961,6 @@ export interface WorkflowExecutionOptions {
|
|
|
4543
3961
|
/** Time-skipping configuration for this workflow execution. If not set, the time-skipping configuration is not updated by this request; the existing configuration is preserved. */
|
|
4544
3962
|
timeSkippingConfig?: TimeSkippingConfig;
|
|
4545
3963
|
}
|
|
4546
|
-
export declare const WorkflowExecutionOptions: S.Schema<WorkflowExecutionOptions>;
|
|
4547
3964
|
/** UpdateWorkflowOptions represents updating workflow execution options after a workflow reset. Keep the parameters in sync with temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest. */
|
|
4548
3965
|
export interface PostResetOperationUpdateWorkflowOptions {
|
|
4549
3966
|
/** Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask. */
|
|
@@ -4551,16 +3968,13 @@ export interface PostResetOperationUpdateWorkflowOptions {
|
|
|
4551
3968
|
/** Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated. */
|
|
4552
3969
|
updateMask?: string;
|
|
4553
3970
|
}
|
|
4554
|
-
export declare const PostResetOperationUpdateWorkflowOptions: S.Schema<PostResetOperationUpdateWorkflowOptions>;
|
|
4555
3971
|
/** PostResetOperation represents an operation to be performed on the new workflow execution after a workflow reset. */
|
|
4556
3972
|
export interface PostResetOperation {
|
|
4557
3973
|
signalWorkflow?: PostResetOperationSignalWorkflow;
|
|
4558
3974
|
updateWorkflowOptions?: PostResetOperationUpdateWorkflowOptions;
|
|
4559
3975
|
}
|
|
4560
|
-
export declare const PostResetOperation: S.Schema<PostResetOperation>;
|
|
4561
3976
|
/** Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated */
|
|
4562
3977
|
export type ResetWorkflowExecutionRequestPostResetOperationsList = Array<PostResetOperation>;
|
|
4563
|
-
export declare const ResetWorkflowExecutionRequestPostResetOperationsList: S.Schema<ResetWorkflowExecutionRequestPostResetOperationsList>;
|
|
4564
3978
|
export interface ResetWorkflowExecutionRequest {
|
|
4565
3979
|
namespace: string;
|
|
4566
3980
|
workflow_execution_workflow_id: string;
|
|
@@ -4580,11 +3994,9 @@ export interface ResetWorkflowExecutionRequest {
|
|
|
4580
3994
|
/** The identity of the worker/client */
|
|
4581
3995
|
identity?: string;
|
|
4582
3996
|
}
|
|
4583
|
-
export declare const ResetWorkflowExecutionRequest: S.Schema<ResetWorkflowExecutionRequest>;
|
|
4584
3997
|
export interface ResetWorkflowExecutionResponse {
|
|
4585
3998
|
runId?: string;
|
|
4586
3999
|
}
|
|
4587
|
-
export declare const ResetWorkflowExecutionResponse: S.Schema<ResetWorkflowExecutionResponse>;
|
|
4588
4000
|
export interface RespondActivityTaskCanceledRequest {
|
|
4589
4001
|
namespace: string;
|
|
4590
4002
|
/** The task token as received in `PollActivityTaskQueueResponse` */
|
|
@@ -4602,9 +4014,7 @@ export interface RespondActivityTaskCanceledRequest {
|
|
|
4602
4014
|
/** Worker deployment options that user has set in the worker. */
|
|
4603
4015
|
deploymentOptions?: WorkerDeploymentOptions;
|
|
4604
4016
|
}
|
|
4605
|
-
export declare const RespondActivityTaskCanceledRequest: S.Schema<RespondActivityTaskCanceledRequest>;
|
|
4606
4017
|
export type RespondActivityTaskCanceledResponse2 = unknown;
|
|
4607
|
-
export declare const RespondActivityTaskCanceledResponse2: S.Schema<RespondActivityTaskCanceledResponse2>;
|
|
4608
4018
|
export interface RespondActivityTaskCanceledByIdRequest {
|
|
4609
4019
|
/** Namespace of the workflow which scheduled this activity */
|
|
4610
4020
|
namespace: string;
|
|
@@ -4623,9 +4033,7 @@ export interface RespondActivityTaskCanceledByIdRequest {
|
|
|
4623
4033
|
/** Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities. */
|
|
4624
4034
|
resourceId?: string;
|
|
4625
4035
|
}
|
|
4626
|
-
export declare const RespondActivityTaskCanceledByIdRequest: S.Schema<RespondActivityTaskCanceledByIdRequest>;
|
|
4627
4036
|
export type RespondActivityTaskCanceledByIdResponse2 = unknown;
|
|
4628
|
-
export declare const RespondActivityTaskCanceledByIdResponse2: S.Schema<RespondActivityTaskCanceledByIdResponse2>;
|
|
4629
4037
|
export interface RespondActivityTaskCompletedRequest {
|
|
4630
4038
|
namespace: string;
|
|
4631
4039
|
/** The task token as received in `PollActivityTaskQueueResponse` */
|
|
@@ -4643,9 +4051,7 @@ export interface RespondActivityTaskCompletedRequest {
|
|
|
4643
4051
|
/** Worker deployment options that user has set in the worker. */
|
|
4644
4052
|
deploymentOptions?: WorkerDeploymentOptions;
|
|
4645
4053
|
}
|
|
4646
|
-
export declare const RespondActivityTaskCompletedRequest: S.Schema<RespondActivityTaskCompletedRequest>;
|
|
4647
4054
|
export type RespondActivityTaskCompletedResponse2 = unknown;
|
|
4648
|
-
export declare const RespondActivityTaskCompletedResponse2: S.Schema<RespondActivityTaskCompletedResponse2>;
|
|
4649
4055
|
export interface RespondActivityTaskCompletedByIdRequest {
|
|
4650
4056
|
/** Namespace of the workflow which scheduled this activity */
|
|
4651
4057
|
namespace: string;
|
|
@@ -4662,9 +4068,7 @@ export interface RespondActivityTaskCompletedByIdRequest {
|
|
|
4662
4068
|
/** Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities. */
|
|
4663
4069
|
resourceId?: string;
|
|
4664
4070
|
}
|
|
4665
|
-
export declare const RespondActivityTaskCompletedByIdRequest: S.Schema<RespondActivityTaskCompletedByIdRequest>;
|
|
4666
4071
|
export type RespondActivityTaskCompletedByIdResponse2 = unknown;
|
|
4667
|
-
export declare const RespondActivityTaskCompletedByIdResponse2: S.Schema<RespondActivityTaskCompletedByIdResponse2>;
|
|
4668
4072
|
export interface RespondActivityTaskFailedRequest {
|
|
4669
4073
|
namespace: string;
|
|
4670
4074
|
/** The task token as received in `PollActivityTaskQueueResponse` */
|
|
@@ -4684,15 +4088,12 @@ export interface RespondActivityTaskFailedRequest {
|
|
|
4684
4088
|
/** Worker deployment options that user has set in the worker. */
|
|
4685
4089
|
deploymentOptions?: WorkerDeploymentOptions;
|
|
4686
4090
|
}
|
|
4687
|
-
export declare const RespondActivityTaskFailedRequest: S.Schema<RespondActivityTaskFailedRequest>;
|
|
4688
4091
|
/** Server validation failures could include last_heartbeat_details payload is too large, request failure is too large */
|
|
4689
4092
|
export type RespondActivityTaskFailedResponseFailuresList = Array<Failure>;
|
|
4690
|
-
export declare const RespondActivityTaskFailedResponseFailuresList: S.Schema<RespondActivityTaskFailedResponseFailuresList>;
|
|
4691
4093
|
export interface RespondActivityTaskFailedResponse {
|
|
4692
4094
|
/** Server validation failures could include last_heartbeat_details payload is too large, request failure is too large */
|
|
4693
4095
|
failures?: RespondActivityTaskFailedResponseFailuresList;
|
|
4694
4096
|
}
|
|
4695
|
-
export declare const RespondActivityTaskFailedResponse: S.Schema<RespondActivityTaskFailedResponse>;
|
|
4696
4097
|
export interface RespondActivityTaskFailedByIdRequest {
|
|
4697
4098
|
/** Namespace of the workflow which scheduled this activity */
|
|
4698
4099
|
namespace: string;
|
|
@@ -4711,29 +4112,23 @@ export interface RespondActivityTaskFailedByIdRequest {
|
|
|
4711
4112
|
/** Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities. */
|
|
4712
4113
|
resourceId?: string;
|
|
4713
4114
|
}
|
|
4714
|
-
export declare const RespondActivityTaskFailedByIdRequest: S.Schema<RespondActivityTaskFailedByIdRequest>;
|
|
4715
4115
|
/** Server validation failures could include last_heartbeat_details payload is too large, request failure is too large */
|
|
4716
4116
|
export type RespondActivityTaskFailedByIdResponseFailuresList = Array<Failure>;
|
|
4717
|
-
export declare const RespondActivityTaskFailedByIdResponseFailuresList: S.Schema<RespondActivityTaskFailedByIdResponseFailuresList>;
|
|
4718
4117
|
export interface RespondActivityTaskFailedByIdResponse {
|
|
4719
4118
|
/** Server validation failures could include last_heartbeat_details payload is too large, request failure is too large */
|
|
4720
4119
|
failures?: RespondActivityTaskFailedByIdResponseFailuresList;
|
|
4721
4120
|
}
|
|
4722
|
-
export declare const RespondActivityTaskFailedByIdResponse: S.Schema<RespondActivityTaskFailedByIdResponse>;
|
|
4723
4121
|
export type UpdateDeploymentMetadataUpsertEntriesMap = {
|
|
4724
4122
|
[key: string]: unknown | undefined;
|
|
4725
4123
|
};
|
|
4726
|
-
export declare const UpdateDeploymentMetadataUpsertEntriesMap: S.Schema<UpdateDeploymentMetadataUpsertEntriesMap>;
|
|
4727
4124
|
/** List of keys to remove from the metadata. */
|
|
4728
4125
|
export type UpdateDeploymentMetadataRemoveEntriesList = Array<string>;
|
|
4729
|
-
export declare const UpdateDeploymentMetadataRemoveEntriesList: S.Schema<UpdateDeploymentMetadataRemoveEntriesList>;
|
|
4730
4126
|
/** Used as part of Deployment write APIs to update metadata attached to a deployment. Deprecated. */
|
|
4731
4127
|
export interface UpdateDeploymentMetadata {
|
|
4732
4128
|
upsertEntries?: UpdateDeploymentMetadataUpsertEntriesMap;
|
|
4733
4129
|
/** List of keys to remove from the metadata. */
|
|
4734
4130
|
removeEntries?: UpdateDeploymentMetadataRemoveEntriesList;
|
|
4735
4131
|
}
|
|
4736
|
-
export declare const UpdateDeploymentMetadata: S.Schema<UpdateDeploymentMetadata>;
|
|
4737
4132
|
export interface SetCurrentDeploymentRequest {
|
|
4738
4133
|
namespace: string;
|
|
4739
4134
|
deployment_series_name: string;
|
|
@@ -4743,14 +4138,12 @@ export interface SetCurrentDeploymentRequest {
|
|
|
4743
4138
|
/** Optional. Use to add or remove user-defined metadata entries. Metadata entries are exposed when describing a deployment. It is a good place for information such as operator name, links to internal deployment pipelines, etc. */
|
|
4744
4139
|
updateMetadata?: UpdateDeploymentMetadata;
|
|
4745
4140
|
}
|
|
4746
|
-
export declare const SetCurrentDeploymentRequest: S.Schema<SetCurrentDeploymentRequest>;
|
|
4747
4141
|
/** [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later */
|
|
4748
4142
|
export interface SetCurrentDeploymentResponse {
|
|
4749
4143
|
currentDeploymentInfo?: DeploymentInfo;
|
|
4750
4144
|
/** Info of the deployment that was current before executing this operation. */
|
|
4751
4145
|
previousDeploymentInfo?: DeploymentInfo;
|
|
4752
4146
|
}
|
|
4753
|
-
export declare const SetCurrentDeploymentResponse: S.Schema<SetCurrentDeploymentResponse>;
|
|
4754
4147
|
export interface SetWorkerDeploymentCurrentVersionRequest {
|
|
4755
4148
|
namespace: string;
|
|
4756
4149
|
deploymentName: string;
|
|
@@ -4767,7 +4160,6 @@ export interface SetWorkerDeploymentCurrentVersionRequest {
|
|
|
4767
4160
|
/** Optional. By default this request will be rejected if no pollers have been seen for the proposed Current Version, in order to protect users from routing tasks to pollers that do not exist, leading to possible timeouts. Pass `true` here to bypass this protection. */
|
|
4768
4161
|
allowNoPollers?: boolean;
|
|
4769
4162
|
}
|
|
4770
|
-
export declare const SetWorkerDeploymentCurrentVersionRequest: S.Schema<SetWorkerDeploymentCurrentVersionRequest>;
|
|
4771
4163
|
export interface SetWorkerDeploymentCurrentVersionResponse {
|
|
4772
4164
|
/** This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write. */
|
|
4773
4165
|
conflictToken?: string;
|
|
@@ -4776,7 +4168,6 @@ export interface SetWorkerDeploymentCurrentVersionResponse {
|
|
|
4776
4168
|
/** The version that was current before executing this operation. Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the Current version info before calling this API. By passing the `conflict_token` got from the `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls. */
|
|
4777
4169
|
previousDeploymentVersion?: WorkerDeploymentVersion;
|
|
4778
4170
|
}
|
|
4779
|
-
export declare const SetWorkerDeploymentCurrentVersionResponse: S.Schema<SetWorkerDeploymentCurrentVersionResponse>;
|
|
4780
4171
|
export interface SetWorkerDeploymentManagerRequest {
|
|
4781
4172
|
namespace: string;
|
|
4782
4173
|
deploymentName: string;
|
|
@@ -4789,14 +4180,12 @@ export interface SetWorkerDeploymentManagerRequest {
|
|
|
4789
4180
|
/** Required. The identity of the client who initiated this request. */
|
|
4790
4181
|
identity?: string;
|
|
4791
4182
|
}
|
|
4792
|
-
export declare const SetWorkerDeploymentManagerRequest: S.Schema<SetWorkerDeploymentManagerRequest>;
|
|
4793
4183
|
export interface SetWorkerDeploymentManagerResponse {
|
|
4794
4184
|
/** This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write. */
|
|
4795
4185
|
conflictToken?: string;
|
|
4796
4186
|
/** What the `manager_identity` field was before this change. Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the manager identity before calling this API. By passing the `conflict_token` got from the `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls. */
|
|
4797
4187
|
previousManagerIdentity?: string;
|
|
4798
4188
|
}
|
|
4799
|
-
export declare const SetWorkerDeploymentManagerResponse: S.Schema<SetWorkerDeploymentManagerResponse>;
|
|
4800
4189
|
export interface SetWorkerDeploymentRampingVersionRequest {
|
|
4801
4190
|
namespace: string;
|
|
4802
4191
|
deploymentName: string;
|
|
@@ -4815,7 +4204,6 @@ export interface SetWorkerDeploymentRampingVersionRequest {
|
|
|
4815
4204
|
/** Optional. By default this request will be rejected if no pollers have been seen for the proposed Current Version, in order to protect users from routing tasks to pollers that do not exist, leading to possible timeouts. Pass `true` here to bypass this protection. */
|
|
4816
4205
|
allowNoPollers?: boolean;
|
|
4817
4206
|
}
|
|
4818
|
-
export declare const SetWorkerDeploymentRampingVersionRequest: S.Schema<SetWorkerDeploymentRampingVersionRequest>;
|
|
4819
4207
|
export interface SetWorkerDeploymentRampingVersionResponse {
|
|
4820
4208
|
/** This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write. */
|
|
4821
4209
|
conflictToken?: string;
|
|
@@ -4826,16 +4214,12 @@ export interface SetWorkerDeploymentRampingVersionResponse {
|
|
|
4826
4214
|
/** The ramping version percentage before executing this operation. Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the Ramping version info before calling this API. By passing the `conflict_token` got from the `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls. */
|
|
4827
4215
|
previousPercentage?: number;
|
|
4828
4216
|
}
|
|
4829
|
-
export declare const SetWorkerDeploymentRampingVersionResponse: S.Schema<SetWorkerDeploymentRampingVersionResponse>;
|
|
4830
4217
|
/** Defines whether to allow re-using the workflow id from a previously *closed* workflow. The default policy is WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. See `workflow_id_reuse_policy` for handling a workflow id duplication with a *running* workflow. */
|
|
4831
4218
|
export type SignalWithStartWorkflowExecutionRequestWorkflowIdReusePolicy = "WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED" | "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE" | "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY" | "WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE" | "WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING";
|
|
4832
|
-
export declare const SignalWithStartWorkflowExecutionRequestWorkflowIdReusePolicy: any;
|
|
4833
4219
|
/** Defines how to resolve a workflow id conflict with a *running* workflow. The default policy is WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING. Note that WORKFLOW_ID_CONFLICT_POLICY_FAIL is an invalid option. See `workflow_id_reuse_policy` for handling a workflow id duplication with a *closed* workflow. */
|
|
4834
4220
|
export type SignalWithStartWorkflowExecutionRequestWorkflowIdConflictPolicy = "WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED" | "WORKFLOW_ID_CONFLICT_POLICY_FAIL" | "WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING" | "WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING";
|
|
4835
|
-
export declare const SignalWithStartWorkflowExecutionRequestWorkflowIdConflictPolicy: any;
|
|
4836
4221
|
/** Links to be associated with the WorkflowExecutionStarted and WorkflowExecutionSignaled events. */
|
|
4837
4222
|
export type SignalWithStartWorkflowExecutionRequestLinksList = Array<Link>;
|
|
4838
|
-
export declare const SignalWithStartWorkflowExecutionRequestLinksList: S.Schema<SignalWithStartWorkflowExecutionRequestLinksList>;
|
|
4839
4223
|
export interface SignalWithStartWorkflowExecutionRequest {
|
|
4840
4224
|
namespace: string;
|
|
4841
4225
|
workflowId: string;
|
|
@@ -4884,7 +4268,6 @@ export interface SignalWithStartWorkflowExecutionRequest {
|
|
|
4884
4268
|
/** Time-skipping configuration. If not set, time skipping is disabled. */
|
|
4885
4269
|
timeSkippingConfig?: TimeSkippingConfig;
|
|
4886
4270
|
}
|
|
4887
|
-
export declare const SignalWithStartWorkflowExecutionRequest: S.Schema<SignalWithStartWorkflowExecutionRequest>;
|
|
4888
4271
|
export interface SignalWithStartWorkflowExecutionResponse {
|
|
4889
4272
|
/** The run id of the workflow that was started - or just signaled, if it was already running. */
|
|
4890
4273
|
runId?: string;
|
|
@@ -4893,10 +4276,8 @@ export interface SignalWithStartWorkflowExecutionResponse {
|
|
|
4893
4276
|
/** Link to be associated with the WorkflowExecutionSignaled event. Added on the response to propagate the backlink. Available from Temporal server 1.31 and up. */
|
|
4894
4277
|
signalLink?: Link;
|
|
4895
4278
|
}
|
|
4896
|
-
export declare const SignalWithStartWorkflowExecutionResponse: S.Schema<SignalWithStartWorkflowExecutionResponse>;
|
|
4897
4279
|
/** Links to be associated with the WorkflowExecutionSignaled event. */
|
|
4898
4280
|
export type SignalWorkflowExecutionRequestLinksList = Array<Link>;
|
|
4899
|
-
export declare const SignalWorkflowExecutionRequestLinksList: S.Schema<SignalWorkflowExecutionRequestLinksList>;
|
|
4900
4281
|
export interface SignalWorkflowExecutionRequest {
|
|
4901
4282
|
namespace: string;
|
|
4902
4283
|
workflow_execution_workflow_id: string;
|
|
@@ -4916,24 +4297,18 @@ export interface SignalWorkflowExecutionRequest {
|
|
|
4916
4297
|
/** Links to be associated with the WorkflowExecutionSignaled event. */
|
|
4917
4298
|
links?: SignalWorkflowExecutionRequestLinksList;
|
|
4918
4299
|
}
|
|
4919
|
-
export declare const SignalWorkflowExecutionRequest: S.Schema<SignalWorkflowExecutionRequest>;
|
|
4920
4300
|
export interface SignalWorkflowExecutionResponse {
|
|
4921
4301
|
/** Link to be associated with the WorkflowExecutionSignaled event. Added on the response to propagate the backlink. Available from Temporal server 1.31 and up. */
|
|
4922
4302
|
link?: Link;
|
|
4923
4303
|
}
|
|
4924
|
-
export declare const SignalWorkflowExecutionResponse: S.Schema<SignalWorkflowExecutionResponse>;
|
|
4925
4304
|
/** Defines whether to allow re-using the activity id from a previously *closed* activity. The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE. */
|
|
4926
4305
|
export type StartActivityExecutionRequestIdReusePolicy = "ACTIVITY_ID_REUSE_POLICY_UNSPECIFIED" | "ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE" | "ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY" | "ACTIVITY_ID_REUSE_POLICY_REJECT_DUPLICATE";
|
|
4927
|
-
export declare const StartActivityExecutionRequestIdReusePolicy: any;
|
|
4928
4306
|
/** Defines how to resolve an activity id conflict with a *running* activity. The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL. */
|
|
4929
4307
|
export type StartActivityExecutionRequestIdConflictPolicy = "ACTIVITY_ID_CONFLICT_POLICY_UNSPECIFIED" | "ACTIVITY_ID_CONFLICT_POLICY_FAIL" | "ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING";
|
|
4930
|
-
export declare const StartActivityExecutionRequestIdConflictPolicy: any;
|
|
4931
4308
|
/** Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration. */
|
|
4932
4309
|
export type StartActivityExecutionRequestCompletionCallbacksList = Array<Callback>;
|
|
4933
|
-
export declare const StartActivityExecutionRequestCompletionCallbacksList: S.Schema<StartActivityExecutionRequestCompletionCallbacksList>;
|
|
4934
4310
|
/** Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here. */
|
|
4935
4311
|
export type StartActivityExecutionRequestLinksList = Array<Link>;
|
|
4936
|
-
export declare const StartActivityExecutionRequestLinksList: S.Schema<StartActivityExecutionRequestLinksList>;
|
|
4937
4312
|
/** When starting an execution with a conflict policy that uses an existing execution and there is already an existing running execution, OnConflictOptions defines actions to be taken on the existing running execution. */
|
|
4938
4313
|
export interface OnConflictOptions {
|
|
4939
4314
|
/** Attaches the request ID to the running execution. */
|
|
@@ -4943,7 +4318,6 @@ export interface OnConflictOptions {
|
|
|
4943
4318
|
/** Attaches the links to the running execution. */
|
|
4944
4319
|
attachLinks?: boolean;
|
|
4945
4320
|
}
|
|
4946
|
-
export declare const OnConflictOptions: S.Schema<OnConflictOptions>;
|
|
4947
4321
|
export interface StartActivityExecutionRequest {
|
|
4948
4322
|
namespace: string;
|
|
4949
4323
|
/** Identifier for this activity. Required. This identifier should be meaningful in the user's own system. It must be unique among activities in the same namespace, subject to the rules imposed by id_reuse_policy and id_conflict_policy. */
|
|
@@ -4989,7 +4363,6 @@ export interface StartActivityExecutionRequest {
|
|
|
4989
4363
|
/** Time to wait before dispatching the first activity task. This delay is not applied to retry attempts. */
|
|
4990
4364
|
startDelay?: string;
|
|
4991
4365
|
}
|
|
4992
|
-
export declare const StartActivityExecutionRequest: S.Schema<StartActivityExecutionRequest>;
|
|
4993
4366
|
export interface StartActivityExecutionResponse {
|
|
4994
4367
|
/** The run ID of the activity that was started - or used (via ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING). */
|
|
4995
4368
|
runId?: string;
|
|
@@ -4998,10 +4371,8 @@ export interface StartActivityExecutionResponse {
|
|
|
4998
4371
|
/** Link to the started activity. */
|
|
4999
4372
|
link?: Link;
|
|
5000
4373
|
}
|
|
5001
|
-
export declare const StartActivityExecutionResponse: S.Schema<StartActivityExecutionResponse>;
|
|
5002
4374
|
/** Executions to apply the batch operation This field and `visibility_query` are mutually exclusive */
|
|
5003
4375
|
export type StartBatchOperationRequestExecutionsList = Array<WorkflowExecution>;
|
|
5004
|
-
export declare const StartBatchOperationRequestExecutionsList: S.Schema<StartBatchOperationRequestExecutionsList>;
|
|
5005
4376
|
/** BatchOperationTermination sends terminate requests to batch workflows. Keep the parameter in sync with temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest. Ignore first_execution_run_id because this is used for single workflow operation. */
|
|
5006
4377
|
export interface BatchOperationTermination {
|
|
5007
4378
|
/** Serialized value(s) to provide to the termination event */
|
|
@@ -5009,7 +4380,6 @@ export interface BatchOperationTermination {
|
|
|
5009
4380
|
/** The identity of the worker/client */
|
|
5010
4381
|
identity?: string;
|
|
5011
4382
|
}
|
|
5012
|
-
export declare const BatchOperationTermination: S.Schema<BatchOperationTermination>;
|
|
5013
4383
|
/** BatchOperationSignal sends signals to batch workflows. Keep the parameter in sync with temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest. */
|
|
5014
4384
|
export interface BatchOperationSignal {
|
|
5015
4385
|
/** The workflow author-defined name of the signal to send to the workflow */
|
|
@@ -5021,24 +4391,18 @@ export interface BatchOperationSignal {
|
|
|
5021
4391
|
/** The identity of the worker/client */
|
|
5022
4392
|
identity?: string;
|
|
5023
4393
|
}
|
|
5024
|
-
export declare const BatchOperationSignal: S.Schema<BatchOperationSignal>;
|
|
5025
4394
|
/** BatchOperationCancellation sends cancel requests to batch workflows. Keep the parameter in sync with temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest. Ignore first_execution_run_id because this is used for single workflow operation. */
|
|
5026
4395
|
export interface BatchOperationCancellation {
|
|
5027
4396
|
/** The identity of the worker/client */
|
|
5028
4397
|
identity?: string;
|
|
5029
4398
|
}
|
|
5030
|
-
export declare const BatchOperationCancellation: S.Schema<BatchOperationCancellation>;
|
|
5031
4399
|
/** BatchOperationDeletion sends deletion requests to batch workflows. Keep the parameter in sync with temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest. */
|
|
5032
4400
|
export type BatchOperationDeletion = BatchOperationCancellation;
|
|
5033
|
-
export declare const BatchOperationDeletion: S.Schema<BatchOperationCancellation>;
|
|
5034
4401
|
/** Deprecated. Use `options`. Default: RESET_REAPPLY_TYPE_SIGNAL */
|
|
5035
4402
|
export type ResetOptionsResetReapplyType = "RESET_REAPPLY_TYPE_UNSPECIFIED" | "RESET_REAPPLY_TYPE_SIGNAL" | "RESET_REAPPLY_TYPE_NONE" | "RESET_REAPPLY_TYPE_ALL_ELIGIBLE";
|
|
5036
|
-
export declare const ResetOptionsResetReapplyType: any;
|
|
5037
4403
|
export type ResetOptionsResetReapplyExcludeTypesItem = "RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED" | "RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL" | "RESET_REAPPLY_EXCLUDE_TYPE_UPDATE" | "RESET_REAPPLY_EXCLUDE_TYPE_NEXUS" | "RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST";
|
|
5038
|
-
export declare const ResetOptionsResetReapplyExcludeTypesItem: any;
|
|
5039
4404
|
/** Event types not to be reapplied */
|
|
5040
4405
|
export type ResetOptionsResetReapplyExcludeTypesList = Array<ResetOptionsResetReapplyExcludeTypesItem | (string & {})>;
|
|
5041
|
-
export declare const ResetOptionsResetReapplyExcludeTypesList: S.Schema<ResetOptionsResetReapplyExcludeTypesList>;
|
|
5042
4406
|
/** Describes where and how to reset a workflow, used for batch reset currently and may be used for single-workflow reset later. */
|
|
5043
4407
|
export interface ResetOptions {
|
|
5044
4408
|
/** The id of a specific `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or `WORKFLOW_TASK_STARTED` event to reset to. Note that this option doesn't make sense when used as part of a batch request. */
|
|
@@ -5052,16 +4416,12 @@ export interface ResetOptions {
|
|
|
5052
4416
|
/** Event types not to be reapplied */
|
|
5053
4417
|
resetReapplyExcludeTypes?: ResetOptionsResetReapplyExcludeTypesList;
|
|
5054
4418
|
}
|
|
5055
|
-
export declare const ResetOptions: S.Schema<ResetOptions>;
|
|
5056
4419
|
/** Deprecated. Use `options`. */
|
|
5057
4420
|
export type BatchOperationResetResetType = "RESET_TYPE_UNSPECIFIED" | "RESET_TYPE_FIRST_WORKFLOW_TASK" | "RESET_TYPE_LAST_WORKFLOW_TASK";
|
|
5058
|
-
export declare const BatchOperationResetResetType: any;
|
|
5059
4421
|
/** Deprecated. Use `options`. */
|
|
5060
4422
|
export type BatchOperationResetResetReapplyType = "RESET_REAPPLY_TYPE_UNSPECIFIED" | "RESET_REAPPLY_TYPE_SIGNAL" | "RESET_REAPPLY_TYPE_NONE" | "RESET_REAPPLY_TYPE_ALL_ELIGIBLE";
|
|
5061
|
-
export declare const BatchOperationResetResetReapplyType: any;
|
|
5062
4423
|
/** Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated */
|
|
5063
4424
|
export type BatchOperationResetPostResetOperationsList = Array<PostResetOperation>;
|
|
5064
|
-
export declare const BatchOperationResetPostResetOperationsList: S.Schema<BatchOperationResetPostResetOperationsList>;
|
|
5065
4425
|
/** BatchOperationReset sends reset requests to batch workflows. Keep the parameter in sync with temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest. */
|
|
5066
4426
|
export interface BatchOperationReset {
|
|
5067
4427
|
/** The identity of the worker/client. */
|
|
@@ -5075,7 +4435,6 @@ export interface BatchOperationReset {
|
|
|
5075
4435
|
/** Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated */
|
|
5076
4436
|
postResetOperations?: BatchOperationResetPostResetOperationsList;
|
|
5077
4437
|
}
|
|
5078
|
-
export declare const BatchOperationReset: S.Schema<BatchOperationReset>;
|
|
5079
4438
|
/** BatchOperationUpdateWorkflowExecutionOptions sends UpdateWorkflowExecutionOptions requests to batch workflows. Keep the parameters in sync with temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest. */
|
|
5080
4439
|
export interface BatchOperationUpdateWorkflowExecutionOptions {
|
|
5081
4440
|
/** The identity of the worker/client. */
|
|
@@ -5085,7 +4444,6 @@ export interface BatchOperationUpdateWorkflowExecutionOptions {
|
|
|
5085
4444
|
/** Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated. */
|
|
5086
4445
|
updateMask?: string;
|
|
5087
4446
|
}
|
|
5088
|
-
export declare const BatchOperationUpdateWorkflowExecutionOptions: S.Schema<BatchOperationUpdateWorkflowExecutionOptions>;
|
|
5089
4447
|
/** BatchOperationUnpauseActivities sends unpause requests to batch workflows. */
|
|
5090
4448
|
export interface BatchOperationUnpauseActivities {
|
|
5091
4449
|
/** The identity of the worker/client. */
|
|
@@ -5099,7 +4457,6 @@ export interface BatchOperationUnpauseActivities {
|
|
|
5099
4457
|
/** If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time. */
|
|
5100
4458
|
jitter?: string;
|
|
5101
4459
|
}
|
|
5102
|
-
export declare const BatchOperationUnpauseActivities: S.Schema<BatchOperationUnpauseActivities>;
|
|
5103
4460
|
/** BatchOperationResetActivities sends activity reset requests in a batch. NOTE: keep in sync with temporal.api.workflowservice.v1.ResetActivityRequest */
|
|
5104
4461
|
export interface BatchOperationResetActivities {
|
|
5105
4462
|
/** The identity of the worker/client. */
|
|
@@ -5117,7 +4474,6 @@ export interface BatchOperationResetActivities {
|
|
|
5117
4474
|
/** If set, the activity options will be restored to the defaults. Default options are then options activity was created with. They are part of the first ActivityTaskScheduled event. */
|
|
5118
4475
|
restoreOriginalOptions?: boolean;
|
|
5119
4476
|
}
|
|
5120
|
-
export declare const BatchOperationResetActivities: S.Schema<BatchOperationResetActivities>;
|
|
5121
4477
|
/** BatchOperationUpdateActivityOptions sends an update-activity-options requests in a batch. NOTE: keep in sync with temporal.api.workflowservice.v1.UpdateActivityRequest */
|
|
5122
4478
|
export interface BatchOperationUpdateActivityOptions {
|
|
5123
4479
|
/** The identity of the worker/client. */
|
|
@@ -5131,7 +4487,6 @@ export interface BatchOperationUpdateActivityOptions {
|
|
|
5131
4487
|
/** If set, the activity options will be restored to the default. Default options are then options activity was created with. They are part of the first ActivityTaskScheduled event. This flag cannot be combined with any other option; if you supply restore_original together with other options, the request will be rejected. */
|
|
5132
4488
|
restoreOriginal?: boolean;
|
|
5133
4489
|
}
|
|
5134
|
-
export declare const BatchOperationUpdateActivityOptions: S.Schema<BatchOperationUpdateActivityOptions>;
|
|
5135
4490
|
export interface StartBatchOperationRequest {
|
|
5136
4491
|
/** Namespace that contains the batch operation */
|
|
5137
4492
|
namespace: string;
|
|
@@ -5155,20 +4510,15 @@ export interface StartBatchOperationRequest {
|
|
|
5155
4510
|
resetActivitiesOperation?: BatchOperationResetActivities;
|
|
5156
4511
|
updateActivityOptionsOperation?: BatchOperationUpdateActivityOptions;
|
|
5157
4512
|
}
|
|
5158
|
-
export declare const StartBatchOperationRequest: S.Schema<StartBatchOperationRequest>;
|
|
5159
4513
|
export type StartBatchOperationResponse2 = unknown;
|
|
5160
|
-
export declare const StartBatchOperationResponse2: S.Schema<StartBatchOperationResponse2>;
|
|
5161
4514
|
/** Defines whether to allow re-using the operation id from a previously *closed* operation. The default policy is NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE. */
|
|
5162
4515
|
export type StartNexusOperationExecutionRequestIdReusePolicy = "NEXUS_OPERATION_ID_REUSE_POLICY_UNSPECIFIED" | "NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE" | "NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY" | "NEXUS_OPERATION_ID_REUSE_POLICY_REJECT_DUPLICATE";
|
|
5163
|
-
export declare const StartNexusOperationExecutionRequestIdReusePolicy: any;
|
|
5164
4516
|
/** Defines how to resolve an operation id conflict with a *running* operation. The default policy is NEXUS_OPERATION_ID_CONFLICT_POLICY_FAIL. */
|
|
5165
4517
|
export type StartNexusOperationExecutionRequestIdConflictPolicy = "NEXUS_OPERATION_ID_CONFLICT_POLICY_UNSPECIFIED" | "NEXUS_OPERATION_ID_CONFLICT_POLICY_FAIL" | "NEXUS_OPERATION_ID_CONFLICT_POLICY_USE_EXISTING";
|
|
5166
|
-
export declare const StartNexusOperationExecutionRequestIdConflictPolicy: any;
|
|
5167
4518
|
/** Header to attach to the Nexus request. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating tracing information. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. */
|
|
5168
4519
|
export type StartNexusOperationExecutionRequestNexusHeaderMap = {
|
|
5169
4520
|
[key: string]: string | undefined;
|
|
5170
4521
|
};
|
|
5171
|
-
export declare const StartNexusOperationExecutionRequestNexusHeaderMap: S.Schema<StartNexusOperationExecutionRequestNexusHeaderMap>;
|
|
5172
4522
|
export interface StartNexusOperationExecutionRequest {
|
|
5173
4523
|
namespace: string;
|
|
5174
4524
|
/** Identifier for this operation. This is a caller-side ID, distinct from any internal operation identifiers generated by the handler. Must be unique among operations in the same namespace, subject to the rules imposed by id_reuse_policy and id_conflict_policy. */
|
|
@@ -5202,26 +4552,20 @@ export interface StartNexusOperationExecutionRequest {
|
|
|
5202
4552
|
/** Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation. */
|
|
5203
4553
|
userMetadata?: UserMetadata;
|
|
5204
4554
|
}
|
|
5205
|
-
export declare const StartNexusOperationExecutionRequest: S.Schema<StartNexusOperationExecutionRequest>;
|
|
5206
4555
|
export interface StartNexusOperationExecutionResponse {
|
|
5207
4556
|
/** The run ID of the operation that was started - or used (via NEXUS_OPERATION_ID_CONFLICT_POLICY_USE_EXISTING). */
|
|
5208
4557
|
runId?: string;
|
|
5209
4558
|
/** If true, a new operation was started. */
|
|
5210
4559
|
started?: boolean;
|
|
5211
4560
|
}
|
|
5212
|
-
export declare const StartNexusOperationExecutionResponse: S.Schema<StartNexusOperationExecutionResponse>;
|
|
5213
4561
|
/** Defines whether to allow re-using the workflow id from a previously *closed* workflow. The default policy is WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. See `workflow_id_conflict_policy` for handling a workflow id duplication with a *running* workflow. */
|
|
5214
4562
|
export type StartWorkflowExecutionRequestWorkflowIdReusePolicy = "WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED" | "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE" | "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY" | "WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE" | "WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING";
|
|
5215
|
-
export declare const StartWorkflowExecutionRequestWorkflowIdReusePolicy: any;
|
|
5216
4563
|
/** Defines how to resolve a workflow id conflict with a *running* workflow. The default policy is WORKFLOW_ID_CONFLICT_POLICY_FAIL. See `workflow_id_reuse_policy` for handling a workflow id duplication with a *closed* workflow. */
|
|
5217
4564
|
export type StartWorkflowExecutionRequestWorkflowIdConflictPolicy = "WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED" | "WORKFLOW_ID_CONFLICT_POLICY_FAIL" | "WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING" | "WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING";
|
|
5218
|
-
export declare const StartWorkflowExecutionRequestWorkflowIdConflictPolicy: any;
|
|
5219
4565
|
/** Callbacks to be called by the server when this workflow reaches a terminal state. If the workflow continues-as-new, these callbacks will be carried over to the new execution. Callback addresses must be whitelisted in the server's dynamic configuration. */
|
|
5220
4566
|
export type StartWorkflowExecutionRequestCompletionCallbacksList = Array<Callback>;
|
|
5221
|
-
export declare const StartWorkflowExecutionRequestCompletionCallbacksList: S.Schema<StartWorkflowExecutionRequestCompletionCallbacksList>;
|
|
5222
4567
|
/** Links to be associated with the workflow. */
|
|
5223
4568
|
export type StartWorkflowExecutionRequestLinksList = Array<Link>;
|
|
5224
|
-
export declare const StartWorkflowExecutionRequestLinksList: S.Schema<StartWorkflowExecutionRequestLinksList>;
|
|
5225
4569
|
export interface StartWorkflowExecutionRequest {
|
|
5226
4570
|
namespace: string;
|
|
5227
4571
|
workflowId: string;
|
|
@@ -5274,21 +4618,17 @@ export interface StartWorkflowExecutionRequest {
|
|
|
5274
4618
|
/** Time-skipping configuration. If not set, time skipping is disabled. */
|
|
5275
4619
|
timeSkippingConfig?: TimeSkippingConfig;
|
|
5276
4620
|
}
|
|
5277
|
-
export declare const StartWorkflowExecutionRequest: S.Schema<StartWorkflowExecutionRequest>;
|
|
5278
4621
|
/** Current execution status of the workflow. Typically remains WORKFLOW_EXECUTION_STATUS_RUNNING unless a de-dupe occurs or in specific scenarios handled within the ExecuteMultiOperation (refer to its docs). */
|
|
5279
4622
|
export type StartWorkflowExecutionResponseStatus = "WORKFLOW_EXECUTION_STATUS_UNSPECIFIED" | "WORKFLOW_EXECUTION_STATUS_RUNNING" | "WORKFLOW_EXECUTION_STATUS_COMPLETED" | "WORKFLOW_EXECUTION_STATUS_FAILED" | "WORKFLOW_EXECUTION_STATUS_CANCELED" | "WORKFLOW_EXECUTION_STATUS_TERMINATED" | "WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW" | "WORKFLOW_EXECUTION_STATUS_TIMED_OUT" | "WORKFLOW_EXECUTION_STATUS_PAUSED";
|
|
5280
|
-
export declare const StartWorkflowExecutionResponseStatus: any;
|
|
5281
4623
|
/** Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results` */
|
|
5282
4624
|
export type PollWorkflowTaskQueueResponseQueriesMap = {
|
|
5283
4625
|
[key: string]: WorkflowQuery | undefined;
|
|
5284
4626
|
};
|
|
5285
|
-
export declare const PollWorkflowTaskQueueResponseQueriesMap: S.Schema<PollWorkflowTaskQueueResponseQueriesMap>;
|
|
5286
4627
|
/** Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. */
|
|
5287
4628
|
export interface GoogleProtobufAny {
|
|
5288
4629
|
/** The type of the serialized message. */
|
|
5289
4630
|
_type?: string;
|
|
5290
4631
|
}
|
|
5291
|
-
export declare const GoogleProtobufAny: S.Schema<GoogleProtobufAny>;
|
|
5292
4632
|
/** (-- api-linter: core::0146::any=disabled aip.dev/not-precedent: We want runtime extensibility for the body field --) */
|
|
5293
4633
|
export interface Message {
|
|
5294
4634
|
/** An ID for this specific message. */
|
|
@@ -5300,24 +4640,19 @@ export interface Message {
|
|
|
5300
4640
|
/** The opaque data carried by this message. The protocol type can be extracted from the package name of the message carried inside the Any. */
|
|
5301
4641
|
body?: GoogleProtobufAny;
|
|
5302
4642
|
}
|
|
5303
|
-
export declare const Message: S.Schema<Message>;
|
|
5304
4643
|
/** Protocol messages piggybacking on a WFT as a transport */
|
|
5305
4644
|
export type PollWorkflowTaskQueueResponseMessagesList = Array<Message>;
|
|
5306
|
-
export declare const PollWorkflowTaskQueueResponseMessagesList: S.Schema<PollWorkflowTaskQueueResponseMessagesList>;
|
|
5307
4645
|
/** Attached to task responses to give hints to the SDK about how it may adjust its number of pollers. */
|
|
5308
4646
|
export interface PollerScalingDecision {
|
|
5309
4647
|
/** How many poll requests to suggest should be added or removed, if any. As of now, server only scales up or down by 1. However, SDKs should allow for other values (while staying within defined min/max). The SDK is free to ignore this suggestion, EX: making more polls would not make sense because all slots are already occupied. */
|
|
5310
4648
|
pollRequestDeltaSuggestion?: number;
|
|
5311
4649
|
}
|
|
5312
|
-
export declare const PollerScalingDecision: S.Schema<PollerScalingDecision>;
|
|
5313
4650
|
export interface PollerGroupInfo {
|
|
5314
4651
|
id?: string;
|
|
5315
4652
|
weight?: number;
|
|
5316
4653
|
}
|
|
5317
|
-
export declare const PollerGroupInfo: S.Schema<PollerGroupInfo>;
|
|
5318
4654
|
/** The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights. */
|
|
5319
4655
|
export type PollWorkflowTaskQueueResponsePollerGroupInfosList = Array<PollerGroupInfo>;
|
|
5320
|
-
export declare const PollWorkflowTaskQueueResponsePollerGroupInfosList: S.Schema<PollWorkflowTaskQueueResponsePollerGroupInfosList>;
|
|
5321
4656
|
export interface PollWorkflowTaskQueueResponse {
|
|
5322
4657
|
/** A unique identifier for this task */
|
|
5323
4658
|
taskToken?: string;
|
|
@@ -5354,7 +4689,6 @@ export interface PollWorkflowTaskQueueResponse {
|
|
|
5354
4689
|
/** The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights. */
|
|
5355
4690
|
pollerGroupInfos?: PollWorkflowTaskQueueResponsePollerGroupInfosList;
|
|
5356
4691
|
}
|
|
5357
|
-
export declare const PollWorkflowTaskQueueResponse: S.Schema<PollWorkflowTaskQueueResponse>;
|
|
5358
4692
|
export interface StartWorkflowExecutionResponse {
|
|
5359
4693
|
/** The run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING). */
|
|
5360
4694
|
runId?: string;
|
|
@@ -5367,7 +4701,6 @@ export interface StartWorkflowExecutionResponse {
|
|
|
5367
4701
|
/** Link to the workflow event. */
|
|
5368
4702
|
link?: Link;
|
|
5369
4703
|
}
|
|
5370
|
-
export declare const StartWorkflowExecutionResponse: S.Schema<StartWorkflowExecutionResponse>;
|
|
5371
4704
|
export interface StopBatchOperationRequest {
|
|
5372
4705
|
/** Namespace that contains the batch operation */
|
|
5373
4706
|
namespace: string;
|
|
@@ -5378,9 +4711,7 @@ export interface StopBatchOperationRequest {
|
|
|
5378
4711
|
/** Identity of the operator */
|
|
5379
4712
|
identity?: string;
|
|
5380
4713
|
}
|
|
5381
|
-
export declare const StopBatchOperationRequest: S.Schema<StopBatchOperationRequest>;
|
|
5382
4714
|
export type StopBatchOperationResponse2 = unknown;
|
|
5383
|
-
export declare const StopBatchOperationResponse2: S.Schema<StopBatchOperationResponse2>;
|
|
5384
4715
|
export interface TerminateActivityExecutionRequest {
|
|
5385
4716
|
namespace: string;
|
|
5386
4717
|
activityId: string;
|
|
@@ -5393,9 +4724,7 @@ export interface TerminateActivityExecutionRequest {
|
|
|
5393
4724
|
/** Reason for requesting the termination, recorded in in the activity's result failure outcome. */
|
|
5394
4725
|
reason?: string;
|
|
5395
4726
|
}
|
|
5396
|
-
export declare const TerminateActivityExecutionRequest: S.Schema<TerminateActivityExecutionRequest>;
|
|
5397
4727
|
export type TerminateActivityExecutionResponse2 = unknown;
|
|
5398
|
-
export declare const TerminateActivityExecutionResponse2: S.Schema<TerminateActivityExecutionResponse2>;
|
|
5399
4728
|
export interface TerminateNexusOperationExecutionRequest {
|
|
5400
4729
|
namespace: string;
|
|
5401
4730
|
operationId: string;
|
|
@@ -5408,12 +4737,9 @@ export interface TerminateNexusOperationExecutionRequest {
|
|
|
5408
4737
|
/** Reason for requesting the termination, recorded in the operation's result failure outcome. */
|
|
5409
4738
|
reason?: string;
|
|
5410
4739
|
}
|
|
5411
|
-
export declare const TerminateNexusOperationExecutionRequest: S.Schema<TerminateNexusOperationExecutionRequest>;
|
|
5412
4740
|
export type TerminateNexusOperationExecutionResponse2 = unknown;
|
|
5413
|
-
export declare const TerminateNexusOperationExecutionResponse2: S.Schema<TerminateNexusOperationExecutionResponse2>;
|
|
5414
4741
|
/** Links to be associated with the WorkflowExecutionTerminated event. */
|
|
5415
4742
|
export type TerminateWorkflowExecutionRequestLinksList = Array<Link>;
|
|
5416
|
-
export declare const TerminateWorkflowExecutionRequestLinksList: S.Schema<TerminateWorkflowExecutionRequestLinksList>;
|
|
5417
4743
|
export interface TerminateWorkflowExecutionRequest {
|
|
5418
4744
|
namespace: string;
|
|
5419
4745
|
workflow_execution_workflow_id: string;
|
|
@@ -5428,9 +4754,7 @@ export interface TerminateWorkflowExecutionRequest {
|
|
|
5428
4754
|
/** Links to be associated with the WorkflowExecutionTerminated event. */
|
|
5429
4755
|
links?: TerminateWorkflowExecutionRequestLinksList;
|
|
5430
4756
|
}
|
|
5431
|
-
export declare const TerminateWorkflowExecutionRequest: S.Schema<TerminateWorkflowExecutionRequest>;
|
|
5432
4757
|
export type TerminateWorkflowExecutionResponse2 = unknown;
|
|
5433
|
-
export declare const TerminateWorkflowExecutionResponse2: S.Schema<TerminateWorkflowExecutionResponse2>;
|
|
5434
4758
|
export interface TriggerWorkflowRuleRequest {
|
|
5435
4759
|
namespace: string;
|
|
5436
4760
|
execution_workflow_id: string;
|
|
@@ -5442,12 +4766,10 @@ export interface TriggerWorkflowRuleRequest {
|
|
|
5442
4766
|
/** The identity of the client who initiated this request */
|
|
5443
4767
|
identity?: string;
|
|
5444
4768
|
}
|
|
5445
|
-
export declare const TriggerWorkflowRuleRequest: S.Schema<TriggerWorkflowRuleRequest>;
|
|
5446
4769
|
export interface TriggerWorkflowRuleResponse {
|
|
5447
4770
|
/** True is the rule was applied, based on the rule conditions (predicate/visibility_query). */
|
|
5448
4771
|
applied?: boolean;
|
|
5449
4772
|
}
|
|
5450
|
-
export declare const TriggerWorkflowRuleResponse: S.Schema<TriggerWorkflowRuleResponse>;
|
|
5451
4773
|
export interface UnpauseActivityRequest {
|
|
5452
4774
|
/** Namespace of the workflow which scheduled this activity. */
|
|
5453
4775
|
namespace: string;
|
|
@@ -5468,9 +4790,7 @@ export interface UnpauseActivityRequest {
|
|
|
5468
4790
|
/** If set, the activity will start at a random time within the specified jitter duration. */
|
|
5469
4791
|
jitter?: string;
|
|
5470
4792
|
}
|
|
5471
|
-
export declare const UnpauseActivityRequest: S.Schema<UnpauseActivityRequest>;
|
|
5472
4793
|
export type UnpauseActivityResponse2 = unknown;
|
|
5473
|
-
export declare const UnpauseActivityResponse2: S.Schema<UnpauseActivityResponse2>;
|
|
5474
4794
|
export interface UnpauseActivityExecutionRequest {
|
|
5475
4795
|
/** Namespace of the workflow which scheduled this activity. */
|
|
5476
4796
|
namespace: string;
|
|
@@ -5493,9 +4813,7 @@ export interface UnpauseActivityExecutionRequest {
|
|
|
5493
4813
|
/** Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. */
|
|
5494
4814
|
resourceId?: string;
|
|
5495
4815
|
}
|
|
5496
|
-
export declare const UnpauseActivityExecutionRequest: S.Schema<UnpauseActivityExecutionRequest>;
|
|
5497
4816
|
export type UnpauseActivityExecutionResponse2 = unknown;
|
|
5498
|
-
export declare const UnpauseActivityExecutionResponse2: S.Schema<UnpauseActivityExecutionResponse2>;
|
|
5499
4817
|
export interface UnpauseWorkflowExecutionRequest {
|
|
5500
4818
|
/** Namespace of the workflow to unpause. */
|
|
5501
4819
|
namespace: string;
|
|
@@ -5510,9 +4828,7 @@ export interface UnpauseWorkflowExecutionRequest {
|
|
|
5510
4828
|
/** A unique identifier for this unpause request for idempotence. Typically UUIDv4. */
|
|
5511
4829
|
requestId?: string;
|
|
5512
4830
|
}
|
|
5513
|
-
export declare const UnpauseWorkflowExecutionRequest: S.Schema<UnpauseWorkflowExecutionRequest>;
|
|
5514
4831
|
export type UnpauseWorkflowExecutionResponse2 = unknown;
|
|
5515
|
-
export declare const UnpauseWorkflowExecutionResponse2: S.Schema<UnpauseWorkflowExecutionResponse2>;
|
|
5516
4832
|
export interface UpdateActivityExecutionOptionsRequest {
|
|
5517
4833
|
/** Namespace of the workflow which scheduled this activity */
|
|
5518
4834
|
namespace: string;
|
|
@@ -5533,12 +4849,10 @@ export interface UpdateActivityExecutionOptionsRequest {
|
|
|
5533
4849
|
/** Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. */
|
|
5534
4850
|
resourceId?: string;
|
|
5535
4851
|
}
|
|
5536
|
-
export declare const UpdateActivityExecutionOptionsRequest: S.Schema<UpdateActivityExecutionOptionsRequest>;
|
|
5537
4852
|
export interface UpdateActivityExecutionOptionsResponse {
|
|
5538
4853
|
/** Activity options after an update */
|
|
5539
4854
|
activityOptions?: ActivityOptions;
|
|
5540
4855
|
}
|
|
5541
|
-
export declare const UpdateActivityExecutionOptionsResponse: S.Schema<UpdateActivityExecutionOptionsResponse>;
|
|
5542
4856
|
export interface UpdateActivityOptionsRequest {
|
|
5543
4857
|
/** Namespace of the workflow which scheduled this activity */
|
|
5544
4858
|
namespace: string;
|
|
@@ -5559,21 +4873,17 @@ export interface UpdateActivityOptionsRequest {
|
|
|
5559
4873
|
/** If set, the activity options will be restored to the default. Default options are then options activity was created with. They are part of the first schedule event. This flag cannot be combined with any other option; if you supply restore_original together with other options, the request will be rejected. */
|
|
5560
4874
|
restoreOriginal?: boolean;
|
|
5561
4875
|
}
|
|
5562
|
-
export declare const UpdateActivityOptionsRequest: S.Schema<UpdateActivityOptionsRequest>;
|
|
5563
4876
|
/** Deprecated. Use `UpdateActivityExecutionOptionsResponse`. */
|
|
5564
4877
|
export interface UpdateActivityOptionsResponse {
|
|
5565
4878
|
/** Activity options after an update */
|
|
5566
4879
|
activityOptions?: ActivityOptions;
|
|
5567
4880
|
}
|
|
5568
|
-
export declare const UpdateActivityOptionsResponse: S.Schema<UpdateActivityOptionsResponse>;
|
|
5569
4881
|
/** A key-value map for any customized purpose. If data already exists on the namespace, this will merge with the existing key values. */
|
|
5570
4882
|
export type UpdateNamespaceInfoDataMap = {
|
|
5571
4883
|
[key: string]: string | undefined;
|
|
5572
4884
|
};
|
|
5573
|
-
export declare const UpdateNamespaceInfoDataMap: S.Schema<UpdateNamespaceInfoDataMap>;
|
|
5574
4885
|
/** New namespace state, server will reject if transition is not allowed. Allowed transitions are: Registered -> [ Deleted | Deprecated | Handover ] Handover -> [ Registered ] Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state. */
|
|
5575
4886
|
export type UpdateNamespaceInfoState = "NAMESPACE_STATE_UNSPECIFIED" | "NAMESPACE_STATE_REGISTERED" | "NAMESPACE_STATE_DEPRECATED" | "NAMESPACE_STATE_DELETED";
|
|
5576
|
-
export declare const UpdateNamespaceInfoState: any;
|
|
5577
4887
|
export interface UpdateNamespaceInfo {
|
|
5578
4888
|
description?: string;
|
|
5579
4889
|
ownerEmail?: string;
|
|
@@ -5582,7 +4892,6 @@ export interface UpdateNamespaceInfo {
|
|
|
5582
4892
|
/** New namespace state, server will reject if transition is not allowed. Allowed transitions are: Registered -> [ Deleted | Deprecated | Handover ] Handover -> [ Registered ] Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state. */
|
|
5583
4893
|
state?: UpdateNamespaceInfoState | (string & {});
|
|
5584
4894
|
}
|
|
5585
|
-
export declare const UpdateNamespaceInfo: S.Schema<UpdateNamespaceInfo>;
|
|
5586
4895
|
export interface UpdateNamespaceRequest {
|
|
5587
4896
|
namespace: string;
|
|
5588
4897
|
updateInfo?: UpdateNamespaceInfo;
|
|
@@ -5593,7 +4902,6 @@ export interface UpdateNamespaceRequest {
|
|
|
5593
4902
|
/** promote local namespace to global namespace. Ignored if namespace is already global namespace. */
|
|
5594
4903
|
promoteNamespace?: boolean;
|
|
5595
4904
|
}
|
|
5596
|
-
export declare const UpdateNamespaceRequest: S.Schema<UpdateNamespaceRequest>;
|
|
5597
4905
|
export interface UpdateNamespaceResponse {
|
|
5598
4906
|
namespaceInfo?: NamespaceInfo;
|
|
5599
4907
|
config?: NamespaceConfig;
|
|
@@ -5601,7 +4909,6 @@ export interface UpdateNamespaceResponse {
|
|
|
5601
4909
|
failoverVersion?: string;
|
|
5602
4910
|
isGlobalNamespace?: boolean;
|
|
5603
4911
|
}
|
|
5604
|
-
export declare const UpdateNamespaceResponse: S.Schema<UpdateNamespaceResponse>;
|
|
5605
4912
|
export interface UpdateNexusEndpointRequest {
|
|
5606
4913
|
/** Server-generated unique endpoint ID. */
|
|
5607
4914
|
id: string;
|
|
@@ -5609,12 +4916,10 @@ export interface UpdateNexusEndpointRequest {
|
|
|
5609
4916
|
version?: string;
|
|
5610
4917
|
spec?: EndpointSpec;
|
|
5611
4918
|
}
|
|
5612
|
-
export declare const UpdateNexusEndpointRequest: S.Schema<UpdateNexusEndpointRequest>;
|
|
5613
4919
|
export interface UpdateNexusEndpointResponse {
|
|
5614
4920
|
/** Data post acceptance. Can be used to issue additional updates to this record. */
|
|
5615
4921
|
endpoint?: Endpoint;
|
|
5616
4922
|
}
|
|
5617
|
-
export declare const UpdateNexusEndpointResponse: S.Schema<UpdateNexusEndpointResponse>;
|
|
5618
4923
|
export interface UpdateScheduleRequest {
|
|
5619
4924
|
/** The namespace of the schedule to update. */
|
|
5620
4925
|
namespace: string;
|
|
@@ -5633,26 +4938,20 @@ export interface UpdateScheduleRequest {
|
|
|
5633
4938
|
/** Schedule memo to replace. If set, replaces the entire memo. Do not set this field if you do not want to update the memo. A non-null empty object will clear the memo. */
|
|
5634
4939
|
memo?: Memo;
|
|
5635
4940
|
}
|
|
5636
|
-
export declare const UpdateScheduleRequest: S.Schema<UpdateScheduleRequest>;
|
|
5637
4941
|
export type UpdateScheduleResponse2 = unknown;
|
|
5638
|
-
export declare const UpdateScheduleResponse2: S.Schema<UpdateScheduleResponse2>;
|
|
5639
4942
|
export type UpdateTaskQueueConfigRequestTaskQueueType = "TASK_QUEUE_TYPE_UNSPECIFIED" | "TASK_QUEUE_TYPE_WORKFLOW" | "TASK_QUEUE_TYPE_ACTIVITY" | "TASK_QUEUE_TYPE_NEXUS";
|
|
5640
|
-
export declare const UpdateTaskQueueConfigRequestTaskQueueType: any;
|
|
5641
4943
|
export interface UpdateTaskQueueConfigRequestRateLimitUpdate {
|
|
5642
4944
|
/** Rate Limit to be updated */
|
|
5643
4945
|
rateLimit?: RateLimit;
|
|
5644
4946
|
/** Reason for why the rate limit was set. */
|
|
5645
4947
|
reason?: string;
|
|
5646
4948
|
}
|
|
5647
|
-
export declare const UpdateTaskQueueConfigRequestRateLimitUpdate: S.Schema<UpdateTaskQueueConfigRequestRateLimitUpdate>;
|
|
5648
4949
|
/** If set, overrides the fairness weight for each specified fairness key. Fairness keys not listed in this map will keep their existing overrides (if any). */
|
|
5649
4950
|
export type UpdateTaskQueueConfigRequestSetFairnessWeightOverridesMap = {
|
|
5650
4951
|
[key: string]: number | undefined;
|
|
5651
4952
|
};
|
|
5652
|
-
export declare const UpdateTaskQueueConfigRequestSetFairnessWeightOverridesMap: S.Schema<UpdateTaskQueueConfigRequestSetFairnessWeightOverridesMap>;
|
|
5653
4953
|
/** If set, removes any existing fairness weight overrides for each specified fairness key. Fairness weights for corresponding keys fall back to the values set during task creation (if any), or to the default weight of 1.0. */
|
|
5654
4954
|
export type UpdateTaskQueueConfigRequestUnsetFairnessWeightOverridesList = Array<string>;
|
|
5655
|
-
export declare const UpdateTaskQueueConfigRequestUnsetFairnessWeightOverridesList: S.Schema<UpdateTaskQueueConfigRequestUnsetFairnessWeightOverridesList>;
|
|
5656
4955
|
export interface UpdateTaskQueueConfigRequest {
|
|
5657
4956
|
namespace: string;
|
|
5658
4957
|
/** Selects the task queue to update. */
|
|
@@ -5668,11 +4967,9 @@ export interface UpdateTaskQueueConfigRequest {
|
|
|
5668
4967
|
/** If set, removes any existing fairness weight overrides for each specified fairness key. Fairness weights for corresponding keys fall back to the values set during task creation (if any), or to the default weight of 1.0. */
|
|
5669
4968
|
unsetFairnessWeightOverrides?: UpdateTaskQueueConfigRequestUnsetFairnessWeightOverridesList;
|
|
5670
4969
|
}
|
|
5671
|
-
export declare const UpdateTaskQueueConfigRequest: S.Schema<UpdateTaskQueueConfigRequest>;
|
|
5672
4970
|
export interface UpdateTaskQueueConfigResponse {
|
|
5673
4971
|
config?: TaskQueueConfig;
|
|
5674
4972
|
}
|
|
5675
|
-
export declare const UpdateTaskQueueConfigResponse: S.Schema<UpdateTaskQueueConfigResponse>;
|
|
5676
4973
|
export interface UpdateWorkerConfigRequest {
|
|
5677
4974
|
/** Namespace this worker belongs to. */
|
|
5678
4975
|
namespace: string;
|
|
@@ -5689,26 +4986,21 @@ export interface UpdateWorkerConfigRequest {
|
|
|
5689
4986
|
/** Resource ID for routing. Contains the worker grouping key. */
|
|
5690
4987
|
resourceId?: string;
|
|
5691
4988
|
}
|
|
5692
|
-
export declare const UpdateWorkerConfigRequest: S.Schema<UpdateWorkerConfigRequest>;
|
|
5693
4989
|
export interface UpdateWorkerConfigResponse {
|
|
5694
4990
|
/** The worker configuration. Will be returned if the command was sent to a single worker. */
|
|
5695
4991
|
workerConfig?: WorkerConfig;
|
|
5696
4992
|
}
|
|
5697
|
-
export declare const UpdateWorkerConfigResponse: S.Schema<UpdateWorkerConfigResponse>;
|
|
5698
4993
|
export interface ComputeConfigScalingGroupUpdate {
|
|
5699
4994
|
scalingGroup?: ComputeConfigScalingGroup;
|
|
5700
4995
|
/** Controls which fields from `scaling_group` will be applied. Semantics: - Mask is ignored for new scaling groups (only applicable when scaling group already exists). - Empty mask for an existing scaling group is no-op: no change. - Non-empty mask for an existing scaling group will update/unset only to the fields mentioned in the mask. - Accepted paths: "task_queue_types", "provider", "provider.type", "provider.details", "provider.nexus_endpoint", "scaler", "scaler.type", "scaler.details" */
|
|
5701
4996
|
updateMask?: string;
|
|
5702
4997
|
}
|
|
5703
|
-
export declare const ComputeConfigScalingGroupUpdate: S.Schema<ComputeConfigScalingGroupUpdate>;
|
|
5704
4998
|
/** Optional. Contains the compute config scaling groups to add or update for the Worker Deployment. */
|
|
5705
4999
|
export type UpdateWorkerDeploymentVersionComputeConfigRequestComputeConfigScalingGroupsMap = {
|
|
5706
5000
|
[key: string]: ComputeConfigScalingGroupUpdate | undefined;
|
|
5707
5001
|
};
|
|
5708
|
-
export declare const UpdateWorkerDeploymentVersionComputeConfigRequestComputeConfigScalingGroupsMap: S.Schema<UpdateWorkerDeploymentVersionComputeConfigRequestComputeConfigScalingGroupsMap>;
|
|
5709
5002
|
/** Optional. Contains the compute config scaling groups to remove from the Worker Deployment. */
|
|
5710
5003
|
export type UpdateWorkerDeploymentVersionComputeConfigRequestRemoveComputeConfigScalingGroupsList = Array<string>;
|
|
5711
|
-
export declare const UpdateWorkerDeploymentVersionComputeConfigRequestRemoveComputeConfigScalingGroupsList: S.Schema<UpdateWorkerDeploymentVersionComputeConfigRequestRemoveComputeConfigScalingGroupsList>;
|
|
5712
5004
|
export interface UpdateWorkerDeploymentVersionComputeConfigRequest {
|
|
5713
5005
|
namespace: string;
|
|
5714
5006
|
deployment_version_deployment_name: string;
|
|
@@ -5724,16 +5016,12 @@ export interface UpdateWorkerDeploymentVersionComputeConfigRequest {
|
|
|
5724
5016
|
/** A unique identifier for this create request for idempotence. Typically UUIDv4. If a second request with the same ID is recieved, it is considered a successful no-op. Retrying with a different request ID for the same deployment name + build ID is an error. */
|
|
5725
5017
|
requestId?: string;
|
|
5726
5018
|
}
|
|
5727
|
-
export declare const UpdateWorkerDeploymentVersionComputeConfigRequest: S.Schema<UpdateWorkerDeploymentVersionComputeConfigRequest>;
|
|
5728
5019
|
export type UpdateWorkerDeploymentVersionComputeConfigResponse2 = unknown;
|
|
5729
|
-
export declare const UpdateWorkerDeploymentVersionComputeConfigResponse2: S.Schema<UpdateWorkerDeploymentVersionComputeConfigResponse2>;
|
|
5730
5020
|
export type UpdateWorkerDeploymentVersionMetadataRequestUpsertEntriesMap = {
|
|
5731
5021
|
[key: string]: unknown | undefined;
|
|
5732
5022
|
};
|
|
5733
|
-
export declare const UpdateWorkerDeploymentVersionMetadataRequestUpsertEntriesMap: S.Schema<UpdateWorkerDeploymentVersionMetadataRequestUpsertEntriesMap>;
|
|
5734
5023
|
/** List of keys to remove from the metadata. */
|
|
5735
5024
|
export type UpdateWorkerDeploymentVersionMetadataRequestRemoveEntriesList = Array<string>;
|
|
5736
|
-
export declare const UpdateWorkerDeploymentVersionMetadataRequestRemoveEntriesList: S.Schema<UpdateWorkerDeploymentVersionMetadataRequestRemoveEntriesList>;
|
|
5737
5025
|
export interface UpdateWorkerDeploymentVersionMetadataRequest {
|
|
5738
5026
|
namespace: string;
|
|
5739
5027
|
deployment_version_deployment_name: string;
|
|
@@ -5748,21 +5036,17 @@ export interface UpdateWorkerDeploymentVersionMetadataRequest {
|
|
|
5748
5036
|
/** Optional. The identity of the client who initiated this request. */
|
|
5749
5037
|
identity?: string;
|
|
5750
5038
|
}
|
|
5751
|
-
export declare const UpdateWorkerDeploymentVersionMetadataRequest: S.Schema<UpdateWorkerDeploymentVersionMetadataRequest>;
|
|
5752
5039
|
export interface UpdateWorkerDeploymentVersionMetadataResponse {
|
|
5753
5040
|
/** Full metadata after performing the update. */
|
|
5754
5041
|
metadata?: VersionMetadata;
|
|
5755
5042
|
}
|
|
5756
|
-
export declare const UpdateWorkerDeploymentVersionMetadataResponse: S.Schema<UpdateWorkerDeploymentVersionMetadataResponse>;
|
|
5757
5043
|
/** Indicates the Update lifecycle stage that the Update must reach before API call is returned. NOTE: This field works together with API call timeout which is limited by server timeout (maximum wait time). If server timeout is expired before user specified timeout, API call returns even if specified stage is not reached. */
|
|
5758
5044
|
export type WaitPolicyLifecycleStage = "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED" | "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED" | "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED" | "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED";
|
|
5759
|
-
export declare const WaitPolicyLifecycleStage: any;
|
|
5760
5045
|
/** Specifies client's intent to wait for Update results. */
|
|
5761
5046
|
export interface WaitPolicy {
|
|
5762
5047
|
/** Indicates the Update lifecycle stage that the Update must reach before API call is returned. NOTE: This field works together with API call timeout which is limited by server timeout (maximum wait time). If server timeout is expired before user specified timeout, API call returns even if specified stage is not reached. */
|
|
5763
5048
|
lifecycleStage?: WaitPolicyLifecycleStage | (string & {});
|
|
5764
5049
|
}
|
|
5765
|
-
export declare const WaitPolicy: S.Schema<WaitPolicy>;
|
|
5766
5050
|
export interface UpdateWorkflowExecutionRequest {
|
|
5767
5051
|
/** The namespace name of the target Workflow. */
|
|
5768
5052
|
namespace: string;
|
|
@@ -5777,16 +5061,13 @@ export interface UpdateWorkflowExecutionRequest {
|
|
|
5777
5061
|
/** The request information that will be delivered all the way down to the Workflow Execution. */
|
|
5778
5062
|
request?: Request;
|
|
5779
5063
|
}
|
|
5780
|
-
export declare const UpdateWorkflowExecutionRequest: S.Schema<UpdateWorkflowExecutionRequest>;
|
|
5781
5064
|
/** The data needed by a client to refer to a previously invoked Workflow Update. */
|
|
5782
5065
|
export interface UpdateRef {
|
|
5783
5066
|
workflowExecution?: WorkflowExecution;
|
|
5784
5067
|
updateId?: string;
|
|
5785
5068
|
}
|
|
5786
|
-
export declare const UpdateRef: S.Schema<UpdateRef>;
|
|
5787
5069
|
/** The most advanced lifecycle stage that the Update is known to have reached, where lifecycle stages are ordered UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED. UNSPECIFIED will be returned if and only if the server's maximum wait time was reached before the Update reached the stage specified in the request WaitPolicy, and before the context deadline expired; clients may may then retry the call as needed. */
|
|
5788
5070
|
export type UpdateWorkflowExecutionResponseStage = "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED" | "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED" | "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED" | "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED";
|
|
5789
|
-
export declare const UpdateWorkflowExecutionResponseStage: any;
|
|
5790
5071
|
export interface UpdateWorkflowExecutionResponse {
|
|
5791
5072
|
/** Enough information for subsequent poll calls if needed. Never null. */
|
|
5792
5073
|
updateRef?: UpdateRef;
|
|
@@ -5795,7 +5076,6 @@ export interface UpdateWorkflowExecutionResponse {
|
|
|
5795
5076
|
/** The most advanced lifecycle stage that the Update is known to have reached, where lifecycle stages are ordered UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED. UNSPECIFIED will be returned if and only if the server's maximum wait time was reached before the Update reached the stage specified in the request WaitPolicy, and before the context deadline expired; clients may may then retry the call as needed. */
|
|
5796
5077
|
stage?: UpdateWorkflowExecutionResponseStage;
|
|
5797
5078
|
}
|
|
5798
|
-
export declare const UpdateWorkflowExecutionResponse: S.Schema<UpdateWorkflowExecutionResponse>;
|
|
5799
5079
|
export interface UpdateWorkflowExecutionOptionsRequest {
|
|
5800
5080
|
/** The namespace name of the target Workflow. */
|
|
5801
5081
|
namespace: string;
|
|
@@ -5809,20 +5089,16 @@ export interface UpdateWorkflowExecutionOptionsRequest {
|
|
|
5809
5089
|
/** Optional. The identity of the client who initiated this request. */
|
|
5810
5090
|
identity?: string;
|
|
5811
5091
|
}
|
|
5812
|
-
export declare const UpdateWorkflowExecutionOptionsRequest: S.Schema<UpdateWorkflowExecutionOptionsRequest>;
|
|
5813
5092
|
export interface UpdateWorkflowExecutionOptionsResponse {
|
|
5814
5093
|
/** Workflow Execution options after update. */
|
|
5815
5094
|
workflowExecutionOptions?: WorkflowExecutionOptions;
|
|
5816
5095
|
}
|
|
5817
|
-
export declare const UpdateWorkflowExecutionOptionsResponse: S.Schema<UpdateWorkflowExecutionOptionsResponse>;
|
|
5818
5096
|
/** Optional. Contains the compute config scaling groups to add or update for the Worker Deployment. */
|
|
5819
5097
|
export type ValidateWorkerDeploymentVersionComputeConfigRequestComputeConfigScalingGroupsMap = {
|
|
5820
5098
|
[key: string]: ComputeConfigScalingGroupUpdate | undefined;
|
|
5821
5099
|
};
|
|
5822
|
-
export declare const ValidateWorkerDeploymentVersionComputeConfigRequestComputeConfigScalingGroupsMap: S.Schema<ValidateWorkerDeploymentVersionComputeConfigRequestComputeConfigScalingGroupsMap>;
|
|
5823
5100
|
/** Optional. Contains the compute config scaling groups to remove from the Worker Deployment. */
|
|
5824
5101
|
export type ValidateWorkerDeploymentVersionComputeConfigRequestRemoveComputeConfigScalingGroupsList = Array<string>;
|
|
5825
|
-
export declare const ValidateWorkerDeploymentVersionComputeConfigRequestRemoveComputeConfigScalingGroupsList: S.Schema<ValidateWorkerDeploymentVersionComputeConfigRequestRemoveComputeConfigScalingGroupsList>;
|
|
5826
5102
|
export interface ValidateWorkerDeploymentVersionComputeConfigRequest {
|
|
5827
5103
|
namespace: string;
|
|
5828
5104
|
deployment_version_deployment_name: string;
|
|
@@ -5836,9 +5112,7 @@ export interface ValidateWorkerDeploymentVersionComputeConfigRequest {
|
|
|
5836
5112
|
/** Optional. The identity of the client who initiated this request. */
|
|
5837
5113
|
identity?: string;
|
|
5838
5114
|
}
|
|
5839
|
-
export declare const ValidateWorkerDeploymentVersionComputeConfigRequest: S.Schema<ValidateWorkerDeploymentVersionComputeConfigRequest>;
|
|
5840
5115
|
export type ValidateWorkerDeploymentVersionComputeConfigResponse2 = unknown;
|
|
5841
|
-
export declare const ValidateWorkerDeploymentVersionComputeConfigResponse2: S.Schema<ValidateWorkerDeploymentVersionComputeConfigResponse2>;
|
|
5842
5116
|
export type CountActivityExecutionsError = TemporalOpError;
|
|
5843
5117
|
/** CountActivityExecutions is a visibility API to count activity executions in a specific namespace. */
|
|
5844
5118
|
export declare const countActivityExecutions: API.OperationMethod<CountActivityExecutionsRequest, CountActivityExecutionsResponse, CountActivityExecutionsError, TemporalOpContext>;
|