@lmnr-ai/lmnr 0.8.44 → 0.8.45
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/dist/cli.cjs +23 -25
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.d.cts +1 -1
- package/dist/cli.d.mts +1 -1
- package/dist/cli.mjs +7 -8
- package/dist/cli.mjs.map +1 -1
- package/dist/{evaluations-RbBZb5yl.d.cts → evaluations-BHEE6fmA.d.cts} +17934 -8631
- package/dist/{evaluations-CVo0ms_r.d.mts → evaluations-BbIIQMLr.d.mts} +17934 -8631
- package/dist/{file-utils-1olUHMKC.mjs → file-utils-BtzEDUy6.mjs} +2 -2
- package/dist/file-utils-BtzEDUy6.mjs.map +1 -0
- package/dist/{file-utils-CMO5MuV9.cjs → file-utils-pZG20hHb.cjs} +6 -6
- package/dist/file-utils-pZG20hHb.cjs.map +1 -0
- package/dist/index.cjs +574 -435
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1533 -437
- package/dist/index.d.mts +1533 -437
- package/dist/index.mjs +287 -148
- package/dist/index.mjs.map +1 -1
- package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.cjs +159 -62
- package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.cjs.map +1 -1
- package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.d.cts +3388 -250
- package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.d.mts +3388 -250
- package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.mjs +159 -62
- package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.mjs.map +1 -1
- package/dist/{dist-BtB31bk1.cjs → utils-CatgN6Pb.cjs} +558 -558
- package/dist/utils-CatgN6Pb.cjs.map +1 -0
- package/dist/{dist-Cjres0a5.mjs → utils-UmlDPMxe.mjs} +552 -552
- package/dist/utils-UmlDPMxe.mjs.map +1 -0
- package/package.json +30 -30
- package/dist/dist-BtB31bk1.cjs.map +0 -1
- package/dist/dist-Cjres0a5.mjs.map +0 -1
- package/dist/file-utils-1olUHMKC.mjs.map +0 -1
- package/dist/file-utils-CMO5MuV9.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StringValue } from "ms";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/type-helpers.d.ts
|
|
4
4
|
/** Shorthand alias */
|
|
5
5
|
type AnyFunc = (...args: any[]) => any;
|
|
6
6
|
/** A tuple without its last element */
|
|
@@ -8,7 +8,7 @@ type OmitLast<T> = T extends [...infer REST, any] ? REST : never;
|
|
|
8
8
|
/** F with all arguments but the last */
|
|
9
9
|
type OmitLastParam<F extends AnyFunc> = (...args: OmitLast<Parameters<F>>) => ReturnType<F>;
|
|
10
10
|
//#endregion
|
|
11
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.
|
|
11
|
+
//#region ../../node_modules/.pnpm/protobufjs@7.6.5/node_modules/protobufjs/index.d.ts
|
|
12
12
|
/** Reflected enum. */
|
|
13
13
|
declare class Enum extends ReflectionObject {
|
|
14
14
|
/**
|
|
@@ -2494,7 +2494,7 @@ declare class Long {
|
|
|
2494
2494
|
xor(other: LongLike): Long;
|
|
2495
2495
|
}
|
|
2496
2496
|
//#endregion
|
|
2497
|
-
//#region ../../node_modules/.pnpm/@temporalio+proto@1.
|
|
2497
|
+
//#region ../../node_modules/.pnpm/@temporalio+proto@1.22.0/node_modules/@temporalio/proto/protos/root.d.ts
|
|
2498
2498
|
/** Namespace coresdk. */
|
|
2499
2499
|
declare namespace coresdk {
|
|
2500
2500
|
/** Properties of an ActivityHeartbeat. */
|
|
@@ -11512,6 +11512,99 @@ declare namespace temporal {
|
|
|
11512
11512
|
*/
|
|
11513
11513
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11514
11514
|
}
|
|
11515
|
+
/** Properties of an Execution. */
|
|
11516
|
+
interface IExecution {
|
|
11517
|
+
/** Execution type */
|
|
11518
|
+
type?: (temporal.api.enums.v1.ExecutionType | null);
|
|
11519
|
+
/** Execution businessId */
|
|
11520
|
+
businessId?: (string | null);
|
|
11521
|
+
/** Execution runId */
|
|
11522
|
+
runId?: (string | null);
|
|
11523
|
+
}
|
|
11524
|
+
/**
|
|
11525
|
+
* Identifies a specific execution within a namespace. This is used for standalone activities
|
|
11526
|
+
* executions in batch jobs currently.
|
|
11527
|
+
*/
|
|
11528
|
+
class Execution implements IExecution {
|
|
11529
|
+
/**
|
|
11530
|
+
* Constructs a new Execution.
|
|
11531
|
+
* @param [properties] Properties to set
|
|
11532
|
+
*/
|
|
11533
|
+
constructor(properties?: temporal.api.common.v1.IExecution);
|
|
11534
|
+
/** Execution type. */
|
|
11535
|
+
public type: temporal.api.enums.v1.ExecutionType;
|
|
11536
|
+
/** Execution businessId. */
|
|
11537
|
+
public businessId: string;
|
|
11538
|
+
/** Execution runId. */
|
|
11539
|
+
public runId: string;
|
|
11540
|
+
/**
|
|
11541
|
+
* Creates a new Execution instance using the specified properties.
|
|
11542
|
+
* @param [properties] Properties to set
|
|
11543
|
+
* @returns Execution instance
|
|
11544
|
+
*/
|
|
11545
|
+
public static create(properties?: temporal.api.common.v1.IExecution): temporal.api.common.v1.Execution;
|
|
11546
|
+
/**
|
|
11547
|
+
* Encodes the specified Execution message. Does not implicitly {@link temporal.api.common.v1.Execution.verify|verify} messages.
|
|
11548
|
+
* @param message Execution message or plain object to encode
|
|
11549
|
+
* @param [writer] Writer to encode to
|
|
11550
|
+
* @returns Writer
|
|
11551
|
+
*/
|
|
11552
|
+
public static encode(message: temporal.api.common.v1.IExecution, writer?: Writer): Writer;
|
|
11553
|
+
/**
|
|
11554
|
+
* Encodes the specified Execution message, length delimited. Does not implicitly {@link temporal.api.common.v1.Execution.verify|verify} messages.
|
|
11555
|
+
* @param message Execution message or plain object to encode
|
|
11556
|
+
* @param [writer] Writer to encode to
|
|
11557
|
+
* @returns Writer
|
|
11558
|
+
*/
|
|
11559
|
+
public static encodeDelimited(message: temporal.api.common.v1.IExecution, writer?: Writer): Writer;
|
|
11560
|
+
/**
|
|
11561
|
+
* Decodes an Execution message from the specified reader or buffer.
|
|
11562
|
+
* @param reader Reader or buffer to decode from
|
|
11563
|
+
* @param [length] Message length if known beforehand
|
|
11564
|
+
* @returns Execution
|
|
11565
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11566
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11567
|
+
*/
|
|
11568
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.common.v1.Execution;
|
|
11569
|
+
/**
|
|
11570
|
+
* Decodes an Execution message from the specified reader or buffer, length delimited.
|
|
11571
|
+
* @param reader Reader or buffer to decode from
|
|
11572
|
+
* @returns Execution
|
|
11573
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11574
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11575
|
+
*/
|
|
11576
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.common.v1.Execution;
|
|
11577
|
+
/**
|
|
11578
|
+
* Creates an Execution message from a plain object. Also converts values to their respective internal types.
|
|
11579
|
+
* @param object Plain object
|
|
11580
|
+
* @returns Execution
|
|
11581
|
+
*/
|
|
11582
|
+
public static fromObject(object: {
|
|
11583
|
+
[k: string]: any;
|
|
11584
|
+
}): temporal.api.common.v1.Execution;
|
|
11585
|
+
/**
|
|
11586
|
+
* Creates a plain object from an Execution message. Also converts values to other types if specified.
|
|
11587
|
+
* @param message Execution
|
|
11588
|
+
* @param [options] Conversion options
|
|
11589
|
+
* @returns Plain object
|
|
11590
|
+
*/
|
|
11591
|
+
public static toObject(message: temporal.api.common.v1.Execution, options?: IConversionOptions): {
|
|
11592
|
+
[k: string]: any;
|
|
11593
|
+
};
|
|
11594
|
+
/**
|
|
11595
|
+
* Converts this Execution to JSON.
|
|
11596
|
+
* @returns JSON object
|
|
11597
|
+
*/
|
|
11598
|
+
public toJSON(): {
|
|
11599
|
+
[k: string]: any;
|
|
11600
|
+
};
|
|
11601
|
+
/**
|
|
11602
|
+
* Gets the default type url for Execution
|
|
11603
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11604
|
+
* @returns The default type url
|
|
11605
|
+
*/
|
|
11606
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11607
|
+
}
|
|
11515
11608
|
/** Properties of a WorkflowType. */
|
|
11516
11609
|
interface IWorkflowType {
|
|
11517
11610
|
/** WorkflowType name */
|
|
@@ -13766,6 +13859,571 @@ declare namespace temporal {
|
|
|
13766
13859
|
*/
|
|
13767
13860
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13768
13861
|
}
|
|
13862
|
+
/** Properties of a TimeSkippingConfig. */
|
|
13863
|
+
interface ITimeSkippingConfig {
|
|
13864
|
+
/** Enables or disables time skipping for this workflow execution. */
|
|
13865
|
+
enabled?: (boolean | null);
|
|
13866
|
+
/** An optional opt-in to control time-skipping behavior through fast-forward; see its definition for details. */
|
|
13867
|
+
fastForwardConfig?: (temporal.api.common.v1.IFastForwardConfig | null);
|
|
13868
|
+
/**
|
|
13869
|
+
* By default, executions started by another execution (e.g. a child workflow of a parent workflow or
|
|
13870
|
+
* a schedule with the time-skipping policy enabled) inherit the "enabled" flag and skip time when possible.
|
|
13871
|
+
* This flag disables that inheritance.
|
|
13872
|
+
*/
|
|
13873
|
+
disablePropagation?: (boolean | null);
|
|
13874
|
+
/**
|
|
13875
|
+
* The maximum number of skips allowed every time this field is updated. It protects the execution from
|
|
13876
|
+
* situations like unlimited retries when backoff is skipped.
|
|
13877
|
+
*
|
|
13878
|
+
* Every time the execution skips time, the skip count is incremented by one, and when it reaches
|
|
13879
|
+
* max_session_skip_count, time skipping stops. Whenever this config field is updated, the accumulated
|
|
13880
|
+
* skip count is cleared, marking the start of a new session.
|
|
13881
|
+
* For an execution with a chain of runs (retry, cron, continue-as-new), the count is accumulated
|
|
13882
|
+
* across all runs within the same session.
|
|
13883
|
+
*
|
|
13884
|
+
* If this field is not set, the server applies a large default value (e.g. 100). The default can
|
|
13885
|
+
* be changed through dynamic config, and is overridden by this field when set.
|
|
13886
|
+
*/
|
|
13887
|
+
maxSessionSkipCount?: (number | null);
|
|
13888
|
+
}
|
|
13889
|
+
/**
|
|
13890
|
+
* The configuration for time skipping of an execution.
|
|
13891
|
+
* When time skipping is enabled, virtual time advances automatically whenever there is no in-flight work.
|
|
13892
|
+
* Options like fast_forward, disable_propagation, and max_session_skip_count are provided for granular
|
|
13893
|
+
* control of the execution's time skipping behavior. See each field's comment for a detailed explanation.
|
|
13894
|
+
*
|
|
13895
|
+
* An example of workflows with time skipping:
|
|
13896
|
+
* For workflows, an execution is a chain of runs including retries, cron, and continue-as-new.
|
|
13897
|
+
* In-flight work includes activities, child workflows, Nexus operations, signal/cancel external workflow operations, etc.
|
|
13898
|
+
* User timers are not classified as in-flight work and will be skipped over; the virtual clock may also skip to the
|
|
13899
|
+
* time point of the registered fast-forward when there is no in-flight work.
|
|
13900
|
+
* Whenever time is skipped, the skip count is incremented by one; max_session_skip_count bounds the number of skips allowed within a single time-skipping session.
|
|
13901
|
+
* For child workflows, by default, if the parent execution is skipping time, the child execution will also skip time,
|
|
13902
|
+
* but a parent's fast_forward won't affect its child's execution. A flag is provided to disable propagation of the
|
|
13903
|
+
* "enabled" flag to child workflows; regardless of that flag, a child workflow inherits the virtual time from the
|
|
13904
|
+
* parent execution as its start time.
|
|
13905
|
+
*/
|
|
13906
|
+
class TimeSkippingConfig implements ITimeSkippingConfig {
|
|
13907
|
+
/**
|
|
13908
|
+
* Constructs a new TimeSkippingConfig.
|
|
13909
|
+
* @param [properties] Properties to set
|
|
13910
|
+
*/
|
|
13911
|
+
constructor(properties?: temporal.api.common.v1.ITimeSkippingConfig);
|
|
13912
|
+
/** Enables or disables time skipping for this workflow execution. */
|
|
13913
|
+
public enabled: boolean;
|
|
13914
|
+
/** An optional opt-in to control time-skipping behavior through fast-forward; see its definition for details. */
|
|
13915
|
+
public fastForwardConfig?: (temporal.api.common.v1.IFastForwardConfig | null);
|
|
13916
|
+
/**
|
|
13917
|
+
* By default, executions started by another execution (e.g. a child workflow of a parent workflow or
|
|
13918
|
+
* a schedule with the time-skipping policy enabled) inherit the "enabled" flag and skip time when possible.
|
|
13919
|
+
* This flag disables that inheritance.
|
|
13920
|
+
*/
|
|
13921
|
+
public disablePropagation: boolean;
|
|
13922
|
+
/**
|
|
13923
|
+
* The maximum number of skips allowed every time this field is updated. It protects the execution from
|
|
13924
|
+
* situations like unlimited retries when backoff is skipped.
|
|
13925
|
+
*
|
|
13926
|
+
* Every time the execution skips time, the skip count is incremented by one, and when it reaches
|
|
13927
|
+
* max_session_skip_count, time skipping stops. Whenever this config field is updated, the accumulated
|
|
13928
|
+
* skip count is cleared, marking the start of a new session.
|
|
13929
|
+
* For an execution with a chain of runs (retry, cron, continue-as-new), the count is accumulated
|
|
13930
|
+
* across all runs within the same session.
|
|
13931
|
+
*
|
|
13932
|
+
* If this field is not set, the server applies a large default value (e.g. 100). The default can
|
|
13933
|
+
* be changed through dynamic config, and is overridden by this field when set.
|
|
13934
|
+
*/
|
|
13935
|
+
public maxSessionSkipCount: number;
|
|
13936
|
+
/**
|
|
13937
|
+
* Creates a new TimeSkippingConfig instance using the specified properties.
|
|
13938
|
+
* @param [properties] Properties to set
|
|
13939
|
+
* @returns TimeSkippingConfig instance
|
|
13940
|
+
*/
|
|
13941
|
+
public static create(properties?: temporal.api.common.v1.ITimeSkippingConfig): temporal.api.common.v1.TimeSkippingConfig;
|
|
13942
|
+
/**
|
|
13943
|
+
* Encodes the specified TimeSkippingConfig message. Does not implicitly {@link temporal.api.common.v1.TimeSkippingConfig.verify|verify} messages.
|
|
13944
|
+
* @param message TimeSkippingConfig message or plain object to encode
|
|
13945
|
+
* @param [writer] Writer to encode to
|
|
13946
|
+
* @returns Writer
|
|
13947
|
+
*/
|
|
13948
|
+
public static encode(message: temporal.api.common.v1.ITimeSkippingConfig, writer?: Writer): Writer;
|
|
13949
|
+
/**
|
|
13950
|
+
* Encodes the specified TimeSkippingConfig message, length delimited. Does not implicitly {@link temporal.api.common.v1.TimeSkippingConfig.verify|verify} messages.
|
|
13951
|
+
* @param message TimeSkippingConfig message or plain object to encode
|
|
13952
|
+
* @param [writer] Writer to encode to
|
|
13953
|
+
* @returns Writer
|
|
13954
|
+
*/
|
|
13955
|
+
public static encodeDelimited(message: temporal.api.common.v1.ITimeSkippingConfig, writer?: Writer): Writer;
|
|
13956
|
+
/**
|
|
13957
|
+
* Decodes a TimeSkippingConfig message from the specified reader or buffer.
|
|
13958
|
+
* @param reader Reader or buffer to decode from
|
|
13959
|
+
* @param [length] Message length if known beforehand
|
|
13960
|
+
* @returns TimeSkippingConfig
|
|
13961
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13962
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13963
|
+
*/
|
|
13964
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.common.v1.TimeSkippingConfig;
|
|
13965
|
+
/**
|
|
13966
|
+
* Decodes a TimeSkippingConfig message from the specified reader or buffer, length delimited.
|
|
13967
|
+
* @param reader Reader or buffer to decode from
|
|
13968
|
+
* @returns TimeSkippingConfig
|
|
13969
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13970
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13971
|
+
*/
|
|
13972
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.common.v1.TimeSkippingConfig;
|
|
13973
|
+
/**
|
|
13974
|
+
* Creates a TimeSkippingConfig message from a plain object. Also converts values to their respective internal types.
|
|
13975
|
+
* @param object Plain object
|
|
13976
|
+
* @returns TimeSkippingConfig
|
|
13977
|
+
*/
|
|
13978
|
+
public static fromObject(object: {
|
|
13979
|
+
[k: string]: any;
|
|
13980
|
+
}): temporal.api.common.v1.TimeSkippingConfig;
|
|
13981
|
+
/**
|
|
13982
|
+
* Creates a plain object from a TimeSkippingConfig message. Also converts values to other types if specified.
|
|
13983
|
+
* @param message TimeSkippingConfig
|
|
13984
|
+
* @param [options] Conversion options
|
|
13985
|
+
* @returns Plain object
|
|
13986
|
+
*/
|
|
13987
|
+
public static toObject(message: temporal.api.common.v1.TimeSkippingConfig, options?: IConversionOptions): {
|
|
13988
|
+
[k: string]: any;
|
|
13989
|
+
};
|
|
13990
|
+
/**
|
|
13991
|
+
* Converts this TimeSkippingConfig to JSON.
|
|
13992
|
+
* @returns JSON object
|
|
13993
|
+
*/
|
|
13994
|
+
public toJSON(): {
|
|
13995
|
+
[k: string]: any;
|
|
13996
|
+
};
|
|
13997
|
+
/**
|
|
13998
|
+
* Gets the default type url for TimeSkippingConfig
|
|
13999
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14000
|
+
* @returns The default type url
|
|
14001
|
+
*/
|
|
14002
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14003
|
+
}
|
|
14004
|
+
/** Properties of a FastForwardConfig. */
|
|
14005
|
+
interface IFastForwardConfig {
|
|
14006
|
+
/**
|
|
14007
|
+
* A client-supplied ID, required field, set alongside `duration`. It is used to poll for
|
|
14008
|
+
* fast-forward completion via PollWorkflowExecutionTimeSkipping.
|
|
14009
|
+
* The server performs no idempotency check on this ID; the client is responsible for managing it.
|
|
14010
|
+
*/
|
|
14011
|
+
id?: (string | null);
|
|
14012
|
+
/**
|
|
14013
|
+
* Fast-forward the current execution by this duration ahead of the current execution time; required field.
|
|
14014
|
+
* The duration yields a target time (current execution time + duration), surfaced as `target_time` in
|
|
14015
|
+
* TimeSkippingFastForwardInfo. Once virtual time reaches that target, the fast-forward completes, time
|
|
14016
|
+
* skipping is disabled, and no further time is skipped. Time skipping can be resumed either
|
|
14017
|
+
* by updating the TimeSkippingConfig with a new FastForwardConfig, or by clearing the FastForwardConfig
|
|
14018
|
+
* to skip through to the end of the execution.
|
|
14019
|
+
*
|
|
14020
|
+
* If this duration exceeds the remaining execution timeout, time will not pass beyond the end
|
|
14021
|
+
* of the execution, and the fast-forward won't have a chance to complete.
|
|
14022
|
+
*/
|
|
14023
|
+
duration?: (google.protobuf.IDuration | null);
|
|
14024
|
+
}
|
|
14025
|
+
/** Represents a FastForwardConfig. */
|
|
14026
|
+
class FastForwardConfig implements IFastForwardConfig {
|
|
14027
|
+
/**
|
|
14028
|
+
* Constructs a new FastForwardConfig.
|
|
14029
|
+
* @param [properties] Properties to set
|
|
14030
|
+
*/
|
|
14031
|
+
constructor(properties?: temporal.api.common.v1.IFastForwardConfig);
|
|
14032
|
+
/**
|
|
14033
|
+
* A client-supplied ID, required field, set alongside `duration`. It is used to poll for
|
|
14034
|
+
* fast-forward completion via PollWorkflowExecutionTimeSkipping.
|
|
14035
|
+
* The server performs no idempotency check on this ID; the client is responsible for managing it.
|
|
14036
|
+
*/
|
|
14037
|
+
public id: string;
|
|
14038
|
+
/**
|
|
14039
|
+
* Fast-forward the current execution by this duration ahead of the current execution time; required field.
|
|
14040
|
+
* The duration yields a target time (current execution time + duration), surfaced as `target_time` in
|
|
14041
|
+
* TimeSkippingFastForwardInfo. Once virtual time reaches that target, the fast-forward completes, time
|
|
14042
|
+
* skipping is disabled, and no further time is skipped. Time skipping can be resumed either
|
|
14043
|
+
* by updating the TimeSkippingConfig with a new FastForwardConfig, or by clearing the FastForwardConfig
|
|
14044
|
+
* to skip through to the end of the execution.
|
|
14045
|
+
*
|
|
14046
|
+
* If this duration exceeds the remaining execution timeout, time will not pass beyond the end
|
|
14047
|
+
* of the execution, and the fast-forward won't have a chance to complete.
|
|
14048
|
+
*/
|
|
14049
|
+
public duration?: (google.protobuf.IDuration | null);
|
|
14050
|
+
/**
|
|
14051
|
+
* Creates a new FastForwardConfig instance using the specified properties.
|
|
14052
|
+
* @param [properties] Properties to set
|
|
14053
|
+
* @returns FastForwardConfig instance
|
|
14054
|
+
*/
|
|
14055
|
+
public static create(properties?: temporal.api.common.v1.IFastForwardConfig): temporal.api.common.v1.FastForwardConfig;
|
|
14056
|
+
/**
|
|
14057
|
+
* Encodes the specified FastForwardConfig message. Does not implicitly {@link temporal.api.common.v1.FastForwardConfig.verify|verify} messages.
|
|
14058
|
+
* @param message FastForwardConfig message or plain object to encode
|
|
14059
|
+
* @param [writer] Writer to encode to
|
|
14060
|
+
* @returns Writer
|
|
14061
|
+
*/
|
|
14062
|
+
public static encode(message: temporal.api.common.v1.IFastForwardConfig, writer?: Writer): Writer;
|
|
14063
|
+
/**
|
|
14064
|
+
* Encodes the specified FastForwardConfig message, length delimited. Does not implicitly {@link temporal.api.common.v1.FastForwardConfig.verify|verify} messages.
|
|
14065
|
+
* @param message FastForwardConfig message or plain object to encode
|
|
14066
|
+
* @param [writer] Writer to encode to
|
|
14067
|
+
* @returns Writer
|
|
14068
|
+
*/
|
|
14069
|
+
public static encodeDelimited(message: temporal.api.common.v1.IFastForwardConfig, writer?: Writer): Writer;
|
|
14070
|
+
/**
|
|
14071
|
+
* Decodes a FastForwardConfig message from the specified reader or buffer.
|
|
14072
|
+
* @param reader Reader or buffer to decode from
|
|
14073
|
+
* @param [length] Message length if known beforehand
|
|
14074
|
+
* @returns FastForwardConfig
|
|
14075
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14076
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14077
|
+
*/
|
|
14078
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.common.v1.FastForwardConfig;
|
|
14079
|
+
/**
|
|
14080
|
+
* Decodes a FastForwardConfig message from the specified reader or buffer, length delimited.
|
|
14081
|
+
* @param reader Reader or buffer to decode from
|
|
14082
|
+
* @returns FastForwardConfig
|
|
14083
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14084
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14085
|
+
*/
|
|
14086
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.common.v1.FastForwardConfig;
|
|
14087
|
+
/**
|
|
14088
|
+
* Creates a FastForwardConfig message from a plain object. Also converts values to their respective internal types.
|
|
14089
|
+
* @param object Plain object
|
|
14090
|
+
* @returns FastForwardConfig
|
|
14091
|
+
*/
|
|
14092
|
+
public static fromObject(object: {
|
|
14093
|
+
[k: string]: any;
|
|
14094
|
+
}): temporal.api.common.v1.FastForwardConfig;
|
|
14095
|
+
/**
|
|
14096
|
+
* Creates a plain object from a FastForwardConfig message. Also converts values to other types if specified.
|
|
14097
|
+
* @param message FastForwardConfig
|
|
14098
|
+
* @param [options] Conversion options
|
|
14099
|
+
* @returns Plain object
|
|
14100
|
+
*/
|
|
14101
|
+
public static toObject(message: temporal.api.common.v1.FastForwardConfig, options?: IConversionOptions): {
|
|
14102
|
+
[k: string]: any;
|
|
14103
|
+
};
|
|
14104
|
+
/**
|
|
14105
|
+
* Converts this FastForwardConfig to JSON.
|
|
14106
|
+
* @returns JSON object
|
|
14107
|
+
*/
|
|
14108
|
+
public toJSON(): {
|
|
14109
|
+
[k: string]: any;
|
|
14110
|
+
};
|
|
14111
|
+
/**
|
|
14112
|
+
* Gets the default type url for FastForwardConfig
|
|
14113
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14114
|
+
* @returns The default type url
|
|
14115
|
+
*/
|
|
14116
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14117
|
+
}
|
|
14118
|
+
/** Properties of a TimeSkippingStatePropagation. */
|
|
14119
|
+
interface ITimeSkippingStatePropagation {
|
|
14120
|
+
/**
|
|
14121
|
+
* The time skipped by the previous run. It is propagated both to executions started by the
|
|
14122
|
+
* current execution and through a chain of runs (CaN, cron, retry).
|
|
14123
|
+
*/
|
|
14124
|
+
initialSkippedDuration?: (google.protobuf.IDuration | null);
|
|
14125
|
+
/** The fast-forward target time. It only propagates across a chain of runs within the same execution. */
|
|
14126
|
+
fastForwardTargetTime?: (google.protobuf.ITimestamp | null);
|
|
14127
|
+
/** The initial skip count. It only propagates across a chain of runs within the same execution. */
|
|
14128
|
+
initialSkipCount?: (number | null);
|
|
14129
|
+
}
|
|
14130
|
+
/**
|
|
14131
|
+
* The time-skipping state that needs to be propagated from one execution to another, or through a chain of runs
|
|
14132
|
+
* within the same execution.
|
|
14133
|
+
*/
|
|
14134
|
+
class TimeSkippingStatePropagation implements ITimeSkippingStatePropagation {
|
|
14135
|
+
/**
|
|
14136
|
+
* Constructs a new TimeSkippingStatePropagation.
|
|
14137
|
+
* @param [properties] Properties to set
|
|
14138
|
+
*/
|
|
14139
|
+
constructor(properties?: temporal.api.common.v1.ITimeSkippingStatePropagation);
|
|
14140
|
+
/**
|
|
14141
|
+
* The time skipped by the previous run. It is propagated both to executions started by the
|
|
14142
|
+
* current execution and through a chain of runs (CaN, cron, retry).
|
|
14143
|
+
*/
|
|
14144
|
+
public initialSkippedDuration?: (google.protobuf.IDuration | null);
|
|
14145
|
+
/** The fast-forward target time. It only propagates across a chain of runs within the same execution. */
|
|
14146
|
+
public fastForwardTargetTime?: (google.protobuf.ITimestamp | null);
|
|
14147
|
+
/** The initial skip count. It only propagates across a chain of runs within the same execution. */
|
|
14148
|
+
public initialSkipCount: number;
|
|
14149
|
+
/**
|
|
14150
|
+
* Creates a new TimeSkippingStatePropagation instance using the specified properties.
|
|
14151
|
+
* @param [properties] Properties to set
|
|
14152
|
+
* @returns TimeSkippingStatePropagation instance
|
|
14153
|
+
*/
|
|
14154
|
+
public static create(properties?: temporal.api.common.v1.ITimeSkippingStatePropagation): temporal.api.common.v1.TimeSkippingStatePropagation;
|
|
14155
|
+
/**
|
|
14156
|
+
* Encodes the specified TimeSkippingStatePropagation message. Does not implicitly {@link temporal.api.common.v1.TimeSkippingStatePropagation.verify|verify} messages.
|
|
14157
|
+
* @param message TimeSkippingStatePropagation message or plain object to encode
|
|
14158
|
+
* @param [writer] Writer to encode to
|
|
14159
|
+
* @returns Writer
|
|
14160
|
+
*/
|
|
14161
|
+
public static encode(message: temporal.api.common.v1.ITimeSkippingStatePropagation, writer?: Writer): Writer;
|
|
14162
|
+
/**
|
|
14163
|
+
* Encodes the specified TimeSkippingStatePropagation message, length delimited. Does not implicitly {@link temporal.api.common.v1.TimeSkippingStatePropagation.verify|verify} messages.
|
|
14164
|
+
* @param message TimeSkippingStatePropagation message or plain object to encode
|
|
14165
|
+
* @param [writer] Writer to encode to
|
|
14166
|
+
* @returns Writer
|
|
14167
|
+
*/
|
|
14168
|
+
public static encodeDelimited(message: temporal.api.common.v1.ITimeSkippingStatePropagation, writer?: Writer): Writer;
|
|
14169
|
+
/**
|
|
14170
|
+
* Decodes a TimeSkippingStatePropagation message from the specified reader or buffer.
|
|
14171
|
+
* @param reader Reader or buffer to decode from
|
|
14172
|
+
* @param [length] Message length if known beforehand
|
|
14173
|
+
* @returns TimeSkippingStatePropagation
|
|
14174
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14175
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14176
|
+
*/
|
|
14177
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.common.v1.TimeSkippingStatePropagation;
|
|
14178
|
+
/**
|
|
14179
|
+
* Decodes a TimeSkippingStatePropagation message from the specified reader or buffer, length delimited.
|
|
14180
|
+
* @param reader Reader or buffer to decode from
|
|
14181
|
+
* @returns TimeSkippingStatePropagation
|
|
14182
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14183
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14184
|
+
*/
|
|
14185
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.common.v1.TimeSkippingStatePropagation;
|
|
14186
|
+
/**
|
|
14187
|
+
* Creates a TimeSkippingStatePropagation message from a plain object. Also converts values to their respective internal types.
|
|
14188
|
+
* @param object Plain object
|
|
14189
|
+
* @returns TimeSkippingStatePropagation
|
|
14190
|
+
*/
|
|
14191
|
+
public static fromObject(object: {
|
|
14192
|
+
[k: string]: any;
|
|
14193
|
+
}): temporal.api.common.v1.TimeSkippingStatePropagation;
|
|
14194
|
+
/**
|
|
14195
|
+
* Creates a plain object from a TimeSkippingStatePropagation message. Also converts values to other types if specified.
|
|
14196
|
+
* @param message TimeSkippingStatePropagation
|
|
14197
|
+
* @param [options] Conversion options
|
|
14198
|
+
* @returns Plain object
|
|
14199
|
+
*/
|
|
14200
|
+
public static toObject(message: temporal.api.common.v1.TimeSkippingStatePropagation, options?: IConversionOptions): {
|
|
14201
|
+
[k: string]: any;
|
|
14202
|
+
};
|
|
14203
|
+
/**
|
|
14204
|
+
* Converts this TimeSkippingStatePropagation to JSON.
|
|
14205
|
+
* @returns JSON object
|
|
14206
|
+
*/
|
|
14207
|
+
public toJSON(): {
|
|
14208
|
+
[k: string]: any;
|
|
14209
|
+
};
|
|
14210
|
+
/**
|
|
14211
|
+
* Gets the default type url for TimeSkippingStatePropagation
|
|
14212
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14213
|
+
* @returns The default type url
|
|
14214
|
+
*/
|
|
14215
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14216
|
+
}
|
|
14217
|
+
/** Properties of a TimeSkippingInfo. */
|
|
14218
|
+
interface ITimeSkippingInfo {
|
|
14219
|
+
/**
|
|
14220
|
+
* Current virtual time of the execution. If the execution hasn't skipped
|
|
14221
|
+
* any time yet, it will be the same as wall clock time.
|
|
14222
|
+
*/
|
|
14223
|
+
currentTime?: (google.protobuf.ITimestamp | null);
|
|
14224
|
+
/**
|
|
14225
|
+
* The current effective time-skipping config, which can differ from the config the user last set:
|
|
14226
|
+
* internally-defaulted fields are populated, and `enabled` reflects whether the execution is still
|
|
14227
|
+
* skipping time — e.g. it is set to false once `max_session_skip_count` is reached, the fast-forward
|
|
14228
|
+
* completes, or a client call disables time skipping.
|
|
14229
|
+
*/
|
|
14230
|
+
effectiveConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
14231
|
+
/** The execution's current fast-forward, if any. Unset if time skipping is enabled without a fast-forward. */
|
|
14232
|
+
fastForwardInfo?: (temporal.api.common.v1.ITimeSkippingFastForwardInfo | null);
|
|
14233
|
+
/**
|
|
14234
|
+
* The number of skips accumulated in the current session, bounded by `max_session_skip_count`.
|
|
14235
|
+
* A new session begins — and this resets to 0 — each time `max_session_skip_count` is updated.
|
|
14236
|
+
*/
|
|
14237
|
+
currentSessionSkipCount?: (number | null);
|
|
14238
|
+
}
|
|
14239
|
+
/** Describes the current time-skipping state of a workflow execution. */
|
|
14240
|
+
class TimeSkippingInfo implements ITimeSkippingInfo {
|
|
14241
|
+
/**
|
|
14242
|
+
* Constructs a new TimeSkippingInfo.
|
|
14243
|
+
* @param [properties] Properties to set
|
|
14244
|
+
*/
|
|
14245
|
+
constructor(properties?: temporal.api.common.v1.ITimeSkippingInfo);
|
|
14246
|
+
/**
|
|
14247
|
+
* Current virtual time of the execution. If the execution hasn't skipped
|
|
14248
|
+
* any time yet, it will be the same as wall clock time.
|
|
14249
|
+
*/
|
|
14250
|
+
public currentTime?: (google.protobuf.ITimestamp | null);
|
|
14251
|
+
/**
|
|
14252
|
+
* The current effective time-skipping config, which can differ from the config the user last set:
|
|
14253
|
+
* internally-defaulted fields are populated, and `enabled` reflects whether the execution is still
|
|
14254
|
+
* skipping time — e.g. it is set to false once `max_session_skip_count` is reached, the fast-forward
|
|
14255
|
+
* completes, or a client call disables time skipping.
|
|
14256
|
+
*/
|
|
14257
|
+
public effectiveConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
14258
|
+
/** The execution's current fast-forward, if any. Unset if time skipping is enabled without a fast-forward. */
|
|
14259
|
+
public fastForwardInfo?: (temporal.api.common.v1.ITimeSkippingFastForwardInfo | null);
|
|
14260
|
+
/**
|
|
14261
|
+
* The number of skips accumulated in the current session, bounded by `max_session_skip_count`.
|
|
14262
|
+
* A new session begins — and this resets to 0 — each time `max_session_skip_count` is updated.
|
|
14263
|
+
*/
|
|
14264
|
+
public currentSessionSkipCount: number;
|
|
14265
|
+
/**
|
|
14266
|
+
* Creates a new TimeSkippingInfo instance using the specified properties.
|
|
14267
|
+
* @param [properties] Properties to set
|
|
14268
|
+
* @returns TimeSkippingInfo instance
|
|
14269
|
+
*/
|
|
14270
|
+
public static create(properties?: temporal.api.common.v1.ITimeSkippingInfo): temporal.api.common.v1.TimeSkippingInfo;
|
|
14271
|
+
/**
|
|
14272
|
+
* Encodes the specified TimeSkippingInfo message. Does not implicitly {@link temporal.api.common.v1.TimeSkippingInfo.verify|verify} messages.
|
|
14273
|
+
* @param message TimeSkippingInfo message or plain object to encode
|
|
14274
|
+
* @param [writer] Writer to encode to
|
|
14275
|
+
* @returns Writer
|
|
14276
|
+
*/
|
|
14277
|
+
public static encode(message: temporal.api.common.v1.ITimeSkippingInfo, writer?: Writer): Writer;
|
|
14278
|
+
/**
|
|
14279
|
+
* Encodes the specified TimeSkippingInfo message, length delimited. Does not implicitly {@link temporal.api.common.v1.TimeSkippingInfo.verify|verify} messages.
|
|
14280
|
+
* @param message TimeSkippingInfo message or plain object to encode
|
|
14281
|
+
* @param [writer] Writer to encode to
|
|
14282
|
+
* @returns Writer
|
|
14283
|
+
*/
|
|
14284
|
+
public static encodeDelimited(message: temporal.api.common.v1.ITimeSkippingInfo, writer?: Writer): Writer;
|
|
14285
|
+
/**
|
|
14286
|
+
* Decodes a TimeSkippingInfo message from the specified reader or buffer.
|
|
14287
|
+
* @param reader Reader or buffer to decode from
|
|
14288
|
+
* @param [length] Message length if known beforehand
|
|
14289
|
+
* @returns TimeSkippingInfo
|
|
14290
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14291
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14292
|
+
*/
|
|
14293
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.common.v1.TimeSkippingInfo;
|
|
14294
|
+
/**
|
|
14295
|
+
* Decodes a TimeSkippingInfo message from the specified reader or buffer, length delimited.
|
|
14296
|
+
* @param reader Reader or buffer to decode from
|
|
14297
|
+
* @returns TimeSkippingInfo
|
|
14298
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14299
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14300
|
+
*/
|
|
14301
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.common.v1.TimeSkippingInfo;
|
|
14302
|
+
/**
|
|
14303
|
+
* Creates a TimeSkippingInfo message from a plain object. Also converts values to their respective internal types.
|
|
14304
|
+
* @param object Plain object
|
|
14305
|
+
* @returns TimeSkippingInfo
|
|
14306
|
+
*/
|
|
14307
|
+
public static fromObject(object: {
|
|
14308
|
+
[k: string]: any;
|
|
14309
|
+
}): temporal.api.common.v1.TimeSkippingInfo;
|
|
14310
|
+
/**
|
|
14311
|
+
* Creates a plain object from a TimeSkippingInfo message. Also converts values to other types if specified.
|
|
14312
|
+
* @param message TimeSkippingInfo
|
|
14313
|
+
* @param [options] Conversion options
|
|
14314
|
+
* @returns Plain object
|
|
14315
|
+
*/
|
|
14316
|
+
public static toObject(message: temporal.api.common.v1.TimeSkippingInfo, options?: IConversionOptions): {
|
|
14317
|
+
[k: string]: any;
|
|
14318
|
+
};
|
|
14319
|
+
/**
|
|
14320
|
+
* Converts this TimeSkippingInfo to JSON.
|
|
14321
|
+
* @returns JSON object
|
|
14322
|
+
*/
|
|
14323
|
+
public toJSON(): {
|
|
14324
|
+
[k: string]: any;
|
|
14325
|
+
};
|
|
14326
|
+
/**
|
|
14327
|
+
* Gets the default type url for TimeSkippingInfo
|
|
14328
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14329
|
+
* @returns The default type url
|
|
14330
|
+
*/
|
|
14331
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14332
|
+
}
|
|
14333
|
+
/** Properties of a TimeSkippingFastForwardInfo. */
|
|
14334
|
+
interface ITimeSkippingFastForwardInfo {
|
|
14335
|
+
/** The client-supplied `fast_forward` duration. */
|
|
14336
|
+
fastForwardDuration?: (google.protobuf.IDuration | null);
|
|
14337
|
+
/** The client-supplied ID set alongside `fast_forward` duration. */
|
|
14338
|
+
fastForwardId?: (string | null);
|
|
14339
|
+
/** The target virtual time at which the fast-forward completes. */
|
|
14340
|
+
targetTime?: (google.protobuf.ITimestamp | null);
|
|
14341
|
+
/** True once `target_time` has been reached. */
|
|
14342
|
+
hasCompleted?: (boolean | null);
|
|
14343
|
+
}
|
|
14344
|
+
/** TimeSkippingFastForwardInfo describes the current time-skipping fast-forward on an execution. */
|
|
14345
|
+
class TimeSkippingFastForwardInfo implements ITimeSkippingFastForwardInfo {
|
|
14346
|
+
/**
|
|
14347
|
+
* Constructs a new TimeSkippingFastForwardInfo.
|
|
14348
|
+
* @param [properties] Properties to set
|
|
14349
|
+
*/
|
|
14350
|
+
constructor(properties?: temporal.api.common.v1.ITimeSkippingFastForwardInfo);
|
|
14351
|
+
/** The client-supplied `fast_forward` duration. */
|
|
14352
|
+
public fastForwardDuration?: (google.protobuf.IDuration | null);
|
|
14353
|
+
/** The client-supplied ID set alongside `fast_forward` duration. */
|
|
14354
|
+
public fastForwardId: string;
|
|
14355
|
+
/** The target virtual time at which the fast-forward completes. */
|
|
14356
|
+
public targetTime?: (google.protobuf.ITimestamp | null);
|
|
14357
|
+
/** True once `target_time` has been reached. */
|
|
14358
|
+
public hasCompleted: boolean;
|
|
14359
|
+
/**
|
|
14360
|
+
* Creates a new TimeSkippingFastForwardInfo instance using the specified properties.
|
|
14361
|
+
* @param [properties] Properties to set
|
|
14362
|
+
* @returns TimeSkippingFastForwardInfo instance
|
|
14363
|
+
*/
|
|
14364
|
+
public static create(properties?: temporal.api.common.v1.ITimeSkippingFastForwardInfo): temporal.api.common.v1.TimeSkippingFastForwardInfo;
|
|
14365
|
+
/**
|
|
14366
|
+
* Encodes the specified TimeSkippingFastForwardInfo message. Does not implicitly {@link temporal.api.common.v1.TimeSkippingFastForwardInfo.verify|verify} messages.
|
|
14367
|
+
* @param message TimeSkippingFastForwardInfo message or plain object to encode
|
|
14368
|
+
* @param [writer] Writer to encode to
|
|
14369
|
+
* @returns Writer
|
|
14370
|
+
*/
|
|
14371
|
+
public static encode(message: temporal.api.common.v1.ITimeSkippingFastForwardInfo, writer?: Writer): Writer;
|
|
14372
|
+
/**
|
|
14373
|
+
* Encodes the specified TimeSkippingFastForwardInfo message, length delimited. Does not implicitly {@link temporal.api.common.v1.TimeSkippingFastForwardInfo.verify|verify} messages.
|
|
14374
|
+
* @param message TimeSkippingFastForwardInfo message or plain object to encode
|
|
14375
|
+
* @param [writer] Writer to encode to
|
|
14376
|
+
* @returns Writer
|
|
14377
|
+
*/
|
|
14378
|
+
public static encodeDelimited(message: temporal.api.common.v1.ITimeSkippingFastForwardInfo, writer?: Writer): Writer;
|
|
14379
|
+
/**
|
|
14380
|
+
* Decodes a TimeSkippingFastForwardInfo message from the specified reader or buffer.
|
|
14381
|
+
* @param reader Reader or buffer to decode from
|
|
14382
|
+
* @param [length] Message length if known beforehand
|
|
14383
|
+
* @returns TimeSkippingFastForwardInfo
|
|
14384
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14385
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14386
|
+
*/
|
|
14387
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.common.v1.TimeSkippingFastForwardInfo;
|
|
14388
|
+
/**
|
|
14389
|
+
* Decodes a TimeSkippingFastForwardInfo message from the specified reader or buffer, length delimited.
|
|
14390
|
+
* @param reader Reader or buffer to decode from
|
|
14391
|
+
* @returns TimeSkippingFastForwardInfo
|
|
14392
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14393
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14394
|
+
*/
|
|
14395
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.common.v1.TimeSkippingFastForwardInfo;
|
|
14396
|
+
/**
|
|
14397
|
+
* Creates a TimeSkippingFastForwardInfo message from a plain object. Also converts values to their respective internal types.
|
|
14398
|
+
* @param object Plain object
|
|
14399
|
+
* @returns TimeSkippingFastForwardInfo
|
|
14400
|
+
*/
|
|
14401
|
+
public static fromObject(object: {
|
|
14402
|
+
[k: string]: any;
|
|
14403
|
+
}): temporal.api.common.v1.TimeSkippingFastForwardInfo;
|
|
14404
|
+
/**
|
|
14405
|
+
* Creates a plain object from a TimeSkippingFastForwardInfo message. Also converts values to other types if specified.
|
|
14406
|
+
* @param message TimeSkippingFastForwardInfo
|
|
14407
|
+
* @param [options] Conversion options
|
|
14408
|
+
* @returns Plain object
|
|
14409
|
+
*/
|
|
14410
|
+
public static toObject(message: temporal.api.common.v1.TimeSkippingFastForwardInfo, options?: IConversionOptions): {
|
|
14411
|
+
[k: string]: any;
|
|
14412
|
+
};
|
|
14413
|
+
/**
|
|
14414
|
+
* Converts this TimeSkippingFastForwardInfo to JSON.
|
|
14415
|
+
* @returns JSON object
|
|
14416
|
+
*/
|
|
14417
|
+
public toJSON(): {
|
|
14418
|
+
[k: string]: any;
|
|
14419
|
+
};
|
|
14420
|
+
/**
|
|
14421
|
+
* Gets the default type url for TimeSkippingFastForwardInfo
|
|
14422
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14423
|
+
* @returns The default type url
|
|
14424
|
+
*/
|
|
14425
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14426
|
+
}
|
|
13769
14427
|
}
|
|
13770
14428
|
}
|
|
13771
14429
|
/** Namespace enums. */
|
|
@@ -13845,6 +14503,12 @@ declare namespace temporal {
|
|
|
13845
14503
|
WORKER_STATUS_SHUTTING_DOWN = 2,
|
|
13846
14504
|
WORKER_STATUS_SHUTDOWN = 3
|
|
13847
14505
|
}
|
|
14506
|
+
/** ExecutionType enum. */
|
|
14507
|
+
enum ExecutionType {
|
|
14508
|
+
EXECUTION_TYPE_UNSPECIFIED = 0,
|
|
14509
|
+
EXECUTION_TYPE_WORKFLOW = 1,
|
|
14510
|
+
EXECUTION_TYPE_ACTIVITY = 2
|
|
14511
|
+
}
|
|
13848
14512
|
/** Whenever this list of events is changed do change the function shouldBufferEvent in mutableStateBuilder.go to make sure to do the correct event ordering */
|
|
13849
14513
|
enum EventType {
|
|
13850
14514
|
EVENT_TYPE_UNSPECIFIED = 0,
|
|
@@ -14136,14 +14800,23 @@ declare namespace temporal {
|
|
|
14136
14800
|
enum BatchOperationType {
|
|
14137
14801
|
BATCH_OPERATION_TYPE_UNSPECIFIED = 0,
|
|
14138
14802
|
BATCH_OPERATION_TYPE_TERMINATE = 1,
|
|
14803
|
+
BATCH_OPERATION_TYPE_TERMINATE_WORKFLOW = 13,
|
|
14139
14804
|
BATCH_OPERATION_TYPE_CANCEL = 2,
|
|
14805
|
+
BATCH_OPERATION_TYPE_CANCEL_WORKFLOW = 14,
|
|
14140
14806
|
BATCH_OPERATION_TYPE_SIGNAL = 3,
|
|
14807
|
+
BATCH_OPERATION_TYPE_SIGNAL_WORKFLOW = 15,
|
|
14141
14808
|
BATCH_OPERATION_TYPE_DELETE = 4,
|
|
14809
|
+
BATCH_OPERATION_TYPE_DELETE_WORKFLOW = 16,
|
|
14142
14810
|
BATCH_OPERATION_TYPE_RESET = 5,
|
|
14811
|
+
BATCH_OPERATION_TYPE_RESET_WORKFLOW = 17,
|
|
14143
14812
|
BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS = 6,
|
|
14813
|
+
BATCH_OPERATION_TYPE_UPDATE_WORKFLOW_EXECUTION_OPTIONS = 18,
|
|
14144
14814
|
BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY = 7,
|
|
14145
14815
|
BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS = 8,
|
|
14146
|
-
BATCH_OPERATION_TYPE_RESET_ACTIVITY = 9
|
|
14816
|
+
BATCH_OPERATION_TYPE_RESET_ACTIVITY = 9,
|
|
14817
|
+
BATCH_OPERATION_TYPE_TERMINATE_ACTIVITY = 10,
|
|
14818
|
+
BATCH_OPERATION_TYPE_CANCEL_ACTIVITY = 11,
|
|
14819
|
+
BATCH_OPERATION_TYPE_DELETE_ACTIVITY = 12
|
|
14147
14820
|
}
|
|
14148
14821
|
/** BatchOperationState enum. */
|
|
14149
14822
|
enum BatchOperationState {
|
|
@@ -14213,13 +14886,17 @@ declare namespace temporal {
|
|
|
14213
14886
|
WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES = 34,
|
|
14214
14887
|
WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED = 35,
|
|
14215
14888
|
WORKFLOW_TASK_FAILED_CAUSE_GRPC_MESSAGE_TOO_LARGE = 36,
|
|
14216
|
-
WORKFLOW_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE = 37
|
|
14889
|
+
WORKFLOW_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE = 37,
|
|
14890
|
+
WORKFLOW_TASK_FAILED_CAUSE_EXTERNAL_STORAGE_FAILURE = 38,
|
|
14891
|
+
WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_PAUSE_REQUESTED_BEFORE_TASK_STARTED = 39,
|
|
14892
|
+
WORKFLOW_TASK_FAILED_CAUSE_REQUEST_TOO_LARGE = 40
|
|
14217
14893
|
}
|
|
14218
14894
|
/** StartChildWorkflowExecutionFailedCause enum. */
|
|
14219
14895
|
enum StartChildWorkflowExecutionFailedCause {
|
|
14220
14896
|
START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED = 0,
|
|
14221
14897
|
START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS = 1,
|
|
14222
|
-
START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND = 2
|
|
14898
|
+
START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND = 2,
|
|
14899
|
+
START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID_VERSIONING_OVERRIDE = 3
|
|
14223
14900
|
}
|
|
14224
14901
|
/** CancelExternalWorkflowExecutionFailedCause enum. */
|
|
14225
14902
|
enum CancelExternalWorkflowExecutionFailedCause {
|
|
@@ -14380,10 +15057,23 @@ declare namespace temporal {
|
|
|
14380
15057
|
WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED = 5,
|
|
14381
15058
|
WORKER_DEPLOYMENT_VERSION_STATUS_CREATED = 6
|
|
14382
15059
|
}
|
|
15060
|
+
/**
|
|
15061
|
+
* FastForwardPollingResult is the result of polling and waiting for a fast-forward to complete
|
|
15062
|
+
* on a time-skipping execution.
|
|
15063
|
+
* FAST_FORWARD_POLLING_RESULT_POLL_TIMEOUT and FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_COMPLETED
|
|
15064
|
+
* are the normal poll outcomes; FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED means the
|
|
15065
|
+
* fast-forward can no longer complete.
|
|
15066
|
+
*/
|
|
15067
|
+
enum FastForwardPollingResult {
|
|
15068
|
+
FAST_FORWARD_POLLING_RESULT_UNSPECIFIED = 0,
|
|
15069
|
+
FAST_FORWARD_POLLING_RESULT_POLL_TIMEOUT = 1,
|
|
15070
|
+
FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_COMPLETED = 2,
|
|
15071
|
+
FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED = 3
|
|
15072
|
+
}
|
|
14383
15073
|
/**
|
|
14384
15074
|
* Status of a standalone activity.
|
|
14385
|
-
* The status is updated
|
|
14386
|
-
*
|
|
15075
|
+
* The status is updated when the activity is originally scheduled, paused, unpaused, and when the
|
|
15076
|
+
* activity reaches a terminal state.
|
|
14387
15077
|
* (-- api-linter: core::0216::synonyms=disabled
|
|
14388
15078
|
* aip.dev/not-precedent: Named consistently with WorkflowExecutionStatus. --)
|
|
14389
15079
|
*/
|
|
@@ -14394,7 +15084,8 @@ declare namespace temporal {
|
|
|
14394
15084
|
ACTIVITY_EXECUTION_STATUS_FAILED = 3,
|
|
14395
15085
|
ACTIVITY_EXECUTION_STATUS_CANCELED = 4,
|
|
14396
15086
|
ACTIVITY_EXECUTION_STATUS_TERMINATED = 5,
|
|
14397
|
-
ACTIVITY_EXECUTION_STATUS_TIMED_OUT = 6
|
|
15087
|
+
ACTIVITY_EXECUTION_STATUS_TIMED_OUT = 6,
|
|
15088
|
+
ACTIVITY_EXECUTION_STATUS_PAUSED = 7
|
|
14398
15089
|
}
|
|
14399
15090
|
/**
|
|
14400
15091
|
* Defines whether to allow re-using an activity ID from a previously *closed* activity.
|
|
@@ -19011,6 +19702,394 @@ declare namespace temporal {
|
|
|
19011
19702
|
*/
|
|
19012
19703
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
19013
19704
|
}
|
|
19705
|
+
/** Properties of an EventGroupMarker. */
|
|
19706
|
+
interface IEventGroupMarker {
|
|
19707
|
+
/** EventGroupMarker label */
|
|
19708
|
+
label?: (temporal.api.sdk.v1.EventGroupMarker.ILabel | null);
|
|
19709
|
+
/** EventGroupMarker inboundEvent */
|
|
19710
|
+
inboundEvent?: (temporal.api.sdk.v1.EventGroupMarker.IInboundEvent | null);
|
|
19711
|
+
/** EventGroupMarker inboundUpdate */
|
|
19712
|
+
inboundUpdate?: (temporal.api.sdk.v1.EventGroupMarker.IInboundUpdate | null);
|
|
19713
|
+
}
|
|
19714
|
+
/** Represents an EventGroupMarker. */
|
|
19715
|
+
class EventGroupMarker implements IEventGroupMarker {
|
|
19716
|
+
/**
|
|
19717
|
+
* Constructs a new EventGroupMarker.
|
|
19718
|
+
* @param [properties] Properties to set
|
|
19719
|
+
*/
|
|
19720
|
+
constructor(properties?: temporal.api.sdk.v1.IEventGroupMarker);
|
|
19721
|
+
/** EventGroupMarker label. */
|
|
19722
|
+
public label?: (temporal.api.sdk.v1.EventGroupMarker.ILabel | null);
|
|
19723
|
+
/** EventGroupMarker inboundEvent. */
|
|
19724
|
+
public inboundEvent?: (temporal.api.sdk.v1.EventGroupMarker.IInboundEvent | null);
|
|
19725
|
+
/** EventGroupMarker inboundUpdate. */
|
|
19726
|
+
public inboundUpdate?: (temporal.api.sdk.v1.EventGroupMarker.IInboundUpdate | null);
|
|
19727
|
+
/**
|
|
19728
|
+
* What this Marker represents. The variant determines whether the Marker was
|
|
19729
|
+
* created explicitly by user code (label) or implicitly by the SDK on inbound
|
|
19730
|
+
* signals/events (inbound_event) or update handlers (inbound_update).
|
|
19731
|
+
*/
|
|
19732
|
+
public variant?: ("label" | "inboundEvent" | "inboundUpdate");
|
|
19733
|
+
/**
|
|
19734
|
+
* Creates a new EventGroupMarker instance using the specified properties.
|
|
19735
|
+
* @param [properties] Properties to set
|
|
19736
|
+
* @returns EventGroupMarker instance
|
|
19737
|
+
*/
|
|
19738
|
+
public static create(properties?: temporal.api.sdk.v1.IEventGroupMarker): temporal.api.sdk.v1.EventGroupMarker;
|
|
19739
|
+
/**
|
|
19740
|
+
* Encodes the specified EventGroupMarker message. Does not implicitly {@link temporal.api.sdk.v1.EventGroupMarker.verify|verify} messages.
|
|
19741
|
+
* @param message EventGroupMarker message or plain object to encode
|
|
19742
|
+
* @param [writer] Writer to encode to
|
|
19743
|
+
* @returns Writer
|
|
19744
|
+
*/
|
|
19745
|
+
public static encode(message: temporal.api.sdk.v1.IEventGroupMarker, writer?: Writer): Writer;
|
|
19746
|
+
/**
|
|
19747
|
+
* Encodes the specified EventGroupMarker message, length delimited. Does not implicitly {@link temporal.api.sdk.v1.EventGroupMarker.verify|verify} messages.
|
|
19748
|
+
* @param message EventGroupMarker message or plain object to encode
|
|
19749
|
+
* @param [writer] Writer to encode to
|
|
19750
|
+
* @returns Writer
|
|
19751
|
+
*/
|
|
19752
|
+
public static encodeDelimited(message: temporal.api.sdk.v1.IEventGroupMarker, writer?: Writer): Writer;
|
|
19753
|
+
/**
|
|
19754
|
+
* Decodes an EventGroupMarker message from the specified reader or buffer.
|
|
19755
|
+
* @param reader Reader or buffer to decode from
|
|
19756
|
+
* @param [length] Message length if known beforehand
|
|
19757
|
+
* @returns EventGroupMarker
|
|
19758
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19759
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19760
|
+
*/
|
|
19761
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.sdk.v1.EventGroupMarker;
|
|
19762
|
+
/**
|
|
19763
|
+
* Decodes an EventGroupMarker message from the specified reader or buffer, length delimited.
|
|
19764
|
+
* @param reader Reader or buffer to decode from
|
|
19765
|
+
* @returns EventGroupMarker
|
|
19766
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19767
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19768
|
+
*/
|
|
19769
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.sdk.v1.EventGroupMarker;
|
|
19770
|
+
/**
|
|
19771
|
+
* Creates an EventGroupMarker message from a plain object. Also converts values to their respective internal types.
|
|
19772
|
+
* @param object Plain object
|
|
19773
|
+
* @returns EventGroupMarker
|
|
19774
|
+
*/
|
|
19775
|
+
public static fromObject(object: {
|
|
19776
|
+
[k: string]: any;
|
|
19777
|
+
}): temporal.api.sdk.v1.EventGroupMarker;
|
|
19778
|
+
/**
|
|
19779
|
+
* Creates a plain object from an EventGroupMarker message. Also converts values to other types if specified.
|
|
19780
|
+
* @param message EventGroupMarker
|
|
19781
|
+
* @param [options] Conversion options
|
|
19782
|
+
* @returns Plain object
|
|
19783
|
+
*/
|
|
19784
|
+
public static toObject(message: temporal.api.sdk.v1.EventGroupMarker, options?: IConversionOptions): {
|
|
19785
|
+
[k: string]: any;
|
|
19786
|
+
};
|
|
19787
|
+
/**
|
|
19788
|
+
* Converts this EventGroupMarker to JSON.
|
|
19789
|
+
* @returns JSON object
|
|
19790
|
+
*/
|
|
19791
|
+
public toJSON(): {
|
|
19792
|
+
[k: string]: any;
|
|
19793
|
+
};
|
|
19794
|
+
/**
|
|
19795
|
+
* Gets the default type url for EventGroupMarker
|
|
19796
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
19797
|
+
* @returns The default type url
|
|
19798
|
+
*/
|
|
19799
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
19800
|
+
}
|
|
19801
|
+
namespace EventGroupMarker {
|
|
19802
|
+
/** Properties of a Label. */
|
|
19803
|
+
interface ILabel {
|
|
19804
|
+
/** Opaque identifier assigned by the SDK. */
|
|
19805
|
+
id?: (string | null);
|
|
19806
|
+
/**
|
|
19807
|
+
* This payload should be a "json/plain"-encoded payload that is a single
|
|
19808
|
+
* JSON string for use in user interfaces. User interface formatting may not
|
|
19809
|
+
* apply to this text when used in "label" situations. The payload data
|
|
19810
|
+
* section is limited to 400 bytes by default.
|
|
19811
|
+
*
|
|
19812
|
+
* Payload only needs to be set on the first use of a given Marker ID;
|
|
19813
|
+
* further references to an existing Marker ID reuse existing attributes of
|
|
19814
|
+
* the referenced Marker -- i.e. further label payloads are ignored.
|
|
19815
|
+
*
|
|
19816
|
+
* Note that it is valid to have distinct Markers (i.e. distinct Marker IDs)
|
|
19817
|
+
* in a given workflow execution that carry the same label, provided that
|
|
19818
|
+
* they have the distinct ID.
|
|
19819
|
+
*/
|
|
19820
|
+
label?: (temporal.api.common.v1.IPayload | null);
|
|
19821
|
+
}
|
|
19822
|
+
/** A user-defined short-form string value to be used as the group's label. */
|
|
19823
|
+
class Label implements ILabel {
|
|
19824
|
+
/**
|
|
19825
|
+
* Constructs a new Label.
|
|
19826
|
+
* @param [properties] Properties to set
|
|
19827
|
+
*/
|
|
19828
|
+
constructor(properties?: temporal.api.sdk.v1.EventGroupMarker.ILabel);
|
|
19829
|
+
/** Opaque identifier assigned by the SDK. */
|
|
19830
|
+
public id: string;
|
|
19831
|
+
/**
|
|
19832
|
+
* This payload should be a "json/plain"-encoded payload that is a single
|
|
19833
|
+
* JSON string for use in user interfaces. User interface formatting may not
|
|
19834
|
+
* apply to this text when used in "label" situations. The payload data
|
|
19835
|
+
* section is limited to 400 bytes by default.
|
|
19836
|
+
*
|
|
19837
|
+
* Payload only needs to be set on the first use of a given Marker ID;
|
|
19838
|
+
* further references to an existing Marker ID reuse existing attributes of
|
|
19839
|
+
* the referenced Marker -- i.e. further label payloads are ignored.
|
|
19840
|
+
*
|
|
19841
|
+
* Note that it is valid to have distinct Markers (i.e. distinct Marker IDs)
|
|
19842
|
+
* in a given workflow execution that carry the same label, provided that
|
|
19843
|
+
* they have the distinct ID.
|
|
19844
|
+
*/
|
|
19845
|
+
public label?: (temporal.api.common.v1.IPayload | null);
|
|
19846
|
+
/**
|
|
19847
|
+
* Creates a new Label instance using the specified properties.
|
|
19848
|
+
* @param [properties] Properties to set
|
|
19849
|
+
* @returns Label instance
|
|
19850
|
+
*/
|
|
19851
|
+
public static create(properties?: temporal.api.sdk.v1.EventGroupMarker.ILabel): temporal.api.sdk.v1.EventGroupMarker.Label;
|
|
19852
|
+
/**
|
|
19853
|
+
* Encodes the specified Label message. Does not implicitly {@link temporal.api.sdk.v1.EventGroupMarker.Label.verify|verify} messages.
|
|
19854
|
+
* @param message Label message or plain object to encode
|
|
19855
|
+
* @param [writer] Writer to encode to
|
|
19856
|
+
* @returns Writer
|
|
19857
|
+
*/
|
|
19858
|
+
public static encode(message: temporal.api.sdk.v1.EventGroupMarker.ILabel, writer?: Writer): Writer;
|
|
19859
|
+
/**
|
|
19860
|
+
* Encodes the specified Label message, length delimited. Does not implicitly {@link temporal.api.sdk.v1.EventGroupMarker.Label.verify|verify} messages.
|
|
19861
|
+
* @param message Label message or plain object to encode
|
|
19862
|
+
* @param [writer] Writer to encode to
|
|
19863
|
+
* @returns Writer
|
|
19864
|
+
*/
|
|
19865
|
+
public static encodeDelimited(message: temporal.api.sdk.v1.EventGroupMarker.ILabel, writer?: Writer): Writer;
|
|
19866
|
+
/**
|
|
19867
|
+
* Decodes a Label message from the specified reader or buffer.
|
|
19868
|
+
* @param reader Reader or buffer to decode from
|
|
19869
|
+
* @param [length] Message length if known beforehand
|
|
19870
|
+
* @returns Label
|
|
19871
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19872
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19873
|
+
*/
|
|
19874
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.sdk.v1.EventGroupMarker.Label;
|
|
19875
|
+
/**
|
|
19876
|
+
* Decodes a Label message from the specified reader or buffer, length delimited.
|
|
19877
|
+
* @param reader Reader or buffer to decode from
|
|
19878
|
+
* @returns Label
|
|
19879
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19880
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19881
|
+
*/
|
|
19882
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.sdk.v1.EventGroupMarker.Label;
|
|
19883
|
+
/**
|
|
19884
|
+
* Creates a Label message from a plain object. Also converts values to their respective internal types.
|
|
19885
|
+
* @param object Plain object
|
|
19886
|
+
* @returns Label
|
|
19887
|
+
*/
|
|
19888
|
+
public static fromObject(object: {
|
|
19889
|
+
[k: string]: any;
|
|
19890
|
+
}): temporal.api.sdk.v1.EventGroupMarker.Label;
|
|
19891
|
+
/**
|
|
19892
|
+
* Creates a plain object from a Label message. Also converts values to other types if specified.
|
|
19893
|
+
* @param message Label
|
|
19894
|
+
* @param [options] Conversion options
|
|
19895
|
+
* @returns Plain object
|
|
19896
|
+
*/
|
|
19897
|
+
public static toObject(message: temporal.api.sdk.v1.EventGroupMarker.Label, options?: IConversionOptions): {
|
|
19898
|
+
[k: string]: any;
|
|
19899
|
+
};
|
|
19900
|
+
/**
|
|
19901
|
+
* Converts this Label to JSON.
|
|
19902
|
+
* @returns JSON object
|
|
19903
|
+
*/
|
|
19904
|
+
public toJSON(): {
|
|
19905
|
+
[k: string]: any;
|
|
19906
|
+
};
|
|
19907
|
+
/**
|
|
19908
|
+
* Gets the default type url for Label
|
|
19909
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
19910
|
+
* @returns The default type url
|
|
19911
|
+
*/
|
|
19912
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
19913
|
+
}
|
|
19914
|
+
/** Properties of an InboundEvent. */
|
|
19915
|
+
interface IInboundEvent {
|
|
19916
|
+
/** InboundEvent inboundEventId */
|
|
19917
|
+
inboundEventId?: (Long | null);
|
|
19918
|
+
}
|
|
19919
|
+
/**
|
|
19920
|
+
* The event ID of an event in the present workflow that triggered implicit
|
|
19921
|
+
* creation of this group Marker.
|
|
19922
|
+
*
|
|
19923
|
+
* The target event's type must be one of the following:
|
|
19924
|
+
* - `WORKFLOW_EXECUTION_STARTED`
|
|
19925
|
+
* - `WORKFLOW_EXECUTION_SIGNALED`
|
|
19926
|
+
*/
|
|
19927
|
+
class InboundEvent implements IInboundEvent {
|
|
19928
|
+
/**
|
|
19929
|
+
* Constructs a new InboundEvent.
|
|
19930
|
+
* @param [properties] Properties to set
|
|
19931
|
+
*/
|
|
19932
|
+
constructor(properties?: temporal.api.sdk.v1.EventGroupMarker.IInboundEvent);
|
|
19933
|
+
/** InboundEvent inboundEventId. */
|
|
19934
|
+
public inboundEventId: Long;
|
|
19935
|
+
/**
|
|
19936
|
+
* Creates a new InboundEvent instance using the specified properties.
|
|
19937
|
+
* @param [properties] Properties to set
|
|
19938
|
+
* @returns InboundEvent instance
|
|
19939
|
+
*/
|
|
19940
|
+
public static create(properties?: temporal.api.sdk.v1.EventGroupMarker.IInboundEvent): temporal.api.sdk.v1.EventGroupMarker.InboundEvent;
|
|
19941
|
+
/**
|
|
19942
|
+
* Encodes the specified InboundEvent message. Does not implicitly {@link temporal.api.sdk.v1.EventGroupMarker.InboundEvent.verify|verify} messages.
|
|
19943
|
+
* @param message InboundEvent message or plain object to encode
|
|
19944
|
+
* @param [writer] Writer to encode to
|
|
19945
|
+
* @returns Writer
|
|
19946
|
+
*/
|
|
19947
|
+
public static encode(message: temporal.api.sdk.v1.EventGroupMarker.IInboundEvent, writer?: Writer): Writer;
|
|
19948
|
+
/**
|
|
19949
|
+
* Encodes the specified InboundEvent message, length delimited. Does not implicitly {@link temporal.api.sdk.v1.EventGroupMarker.InboundEvent.verify|verify} messages.
|
|
19950
|
+
* @param message InboundEvent message or plain object to encode
|
|
19951
|
+
* @param [writer] Writer to encode to
|
|
19952
|
+
* @returns Writer
|
|
19953
|
+
*/
|
|
19954
|
+
public static encodeDelimited(message: temporal.api.sdk.v1.EventGroupMarker.IInboundEvent, writer?: Writer): Writer;
|
|
19955
|
+
/**
|
|
19956
|
+
* Decodes an InboundEvent message from the specified reader or buffer.
|
|
19957
|
+
* @param reader Reader or buffer to decode from
|
|
19958
|
+
* @param [length] Message length if known beforehand
|
|
19959
|
+
* @returns InboundEvent
|
|
19960
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19961
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19962
|
+
*/
|
|
19963
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.sdk.v1.EventGroupMarker.InboundEvent;
|
|
19964
|
+
/**
|
|
19965
|
+
* Decodes an InboundEvent message from the specified reader or buffer, length delimited.
|
|
19966
|
+
* @param reader Reader or buffer to decode from
|
|
19967
|
+
* @returns InboundEvent
|
|
19968
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19969
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19970
|
+
*/
|
|
19971
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.sdk.v1.EventGroupMarker.InboundEvent;
|
|
19972
|
+
/**
|
|
19973
|
+
* Creates an InboundEvent message from a plain object. Also converts values to their respective internal types.
|
|
19974
|
+
* @param object Plain object
|
|
19975
|
+
* @returns InboundEvent
|
|
19976
|
+
*/
|
|
19977
|
+
public static fromObject(object: {
|
|
19978
|
+
[k: string]: any;
|
|
19979
|
+
}): temporal.api.sdk.v1.EventGroupMarker.InboundEvent;
|
|
19980
|
+
/**
|
|
19981
|
+
* Creates a plain object from an InboundEvent message. Also converts values to other types if specified.
|
|
19982
|
+
* @param message InboundEvent
|
|
19983
|
+
* @param [options] Conversion options
|
|
19984
|
+
* @returns Plain object
|
|
19985
|
+
*/
|
|
19986
|
+
public static toObject(message: temporal.api.sdk.v1.EventGroupMarker.InboundEvent, options?: IConversionOptions): {
|
|
19987
|
+
[k: string]: any;
|
|
19988
|
+
};
|
|
19989
|
+
/**
|
|
19990
|
+
* Converts this InboundEvent to JSON.
|
|
19991
|
+
* @returns JSON object
|
|
19992
|
+
*/
|
|
19993
|
+
public toJSON(): {
|
|
19994
|
+
[k: string]: any;
|
|
19995
|
+
};
|
|
19996
|
+
/**
|
|
19997
|
+
* Gets the default type url for InboundEvent
|
|
19998
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
19999
|
+
* @returns The default type url
|
|
20000
|
+
*/
|
|
20001
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20002
|
+
}
|
|
20003
|
+
/** Properties of an InboundUpdate. */
|
|
20004
|
+
interface IInboundUpdate {
|
|
20005
|
+
/** InboundUpdate inboundUpdateId */
|
|
20006
|
+
inboundUpdateId?: (string | null);
|
|
20007
|
+
}
|
|
20008
|
+
/**
|
|
20009
|
+
* The identifier of an inbound Update (request.meta.update_id)
|
|
20010
|
+
* whose handler triggered implicit creation of this group Marker.
|
|
20011
|
+
*
|
|
20012
|
+
* Used in place of `inbound_event_id` for Updates because the event ID of the
|
|
20013
|
+
* UpdateAccepted history event is not known until the Workflow Task is
|
|
20014
|
+
* completed and recorded by the server, which may be too late.
|
|
20015
|
+
*/
|
|
20016
|
+
class InboundUpdate implements IInboundUpdate {
|
|
20017
|
+
/**
|
|
20018
|
+
* Constructs a new InboundUpdate.
|
|
20019
|
+
* @param [properties] Properties to set
|
|
20020
|
+
*/
|
|
20021
|
+
constructor(properties?: temporal.api.sdk.v1.EventGroupMarker.IInboundUpdate);
|
|
20022
|
+
/** InboundUpdate inboundUpdateId. */
|
|
20023
|
+
public inboundUpdateId: string;
|
|
20024
|
+
/**
|
|
20025
|
+
* Creates a new InboundUpdate instance using the specified properties.
|
|
20026
|
+
* @param [properties] Properties to set
|
|
20027
|
+
* @returns InboundUpdate instance
|
|
20028
|
+
*/
|
|
20029
|
+
public static create(properties?: temporal.api.sdk.v1.EventGroupMarker.IInboundUpdate): temporal.api.sdk.v1.EventGroupMarker.InboundUpdate;
|
|
20030
|
+
/**
|
|
20031
|
+
* Encodes the specified InboundUpdate message. Does not implicitly {@link temporal.api.sdk.v1.EventGroupMarker.InboundUpdate.verify|verify} messages.
|
|
20032
|
+
* @param message InboundUpdate message or plain object to encode
|
|
20033
|
+
* @param [writer] Writer to encode to
|
|
20034
|
+
* @returns Writer
|
|
20035
|
+
*/
|
|
20036
|
+
public static encode(message: temporal.api.sdk.v1.EventGroupMarker.IInboundUpdate, writer?: Writer): Writer;
|
|
20037
|
+
/**
|
|
20038
|
+
* Encodes the specified InboundUpdate message, length delimited. Does not implicitly {@link temporal.api.sdk.v1.EventGroupMarker.InboundUpdate.verify|verify} messages.
|
|
20039
|
+
* @param message InboundUpdate message or plain object to encode
|
|
20040
|
+
* @param [writer] Writer to encode to
|
|
20041
|
+
* @returns Writer
|
|
20042
|
+
*/
|
|
20043
|
+
public static encodeDelimited(message: temporal.api.sdk.v1.EventGroupMarker.IInboundUpdate, writer?: Writer): Writer;
|
|
20044
|
+
/**
|
|
20045
|
+
* Decodes an InboundUpdate message from the specified reader or buffer.
|
|
20046
|
+
* @param reader Reader or buffer to decode from
|
|
20047
|
+
* @param [length] Message length if known beforehand
|
|
20048
|
+
* @returns InboundUpdate
|
|
20049
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20050
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20051
|
+
*/
|
|
20052
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.sdk.v1.EventGroupMarker.InboundUpdate;
|
|
20053
|
+
/**
|
|
20054
|
+
* Decodes an InboundUpdate message from the specified reader or buffer, length delimited.
|
|
20055
|
+
* @param reader Reader or buffer to decode from
|
|
20056
|
+
* @returns InboundUpdate
|
|
20057
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20058
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20059
|
+
*/
|
|
20060
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.sdk.v1.EventGroupMarker.InboundUpdate;
|
|
20061
|
+
/**
|
|
20062
|
+
* Creates an InboundUpdate message from a plain object. Also converts values to their respective internal types.
|
|
20063
|
+
* @param object Plain object
|
|
20064
|
+
* @returns InboundUpdate
|
|
20065
|
+
*/
|
|
20066
|
+
public static fromObject(object: {
|
|
20067
|
+
[k: string]: any;
|
|
20068
|
+
}): temporal.api.sdk.v1.EventGroupMarker.InboundUpdate;
|
|
20069
|
+
/**
|
|
20070
|
+
* Creates a plain object from an InboundUpdate message. Also converts values to other types if specified.
|
|
20071
|
+
* @param message InboundUpdate
|
|
20072
|
+
* @param [options] Conversion options
|
|
20073
|
+
* @returns Plain object
|
|
20074
|
+
*/
|
|
20075
|
+
public static toObject(message: temporal.api.sdk.v1.EventGroupMarker.InboundUpdate, options?: IConversionOptions): {
|
|
20076
|
+
[k: string]: any;
|
|
20077
|
+
};
|
|
20078
|
+
/**
|
|
20079
|
+
* Converts this InboundUpdate to JSON.
|
|
20080
|
+
* @returns JSON object
|
|
20081
|
+
*/
|
|
20082
|
+
public toJSON(): {
|
|
20083
|
+
[k: string]: any;
|
|
20084
|
+
};
|
|
20085
|
+
/**
|
|
20086
|
+
* Gets the default type url for InboundUpdate
|
|
20087
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
20088
|
+
* @returns The default type url
|
|
20089
|
+
*/
|
|
20090
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20091
|
+
}
|
|
20092
|
+
}
|
|
19014
20093
|
/** Properties of a WorkerConfig. */
|
|
19015
20094
|
interface IWorkerConfig {
|
|
19016
20095
|
/** WorkerConfig workflowCacheSize */
|
|
@@ -20192,11 +21271,19 @@ declare namespace temporal {
|
|
|
20192
21271
|
*/
|
|
20193
21272
|
failoverHistory?: (temporal.api.replication.v1.IFailoverStatus[] | null);
|
|
20194
21273
|
/**
|
|
21274
|
+
* Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
|
|
21275
|
+
* ignore stale updates.
|
|
20195
21276
|
* The initial info that client should use for poller group assignment. This information is
|
|
20196
21277
|
* updated through poll response. Client is supposed to use the info received in the latest
|
|
20197
21278
|
* poll response.
|
|
20198
21279
|
*/
|
|
20199
21280
|
pollerGroupInfos?: (temporal.api.taskqueue.v1.IPollerGroupInfo[] | null);
|
|
21281
|
+
/**
|
|
21282
|
+
* The initial, versioned info that client should use for poller group assignment. This
|
|
21283
|
+
* information is updated through poll responses. Client is supposed to use the info with the
|
|
21284
|
+
* highest version it has received.
|
|
21285
|
+
*/
|
|
21286
|
+
pollerGroupsInfo?: (temporal.api.taskqueue.v1.IPollerGroupsInfo | null);
|
|
20200
21287
|
}
|
|
20201
21288
|
/** Represents a DescribeNamespaceResponse. */
|
|
20202
21289
|
class DescribeNamespaceResponse implements IDescribeNamespaceResponse {
|
|
@@ -20221,11 +21308,19 @@ declare namespace temporal {
|
|
|
20221
21308
|
*/
|
|
20222
21309
|
public failoverHistory: temporal.api.replication.v1.IFailoverStatus[];
|
|
20223
21310
|
/**
|
|
21311
|
+
* Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
|
|
21312
|
+
* ignore stale updates.
|
|
20224
21313
|
* The initial info that client should use for poller group assignment. This information is
|
|
20225
21314
|
* updated through poll response. Client is supposed to use the info received in the latest
|
|
20226
21315
|
* poll response.
|
|
20227
21316
|
*/
|
|
20228
21317
|
public pollerGroupInfos: temporal.api.taskqueue.v1.IPollerGroupInfo[];
|
|
21318
|
+
/**
|
|
21319
|
+
* The initial, versioned info that client should use for poller group assignment. This
|
|
21320
|
+
* information is updated through poll responses. Client is supposed to use the info with the
|
|
21321
|
+
* highest version it has received.
|
|
21322
|
+
*/
|
|
21323
|
+
public pollerGroupsInfo?: (temporal.api.taskqueue.v1.IPollerGroupsInfo | null);
|
|
20229
21324
|
/**
|
|
20230
21325
|
* Creates a new DescribeNamespaceResponse instance using the specified properties.
|
|
20231
21326
|
* @param [properties] Properties to set
|
|
@@ -20724,8 +21819,8 @@ declare namespace temporal {
|
|
|
20724
21819
|
/** StartWorkflowExecutionRequest lastCompletionResult */
|
|
20725
21820
|
lastCompletionResult?: (temporal.api.common.v1.IPayloads | null);
|
|
20726
21821
|
/**
|
|
20727
|
-
* Time to wait before
|
|
20728
|
-
* If the workflow gets a signal before the delay, a workflow task will be
|
|
21822
|
+
* Time to wait before making the first workflow task available for dispatch. Cannot be used with `cron_schedule`.
|
|
21823
|
+
* If the workflow gets a signal before the delay, a workflow task will be made available for dispatch and the rest
|
|
20729
21824
|
* of the delay will be ignored.
|
|
20730
21825
|
*/
|
|
20731
21826
|
workflowStartDelay?: (google.protobuf.IDuration | null);
|
|
@@ -20760,7 +21855,7 @@ declare namespace temporal {
|
|
|
20760
21855
|
/** Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`. */
|
|
20761
21856
|
eagerWorkerDeploymentOptions?: (temporal.api.deployment.v1.IWorkerDeploymentOptions | null);
|
|
20762
21857
|
/** Time-skipping configuration. If not set, time skipping is disabled. */
|
|
20763
|
-
timeSkippingConfig?: (temporal.api.
|
|
21858
|
+
timeSkippingConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
20764
21859
|
}
|
|
20765
21860
|
/** Represents a StartWorkflowExecutionRequest. */
|
|
20766
21861
|
class StartWorkflowExecutionRequest implements IStartWorkflowExecutionRequest {
|
|
@@ -20830,8 +21925,8 @@ declare namespace temporal {
|
|
|
20830
21925
|
/** StartWorkflowExecutionRequest lastCompletionResult. */
|
|
20831
21926
|
public lastCompletionResult?: (temporal.api.common.v1.IPayloads | null);
|
|
20832
21927
|
/**
|
|
20833
|
-
* Time to wait before
|
|
20834
|
-
* If the workflow gets a signal before the delay, a workflow task will be
|
|
21928
|
+
* Time to wait before making the first workflow task available for dispatch. Cannot be used with `cron_schedule`.
|
|
21929
|
+
* If the workflow gets a signal before the delay, a workflow task will be made available for dispatch and the rest
|
|
20835
21930
|
* of the delay will be ignored.
|
|
20836
21931
|
*/
|
|
20837
21932
|
public workflowStartDelay?: (google.protobuf.IDuration | null);
|
|
@@ -20866,7 +21961,7 @@ declare namespace temporal {
|
|
|
20866
21961
|
/** Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`. */
|
|
20867
21962
|
public eagerWorkerDeploymentOptions?: (temporal.api.deployment.v1.IWorkerDeploymentOptions | null);
|
|
20868
21963
|
/** Time-skipping configuration. If not set, time skipping is disabled. */
|
|
20869
|
-
public timeSkippingConfig?: (temporal.api.
|
|
21964
|
+
public timeSkippingConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
20870
21965
|
/**
|
|
20871
21966
|
* Creates a new StartWorkflowExecutionRequest instance using the specified properties.
|
|
20872
21967
|
* @param [properties] Properties to set
|
|
@@ -20939,6 +22034,8 @@ declare namespace temporal {
|
|
|
20939
22034
|
interface IStartWorkflowExecutionResponse {
|
|
20940
22035
|
/** The run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING). */
|
|
20941
22036
|
runId?: (string | null);
|
|
22037
|
+
/** If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain. */
|
|
22038
|
+
firstExecutionRunId?: (string | null);
|
|
20942
22039
|
/** If true, a new workflow was started. */
|
|
20943
22040
|
started?: (boolean | null);
|
|
20944
22041
|
/**
|
|
@@ -20964,6 +22061,8 @@ declare namespace temporal {
|
|
|
20964
22061
|
constructor(properties?: temporal.api.workflowservice.v1.IStartWorkflowExecutionResponse);
|
|
20965
22062
|
/** The run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING). */
|
|
20966
22063
|
public runId: string;
|
|
22064
|
+
/** If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain. */
|
|
22065
|
+
public firstExecutionRunId: string;
|
|
20967
22066
|
/** If true, a new workflow was started. */
|
|
20968
22067
|
public started: boolean;
|
|
20969
22068
|
/**
|
|
@@ -21682,6 +22781,8 @@ declare namespace temporal {
|
|
|
21682
22781
|
*/
|
|
21683
22782
|
pollerGroupId?: (string | null);
|
|
21684
22783
|
/**
|
|
22784
|
+
* Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
|
|
22785
|
+
* ignore stale updates.
|
|
21685
22786
|
* The weighted list of poller groups IDs that client should use for future polls to this task
|
|
21686
22787
|
* queue. Client is expected to:
|
|
21687
22788
|
* 1. Maintain minimum number of pollers no less than the number of groups.
|
|
@@ -21690,6 +22791,16 @@ declare namespace temporal {
|
|
|
21690
22791
|
* according to the weights.
|
|
21691
22792
|
*/
|
|
21692
22793
|
pollerGroupInfos?: (temporal.api.taskqueue.v1.IPollerGroupInfo[] | null);
|
|
22794
|
+
/**
|
|
22795
|
+
* The weighted, versioned list of poller groups IDs that client should use for future polls to
|
|
22796
|
+
* this task queue. Client should ignore this if it has already applied a snapshot with a
|
|
22797
|
+
* version greater than or equal to `poller_groups_info.version`. Client is expected to:
|
|
22798
|
+
* 1. Maintain minimum number of pollers no less than the number of groups.
|
|
22799
|
+
* 2. Try to assign the next poll to a group without any pending polls,
|
|
22800
|
+
* 3. If every group has some pending polls, assign the next poll to a group randomly
|
|
22801
|
+
* according to the weights.
|
|
22802
|
+
*/
|
|
22803
|
+
pollerGroupsInfo?: (temporal.api.taskqueue.v1.IPollerGroupsInfo | null);
|
|
21693
22804
|
}
|
|
21694
22805
|
/** Represents a PollWorkflowTaskQueueResponse. */
|
|
21695
22806
|
class PollWorkflowTaskQueueResponse implements IPollWorkflowTaskQueueResponse {
|
|
@@ -21775,6 +22886,8 @@ declare namespace temporal {
|
|
|
21775
22886
|
*/
|
|
21776
22887
|
public pollerGroupId: string;
|
|
21777
22888
|
/**
|
|
22889
|
+
* Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
|
|
22890
|
+
* ignore stale updates.
|
|
21778
22891
|
* The weighted list of poller groups IDs that client should use for future polls to this task
|
|
21779
22892
|
* queue. Client is expected to:
|
|
21780
22893
|
* 1. Maintain minimum number of pollers no less than the number of groups.
|
|
@@ -21783,6 +22896,16 @@ declare namespace temporal {
|
|
|
21783
22896
|
* according to the weights.
|
|
21784
22897
|
*/
|
|
21785
22898
|
public pollerGroupInfos: temporal.api.taskqueue.v1.IPollerGroupInfo[];
|
|
22899
|
+
/**
|
|
22900
|
+
* The weighted, versioned list of poller groups IDs that client should use for future polls to
|
|
22901
|
+
* this task queue. Client should ignore this if it has already applied a snapshot with a
|
|
22902
|
+
* version greater than or equal to `poller_groups_info.version`. Client is expected to:
|
|
22903
|
+
* 1. Maintain minimum number of pollers no less than the number of groups.
|
|
22904
|
+
* 2. Try to assign the next poll to a group without any pending polls,
|
|
22905
|
+
* 3. If every group has some pending polls, assign the next poll to a group randomly
|
|
22906
|
+
* according to the weights.
|
|
22907
|
+
*/
|
|
22908
|
+
public pollerGroupsInfo?: (temporal.api.taskqueue.v1.IPollerGroupsInfo | null);
|
|
21786
22909
|
/**
|
|
21787
22910
|
* Creates a new PollWorkflowTaskQueueResponse instance using the specified properties.
|
|
21788
22911
|
* @param [properties] Properties to set
|
|
@@ -21930,6 +23053,18 @@ declare namespace temporal {
|
|
|
21930
23053
|
* tasks (e.g. activity cancellation) to this specific worker instance.
|
|
21931
23054
|
*/
|
|
21932
23055
|
workerControlTaskQueue?: (string | null);
|
|
23056
|
+
/**
|
|
23057
|
+
* 0-indexed page number when the workflow task completion is split across multiple
|
|
23058
|
+
* requests ("pages"). 0 for single-page requests. May only be set to non-zero value
|
|
23059
|
+
* when the namespace capability workflow_task_completion_pagination is true.
|
|
23060
|
+
*/
|
|
23061
|
+
pageNumber?: (number | null);
|
|
23062
|
+
/**
|
|
23063
|
+
* True for non-final pages of a paginated workflow task completion. The final page's
|
|
23064
|
+
* `page_number` tells the server how many intermediate pages (0..page_number-1) preceded it.
|
|
23065
|
+
* May only be used when the namespace capability workflow_task_completion_pagination is true.
|
|
23066
|
+
*/
|
|
23067
|
+
intermediatePage?: (boolean | null);
|
|
21933
23068
|
}
|
|
21934
23069
|
/** Represents a RespondWorkflowTaskCompletedRequest. */
|
|
21935
23070
|
class RespondWorkflowTaskCompletedRequest implements IRespondWorkflowTaskCompletedRequest {
|
|
@@ -22015,6 +23150,18 @@ declare namespace temporal {
|
|
|
22015
23150
|
* tasks (e.g. activity cancellation) to this specific worker instance.
|
|
22016
23151
|
*/
|
|
22017
23152
|
public workerControlTaskQueue: string;
|
|
23153
|
+
/**
|
|
23154
|
+
* 0-indexed page number when the workflow task completion is split across multiple
|
|
23155
|
+
* requests ("pages"). 0 for single-page requests. May only be set to non-zero value
|
|
23156
|
+
* when the namespace capability workflow_task_completion_pagination is true.
|
|
23157
|
+
*/
|
|
23158
|
+
public pageNumber: number;
|
|
23159
|
+
/**
|
|
23160
|
+
* True for non-final pages of a paginated workflow task completion. The final page's
|
|
23161
|
+
* `page_number` tells the server how many intermediate pages (0..page_number-1) preceded it.
|
|
23162
|
+
* May only be used when the namespace capability workflow_task_completion_pagination is true.
|
|
23163
|
+
*/
|
|
23164
|
+
public intermediatePage: boolean;
|
|
22018
23165
|
/**
|
|
22019
23166
|
* Creates a new RespondWorkflowTaskCompletedRequest instance using the specified properties.
|
|
22020
23167
|
* @param [properties] Properties to set
|
|
@@ -22732,6 +23879,16 @@ declare namespace temporal {
|
|
|
22732
23879
|
* according to the weights.
|
|
22733
23880
|
*/
|
|
22734
23881
|
pollerGroupInfos?: (temporal.api.taskqueue.v1.IPollerGroupInfo[] | null);
|
|
23882
|
+
/**
|
|
23883
|
+
* The weighted, versioned list of poller groups IDs that client should use for future polls to
|
|
23884
|
+
* this task queue. Client should ignore this if it has already applied a snapshot with a
|
|
23885
|
+
* version greater than or equal to `poller_groups_info.version`. Client is expected to:
|
|
23886
|
+
* 1. Maintain minimum number of pollers no less than the number of groups.
|
|
23887
|
+
* 2. Try to assign the next poll to a group without any pending polls,
|
|
23888
|
+
* 3. If every group has some pending polls, assign the next poll to a group randomly
|
|
23889
|
+
* according to the weights.
|
|
23890
|
+
*/
|
|
23891
|
+
pollerGroupsInfo?: (temporal.api.taskqueue.v1.IPollerGroupsInfo | null);
|
|
22735
23892
|
}
|
|
22736
23893
|
/** Represents a PollActivityTaskQueueResponse. */
|
|
22737
23894
|
class PollActivityTaskQueueResponse implements IPollActivityTaskQueueResponse {
|
|
@@ -22818,6 +23975,16 @@ declare namespace temporal {
|
|
|
22818
23975
|
* according to the weights.
|
|
22819
23976
|
*/
|
|
22820
23977
|
public pollerGroupInfos: temporal.api.taskqueue.v1.IPollerGroupInfo[];
|
|
23978
|
+
/**
|
|
23979
|
+
* The weighted, versioned list of poller groups IDs that client should use for future polls to
|
|
23980
|
+
* this task queue. Client should ignore this if it has already applied a snapshot with a
|
|
23981
|
+
* version greater than or equal to `poller_groups_info.version`. Client is expected to:
|
|
23982
|
+
* 1. Maintain minimum number of pollers no less than the number of groups.
|
|
23983
|
+
* 2. Try to assign the next poll to a group without any pending polls,
|
|
23984
|
+
* 3. If every group has some pending polls, assign the next poll to a group randomly
|
|
23985
|
+
* according to the weights.
|
|
23986
|
+
*/
|
|
23987
|
+
public pollerGroupsInfo?: (temporal.api.taskqueue.v1.IPollerGroupsInfo | null);
|
|
22821
23988
|
/**
|
|
22822
23989
|
* Creates a new PollActivityTaskQueueResponse instance using the specified properties.
|
|
22823
23990
|
* @param [properties] Properties to set
|
|
@@ -24975,9 +26142,9 @@ declare namespace temporal {
|
|
|
24975
26142
|
/** SignalWithStartWorkflowExecutionRequest header */
|
|
24976
26143
|
header?: (temporal.api.common.v1.IHeader | null);
|
|
24977
26144
|
/**
|
|
24978
|
-
* Time to wait before
|
|
26145
|
+
* Time to wait before making the first workflow task available for dispatch. Cannot be used with `cron_schedule`.
|
|
24979
26146
|
* Note that the signal will be delivered with the first workflow task. If the workflow gets
|
|
24980
|
-
* another SignalWithStartWorkflow before the delay a workflow task will be
|
|
26147
|
+
* another SignalWithStartWorkflow before the delay a workflow task will be made available for dispatch immediately
|
|
24981
26148
|
* and the rest of the delay period will be ignored, even if that request also had a delay.
|
|
24982
26149
|
* Signal via SignalWorkflowExecution will not unblock the workflow.
|
|
24983
26150
|
*/
|
|
@@ -24998,7 +26165,7 @@ declare namespace temporal {
|
|
|
24998
26165
|
/** Priority metadata */
|
|
24999
26166
|
priority?: (temporal.api.common.v1.IPriority | null);
|
|
25000
26167
|
/** Time-skipping configuration. If not set, time skipping is disabled. */
|
|
25001
|
-
timeSkippingConfig?: (temporal.api.
|
|
26168
|
+
timeSkippingConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
25002
26169
|
}
|
|
25003
26170
|
/** Represents a SignalWithStartWorkflowExecutionRequest. */
|
|
25004
26171
|
class SignalWithStartWorkflowExecutionRequest implements ISignalWithStartWorkflowExecutionRequest {
|
|
@@ -25059,9 +26226,9 @@ declare namespace temporal {
|
|
|
25059
26226
|
/** SignalWithStartWorkflowExecutionRequest header. */
|
|
25060
26227
|
public header?: (temporal.api.common.v1.IHeader | null);
|
|
25061
26228
|
/**
|
|
25062
|
-
* Time to wait before
|
|
26229
|
+
* Time to wait before making the first workflow task available for dispatch. Cannot be used with `cron_schedule`.
|
|
25063
26230
|
* Note that the signal will be delivered with the first workflow task. If the workflow gets
|
|
25064
|
-
* another SignalWithStartWorkflow before the delay a workflow task will be
|
|
26231
|
+
* another SignalWithStartWorkflow before the delay a workflow task will be made available for dispatch immediately
|
|
25065
26232
|
* and the rest of the delay period will be ignored, even if that request also had a delay.
|
|
25066
26233
|
* Signal via SignalWorkflowExecution will not unblock the workflow.
|
|
25067
26234
|
*/
|
|
@@ -25082,7 +26249,7 @@ declare namespace temporal {
|
|
|
25082
26249
|
/** Priority metadata */
|
|
25083
26250
|
public priority?: (temporal.api.common.v1.IPriority | null);
|
|
25084
26251
|
/** Time-skipping configuration. If not set, time skipping is disabled. */
|
|
25085
|
-
public timeSkippingConfig?: (temporal.api.
|
|
26252
|
+
public timeSkippingConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
25086
26253
|
/**
|
|
25087
26254
|
* Creates a new SignalWithStartWorkflowExecutionRequest instance using the specified properties.
|
|
25088
26255
|
* @param [properties] Properties to set
|
|
@@ -25155,6 +26322,8 @@ declare namespace temporal {
|
|
|
25155
26322
|
interface ISignalWithStartWorkflowExecutionResponse {
|
|
25156
26323
|
/** The run id of the workflow that was started - or just signaled, if it was already running. */
|
|
25157
26324
|
runId?: (string | null);
|
|
26325
|
+
/** If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain. */
|
|
26326
|
+
firstExecutionRunId?: (string | null);
|
|
25158
26327
|
/** If true, a new workflow was started. */
|
|
25159
26328
|
started?: (boolean | null);
|
|
25160
26329
|
/**
|
|
@@ -25173,6 +26342,8 @@ declare namespace temporal {
|
|
|
25173
26342
|
constructor(properties?: temporal.api.workflowservice.v1.ISignalWithStartWorkflowExecutionResponse);
|
|
25174
26343
|
/** The run id of the workflow that was started - or just signaled, if it was already running. */
|
|
25175
26344
|
public runId: string;
|
|
26345
|
+
/** If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain. */
|
|
26346
|
+
public firstExecutionRunId: string;
|
|
25176
26347
|
/** If true, a new workflow was started. */
|
|
25177
26348
|
public started: boolean;
|
|
25178
26349
|
/**
|
|
@@ -27909,6 +29080,8 @@ declare namespace temporal {
|
|
|
27909
29080
|
queryResult?: (temporal.api.common.v1.IPayloads | null);
|
|
27910
29081
|
/** QueryWorkflowResponse queryRejected */
|
|
27911
29082
|
queryRejected?: (temporal.api.query.v1.IQueryRejected | null);
|
|
29083
|
+
/** Holds the link to the Workflow execution that processed the Query. */
|
|
29084
|
+
link?: (temporal.api.common.v1.ILink | null);
|
|
27912
29085
|
}
|
|
27913
29086
|
/** Represents a QueryWorkflowResponse. */
|
|
27914
29087
|
class QueryWorkflowResponse implements IQueryWorkflowResponse {
|
|
@@ -27921,6 +29094,8 @@ declare namespace temporal {
|
|
|
27921
29094
|
public queryResult?: (temporal.api.common.v1.IPayloads | null);
|
|
27922
29095
|
/** QueryWorkflowResponse queryRejected. */
|
|
27923
29096
|
public queryRejected?: (temporal.api.query.v1.IQueryRejected | null);
|
|
29097
|
+
/** Holds the link to the Workflow execution that processed the Query. */
|
|
29098
|
+
public link?: (temporal.api.common.v1.ILink | null);
|
|
27924
29099
|
/**
|
|
27925
29100
|
* Creates a new QueryWorkflowResponse instance using the specified properties.
|
|
27926
29101
|
* @param [properties] Properties to set
|
|
@@ -29046,6 +30221,12 @@ declare namespace temporal {
|
|
|
29046
30221
|
* to be enabled via server configuration.
|
|
29047
30222
|
*/
|
|
29048
30223
|
serverScaledDeployments?: (boolean | null);
|
|
30224
|
+
/**
|
|
30225
|
+
* True if the server supports the Cloud Run compute provider for
|
|
30226
|
+
* server-scaled deployments. Dependent on server version and the
|
|
30227
|
+
* provider being enabled via server configuration.
|
|
30228
|
+
*/
|
|
30229
|
+
serverScaledProviderCloudRun?: (boolean | null);
|
|
29049
30230
|
}
|
|
29050
30231
|
/** System capability details. */
|
|
29051
30232
|
class Capabilities implements ICapabilities {
|
|
@@ -29101,6 +30282,12 @@ declare namespace temporal {
|
|
|
29101
30282
|
* to be enabled via server configuration.
|
|
29102
30283
|
*/
|
|
29103
30284
|
public serverScaledDeployments: boolean;
|
|
30285
|
+
/**
|
|
30286
|
+
* True if the server supports the Cloud Run compute provider for
|
|
30287
|
+
* server-scaled deployments. Dependent on server version and the
|
|
30288
|
+
* provider being enabled via server configuration.
|
|
30289
|
+
*/
|
|
30290
|
+
public serverScaledProviderCloudRun: boolean;
|
|
29104
30291
|
/**
|
|
29105
30292
|
* Creates a new Capabilities instance using the specified properties.
|
|
29106
30293
|
* @param [properties] Properties to set
|
|
@@ -33157,8 +34344,14 @@ declare namespace temporal {
|
|
|
33157
34344
|
/**
|
|
33158
34345
|
* Executions to apply the batch operation
|
|
33159
34346
|
* This field and `visibility_query` are mutually exclusive
|
|
34347
|
+
* DEPRECATED: Use `target_executions` instead.
|
|
33160
34348
|
*/
|
|
33161
34349
|
executions?: (temporal.api.common.v1.IWorkflowExecution[] | null);
|
|
34350
|
+
/**
|
|
34351
|
+
* Target executions to apply the batch operation. This field and `visibility_query`
|
|
34352
|
+
* are mutually exclusive.
|
|
34353
|
+
*/
|
|
34354
|
+
targetExecutions?: (temporal.api.common.v1.IExecution[] | null);
|
|
33162
34355
|
/**
|
|
33163
34356
|
* Limit for the number of operations processed per second within this batch.
|
|
33164
34357
|
* Its purpose is to reduce the stress on the system caused by batch operations, which helps to prevent system
|
|
@@ -33186,6 +34379,12 @@ declare namespace temporal {
|
|
|
33186
34379
|
resetActivitiesOperation?: (temporal.api.batch.v1.IBatchOperationResetActivities | null);
|
|
33187
34380
|
/** StartBatchOperationRequest updateActivityOptionsOperation */
|
|
33188
34381
|
updateActivityOptionsOperation?: (temporal.api.batch.v1.IBatchOperationUpdateActivityOptions | null);
|
|
34382
|
+
/** StartBatchOperationRequest cancelActivitiesOperation */
|
|
34383
|
+
cancelActivitiesOperation?: (temporal.api.batch.v1.IBatchOperationCancelActivities | null);
|
|
34384
|
+
/** StartBatchOperationRequest terminateActivitiesOperation */
|
|
34385
|
+
terminateActivitiesOperation?: (temporal.api.batch.v1.IBatchOperationTerminateActivities | null);
|
|
34386
|
+
/** StartBatchOperationRequest deleteActivitiesOperation */
|
|
34387
|
+
deleteActivitiesOperation?: (temporal.api.batch.v1.IBatchOperationDeleteActivities | null);
|
|
33189
34388
|
}
|
|
33190
34389
|
/** Represents a StartBatchOperationRequest. */
|
|
33191
34390
|
class StartBatchOperationRequest implements IStartBatchOperationRequest {
|
|
@@ -33208,8 +34407,14 @@ declare namespace temporal {
|
|
|
33208
34407
|
/**
|
|
33209
34408
|
* Executions to apply the batch operation
|
|
33210
34409
|
* This field and `visibility_query` are mutually exclusive
|
|
34410
|
+
* DEPRECATED: Use `target_executions` instead.
|
|
33211
34411
|
*/
|
|
33212
34412
|
public executions: temporal.api.common.v1.IWorkflowExecution[];
|
|
34413
|
+
/**
|
|
34414
|
+
* Target executions to apply the batch operation. This field and `visibility_query`
|
|
34415
|
+
* are mutually exclusive.
|
|
34416
|
+
*/
|
|
34417
|
+
public targetExecutions: temporal.api.common.v1.IExecution[];
|
|
33213
34418
|
/**
|
|
33214
34419
|
* Limit for the number of operations processed per second within this batch.
|
|
33215
34420
|
* Its purpose is to reduce the stress on the system caused by batch operations, which helps to prevent system
|
|
@@ -33237,8 +34442,14 @@ declare namespace temporal {
|
|
|
33237
34442
|
public resetActivitiesOperation?: (temporal.api.batch.v1.IBatchOperationResetActivities | null);
|
|
33238
34443
|
/** StartBatchOperationRequest updateActivityOptionsOperation. */
|
|
33239
34444
|
public updateActivityOptionsOperation?: (temporal.api.batch.v1.IBatchOperationUpdateActivityOptions | null);
|
|
34445
|
+
/** StartBatchOperationRequest cancelActivitiesOperation. */
|
|
34446
|
+
public cancelActivitiesOperation?: (temporal.api.batch.v1.IBatchOperationCancelActivities | null);
|
|
34447
|
+
/** StartBatchOperationRequest terminateActivitiesOperation. */
|
|
34448
|
+
public terminateActivitiesOperation?: (temporal.api.batch.v1.IBatchOperationTerminateActivities | null);
|
|
34449
|
+
/** StartBatchOperationRequest deleteActivitiesOperation. */
|
|
34450
|
+
public deleteActivitiesOperation?: (temporal.api.batch.v1.IBatchOperationDeleteActivities | null);
|
|
33240
34451
|
/** Operation input */
|
|
33241
|
-
public operation?: ("terminationOperation" | "signalOperation" | "cancellationOperation" | "deletionOperation" | "resetOperation" | "updateWorkflowOptionsOperation" | "unpauseActivitiesOperation" | "resetActivitiesOperation" | "updateActivityOptionsOperation");
|
|
34452
|
+
public operation?: ("terminationOperation" | "signalOperation" | "cancellationOperation" | "deletionOperation" | "resetOperation" | "updateWorkflowOptionsOperation" | "unpauseActivitiesOperation" | "resetActivitiesOperation" | "updateActivityOptionsOperation" | "cancelActivitiesOperation" | "terminateActivitiesOperation" | "deleteActivitiesOperation");
|
|
33242
34453
|
/**
|
|
33243
34454
|
* Creates a new StartBatchOperationRequest instance using the specified properties.
|
|
33244
34455
|
* @param [properties] Properties to set
|
|
@@ -33663,6 +34874,10 @@ declare namespace temporal {
|
|
|
33663
34874
|
identity?: (string | null);
|
|
33664
34875
|
/** Reason indicates the reason to stop a operation */
|
|
33665
34876
|
reason?: (string | null);
|
|
34877
|
+
/** Query is the visibility query that defines the group of workflow to apply the batch operation */
|
|
34878
|
+
query?: (string | null);
|
|
34879
|
+
/** Executions is the list of workflow OR standalone activity executions to apply the batch operation */
|
|
34880
|
+
executions?: (temporal.api.common.v1.IExecution[] | null);
|
|
33666
34881
|
}
|
|
33667
34882
|
/** Represents a DescribeBatchOperationResponse. */
|
|
33668
34883
|
class DescribeBatchOperationResponse implements IDescribeBatchOperationResponse {
|
|
@@ -33691,6 +34906,10 @@ declare namespace temporal {
|
|
|
33691
34906
|
public identity: string;
|
|
33692
34907
|
/** Reason indicates the reason to stop a operation */
|
|
33693
34908
|
public reason: string;
|
|
34909
|
+
/** Query is the visibility query that defines the group of workflow to apply the batch operation */
|
|
34910
|
+
public query: string;
|
|
34911
|
+
/** Executions is the list of workflow OR standalone activity executions to apply the batch operation */
|
|
34912
|
+
public executions: temporal.api.common.v1.IExecution[];
|
|
33694
34913
|
/**
|
|
33695
34914
|
* Creates a new DescribeBatchOperationResponse instance using the specified properties.
|
|
33696
34915
|
* @param [properties] Properties to set
|
|
@@ -34323,6 +35542,16 @@ declare namespace temporal {
|
|
|
34323
35542
|
* according to the weights.
|
|
34324
35543
|
*/
|
|
34325
35544
|
pollerGroupInfos?: (temporal.api.taskqueue.v1.IPollerGroupInfo[] | null);
|
|
35545
|
+
/**
|
|
35546
|
+
* The weighted, versioned list of poller groups IDs that client should use for future polls to
|
|
35547
|
+
* this task queue. Client should ignore this if it has already applied a snapshot with a
|
|
35548
|
+
* version greater than or equal to `poller_groups_info.version`. Client is expected to:
|
|
35549
|
+
* 1. Maintain minimum number of pollers no less than the number of groups.
|
|
35550
|
+
* 2. Try to assign the next poll to a group without any pending polls,
|
|
35551
|
+
* 3. If every group has some pending polls, assign the next poll to a group randomly
|
|
35552
|
+
* according to the weights.
|
|
35553
|
+
*/
|
|
35554
|
+
pollerGroupsInfo?: (temporal.api.taskqueue.v1.IPollerGroupsInfo | null);
|
|
34326
35555
|
}
|
|
34327
35556
|
/** Represents a PollNexusTaskQueueResponse. */
|
|
34328
35557
|
class PollNexusTaskQueueResponse implements IPollNexusTaskQueueResponse {
|
|
@@ -34353,6 +35582,16 @@ declare namespace temporal {
|
|
|
34353
35582
|
* according to the weights.
|
|
34354
35583
|
*/
|
|
34355
35584
|
public pollerGroupInfos: temporal.api.taskqueue.v1.IPollerGroupInfo[];
|
|
35585
|
+
/**
|
|
35586
|
+
* The weighted, versioned list of poller groups IDs that client should use for future polls to
|
|
35587
|
+
* this task queue. Client should ignore this if it has already applied a snapshot with a
|
|
35588
|
+
* version greater than or equal to `poller_groups_info.version`. Client is expected to:
|
|
35589
|
+
* 1. Maintain minimum number of pollers no less than the number of groups.
|
|
35590
|
+
* 2. Try to assign the next poll to a group without any pending polls,
|
|
35591
|
+
* 3. If every group has some pending polls, assign the next poll to a group randomly
|
|
35592
|
+
* according to the weights.
|
|
35593
|
+
*/
|
|
35594
|
+
public pollerGroupsInfo?: (temporal.api.taskqueue.v1.IPollerGroupsInfo | null);
|
|
34356
35595
|
/**
|
|
34357
35596
|
* Creates a new PollNexusTaskQueueResponse instance using the specified properties.
|
|
34358
35597
|
* @param [properties] Properties to set
|
|
@@ -35324,7 +36563,7 @@ declare namespace temporal {
|
|
|
35324
36563
|
workflowId?: (string | null);
|
|
35325
36564
|
/** The ID of the activity to target. */
|
|
35326
36565
|
activityId?: (string | null);
|
|
35327
|
-
/** Run ID of the workflow or standalone activity. */
|
|
36566
|
+
/** Run ID of the workflow or standalone activity. If empty, targets the latest run. */
|
|
35328
36567
|
runId?: (string | null);
|
|
35329
36568
|
/** The identity of the client who initiated this request */
|
|
35330
36569
|
identity?: (string | null);
|
|
@@ -35342,6 +36581,8 @@ declare namespace temporal {
|
|
|
35342
36581
|
restoreOriginal?: (boolean | null);
|
|
35343
36582
|
/** Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. */
|
|
35344
36583
|
resourceId?: (string | null);
|
|
36584
|
+
/** Used to de-dupe update requests. */
|
|
36585
|
+
requestId?: (string | null);
|
|
35345
36586
|
}
|
|
35346
36587
|
/** Represents an UpdateActivityExecutionOptionsRequest. */
|
|
35347
36588
|
class UpdateActivityExecutionOptionsRequest implements IUpdateActivityExecutionOptionsRequest {
|
|
@@ -35359,7 +36600,7 @@ declare namespace temporal {
|
|
|
35359
36600
|
public workflowId: string;
|
|
35360
36601
|
/** The ID of the activity to target. */
|
|
35361
36602
|
public activityId: string;
|
|
35362
|
-
/** Run ID of the workflow or standalone activity. */
|
|
36603
|
+
/** Run ID of the workflow or standalone activity. If empty, targets the latest run. */
|
|
35363
36604
|
public runId: string;
|
|
35364
36605
|
/** The identity of the client who initiated this request */
|
|
35365
36606
|
public identity: string;
|
|
@@ -35377,6 +36618,8 @@ declare namespace temporal {
|
|
|
35377
36618
|
public restoreOriginal: boolean;
|
|
35378
36619
|
/** Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. */
|
|
35379
36620
|
public resourceId: string;
|
|
36621
|
+
/** Used to de-dupe update requests. */
|
|
36622
|
+
public requestId: string;
|
|
35380
36623
|
/**
|
|
35381
36624
|
* Creates a new UpdateActivityExecutionOptionsRequest instance using the specified properties.
|
|
35382
36625
|
* @param [properties] Properties to set
|
|
@@ -35734,7 +36977,7 @@ declare namespace temporal {
|
|
|
35734
36977
|
workflowId?: (string | null);
|
|
35735
36978
|
/** The ID of the activity to target. */
|
|
35736
36979
|
activityId?: (string | null);
|
|
35737
|
-
/** Run ID of the workflow or standalone activity. */
|
|
36980
|
+
/** Run ID of the workflow or standalone activity. If empty, targets the latest run. */
|
|
35738
36981
|
runId?: (string | null);
|
|
35739
36982
|
/** The identity of the client who initiated this request. */
|
|
35740
36983
|
identity?: (string | null);
|
|
@@ -35761,7 +37004,7 @@ declare namespace temporal {
|
|
|
35761
37004
|
public workflowId: string;
|
|
35762
37005
|
/** The ID of the activity to target. */
|
|
35763
37006
|
public activityId: string;
|
|
35764
|
-
/** Run ID of the workflow or standalone activity. */
|
|
37007
|
+
/** Run ID of the workflow or standalone activity. If empty, targets the latest run. */
|
|
35765
37008
|
public runId: string;
|
|
35766
37009
|
/** The identity of the client who initiated this request. */
|
|
35767
37010
|
public identity: string;
|
|
@@ -36120,20 +37363,18 @@ declare namespace temporal {
|
|
|
36120
37363
|
workflowId?: (string | null);
|
|
36121
37364
|
/** The ID of the activity to target. */
|
|
36122
37365
|
activityId?: (string | null);
|
|
36123
|
-
/** Run ID of the workflow or standalone activity. */
|
|
37366
|
+
/** Run ID of the workflow or standalone activity. If empty, targets the latest run. */
|
|
36124
37367
|
runId?: (string | null);
|
|
36125
37368
|
/** The identity of the client who initiated this request. */
|
|
36126
37369
|
identity?: (string | null);
|
|
36127
|
-
/** Providing this flag will also reset the number of attempts. */
|
|
36128
|
-
resetAttempts?: (boolean | null);
|
|
36129
|
-
/** Providing this flag will also reset the heartbeat details. */
|
|
36130
|
-
resetHeartbeat?: (boolean | null);
|
|
36131
37370
|
/** Reason to unpause the activity. */
|
|
36132
37371
|
reason?: (string | null);
|
|
36133
37372
|
/** If set, the activity will start at a random time within the specified jitter duration. */
|
|
36134
37373
|
jitter?: (google.protobuf.IDuration | null);
|
|
36135
37374
|
/** Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. */
|
|
36136
37375
|
resourceId?: (string | null);
|
|
37376
|
+
/** Used to de-dupe unpause requests. */
|
|
37377
|
+
requestId?: (string | null);
|
|
36137
37378
|
}
|
|
36138
37379
|
/** Represents an UnpauseActivityExecutionRequest. */
|
|
36139
37380
|
class UnpauseActivityExecutionRequest implements IUnpauseActivityExecutionRequest {
|
|
@@ -36151,20 +37392,18 @@ declare namespace temporal {
|
|
|
36151
37392
|
public workflowId: string;
|
|
36152
37393
|
/** The ID of the activity to target. */
|
|
36153
37394
|
public activityId: string;
|
|
36154
|
-
/** Run ID of the workflow or standalone activity. */
|
|
37395
|
+
/** Run ID of the workflow or standalone activity. If empty, targets the latest run. */
|
|
36155
37396
|
public runId: string;
|
|
36156
37397
|
/** The identity of the client who initiated this request. */
|
|
36157
37398
|
public identity: string;
|
|
36158
|
-
/** Providing this flag will also reset the number of attempts. */
|
|
36159
|
-
public resetAttempts: boolean;
|
|
36160
|
-
/** Providing this flag will also reset the heartbeat details. */
|
|
36161
|
-
public resetHeartbeat: boolean;
|
|
36162
37399
|
/** Reason to unpause the activity. */
|
|
36163
37400
|
public reason: string;
|
|
36164
37401
|
/** If set, the activity will start at a random time within the specified jitter duration. */
|
|
36165
37402
|
public jitter?: (google.protobuf.IDuration | null);
|
|
36166
37403
|
/** Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. */
|
|
36167
37404
|
public resourceId: string;
|
|
37405
|
+
/** Used to de-dupe unpause requests. */
|
|
37406
|
+
public requestId: string;
|
|
36168
37407
|
/**
|
|
36169
37408
|
* Creates a new UnpauseActivityExecutionRequest instance using the specified properties.
|
|
36170
37409
|
* @param [properties] Properties to set
|
|
@@ -36541,15 +37780,10 @@ declare namespace temporal {
|
|
|
36541
37780
|
workflowId?: (string | null);
|
|
36542
37781
|
/** The ID of the activity to target. */
|
|
36543
37782
|
activityId?: (string | null);
|
|
36544
|
-
/** Run ID of the workflow or standalone activity. */
|
|
37783
|
+
/** Run ID of the workflow or standalone activity. If empty, targets the latest run. */
|
|
36545
37784
|
runId?: (string | null);
|
|
36546
37785
|
/** The identity of the client who initiated this request. */
|
|
36547
37786
|
identity?: (string | null);
|
|
36548
|
-
/**
|
|
36549
|
-
* Indicates that activity should reset heartbeat details.
|
|
36550
|
-
* This flag will be applied only to the new instance of the activity.
|
|
36551
|
-
*/
|
|
36552
|
-
resetHeartbeat?: (boolean | null);
|
|
36553
37787
|
/** If activity is paused, it will remain paused after reset */
|
|
36554
37788
|
keepPaused?: (boolean | null);
|
|
36555
37789
|
/**
|
|
@@ -36565,6 +37799,8 @@ declare namespace temporal {
|
|
|
36565
37799
|
restoreOriginalOptions?: (boolean | null);
|
|
36566
37800
|
/** Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. */
|
|
36567
37801
|
resourceId?: (string | null);
|
|
37802
|
+
/** Used to de-dupe reset requests. */
|
|
37803
|
+
requestId?: (string | null);
|
|
36568
37804
|
}
|
|
36569
37805
|
/** Represents a ResetActivityExecutionRequest. */
|
|
36570
37806
|
class ResetActivityExecutionRequest implements IResetActivityExecutionRequest {
|
|
@@ -36582,15 +37818,10 @@ declare namespace temporal {
|
|
|
36582
37818
|
public workflowId: string;
|
|
36583
37819
|
/** The ID of the activity to target. */
|
|
36584
37820
|
public activityId: string;
|
|
36585
|
-
/** Run ID of the workflow or standalone activity. */
|
|
37821
|
+
/** Run ID of the workflow or standalone activity. If empty, targets the latest run. */
|
|
36586
37822
|
public runId: string;
|
|
36587
37823
|
/** The identity of the client who initiated this request. */
|
|
36588
37824
|
public identity: string;
|
|
36589
|
-
/**
|
|
36590
|
-
* Indicates that activity should reset heartbeat details.
|
|
36591
|
-
* This flag will be applied only to the new instance of the activity.
|
|
36592
|
-
*/
|
|
36593
|
-
public resetHeartbeat: boolean;
|
|
36594
37825
|
/** If activity is paused, it will remain paused after reset */
|
|
36595
37826
|
public keepPaused: boolean;
|
|
36596
37827
|
/**
|
|
@@ -36606,6 +37837,8 @@ declare namespace temporal {
|
|
|
36606
37837
|
public restoreOriginalOptions: boolean;
|
|
36607
37838
|
/** Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. */
|
|
36608
37839
|
public resourceId: string;
|
|
37840
|
+
/** Used to de-dupe reset requests. */
|
|
37841
|
+
public requestId: string;
|
|
36609
37842
|
/**
|
|
36610
37843
|
* Creates a new ResetActivityExecutionRequest instance using the specified properties.
|
|
36611
37844
|
* @param [properties] Properties to set
|
|
@@ -36948,6 +38181,14 @@ declare namespace temporal {
|
|
|
36948
38181
|
interface IUpdateWorkflowExecutionOptionsResponse {
|
|
36949
38182
|
/** Workflow Execution options after update. */
|
|
36950
38183
|
workflowExecutionOptions?: (temporal.api.workflow.v1.IWorkflowExecutionOptions | null);
|
|
38184
|
+
/**
|
|
38185
|
+
* The Workflow Execution time when the options were updated. When time skipping is
|
|
38186
|
+
* enabled, this is the workflow's virtual time rather than wall-clock time.
|
|
38187
|
+
*
|
|
38188
|
+
* This timestamp cannot be used for time-skipping fast-forward verification,
|
|
38189
|
+
* use `fast_forward_id` in `PollWorkflowExecutionTimeSkippingRequest` instead.
|
|
38190
|
+
*/
|
|
38191
|
+
updateTime?: (google.protobuf.ITimestamp | null);
|
|
36951
38192
|
}
|
|
36952
38193
|
/** Represents an UpdateWorkflowExecutionOptionsResponse. */
|
|
36953
38194
|
class UpdateWorkflowExecutionOptionsResponse implements IUpdateWorkflowExecutionOptionsResponse {
|
|
@@ -36958,6 +38199,14 @@ declare namespace temporal {
|
|
|
36958
38199
|
constructor(properties?: temporal.api.workflowservice.v1.IUpdateWorkflowExecutionOptionsResponse);
|
|
36959
38200
|
/** Workflow Execution options after update. */
|
|
36960
38201
|
public workflowExecutionOptions?: (temporal.api.workflow.v1.IWorkflowExecutionOptions | null);
|
|
38202
|
+
/**
|
|
38203
|
+
* The Workflow Execution time when the options were updated. When time skipping is
|
|
38204
|
+
* enabled, this is the workflow's virtual time rather than wall-clock time.
|
|
38205
|
+
*
|
|
38206
|
+
* This timestamp cannot be used for time-skipping fast-forward verification,
|
|
38207
|
+
* use `fast_forward_id` in `PollWorkflowExecutionTimeSkippingRequest` instead.
|
|
38208
|
+
*/
|
|
38209
|
+
public updateTime?: (google.protobuf.ITimestamp | null);
|
|
36961
38210
|
/**
|
|
36962
38211
|
* Creates a new UpdateWorkflowExecutionOptionsResponse instance using the specified properties.
|
|
36963
38212
|
* @param [properties] Properties to set
|
|
@@ -42919,6 +44168,190 @@ declare namespace temporal {
|
|
|
42919
44168
|
*/
|
|
42920
44169
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
42921
44170
|
}
|
|
44171
|
+
/** Properties of a CountWorkersRequest. */
|
|
44172
|
+
interface ICountWorkersRequest {
|
|
44173
|
+
/** CountWorkersRequest namespace */
|
|
44174
|
+
namespace?: (string | null);
|
|
44175
|
+
/**
|
|
44176
|
+
* Query to filter workers before counting.
|
|
44177
|
+
* Supported filter fields are the same as in ListWorkersRequest.
|
|
44178
|
+
*/
|
|
44179
|
+
query?: (string | null);
|
|
44180
|
+
/**
|
|
44181
|
+
* When true, the count will include system workers that are created implicitly
|
|
44182
|
+
* by the server and not by the user. By default, system workers are excluded.
|
|
44183
|
+
*/
|
|
44184
|
+
includeSystemWorkers?: (boolean | null);
|
|
44185
|
+
}
|
|
44186
|
+
/** Represents a CountWorkersRequest. */
|
|
44187
|
+
class CountWorkersRequest implements ICountWorkersRequest {
|
|
44188
|
+
/**
|
|
44189
|
+
* Constructs a new CountWorkersRequest.
|
|
44190
|
+
* @param [properties] Properties to set
|
|
44191
|
+
*/
|
|
44192
|
+
constructor(properties?: temporal.api.workflowservice.v1.ICountWorkersRequest);
|
|
44193
|
+
/** CountWorkersRequest namespace. */
|
|
44194
|
+
public namespace: string;
|
|
44195
|
+
/**
|
|
44196
|
+
* Query to filter workers before counting.
|
|
44197
|
+
* Supported filter fields are the same as in ListWorkersRequest.
|
|
44198
|
+
*/
|
|
44199
|
+
public query: string;
|
|
44200
|
+
/**
|
|
44201
|
+
* When true, the count will include system workers that are created implicitly
|
|
44202
|
+
* by the server and not by the user. By default, system workers are excluded.
|
|
44203
|
+
*/
|
|
44204
|
+
public includeSystemWorkers: boolean;
|
|
44205
|
+
/**
|
|
44206
|
+
* Creates a new CountWorkersRequest instance using the specified properties.
|
|
44207
|
+
* @param [properties] Properties to set
|
|
44208
|
+
* @returns CountWorkersRequest instance
|
|
44209
|
+
*/
|
|
44210
|
+
public static create(properties?: temporal.api.workflowservice.v1.ICountWorkersRequest): temporal.api.workflowservice.v1.CountWorkersRequest;
|
|
44211
|
+
/**
|
|
44212
|
+
* Encodes the specified CountWorkersRequest message. Does not implicitly {@link temporal.api.workflowservice.v1.CountWorkersRequest.verify|verify} messages.
|
|
44213
|
+
* @param message CountWorkersRequest message or plain object to encode
|
|
44214
|
+
* @param [writer] Writer to encode to
|
|
44215
|
+
* @returns Writer
|
|
44216
|
+
*/
|
|
44217
|
+
public static encode(message: temporal.api.workflowservice.v1.ICountWorkersRequest, writer?: Writer): Writer;
|
|
44218
|
+
/**
|
|
44219
|
+
* Encodes the specified CountWorkersRequest message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.CountWorkersRequest.verify|verify} messages.
|
|
44220
|
+
* @param message CountWorkersRequest message or plain object to encode
|
|
44221
|
+
* @param [writer] Writer to encode to
|
|
44222
|
+
* @returns Writer
|
|
44223
|
+
*/
|
|
44224
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.ICountWorkersRequest, writer?: Writer): Writer;
|
|
44225
|
+
/**
|
|
44226
|
+
* Decodes a CountWorkersRequest message from the specified reader or buffer.
|
|
44227
|
+
* @param reader Reader or buffer to decode from
|
|
44228
|
+
* @param [length] Message length if known beforehand
|
|
44229
|
+
* @returns CountWorkersRequest
|
|
44230
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44231
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44232
|
+
*/
|
|
44233
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.workflowservice.v1.CountWorkersRequest;
|
|
44234
|
+
/**
|
|
44235
|
+
* Decodes a CountWorkersRequest message from the specified reader or buffer, length delimited.
|
|
44236
|
+
* @param reader Reader or buffer to decode from
|
|
44237
|
+
* @returns CountWorkersRequest
|
|
44238
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44239
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44240
|
+
*/
|
|
44241
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.workflowservice.v1.CountWorkersRequest;
|
|
44242
|
+
/**
|
|
44243
|
+
* Creates a CountWorkersRequest message from a plain object. Also converts values to their respective internal types.
|
|
44244
|
+
* @param object Plain object
|
|
44245
|
+
* @returns CountWorkersRequest
|
|
44246
|
+
*/
|
|
44247
|
+
public static fromObject(object: {
|
|
44248
|
+
[k: string]: any;
|
|
44249
|
+
}): temporal.api.workflowservice.v1.CountWorkersRequest;
|
|
44250
|
+
/**
|
|
44251
|
+
* Creates a plain object from a CountWorkersRequest message. Also converts values to other types if specified.
|
|
44252
|
+
* @param message CountWorkersRequest
|
|
44253
|
+
* @param [options] Conversion options
|
|
44254
|
+
* @returns Plain object
|
|
44255
|
+
*/
|
|
44256
|
+
public static toObject(message: temporal.api.workflowservice.v1.CountWorkersRequest, options?: IConversionOptions): {
|
|
44257
|
+
[k: string]: any;
|
|
44258
|
+
};
|
|
44259
|
+
/**
|
|
44260
|
+
* Converts this CountWorkersRequest to JSON.
|
|
44261
|
+
* @returns JSON object
|
|
44262
|
+
*/
|
|
44263
|
+
public toJSON(): {
|
|
44264
|
+
[k: string]: any;
|
|
44265
|
+
};
|
|
44266
|
+
/**
|
|
44267
|
+
* Gets the default type url for CountWorkersRequest
|
|
44268
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
44269
|
+
* @returns The default type url
|
|
44270
|
+
*/
|
|
44271
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
44272
|
+
}
|
|
44273
|
+
/** Properties of a CountWorkersResponse. */
|
|
44274
|
+
interface ICountWorkersResponse {
|
|
44275
|
+
/** Number of workers matching the query. */
|
|
44276
|
+
count?: (Long | null);
|
|
44277
|
+
}
|
|
44278
|
+
/** Represents a CountWorkersResponse. */
|
|
44279
|
+
class CountWorkersResponse implements ICountWorkersResponse {
|
|
44280
|
+
/**
|
|
44281
|
+
* Constructs a new CountWorkersResponse.
|
|
44282
|
+
* @param [properties] Properties to set
|
|
44283
|
+
*/
|
|
44284
|
+
constructor(properties?: temporal.api.workflowservice.v1.ICountWorkersResponse);
|
|
44285
|
+
/** Number of workers matching the query. */
|
|
44286
|
+
public count: Long;
|
|
44287
|
+
/**
|
|
44288
|
+
* Creates a new CountWorkersResponse instance using the specified properties.
|
|
44289
|
+
* @param [properties] Properties to set
|
|
44290
|
+
* @returns CountWorkersResponse instance
|
|
44291
|
+
*/
|
|
44292
|
+
public static create(properties?: temporal.api.workflowservice.v1.ICountWorkersResponse): temporal.api.workflowservice.v1.CountWorkersResponse;
|
|
44293
|
+
/**
|
|
44294
|
+
* Encodes the specified CountWorkersResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.CountWorkersResponse.verify|verify} messages.
|
|
44295
|
+
* @param message CountWorkersResponse message or plain object to encode
|
|
44296
|
+
* @param [writer] Writer to encode to
|
|
44297
|
+
* @returns Writer
|
|
44298
|
+
*/
|
|
44299
|
+
public static encode(message: temporal.api.workflowservice.v1.ICountWorkersResponse, writer?: Writer): Writer;
|
|
44300
|
+
/**
|
|
44301
|
+
* Encodes the specified CountWorkersResponse message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.CountWorkersResponse.verify|verify} messages.
|
|
44302
|
+
* @param message CountWorkersResponse message or plain object to encode
|
|
44303
|
+
* @param [writer] Writer to encode to
|
|
44304
|
+
* @returns Writer
|
|
44305
|
+
*/
|
|
44306
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.ICountWorkersResponse, writer?: Writer): Writer;
|
|
44307
|
+
/**
|
|
44308
|
+
* Decodes a CountWorkersResponse message from the specified reader or buffer.
|
|
44309
|
+
* @param reader Reader or buffer to decode from
|
|
44310
|
+
* @param [length] Message length if known beforehand
|
|
44311
|
+
* @returns CountWorkersResponse
|
|
44312
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44313
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44314
|
+
*/
|
|
44315
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.workflowservice.v1.CountWorkersResponse;
|
|
44316
|
+
/**
|
|
44317
|
+
* Decodes a CountWorkersResponse message from the specified reader or buffer, length delimited.
|
|
44318
|
+
* @param reader Reader or buffer to decode from
|
|
44319
|
+
* @returns CountWorkersResponse
|
|
44320
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44321
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44322
|
+
*/
|
|
44323
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.workflowservice.v1.CountWorkersResponse;
|
|
44324
|
+
/**
|
|
44325
|
+
* Creates a CountWorkersResponse message from a plain object. Also converts values to their respective internal types.
|
|
44326
|
+
* @param object Plain object
|
|
44327
|
+
* @returns CountWorkersResponse
|
|
44328
|
+
*/
|
|
44329
|
+
public static fromObject(object: {
|
|
44330
|
+
[k: string]: any;
|
|
44331
|
+
}): temporal.api.workflowservice.v1.CountWorkersResponse;
|
|
44332
|
+
/**
|
|
44333
|
+
* Creates a plain object from a CountWorkersResponse message. Also converts values to other types if specified.
|
|
44334
|
+
* @param message CountWorkersResponse
|
|
44335
|
+
* @param [options] Conversion options
|
|
44336
|
+
* @returns Plain object
|
|
44337
|
+
*/
|
|
44338
|
+
public static toObject(message: temporal.api.workflowservice.v1.CountWorkersResponse, options?: IConversionOptions): {
|
|
44339
|
+
[k: string]: any;
|
|
44340
|
+
};
|
|
44341
|
+
/**
|
|
44342
|
+
* Converts this CountWorkersResponse to JSON.
|
|
44343
|
+
* @returns JSON object
|
|
44344
|
+
*/
|
|
44345
|
+
public toJSON(): {
|
|
44346
|
+
[k: string]: any;
|
|
44347
|
+
};
|
|
44348
|
+
/**
|
|
44349
|
+
* Gets the default type url for CountWorkersResponse
|
|
44350
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
44351
|
+
* @returns The default type url
|
|
44352
|
+
*/
|
|
44353
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
44354
|
+
}
|
|
42922
44355
|
/** Properties of a PauseWorkflowExecutionRequest. */
|
|
42923
44356
|
interface IPauseWorkflowExecutionRequest {
|
|
42924
44357
|
/** Namespace of the workflow to pause. */
|
|
@@ -43357,7 +44790,7 @@ declare namespace temporal {
|
|
|
43357
44790
|
links?: (temporal.api.common.v1.ILink[] | null);
|
|
43358
44791
|
/** Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING. */
|
|
43359
44792
|
onConflictOptions?: (temporal.api.common.v1.IOnConflictOptions | null);
|
|
43360
|
-
/** Time to wait before
|
|
44793
|
+
/** Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts. */
|
|
43361
44794
|
startDelay?: (google.protobuf.IDuration | null);
|
|
43362
44795
|
}
|
|
43363
44796
|
/** Represents a StartActivityExecutionRequest. */
|
|
@@ -43445,7 +44878,7 @@ declare namespace temporal {
|
|
|
43445
44878
|
public links: temporal.api.common.v1.ILink[];
|
|
43446
44879
|
/** Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING. */
|
|
43447
44880
|
public onConflictOptions?: (temporal.api.common.v1.IOnConflictOptions | null);
|
|
43448
|
-
/** Time to wait before
|
|
44881
|
+
/** Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts. */
|
|
43449
44882
|
public startDelay?: (google.protobuf.IDuration | null);
|
|
43450
44883
|
/**
|
|
43451
44884
|
* Creates a new StartActivityExecutionRequest instance using the specified properties.
|
|
@@ -45709,7 +47142,7 @@ declare namespace temporal {
|
|
|
45709
47142
|
namespace?: (string | null);
|
|
45710
47143
|
/** RequestCancelActivityExecutionRequest activityId */
|
|
45711
47144
|
activityId?: (string | null);
|
|
45712
|
-
/** Activity run ID, targets the latest run
|
|
47145
|
+
/** Activity run ID. If empty, targets the latest run. */
|
|
45713
47146
|
runId?: (string | null);
|
|
45714
47147
|
/** The identity of the worker/client. */
|
|
45715
47148
|
identity?: (string | null);
|
|
@@ -45732,7 +47165,7 @@ declare namespace temporal {
|
|
|
45732
47165
|
public namespace: string;
|
|
45733
47166
|
/** RequestCancelActivityExecutionRequest activityId. */
|
|
45734
47167
|
public activityId: string;
|
|
45735
|
-
/** Activity run ID, targets the latest run
|
|
47168
|
+
/** Activity run ID. If empty, targets the latest run. */
|
|
45736
47169
|
public runId: string;
|
|
45737
47170
|
/** The identity of the worker/client. */
|
|
45738
47171
|
public identity: string;
|
|
@@ -45894,7 +47327,7 @@ declare namespace temporal {
|
|
|
45894
47327
|
namespace?: (string | null);
|
|
45895
47328
|
/** TerminateActivityExecutionRequest activityId */
|
|
45896
47329
|
activityId?: (string | null);
|
|
45897
|
-
/** Activity run ID, targets the latest run
|
|
47330
|
+
/** Activity run ID. If empty, targets the latest run. */
|
|
45898
47331
|
runId?: (string | null);
|
|
45899
47332
|
/** The identity of the worker/client. */
|
|
45900
47333
|
identity?: (string | null);
|
|
@@ -45914,7 +47347,7 @@ declare namespace temporal {
|
|
|
45914
47347
|
public namespace: string;
|
|
45915
47348
|
/** TerminateActivityExecutionRequest activityId. */
|
|
45916
47349
|
public activityId: string;
|
|
45917
|
-
/** Activity run ID, targets the latest run
|
|
47350
|
+
/** Activity run ID. If empty, targets the latest run. */
|
|
45918
47351
|
public runId: string;
|
|
45919
47352
|
/** The identity of the worker/client. */
|
|
45920
47353
|
public identity: string;
|
|
@@ -46759,6 +48192,203 @@ declare namespace temporal {
|
|
|
46759
48192
|
*/
|
|
46760
48193
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
46761
48194
|
}
|
|
48195
|
+
/** Properties of a PollWorkflowExecutionTimeSkippingRequest. */
|
|
48196
|
+
interface IPollWorkflowExecutionTimeSkippingRequest {
|
|
48197
|
+
/** PollWorkflowExecutionTimeSkippingRequest namespace */
|
|
48198
|
+
namespace?: (string | null);
|
|
48199
|
+
/** PollWorkflowExecutionTimeSkippingRequest workflowExecution */
|
|
48200
|
+
workflowExecution?: (temporal.api.common.v1.IWorkflowExecution | null);
|
|
48201
|
+
/**
|
|
48202
|
+
* Required. Identifies the fast-forward whose completion the caller wants to wait for.
|
|
48203
|
+
* Must match the `fast_forward_id` set in the execution's TimeSkippingConfig.
|
|
48204
|
+
*/
|
|
48205
|
+
fastForwardId?: (string | null);
|
|
48206
|
+
}
|
|
48207
|
+
/**
|
|
48208
|
+
* A long-poll request that blocks according to a time-skipping waiting policy on the workflow
|
|
48209
|
+
* execution. Currently the only supported policy is waiting for completion of the fast-forward
|
|
48210
|
+
* identified by `fast_forward_id`; the poll also returns once anything else settles that outcome
|
|
48211
|
+
* (e.g. the execution ends or time skipping is disabled).
|
|
48212
|
+
*/
|
|
48213
|
+
class PollWorkflowExecutionTimeSkippingRequest implements IPollWorkflowExecutionTimeSkippingRequest {
|
|
48214
|
+
/**
|
|
48215
|
+
* Constructs a new PollWorkflowExecutionTimeSkippingRequest.
|
|
48216
|
+
* @param [properties] Properties to set
|
|
48217
|
+
*/
|
|
48218
|
+
constructor(properties?: temporal.api.workflowservice.v1.IPollWorkflowExecutionTimeSkippingRequest);
|
|
48219
|
+
/** PollWorkflowExecutionTimeSkippingRequest namespace. */
|
|
48220
|
+
public namespace: string;
|
|
48221
|
+
/** PollWorkflowExecutionTimeSkippingRequest workflowExecution. */
|
|
48222
|
+
public workflowExecution?: (temporal.api.common.v1.IWorkflowExecution | null);
|
|
48223
|
+
/**
|
|
48224
|
+
* Required. Identifies the fast-forward whose completion the caller wants to wait for.
|
|
48225
|
+
* Must match the `fast_forward_id` set in the execution's TimeSkippingConfig.
|
|
48226
|
+
*/
|
|
48227
|
+
public fastForwardId: string;
|
|
48228
|
+
/**
|
|
48229
|
+
* Creates a new PollWorkflowExecutionTimeSkippingRequest instance using the specified properties.
|
|
48230
|
+
* @param [properties] Properties to set
|
|
48231
|
+
* @returns PollWorkflowExecutionTimeSkippingRequest instance
|
|
48232
|
+
*/
|
|
48233
|
+
public static create(properties?: temporal.api.workflowservice.v1.IPollWorkflowExecutionTimeSkippingRequest): temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingRequest;
|
|
48234
|
+
/**
|
|
48235
|
+
* Encodes the specified PollWorkflowExecutionTimeSkippingRequest message. Does not implicitly {@link temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingRequest.verify|verify} messages.
|
|
48236
|
+
* @param message PollWorkflowExecutionTimeSkippingRequest message or plain object to encode
|
|
48237
|
+
* @param [writer] Writer to encode to
|
|
48238
|
+
* @returns Writer
|
|
48239
|
+
*/
|
|
48240
|
+
public static encode(message: temporal.api.workflowservice.v1.IPollWorkflowExecutionTimeSkippingRequest, writer?: Writer): Writer;
|
|
48241
|
+
/**
|
|
48242
|
+
* Encodes the specified PollWorkflowExecutionTimeSkippingRequest message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingRequest.verify|verify} messages.
|
|
48243
|
+
* @param message PollWorkflowExecutionTimeSkippingRequest message or plain object to encode
|
|
48244
|
+
* @param [writer] Writer to encode to
|
|
48245
|
+
* @returns Writer
|
|
48246
|
+
*/
|
|
48247
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.IPollWorkflowExecutionTimeSkippingRequest, writer?: Writer): Writer;
|
|
48248
|
+
/**
|
|
48249
|
+
* Decodes a PollWorkflowExecutionTimeSkippingRequest message from the specified reader or buffer.
|
|
48250
|
+
* @param reader Reader or buffer to decode from
|
|
48251
|
+
* @param [length] Message length if known beforehand
|
|
48252
|
+
* @returns PollWorkflowExecutionTimeSkippingRequest
|
|
48253
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48254
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48255
|
+
*/
|
|
48256
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingRequest;
|
|
48257
|
+
/**
|
|
48258
|
+
* Decodes a PollWorkflowExecutionTimeSkippingRequest message from the specified reader or buffer, length delimited.
|
|
48259
|
+
* @param reader Reader or buffer to decode from
|
|
48260
|
+
* @returns PollWorkflowExecutionTimeSkippingRequest
|
|
48261
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48262
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48263
|
+
*/
|
|
48264
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingRequest;
|
|
48265
|
+
/**
|
|
48266
|
+
* Creates a PollWorkflowExecutionTimeSkippingRequest message from a plain object. Also converts values to their respective internal types.
|
|
48267
|
+
* @param object Plain object
|
|
48268
|
+
* @returns PollWorkflowExecutionTimeSkippingRequest
|
|
48269
|
+
*/
|
|
48270
|
+
public static fromObject(object: {
|
|
48271
|
+
[k: string]: any;
|
|
48272
|
+
}): temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingRequest;
|
|
48273
|
+
/**
|
|
48274
|
+
* Creates a plain object from a PollWorkflowExecutionTimeSkippingRequest message. Also converts values to other types if specified.
|
|
48275
|
+
* @param message PollWorkflowExecutionTimeSkippingRequest
|
|
48276
|
+
* @param [options] Conversion options
|
|
48277
|
+
* @returns Plain object
|
|
48278
|
+
*/
|
|
48279
|
+
public static toObject(message: temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingRequest, options?: IConversionOptions): {
|
|
48280
|
+
[k: string]: any;
|
|
48281
|
+
};
|
|
48282
|
+
/**
|
|
48283
|
+
* Converts this PollWorkflowExecutionTimeSkippingRequest to JSON.
|
|
48284
|
+
* @returns JSON object
|
|
48285
|
+
*/
|
|
48286
|
+
public toJSON(): {
|
|
48287
|
+
[k: string]: any;
|
|
48288
|
+
};
|
|
48289
|
+
/**
|
|
48290
|
+
* Gets the default type url for PollWorkflowExecutionTimeSkippingRequest
|
|
48291
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
48292
|
+
* @returns The default type url
|
|
48293
|
+
*/
|
|
48294
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
48295
|
+
}
|
|
48296
|
+
/** Properties of a PollWorkflowExecutionTimeSkippingResponse. */
|
|
48297
|
+
interface IPollWorkflowExecutionTimeSkippingResponse {
|
|
48298
|
+
/** The outcome of the poll for the fast-forward identified by the request's `fast_forward_id`. */
|
|
48299
|
+
fastForwardPollingResult?: (temporal.api.enums.v1.FastForwardPollingResult | null);
|
|
48300
|
+
/**
|
|
48301
|
+
* Set only when the result is FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED; explains why
|
|
48302
|
+
* the fast-forward can no longer complete.
|
|
48303
|
+
*/
|
|
48304
|
+
failedReason?: (string | null);
|
|
48305
|
+
/** The execution's current fast-forward, if any. */
|
|
48306
|
+
fastForwardInfo?: (temporal.api.common.v1.ITimeSkippingFastForwardInfo | null);
|
|
48307
|
+
}
|
|
48308
|
+
/** Represents a PollWorkflowExecutionTimeSkippingResponse. */
|
|
48309
|
+
class PollWorkflowExecutionTimeSkippingResponse implements IPollWorkflowExecutionTimeSkippingResponse {
|
|
48310
|
+
/**
|
|
48311
|
+
* Constructs a new PollWorkflowExecutionTimeSkippingResponse.
|
|
48312
|
+
* @param [properties] Properties to set
|
|
48313
|
+
*/
|
|
48314
|
+
constructor(properties?: temporal.api.workflowservice.v1.IPollWorkflowExecutionTimeSkippingResponse);
|
|
48315
|
+
/** The outcome of the poll for the fast-forward identified by the request's `fast_forward_id`. */
|
|
48316
|
+
public fastForwardPollingResult: temporal.api.enums.v1.FastForwardPollingResult;
|
|
48317
|
+
/**
|
|
48318
|
+
* Set only when the result is FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED; explains why
|
|
48319
|
+
* the fast-forward can no longer complete.
|
|
48320
|
+
*/
|
|
48321
|
+
public failedReason: string;
|
|
48322
|
+
/** The execution's current fast-forward, if any. */
|
|
48323
|
+
public fastForwardInfo?: (temporal.api.common.v1.ITimeSkippingFastForwardInfo | null);
|
|
48324
|
+
/**
|
|
48325
|
+
* Creates a new PollWorkflowExecutionTimeSkippingResponse instance using the specified properties.
|
|
48326
|
+
* @param [properties] Properties to set
|
|
48327
|
+
* @returns PollWorkflowExecutionTimeSkippingResponse instance
|
|
48328
|
+
*/
|
|
48329
|
+
public static create(properties?: temporal.api.workflowservice.v1.IPollWorkflowExecutionTimeSkippingResponse): temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingResponse;
|
|
48330
|
+
/**
|
|
48331
|
+
* Encodes the specified PollWorkflowExecutionTimeSkippingResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingResponse.verify|verify} messages.
|
|
48332
|
+
* @param message PollWorkflowExecutionTimeSkippingResponse message or plain object to encode
|
|
48333
|
+
* @param [writer] Writer to encode to
|
|
48334
|
+
* @returns Writer
|
|
48335
|
+
*/
|
|
48336
|
+
public static encode(message: temporal.api.workflowservice.v1.IPollWorkflowExecutionTimeSkippingResponse, writer?: Writer): Writer;
|
|
48337
|
+
/**
|
|
48338
|
+
* Encodes the specified PollWorkflowExecutionTimeSkippingResponse message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingResponse.verify|verify} messages.
|
|
48339
|
+
* @param message PollWorkflowExecutionTimeSkippingResponse message or plain object to encode
|
|
48340
|
+
* @param [writer] Writer to encode to
|
|
48341
|
+
* @returns Writer
|
|
48342
|
+
*/
|
|
48343
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.IPollWorkflowExecutionTimeSkippingResponse, writer?: Writer): Writer;
|
|
48344
|
+
/**
|
|
48345
|
+
* Decodes a PollWorkflowExecutionTimeSkippingResponse message from the specified reader or buffer.
|
|
48346
|
+
* @param reader Reader or buffer to decode from
|
|
48347
|
+
* @param [length] Message length if known beforehand
|
|
48348
|
+
* @returns PollWorkflowExecutionTimeSkippingResponse
|
|
48349
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48350
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48351
|
+
*/
|
|
48352
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingResponse;
|
|
48353
|
+
/**
|
|
48354
|
+
* Decodes a PollWorkflowExecutionTimeSkippingResponse message from the specified reader or buffer, length delimited.
|
|
48355
|
+
* @param reader Reader or buffer to decode from
|
|
48356
|
+
* @returns PollWorkflowExecutionTimeSkippingResponse
|
|
48357
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48358
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48359
|
+
*/
|
|
48360
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingResponse;
|
|
48361
|
+
/**
|
|
48362
|
+
* Creates a PollWorkflowExecutionTimeSkippingResponse message from a plain object. Also converts values to their respective internal types.
|
|
48363
|
+
* @param object Plain object
|
|
48364
|
+
* @returns PollWorkflowExecutionTimeSkippingResponse
|
|
48365
|
+
*/
|
|
48366
|
+
public static fromObject(object: {
|
|
48367
|
+
[k: string]: any;
|
|
48368
|
+
}): temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingResponse;
|
|
48369
|
+
/**
|
|
48370
|
+
* Creates a plain object from a PollWorkflowExecutionTimeSkippingResponse message. Also converts values to other types if specified.
|
|
48371
|
+
* @param message PollWorkflowExecutionTimeSkippingResponse
|
|
48372
|
+
* @param [options] Conversion options
|
|
48373
|
+
* @returns Plain object
|
|
48374
|
+
*/
|
|
48375
|
+
public static toObject(message: temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingResponse, options?: IConversionOptions): {
|
|
48376
|
+
[k: string]: any;
|
|
48377
|
+
};
|
|
48378
|
+
/**
|
|
48379
|
+
* Converts this PollWorkflowExecutionTimeSkippingResponse to JSON.
|
|
48380
|
+
* @returns JSON object
|
|
48381
|
+
*/
|
|
48382
|
+
public toJSON(): {
|
|
48383
|
+
[k: string]: any;
|
|
48384
|
+
};
|
|
48385
|
+
/**
|
|
48386
|
+
* Gets the default type url for PollWorkflowExecutionTimeSkippingResponse
|
|
48387
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
48388
|
+
* @returns The default type url
|
|
48389
|
+
*/
|
|
48390
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
48391
|
+
}
|
|
46762
48392
|
/**
|
|
46763
48393
|
* WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server
|
|
46764
48394
|
* to create and interact with workflows and activities.
|
|
@@ -48654,6 +50284,18 @@ declare namespace temporal {
|
|
|
48654
50284
|
* @returns Promise
|
|
48655
50285
|
*/
|
|
48656
50286
|
public listWorkers(request: temporal.api.workflowservice.v1.IListWorkersRequest): Promise<temporal.api.workflowservice.v1.ListWorkersResponse>;
|
|
50287
|
+
/**
|
|
50288
|
+
* CountWorkers counts the number of workers in a specific namespace.
|
|
50289
|
+
* @param request CountWorkersRequest message or plain object
|
|
50290
|
+
* @param callback Node-style callback called with the error, if any, and CountWorkersResponse
|
|
50291
|
+
*/
|
|
50292
|
+
public countWorkers(request: temporal.api.workflowservice.v1.ICountWorkersRequest, callback: temporal.api.workflowservice.v1.WorkflowService.CountWorkersCallback): void;
|
|
50293
|
+
/**
|
|
50294
|
+
* CountWorkers counts the number of workers in a specific namespace.
|
|
50295
|
+
* @param request CountWorkersRequest message or plain object
|
|
50296
|
+
* @returns Promise
|
|
50297
|
+
*/
|
|
50298
|
+
public countWorkers(request: temporal.api.workflowservice.v1.ICountWorkersRequest): Promise<temporal.api.workflowservice.v1.CountWorkersResponse>;
|
|
48657
50299
|
/**
|
|
48658
50300
|
* Updates task queue configuration.
|
|
48659
50301
|
* For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit,
|
|
@@ -49144,6 +50786,18 @@ declare namespace temporal {
|
|
|
49144
50786
|
* @returns Promise
|
|
49145
50787
|
*/
|
|
49146
50788
|
public deleteNexusOperationExecution(request: temporal.api.workflowservice.v1.IDeleteNexusOperationExecutionRequest): Promise<temporal.api.workflowservice.v1.DeleteNexusOperationExecutionResponse>;
|
|
50789
|
+
/**
|
|
50790
|
+
* Calls PollWorkflowExecutionTimeSkipping.
|
|
50791
|
+
* @param request PollWorkflowExecutionTimeSkippingRequest message or plain object
|
|
50792
|
+
* @param callback Node-style callback called with the error, if any, and PollWorkflowExecutionTimeSkippingResponse
|
|
50793
|
+
*/
|
|
50794
|
+
public pollWorkflowExecutionTimeSkipping(request: temporal.api.workflowservice.v1.IPollWorkflowExecutionTimeSkippingRequest, callback: temporal.api.workflowservice.v1.WorkflowService.PollWorkflowExecutionTimeSkippingCallback): void;
|
|
50795
|
+
/**
|
|
50796
|
+
* Calls PollWorkflowExecutionTimeSkipping.
|
|
50797
|
+
* @param request PollWorkflowExecutionTimeSkippingRequest message or plain object
|
|
50798
|
+
* @returns Promise
|
|
50799
|
+
*/
|
|
50800
|
+
public pollWorkflowExecutionTimeSkipping(request: temporal.api.workflowservice.v1.IPollWorkflowExecutionTimeSkippingRequest): Promise<temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingResponse>;
|
|
49147
50801
|
}
|
|
49148
50802
|
namespace WorkflowService {
|
|
49149
50803
|
/**
|
|
@@ -49716,6 +51370,12 @@ declare namespace temporal {
|
|
|
49716
51370
|
* @param [response] ListWorkersResponse
|
|
49717
51371
|
*/
|
|
49718
51372
|
type ListWorkersCallback = (error: (Error | null), response?: temporal.api.workflowservice.v1.ListWorkersResponse) => void;
|
|
51373
|
+
/**
|
|
51374
|
+
* Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#countWorkers}.
|
|
51375
|
+
* @param error Error, if any
|
|
51376
|
+
* @param [response] CountWorkersResponse
|
|
51377
|
+
*/
|
|
51378
|
+
type CountWorkersCallback = (error: (Error | null), response?: temporal.api.workflowservice.v1.CountWorkersResponse) => void;
|
|
49719
51379
|
/**
|
|
49720
51380
|
* Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#updateTaskQueueConfig}.
|
|
49721
51381
|
* @param error Error, if any
|
|
@@ -49872,6 +51532,12 @@ declare namespace temporal {
|
|
|
49872
51532
|
* @param [response] DeleteNexusOperationExecutionResponse
|
|
49873
51533
|
*/
|
|
49874
51534
|
type DeleteNexusOperationExecutionCallback = (error: (Error | null), response?: temporal.api.workflowservice.v1.DeleteNexusOperationExecutionResponse) => void;
|
|
51535
|
+
/**
|
|
51536
|
+
* Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#pollWorkflowExecutionTimeSkipping}.
|
|
51537
|
+
* @param error Error, if any
|
|
51538
|
+
* @param [response] PollWorkflowExecutionTimeSkippingResponse
|
|
51539
|
+
*/
|
|
51540
|
+
type PollWorkflowExecutionTimeSkippingCallback = (error: (Error | null), response?: temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingResponse) => void;
|
|
49875
51541
|
}
|
|
49876
51542
|
}
|
|
49877
51543
|
}
|
|
@@ -49885,6 +51551,11 @@ declare namespace temporal {
|
|
|
49885
51551
|
result?: (temporal.api.common.v1.IPayloads | null);
|
|
49886
51552
|
/** The failure if the activity completed unsuccessfully. */
|
|
49887
51553
|
failure?: (temporal.api.failure.v1.IFailure | null);
|
|
51554
|
+
/**
|
|
51555
|
+
* The retry state associated with an unsuccessful activity execution.
|
|
51556
|
+
* This field is only meaningful when `failure` is set.
|
|
51557
|
+
*/
|
|
51558
|
+
retryState?: (temporal.api.enums.v1.RetryState | null);
|
|
49888
51559
|
}
|
|
49889
51560
|
/** The outcome of a completed activity execution: either a successful result or a failure. */
|
|
49890
51561
|
class ActivityExecutionOutcome implements IActivityExecutionOutcome {
|
|
@@ -49897,6 +51568,11 @@ declare namespace temporal {
|
|
|
49897
51568
|
public result?: (temporal.api.common.v1.IPayloads | null);
|
|
49898
51569
|
/** The failure if the activity completed unsuccessfully. */
|
|
49899
51570
|
public failure?: (temporal.api.failure.v1.IFailure | null);
|
|
51571
|
+
/**
|
|
51572
|
+
* The retry state associated with an unsuccessful activity execution.
|
|
51573
|
+
* This field is only meaningful when `failure` is set.
|
|
51574
|
+
*/
|
|
51575
|
+
public retryState: temporal.api.enums.v1.RetryState;
|
|
49900
51576
|
/** ActivityExecutionOutcome value. */
|
|
49901
51577
|
public value?: ("result" | "failure");
|
|
49902
51578
|
/**
|
|
@@ -50007,6 +51683,12 @@ declare namespace temporal {
|
|
|
50007
51683
|
* present, they inherit the values from the workflow.
|
|
50008
51684
|
*/
|
|
50009
51685
|
priority?: (temporal.api.common.v1.IPriority | null);
|
|
51686
|
+
/**
|
|
51687
|
+
* Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
|
|
51688
|
+
* When updated, the time is added to the original `schedule_time`, not to the current time.
|
|
51689
|
+
* If the resulting time is in the past, the task is made available for dispatch immediately.
|
|
51690
|
+
*/
|
|
51691
|
+
startDelay?: (google.protobuf.IDuration | null);
|
|
50010
51692
|
}
|
|
50011
51693
|
/** Represents an ActivityOptions. */
|
|
50012
51694
|
class ActivityOptions implements IActivityOptions {
|
|
@@ -50053,6 +51735,12 @@ declare namespace temporal {
|
|
|
50053
51735
|
* present, they inherit the values from the workflow.
|
|
50054
51736
|
*/
|
|
50055
51737
|
public priority?: (temporal.api.common.v1.IPriority | null);
|
|
51738
|
+
/**
|
|
51739
|
+
* Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
|
|
51740
|
+
* When updated, the time is added to the original `schedule_time`, not to the current time.
|
|
51741
|
+
* If the resulting time is in the past, the task is made available for dispatch immediately.
|
|
51742
|
+
*/
|
|
51743
|
+
public startDelay?: (google.protobuf.IDuration | null);
|
|
50056
51744
|
/**
|
|
50057
51745
|
* Creates a new ActivityOptions instance using the specified properties.
|
|
50058
51746
|
* @param [properties] Properties to set
|
|
@@ -50179,7 +51867,10 @@ declare namespace temporal {
|
|
|
50179
51867
|
executionDuration?: (google.protobuf.IDuration | null);
|
|
50180
51868
|
/** Time the activity was originally scheduled via a StartActivityExecution request. */
|
|
50181
51869
|
scheduleTime?: (google.protobuf.ITimestamp | null);
|
|
50182
|
-
/**
|
|
51870
|
+
/**
|
|
51871
|
+
* The time at which the activity's Schedule-to-Close timeout expires.
|
|
51872
|
+
* Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
|
|
51873
|
+
*/
|
|
50183
51874
|
expirationTime?: (google.protobuf.ITimestamp | null);
|
|
50184
51875
|
/** Time when the activity transitioned to a closed state. */
|
|
50185
51876
|
closeTime?: (google.protobuf.ITimestamp | null);
|
|
@@ -50239,8 +51930,13 @@ declare namespace temporal {
|
|
|
50239
51930
|
* Overwritten on each new attempt. Empty if unknown.
|
|
50240
51931
|
*/
|
|
50241
51932
|
sdkVersion?: (string | null);
|
|
50242
|
-
/** Time to wait before
|
|
51933
|
+
/** Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts. */
|
|
50243
51934
|
startDelay?: (google.protobuf.IDuration | null);
|
|
51935
|
+
/**
|
|
51936
|
+
* The time at which the first activity task is made available for dispatch, computed as
|
|
51937
|
+
* `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
|
|
51938
|
+
*/
|
|
51939
|
+
executionTime?: (google.protobuf.ITimestamp | null);
|
|
50244
51940
|
}
|
|
50245
51941
|
/** Information about a standalone activity. */
|
|
50246
51942
|
class ActivityExecutionInfo implements IActivityExecutionInfo {
|
|
@@ -50305,7 +52001,10 @@ declare namespace temporal {
|
|
|
50305
52001
|
public executionDuration?: (google.protobuf.IDuration | null);
|
|
50306
52002
|
/** Time the activity was originally scheduled via a StartActivityExecution request. */
|
|
50307
52003
|
public scheduleTime?: (google.protobuf.ITimestamp | null);
|
|
50308
|
-
/**
|
|
52004
|
+
/**
|
|
52005
|
+
* The time at which the activity's Schedule-to-Close timeout expires.
|
|
52006
|
+
* Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
|
|
52007
|
+
*/
|
|
50309
52008
|
public expirationTime?: (google.protobuf.ITimestamp | null);
|
|
50310
52009
|
/** Time when the activity transitioned to a closed state. */
|
|
50311
52010
|
public closeTime?: (google.protobuf.ITimestamp | null);
|
|
@@ -50365,8 +52064,13 @@ declare namespace temporal {
|
|
|
50365
52064
|
* Overwritten on each new attempt. Empty if unknown.
|
|
50366
52065
|
*/
|
|
50367
52066
|
public sdkVersion: string;
|
|
50368
|
-
/** Time to wait before
|
|
52067
|
+
/** Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts. */
|
|
50369
52068
|
public startDelay?: (google.protobuf.IDuration | null);
|
|
52069
|
+
/**
|
|
52070
|
+
* The time at which the first activity task is made available for dispatch, computed as
|
|
52071
|
+
* `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
|
|
52072
|
+
*/
|
|
52073
|
+
public executionTime?: (google.protobuf.ITimestamp | null);
|
|
50370
52074
|
/**
|
|
50371
52075
|
* Creates a new ActivityExecutionInfo instance using the specified properties.
|
|
50372
52076
|
* @param [properties] Properties to set
|
|
@@ -50465,6 +52169,11 @@ declare namespace temporal {
|
|
|
50465
52169
|
* This field is only populated if the activity is closed.
|
|
50466
52170
|
*/
|
|
50467
52171
|
executionDuration?: (google.protobuf.IDuration | null);
|
|
52172
|
+
/**
|
|
52173
|
+
* The time at which the first activity task is made available for dispatch, computed as
|
|
52174
|
+
* `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
|
|
52175
|
+
*/
|
|
52176
|
+
executionTime?: (google.protobuf.ITimestamp | null);
|
|
50468
52177
|
}
|
|
50469
52178
|
/**
|
|
50470
52179
|
* Limited activity information returned in the list response.
|
|
@@ -50505,6 +52214,11 @@ declare namespace temporal {
|
|
|
50505
52214
|
* This field is only populated if the activity is closed.
|
|
50506
52215
|
*/
|
|
50507
52216
|
public executionDuration?: (google.protobuf.IDuration | null);
|
|
52217
|
+
/**
|
|
52218
|
+
* The time at which the first activity task is made available for dispatch, computed as
|
|
52219
|
+
* `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
|
|
52220
|
+
*/
|
|
52221
|
+
public executionTime?: (google.protobuf.ITimestamp | null);
|
|
50508
52222
|
/**
|
|
50509
52223
|
* Creates a new ActivityExecutionListInfo instance using the specified properties.
|
|
50510
52224
|
* @param [properties] Properties to set
|
|
@@ -51859,6 +53573,185 @@ declare namespace temporal {
|
|
|
51859
53573
|
*/
|
|
51860
53574
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
51861
53575
|
}
|
|
53576
|
+
/** Properties of a ComputeStatus. */
|
|
53577
|
+
interface IComputeStatus {
|
|
53578
|
+
/** provider_validation encapsulates the health signal for validating the compute provider. */
|
|
53579
|
+
providerValidation?: (temporal.api.deployment.v1.ComputeStatus.IProviderValidationStatus | null);
|
|
53580
|
+
}
|
|
53581
|
+
/** ComputeStatus represents compute-related configuration and health for a Worker Deployment Version. */
|
|
53582
|
+
class ComputeStatus implements IComputeStatus {
|
|
53583
|
+
/**
|
|
53584
|
+
* Constructs a new ComputeStatus.
|
|
53585
|
+
* @param [properties] Properties to set
|
|
53586
|
+
*/
|
|
53587
|
+
constructor(properties?: temporal.api.deployment.v1.IComputeStatus);
|
|
53588
|
+
/** provider_validation encapsulates the health signal for validating the compute provider. */
|
|
53589
|
+
public providerValidation?: (temporal.api.deployment.v1.ComputeStatus.IProviderValidationStatus | null);
|
|
53590
|
+
/**
|
|
53591
|
+
* Creates a new ComputeStatus instance using the specified properties.
|
|
53592
|
+
* @param [properties] Properties to set
|
|
53593
|
+
* @returns ComputeStatus instance
|
|
53594
|
+
*/
|
|
53595
|
+
public static create(properties?: temporal.api.deployment.v1.IComputeStatus): temporal.api.deployment.v1.ComputeStatus;
|
|
53596
|
+
/**
|
|
53597
|
+
* Encodes the specified ComputeStatus message. Does not implicitly {@link temporal.api.deployment.v1.ComputeStatus.verify|verify} messages.
|
|
53598
|
+
* @param message ComputeStatus message or plain object to encode
|
|
53599
|
+
* @param [writer] Writer to encode to
|
|
53600
|
+
* @returns Writer
|
|
53601
|
+
*/
|
|
53602
|
+
public static encode(message: temporal.api.deployment.v1.IComputeStatus, writer?: Writer): Writer;
|
|
53603
|
+
/**
|
|
53604
|
+
* Encodes the specified ComputeStatus message, length delimited. Does not implicitly {@link temporal.api.deployment.v1.ComputeStatus.verify|verify} messages.
|
|
53605
|
+
* @param message ComputeStatus message or plain object to encode
|
|
53606
|
+
* @param [writer] Writer to encode to
|
|
53607
|
+
* @returns Writer
|
|
53608
|
+
*/
|
|
53609
|
+
public static encodeDelimited(message: temporal.api.deployment.v1.IComputeStatus, writer?: Writer): Writer;
|
|
53610
|
+
/**
|
|
53611
|
+
* Decodes a ComputeStatus message from the specified reader or buffer.
|
|
53612
|
+
* @param reader Reader or buffer to decode from
|
|
53613
|
+
* @param [length] Message length if known beforehand
|
|
53614
|
+
* @returns ComputeStatus
|
|
53615
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53616
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
53617
|
+
*/
|
|
53618
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.deployment.v1.ComputeStatus;
|
|
53619
|
+
/**
|
|
53620
|
+
* Decodes a ComputeStatus message from the specified reader or buffer, length delimited.
|
|
53621
|
+
* @param reader Reader or buffer to decode from
|
|
53622
|
+
* @returns ComputeStatus
|
|
53623
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53624
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
53625
|
+
*/
|
|
53626
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.deployment.v1.ComputeStatus;
|
|
53627
|
+
/**
|
|
53628
|
+
* Creates a ComputeStatus message from a plain object. Also converts values to their respective internal types.
|
|
53629
|
+
* @param object Plain object
|
|
53630
|
+
* @returns ComputeStatus
|
|
53631
|
+
*/
|
|
53632
|
+
public static fromObject(object: {
|
|
53633
|
+
[k: string]: any;
|
|
53634
|
+
}): temporal.api.deployment.v1.ComputeStatus;
|
|
53635
|
+
/**
|
|
53636
|
+
* Creates a plain object from a ComputeStatus message. Also converts values to other types if specified.
|
|
53637
|
+
* @param message ComputeStatus
|
|
53638
|
+
* @param [options] Conversion options
|
|
53639
|
+
* @returns Plain object
|
|
53640
|
+
*/
|
|
53641
|
+
public static toObject(message: temporal.api.deployment.v1.ComputeStatus, options?: IConversionOptions): {
|
|
53642
|
+
[k: string]: any;
|
|
53643
|
+
};
|
|
53644
|
+
/**
|
|
53645
|
+
* Converts this ComputeStatus to JSON.
|
|
53646
|
+
* @returns JSON object
|
|
53647
|
+
*/
|
|
53648
|
+
public toJSON(): {
|
|
53649
|
+
[k: string]: any;
|
|
53650
|
+
};
|
|
53651
|
+
/**
|
|
53652
|
+
* Gets the default type url for ComputeStatus
|
|
53653
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
53654
|
+
* @returns The default type url
|
|
53655
|
+
*/
|
|
53656
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
53657
|
+
}
|
|
53658
|
+
namespace ComputeStatus {
|
|
53659
|
+
/** Properties of a ProviderValidationStatus. */
|
|
53660
|
+
interface IProviderValidationStatus {
|
|
53661
|
+
/**
|
|
53662
|
+
* Human-readable error message if connectivity validation failed.
|
|
53663
|
+
* An empty string means validation passed.
|
|
53664
|
+
*/
|
|
53665
|
+
errorMessage?: (string | null);
|
|
53666
|
+
/** Timestamp of the last validation check. */
|
|
53667
|
+
lastCheckTime?: (google.protobuf.ITimestamp | null);
|
|
53668
|
+
}
|
|
53669
|
+
/**
|
|
53670
|
+
* ProviderValidationStatus represents the result of the most recent
|
|
53671
|
+
* connectivity check between Temporal and a customer's compute provider.
|
|
53672
|
+
*/
|
|
53673
|
+
class ProviderValidationStatus implements IProviderValidationStatus {
|
|
53674
|
+
/**
|
|
53675
|
+
* Constructs a new ProviderValidationStatus.
|
|
53676
|
+
* @param [properties] Properties to set
|
|
53677
|
+
*/
|
|
53678
|
+
constructor(properties?: temporal.api.deployment.v1.ComputeStatus.IProviderValidationStatus);
|
|
53679
|
+
/**
|
|
53680
|
+
* Human-readable error message if connectivity validation failed.
|
|
53681
|
+
* An empty string means validation passed.
|
|
53682
|
+
*/
|
|
53683
|
+
public errorMessage: string;
|
|
53684
|
+
/** Timestamp of the last validation check. */
|
|
53685
|
+
public lastCheckTime?: (google.protobuf.ITimestamp | null);
|
|
53686
|
+
/**
|
|
53687
|
+
* Creates a new ProviderValidationStatus instance using the specified properties.
|
|
53688
|
+
* @param [properties] Properties to set
|
|
53689
|
+
* @returns ProviderValidationStatus instance
|
|
53690
|
+
*/
|
|
53691
|
+
public static create(properties?: temporal.api.deployment.v1.ComputeStatus.IProviderValidationStatus): temporal.api.deployment.v1.ComputeStatus.ProviderValidationStatus;
|
|
53692
|
+
/**
|
|
53693
|
+
* Encodes the specified ProviderValidationStatus message. Does not implicitly {@link temporal.api.deployment.v1.ComputeStatus.ProviderValidationStatus.verify|verify} messages.
|
|
53694
|
+
* @param message ProviderValidationStatus message or plain object to encode
|
|
53695
|
+
* @param [writer] Writer to encode to
|
|
53696
|
+
* @returns Writer
|
|
53697
|
+
*/
|
|
53698
|
+
public static encode(message: temporal.api.deployment.v1.ComputeStatus.IProviderValidationStatus, writer?: Writer): Writer;
|
|
53699
|
+
/**
|
|
53700
|
+
* Encodes the specified ProviderValidationStatus message, length delimited. Does not implicitly {@link temporal.api.deployment.v1.ComputeStatus.ProviderValidationStatus.verify|verify} messages.
|
|
53701
|
+
* @param message ProviderValidationStatus message or plain object to encode
|
|
53702
|
+
* @param [writer] Writer to encode to
|
|
53703
|
+
* @returns Writer
|
|
53704
|
+
*/
|
|
53705
|
+
public static encodeDelimited(message: temporal.api.deployment.v1.ComputeStatus.IProviderValidationStatus, writer?: Writer): Writer;
|
|
53706
|
+
/**
|
|
53707
|
+
* Decodes a ProviderValidationStatus message from the specified reader or buffer.
|
|
53708
|
+
* @param reader Reader or buffer to decode from
|
|
53709
|
+
* @param [length] Message length if known beforehand
|
|
53710
|
+
* @returns ProviderValidationStatus
|
|
53711
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53712
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
53713
|
+
*/
|
|
53714
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.deployment.v1.ComputeStatus.ProviderValidationStatus;
|
|
53715
|
+
/**
|
|
53716
|
+
* Decodes a ProviderValidationStatus message from the specified reader or buffer, length delimited.
|
|
53717
|
+
* @param reader Reader or buffer to decode from
|
|
53718
|
+
* @returns ProviderValidationStatus
|
|
53719
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53720
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
53721
|
+
*/
|
|
53722
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.deployment.v1.ComputeStatus.ProviderValidationStatus;
|
|
53723
|
+
/**
|
|
53724
|
+
* Creates a ProviderValidationStatus message from a plain object. Also converts values to their respective internal types.
|
|
53725
|
+
* @param object Plain object
|
|
53726
|
+
* @returns ProviderValidationStatus
|
|
53727
|
+
*/
|
|
53728
|
+
public static fromObject(object: {
|
|
53729
|
+
[k: string]: any;
|
|
53730
|
+
}): temporal.api.deployment.v1.ComputeStatus.ProviderValidationStatus;
|
|
53731
|
+
/**
|
|
53732
|
+
* Creates a plain object from a ProviderValidationStatus message. Also converts values to other types if specified.
|
|
53733
|
+
* @param message ProviderValidationStatus
|
|
53734
|
+
* @param [options] Conversion options
|
|
53735
|
+
* @returns Plain object
|
|
53736
|
+
*/
|
|
53737
|
+
public static toObject(message: temporal.api.deployment.v1.ComputeStatus.ProviderValidationStatus, options?: IConversionOptions): {
|
|
53738
|
+
[k: string]: any;
|
|
53739
|
+
};
|
|
53740
|
+
/**
|
|
53741
|
+
* Converts this ProviderValidationStatus to JSON.
|
|
53742
|
+
* @returns JSON object
|
|
53743
|
+
*/
|
|
53744
|
+
public toJSON(): {
|
|
53745
|
+
[k: string]: any;
|
|
53746
|
+
};
|
|
53747
|
+
/**
|
|
53748
|
+
* Gets the default type url for ProviderValidationStatus
|
|
53749
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
53750
|
+
* @returns The default type url
|
|
53751
|
+
*/
|
|
53752
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
53753
|
+
}
|
|
53754
|
+
}
|
|
51862
53755
|
/** Properties of a WorkerDeploymentInfo. */
|
|
51863
53756
|
interface IWorkerDeploymentInfo {
|
|
51864
53757
|
/** Identifies a Worker Deployment. Must be unique within the namespace. */
|
|
@@ -52055,6 +53948,8 @@ declare namespace temporal {
|
|
|
52055
53948
|
lastDeactivationTime?: (google.protobuf.ITimestamp | null);
|
|
52056
53949
|
/** WorkerDeploymentVersionSummary computeConfig */
|
|
52057
53950
|
computeConfig?: (temporal.api.compute.v1.IComputeConfigSummary | null);
|
|
53951
|
+
/** ComputeStatus represents compute-related configuration and healthchecks. */
|
|
53952
|
+
computeStatus?: (temporal.api.deployment.v1.IComputeStatus | null);
|
|
52058
53953
|
}
|
|
52059
53954
|
/** Represents a WorkerDeploymentVersionSummary. */
|
|
52060
53955
|
class WorkerDeploymentVersionSummary implements IWorkerDeploymentVersionSummary {
|
|
@@ -52106,6 +54001,8 @@ declare namespace temporal {
|
|
|
52106
54001
|
public lastDeactivationTime?: (google.protobuf.ITimestamp | null);
|
|
52107
54002
|
/** WorkerDeploymentVersionSummary computeConfig. */
|
|
52108
54003
|
public computeConfig?: (temporal.api.compute.v1.IComputeConfigSummary | null);
|
|
54004
|
+
/** ComputeStatus represents compute-related configuration and healthchecks. */
|
|
54005
|
+
public computeStatus?: (temporal.api.deployment.v1.IComputeStatus | null);
|
|
52109
54006
|
/**
|
|
52110
54007
|
* Creates a new WorkerDeploymentVersionSummary instance using the specified properties.
|
|
52111
54008
|
* @param [properties] Properties to set
|
|
@@ -54154,6 +56051,13 @@ declare namespace temporal {
|
|
|
54154
56051
|
* worker instance.
|
|
54155
56052
|
*/
|
|
54156
56053
|
tasksDispatchRate?: (number | null);
|
|
56054
|
+
/**
|
|
56055
|
+
* Whether rate limiting blocked any dispatches within the recent observation window (approximately
|
|
56056
|
+
* 30 seconds). When true, adding more workers will not increase throughput — the bottleneck is the
|
|
56057
|
+
* rate limit, not worker count. This field is useful for auto-scaling systems to avoid unnecessary
|
|
56058
|
+
* scale-up.
|
|
56059
|
+
*/
|
|
56060
|
+
rateLimitingActive?: (boolean | null);
|
|
54157
56061
|
}
|
|
54158
56062
|
/**
|
|
54159
56063
|
* TaskQueueStats contains statistics about task queue backlog and activity.
|
|
@@ -54219,6 +56123,13 @@ declare namespace temporal {
|
|
|
54219
56123
|
* worker instance.
|
|
54220
56124
|
*/
|
|
54221
56125
|
public tasksDispatchRate: number;
|
|
56126
|
+
/**
|
|
56127
|
+
* Whether rate limiting blocked any dispatches within the recent observation window (approximately
|
|
56128
|
+
* 30 seconds). When true, adding more workers will not increase throughput — the bottleneck is the
|
|
56129
|
+
* rate limit, not worker count. This field is useful for auto-scaling systems to avoid unnecessary
|
|
56130
|
+
* scale-up.
|
|
56131
|
+
*/
|
|
56132
|
+
public rateLimitingActive: boolean;
|
|
54222
56133
|
/**
|
|
54223
56134
|
* Creates a new TaskQueueStats instance using the specified properties.
|
|
54224
56135
|
* @param [properties] Properties to set
|
|
@@ -55616,6 +57527,102 @@ declare namespace temporal {
|
|
|
55616
57527
|
*/
|
|
55617
57528
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
55618
57529
|
}
|
|
57530
|
+
/** Properties of a PollerGroupsInfo. */
|
|
57531
|
+
interface IPollerGroupsInfo {
|
|
57532
|
+
/**
|
|
57533
|
+
* Monotonically increasing version of this snapshot. A client should ignore any snapshot whose
|
|
57534
|
+
* version is not greater than the one it last applied.
|
|
57535
|
+
*/
|
|
57536
|
+
version?: (Long | null);
|
|
57537
|
+
/** The weighted list of poller groups the client should use for future polls to this task queue. */
|
|
57538
|
+
pollerGroups?: (temporal.api.taskqueue.v1.IPollerGroupInfo[] | null);
|
|
57539
|
+
}
|
|
57540
|
+
/**
|
|
57541
|
+
* A versioned snapshot of the poller groups the client should use for future polls to a task
|
|
57542
|
+
* queue. The version is monotonically increasing so that a client can ignore a snapshot that is
|
|
57543
|
+
* older than the one it has already applied.
|
|
57544
|
+
*/
|
|
57545
|
+
class PollerGroupsInfo implements IPollerGroupsInfo {
|
|
57546
|
+
/**
|
|
57547
|
+
* Constructs a new PollerGroupsInfo.
|
|
57548
|
+
* @param [properties] Properties to set
|
|
57549
|
+
*/
|
|
57550
|
+
constructor(properties?: temporal.api.taskqueue.v1.IPollerGroupsInfo);
|
|
57551
|
+
/**
|
|
57552
|
+
* Monotonically increasing version of this snapshot. A client should ignore any snapshot whose
|
|
57553
|
+
* version is not greater than the one it last applied.
|
|
57554
|
+
*/
|
|
57555
|
+
public version: Long;
|
|
57556
|
+
/** The weighted list of poller groups the client should use for future polls to this task queue. */
|
|
57557
|
+
public pollerGroups: temporal.api.taskqueue.v1.IPollerGroupInfo[];
|
|
57558
|
+
/**
|
|
57559
|
+
* Creates a new PollerGroupsInfo instance using the specified properties.
|
|
57560
|
+
* @param [properties] Properties to set
|
|
57561
|
+
* @returns PollerGroupsInfo instance
|
|
57562
|
+
*/
|
|
57563
|
+
public static create(properties?: temporal.api.taskqueue.v1.IPollerGroupsInfo): temporal.api.taskqueue.v1.PollerGroupsInfo;
|
|
57564
|
+
/**
|
|
57565
|
+
* Encodes the specified PollerGroupsInfo message. Does not implicitly {@link temporal.api.taskqueue.v1.PollerGroupsInfo.verify|verify} messages.
|
|
57566
|
+
* @param message PollerGroupsInfo message or plain object to encode
|
|
57567
|
+
* @param [writer] Writer to encode to
|
|
57568
|
+
* @returns Writer
|
|
57569
|
+
*/
|
|
57570
|
+
public static encode(message: temporal.api.taskqueue.v1.IPollerGroupsInfo, writer?: Writer): Writer;
|
|
57571
|
+
/**
|
|
57572
|
+
* Encodes the specified PollerGroupsInfo message, length delimited. Does not implicitly {@link temporal.api.taskqueue.v1.PollerGroupsInfo.verify|verify} messages.
|
|
57573
|
+
* @param message PollerGroupsInfo message or plain object to encode
|
|
57574
|
+
* @param [writer] Writer to encode to
|
|
57575
|
+
* @returns Writer
|
|
57576
|
+
*/
|
|
57577
|
+
public static encodeDelimited(message: temporal.api.taskqueue.v1.IPollerGroupsInfo, writer?: Writer): Writer;
|
|
57578
|
+
/**
|
|
57579
|
+
* Decodes a PollerGroupsInfo message from the specified reader or buffer.
|
|
57580
|
+
* @param reader Reader or buffer to decode from
|
|
57581
|
+
* @param [length] Message length if known beforehand
|
|
57582
|
+
* @returns PollerGroupsInfo
|
|
57583
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
57584
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
57585
|
+
*/
|
|
57586
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.taskqueue.v1.PollerGroupsInfo;
|
|
57587
|
+
/**
|
|
57588
|
+
* Decodes a PollerGroupsInfo message from the specified reader or buffer, length delimited.
|
|
57589
|
+
* @param reader Reader or buffer to decode from
|
|
57590
|
+
* @returns PollerGroupsInfo
|
|
57591
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
57592
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
57593
|
+
*/
|
|
57594
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.taskqueue.v1.PollerGroupsInfo;
|
|
57595
|
+
/**
|
|
57596
|
+
* Creates a PollerGroupsInfo message from a plain object. Also converts values to their respective internal types.
|
|
57597
|
+
* @param object Plain object
|
|
57598
|
+
* @returns PollerGroupsInfo
|
|
57599
|
+
*/
|
|
57600
|
+
public static fromObject(object: {
|
|
57601
|
+
[k: string]: any;
|
|
57602
|
+
}): temporal.api.taskqueue.v1.PollerGroupsInfo;
|
|
57603
|
+
/**
|
|
57604
|
+
* Creates a plain object from a PollerGroupsInfo message. Also converts values to other types if specified.
|
|
57605
|
+
* @param message PollerGroupsInfo
|
|
57606
|
+
* @param [options] Conversion options
|
|
57607
|
+
* @returns Plain object
|
|
57608
|
+
*/
|
|
57609
|
+
public static toObject(message: temporal.api.taskqueue.v1.PollerGroupsInfo, options?: IConversionOptions): {
|
|
57610
|
+
[k: string]: any;
|
|
57611
|
+
};
|
|
57612
|
+
/**
|
|
57613
|
+
* Converts this PollerGroupsInfo to JSON.
|
|
57614
|
+
* @returns JSON object
|
|
57615
|
+
*/
|
|
57616
|
+
public toJSON(): {
|
|
57617
|
+
[k: string]: any;
|
|
57618
|
+
};
|
|
57619
|
+
/**
|
|
57620
|
+
* Gets the default type url for PollerGroupsInfo
|
|
57621
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
57622
|
+
* @returns The default type url
|
|
57623
|
+
*/
|
|
57624
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
57625
|
+
}
|
|
55619
57626
|
/** Properties of a PollerScalingDecision. */
|
|
55620
57627
|
interface IPollerScalingDecision {
|
|
55621
57628
|
/**
|
|
@@ -56292,12 +58299,12 @@ declare namespace temporal {
|
|
|
56292
58299
|
* The configuration may be updated after start via UpdateWorkflowExecutionOptions, which
|
|
56293
58300
|
* will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
|
|
56294
58301
|
*/
|
|
56295
|
-
timeSkippingConfig?: (temporal.api.
|
|
58302
|
+
timeSkippingConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
56296
58303
|
/**
|
|
56297
|
-
* The time
|
|
56298
|
-
*
|
|
58304
|
+
* The time-skipping state propagated from a previous run of this workflow. This can be nil
|
|
58305
|
+
* if no time skipping has occurred or there is no previous run.
|
|
56299
58306
|
*/
|
|
56300
|
-
|
|
58307
|
+
timeSkippingStatePropagation?: (temporal.api.common.v1.ITimeSkippingStatePropagation | null);
|
|
56301
58308
|
}
|
|
56302
58309
|
/** Always the first event in workflow history */
|
|
56303
58310
|
class WorkflowExecutionStartedEventAttributes implements IWorkflowExecutionStartedEventAttributes {
|
|
@@ -56517,12 +58524,12 @@ declare namespace temporal {
|
|
|
56517
58524
|
* The configuration may be updated after start via UpdateWorkflowExecutionOptions, which
|
|
56518
58525
|
* will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
|
|
56519
58526
|
*/
|
|
56520
|
-
public timeSkippingConfig?: (temporal.api.
|
|
58527
|
+
public timeSkippingConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
56521
58528
|
/**
|
|
56522
|
-
* The time
|
|
56523
|
-
*
|
|
58529
|
+
* The time-skipping state propagated from a previous run of this workflow. This can be nil
|
|
58530
|
+
* if no time skipping has occurred or there is no previous run.
|
|
56524
58531
|
*/
|
|
56525
|
-
public
|
|
58532
|
+
public timeSkippingStatePropagation?: (temporal.api.common.v1.ITimeSkippingStatePropagation | null);
|
|
56526
58533
|
/**
|
|
56527
58534
|
* Creates a new WorkflowExecutionStartedEventAttributes instance using the specified properties.
|
|
56528
58535
|
* @param [properties] Properties to set
|
|
@@ -60362,9 +62369,17 @@ declare namespace temporal {
|
|
|
60362
62369
|
/** Priority metadata */
|
|
60363
62370
|
priority?: (temporal.api.common.v1.IPriority | null);
|
|
60364
62371
|
/** The propagated time-skipping configuration for the child workflow. */
|
|
60365
|
-
timeSkippingConfig?: (temporal.api.
|
|
60366
|
-
/**
|
|
60367
|
-
|
|
62372
|
+
timeSkippingConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
62373
|
+
/**
|
|
62374
|
+
* The time-skipping state propagated from the parent workflow. This can be nil if no time skipping
|
|
62375
|
+
* has occurred or there is no previous run.
|
|
62376
|
+
*/
|
|
62377
|
+
timeSkippingStatePropagation?: (temporal.api.common.v1.ITimeSkippingStatePropagation | null);
|
|
62378
|
+
/**
|
|
62379
|
+
* Versioning override requested for the child workflow. If present, this explicit override
|
|
62380
|
+
* takes precedence over versioning behavior inherited from the parent workflow.
|
|
62381
|
+
*/
|
|
62382
|
+
versioningOverride?: (temporal.api.workflow.v1.IVersioningOverride | null);
|
|
60368
62383
|
}
|
|
60369
62384
|
/** Represents a StartChildWorkflowExecutionInitiatedEventAttributes. */
|
|
60370
62385
|
class StartChildWorkflowExecutionInitiatedEventAttributes implements IStartChildWorkflowExecutionInitiatedEventAttributes {
|
|
@@ -60421,9 +62436,17 @@ declare namespace temporal {
|
|
|
60421
62436
|
/** Priority metadata */
|
|
60422
62437
|
public priority?: (temporal.api.common.v1.IPriority | null);
|
|
60423
62438
|
/** The propagated time-skipping configuration for the child workflow. */
|
|
60424
|
-
public timeSkippingConfig?: (temporal.api.
|
|
60425
|
-
/**
|
|
60426
|
-
|
|
62439
|
+
public timeSkippingConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
62440
|
+
/**
|
|
62441
|
+
* The time-skipping state propagated from the parent workflow. This can be nil if no time skipping
|
|
62442
|
+
* has occurred or there is no previous run.
|
|
62443
|
+
*/
|
|
62444
|
+
public timeSkippingStatePropagation?: (temporal.api.common.v1.ITimeSkippingStatePropagation | null);
|
|
62445
|
+
/**
|
|
62446
|
+
* Versioning override requested for the child workflow. If present, this explicit override
|
|
62447
|
+
* takes precedence over versioning behavior inherited from the parent workflow.
|
|
62448
|
+
*/
|
|
62449
|
+
public versioningOverride?: (temporal.api.workflow.v1.IVersioningOverride | null);
|
|
60427
62450
|
/**
|
|
60428
62451
|
* Creates a new StartChildWorkflowExecutionInitiatedEventAttributes instance using the specified properties.
|
|
60429
62452
|
* @param [properties] Properties to set
|
|
@@ -61299,8 +63322,13 @@ declare namespace temporal {
|
|
|
61299
63322
|
* Ignored if nil.
|
|
61300
63323
|
*/
|
|
61301
63324
|
priority?: (temporal.api.common.v1.IPriority | null);
|
|
61302
|
-
/**
|
|
61303
|
-
timeSkippingConfig?: (temporal.api.
|
|
63325
|
+
/** TimeSkippingConfig override upserted in this event. Represents the full config. */
|
|
63326
|
+
timeSkippingConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
63327
|
+
/**
|
|
63328
|
+
* Indicates the time skipping config was updated by the recent call to update
|
|
63329
|
+
* workflow execution options.
|
|
63330
|
+
*/
|
|
63331
|
+
timeSkippingConfigUpdated?: (boolean | null);
|
|
61304
63332
|
/** Updates to workflow updates options. */
|
|
61305
63333
|
workflowUpdateOptions?: (temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.IWorkflowUpdateOptionsUpdate[] | null);
|
|
61306
63334
|
}
|
|
@@ -61332,8 +63360,13 @@ declare namespace temporal {
|
|
|
61332
63360
|
* Ignored if nil.
|
|
61333
63361
|
*/
|
|
61334
63362
|
public priority?: (temporal.api.common.v1.IPriority | null);
|
|
61335
|
-
/**
|
|
61336
|
-
public timeSkippingConfig?: (temporal.api.
|
|
63363
|
+
/** TimeSkippingConfig override upserted in this event. Represents the full config. */
|
|
63364
|
+
public timeSkippingConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
63365
|
+
/**
|
|
63366
|
+
* Indicates the time skipping config was updated by the recent call to update
|
|
63367
|
+
* workflow execution options.
|
|
63368
|
+
*/
|
|
63369
|
+
public timeSkippingConfigUpdated: boolean;
|
|
61337
63370
|
/** Updates to workflow updates options. */
|
|
61338
63371
|
public workflowUpdateOptions: temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.IWorkflowUpdateOptionsUpdate[];
|
|
61339
63372
|
/**
|
|
@@ -62270,20 +64303,20 @@ declare namespace temporal {
|
|
|
62270
64303
|
}
|
|
62271
64304
|
/** Properties of a WorkflowExecutionTimeSkippingTransitionedEventAttributes. */
|
|
62272
64305
|
interface IWorkflowExecutionTimeSkippingTransitionedEventAttributes {
|
|
62273
|
-
/** The virtual time
|
|
64306
|
+
/** The virtual time point that time skipping advanced to. */
|
|
62274
64307
|
targetTime?: (google.protobuf.ITimestamp | null);
|
|
62275
64308
|
/**
|
|
62276
|
-
*
|
|
64309
|
+
* When true, time skipping has been stopped automatically due to a call to fast_forward completing.
|
|
62277
64310
|
* (-- api-linter: core::0140::prepositions=disabled
|
|
62278
64311
|
* aip.dev/not-precedent: "after" is used to indicate temporal ordering. --)
|
|
62279
64312
|
*/
|
|
62280
|
-
|
|
64313
|
+
disabledAfterFastForward?: (boolean | null);
|
|
62281
64314
|
/** The wall-clock time when the time-skipping state changed event was generated. */
|
|
62282
64315
|
wallClockTime?: (google.protobuf.ITimestamp | null);
|
|
62283
64316
|
}
|
|
62284
64317
|
/**
|
|
62285
|
-
* Attributes for an event indicating that time skipping state changed for a workflow execution
|
|
62286
|
-
* either time was advanced or time skipping was
|
|
64318
|
+
* Attributes for an event indicating that time skipping state changed for a workflow execution:
|
|
64319
|
+
* either time was advanced, or time skipping was stopped automatically due to the fast_forward completing.
|
|
62287
64320
|
* The worker_may_ignore field in HistoryEvent should always be set true for this event.
|
|
62288
64321
|
*/
|
|
62289
64322
|
class WorkflowExecutionTimeSkippingTransitionedEventAttributes implements IWorkflowExecutionTimeSkippingTransitionedEventAttributes {
|
|
@@ -62292,14 +64325,14 @@ declare namespace temporal {
|
|
|
62292
64325
|
* @param [properties] Properties to set
|
|
62293
64326
|
*/
|
|
62294
64327
|
constructor(properties?: temporal.api.history.v1.IWorkflowExecutionTimeSkippingTransitionedEventAttributes);
|
|
62295
|
-
/** The virtual time
|
|
64328
|
+
/** The virtual time point that time skipping advanced to. */
|
|
62296
64329
|
public targetTime?: (google.protobuf.ITimestamp | null);
|
|
62297
64330
|
/**
|
|
62298
|
-
*
|
|
64331
|
+
* When true, time skipping has been stopped automatically due to a call to fast_forward completing.
|
|
62299
64332
|
* (-- api-linter: core::0140::prepositions=disabled
|
|
62300
64333
|
* aip.dev/not-precedent: "after" is used to indicate temporal ordering. --)
|
|
62301
64334
|
*/
|
|
62302
|
-
public
|
|
64335
|
+
public disabledAfterFastForward: boolean;
|
|
62303
64336
|
/** The wall-clock time when the time-skipping state changed event was generated. */
|
|
62304
64337
|
public wallClockTime?: (google.protobuf.ITimestamp | null);
|
|
62305
64338
|
/**
|
|
@@ -63371,6 +65404,8 @@ declare namespace temporal {
|
|
|
63371
65404
|
links?: (temporal.api.common.v1.ILink[] | null);
|
|
63372
65405
|
/** Server-computed authenticated caller identity associated with this event. */
|
|
63373
65406
|
principal?: (temporal.api.common.v1.IPrincipal | null);
|
|
65407
|
+
/** Event group markers attached to this event. */
|
|
65408
|
+
eventGroupMarkers?: (temporal.api.sdk.v1.IEventGroupMarker[] | null);
|
|
63374
65409
|
/** HistoryEvent workflowExecutionStartedEventAttributes */
|
|
63375
65410
|
workflowExecutionStartedEventAttributes?: (temporal.api.history.v1.IWorkflowExecutionStartedEventAttributes | null);
|
|
63376
65411
|
/** HistoryEvent workflowExecutionCompletedEventAttributes */
|
|
@@ -63540,6 +65575,8 @@ declare namespace temporal {
|
|
|
63540
65575
|
public links: temporal.api.common.v1.ILink[];
|
|
63541
65576
|
/** Server-computed authenticated caller identity associated with this event. */
|
|
63542
65577
|
public principal?: (temporal.api.common.v1.IPrincipal | null);
|
|
65578
|
+
/** Event group markers attached to this event. */
|
|
65579
|
+
public eventGroupMarkers: temporal.api.sdk.v1.IEventGroupMarker[];
|
|
63543
65580
|
/** HistoryEvent workflowExecutionStartedEventAttributes. */
|
|
63544
65581
|
public workflowExecutionStartedEventAttributes?: (temporal.api.history.v1.IWorkflowExecutionStartedEventAttributes | null);
|
|
63545
65582
|
/** HistoryEvent workflowExecutionCompletedEventAttributes. */
|
|
@@ -64125,6 +66162,11 @@ declare namespace temporal {
|
|
|
64125
66162
|
} | null);
|
|
64126
66163
|
/** Information about the workflow execution pause operation. */
|
|
64127
66164
|
pauseInfo?: (temporal.api.workflow.v1.IWorkflowExecutionPauseInfo | null);
|
|
66165
|
+
/**
|
|
66166
|
+
* Information about time skipping of the workflow execution.
|
|
66167
|
+
* If the execution has never enabled time skipping, it will be nil.
|
|
66168
|
+
*/
|
|
66169
|
+
timeSkippingInfo?: (temporal.api.common.v1.ITimeSkippingInfo | null);
|
|
64128
66170
|
}
|
|
64129
66171
|
/** Holds all the extra information about workflow execution that is not part of Visibility. */
|
|
64130
66172
|
class WorkflowExecutionExtendedInfo implements IWorkflowExecutionExtendedInfo {
|
|
@@ -64159,6 +66201,11 @@ declare namespace temporal {
|
|
|
64159
66201
|
};
|
|
64160
66202
|
/** Information about the workflow execution pause operation. */
|
|
64161
66203
|
public pauseInfo?: (temporal.api.workflow.v1.IWorkflowExecutionPauseInfo | null);
|
|
66204
|
+
/**
|
|
66205
|
+
* Information about time skipping of the workflow execution.
|
|
66206
|
+
* If the execution has never enabled time skipping, it will be nil.
|
|
66207
|
+
*/
|
|
66208
|
+
public timeSkippingInfo?: (temporal.api.common.v1.ITimeSkippingInfo | null);
|
|
64162
66209
|
/**
|
|
64163
66210
|
* Creates a new WorkflowExecutionExtendedInfo instance using the specified properties.
|
|
64164
66211
|
* @param [properties] Properties to set
|
|
@@ -66601,11 +68648,17 @@ declare namespace temporal {
|
|
|
66601
68648
|
/** If set, overrides the workflow's priority sent by the SDK. */
|
|
66602
68649
|
priority?: (temporal.api.common.v1.IPriority | null);
|
|
66603
68650
|
/**
|
|
66604
|
-
*
|
|
66605
|
-
*
|
|
66606
|
-
* the
|
|
68651
|
+
* The time-skipping configuration for this workflow execution.
|
|
68652
|
+
* When `fast_forward` is set, time will be fast-forwarded to a future point relative
|
|
68653
|
+
* to the current workflow timestamp. Each call takes effect, even if
|
|
68654
|
+
* `fast_forward` is set to the same duration, since the target time is recalculated
|
|
68655
|
+
* from the current timestamp on every call.
|
|
68656
|
+
*
|
|
68657
|
+
* This field must be updated as a whole; updating individual sub-fields is not supported.
|
|
68658
|
+
* When setting the update mask in `UpdateWorkflowExecutionOptionsRequest`,
|
|
68659
|
+
* `BatchOperationUpdateWorkflowExecutionOptions`, etc., use a mask that covers the entire field.
|
|
66607
68660
|
*/
|
|
66608
|
-
timeSkippingConfig?: (temporal.api.
|
|
68661
|
+
timeSkippingConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
66609
68662
|
}
|
|
66610
68663
|
/** Represents a WorkflowExecutionOptions. */
|
|
66611
68664
|
class WorkflowExecutionOptions implements IWorkflowExecutionOptions {
|
|
@@ -66619,11 +68672,17 @@ declare namespace temporal {
|
|
|
66619
68672
|
/** If set, overrides the workflow's priority sent by the SDK. */
|
|
66620
68673
|
public priority?: (temporal.api.common.v1.IPriority | null);
|
|
66621
68674
|
/**
|
|
66622
|
-
*
|
|
66623
|
-
*
|
|
66624
|
-
* the
|
|
68675
|
+
* The time-skipping configuration for this workflow execution.
|
|
68676
|
+
* When `fast_forward` is set, time will be fast-forwarded to a future point relative
|
|
68677
|
+
* to the current workflow timestamp. Each call takes effect, even if
|
|
68678
|
+
* `fast_forward` is set to the same duration, since the target time is recalculated
|
|
68679
|
+
* from the current timestamp on every call.
|
|
68680
|
+
*
|
|
68681
|
+
* This field must be updated as a whole; updating individual sub-fields is not supported.
|
|
68682
|
+
* When setting the update mask in `UpdateWorkflowExecutionOptionsRequest`,
|
|
68683
|
+
* `BatchOperationUpdateWorkflowExecutionOptions`, etc., use a mask that covers the entire field.
|
|
66625
68684
|
*/
|
|
66626
|
-
public timeSkippingConfig?: (temporal.api.
|
|
68685
|
+
public timeSkippingConfig?: (temporal.api.common.v1.ITimeSkippingConfig | null);
|
|
66627
68686
|
/**
|
|
66628
68687
|
* Creates a new WorkflowExecutionOptions instance using the specified properties.
|
|
66629
68688
|
* @param [properties] Properties to set
|
|
@@ -66692,138 +68751,25 @@ declare namespace temporal {
|
|
|
66692
68751
|
*/
|
|
66693
68752
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
66694
68753
|
}
|
|
66695
|
-
/** Properties of a TimeSkippingConfig. */
|
|
66696
|
-
interface ITimeSkippingConfig {
|
|
66697
|
-
/** Enables or disables time skipping for this workflow execution. */
|
|
66698
|
-
enabled?: (boolean | null);
|
|
66699
|
-
/** Maximum total virtual time that can be skipped. */
|
|
66700
|
-
maxSkippedDuration?: (google.protobuf.IDuration | null);
|
|
66701
|
-
/**
|
|
66702
|
-
* Maximum elapsed time since time skipping was enabled.
|
|
66703
|
-
* This includes both skipped time and real time elapsing.
|
|
66704
|
-
* (-- api-linter: core::0142::time-field-names=disabled --)
|
|
66705
|
-
*/
|
|
66706
|
-
maxElapsedDuration?: (google.protobuf.IDuration | null);
|
|
66707
|
-
}
|
|
66708
|
-
/**
|
|
66709
|
-
* Configuration for time skipping during a workflow execution.
|
|
66710
|
-
* When enabled, virtual time advances automatically whenever there is no in-flight work.
|
|
66711
|
-
* In-flight work includes activities, child workflows, Nexus operations, signal/cancel external workflow operations,
|
|
66712
|
-
* and possibly other features added in the future.
|
|
66713
|
-
* User timers are not classified as in-flight work and will be skipped over.
|
|
66714
|
-
* When time advances, it skips to the earlier of the next user timer or the configured bound, if either exists.
|
|
66715
|
-
*
|
|
66716
|
-
* Propagation behavior of time skipping:
|
|
66717
|
-
* The enabled flag, bound fields, and accumulated skipped duration are propagated to related executions as follows:
|
|
66718
|
-
* (1) Child workflows and continue-as-new: both the configuration and the accumulated skipped duration are
|
|
66719
|
-
* inherited from the current execution. The configured bound is shared between the inherited skipped
|
|
66720
|
-
* duration and any additional duration skipped by the new run.
|
|
66721
|
-
* (2) Retry and cron: the configuration and accumulated skipped duration are inherited as recorded when the
|
|
66722
|
-
* current workflow started; the accumulated skipped duration of the current run is not propagated.
|
|
66723
|
-
* (3) Reset: the new run retains the time-skipping configuration of the current execution. Because reset replays
|
|
66724
|
-
* all events up to the reset point and re-applies any UpdateWorkflowExecutionOptions changes made after that
|
|
66725
|
-
* point, the resulting run ends up with the same final time-skipping configuration as the previous run.
|
|
66726
|
-
*/
|
|
66727
|
-
class TimeSkippingConfig implements ITimeSkippingConfig {
|
|
66728
|
-
/**
|
|
66729
|
-
* Constructs a new TimeSkippingConfig.
|
|
66730
|
-
* @param [properties] Properties to set
|
|
66731
|
-
*/
|
|
66732
|
-
constructor(properties?: temporal.api.workflow.v1.ITimeSkippingConfig);
|
|
66733
|
-
/** Enables or disables time skipping for this workflow execution. */
|
|
66734
|
-
public enabled: boolean;
|
|
66735
|
-
/** Maximum total virtual time that can be skipped. */
|
|
66736
|
-
public maxSkippedDuration?: (google.protobuf.IDuration | null);
|
|
66737
|
-
/**
|
|
66738
|
-
* Maximum elapsed time since time skipping was enabled.
|
|
66739
|
-
* This includes both skipped time and real time elapsing.
|
|
66740
|
-
* (-- api-linter: core::0142::time-field-names=disabled --)
|
|
66741
|
-
*/
|
|
66742
|
-
public maxElapsedDuration?: (google.protobuf.IDuration | null);
|
|
66743
|
-
/**
|
|
66744
|
-
* Optional bound that limits the gap between the virtual time of this execution and wall-clock time.
|
|
66745
|
-
* Once the bound is reached, time skipping is automatically disabled,
|
|
66746
|
-
* but can be re-enabled by setting `enabled` to true via UpdateWorkflowExecutionOptions.
|
|
66747
|
-
* This bound cannot be set to a value smaller than the execution's currently skipped duration.
|
|
66748
|
-
*
|
|
66749
|
-
* This is useful in testing scenarios where a workflow is expected to receive
|
|
66750
|
-
* signals, updates, or other external events while timers are in progress.
|
|
66751
|
-
*/
|
|
66752
|
-
public bound?: ("maxSkippedDuration" | "maxElapsedDuration");
|
|
66753
|
-
/**
|
|
66754
|
-
* Creates a new TimeSkippingConfig instance using the specified properties.
|
|
66755
|
-
* @param [properties] Properties to set
|
|
66756
|
-
* @returns TimeSkippingConfig instance
|
|
66757
|
-
*/
|
|
66758
|
-
public static create(properties?: temporal.api.workflow.v1.ITimeSkippingConfig): temporal.api.workflow.v1.TimeSkippingConfig;
|
|
66759
|
-
/**
|
|
66760
|
-
* Encodes the specified TimeSkippingConfig message. Does not implicitly {@link temporal.api.workflow.v1.TimeSkippingConfig.verify|verify} messages.
|
|
66761
|
-
* @param message TimeSkippingConfig message or plain object to encode
|
|
66762
|
-
* @param [writer] Writer to encode to
|
|
66763
|
-
* @returns Writer
|
|
66764
|
-
*/
|
|
66765
|
-
public static encode(message: temporal.api.workflow.v1.ITimeSkippingConfig, writer?: Writer): Writer;
|
|
66766
|
-
/**
|
|
66767
|
-
* Encodes the specified TimeSkippingConfig message, length delimited. Does not implicitly {@link temporal.api.workflow.v1.TimeSkippingConfig.verify|verify} messages.
|
|
66768
|
-
* @param message TimeSkippingConfig message or plain object to encode
|
|
66769
|
-
* @param [writer] Writer to encode to
|
|
66770
|
-
* @returns Writer
|
|
66771
|
-
*/
|
|
66772
|
-
public static encodeDelimited(message: temporal.api.workflow.v1.ITimeSkippingConfig, writer?: Writer): Writer;
|
|
66773
|
-
/**
|
|
66774
|
-
* Decodes a TimeSkippingConfig message from the specified reader or buffer.
|
|
66775
|
-
* @param reader Reader or buffer to decode from
|
|
66776
|
-
* @param [length] Message length if known beforehand
|
|
66777
|
-
* @returns TimeSkippingConfig
|
|
66778
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
66779
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
66780
|
-
*/
|
|
66781
|
-
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.workflow.v1.TimeSkippingConfig;
|
|
66782
|
-
/**
|
|
66783
|
-
* Decodes a TimeSkippingConfig message from the specified reader or buffer, length delimited.
|
|
66784
|
-
* @param reader Reader or buffer to decode from
|
|
66785
|
-
* @returns TimeSkippingConfig
|
|
66786
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
66787
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
66788
|
-
*/
|
|
66789
|
-
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.workflow.v1.TimeSkippingConfig;
|
|
66790
|
-
/**
|
|
66791
|
-
* Creates a TimeSkippingConfig message from a plain object. Also converts values to their respective internal types.
|
|
66792
|
-
* @param object Plain object
|
|
66793
|
-
* @returns TimeSkippingConfig
|
|
66794
|
-
*/
|
|
66795
|
-
public static fromObject(object: {
|
|
66796
|
-
[k: string]: any;
|
|
66797
|
-
}): temporal.api.workflow.v1.TimeSkippingConfig;
|
|
66798
|
-
/**
|
|
66799
|
-
* Creates a plain object from a TimeSkippingConfig message. Also converts values to other types if specified.
|
|
66800
|
-
* @param message TimeSkippingConfig
|
|
66801
|
-
* @param [options] Conversion options
|
|
66802
|
-
* @returns Plain object
|
|
66803
|
-
*/
|
|
66804
|
-
public static toObject(message: temporal.api.workflow.v1.TimeSkippingConfig, options?: IConversionOptions): {
|
|
66805
|
-
[k: string]: any;
|
|
66806
|
-
};
|
|
66807
|
-
/**
|
|
66808
|
-
* Converts this TimeSkippingConfig to JSON.
|
|
66809
|
-
* @returns JSON object
|
|
66810
|
-
*/
|
|
66811
|
-
public toJSON(): {
|
|
66812
|
-
[k: string]: any;
|
|
66813
|
-
};
|
|
66814
|
-
/**
|
|
66815
|
-
* Gets the default type url for TimeSkippingConfig
|
|
66816
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
66817
|
-
* @returns The default type url
|
|
66818
|
-
*/
|
|
66819
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
66820
|
-
}
|
|
66821
68754
|
/** Properties of a VersioningOverride. */
|
|
66822
68755
|
interface IVersioningOverride {
|
|
66823
|
-
/**
|
|
68756
|
+
/**
|
|
68757
|
+
* Override the workflow to have Pinned behavior. This is a sticky override:
|
|
68758
|
+
* Workflow Tasks continue to route according to this override until it is
|
|
68759
|
+
* explicitly removed.
|
|
68760
|
+
*/
|
|
66824
68761
|
pinned?: (temporal.api.workflow.v1.VersioningOverride.IPinnedOverride | null);
|
|
66825
68762
|
/** Override the workflow to have AutoUpgrade behavior. */
|
|
66826
68763
|
autoUpgrade?: (boolean | null);
|
|
68764
|
+
/**
|
|
68765
|
+
* Override Workflow Task routing to a specific Worker Deployment Version until
|
|
68766
|
+
* one Workflow Task completes there. After completion, the workflow execution's
|
|
68767
|
+
* Versioning Behavior and Deployment Version come from the worker's completion
|
|
68768
|
+
* response.
|
|
68769
|
+
* (-- api-linter: core::0142::time-field-type=disabled
|
|
68770
|
+
* aip.dev/not-precedent: one_time describes one-time routing semantics, not a timestamp or duration. --)
|
|
68771
|
+
*/
|
|
68772
|
+
oneTime?: (temporal.api.workflow.v1.VersioningOverride.IOneTimeOverride | null);
|
|
66827
68773
|
/**
|
|
66828
68774
|
* Required.
|
|
66829
68775
|
* Deprecated. Use `override`.
|
|
@@ -66860,10 +68806,23 @@ declare namespace temporal {
|
|
|
66860
68806
|
* @param [properties] Properties to set
|
|
66861
68807
|
*/
|
|
66862
68808
|
constructor(properties?: temporal.api.workflow.v1.IVersioningOverride);
|
|
66863
|
-
/**
|
|
68809
|
+
/**
|
|
68810
|
+
* Override the workflow to have Pinned behavior. This is a sticky override:
|
|
68811
|
+
* Workflow Tasks continue to route according to this override until it is
|
|
68812
|
+
* explicitly removed.
|
|
68813
|
+
*/
|
|
66864
68814
|
public pinned?: (temporal.api.workflow.v1.VersioningOverride.IPinnedOverride | null);
|
|
66865
68815
|
/** Override the workflow to have AutoUpgrade behavior. */
|
|
66866
68816
|
public autoUpgrade?: (boolean | null);
|
|
68817
|
+
/**
|
|
68818
|
+
* Override Workflow Task routing to a specific Worker Deployment Version until
|
|
68819
|
+
* one Workflow Task completes there. After completion, the workflow execution's
|
|
68820
|
+
* Versioning Behavior and Deployment Version come from the worker's completion
|
|
68821
|
+
* response.
|
|
68822
|
+
* (-- api-linter: core::0142::time-field-type=disabled
|
|
68823
|
+
* aip.dev/not-precedent: one_time describes one-time routing semantics, not a timestamp or duration. --)
|
|
68824
|
+
*/
|
|
68825
|
+
public oneTime?: (temporal.api.workflow.v1.VersioningOverride.IOneTimeOverride | null);
|
|
66867
68826
|
/**
|
|
66868
68827
|
* Required.
|
|
66869
68828
|
* Deprecated. Use `override`.
|
|
@@ -66883,7 +68842,7 @@ declare namespace temporal {
|
|
|
66883
68842
|
*/
|
|
66884
68843
|
public pinnedVersion: string;
|
|
66885
68844
|
/** Indicates whether to override the workflow to be AutoUpgrade or Pinned. */
|
|
66886
|
-
public override?: ("pinned" | "autoUpgrade");
|
|
68845
|
+
public override?: ("pinned" | "autoUpgrade" | "oneTime");
|
|
66887
68846
|
/**
|
|
66888
68847
|
* Creates a new VersioningOverride instance using the specified properties.
|
|
66889
68848
|
* @param [properties] Properties to set
|
|
@@ -67063,6 +69022,108 @@ declare namespace temporal {
|
|
|
67063
69022
|
*/
|
|
67064
69023
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
67065
69024
|
}
|
|
69025
|
+
/** Properties of an OneTimeOverride. */
|
|
69026
|
+
interface IOneTimeOverride {
|
|
69027
|
+
/** Required. Worker Deployment Version to receive the one-time Workflow Task. */
|
|
69028
|
+
targetDeploymentVersion?: (temporal.api.deployment.v1.IWorkerDeploymentVersion | null);
|
|
69029
|
+
}
|
|
69030
|
+
/**
|
|
69031
|
+
* Routes Workflow Tasks for this execution to `target_deployment_version`
|
|
69032
|
+
* until a Workflow Task completes on that version, then clears the override.
|
|
69033
|
+
*
|
|
69034
|
+
* This does not force the workflow's normal Versioning Behavior to become
|
|
69035
|
+
* Pinned. After the Workflow Task completes on `target_deployment_version`,
|
|
69036
|
+
* the workflow execution's normal Versioning Behavior and Deployment Version
|
|
69037
|
+
* are taken from the worker's completion response.
|
|
69038
|
+
*
|
|
69039
|
+
* Example: if an execution is one-time moved from version X to version Y, and
|
|
69040
|
+
* version Z later becomes current:
|
|
69041
|
+
* - if worker Y reports Pinned, the execution stays on Y;
|
|
69042
|
+
* - if worker Y reports AutoUpgrade, the execution routes to Z on a future
|
|
69043
|
+
* Workflow Task;
|
|
69044
|
+
* - if worker Y reports Pinned and the workflow uses upgrade-on-continue-as-new,
|
|
69045
|
+
* the current run stays on Y and the execution can route to Z after
|
|
69046
|
+
* continue-as-new.
|
|
69047
|
+
*
|
|
69048
|
+
* If no Workflow Task completes on `target_deployment_version`, this override
|
|
69049
|
+
* remains pending.
|
|
69050
|
+
*/
|
|
69051
|
+
class OneTimeOverride implements IOneTimeOverride {
|
|
69052
|
+
/**
|
|
69053
|
+
* Constructs a new OneTimeOverride.
|
|
69054
|
+
* @param [properties] Properties to set
|
|
69055
|
+
*/
|
|
69056
|
+
constructor(properties?: temporal.api.workflow.v1.VersioningOverride.IOneTimeOverride);
|
|
69057
|
+
/** Required. Worker Deployment Version to receive the one-time Workflow Task. */
|
|
69058
|
+
public targetDeploymentVersion?: (temporal.api.deployment.v1.IWorkerDeploymentVersion | null);
|
|
69059
|
+
/**
|
|
69060
|
+
* Creates a new OneTimeOverride instance using the specified properties.
|
|
69061
|
+
* @param [properties] Properties to set
|
|
69062
|
+
* @returns OneTimeOverride instance
|
|
69063
|
+
*/
|
|
69064
|
+
public static create(properties?: temporal.api.workflow.v1.VersioningOverride.IOneTimeOverride): temporal.api.workflow.v1.VersioningOverride.OneTimeOverride;
|
|
69065
|
+
/**
|
|
69066
|
+
* Encodes the specified OneTimeOverride message. Does not implicitly {@link temporal.api.workflow.v1.VersioningOverride.OneTimeOverride.verify|verify} messages.
|
|
69067
|
+
* @param message OneTimeOverride message or plain object to encode
|
|
69068
|
+
* @param [writer] Writer to encode to
|
|
69069
|
+
* @returns Writer
|
|
69070
|
+
*/
|
|
69071
|
+
public static encode(message: temporal.api.workflow.v1.VersioningOverride.IOneTimeOverride, writer?: Writer): Writer;
|
|
69072
|
+
/**
|
|
69073
|
+
* Encodes the specified OneTimeOverride message, length delimited. Does not implicitly {@link temporal.api.workflow.v1.VersioningOverride.OneTimeOverride.verify|verify} messages.
|
|
69074
|
+
* @param message OneTimeOverride message or plain object to encode
|
|
69075
|
+
* @param [writer] Writer to encode to
|
|
69076
|
+
* @returns Writer
|
|
69077
|
+
*/
|
|
69078
|
+
public static encodeDelimited(message: temporal.api.workflow.v1.VersioningOverride.IOneTimeOverride, writer?: Writer): Writer;
|
|
69079
|
+
/**
|
|
69080
|
+
* Decodes an OneTimeOverride message from the specified reader or buffer.
|
|
69081
|
+
* @param reader Reader or buffer to decode from
|
|
69082
|
+
* @param [length] Message length if known beforehand
|
|
69083
|
+
* @returns OneTimeOverride
|
|
69084
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
69085
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
69086
|
+
*/
|
|
69087
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.workflow.v1.VersioningOverride.OneTimeOverride;
|
|
69088
|
+
/**
|
|
69089
|
+
* Decodes an OneTimeOverride message from the specified reader or buffer, length delimited.
|
|
69090
|
+
* @param reader Reader or buffer to decode from
|
|
69091
|
+
* @returns OneTimeOverride
|
|
69092
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
69093
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
69094
|
+
*/
|
|
69095
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.workflow.v1.VersioningOverride.OneTimeOverride;
|
|
69096
|
+
/**
|
|
69097
|
+
* Creates an OneTimeOverride message from a plain object. Also converts values to their respective internal types.
|
|
69098
|
+
* @param object Plain object
|
|
69099
|
+
* @returns OneTimeOverride
|
|
69100
|
+
*/
|
|
69101
|
+
public static fromObject(object: {
|
|
69102
|
+
[k: string]: any;
|
|
69103
|
+
}): temporal.api.workflow.v1.VersioningOverride.OneTimeOverride;
|
|
69104
|
+
/**
|
|
69105
|
+
* Creates a plain object from an OneTimeOverride message. Also converts values to other types if specified.
|
|
69106
|
+
* @param message OneTimeOverride
|
|
69107
|
+
* @param [options] Conversion options
|
|
69108
|
+
* @returns Plain object
|
|
69109
|
+
*/
|
|
69110
|
+
public static toObject(message: temporal.api.workflow.v1.VersioningOverride.OneTimeOverride, options?: IConversionOptions): {
|
|
69111
|
+
[k: string]: any;
|
|
69112
|
+
};
|
|
69113
|
+
/**
|
|
69114
|
+
* Converts this OneTimeOverride to JSON.
|
|
69115
|
+
* @returns JSON object
|
|
69116
|
+
*/
|
|
69117
|
+
public toJSON(): {
|
|
69118
|
+
[k: string]: any;
|
|
69119
|
+
};
|
|
69120
|
+
/**
|
|
69121
|
+
* Gets the default type url for OneTimeOverride
|
|
69122
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
69123
|
+
* @returns The default type url
|
|
69124
|
+
*/
|
|
69125
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
69126
|
+
}
|
|
67066
69127
|
/** PinnedOverrideBehavior enum. */
|
|
67067
69128
|
enum PinnedOverrideBehavior {
|
|
67068
69129
|
PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED = 0,
|
|
@@ -69067,6 +71128,11 @@ declare namespace temporal {
|
|
|
69067
71128
|
* present, they inherit the values from the workflow.
|
|
69068
71129
|
*/
|
|
69069
71130
|
priority?: (temporal.api.common.v1.IPriority | null);
|
|
71131
|
+
/**
|
|
71132
|
+
* Versioning override for the child workflow. If present, this explicit override takes
|
|
71133
|
+
* precedence over versioning behavior inherited from the parent workflow.
|
|
71134
|
+
*/
|
|
71135
|
+
versioningOverride?: (temporal.api.workflow.v1.IVersioningOverride | null);
|
|
69070
71136
|
}
|
|
69071
71137
|
/** Represents a StartChildWorkflowExecutionCommandAttributes. */
|
|
69072
71138
|
class StartChildWorkflowExecutionCommandAttributes implements IStartChildWorkflowExecutionCommandAttributes {
|
|
@@ -69118,6 +71184,11 @@ declare namespace temporal {
|
|
|
69118
71184
|
* present, they inherit the values from the workflow.
|
|
69119
71185
|
*/
|
|
69120
71186
|
public priority?: (temporal.api.common.v1.IPriority | null);
|
|
71187
|
+
/**
|
|
71188
|
+
* Versioning override for the child workflow. If present, this explicit override takes
|
|
71189
|
+
* precedence over versioning behavior inherited from the parent workflow.
|
|
71190
|
+
*/
|
|
71191
|
+
public versioningOverride?: (temporal.api.workflow.v1.IVersioningOverride | null);
|
|
69121
71192
|
/**
|
|
69122
71193
|
* Creates a new StartChildWorkflowExecutionCommandAttributes instance using the specified properties.
|
|
69123
71194
|
* @param [properties] Properties to set
|
|
@@ -69559,6 +71630,8 @@ declare namespace temporal {
|
|
|
69559
71630
|
* started where the summary is used to identify the timer.
|
|
69560
71631
|
*/
|
|
69561
71632
|
userMetadata?: (temporal.api.sdk.v1.IUserMetadata | null);
|
|
71633
|
+
/** Event Group Markers attached to the command by the workflow author. */
|
|
71634
|
+
eventGroupMarkers?: (temporal.api.sdk.v1.IEventGroupMarker[] | null);
|
|
69562
71635
|
/** Command scheduleActivityTaskCommandAttributes */
|
|
69563
71636
|
scheduleActivityTaskCommandAttributes?: (temporal.api.command.v1.IScheduleActivityTaskCommandAttributes | null);
|
|
69564
71637
|
/** Command startTimerCommandAttributes */
|
|
@@ -69616,6 +71689,8 @@ declare namespace temporal {
|
|
|
69616
71689
|
* started where the summary is used to identify the timer.
|
|
69617
71690
|
*/
|
|
69618
71691
|
public userMetadata?: (temporal.api.sdk.v1.IUserMetadata | null);
|
|
71692
|
+
/** Event Group Markers attached to the command by the workflow author. */
|
|
71693
|
+
public eventGroupMarkers: temporal.api.sdk.v1.IEventGroupMarker[];
|
|
69619
71694
|
/** Command scheduleActivityTaskCommandAttributes. */
|
|
69620
71695
|
public scheduleActivityTaskCommandAttributes?: (temporal.api.command.v1.IScheduleActivityTaskCommandAttributes | null);
|
|
69621
71696
|
/** Command startTimerCommandAttributes. */
|
|
@@ -70350,6 +72425,16 @@ declare namespace temporal {
|
|
|
70350
72425
|
standaloneNexusOperation?: (boolean | null);
|
|
70351
72426
|
/** True if the namespace supports attaching callbacks on workflow updates */
|
|
70352
72427
|
workflowUpdateCallbacks?: (boolean | null);
|
|
72428
|
+
/** When true, workers should use poller autoscaling by default unless explicitly configured otherwise. */
|
|
72429
|
+
pollerAutoscalingAutoEnroll?: (boolean | null);
|
|
72430
|
+
/** True if the namespace supports pagination of `RespondWorkflowTaskCompleted` request. */
|
|
72431
|
+
workflowTaskCompletionPagination?: (boolean | null);
|
|
72432
|
+
/** True if the namespace supports start delay for standalone activities. */
|
|
72433
|
+
standaloneActivityStartDelay?: (boolean | null);
|
|
72434
|
+
/** True if the namespace supports batch operations for standalone activities. */
|
|
72435
|
+
standaloneActivityBatchOperations?: (boolean | null);
|
|
72436
|
+
/** True if the namespace supports standalone activity operator commands. */
|
|
72437
|
+
standaloneActivityOperatorCommands?: (boolean | null);
|
|
70353
72438
|
}
|
|
70354
72439
|
/** Namespace capability details. Should contain what features are enabled in a namespace. */
|
|
70355
72440
|
class Capabilities implements ICapabilities {
|
|
@@ -70388,6 +72473,16 @@ declare namespace temporal {
|
|
|
70388
72473
|
public standaloneNexusOperation: boolean;
|
|
70389
72474
|
/** True if the namespace supports attaching callbacks on workflow updates */
|
|
70390
72475
|
public workflowUpdateCallbacks: boolean;
|
|
72476
|
+
/** When true, workers should use poller autoscaling by default unless explicitly configured otherwise. */
|
|
72477
|
+
public pollerAutoscalingAutoEnroll: boolean;
|
|
72478
|
+
/** True if the namespace supports pagination of `RespondWorkflowTaskCompleted` request. */
|
|
72479
|
+
public workflowTaskCompletionPagination: boolean;
|
|
72480
|
+
/** True if the namespace supports start delay for standalone activities. */
|
|
72481
|
+
public standaloneActivityStartDelay: boolean;
|
|
72482
|
+
/** True if the namespace supports batch operations for standalone activities. */
|
|
72483
|
+
public standaloneActivityBatchOperations: boolean;
|
|
72484
|
+
/** True if the namespace supports standalone activity operator commands. */
|
|
72485
|
+
public standaloneActivityOperatorCommands: boolean;
|
|
70391
72486
|
/**
|
|
70392
72487
|
* Creates a new Capabilities instance using the specified properties.
|
|
70393
72488
|
* @param [properties] Properties to set
|
|
@@ -70466,6 +72561,12 @@ declare namespace temporal {
|
|
|
70466
72561
|
blobSizeLimitError?: (Long | null);
|
|
70467
72562
|
/** Maximum total memo size in bytes per workflow execution. */
|
|
70468
72563
|
memoSizeLimitError?: (Long | null);
|
|
72564
|
+
/**
|
|
72565
|
+
* Maximum total size in bytes of a single RespondWorkflowTaskCompleted request.
|
|
72566
|
+
* Requests exceeding this fail the workflow task with
|
|
72567
|
+
* WORKFLOW_TASK_FAILED_CAUSE_REQUEST_TOO_LARGE. 0 means no explicit limit.
|
|
72568
|
+
*/
|
|
72569
|
+
workflowTaskCompletionSizeLimitError?: (Long | null);
|
|
70469
72570
|
}
|
|
70470
72571
|
/** Represents a Limits. */
|
|
70471
72572
|
class Limits implements ILimits {
|
|
@@ -70482,6 +72583,12 @@ declare namespace temporal {
|
|
|
70482
72583
|
public blobSizeLimitError: Long;
|
|
70483
72584
|
/** Maximum total memo size in bytes per workflow execution. */
|
|
70484
72585
|
public memoSizeLimitError: Long;
|
|
72586
|
+
/**
|
|
72587
|
+
* Maximum total size in bytes of a single RespondWorkflowTaskCompleted request.
|
|
72588
|
+
* Requests exceeding this fail the workflow task with
|
|
72589
|
+
* WORKFLOW_TASK_FAILED_CAUSE_REQUEST_TOO_LARGE. 0 means no explicit limit.
|
|
72590
|
+
*/
|
|
72591
|
+
public workflowTaskCompletionSizeLimitError: Long;
|
|
70485
72592
|
/**
|
|
70486
72593
|
* Creates a new Limits instance using the specified properties.
|
|
70487
72594
|
* @param [properties] Properties to set
|
|
@@ -74341,6 +76448,8 @@ declare namespace temporal {
|
|
|
74341
76448
|
startTime?: (google.protobuf.ITimestamp | null);
|
|
74342
76449
|
/** Batch operation close time */
|
|
74343
76450
|
closeTime?: (google.protobuf.ITimestamp | null);
|
|
76451
|
+
/** Operation type */
|
|
76452
|
+
operationType?: (temporal.api.enums.v1.BatchOperationType | null);
|
|
74344
76453
|
}
|
|
74345
76454
|
/** Represents a BatchOperationInfo. */
|
|
74346
76455
|
class BatchOperationInfo implements IBatchOperationInfo {
|
|
@@ -74357,6 +76466,8 @@ declare namespace temporal {
|
|
|
74357
76466
|
public startTime?: (google.protobuf.ITimestamp | null);
|
|
74358
76467
|
/** Batch operation close time */
|
|
74359
76468
|
public closeTime?: (google.protobuf.ITimestamp | null);
|
|
76469
|
+
/** Operation type */
|
|
76470
|
+
public operationType: temporal.api.enums.v1.BatchOperationType;
|
|
74360
76471
|
/**
|
|
74361
76472
|
* Creates a new BatchOperationInfo instance using the specified properties.
|
|
74362
76473
|
* @param [properties] Properties to set
|
|
@@ -74515,6 +76626,101 @@ declare namespace temporal {
|
|
|
74515
76626
|
*/
|
|
74516
76627
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
74517
76628
|
}
|
|
76629
|
+
/** Properties of a BatchOperationTerminateActivities. */
|
|
76630
|
+
interface IBatchOperationTerminateActivities {
|
|
76631
|
+
/** The identity of the worker/client */
|
|
76632
|
+
identity?: (string | null);
|
|
76633
|
+
/**
|
|
76634
|
+
* Reason for requesting the termination, recorded and available via the PollActivityExecution API.
|
|
76635
|
+
* Not propagated to a worker if an activity attempt is currently running.
|
|
76636
|
+
*/
|
|
76637
|
+
reason?: (string | null);
|
|
76638
|
+
}
|
|
76639
|
+
/**
|
|
76640
|
+
* BatchOperationTerminateActivities sends terminate requests to a batch of activities.
|
|
76641
|
+
* Keep the parameter in sync with temporal.api.workflowservice.v1.TerminateActivityExecutionRequest.
|
|
76642
|
+
*/
|
|
76643
|
+
class BatchOperationTerminateActivities implements IBatchOperationTerminateActivities {
|
|
76644
|
+
/**
|
|
76645
|
+
* Constructs a new BatchOperationTerminateActivities.
|
|
76646
|
+
* @param [properties] Properties to set
|
|
76647
|
+
*/
|
|
76648
|
+
constructor(properties?: temporal.api.batch.v1.IBatchOperationTerminateActivities);
|
|
76649
|
+
/** The identity of the worker/client */
|
|
76650
|
+
public identity: string;
|
|
76651
|
+
/**
|
|
76652
|
+
* Reason for requesting the termination, recorded and available via the PollActivityExecution API.
|
|
76653
|
+
* Not propagated to a worker if an activity attempt is currently running.
|
|
76654
|
+
*/
|
|
76655
|
+
public reason: string;
|
|
76656
|
+
/**
|
|
76657
|
+
* Creates a new BatchOperationTerminateActivities instance using the specified properties.
|
|
76658
|
+
* @param [properties] Properties to set
|
|
76659
|
+
* @returns BatchOperationTerminateActivities instance
|
|
76660
|
+
*/
|
|
76661
|
+
public static create(properties?: temporal.api.batch.v1.IBatchOperationTerminateActivities): temporal.api.batch.v1.BatchOperationTerminateActivities;
|
|
76662
|
+
/**
|
|
76663
|
+
* Encodes the specified BatchOperationTerminateActivities message. Does not implicitly {@link temporal.api.batch.v1.BatchOperationTerminateActivities.verify|verify} messages.
|
|
76664
|
+
* @param message BatchOperationTerminateActivities message or plain object to encode
|
|
76665
|
+
* @param [writer] Writer to encode to
|
|
76666
|
+
* @returns Writer
|
|
76667
|
+
*/
|
|
76668
|
+
public static encode(message: temporal.api.batch.v1.IBatchOperationTerminateActivities, writer?: Writer): Writer;
|
|
76669
|
+
/**
|
|
76670
|
+
* Encodes the specified BatchOperationTerminateActivities message, length delimited. Does not implicitly {@link temporal.api.batch.v1.BatchOperationTerminateActivities.verify|verify} messages.
|
|
76671
|
+
* @param message BatchOperationTerminateActivities message or plain object to encode
|
|
76672
|
+
* @param [writer] Writer to encode to
|
|
76673
|
+
* @returns Writer
|
|
76674
|
+
*/
|
|
76675
|
+
public static encodeDelimited(message: temporal.api.batch.v1.IBatchOperationTerminateActivities, writer?: Writer): Writer;
|
|
76676
|
+
/**
|
|
76677
|
+
* Decodes a BatchOperationTerminateActivities message from the specified reader or buffer.
|
|
76678
|
+
* @param reader Reader or buffer to decode from
|
|
76679
|
+
* @param [length] Message length if known beforehand
|
|
76680
|
+
* @returns BatchOperationTerminateActivities
|
|
76681
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76682
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76683
|
+
*/
|
|
76684
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.batch.v1.BatchOperationTerminateActivities;
|
|
76685
|
+
/**
|
|
76686
|
+
* Decodes a BatchOperationTerminateActivities message from the specified reader or buffer, length delimited.
|
|
76687
|
+
* @param reader Reader or buffer to decode from
|
|
76688
|
+
* @returns BatchOperationTerminateActivities
|
|
76689
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76690
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76691
|
+
*/
|
|
76692
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.batch.v1.BatchOperationTerminateActivities;
|
|
76693
|
+
/**
|
|
76694
|
+
* Creates a BatchOperationTerminateActivities message from a plain object. Also converts values to their respective internal types.
|
|
76695
|
+
* @param object Plain object
|
|
76696
|
+
* @returns BatchOperationTerminateActivities
|
|
76697
|
+
*/
|
|
76698
|
+
public static fromObject(object: {
|
|
76699
|
+
[k: string]: any;
|
|
76700
|
+
}): temporal.api.batch.v1.BatchOperationTerminateActivities;
|
|
76701
|
+
/**
|
|
76702
|
+
* Creates a plain object from a BatchOperationTerminateActivities message. Also converts values to other types if specified.
|
|
76703
|
+
* @param message BatchOperationTerminateActivities
|
|
76704
|
+
* @param [options] Conversion options
|
|
76705
|
+
* @returns Plain object
|
|
76706
|
+
*/
|
|
76707
|
+
public static toObject(message: temporal.api.batch.v1.BatchOperationTerminateActivities, options?: IConversionOptions): {
|
|
76708
|
+
[k: string]: any;
|
|
76709
|
+
};
|
|
76710
|
+
/**
|
|
76711
|
+
* Converts this BatchOperationTerminateActivities to JSON.
|
|
76712
|
+
* @returns JSON object
|
|
76713
|
+
*/
|
|
76714
|
+
public toJSON(): {
|
|
76715
|
+
[k: string]: any;
|
|
76716
|
+
};
|
|
76717
|
+
/**
|
|
76718
|
+
* Gets the default type url for BatchOperationTerminateActivities
|
|
76719
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
76720
|
+
* @returns The default type url
|
|
76721
|
+
*/
|
|
76722
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
76723
|
+
}
|
|
74518
76724
|
/** Properties of a BatchOperationSignal. */
|
|
74519
76725
|
interface IBatchOperationSignal {
|
|
74520
76726
|
/** The workflow author-defined name of the signal to send to the workflow */
|
|
@@ -74704,6 +76910,101 @@ declare namespace temporal {
|
|
|
74704
76910
|
*/
|
|
74705
76911
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
74706
76912
|
}
|
|
76913
|
+
/** Properties of a BatchOperationCancelActivities. */
|
|
76914
|
+
interface IBatchOperationCancelActivities {
|
|
76915
|
+
/** The identity of the worker/client */
|
|
76916
|
+
identity?: (string | null);
|
|
76917
|
+
/**
|
|
76918
|
+
* Reason for requesting the cancellation, recorded and available via the PollActivityExecution API.
|
|
76919
|
+
* Not propagated to a worker if an activity attempt is currently running.
|
|
76920
|
+
*/
|
|
76921
|
+
reason?: (string | null);
|
|
76922
|
+
}
|
|
76923
|
+
/**
|
|
76924
|
+
* BatchOperationCancelActivities sends cancel requests to a batch of activities.
|
|
76925
|
+
* Keep the parameter in sync with temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest.
|
|
76926
|
+
*/
|
|
76927
|
+
class BatchOperationCancelActivities implements IBatchOperationCancelActivities {
|
|
76928
|
+
/**
|
|
76929
|
+
* Constructs a new BatchOperationCancelActivities.
|
|
76930
|
+
* @param [properties] Properties to set
|
|
76931
|
+
*/
|
|
76932
|
+
constructor(properties?: temporal.api.batch.v1.IBatchOperationCancelActivities);
|
|
76933
|
+
/** The identity of the worker/client */
|
|
76934
|
+
public identity: string;
|
|
76935
|
+
/**
|
|
76936
|
+
* Reason for requesting the cancellation, recorded and available via the PollActivityExecution API.
|
|
76937
|
+
* Not propagated to a worker if an activity attempt is currently running.
|
|
76938
|
+
*/
|
|
76939
|
+
public reason: string;
|
|
76940
|
+
/**
|
|
76941
|
+
* Creates a new BatchOperationCancelActivities instance using the specified properties.
|
|
76942
|
+
* @param [properties] Properties to set
|
|
76943
|
+
* @returns BatchOperationCancelActivities instance
|
|
76944
|
+
*/
|
|
76945
|
+
public static create(properties?: temporal.api.batch.v1.IBatchOperationCancelActivities): temporal.api.batch.v1.BatchOperationCancelActivities;
|
|
76946
|
+
/**
|
|
76947
|
+
* Encodes the specified BatchOperationCancelActivities message. Does not implicitly {@link temporal.api.batch.v1.BatchOperationCancelActivities.verify|verify} messages.
|
|
76948
|
+
* @param message BatchOperationCancelActivities message or plain object to encode
|
|
76949
|
+
* @param [writer] Writer to encode to
|
|
76950
|
+
* @returns Writer
|
|
76951
|
+
*/
|
|
76952
|
+
public static encode(message: temporal.api.batch.v1.IBatchOperationCancelActivities, writer?: Writer): Writer;
|
|
76953
|
+
/**
|
|
76954
|
+
* Encodes the specified BatchOperationCancelActivities message, length delimited. Does not implicitly {@link temporal.api.batch.v1.BatchOperationCancelActivities.verify|verify} messages.
|
|
76955
|
+
* @param message BatchOperationCancelActivities message or plain object to encode
|
|
76956
|
+
* @param [writer] Writer to encode to
|
|
76957
|
+
* @returns Writer
|
|
76958
|
+
*/
|
|
76959
|
+
public static encodeDelimited(message: temporal.api.batch.v1.IBatchOperationCancelActivities, writer?: Writer): Writer;
|
|
76960
|
+
/**
|
|
76961
|
+
* Decodes a BatchOperationCancelActivities message from the specified reader or buffer.
|
|
76962
|
+
* @param reader Reader or buffer to decode from
|
|
76963
|
+
* @param [length] Message length if known beforehand
|
|
76964
|
+
* @returns BatchOperationCancelActivities
|
|
76965
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76966
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76967
|
+
*/
|
|
76968
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.batch.v1.BatchOperationCancelActivities;
|
|
76969
|
+
/**
|
|
76970
|
+
* Decodes a BatchOperationCancelActivities message from the specified reader or buffer, length delimited.
|
|
76971
|
+
* @param reader Reader or buffer to decode from
|
|
76972
|
+
* @returns BatchOperationCancelActivities
|
|
76973
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76974
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76975
|
+
*/
|
|
76976
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.batch.v1.BatchOperationCancelActivities;
|
|
76977
|
+
/**
|
|
76978
|
+
* Creates a BatchOperationCancelActivities message from a plain object. Also converts values to their respective internal types.
|
|
76979
|
+
* @param object Plain object
|
|
76980
|
+
* @returns BatchOperationCancelActivities
|
|
76981
|
+
*/
|
|
76982
|
+
public static fromObject(object: {
|
|
76983
|
+
[k: string]: any;
|
|
76984
|
+
}): temporal.api.batch.v1.BatchOperationCancelActivities;
|
|
76985
|
+
/**
|
|
76986
|
+
* Creates a plain object from a BatchOperationCancelActivities message. Also converts values to other types if specified.
|
|
76987
|
+
* @param message BatchOperationCancelActivities
|
|
76988
|
+
* @param [options] Conversion options
|
|
76989
|
+
* @returns Plain object
|
|
76990
|
+
*/
|
|
76991
|
+
public static toObject(message: temporal.api.batch.v1.BatchOperationCancelActivities, options?: IConversionOptions): {
|
|
76992
|
+
[k: string]: any;
|
|
76993
|
+
};
|
|
76994
|
+
/**
|
|
76995
|
+
* Converts this BatchOperationCancelActivities to JSON.
|
|
76996
|
+
* @returns JSON object
|
|
76997
|
+
*/
|
|
76998
|
+
public toJSON(): {
|
|
76999
|
+
[k: string]: any;
|
|
77000
|
+
};
|
|
77001
|
+
/**
|
|
77002
|
+
* Gets the default type url for BatchOperationCancelActivities
|
|
77003
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
77004
|
+
* @returns The default type url
|
|
77005
|
+
*/
|
|
77006
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
77007
|
+
}
|
|
74707
77008
|
/** Properties of a BatchOperationDeletion. */
|
|
74708
77009
|
interface IBatchOperationDeletion {
|
|
74709
77010
|
/** The identity of the worker/client */
|
|
@@ -74789,6 +77090,86 @@ declare namespace temporal {
|
|
|
74789
77090
|
*/
|
|
74790
77091
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
74791
77092
|
}
|
|
77093
|
+
/** Properties of a BatchOperationDeleteActivities. */
|
|
77094
|
+
interface IBatchOperationDeleteActivities {}
|
|
77095
|
+
/**
|
|
77096
|
+
* BatchOperationDeleteActivities sends deletion requests to a batch of activities.
|
|
77097
|
+
* Keep the parameter in sync with temporal.api.workflowservice.v1.DeleteActivityExecutionRequest.
|
|
77098
|
+
*/
|
|
77099
|
+
class BatchOperationDeleteActivities implements IBatchOperationDeleteActivities {
|
|
77100
|
+
/**
|
|
77101
|
+
* Constructs a new BatchOperationDeleteActivities.
|
|
77102
|
+
* @param [properties] Properties to set
|
|
77103
|
+
*/
|
|
77104
|
+
constructor(properties?: temporal.api.batch.v1.IBatchOperationDeleteActivities);
|
|
77105
|
+
/**
|
|
77106
|
+
* Creates a new BatchOperationDeleteActivities instance using the specified properties.
|
|
77107
|
+
* @param [properties] Properties to set
|
|
77108
|
+
* @returns BatchOperationDeleteActivities instance
|
|
77109
|
+
*/
|
|
77110
|
+
public static create(properties?: temporal.api.batch.v1.IBatchOperationDeleteActivities): temporal.api.batch.v1.BatchOperationDeleteActivities;
|
|
77111
|
+
/**
|
|
77112
|
+
* Encodes the specified BatchOperationDeleteActivities message. Does not implicitly {@link temporal.api.batch.v1.BatchOperationDeleteActivities.verify|verify} messages.
|
|
77113
|
+
* @param message BatchOperationDeleteActivities message or plain object to encode
|
|
77114
|
+
* @param [writer] Writer to encode to
|
|
77115
|
+
* @returns Writer
|
|
77116
|
+
*/
|
|
77117
|
+
public static encode(message: temporal.api.batch.v1.IBatchOperationDeleteActivities, writer?: Writer): Writer;
|
|
77118
|
+
/**
|
|
77119
|
+
* Encodes the specified BatchOperationDeleteActivities message, length delimited. Does not implicitly {@link temporal.api.batch.v1.BatchOperationDeleteActivities.verify|verify} messages.
|
|
77120
|
+
* @param message BatchOperationDeleteActivities message or plain object to encode
|
|
77121
|
+
* @param [writer] Writer to encode to
|
|
77122
|
+
* @returns Writer
|
|
77123
|
+
*/
|
|
77124
|
+
public static encodeDelimited(message: temporal.api.batch.v1.IBatchOperationDeleteActivities, writer?: Writer): Writer;
|
|
77125
|
+
/**
|
|
77126
|
+
* Decodes a BatchOperationDeleteActivities message from the specified reader or buffer.
|
|
77127
|
+
* @param reader Reader or buffer to decode from
|
|
77128
|
+
* @param [length] Message length if known beforehand
|
|
77129
|
+
* @returns BatchOperationDeleteActivities
|
|
77130
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
77131
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
77132
|
+
*/
|
|
77133
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.batch.v1.BatchOperationDeleteActivities;
|
|
77134
|
+
/**
|
|
77135
|
+
* Decodes a BatchOperationDeleteActivities message from the specified reader or buffer, length delimited.
|
|
77136
|
+
* @param reader Reader or buffer to decode from
|
|
77137
|
+
* @returns BatchOperationDeleteActivities
|
|
77138
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
77139
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
77140
|
+
*/
|
|
77141
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.batch.v1.BatchOperationDeleteActivities;
|
|
77142
|
+
/**
|
|
77143
|
+
* Creates a BatchOperationDeleteActivities message from a plain object. Also converts values to their respective internal types.
|
|
77144
|
+
* @param object Plain object
|
|
77145
|
+
* @returns BatchOperationDeleteActivities
|
|
77146
|
+
*/
|
|
77147
|
+
public static fromObject(object: {
|
|
77148
|
+
[k: string]: any;
|
|
77149
|
+
}): temporal.api.batch.v1.BatchOperationDeleteActivities;
|
|
77150
|
+
/**
|
|
77151
|
+
* Creates a plain object from a BatchOperationDeleteActivities message. Also converts values to other types if specified.
|
|
77152
|
+
* @param message BatchOperationDeleteActivities
|
|
77153
|
+
* @param [options] Conversion options
|
|
77154
|
+
* @returns Plain object
|
|
77155
|
+
*/
|
|
77156
|
+
public static toObject(message: temporal.api.batch.v1.BatchOperationDeleteActivities, options?: IConversionOptions): {
|
|
77157
|
+
[k: string]: any;
|
|
77158
|
+
};
|
|
77159
|
+
/**
|
|
77160
|
+
* Converts this BatchOperationDeleteActivities to JSON.
|
|
77161
|
+
* @returns JSON object
|
|
77162
|
+
*/
|
|
77163
|
+
public toJSON(): {
|
|
77164
|
+
[k: string]: any;
|
|
77165
|
+
};
|
|
77166
|
+
/**
|
|
77167
|
+
* Gets the default type url for BatchOperationDeleteActivities
|
|
77168
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
77169
|
+
* @returns The default type url
|
|
77170
|
+
*/
|
|
77171
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
77172
|
+
}
|
|
74792
77173
|
/** Properties of a BatchOperationReset. */
|
|
74793
77174
|
interface IBatchOperationReset {
|
|
74794
77175
|
/** The identity of the worker/client. */
|
|
@@ -75861,6 +78242,8 @@ declare namespace temporal {
|
|
|
75861
78242
|
plugins?: (temporal.api.worker.v1.IPluginInfo[] | null);
|
|
75862
78243
|
/** Storage drivers in use by this SDK. */
|
|
75863
78244
|
drivers?: (temporal.api.worker.v1.IStorageDriverInfo[] | null);
|
|
78245
|
+
/** Information about the environment this SDK is running in. */
|
|
78246
|
+
environment?: (temporal.api.worker.v1.IEnvironmentInfo | null);
|
|
75864
78247
|
}
|
|
75865
78248
|
/**
|
|
75866
78249
|
* Worker info message, contains information about the worker and its current state.
|
|
@@ -75934,6 +78317,8 @@ declare namespace temporal {
|
|
|
75934
78317
|
public plugins: temporal.api.worker.v1.IPluginInfo[];
|
|
75935
78318
|
/** Storage drivers in use by this SDK. */
|
|
75936
78319
|
public drivers: temporal.api.worker.v1.IStorageDriverInfo[];
|
|
78320
|
+
/** Information about the environment this SDK is running in. */
|
|
78321
|
+
public environment?: (temporal.api.worker.v1.IEnvironmentInfo | null);
|
|
75937
78322
|
/**
|
|
75938
78323
|
* Creates a new WorkerHeartbeat instance using the specified properties.
|
|
75939
78324
|
* @param [properties] Properties to set
|
|
@@ -76417,6 +78802,686 @@ declare namespace temporal {
|
|
|
76417
78802
|
*/
|
|
76418
78803
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
76419
78804
|
}
|
|
78805
|
+
/** Properties of an EnvironmentInfo. */
|
|
78806
|
+
interface IEnvironmentInfo {
|
|
78807
|
+
/** The runtime(s) the SDK is operating in. */
|
|
78808
|
+
runtimes?: (temporal.api.worker.v1.EnvironmentInfo.IRuntime[] | null);
|
|
78809
|
+
/** The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s). */
|
|
78810
|
+
hostingEnvironments?: (temporal.api.worker.v1.EnvironmentInfo.IHostingEnvironment[] | null);
|
|
78811
|
+
/** The platform the SDK is operating on. */
|
|
78812
|
+
platform?: (temporal.api.worker.v1.EnvironmentInfo.IPlatform | null);
|
|
78813
|
+
}
|
|
78814
|
+
/** Represents an EnvironmentInfo. */
|
|
78815
|
+
class EnvironmentInfo implements IEnvironmentInfo {
|
|
78816
|
+
/**
|
|
78817
|
+
* Constructs a new EnvironmentInfo.
|
|
78818
|
+
* @param [properties] Properties to set
|
|
78819
|
+
*/
|
|
78820
|
+
constructor(properties?: temporal.api.worker.v1.IEnvironmentInfo);
|
|
78821
|
+
/** The runtime(s) the SDK is operating in. */
|
|
78822
|
+
public runtimes: temporal.api.worker.v1.EnvironmentInfo.IRuntime[];
|
|
78823
|
+
/** The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s). */
|
|
78824
|
+
public hostingEnvironments: temporal.api.worker.v1.EnvironmentInfo.IHostingEnvironment[];
|
|
78825
|
+
/** The platform the SDK is operating on. */
|
|
78826
|
+
public platform?: (temporal.api.worker.v1.EnvironmentInfo.IPlatform | null);
|
|
78827
|
+
/**
|
|
78828
|
+
* Creates a new EnvironmentInfo instance using the specified properties.
|
|
78829
|
+
* @param [properties] Properties to set
|
|
78830
|
+
* @returns EnvironmentInfo instance
|
|
78831
|
+
*/
|
|
78832
|
+
public static create(properties?: temporal.api.worker.v1.IEnvironmentInfo): temporal.api.worker.v1.EnvironmentInfo;
|
|
78833
|
+
/**
|
|
78834
|
+
* Encodes the specified EnvironmentInfo message. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.verify|verify} messages.
|
|
78835
|
+
* @param message EnvironmentInfo message or plain object to encode
|
|
78836
|
+
* @param [writer] Writer to encode to
|
|
78837
|
+
* @returns Writer
|
|
78838
|
+
*/
|
|
78839
|
+
public static encode(message: temporal.api.worker.v1.IEnvironmentInfo, writer?: Writer): Writer;
|
|
78840
|
+
/**
|
|
78841
|
+
* Encodes the specified EnvironmentInfo message, length delimited. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.verify|verify} messages.
|
|
78842
|
+
* @param message EnvironmentInfo message or plain object to encode
|
|
78843
|
+
* @param [writer] Writer to encode to
|
|
78844
|
+
* @returns Writer
|
|
78845
|
+
*/
|
|
78846
|
+
public static encodeDelimited(message: temporal.api.worker.v1.IEnvironmentInfo, writer?: Writer): Writer;
|
|
78847
|
+
/**
|
|
78848
|
+
* Decodes an EnvironmentInfo message from the specified reader or buffer.
|
|
78849
|
+
* @param reader Reader or buffer to decode from
|
|
78850
|
+
* @param [length] Message length if known beforehand
|
|
78851
|
+
* @returns EnvironmentInfo
|
|
78852
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
78853
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
78854
|
+
*/
|
|
78855
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.worker.v1.EnvironmentInfo;
|
|
78856
|
+
/**
|
|
78857
|
+
* Decodes an EnvironmentInfo message from the specified reader or buffer, length delimited.
|
|
78858
|
+
* @param reader Reader or buffer to decode from
|
|
78859
|
+
* @returns EnvironmentInfo
|
|
78860
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
78861
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
78862
|
+
*/
|
|
78863
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.worker.v1.EnvironmentInfo;
|
|
78864
|
+
/**
|
|
78865
|
+
* Creates an EnvironmentInfo message from a plain object. Also converts values to their respective internal types.
|
|
78866
|
+
* @param object Plain object
|
|
78867
|
+
* @returns EnvironmentInfo
|
|
78868
|
+
*/
|
|
78869
|
+
public static fromObject(object: {
|
|
78870
|
+
[k: string]: any;
|
|
78871
|
+
}): temporal.api.worker.v1.EnvironmentInfo;
|
|
78872
|
+
/**
|
|
78873
|
+
* Creates a plain object from an EnvironmentInfo message. Also converts values to other types if specified.
|
|
78874
|
+
* @param message EnvironmentInfo
|
|
78875
|
+
* @param [options] Conversion options
|
|
78876
|
+
* @returns Plain object
|
|
78877
|
+
*/
|
|
78878
|
+
public static toObject(message: temporal.api.worker.v1.EnvironmentInfo, options?: IConversionOptions): {
|
|
78879
|
+
[k: string]: any;
|
|
78880
|
+
};
|
|
78881
|
+
/**
|
|
78882
|
+
* Converts this EnvironmentInfo to JSON.
|
|
78883
|
+
* @returns JSON object
|
|
78884
|
+
*/
|
|
78885
|
+
public toJSON(): {
|
|
78886
|
+
[k: string]: any;
|
|
78887
|
+
};
|
|
78888
|
+
/**
|
|
78889
|
+
* Gets the default type url for EnvironmentInfo
|
|
78890
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
78891
|
+
* @returns The default type url
|
|
78892
|
+
*/
|
|
78893
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
78894
|
+
}
|
|
78895
|
+
namespace EnvironmentInfo {
|
|
78896
|
+
/** Properties of a Runtime. */
|
|
78897
|
+
interface IRuntime {
|
|
78898
|
+
/** The type of the runtime. */
|
|
78899
|
+
type?: (temporal.api.worker.v1.EnvironmentInfo.Runtime.RuntimeType | null);
|
|
78900
|
+
/** The version of the runtime, if obtainable. */
|
|
78901
|
+
version?: (string | null);
|
|
78902
|
+
}
|
|
78903
|
+
/** Represents a Runtime. */
|
|
78904
|
+
class Runtime implements IRuntime {
|
|
78905
|
+
/**
|
|
78906
|
+
* Constructs a new Runtime.
|
|
78907
|
+
* @param [properties] Properties to set
|
|
78908
|
+
*/
|
|
78909
|
+
constructor(properties?: temporal.api.worker.v1.EnvironmentInfo.IRuntime);
|
|
78910
|
+
/** The type of the runtime. */
|
|
78911
|
+
public type: temporal.api.worker.v1.EnvironmentInfo.Runtime.RuntimeType;
|
|
78912
|
+
/** The version of the runtime, if obtainable. */
|
|
78913
|
+
public version: string;
|
|
78914
|
+
/**
|
|
78915
|
+
* Creates a new Runtime instance using the specified properties.
|
|
78916
|
+
* @param [properties] Properties to set
|
|
78917
|
+
* @returns Runtime instance
|
|
78918
|
+
*/
|
|
78919
|
+
public static create(properties?: temporal.api.worker.v1.EnvironmentInfo.IRuntime): temporal.api.worker.v1.EnvironmentInfo.Runtime;
|
|
78920
|
+
/**
|
|
78921
|
+
* Encodes the specified Runtime message. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.Runtime.verify|verify} messages.
|
|
78922
|
+
* @param message Runtime message or plain object to encode
|
|
78923
|
+
* @param [writer] Writer to encode to
|
|
78924
|
+
* @returns Writer
|
|
78925
|
+
*/
|
|
78926
|
+
public static encode(message: temporal.api.worker.v1.EnvironmentInfo.IRuntime, writer?: Writer): Writer;
|
|
78927
|
+
/**
|
|
78928
|
+
* Encodes the specified Runtime message, length delimited. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.Runtime.verify|verify} messages.
|
|
78929
|
+
* @param message Runtime message or plain object to encode
|
|
78930
|
+
* @param [writer] Writer to encode to
|
|
78931
|
+
* @returns Writer
|
|
78932
|
+
*/
|
|
78933
|
+
public static encodeDelimited(message: temporal.api.worker.v1.EnvironmentInfo.IRuntime, writer?: Writer): Writer;
|
|
78934
|
+
/**
|
|
78935
|
+
* Decodes a Runtime message from the specified reader or buffer.
|
|
78936
|
+
* @param reader Reader or buffer to decode from
|
|
78937
|
+
* @param [length] Message length if known beforehand
|
|
78938
|
+
* @returns Runtime
|
|
78939
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
78940
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
78941
|
+
*/
|
|
78942
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.worker.v1.EnvironmentInfo.Runtime;
|
|
78943
|
+
/**
|
|
78944
|
+
* Decodes a Runtime message from the specified reader or buffer, length delimited.
|
|
78945
|
+
* @param reader Reader or buffer to decode from
|
|
78946
|
+
* @returns Runtime
|
|
78947
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
78948
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
78949
|
+
*/
|
|
78950
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.worker.v1.EnvironmentInfo.Runtime;
|
|
78951
|
+
/**
|
|
78952
|
+
* Creates a Runtime message from a plain object. Also converts values to their respective internal types.
|
|
78953
|
+
* @param object Plain object
|
|
78954
|
+
* @returns Runtime
|
|
78955
|
+
*/
|
|
78956
|
+
public static fromObject(object: {
|
|
78957
|
+
[k: string]: any;
|
|
78958
|
+
}): temporal.api.worker.v1.EnvironmentInfo.Runtime;
|
|
78959
|
+
/**
|
|
78960
|
+
* Creates a plain object from a Runtime message. Also converts values to other types if specified.
|
|
78961
|
+
* @param message Runtime
|
|
78962
|
+
* @param [options] Conversion options
|
|
78963
|
+
* @returns Plain object
|
|
78964
|
+
*/
|
|
78965
|
+
public static toObject(message: temporal.api.worker.v1.EnvironmentInfo.Runtime, options?: IConversionOptions): {
|
|
78966
|
+
[k: string]: any;
|
|
78967
|
+
};
|
|
78968
|
+
/**
|
|
78969
|
+
* Converts this Runtime to JSON.
|
|
78970
|
+
* @returns JSON object
|
|
78971
|
+
*/
|
|
78972
|
+
public toJSON(): {
|
|
78973
|
+
[k: string]: any;
|
|
78974
|
+
};
|
|
78975
|
+
/**
|
|
78976
|
+
* Gets the default type url for Runtime
|
|
78977
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
78978
|
+
* @returns The default type url
|
|
78979
|
+
*/
|
|
78980
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
78981
|
+
}
|
|
78982
|
+
namespace Runtime {
|
|
78983
|
+
/** RuntimeType enum. */
|
|
78984
|
+
enum RuntimeType {
|
|
78985
|
+
RUNTIME_TYPE_UNSPECIFIED = 0,
|
|
78986
|
+
RUNTIME_TYPE_JVM = 1,
|
|
78987
|
+
RUNTIME_TYPE_CPYTHON = 2,
|
|
78988
|
+
RUNTIME_TYPE_NODE = 3,
|
|
78989
|
+
RUNTIME_TYPE_BUN = 4,
|
|
78990
|
+
RUNTIME_TYPE_CRUBY = 5,
|
|
78991
|
+
RUNTIME_TYPE_GO = 6,
|
|
78992
|
+
RUNTIME_TYPE_DOTNET_FRAMEWORK = 7,
|
|
78993
|
+
RUNTIME_TYPE_DOTNET_CORE = 8,
|
|
78994
|
+
RUNTIME_TYPE_NATIVE = 9,
|
|
78995
|
+
RUNTIME_TYPE_ROADRUNNER = 10
|
|
78996
|
+
}
|
|
78997
|
+
}
|
|
78998
|
+
/** Properties of a HostingEnvironment. */
|
|
78999
|
+
interface IHostingEnvironment {
|
|
79000
|
+
/** The type of hosting environment. */
|
|
79001
|
+
type?: (temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment.HostingEnvironmentType | null);
|
|
79002
|
+
/** The version of the hosting environment, if obtainable. */
|
|
79003
|
+
version?: (string | null);
|
|
79004
|
+
}
|
|
79005
|
+
/** Represents a HostingEnvironment. */
|
|
79006
|
+
class HostingEnvironment implements IHostingEnvironment {
|
|
79007
|
+
/**
|
|
79008
|
+
* Constructs a new HostingEnvironment.
|
|
79009
|
+
* @param [properties] Properties to set
|
|
79010
|
+
*/
|
|
79011
|
+
constructor(properties?: temporal.api.worker.v1.EnvironmentInfo.IHostingEnvironment);
|
|
79012
|
+
/** The type of hosting environment. */
|
|
79013
|
+
public type: temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment.HostingEnvironmentType;
|
|
79014
|
+
/** The version of the hosting environment, if obtainable. */
|
|
79015
|
+
public version: string;
|
|
79016
|
+
/**
|
|
79017
|
+
* Creates a new HostingEnvironment instance using the specified properties.
|
|
79018
|
+
* @param [properties] Properties to set
|
|
79019
|
+
* @returns HostingEnvironment instance
|
|
79020
|
+
*/
|
|
79021
|
+
public static create(properties?: temporal.api.worker.v1.EnvironmentInfo.IHostingEnvironment): temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment;
|
|
79022
|
+
/**
|
|
79023
|
+
* Encodes the specified HostingEnvironment message. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment.verify|verify} messages.
|
|
79024
|
+
* @param message HostingEnvironment message or plain object to encode
|
|
79025
|
+
* @param [writer] Writer to encode to
|
|
79026
|
+
* @returns Writer
|
|
79027
|
+
*/
|
|
79028
|
+
public static encode(message: temporal.api.worker.v1.EnvironmentInfo.IHostingEnvironment, writer?: Writer): Writer;
|
|
79029
|
+
/**
|
|
79030
|
+
* Encodes the specified HostingEnvironment message, length delimited. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment.verify|verify} messages.
|
|
79031
|
+
* @param message HostingEnvironment message or plain object to encode
|
|
79032
|
+
* @param [writer] Writer to encode to
|
|
79033
|
+
* @returns Writer
|
|
79034
|
+
*/
|
|
79035
|
+
public static encodeDelimited(message: temporal.api.worker.v1.EnvironmentInfo.IHostingEnvironment, writer?: Writer): Writer;
|
|
79036
|
+
/**
|
|
79037
|
+
* Decodes a HostingEnvironment message from the specified reader or buffer.
|
|
79038
|
+
* @param reader Reader or buffer to decode from
|
|
79039
|
+
* @param [length] Message length if known beforehand
|
|
79040
|
+
* @returns HostingEnvironment
|
|
79041
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
79042
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
79043
|
+
*/
|
|
79044
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment;
|
|
79045
|
+
/**
|
|
79046
|
+
* Decodes a HostingEnvironment message from the specified reader or buffer, length delimited.
|
|
79047
|
+
* @param reader Reader or buffer to decode from
|
|
79048
|
+
* @returns HostingEnvironment
|
|
79049
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
79050
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
79051
|
+
*/
|
|
79052
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment;
|
|
79053
|
+
/**
|
|
79054
|
+
* Creates a HostingEnvironment message from a plain object. Also converts values to their respective internal types.
|
|
79055
|
+
* @param object Plain object
|
|
79056
|
+
* @returns HostingEnvironment
|
|
79057
|
+
*/
|
|
79058
|
+
public static fromObject(object: {
|
|
79059
|
+
[k: string]: any;
|
|
79060
|
+
}): temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment;
|
|
79061
|
+
/**
|
|
79062
|
+
* Creates a plain object from a HostingEnvironment message. Also converts values to other types if specified.
|
|
79063
|
+
* @param message HostingEnvironment
|
|
79064
|
+
* @param [options] Conversion options
|
|
79065
|
+
* @returns Plain object
|
|
79066
|
+
*/
|
|
79067
|
+
public static toObject(message: temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment, options?: IConversionOptions): {
|
|
79068
|
+
[k: string]: any;
|
|
79069
|
+
};
|
|
79070
|
+
/**
|
|
79071
|
+
* Converts this HostingEnvironment to JSON.
|
|
79072
|
+
* @returns JSON object
|
|
79073
|
+
*/
|
|
79074
|
+
public toJSON(): {
|
|
79075
|
+
[k: string]: any;
|
|
79076
|
+
};
|
|
79077
|
+
/**
|
|
79078
|
+
* Gets the default type url for HostingEnvironment
|
|
79079
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
79080
|
+
* @returns The default type url
|
|
79081
|
+
*/
|
|
79082
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
79083
|
+
}
|
|
79084
|
+
namespace HostingEnvironment {
|
|
79085
|
+
/**
|
|
79086
|
+
* What kind of hosting environment we're running in. This list is about what can actually be
|
|
79087
|
+
* detected reliably and is unrelated to what SDKs can actually run in.
|
|
79088
|
+
*/
|
|
79089
|
+
enum HostingEnvironmentType {
|
|
79090
|
+
HOSTING_ENVIRONMENT_TYPE_UNSPECIFIED = 0,
|
|
79091
|
+
HOSTING_ENVIRONMENT_TYPE_DOCKER = 1,
|
|
79092
|
+
HOSTING_ENVIRONMENT_TYPE_K8S = 2,
|
|
79093
|
+
HOSTING_ENVIRONMENT_TYPE_AWS_LAMBDA = 3,
|
|
79094
|
+
HOSTING_ENVIRONMENT_TYPE_AWS_ECS = 4,
|
|
79095
|
+
HOSTING_ENVIRONMENT_TYPE_GOOGLE_CLOUD_RUN = 6,
|
|
79096
|
+
HOSTING_ENVIRONMENT_TYPE_GOOGLE_APP_ENGINE = 7,
|
|
79097
|
+
HOSTING_ENVIRONMENT_TYPE_AZURE_APP_SERVICE = 8,
|
|
79098
|
+
HOSTING_ENVIRONMENT_TYPE_AZURE_FUNCTIONS = 9,
|
|
79099
|
+
HOSTING_ENVIRONMENT_TYPE_AZURE_CONTAINER_APPS = 10
|
|
79100
|
+
}
|
|
79101
|
+
}
|
|
79102
|
+
/** Architecture enum. */
|
|
79103
|
+
enum Architecture {
|
|
79104
|
+
ARCHITECTURE_UNSPECIFIED = 0,
|
|
79105
|
+
ARCHITECTURE_AMD64 = 1,
|
|
79106
|
+
ARCHITECTURE_ARM64 = 2
|
|
79107
|
+
}
|
|
79108
|
+
/** Properties of a Platform. */
|
|
79109
|
+
interface IPlatform {
|
|
79110
|
+
/** Platform linux */
|
|
79111
|
+
linux?: (temporal.api.worker.v1.EnvironmentInfo.ILinuxPlatform | null);
|
|
79112
|
+
/** Platform macos */
|
|
79113
|
+
macos?: (temporal.api.worker.v1.EnvironmentInfo.IMacOSPlatform | null);
|
|
79114
|
+
/** Platform windows */
|
|
79115
|
+
windows?: (temporal.api.worker.v1.EnvironmentInfo.IWindowsPlatform | null);
|
|
79116
|
+
}
|
|
79117
|
+
/** Represents a Platform. */
|
|
79118
|
+
class Platform implements IPlatform {
|
|
79119
|
+
/**
|
|
79120
|
+
* Constructs a new Platform.
|
|
79121
|
+
* @param [properties] Properties to set
|
|
79122
|
+
*/
|
|
79123
|
+
constructor(properties?: temporal.api.worker.v1.EnvironmentInfo.IPlatform);
|
|
79124
|
+
/** Platform linux. */
|
|
79125
|
+
public linux?: (temporal.api.worker.v1.EnvironmentInfo.ILinuxPlatform | null);
|
|
79126
|
+
/** Platform macos. */
|
|
79127
|
+
public macos?: (temporal.api.worker.v1.EnvironmentInfo.IMacOSPlatform | null);
|
|
79128
|
+
/** Platform windows. */
|
|
79129
|
+
public windows?: (temporal.api.worker.v1.EnvironmentInfo.IWindowsPlatform | null);
|
|
79130
|
+
/** Platform variant. */
|
|
79131
|
+
public variant?: ("linux" | "macos" | "windows");
|
|
79132
|
+
/**
|
|
79133
|
+
* Creates a new Platform instance using the specified properties.
|
|
79134
|
+
* @param [properties] Properties to set
|
|
79135
|
+
* @returns Platform instance
|
|
79136
|
+
*/
|
|
79137
|
+
public static create(properties?: temporal.api.worker.v1.EnvironmentInfo.IPlatform): temporal.api.worker.v1.EnvironmentInfo.Platform;
|
|
79138
|
+
/**
|
|
79139
|
+
* Encodes the specified Platform message. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.Platform.verify|verify} messages.
|
|
79140
|
+
* @param message Platform message or plain object to encode
|
|
79141
|
+
* @param [writer] Writer to encode to
|
|
79142
|
+
* @returns Writer
|
|
79143
|
+
*/
|
|
79144
|
+
public static encode(message: temporal.api.worker.v1.EnvironmentInfo.IPlatform, writer?: Writer): Writer;
|
|
79145
|
+
/**
|
|
79146
|
+
* Encodes the specified Platform message, length delimited. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.Platform.verify|verify} messages.
|
|
79147
|
+
* @param message Platform message or plain object to encode
|
|
79148
|
+
* @param [writer] Writer to encode to
|
|
79149
|
+
* @returns Writer
|
|
79150
|
+
*/
|
|
79151
|
+
public static encodeDelimited(message: temporal.api.worker.v1.EnvironmentInfo.IPlatform, writer?: Writer): Writer;
|
|
79152
|
+
/**
|
|
79153
|
+
* Decodes a Platform message from the specified reader or buffer.
|
|
79154
|
+
* @param reader Reader or buffer to decode from
|
|
79155
|
+
* @param [length] Message length if known beforehand
|
|
79156
|
+
* @returns Platform
|
|
79157
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
79158
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
79159
|
+
*/
|
|
79160
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.worker.v1.EnvironmentInfo.Platform;
|
|
79161
|
+
/**
|
|
79162
|
+
* Decodes a Platform message from the specified reader or buffer, length delimited.
|
|
79163
|
+
* @param reader Reader or buffer to decode from
|
|
79164
|
+
* @returns Platform
|
|
79165
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
79166
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
79167
|
+
*/
|
|
79168
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.worker.v1.EnvironmentInfo.Platform;
|
|
79169
|
+
/**
|
|
79170
|
+
* Creates a Platform message from a plain object. Also converts values to their respective internal types.
|
|
79171
|
+
* @param object Plain object
|
|
79172
|
+
* @returns Platform
|
|
79173
|
+
*/
|
|
79174
|
+
public static fromObject(object: {
|
|
79175
|
+
[k: string]: any;
|
|
79176
|
+
}): temporal.api.worker.v1.EnvironmentInfo.Platform;
|
|
79177
|
+
/**
|
|
79178
|
+
* Creates a plain object from a Platform message. Also converts values to other types if specified.
|
|
79179
|
+
* @param message Platform
|
|
79180
|
+
* @param [options] Conversion options
|
|
79181
|
+
* @returns Plain object
|
|
79182
|
+
*/
|
|
79183
|
+
public static toObject(message: temporal.api.worker.v1.EnvironmentInfo.Platform, options?: IConversionOptions): {
|
|
79184
|
+
[k: string]: any;
|
|
79185
|
+
};
|
|
79186
|
+
/**
|
|
79187
|
+
* Converts this Platform to JSON.
|
|
79188
|
+
* @returns JSON object
|
|
79189
|
+
*/
|
|
79190
|
+
public toJSON(): {
|
|
79191
|
+
[k: string]: any;
|
|
79192
|
+
};
|
|
79193
|
+
/**
|
|
79194
|
+
* Gets the default type url for Platform
|
|
79195
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
79196
|
+
* @returns The default type url
|
|
79197
|
+
*/
|
|
79198
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
79199
|
+
}
|
|
79200
|
+
/** Properties of a LinuxPlatform. */
|
|
79201
|
+
interface ILinuxPlatform {
|
|
79202
|
+
/** The Linux kernel or distribution version, if obtainable. */
|
|
79203
|
+
version?: (string | null);
|
|
79204
|
+
/** The architecture of the worker process. */
|
|
79205
|
+
architecture?: (temporal.api.worker.v1.EnvironmentInfo.Architecture | null);
|
|
79206
|
+
/** The libc used by the worker process. */
|
|
79207
|
+
libc?: (temporal.api.worker.v1.EnvironmentInfo.LinuxPlatform.Libc | null);
|
|
79208
|
+
}
|
|
79209
|
+
/** Represents a LinuxPlatform. */
|
|
79210
|
+
class LinuxPlatform implements ILinuxPlatform {
|
|
79211
|
+
/**
|
|
79212
|
+
* Constructs a new LinuxPlatform.
|
|
79213
|
+
* @param [properties] Properties to set
|
|
79214
|
+
*/
|
|
79215
|
+
constructor(properties?: temporal.api.worker.v1.EnvironmentInfo.ILinuxPlatform);
|
|
79216
|
+
/** The Linux kernel or distribution version, if obtainable. */
|
|
79217
|
+
public version: string;
|
|
79218
|
+
/** The architecture of the worker process. */
|
|
79219
|
+
public architecture: temporal.api.worker.v1.EnvironmentInfo.Architecture;
|
|
79220
|
+
/** The libc used by the worker process. */
|
|
79221
|
+
public libc: temporal.api.worker.v1.EnvironmentInfo.LinuxPlatform.Libc;
|
|
79222
|
+
/**
|
|
79223
|
+
* Creates a new LinuxPlatform instance using the specified properties.
|
|
79224
|
+
* @param [properties] Properties to set
|
|
79225
|
+
* @returns LinuxPlatform instance
|
|
79226
|
+
*/
|
|
79227
|
+
public static create(properties?: temporal.api.worker.v1.EnvironmentInfo.ILinuxPlatform): temporal.api.worker.v1.EnvironmentInfo.LinuxPlatform;
|
|
79228
|
+
/**
|
|
79229
|
+
* Encodes the specified LinuxPlatform message. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.LinuxPlatform.verify|verify} messages.
|
|
79230
|
+
* @param message LinuxPlatform message or plain object to encode
|
|
79231
|
+
* @param [writer] Writer to encode to
|
|
79232
|
+
* @returns Writer
|
|
79233
|
+
*/
|
|
79234
|
+
public static encode(message: temporal.api.worker.v1.EnvironmentInfo.ILinuxPlatform, writer?: Writer): Writer;
|
|
79235
|
+
/**
|
|
79236
|
+
* Encodes the specified LinuxPlatform message, length delimited. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.LinuxPlatform.verify|verify} messages.
|
|
79237
|
+
* @param message LinuxPlatform message or plain object to encode
|
|
79238
|
+
* @param [writer] Writer to encode to
|
|
79239
|
+
* @returns Writer
|
|
79240
|
+
*/
|
|
79241
|
+
public static encodeDelimited(message: temporal.api.worker.v1.EnvironmentInfo.ILinuxPlatform, writer?: Writer): Writer;
|
|
79242
|
+
/**
|
|
79243
|
+
* Decodes a LinuxPlatform message from the specified reader or buffer.
|
|
79244
|
+
* @param reader Reader or buffer to decode from
|
|
79245
|
+
* @param [length] Message length if known beforehand
|
|
79246
|
+
* @returns LinuxPlatform
|
|
79247
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
79248
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
79249
|
+
*/
|
|
79250
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.worker.v1.EnvironmentInfo.LinuxPlatform;
|
|
79251
|
+
/**
|
|
79252
|
+
* Decodes a LinuxPlatform message from the specified reader or buffer, length delimited.
|
|
79253
|
+
* @param reader Reader or buffer to decode from
|
|
79254
|
+
* @returns LinuxPlatform
|
|
79255
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
79256
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
79257
|
+
*/
|
|
79258
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.worker.v1.EnvironmentInfo.LinuxPlatform;
|
|
79259
|
+
/**
|
|
79260
|
+
* Creates a LinuxPlatform message from a plain object. Also converts values to their respective internal types.
|
|
79261
|
+
* @param object Plain object
|
|
79262
|
+
* @returns LinuxPlatform
|
|
79263
|
+
*/
|
|
79264
|
+
public static fromObject(object: {
|
|
79265
|
+
[k: string]: any;
|
|
79266
|
+
}): temporal.api.worker.v1.EnvironmentInfo.LinuxPlatform;
|
|
79267
|
+
/**
|
|
79268
|
+
* Creates a plain object from a LinuxPlatform message. Also converts values to other types if specified.
|
|
79269
|
+
* @param message LinuxPlatform
|
|
79270
|
+
* @param [options] Conversion options
|
|
79271
|
+
* @returns Plain object
|
|
79272
|
+
*/
|
|
79273
|
+
public static toObject(message: temporal.api.worker.v1.EnvironmentInfo.LinuxPlatform, options?: IConversionOptions): {
|
|
79274
|
+
[k: string]: any;
|
|
79275
|
+
};
|
|
79276
|
+
/**
|
|
79277
|
+
* Converts this LinuxPlatform to JSON.
|
|
79278
|
+
* @returns JSON object
|
|
79279
|
+
*/
|
|
79280
|
+
public toJSON(): {
|
|
79281
|
+
[k: string]: any;
|
|
79282
|
+
};
|
|
79283
|
+
/**
|
|
79284
|
+
* Gets the default type url for LinuxPlatform
|
|
79285
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
79286
|
+
* @returns The default type url
|
|
79287
|
+
*/
|
|
79288
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
79289
|
+
}
|
|
79290
|
+
namespace LinuxPlatform {
|
|
79291
|
+
/** Libc enum. */
|
|
79292
|
+
enum Libc {
|
|
79293
|
+
LIBC_UNSPECIFIED = 0,
|
|
79294
|
+
LIBC_GLIBC = 1,
|
|
79295
|
+
LIBC_MUSL = 2
|
|
79296
|
+
}
|
|
79297
|
+
}
|
|
79298
|
+
/** Properties of a MacOSPlatform. */
|
|
79299
|
+
interface IMacOSPlatform {
|
|
79300
|
+
/** The macOS version, if obtainable. */
|
|
79301
|
+
version?: (string | null);
|
|
79302
|
+
/** The architecture of the worker process. */
|
|
79303
|
+
architecture?: (temporal.api.worker.v1.EnvironmentInfo.Architecture | null);
|
|
79304
|
+
}
|
|
79305
|
+
/** Represents a MacOSPlatform. */
|
|
79306
|
+
class MacOSPlatform implements IMacOSPlatform {
|
|
79307
|
+
/**
|
|
79308
|
+
* Constructs a new MacOSPlatform.
|
|
79309
|
+
* @param [properties] Properties to set
|
|
79310
|
+
*/
|
|
79311
|
+
constructor(properties?: temporal.api.worker.v1.EnvironmentInfo.IMacOSPlatform);
|
|
79312
|
+
/** The macOS version, if obtainable. */
|
|
79313
|
+
public version: string;
|
|
79314
|
+
/** The architecture of the worker process. */
|
|
79315
|
+
public architecture: temporal.api.worker.v1.EnvironmentInfo.Architecture;
|
|
79316
|
+
/**
|
|
79317
|
+
* Creates a new MacOSPlatform instance using the specified properties.
|
|
79318
|
+
* @param [properties] Properties to set
|
|
79319
|
+
* @returns MacOSPlatform instance
|
|
79320
|
+
*/
|
|
79321
|
+
public static create(properties?: temporal.api.worker.v1.EnvironmentInfo.IMacOSPlatform): temporal.api.worker.v1.EnvironmentInfo.MacOSPlatform;
|
|
79322
|
+
/**
|
|
79323
|
+
* Encodes the specified MacOSPlatform message. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.MacOSPlatform.verify|verify} messages.
|
|
79324
|
+
* @param message MacOSPlatform message or plain object to encode
|
|
79325
|
+
* @param [writer] Writer to encode to
|
|
79326
|
+
* @returns Writer
|
|
79327
|
+
*/
|
|
79328
|
+
public static encode(message: temporal.api.worker.v1.EnvironmentInfo.IMacOSPlatform, writer?: Writer): Writer;
|
|
79329
|
+
/**
|
|
79330
|
+
* Encodes the specified MacOSPlatform message, length delimited. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.MacOSPlatform.verify|verify} messages.
|
|
79331
|
+
* @param message MacOSPlatform message or plain object to encode
|
|
79332
|
+
* @param [writer] Writer to encode to
|
|
79333
|
+
* @returns Writer
|
|
79334
|
+
*/
|
|
79335
|
+
public static encodeDelimited(message: temporal.api.worker.v1.EnvironmentInfo.IMacOSPlatform, writer?: Writer): Writer;
|
|
79336
|
+
/**
|
|
79337
|
+
* Decodes a MacOSPlatform message from the specified reader or buffer.
|
|
79338
|
+
* @param reader Reader or buffer to decode from
|
|
79339
|
+
* @param [length] Message length if known beforehand
|
|
79340
|
+
* @returns MacOSPlatform
|
|
79341
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
79342
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
79343
|
+
*/
|
|
79344
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.worker.v1.EnvironmentInfo.MacOSPlatform;
|
|
79345
|
+
/**
|
|
79346
|
+
* Decodes a MacOSPlatform message from the specified reader or buffer, length delimited.
|
|
79347
|
+
* @param reader Reader or buffer to decode from
|
|
79348
|
+
* @returns MacOSPlatform
|
|
79349
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
79350
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
79351
|
+
*/
|
|
79352
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.worker.v1.EnvironmentInfo.MacOSPlatform;
|
|
79353
|
+
/**
|
|
79354
|
+
* Creates a MacOSPlatform message from a plain object. Also converts values to their respective internal types.
|
|
79355
|
+
* @param object Plain object
|
|
79356
|
+
* @returns MacOSPlatform
|
|
79357
|
+
*/
|
|
79358
|
+
public static fromObject(object: {
|
|
79359
|
+
[k: string]: any;
|
|
79360
|
+
}): temporal.api.worker.v1.EnvironmentInfo.MacOSPlatform;
|
|
79361
|
+
/**
|
|
79362
|
+
* Creates a plain object from a MacOSPlatform message. Also converts values to other types if specified.
|
|
79363
|
+
* @param message MacOSPlatform
|
|
79364
|
+
* @param [options] Conversion options
|
|
79365
|
+
* @returns Plain object
|
|
79366
|
+
*/
|
|
79367
|
+
public static toObject(message: temporal.api.worker.v1.EnvironmentInfo.MacOSPlatform, options?: IConversionOptions): {
|
|
79368
|
+
[k: string]: any;
|
|
79369
|
+
};
|
|
79370
|
+
/**
|
|
79371
|
+
* Converts this MacOSPlatform to JSON.
|
|
79372
|
+
* @returns JSON object
|
|
79373
|
+
*/
|
|
79374
|
+
public toJSON(): {
|
|
79375
|
+
[k: string]: any;
|
|
79376
|
+
};
|
|
79377
|
+
/**
|
|
79378
|
+
* Gets the default type url for MacOSPlatform
|
|
79379
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
79380
|
+
* @returns The default type url
|
|
79381
|
+
*/
|
|
79382
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
79383
|
+
}
|
|
79384
|
+
/** Properties of a WindowsPlatform. */
|
|
79385
|
+
interface IWindowsPlatform {
|
|
79386
|
+
/** The Windows version, if obtainable. */
|
|
79387
|
+
version?: (string | null);
|
|
79388
|
+
/** The architecture of the worker process. */
|
|
79389
|
+
architecture?: (temporal.api.worker.v1.EnvironmentInfo.Architecture | null);
|
|
79390
|
+
/** The C runtime used by the worker process, if obtainable. */
|
|
79391
|
+
crt?: (temporal.api.worker.v1.EnvironmentInfo.WindowsPlatform.Crt | null);
|
|
79392
|
+
}
|
|
79393
|
+
/** Represents a WindowsPlatform. */
|
|
79394
|
+
class WindowsPlatform implements IWindowsPlatform {
|
|
79395
|
+
/**
|
|
79396
|
+
* Constructs a new WindowsPlatform.
|
|
79397
|
+
* @param [properties] Properties to set
|
|
79398
|
+
*/
|
|
79399
|
+
constructor(properties?: temporal.api.worker.v1.EnvironmentInfo.IWindowsPlatform);
|
|
79400
|
+
/** The Windows version, if obtainable. */
|
|
79401
|
+
public version: string;
|
|
79402
|
+
/** The architecture of the worker process. */
|
|
79403
|
+
public architecture: temporal.api.worker.v1.EnvironmentInfo.Architecture;
|
|
79404
|
+
/** The C runtime used by the worker process, if obtainable. */
|
|
79405
|
+
public crt: temporal.api.worker.v1.EnvironmentInfo.WindowsPlatform.Crt;
|
|
79406
|
+
/**
|
|
79407
|
+
* Creates a new WindowsPlatform instance using the specified properties.
|
|
79408
|
+
* @param [properties] Properties to set
|
|
79409
|
+
* @returns WindowsPlatform instance
|
|
79410
|
+
*/
|
|
79411
|
+
public static create(properties?: temporal.api.worker.v1.EnvironmentInfo.IWindowsPlatform): temporal.api.worker.v1.EnvironmentInfo.WindowsPlatform;
|
|
79412
|
+
/**
|
|
79413
|
+
* Encodes the specified WindowsPlatform message. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.WindowsPlatform.verify|verify} messages.
|
|
79414
|
+
* @param message WindowsPlatform message or plain object to encode
|
|
79415
|
+
* @param [writer] Writer to encode to
|
|
79416
|
+
* @returns Writer
|
|
79417
|
+
*/
|
|
79418
|
+
public static encode(message: temporal.api.worker.v1.EnvironmentInfo.IWindowsPlatform, writer?: Writer): Writer;
|
|
79419
|
+
/**
|
|
79420
|
+
* Encodes the specified WindowsPlatform message, length delimited. Does not implicitly {@link temporal.api.worker.v1.EnvironmentInfo.WindowsPlatform.verify|verify} messages.
|
|
79421
|
+
* @param message WindowsPlatform message or plain object to encode
|
|
79422
|
+
* @param [writer] Writer to encode to
|
|
79423
|
+
* @returns Writer
|
|
79424
|
+
*/
|
|
79425
|
+
public static encodeDelimited(message: temporal.api.worker.v1.EnvironmentInfo.IWindowsPlatform, writer?: Writer): Writer;
|
|
79426
|
+
/**
|
|
79427
|
+
* Decodes a WindowsPlatform message from the specified reader or buffer.
|
|
79428
|
+
* @param reader Reader or buffer to decode from
|
|
79429
|
+
* @param [length] Message length if known beforehand
|
|
79430
|
+
* @returns WindowsPlatform
|
|
79431
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
79432
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
79433
|
+
*/
|
|
79434
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.worker.v1.EnvironmentInfo.WindowsPlatform;
|
|
79435
|
+
/**
|
|
79436
|
+
* Decodes a WindowsPlatform message from the specified reader or buffer, length delimited.
|
|
79437
|
+
* @param reader Reader or buffer to decode from
|
|
79438
|
+
* @returns WindowsPlatform
|
|
79439
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
79440
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
79441
|
+
*/
|
|
79442
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.worker.v1.EnvironmentInfo.WindowsPlatform;
|
|
79443
|
+
/**
|
|
79444
|
+
* Creates a WindowsPlatform message from a plain object. Also converts values to their respective internal types.
|
|
79445
|
+
* @param object Plain object
|
|
79446
|
+
* @returns WindowsPlatform
|
|
79447
|
+
*/
|
|
79448
|
+
public static fromObject(object: {
|
|
79449
|
+
[k: string]: any;
|
|
79450
|
+
}): temporal.api.worker.v1.EnvironmentInfo.WindowsPlatform;
|
|
79451
|
+
/**
|
|
79452
|
+
* Creates a plain object from a WindowsPlatform message. Also converts values to other types if specified.
|
|
79453
|
+
* @param message WindowsPlatform
|
|
79454
|
+
* @param [options] Conversion options
|
|
79455
|
+
* @returns Plain object
|
|
79456
|
+
*/
|
|
79457
|
+
public static toObject(message: temporal.api.worker.v1.EnvironmentInfo.WindowsPlatform, options?: IConversionOptions): {
|
|
79458
|
+
[k: string]: any;
|
|
79459
|
+
};
|
|
79460
|
+
/**
|
|
79461
|
+
* Converts this WindowsPlatform to JSON.
|
|
79462
|
+
* @returns JSON object
|
|
79463
|
+
*/
|
|
79464
|
+
public toJSON(): {
|
|
79465
|
+
[k: string]: any;
|
|
79466
|
+
};
|
|
79467
|
+
/**
|
|
79468
|
+
* Gets the default type url for WindowsPlatform
|
|
79469
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
79470
|
+
* @returns The default type url
|
|
79471
|
+
*/
|
|
79472
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
79473
|
+
}
|
|
79474
|
+
namespace WindowsPlatform {
|
|
79475
|
+
/** Crt enum. */
|
|
79476
|
+
enum Crt {
|
|
79477
|
+
CRT_UNSPECIFIED = 0,
|
|
79478
|
+
CRT_UCRT = 1,
|
|
79479
|
+
CRT_MSVCRT = 2,
|
|
79480
|
+
CRT_MINGW = 3,
|
|
79481
|
+
CRT_CYGWIN = 4
|
|
79482
|
+
}
|
|
79483
|
+
}
|
|
79484
|
+
}
|
|
76420
79485
|
/** Properties of a WorkerCommand. */
|
|
76421
79486
|
interface IWorkerCommand {
|
|
76422
79487
|
/** WorkerCommand cancelActivity */
|
|
@@ -103890,6 +106955,8 @@ declare namespace temporal {
|
|
|
103890
106955
|
startRequestId?: (string | null);
|
|
103891
106956
|
/** WorkflowExecutionAlreadyStartedFailure runId */
|
|
103892
106957
|
runId?: (string | null);
|
|
106958
|
+
/** WorkflowExecutionAlreadyStartedFailure firstExecutionRunId */
|
|
106959
|
+
firstExecutionRunId?: (string | null);
|
|
103893
106960
|
}
|
|
103894
106961
|
/** Represents a WorkflowExecutionAlreadyStartedFailure. */
|
|
103895
106962
|
class WorkflowExecutionAlreadyStartedFailure implements IWorkflowExecutionAlreadyStartedFailure {
|
|
@@ -103902,6 +106969,8 @@ declare namespace temporal {
|
|
|
103902
106969
|
public startRequestId: string;
|
|
103903
106970
|
/** WorkflowExecutionAlreadyStartedFailure runId. */
|
|
103904
106971
|
public runId: string;
|
|
106972
|
+
/** WorkflowExecutionAlreadyStartedFailure firstExecutionRunId. */
|
|
106973
|
+
public firstExecutionRunId: string;
|
|
103905
106974
|
/**
|
|
103906
106975
|
* Creates a new WorkflowExecutionAlreadyStartedFailure instance using the specified properties.
|
|
103907
106976
|
* @param [properties] Properties to set
|
|
@@ -105531,6 +108600,87 @@ declare namespace temporal {
|
|
|
105531
108600
|
*/
|
|
105532
108601
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
105533
108602
|
}
|
|
108603
|
+
/** Properties of a WorkflowTaskCompletionBufferLostFailure. */
|
|
108604
|
+
interface IWorkflowTaskCompletionBufferLostFailure {}
|
|
108605
|
+
/**
|
|
108606
|
+
* An error indicating that the server lost the buffered pages of a paginated workflow task
|
|
108607
|
+
* completion. This is a transient error: the workflow task is still valid, and the client
|
|
108608
|
+
* should resend all pages from page 0 using the same task token.
|
|
108609
|
+
*/
|
|
108610
|
+
class WorkflowTaskCompletionBufferLostFailure implements IWorkflowTaskCompletionBufferLostFailure {
|
|
108611
|
+
/**
|
|
108612
|
+
* Constructs a new WorkflowTaskCompletionBufferLostFailure.
|
|
108613
|
+
* @param [properties] Properties to set
|
|
108614
|
+
*/
|
|
108615
|
+
constructor(properties?: temporal.api.errordetails.v1.IWorkflowTaskCompletionBufferLostFailure);
|
|
108616
|
+
/**
|
|
108617
|
+
* Creates a new WorkflowTaskCompletionBufferLostFailure instance using the specified properties.
|
|
108618
|
+
* @param [properties] Properties to set
|
|
108619
|
+
* @returns WorkflowTaskCompletionBufferLostFailure instance
|
|
108620
|
+
*/
|
|
108621
|
+
public static create(properties?: temporal.api.errordetails.v1.IWorkflowTaskCompletionBufferLostFailure): temporal.api.errordetails.v1.WorkflowTaskCompletionBufferLostFailure;
|
|
108622
|
+
/**
|
|
108623
|
+
* Encodes the specified WorkflowTaskCompletionBufferLostFailure message. Does not implicitly {@link temporal.api.errordetails.v1.WorkflowTaskCompletionBufferLostFailure.verify|verify} messages.
|
|
108624
|
+
* @param message WorkflowTaskCompletionBufferLostFailure message or plain object to encode
|
|
108625
|
+
* @param [writer] Writer to encode to
|
|
108626
|
+
* @returns Writer
|
|
108627
|
+
*/
|
|
108628
|
+
public static encode(message: temporal.api.errordetails.v1.IWorkflowTaskCompletionBufferLostFailure, writer?: Writer): Writer;
|
|
108629
|
+
/**
|
|
108630
|
+
* Encodes the specified WorkflowTaskCompletionBufferLostFailure message, length delimited. Does not implicitly {@link temporal.api.errordetails.v1.WorkflowTaskCompletionBufferLostFailure.verify|verify} messages.
|
|
108631
|
+
* @param message WorkflowTaskCompletionBufferLostFailure message or plain object to encode
|
|
108632
|
+
* @param [writer] Writer to encode to
|
|
108633
|
+
* @returns Writer
|
|
108634
|
+
*/
|
|
108635
|
+
public static encodeDelimited(message: temporal.api.errordetails.v1.IWorkflowTaskCompletionBufferLostFailure, writer?: Writer): Writer;
|
|
108636
|
+
/**
|
|
108637
|
+
* Decodes a WorkflowTaskCompletionBufferLostFailure message from the specified reader or buffer.
|
|
108638
|
+
* @param reader Reader or buffer to decode from
|
|
108639
|
+
* @param [length] Message length if known beforehand
|
|
108640
|
+
* @returns WorkflowTaskCompletionBufferLostFailure
|
|
108641
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
108642
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
108643
|
+
*/
|
|
108644
|
+
public static decode(reader: (Reader | Uint8Array), length?: number): temporal.api.errordetails.v1.WorkflowTaskCompletionBufferLostFailure;
|
|
108645
|
+
/**
|
|
108646
|
+
* Decodes a WorkflowTaskCompletionBufferLostFailure message from the specified reader or buffer, length delimited.
|
|
108647
|
+
* @param reader Reader or buffer to decode from
|
|
108648
|
+
* @returns WorkflowTaskCompletionBufferLostFailure
|
|
108649
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
108650
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
108651
|
+
*/
|
|
108652
|
+
public static decodeDelimited(reader: (Reader | Uint8Array)): temporal.api.errordetails.v1.WorkflowTaskCompletionBufferLostFailure;
|
|
108653
|
+
/**
|
|
108654
|
+
* Creates a WorkflowTaskCompletionBufferLostFailure message from a plain object. Also converts values to their respective internal types.
|
|
108655
|
+
* @param object Plain object
|
|
108656
|
+
* @returns WorkflowTaskCompletionBufferLostFailure
|
|
108657
|
+
*/
|
|
108658
|
+
public static fromObject(object: {
|
|
108659
|
+
[k: string]: any;
|
|
108660
|
+
}): temporal.api.errordetails.v1.WorkflowTaskCompletionBufferLostFailure;
|
|
108661
|
+
/**
|
|
108662
|
+
* Creates a plain object from a WorkflowTaskCompletionBufferLostFailure message. Also converts values to other types if specified.
|
|
108663
|
+
* @param message WorkflowTaskCompletionBufferLostFailure
|
|
108664
|
+
* @param [options] Conversion options
|
|
108665
|
+
* @returns Plain object
|
|
108666
|
+
*/
|
|
108667
|
+
public static toObject(message: temporal.api.errordetails.v1.WorkflowTaskCompletionBufferLostFailure, options?: IConversionOptions): {
|
|
108668
|
+
[k: string]: any;
|
|
108669
|
+
};
|
|
108670
|
+
/**
|
|
108671
|
+
* Converts this WorkflowTaskCompletionBufferLostFailure to JSON.
|
|
108672
|
+
* @returns JSON object
|
|
108673
|
+
*/
|
|
108674
|
+
public toJSON(): {
|
|
108675
|
+
[k: string]: any;
|
|
108676
|
+
};
|
|
108677
|
+
/**
|
|
108678
|
+
* Gets the default type url for WorkflowTaskCompletionBufferLostFailure
|
|
108679
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
108680
|
+
* @returns The default type url
|
|
108681
|
+
*/
|
|
108682
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
108683
|
+
}
|
|
105534
108684
|
}
|
|
105535
108685
|
}
|
|
105536
108686
|
/** Namespace testservice. */
|
|
@@ -116261,14 +119411,14 @@ declare namespace grpc {
|
|
|
116261
119411
|
}
|
|
116262
119412
|
}
|
|
116263
119413
|
//#endregion
|
|
116264
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.
|
|
119414
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/time.d.ts
|
|
116265
119415
|
type Timestamp = google.protobuf.ITimestamp;
|
|
116266
119416
|
/**
|
|
116267
119417
|
* A duration, expressed either as a number of milliseconds, or as a {@link https://www.npmjs.com/package/ms | ms-formatted string}.
|
|
116268
119418
|
*/
|
|
116269
119419
|
type Duration = StringValue | number;
|
|
116270
119420
|
//#endregion
|
|
116271
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.
|
|
119421
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/retry-policy.d.ts
|
|
116272
119422
|
/**
|
|
116273
119423
|
* Options for retrying Workflows and Activities
|
|
116274
119424
|
*/
|
|
@@ -116309,7 +119459,7 @@ interface RetryPolicy {
|
|
|
116309
119459
|
nonRetryableErrorTypes?: string[];
|
|
116310
119460
|
}
|
|
116311
119461
|
//#endregion
|
|
116312
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.
|
|
119462
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/versioning-intent.d.ts
|
|
116313
119463
|
/**
|
|
116314
119464
|
* Indicates whether the user intends certain commands to be run on a compatible worker Build Id version or not.
|
|
116315
119465
|
*
|
|
@@ -116327,7 +119477,7 @@ interface RetryPolicy {
|
|
|
116327
119477
|
*/
|
|
116328
119478
|
type VersioningIntent = 'COMPATIBLE' | 'DEFAULT';
|
|
116329
119479
|
//#endregion
|
|
116330
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.
|
|
119480
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/priority.d.ts
|
|
116331
119481
|
/**
|
|
116332
119482
|
* Priority contains metadata that controls relative ordering of task processing when tasks are
|
|
116333
119483
|
* backlogged in a queue. Initially, Priority will be used in activity and workflow task queues,
|
|
@@ -116381,7 +119531,7 @@ interface Priority {
|
|
|
116381
119531
|
fairnessWeight?: number;
|
|
116382
119532
|
}
|
|
116383
119533
|
//#endregion
|
|
116384
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.
|
|
119534
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/activity-options.d.ts
|
|
116385
119535
|
/**
|
|
116386
119536
|
* Determines:
|
|
116387
119537
|
* - whether cancellation requests should be propagated from the current Workflow to the Activity; and
|
|
@@ -116524,8 +119674,6 @@ interface ActivityOptions {
|
|
|
116524
119674
|
/**
|
|
116525
119675
|
* A fixed, single-line summary for this workflow execution that may appear in the UI/CLI.
|
|
116526
119676
|
* This can be in single-line Temporal markdown format.
|
|
116527
|
-
*
|
|
116528
|
-
* @experimental User metadata is a new API and susceptible to change.
|
|
116529
119677
|
*/
|
|
116530
119678
|
summary?: string;
|
|
116531
119679
|
/**
|
|
@@ -116599,19 +119747,17 @@ interface LocalActivityOptions {
|
|
|
116599
119747
|
/**
|
|
116600
119748
|
* A fixed, single-line summary for this workflow execution that may appear in the UI/CLI.
|
|
116601
119749
|
* This can be in single-line Temporal markdown format.
|
|
116602
|
-
*
|
|
116603
|
-
* @experimental User metadata is a new API and susceptible to change.
|
|
116604
119750
|
*/
|
|
116605
119751
|
summary?: string;
|
|
116606
119752
|
}
|
|
116607
119753
|
//#endregion
|
|
116608
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.
|
|
116609
|
-
type WorkflowExecution = temporal.api.common.v1.IWorkflowExecution;
|
|
116610
|
-
//#endregion
|
|
116611
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.20.0/node_modules/@temporalio/common/lib/interfaces.d.ts
|
|
119754
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/interfaces.d.ts
|
|
116612
119755
|
type Payload = temporal.api.common.v1.IPayload;
|
|
116613
119756
|
//#endregion
|
|
116614
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.
|
|
119757
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/failure.d.ts
|
|
119758
|
+
type WorkflowExecution = temporal.api.common.v1.IWorkflowExecution;
|
|
119759
|
+
//#endregion
|
|
119760
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/interceptors.d.ts
|
|
116615
119761
|
/**
|
|
116616
119762
|
* Type of the next function for a given interceptor function
|
|
116617
119763
|
*
|
|
@@ -116621,7 +119767,7 @@ type Next<IF, FN extends keyof IF> = Required<IF>[FN] extends AnyFunc ? OmitLast
|
|
|
116621
119767
|
/** Headers are just a mapping of header name to Payload */
|
|
116622
119768
|
type Headers = Record<string, Payload>;
|
|
116623
119769
|
//#endregion
|
|
116624
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.
|
|
119770
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/metrics.d.ts
|
|
116625
119771
|
/**
|
|
116626
119772
|
* Tags to be attached to some metrics.
|
|
116627
119773
|
*
|
|
@@ -116629,7 +119775,7 @@ type Headers = Record<string, Payload>;
|
|
|
116629
119775
|
*/
|
|
116630
119776
|
type MetricTags = Record<string, string | number | boolean>;
|
|
116631
119777
|
//#endregion
|
|
116632
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.
|
|
119778
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/worker-deployments.d.ts
|
|
116633
119779
|
/**
|
|
116634
119780
|
* Defines the versioning behavior to be used by the first task of a new workflow run in a continue-as-new chain.
|
|
116635
119781
|
*
|
|
@@ -116665,7 +119811,7 @@ declare const InitialVersioningBehavior: {
|
|
|
116665
119811
|
};
|
|
116666
119812
|
type InitialVersioningBehavior = (typeof InitialVersioningBehavior)[keyof typeof InitialVersioningBehavior];
|
|
116667
119813
|
//#endregion
|
|
116668
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.
|
|
119814
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/search-attributes.d.ts
|
|
116669
119815
|
/** @deprecated: Use {@link TypedSearchAttributes} instead */
|
|
116670
119816
|
type SearchAttributeValueOrReadonly = SearchAttributeValue | Readonly<SearchAttributeValue> | undefined;
|
|
116671
119817
|
/** @deprecated: Use {@link TypedSearchAttributes} instead */
|
|
@@ -116724,7 +119870,7 @@ declare class TypedSearchAttributes {
|
|
|
116724
119870
|
static toSearchAttributeType(type: string): SearchAttributeType | undefined;
|
|
116725
119871
|
}
|
|
116726
119872
|
//#endregion
|
|
116727
|
-
//#region ../../node_modules/.pnpm/@temporalio+common@1.
|
|
119873
|
+
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/workflow-options.d.ts
|
|
116728
119874
|
/**
|
|
116729
119875
|
* Defines what happens when trying to start a Workflow with the same ID as a *Closed* Workflow.
|
|
116730
119876
|
*
|
|
@@ -116856,15 +120002,11 @@ interface BaseWorkflowOptions {
|
|
|
116856
120002
|
/**
|
|
116857
120003
|
* General fixed details for this workflow execution that may appear in UI/CLI.
|
|
116858
120004
|
* This can be in Temporal markdown format and can span multiple lines.
|
|
116859
|
-
*
|
|
116860
|
-
* @experimental User metadata is a new API and susceptible to change.
|
|
116861
120005
|
*/
|
|
116862
120006
|
staticDetails?: string;
|
|
116863
120007
|
/**
|
|
116864
120008
|
* A single-line fixed summary for this workflow execution that may appear in the UI/CLI.
|
|
116865
120009
|
* This can be in single-line Temporal markdown format.
|
|
116866
|
-
*
|
|
116867
|
-
* @experimental User metadata is a new API and susceptible to change.
|
|
116868
120010
|
*/
|
|
116869
120011
|
staticSummary?: string;
|
|
116870
120012
|
/**
|
|
@@ -116899,7 +120041,7 @@ interface WorkflowDurationOptions {
|
|
|
116899
120041
|
}
|
|
116900
120042
|
type CommonWorkflowOptions = BaseWorkflowOptions & WorkflowDurationOptions;
|
|
116901
120043
|
//#endregion
|
|
116902
|
-
//#region ../../node_modules/.pnpm/@temporalio+workflow@1.
|
|
120044
|
+
//#region ../../node_modules/.pnpm/@temporalio+workflow@1.22.0/node_modules/@temporalio/workflow/lib/interfaces.d.ts
|
|
116903
120045
|
/**
|
|
116904
120046
|
* Options for continuing a Workflow as new
|
|
116905
120047
|
*/
|
|
@@ -117117,7 +120259,7 @@ type RequiredChildWorkflowOptions = Required<Pick<ChildWorkflowOptions, 'workflo
|
|
|
117117
120259
|
};
|
|
117118
120260
|
type ChildWorkflowOptionsWithDefaults = ChildWorkflowOptions & RequiredChildWorkflowOptions;
|
|
117119
120261
|
//#endregion
|
|
117120
|
-
//#region ../../node_modules/.pnpm/@temporalio+workflow@1.
|
|
120262
|
+
//#region ../../node_modules/.pnpm/@temporalio+workflow@1.22.0/node_modules/@temporalio/workflow/lib/nexus.d.ts
|
|
117121
120263
|
/**
|
|
117122
120264
|
* Determines:
|
|
117123
120265
|
* - whether cancellation requests should be propagated from the Workflow to the Nexus Operation
|
|
@@ -117170,7 +120312,7 @@ declare const NexusOperationCancellationType: {
|
|
|
117170
120312
|
};
|
|
117171
120313
|
type NexusOperationCancellationType = (typeof NexusOperationCancellationType)[keyof typeof NexusOperationCancellationType];
|
|
117172
120314
|
//#endregion
|
|
117173
|
-
//#region ../../node_modules/.pnpm/@temporalio+workflow@1.
|
|
120315
|
+
//#region ../../node_modules/.pnpm/@temporalio+workflow@1.22.0/node_modules/@temporalio/workflow/lib/interceptors.d.ts
|
|
117174
120316
|
/**
|
|
117175
120317
|
* A mapping from interceptor type to an optional list of interceptor implementations
|
|
117176
120318
|
*/
|
|
@@ -117315,8 +120457,6 @@ interface TimerInput {
|
|
|
117315
120457
|
interface TimerOptions {
|
|
117316
120458
|
/**
|
|
117317
120459
|
* A fixed, single line summary of the command's purpose
|
|
117318
|
-
*
|
|
117319
|
-
* @experimental User metadata is a new API and susceptible to change.
|
|
117320
120460
|
*/
|
|
117321
120461
|
readonly summary?: string;
|
|
117322
120462
|
}
|
|
@@ -117399,8 +120539,6 @@ interface StartNexusOperationOptions {
|
|
|
117399
120539
|
/**
|
|
117400
120540
|
* A fixed, single-line summary for this Nexus Operation that may appear in the UI/CLI.
|
|
117401
120541
|
* This can be in single-line Temporal markdown format.
|
|
117402
|
-
*
|
|
117403
|
-
* @experimental User metadata is a new API and susceptible to change.
|
|
117404
120542
|
*/
|
|
117405
120543
|
readonly summary?: string;
|
|
117406
120544
|
}
|