@temporalio/proto 1.13.1 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/protos/root.d.ts CHANGED
@@ -2337,6 +2337,9 @@ export namespace coresdk {
2337
2337
  * feature(s).
2338
2338
  */
2339
2339
  deploymentVersionForCurrentTask?: (coresdk.common.IWorkerDeploymentVersion|null);
2340
+
2341
+ /** The last seen SDK version from the most recent WFT completed event */
2342
+ lastSdkVersion?: (string|null);
2340
2343
  }
2341
2344
 
2342
2345
  /**
@@ -2438,6 +2441,9 @@ export namespace coresdk {
2438
2441
  */
2439
2442
  public deploymentVersionForCurrentTask?: (coresdk.common.IWorkerDeploymentVersion|null);
2440
2443
 
2444
+ /** The last seen SDK version from the most recent WFT completed event */
2445
+ public lastSdkVersion: string;
2446
+
2441
2447
  /**
2442
2448
  * Creates a new WorkflowActivation instance using the specified properties.
2443
2449
  * @param [properties] Properties to set
@@ -11408,7 +11414,7 @@ export namespace temporal {
11408
11414
  * configuration, and defaults to 5.
11409
11415
  *
11410
11416
  * If priority is not present (or zero), then the effective priority will be
11411
- * the default priority, which is is calculated by (min+max)/2. With the
11417
+ * the default priority, which is calculated by (min+max)/2. With the
11412
11418
  * default max of 5, and min of 1, that comes out to 3.
11413
11419
  */
11414
11420
  priorityKey?: (number|null);
@@ -11506,7 +11512,7 @@ export namespace temporal {
11506
11512
  * configuration, and defaults to 5.
11507
11513
  *
11508
11514
  * If priority is not present (or zero), then the effective priority will be
11509
- * the default priority, which is is calculated by (min+max)/2. With the
11515
+ * the default priority, which is calculated by (min+max)/2. With the
11510
11516
  * default max of 5, and min of 1, that comes out to 3.
11511
11517
  */
11512
11518
  public priorityKey: number;
@@ -17664,6 +17670,9 @@ export namespace temporal {
17664
17670
 
17665
17671
  /** Priority metadata */
17666
17672
  priority?: (temporal.api.common.v1.IPriority|null);
17673
+
17674
+ /** Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`. */
17675
+ eagerWorkerDeploymentOptions?: (temporal.api.deployment.v1.IWorkerDeploymentOptions|null);
17667
17676
  }
17668
17677
 
17669
17678
  /** Represents a StartWorkflowExecutionRequest. */
@@ -17796,6 +17805,9 @@ export namespace temporal {
17796
17805
  /** Priority metadata */
17797
17806
  public priority?: (temporal.api.common.v1.IPriority|null);
17798
17807
 
17808
+ /** Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`. */
17809
+ public eagerWorkerDeploymentOptions?: (temporal.api.deployment.v1.IWorkerDeploymentOptions|null);
17810
+
17799
17811
  /**
17800
17812
  * Creates a new StartWorkflowExecutionRequest instance using the specified properties.
17801
17813
  * @param [properties] Properties to set
@@ -26446,6 +26458,12 @@ export namespace temporal {
26446
26458
 
26447
26459
  /** GetClusterInfoResponse visibilityStore */
26448
26460
  visibilityStore?: (string|null);
26461
+
26462
+ /** GetClusterInfoResponse initialFailoverVersion */
26463
+ initialFailoverVersion?: (Long|null);
26464
+
26465
+ /** GetClusterInfoResponse failoverVersionIncrement */
26466
+ failoverVersionIncrement?: (Long|null);
26449
26467
  }
26450
26468
 
26451
26469
  /** GetClusterInfoResponse contains information about Temporal cluster. */
@@ -26484,6 +26502,12 @@ export namespace temporal {
26484
26502
  /** GetClusterInfoResponse visibilityStore. */
26485
26503
  public visibilityStore: string;
26486
26504
 
26505
+ /** GetClusterInfoResponse initialFailoverVersion. */
26506
+ public initialFailoverVersion: Long;
26507
+
26508
+ /** GetClusterInfoResponse failoverVersionIncrement. */
26509
+ public failoverVersionIncrement: Long;
26510
+
26487
26511
  /**
26488
26512
  * Creates a new GetClusterInfoResponse instance using the specified properties.
26489
26513
  * @param [properties] Properties to set
@@ -33521,7 +33545,10 @@ export namespace temporal {
33521
33545
  /** Only the activity with this ID will be paused. */
33522
33546
  id?: (string|null);
33523
33547
 
33524
- /** Pause all running activities of this type. */
33548
+ /**
33549
+ * Pause all running activities of this type.
33550
+ * Note: Experimental - the behavior of pause by activity type might change in a future release.
33551
+ */
33525
33552
  type?: (string|null);
33526
33553
 
33527
33554
  /** Reason to pause the activity. */
@@ -33549,7 +33576,10 @@ export namespace temporal {
33549
33576
  /** Only the activity with this ID will be paused. */
33550
33577
  public id?: (string|null);
33551
33578
 
33552
- /** Pause all running activities of this type. */
33579
+ /**
33580
+ * Pause all running activities of this type.
33581
+ * Note: Experimental - the behavior of pause by activity type might change in a future release.
33582
+ */
33553
33583
  public type?: (string|null);
33554
33584
 
33555
33585
  /** Reason to pause the activity. */
@@ -35578,6 +35608,13 @@ export namespace temporal {
35578
35608
  * never arrive.
35579
35609
  */
35580
35610
  ignoreMissingTaskQueues?: (boolean|null);
35611
+
35612
+ /**
35613
+ * Optional. By default this request will be rejected if no pollers have been seen for the proposed
35614
+ * Current Version, in order to protect users from routing tasks to pollers that do not exist, leading
35615
+ * to possible timeouts. Pass `true` here to bypass this protection.
35616
+ */
35617
+ allowNoPollers?: (boolean|null);
35581
35618
  }
35582
35619
 
35583
35620
  /** Set/unset the Current Version of a Worker Deployment. */
@@ -35633,6 +35670,13 @@ export namespace temporal {
35633
35670
  */
35634
35671
  public ignoreMissingTaskQueues: boolean;
35635
35672
 
35673
+ /**
35674
+ * Optional. By default this request will be rejected if no pollers have been seen for the proposed
35675
+ * Current Version, in order to protect users from routing tasks to pollers that do not exist, leading
35676
+ * to possible timeouts. Pass `true` here to bypass this protection.
35677
+ */
35678
+ public allowNoPollers: boolean;
35679
+
35636
35680
  /**
35637
35681
  * Creates a new SetWorkerDeploymentCurrentVersionRequest instance using the specified properties.
35638
35682
  * @param [properties] Properties to set
@@ -35866,6 +35910,13 @@ export namespace temporal {
35866
35910
  * Version, not the previous Ramping Version.
35867
35911
  */
35868
35912
  ignoreMissingTaskQueues?: (boolean|null);
35913
+
35914
+ /**
35915
+ * Optional. By default this request will be rejected if no pollers have been seen for the proposed
35916
+ * Current Version, in order to protect users from routing tasks to pollers that do not exist, leading
35917
+ * to possible timeouts. Pass `true` here to bypass this protection.
35918
+ */
35919
+ allowNoPollers?: (boolean|null);
35869
35920
  }
35870
35921
 
35871
35922
  /** Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. */
@@ -35927,6 +35978,13 @@ export namespace temporal {
35927
35978
  */
35928
35979
  public ignoreMissingTaskQueues: boolean;
35929
35980
 
35981
+ /**
35982
+ * Optional. By default this request will be rejected if no pollers have been seen for the proposed
35983
+ * Current Version, in order to protect users from routing tasks to pollers that do not exist, leading
35984
+ * to possible timeouts. Pass `true` here to bypass this protection.
35985
+ */
35986
+ public allowNoPollers: boolean;
35987
+
35930
35988
  /**
35931
35989
  * Creates a new SetWorkerDeploymentRampingVersionRequest instance using the specified properties.
35932
35990
  * @param [properties] Properties to set
@@ -37048,6 +37106,249 @@ export namespace temporal {
37048
37106
  public static getTypeUrl(typeUrlPrefix?: string): string;
37049
37107
  }
37050
37108
 
37109
+ /** Properties of a SetWorkerDeploymentManagerRequest. */
37110
+ interface ISetWorkerDeploymentManagerRequest {
37111
+
37112
+ /** SetWorkerDeploymentManagerRequest namespace */
37113
+ namespace?: (string|null);
37114
+
37115
+ /** SetWorkerDeploymentManagerRequest deploymentName */
37116
+ deploymentName?: (string|null);
37117
+
37118
+ /**
37119
+ * Arbitrary value for `manager_identity`.
37120
+ * Empty will unset the field.
37121
+ */
37122
+ managerIdentity?: (string|null);
37123
+
37124
+ /** True will set `manager_identity` to `identity`. */
37125
+ self?: (boolean|null);
37126
+
37127
+ /**
37128
+ * Optional. This can be the value of conflict_token from a Describe, or another Worker
37129
+ * Deployment API. Passing a non-nil conflict token will cause this request to fail if the
37130
+ * Deployment's configuration has been modified between the API call that generated the
37131
+ * token and this one.
37132
+ */
37133
+ conflictToken?: (Uint8Array|null);
37134
+
37135
+ /** Required. The identity of the client who initiated this request. */
37136
+ identity?: (string|null);
37137
+ }
37138
+
37139
+ /** Update the ManagerIdentity of a Worker Deployment. */
37140
+ class SetWorkerDeploymentManagerRequest implements ISetWorkerDeploymentManagerRequest {
37141
+
37142
+ /**
37143
+ * Constructs a new SetWorkerDeploymentManagerRequest.
37144
+ * @param [properties] Properties to set
37145
+ */
37146
+ constructor(properties?: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerRequest);
37147
+
37148
+ /** SetWorkerDeploymentManagerRequest namespace. */
37149
+ public namespace: string;
37150
+
37151
+ /** SetWorkerDeploymentManagerRequest deploymentName. */
37152
+ public deploymentName: string;
37153
+
37154
+ /**
37155
+ * Arbitrary value for `manager_identity`.
37156
+ * Empty will unset the field.
37157
+ */
37158
+ public managerIdentity?: (string|null);
37159
+
37160
+ /** True will set `manager_identity` to `identity`. */
37161
+ public self?: (boolean|null);
37162
+
37163
+ /**
37164
+ * Optional. This can be the value of conflict_token from a Describe, or another Worker
37165
+ * Deployment API. Passing a non-nil conflict token will cause this request to fail if the
37166
+ * Deployment's configuration has been modified between the API call that generated the
37167
+ * token and this one.
37168
+ */
37169
+ public conflictToken: Uint8Array;
37170
+
37171
+ /** Required. The identity of the client who initiated this request. */
37172
+ public identity: string;
37173
+
37174
+ /** SetWorkerDeploymentManagerRequest newManagerIdentity. */
37175
+ public newManagerIdentity?: ("managerIdentity"|"self");
37176
+
37177
+ /**
37178
+ * Creates a new SetWorkerDeploymentManagerRequest instance using the specified properties.
37179
+ * @param [properties] Properties to set
37180
+ * @returns SetWorkerDeploymentManagerRequest instance
37181
+ */
37182
+ public static create(properties?: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerRequest): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest;
37183
+
37184
+ /**
37185
+ * Encodes the specified SetWorkerDeploymentManagerRequest message. Does not implicitly {@link temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest.verify|verify} messages.
37186
+ * @param message SetWorkerDeploymentManagerRequest message or plain object to encode
37187
+ * @param [writer] Writer to encode to
37188
+ * @returns Writer
37189
+ */
37190
+ public static encode(message: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
37191
+
37192
+ /**
37193
+ * Encodes the specified SetWorkerDeploymentManagerRequest message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest.verify|verify} messages.
37194
+ * @param message SetWorkerDeploymentManagerRequest message or plain object to encode
37195
+ * @param [writer] Writer to encode to
37196
+ * @returns Writer
37197
+ */
37198
+ public static encodeDelimited(message: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
37199
+
37200
+ /**
37201
+ * Decodes a SetWorkerDeploymentManagerRequest message from the specified reader or buffer.
37202
+ * @param reader Reader or buffer to decode from
37203
+ * @param [length] Message length if known beforehand
37204
+ * @returns SetWorkerDeploymentManagerRequest
37205
+ * @throws {Error} If the payload is not a reader or valid buffer
37206
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37207
+ */
37208
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest;
37209
+
37210
+ /**
37211
+ * Decodes a SetWorkerDeploymentManagerRequest message from the specified reader or buffer, length delimited.
37212
+ * @param reader Reader or buffer to decode from
37213
+ * @returns SetWorkerDeploymentManagerRequest
37214
+ * @throws {Error} If the payload is not a reader or valid buffer
37215
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37216
+ */
37217
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest;
37218
+
37219
+ /**
37220
+ * Creates a SetWorkerDeploymentManagerRequest message from a plain object. Also converts values to their respective internal types.
37221
+ * @param object Plain object
37222
+ * @returns SetWorkerDeploymentManagerRequest
37223
+ */
37224
+ public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest;
37225
+
37226
+ /**
37227
+ * Creates a plain object from a SetWorkerDeploymentManagerRequest message. Also converts values to other types if specified.
37228
+ * @param message SetWorkerDeploymentManagerRequest
37229
+ * @param [options] Conversion options
37230
+ * @returns Plain object
37231
+ */
37232
+ public static toObject(message: temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
37233
+
37234
+ /**
37235
+ * Converts this SetWorkerDeploymentManagerRequest to JSON.
37236
+ * @returns JSON object
37237
+ */
37238
+ public toJSON(): { [k: string]: any };
37239
+
37240
+ /**
37241
+ * Gets the default type url for SetWorkerDeploymentManagerRequest
37242
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
37243
+ * @returns The default type url
37244
+ */
37245
+ public static getTypeUrl(typeUrlPrefix?: string): string;
37246
+ }
37247
+
37248
+ /** Properties of a SetWorkerDeploymentManagerResponse. */
37249
+ interface ISetWorkerDeploymentManagerResponse {
37250
+
37251
+ /**
37252
+ * This value is returned so that it can be optionally passed to APIs
37253
+ * that write to the Worker Deployment state to ensure that the state
37254
+ * did not change between this API call and a future write.
37255
+ */
37256
+ conflictToken?: (Uint8Array|null);
37257
+
37258
+ /** What the `manager_identity` field was before this change. */
37259
+ previousManagerIdentity?: (string|null);
37260
+ }
37261
+
37262
+ /** Represents a SetWorkerDeploymentManagerResponse. */
37263
+ class SetWorkerDeploymentManagerResponse implements ISetWorkerDeploymentManagerResponse {
37264
+
37265
+ /**
37266
+ * Constructs a new SetWorkerDeploymentManagerResponse.
37267
+ * @param [properties] Properties to set
37268
+ */
37269
+ constructor(properties?: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerResponse);
37270
+
37271
+ /**
37272
+ * This value is returned so that it can be optionally passed to APIs
37273
+ * that write to the Worker Deployment state to ensure that the state
37274
+ * did not change between this API call and a future write.
37275
+ */
37276
+ public conflictToken: Uint8Array;
37277
+
37278
+ /** What the `manager_identity` field was before this change. */
37279
+ public previousManagerIdentity: string;
37280
+
37281
+ /**
37282
+ * Creates a new SetWorkerDeploymentManagerResponse instance using the specified properties.
37283
+ * @param [properties] Properties to set
37284
+ * @returns SetWorkerDeploymentManagerResponse instance
37285
+ */
37286
+ public static create(properties?: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerResponse): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse;
37287
+
37288
+ /**
37289
+ * Encodes the specified SetWorkerDeploymentManagerResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.verify|verify} messages.
37290
+ * @param message SetWorkerDeploymentManagerResponse message or plain object to encode
37291
+ * @param [writer] Writer to encode to
37292
+ * @returns Writer
37293
+ */
37294
+ public static encode(message: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerResponse, writer?: $protobuf.Writer): $protobuf.Writer;
37295
+
37296
+ /**
37297
+ * Encodes the specified SetWorkerDeploymentManagerResponse message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.verify|verify} messages.
37298
+ * @param message SetWorkerDeploymentManagerResponse message or plain object to encode
37299
+ * @param [writer] Writer to encode to
37300
+ * @returns Writer
37301
+ */
37302
+ public static encodeDelimited(message: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerResponse, writer?: $protobuf.Writer): $protobuf.Writer;
37303
+
37304
+ /**
37305
+ * Decodes a SetWorkerDeploymentManagerResponse message from the specified reader or buffer.
37306
+ * @param reader Reader or buffer to decode from
37307
+ * @param [length] Message length if known beforehand
37308
+ * @returns SetWorkerDeploymentManagerResponse
37309
+ * @throws {Error} If the payload is not a reader or valid buffer
37310
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37311
+ */
37312
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse;
37313
+
37314
+ /**
37315
+ * Decodes a SetWorkerDeploymentManagerResponse message from the specified reader or buffer, length delimited.
37316
+ * @param reader Reader or buffer to decode from
37317
+ * @returns SetWorkerDeploymentManagerResponse
37318
+ * @throws {Error} If the payload is not a reader or valid buffer
37319
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37320
+ */
37321
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse;
37322
+
37323
+ /**
37324
+ * Creates a SetWorkerDeploymentManagerResponse message from a plain object. Also converts values to their respective internal types.
37325
+ * @param object Plain object
37326
+ * @returns SetWorkerDeploymentManagerResponse
37327
+ */
37328
+ public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse;
37329
+
37330
+ /**
37331
+ * Creates a plain object from a SetWorkerDeploymentManagerResponse message. Also converts values to other types if specified.
37332
+ * @param message SetWorkerDeploymentManagerResponse
37333
+ * @param [options] Conversion options
37334
+ * @returns Plain object
37335
+ */
37336
+ public static toObject(message: temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
37337
+
37338
+ /**
37339
+ * Converts this SetWorkerDeploymentManagerResponse to JSON.
37340
+ * @returns JSON object
37341
+ */
37342
+ public toJSON(): { [k: string]: any };
37343
+
37344
+ /**
37345
+ * Gets the default type url for SetWorkerDeploymentManagerResponse
37346
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
37347
+ * @returns The default type url
37348
+ */
37349
+ public static getTypeUrl(typeUrlPrefix?: string): string;
37350
+ }
37351
+
37051
37352
  /** Properties of a GetCurrentDeploymentRequest. */
37052
37353
  interface IGetCurrentDeploymentRequest {
37053
37354
 
@@ -39600,6 +39901,192 @@ export namespace temporal {
39600
39901
  public static getTypeUrl(typeUrlPrefix?: string): string;
39601
39902
  }
39602
39903
 
39904
+ /** Properties of a DescribeWorkerRequest. */
39905
+ interface IDescribeWorkerRequest {
39906
+
39907
+ /** Namespace this worker belongs to. */
39908
+ namespace?: (string|null);
39909
+
39910
+ /** Worker instance key to describe. */
39911
+ workerInstanceKey?: (string|null);
39912
+ }
39913
+
39914
+ /** Represents a DescribeWorkerRequest. */
39915
+ class DescribeWorkerRequest implements IDescribeWorkerRequest {
39916
+
39917
+ /**
39918
+ * Constructs a new DescribeWorkerRequest.
39919
+ * @param [properties] Properties to set
39920
+ */
39921
+ constructor(properties?: temporal.api.workflowservice.v1.IDescribeWorkerRequest);
39922
+
39923
+ /** Namespace this worker belongs to. */
39924
+ public namespace: string;
39925
+
39926
+ /** Worker instance key to describe. */
39927
+ public workerInstanceKey: string;
39928
+
39929
+ /**
39930
+ * Creates a new DescribeWorkerRequest instance using the specified properties.
39931
+ * @param [properties] Properties to set
39932
+ * @returns DescribeWorkerRequest instance
39933
+ */
39934
+ public static create(properties?: temporal.api.workflowservice.v1.IDescribeWorkerRequest): temporal.api.workflowservice.v1.DescribeWorkerRequest;
39935
+
39936
+ /**
39937
+ * Encodes the specified DescribeWorkerRequest message. Does not implicitly {@link temporal.api.workflowservice.v1.DescribeWorkerRequest.verify|verify} messages.
39938
+ * @param message DescribeWorkerRequest message or plain object to encode
39939
+ * @param [writer] Writer to encode to
39940
+ * @returns Writer
39941
+ */
39942
+ public static encode(message: temporal.api.workflowservice.v1.IDescribeWorkerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
39943
+
39944
+ /**
39945
+ * Encodes the specified DescribeWorkerRequest message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.DescribeWorkerRequest.verify|verify} messages.
39946
+ * @param message DescribeWorkerRequest message or plain object to encode
39947
+ * @param [writer] Writer to encode to
39948
+ * @returns Writer
39949
+ */
39950
+ public static encodeDelimited(message: temporal.api.workflowservice.v1.IDescribeWorkerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
39951
+
39952
+ /**
39953
+ * Decodes a DescribeWorkerRequest message from the specified reader or buffer.
39954
+ * @param reader Reader or buffer to decode from
39955
+ * @param [length] Message length if known beforehand
39956
+ * @returns DescribeWorkerRequest
39957
+ * @throws {Error} If the payload is not a reader or valid buffer
39958
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39959
+ */
39960
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.DescribeWorkerRequest;
39961
+
39962
+ /**
39963
+ * Decodes a DescribeWorkerRequest message from the specified reader or buffer, length delimited.
39964
+ * @param reader Reader or buffer to decode from
39965
+ * @returns DescribeWorkerRequest
39966
+ * @throws {Error} If the payload is not a reader or valid buffer
39967
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39968
+ */
39969
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.DescribeWorkerRequest;
39970
+
39971
+ /**
39972
+ * Creates a DescribeWorkerRequest message from a plain object. Also converts values to their respective internal types.
39973
+ * @param object Plain object
39974
+ * @returns DescribeWorkerRequest
39975
+ */
39976
+ public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.DescribeWorkerRequest;
39977
+
39978
+ /**
39979
+ * Creates a plain object from a DescribeWorkerRequest message. Also converts values to other types if specified.
39980
+ * @param message DescribeWorkerRequest
39981
+ * @param [options] Conversion options
39982
+ * @returns Plain object
39983
+ */
39984
+ public static toObject(message: temporal.api.workflowservice.v1.DescribeWorkerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
39985
+
39986
+ /**
39987
+ * Converts this DescribeWorkerRequest to JSON.
39988
+ * @returns JSON object
39989
+ */
39990
+ public toJSON(): { [k: string]: any };
39991
+
39992
+ /**
39993
+ * Gets the default type url for DescribeWorkerRequest
39994
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
39995
+ * @returns The default type url
39996
+ */
39997
+ public static getTypeUrl(typeUrlPrefix?: string): string;
39998
+ }
39999
+
40000
+ /** Properties of a DescribeWorkerResponse. */
40001
+ interface IDescribeWorkerResponse {
40002
+
40003
+ /** DescribeWorkerResponse workerInfo */
40004
+ workerInfo?: (temporal.api.worker.v1.IWorkerInfo|null);
40005
+ }
40006
+
40007
+ /** Represents a DescribeWorkerResponse. */
40008
+ class DescribeWorkerResponse implements IDescribeWorkerResponse {
40009
+
40010
+ /**
40011
+ * Constructs a new DescribeWorkerResponse.
40012
+ * @param [properties] Properties to set
40013
+ */
40014
+ constructor(properties?: temporal.api.workflowservice.v1.IDescribeWorkerResponse);
40015
+
40016
+ /** DescribeWorkerResponse workerInfo. */
40017
+ public workerInfo?: (temporal.api.worker.v1.IWorkerInfo|null);
40018
+
40019
+ /**
40020
+ * Creates a new DescribeWorkerResponse instance using the specified properties.
40021
+ * @param [properties] Properties to set
40022
+ * @returns DescribeWorkerResponse instance
40023
+ */
40024
+ public static create(properties?: temporal.api.workflowservice.v1.IDescribeWorkerResponse): temporal.api.workflowservice.v1.DescribeWorkerResponse;
40025
+
40026
+ /**
40027
+ * Encodes the specified DescribeWorkerResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.DescribeWorkerResponse.verify|verify} messages.
40028
+ * @param message DescribeWorkerResponse message or plain object to encode
40029
+ * @param [writer] Writer to encode to
40030
+ * @returns Writer
40031
+ */
40032
+ public static encode(message: temporal.api.workflowservice.v1.IDescribeWorkerResponse, writer?: $protobuf.Writer): $protobuf.Writer;
40033
+
40034
+ /**
40035
+ * Encodes the specified DescribeWorkerResponse message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.DescribeWorkerResponse.verify|verify} messages.
40036
+ * @param message DescribeWorkerResponse message or plain object to encode
40037
+ * @param [writer] Writer to encode to
40038
+ * @returns Writer
40039
+ */
40040
+ public static encodeDelimited(message: temporal.api.workflowservice.v1.IDescribeWorkerResponse, writer?: $protobuf.Writer): $protobuf.Writer;
40041
+
40042
+ /**
40043
+ * Decodes a DescribeWorkerResponse message from the specified reader or buffer.
40044
+ * @param reader Reader or buffer to decode from
40045
+ * @param [length] Message length if known beforehand
40046
+ * @returns DescribeWorkerResponse
40047
+ * @throws {Error} If the payload is not a reader or valid buffer
40048
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40049
+ */
40050
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.DescribeWorkerResponse;
40051
+
40052
+ /**
40053
+ * Decodes a DescribeWorkerResponse message from the specified reader or buffer, length delimited.
40054
+ * @param reader Reader or buffer to decode from
40055
+ * @returns DescribeWorkerResponse
40056
+ * @throws {Error} If the payload is not a reader or valid buffer
40057
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40058
+ */
40059
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.DescribeWorkerResponse;
40060
+
40061
+ /**
40062
+ * Creates a DescribeWorkerResponse message from a plain object. Also converts values to their respective internal types.
40063
+ * @param object Plain object
40064
+ * @returns DescribeWorkerResponse
40065
+ */
40066
+ public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.DescribeWorkerResponse;
40067
+
40068
+ /**
40069
+ * Creates a plain object from a DescribeWorkerResponse message. Also converts values to other types if specified.
40070
+ * @param message DescribeWorkerResponse
40071
+ * @param [options] Conversion options
40072
+ * @returns Plain object
40073
+ */
40074
+ public static toObject(message: temporal.api.workflowservice.v1.DescribeWorkerResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
40075
+
40076
+ /**
40077
+ * Converts this DescribeWorkerResponse to JSON.
40078
+ * @returns JSON object
40079
+ */
40080
+ public toJSON(): { [k: string]: any };
40081
+
40082
+ /**
40083
+ * Gets the default type url for DescribeWorkerResponse
40084
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
40085
+ * @returns The default type url
40086
+ */
40087
+ public static getTypeUrl(typeUrlPrefix?: string): string;
40088
+ }
40089
+
39603
40090
  /**
39604
40091
  * WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server
39605
40092
  * to create and interact with workflows and activities.
@@ -40345,7 +40832,8 @@ export namespace temporal {
40345
40832
  public listArchivedWorkflowExecutions(request: temporal.api.workflowservice.v1.IListArchivedWorkflowExecutionsRequest): Promise<temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse>;
40346
40833
 
40347
40834
  /**
40348
- * ScanWorkflowExecutions is a visibility API to list large amount of workflow executions in a specific namespace without order.
40835
+ * ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order.
40836
+ * It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally.
40349
40837
  *
40350
40838
  * Deprecated: Replaced with `ListWorkflowExecutions`.
40351
40839
  * (-- api-linter: core::0127::http-annotation=disabled
@@ -40356,7 +40844,8 @@ export namespace temporal {
40356
40844
  public scanWorkflowExecutions(request: temporal.api.workflowservice.v1.IScanWorkflowExecutionsRequest, callback: temporal.api.workflowservice.v1.WorkflowService.ScanWorkflowExecutionsCallback): void;
40357
40845
 
40358
40846
  /**
40359
- * ScanWorkflowExecutions is a visibility API to list large amount of workflow executions in a specific namespace without order.
40847
+ * ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order.
40848
+ * It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally.
40360
40849
  *
40361
40850
  * Deprecated: Replaced with `ListWorkflowExecutions`.
40362
40851
  * (-- api-linter: core::0127::http-annotation=disabled
@@ -41122,6 +41611,22 @@ export namespace temporal {
41122
41611
  */
41123
41612
  public updateWorkerDeploymentVersionMetadata(request: temporal.api.workflowservice.v1.IUpdateWorkerDeploymentVersionMetadataRequest): Promise<temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse>;
41124
41613
 
41614
+ /**
41615
+ * Set/unset the ManagerIdentity of a Worker Deployment.
41616
+ * Experimental. This API might significantly change or be removed in a future release.
41617
+ * @param request SetWorkerDeploymentManagerRequest message or plain object
41618
+ * @param callback Node-style callback called with the error, if any, and SetWorkerDeploymentManagerResponse
41619
+ */
41620
+ public setWorkerDeploymentManager(request: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerRequest, callback: temporal.api.workflowservice.v1.WorkflowService.SetWorkerDeploymentManagerCallback): void;
41621
+
41622
+ /**
41623
+ * Set/unset the ManagerIdentity of a Worker Deployment.
41624
+ * Experimental. This API might significantly change or be removed in a future release.
41625
+ * @param request SetWorkerDeploymentManagerRequest message or plain object
41626
+ * @returns Promise
41627
+ */
41628
+ public setWorkerDeploymentManager(request: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerRequest): Promise<temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse>;
41629
+
41125
41630
  /**
41126
41631
  * Invokes the specified Update function on user Workflow code.
41127
41632
  * @param request UpdateWorkflowExecutionRequest message or plain object
@@ -41595,6 +42100,20 @@ export namespace temporal {
41595
42100
  * @returns Promise
41596
42101
  */
41597
42102
  public updateWorkerConfig(request: temporal.api.workflowservice.v1.IUpdateWorkerConfigRequest): Promise<temporal.api.workflowservice.v1.UpdateWorkerConfigResponse>;
42103
+
42104
+ /**
42105
+ * DescribeWorker returns information about the specified worker.
42106
+ * @param request DescribeWorkerRequest message or plain object
42107
+ * @param callback Node-style callback called with the error, if any, and DescribeWorkerResponse
42108
+ */
42109
+ public describeWorker(request: temporal.api.workflowservice.v1.IDescribeWorkerRequest, callback: temporal.api.workflowservice.v1.WorkflowService.DescribeWorkerCallback): void;
42110
+
42111
+ /**
42112
+ * DescribeWorker returns information about the specified worker.
42113
+ * @param request DescribeWorkerRequest message or plain object
42114
+ * @returns Promise
42115
+ */
42116
+ public describeWorker(request: temporal.api.workflowservice.v1.IDescribeWorkerRequest): Promise<temporal.api.workflowservice.v1.DescribeWorkerResponse>;
41598
42117
  }
41599
42118
 
41600
42119
  namespace WorkflowService {
@@ -42075,6 +42594,13 @@ export namespace temporal {
42075
42594
  */
42076
42595
  type UpdateWorkerDeploymentVersionMetadataCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse) => void;
42077
42596
 
42597
+ /**
42598
+ * Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#setWorkerDeploymentManager}.
42599
+ * @param error Error, if any
42600
+ * @param [response] SetWorkerDeploymentManagerResponse
42601
+ */
42602
+ type SetWorkerDeploymentManagerCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse) => void;
42603
+
42078
42604
  /**
42079
42605
  * Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#updateWorkflowExecution}.
42080
42606
  * @param error Error, if any
@@ -42242,6 +42768,13 @@ export namespace temporal {
42242
42768
  * @param [response] UpdateWorkerConfigResponse
42243
42769
  */
42244
42770
  type UpdateWorkerConfigCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.UpdateWorkerConfigResponse) => void;
42771
+
42772
+ /**
42773
+ * Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#describeWorker}.
42774
+ * @param error Error, if any
42775
+ * @param [response] DescribeWorkerResponse
42776
+ */
42777
+ type DescribeWorkerCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.DescribeWorkerResponse) => void;
42245
42778
  }
42246
42779
  }
42247
42780
  }
@@ -46325,6 +46858,14 @@ export namespace temporal {
46325
46858
  * `SetWorkerDeploymentRampingVersion`.
46326
46859
  */
46327
46860
  lastModifierIdentity?: (string|null);
46861
+
46862
+ /**
46863
+ * Identity of the client that has the exclusive right to make changes to this Worker Deployment.
46864
+ * Empty by default.
46865
+ * If this is set, clients whose identity does not match `manager_identity` will not be able to make changes
46866
+ * to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
46867
+ */
46868
+ managerIdentity?: (string|null);
46328
46869
  }
46329
46870
 
46330
46871
  /**
@@ -46370,6 +46911,14 @@ export namespace temporal {
46370
46911
  */
46371
46912
  public lastModifierIdentity: string;
46372
46913
 
46914
+ /**
46915
+ * Identity of the client that has the exclusive right to make changes to this Worker Deployment.
46916
+ * Empty by default.
46917
+ * If this is set, clients whose identity does not match `manager_identity` will not be able to make changes
46918
+ * to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
46919
+ */
46920
+ public managerIdentity: string;
46921
+
46373
46922
  /**
46374
46923
  * Creates a new WorkerDeploymentInfo instance using the specified properties.
46375
46924
  * @param [properties] Properties to set
@@ -62991,6 +63540,12 @@ export namespace temporal {
62991
63540
 
62992
63541
  /** True if the namespace supports async update */
62993
63542
  asyncUpdate?: (boolean|null);
63543
+
63544
+ /** True if the namespace supports worker heartbeats */
63545
+ workerHeartbeats?: (boolean|null);
63546
+
63547
+ /** True if the namespace supports reported problems search attribute */
63548
+ reportedProblemsSearchAttribute?: (boolean|null);
62994
63549
  }
62995
63550
 
62996
63551
  /** Namespace capability details. Should contain what features are enabled in a namespace. */
@@ -63011,6 +63566,12 @@ export namespace temporal {
63011
63566
  /** True if the namespace supports async update */
63012
63567
  public asyncUpdate: boolean;
63013
63568
 
63569
+ /** True if the namespace supports worker heartbeats */
63570
+ public workerHeartbeats: boolean;
63571
+
63572
+ /** True if the namespace supports reported problems search attribute */
63573
+ public reportedProblemsSearchAttribute: boolean;
63574
+
63014
63575
  /**
63015
63576
  * Creates a new Capabilities instance using the specified properties.
63016
63577
  * @param [properties] Properties to set
@@ -72751,6 +73312,20 @@ export namespace temporal {
72751
73312
  */
72752
73313
  public updateServiceAccount(request: temporal.api.cloud.cloudservice.v1.IUpdateServiceAccountRequest): Promise<temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse>;
72753
73314
 
73315
+ /**
73316
+ * Set a service account's access to a namespace.
73317
+ * @param request SetServiceAccountNamespaceAccessRequest message or plain object
73318
+ * @param callback Node-style callback called with the error, if any, and SetServiceAccountNamespaceAccessResponse
73319
+ */
73320
+ public setServiceAccountNamespaceAccess(request: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessRequest, callback: temporal.api.cloud.cloudservice.v1.CloudService.SetServiceAccountNamespaceAccessCallback): void;
73321
+
73322
+ /**
73323
+ * Set a service account's access to a namespace.
73324
+ * @param request SetServiceAccountNamespaceAccessRequest message or plain object
73325
+ * @returns Promise
73326
+ */
73327
+ public setServiceAccountNamespaceAccess(request: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessRequest): Promise<temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse>;
73328
+
72754
73329
  /**
72755
73330
  * Delete a service account.
72756
73331
  * @param request DeleteServiceAccountRequest message or plain object
@@ -72964,6 +73539,22 @@ export namespace temporal {
72964
73539
  * @returns Promise
72965
73540
  */
72966
73541
  public deleteConnectivityRule(request: temporal.api.cloud.cloudservice.v1.IDeleteConnectivityRuleRequest): Promise<temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse>;
73542
+
73543
+ /**
73544
+ * Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink.
73545
+ * The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs.
73546
+ * @param request ValidateAccountAuditLogSinkRequest message or plain object
73547
+ * @param callback Node-style callback called with the error, if any, and ValidateAccountAuditLogSinkResponse
73548
+ */
73549
+ public validateAccountAuditLogSink(request: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkRequest, callback: temporal.api.cloud.cloudservice.v1.CloudService.ValidateAccountAuditLogSinkCallback): void;
73550
+
73551
+ /**
73552
+ * Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink.
73553
+ * The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs.
73554
+ * @param request ValidateAccountAuditLogSinkRequest message or plain object
73555
+ * @returns Promise
73556
+ */
73557
+ public validateAccountAuditLogSink(request: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkRequest): Promise<temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse>;
72967
73558
  }
72968
73559
 
72969
73560
  namespace CloudService {
@@ -73255,6 +73846,13 @@ export namespace temporal {
73255
73846
  */
73256
73847
  type UpdateServiceAccountCallback = (error: (Error|null), response?: temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse) => void;
73257
73848
 
73849
+ /**
73850
+ * Callback as used by {@link temporal.api.cloud.cloudservice.v1.CloudService#setServiceAccountNamespaceAccess}.
73851
+ * @param error Error, if any
73852
+ * @param [response] SetServiceAccountNamespaceAccessResponse
73853
+ */
73854
+ type SetServiceAccountNamespaceAccessCallback = (error: (Error|null), response?: temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse) => void;
73855
+
73258
73856
  /**
73259
73857
  * Callback as used by {@link temporal.api.cloud.cloudservice.v1.CloudService#deleteServiceAccount}.
73260
73858
  * @param error Error, if any
@@ -73359,6 +73957,13 @@ export namespace temporal {
73359
73957
  * @param [response] DeleteConnectivityRuleResponse
73360
73958
  */
73361
73959
  type DeleteConnectivityRuleCallback = (error: (Error|null), response?: temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse) => void;
73960
+
73961
+ /**
73962
+ * Callback as used by {@link temporal.api.cloud.cloudservice.v1.CloudService#validateAccountAuditLogSink}.
73963
+ * @param error Error, if any
73964
+ * @param [response] ValidateAccountAuditLogSinkResponse
73965
+ */
73966
+ type ValidateAccountAuditLogSinkCallback = (error: (Error|null), response?: temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse) => void;
73362
73967
  }
73363
73968
 
73364
73969
  /** Properties of a GetUsersRequest. */
@@ -81742,6 +82347,216 @@ export namespace temporal {
81742
82347
  public static getTypeUrl(typeUrlPrefix?: string): string;
81743
82348
  }
81744
82349
 
82350
+ /** Properties of a SetServiceAccountNamespaceAccessRequest. */
82351
+ interface ISetServiceAccountNamespaceAccessRequest {
82352
+
82353
+ /** The ID of the service account to update. */
82354
+ serviceAccountId?: (string|null);
82355
+
82356
+ /** The namespace to set permissions for. */
82357
+ namespace?: (string|null);
82358
+
82359
+ /** The namespace access to assign the service account. */
82360
+ access?: (temporal.api.cloud.identity.v1.INamespaceAccess|null);
82361
+
82362
+ /**
82363
+ * The version of the service account for which this update is intended for.
82364
+ * The latest version can be found in the GetServiceAccount response.
82365
+ */
82366
+ resourceVersion?: (string|null);
82367
+
82368
+ /** The ID to use for this async operation - optional. */
82369
+ asyncOperationId?: (string|null);
82370
+ }
82371
+
82372
+ /** Represents a SetServiceAccountNamespaceAccessRequest. */
82373
+ class SetServiceAccountNamespaceAccessRequest implements ISetServiceAccountNamespaceAccessRequest {
82374
+
82375
+ /**
82376
+ * Constructs a new SetServiceAccountNamespaceAccessRequest.
82377
+ * @param [properties] Properties to set
82378
+ */
82379
+ constructor(properties?: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessRequest);
82380
+
82381
+ /** The ID of the service account to update. */
82382
+ public serviceAccountId: string;
82383
+
82384
+ /** The namespace to set permissions for. */
82385
+ public namespace: string;
82386
+
82387
+ /** The namespace access to assign the service account. */
82388
+ public access?: (temporal.api.cloud.identity.v1.INamespaceAccess|null);
82389
+
82390
+ /**
82391
+ * The version of the service account for which this update is intended for.
82392
+ * The latest version can be found in the GetServiceAccount response.
82393
+ */
82394
+ public resourceVersion: string;
82395
+
82396
+ /** The ID to use for this async operation - optional. */
82397
+ public asyncOperationId: string;
82398
+
82399
+ /**
82400
+ * Creates a new SetServiceAccountNamespaceAccessRequest instance using the specified properties.
82401
+ * @param [properties] Properties to set
82402
+ * @returns SetServiceAccountNamespaceAccessRequest instance
82403
+ */
82404
+ public static create(properties?: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessRequest): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest;
82405
+
82406
+ /**
82407
+ * Encodes the specified SetServiceAccountNamespaceAccessRequest message. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest.verify|verify} messages.
82408
+ * @param message SetServiceAccountNamespaceAccessRequest message or plain object to encode
82409
+ * @param [writer] Writer to encode to
82410
+ * @returns Writer
82411
+ */
82412
+ public static encode(message: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessRequest, writer?: $protobuf.Writer): $protobuf.Writer;
82413
+
82414
+ /**
82415
+ * Encodes the specified SetServiceAccountNamespaceAccessRequest message, length delimited. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest.verify|verify} messages.
82416
+ * @param message SetServiceAccountNamespaceAccessRequest message or plain object to encode
82417
+ * @param [writer] Writer to encode to
82418
+ * @returns Writer
82419
+ */
82420
+ public static encodeDelimited(message: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessRequest, writer?: $protobuf.Writer): $protobuf.Writer;
82421
+
82422
+ /**
82423
+ * Decodes a SetServiceAccountNamespaceAccessRequest message from the specified reader or buffer.
82424
+ * @param reader Reader or buffer to decode from
82425
+ * @param [length] Message length if known beforehand
82426
+ * @returns SetServiceAccountNamespaceAccessRequest
82427
+ * @throws {Error} If the payload is not a reader or valid buffer
82428
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
82429
+ */
82430
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest;
82431
+
82432
+ /**
82433
+ * Decodes a SetServiceAccountNamespaceAccessRequest message from the specified reader or buffer, length delimited.
82434
+ * @param reader Reader or buffer to decode from
82435
+ * @returns SetServiceAccountNamespaceAccessRequest
82436
+ * @throws {Error} If the payload is not a reader or valid buffer
82437
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
82438
+ */
82439
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest;
82440
+
82441
+ /**
82442
+ * Creates a SetServiceAccountNamespaceAccessRequest message from a plain object. Also converts values to their respective internal types.
82443
+ * @param object Plain object
82444
+ * @returns SetServiceAccountNamespaceAccessRequest
82445
+ */
82446
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest;
82447
+
82448
+ /**
82449
+ * Creates a plain object from a SetServiceAccountNamespaceAccessRequest message. Also converts values to other types if specified.
82450
+ * @param message SetServiceAccountNamespaceAccessRequest
82451
+ * @param [options] Conversion options
82452
+ * @returns Plain object
82453
+ */
82454
+ public static toObject(message: temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
82455
+
82456
+ /**
82457
+ * Converts this SetServiceAccountNamespaceAccessRequest to JSON.
82458
+ * @returns JSON object
82459
+ */
82460
+ public toJSON(): { [k: string]: any };
82461
+
82462
+ /**
82463
+ * Gets the default type url for SetServiceAccountNamespaceAccessRequest
82464
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
82465
+ * @returns The default type url
82466
+ */
82467
+ public static getTypeUrl(typeUrlPrefix?: string): string;
82468
+ }
82469
+
82470
+ /** Properties of a SetServiceAccountNamespaceAccessResponse. */
82471
+ interface ISetServiceAccountNamespaceAccessResponse {
82472
+
82473
+ /** The async operation. */
82474
+ asyncOperation?: (temporal.api.cloud.operation.v1.IAsyncOperation|null);
82475
+ }
82476
+
82477
+ /** Represents a SetServiceAccountNamespaceAccessResponse. */
82478
+ class SetServiceAccountNamespaceAccessResponse implements ISetServiceAccountNamespaceAccessResponse {
82479
+
82480
+ /**
82481
+ * Constructs a new SetServiceAccountNamespaceAccessResponse.
82482
+ * @param [properties] Properties to set
82483
+ */
82484
+ constructor(properties?: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessResponse);
82485
+
82486
+ /** The async operation. */
82487
+ public asyncOperation?: (temporal.api.cloud.operation.v1.IAsyncOperation|null);
82488
+
82489
+ /**
82490
+ * Creates a new SetServiceAccountNamespaceAccessResponse instance using the specified properties.
82491
+ * @param [properties] Properties to set
82492
+ * @returns SetServiceAccountNamespaceAccessResponse instance
82493
+ */
82494
+ public static create(properties?: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessResponse): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse;
82495
+
82496
+ /**
82497
+ * Encodes the specified SetServiceAccountNamespaceAccessResponse message. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse.verify|verify} messages.
82498
+ * @param message SetServiceAccountNamespaceAccessResponse message or plain object to encode
82499
+ * @param [writer] Writer to encode to
82500
+ * @returns Writer
82501
+ */
82502
+ public static encode(message: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessResponse, writer?: $protobuf.Writer): $protobuf.Writer;
82503
+
82504
+ /**
82505
+ * Encodes the specified SetServiceAccountNamespaceAccessResponse message, length delimited. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse.verify|verify} messages.
82506
+ * @param message SetServiceAccountNamespaceAccessResponse message or plain object to encode
82507
+ * @param [writer] Writer to encode to
82508
+ * @returns Writer
82509
+ */
82510
+ public static encodeDelimited(message: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessResponse, writer?: $protobuf.Writer): $protobuf.Writer;
82511
+
82512
+ /**
82513
+ * Decodes a SetServiceAccountNamespaceAccessResponse message from the specified reader or buffer.
82514
+ * @param reader Reader or buffer to decode from
82515
+ * @param [length] Message length if known beforehand
82516
+ * @returns SetServiceAccountNamespaceAccessResponse
82517
+ * @throws {Error} If the payload is not a reader or valid buffer
82518
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
82519
+ */
82520
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse;
82521
+
82522
+ /**
82523
+ * Decodes a SetServiceAccountNamespaceAccessResponse message from the specified reader or buffer, length delimited.
82524
+ * @param reader Reader or buffer to decode from
82525
+ * @returns SetServiceAccountNamespaceAccessResponse
82526
+ * @throws {Error} If the payload is not a reader or valid buffer
82527
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
82528
+ */
82529
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse;
82530
+
82531
+ /**
82532
+ * Creates a SetServiceAccountNamespaceAccessResponse message from a plain object. Also converts values to their respective internal types.
82533
+ * @param object Plain object
82534
+ * @returns SetServiceAccountNamespaceAccessResponse
82535
+ */
82536
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse;
82537
+
82538
+ /**
82539
+ * Creates a plain object from a SetServiceAccountNamespaceAccessResponse message. Also converts values to other types if specified.
82540
+ * @param message SetServiceAccountNamespaceAccessResponse
82541
+ * @param [options] Conversion options
82542
+ * @returns Plain object
82543
+ */
82544
+ public static toObject(message: temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
82545
+
82546
+ /**
82547
+ * Converts this SetServiceAccountNamespaceAccessResponse to JSON.
82548
+ * @returns JSON object
82549
+ */
82550
+ public toJSON(): { [k: string]: any };
82551
+
82552
+ /**
82553
+ * Gets the default type url for SetServiceAccountNamespaceAccessResponse
82554
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
82555
+ * @returns The default type url
82556
+ */
82557
+ public static getTypeUrl(typeUrlPrefix?: string): string;
82558
+ }
82559
+
81745
82560
  /** Properties of a DeleteServiceAccountRequest. */
81746
82561
  interface IDeleteServiceAccountRequest {
81747
82562
 
@@ -84731,6 +85546,180 @@ export namespace temporal {
84731
85546
  */
84732
85547
  public static getTypeUrl(typeUrlPrefix?: string): string;
84733
85548
  }
85549
+
85550
+ /** Properties of a ValidateAccountAuditLogSinkRequest. */
85551
+ interface IValidateAccountAuditLogSinkRequest {
85552
+
85553
+ /** The audit log sink spec that will be validated */
85554
+ spec?: (temporal.api.cloud.account.v1.IAuditLogSinkSpec|null);
85555
+ }
85556
+
85557
+ /** Represents a ValidateAccountAuditLogSinkRequest. */
85558
+ class ValidateAccountAuditLogSinkRequest implements IValidateAccountAuditLogSinkRequest {
85559
+
85560
+ /**
85561
+ * Constructs a new ValidateAccountAuditLogSinkRequest.
85562
+ * @param [properties] Properties to set
85563
+ */
85564
+ constructor(properties?: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkRequest);
85565
+
85566
+ /** The audit log sink spec that will be validated */
85567
+ public spec?: (temporal.api.cloud.account.v1.IAuditLogSinkSpec|null);
85568
+
85569
+ /**
85570
+ * Creates a new ValidateAccountAuditLogSinkRequest instance using the specified properties.
85571
+ * @param [properties] Properties to set
85572
+ * @returns ValidateAccountAuditLogSinkRequest instance
85573
+ */
85574
+ public static create(properties?: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkRequest): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest;
85575
+
85576
+ /**
85577
+ * Encodes the specified ValidateAccountAuditLogSinkRequest message. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest.verify|verify} messages.
85578
+ * @param message ValidateAccountAuditLogSinkRequest message or plain object to encode
85579
+ * @param [writer] Writer to encode to
85580
+ * @returns Writer
85581
+ */
85582
+ public static encode(message: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
85583
+
85584
+ /**
85585
+ * Encodes the specified ValidateAccountAuditLogSinkRequest message, length delimited. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest.verify|verify} messages.
85586
+ * @param message ValidateAccountAuditLogSinkRequest message or plain object to encode
85587
+ * @param [writer] Writer to encode to
85588
+ * @returns Writer
85589
+ */
85590
+ public static encodeDelimited(message: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
85591
+
85592
+ /**
85593
+ * Decodes a ValidateAccountAuditLogSinkRequest message from the specified reader or buffer.
85594
+ * @param reader Reader or buffer to decode from
85595
+ * @param [length] Message length if known beforehand
85596
+ * @returns ValidateAccountAuditLogSinkRequest
85597
+ * @throws {Error} If the payload is not a reader or valid buffer
85598
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
85599
+ */
85600
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest;
85601
+
85602
+ /**
85603
+ * Decodes a ValidateAccountAuditLogSinkRequest message from the specified reader or buffer, length delimited.
85604
+ * @param reader Reader or buffer to decode from
85605
+ * @returns ValidateAccountAuditLogSinkRequest
85606
+ * @throws {Error} If the payload is not a reader or valid buffer
85607
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
85608
+ */
85609
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest;
85610
+
85611
+ /**
85612
+ * Creates a ValidateAccountAuditLogSinkRequest message from a plain object. Also converts values to their respective internal types.
85613
+ * @param object Plain object
85614
+ * @returns ValidateAccountAuditLogSinkRequest
85615
+ */
85616
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest;
85617
+
85618
+ /**
85619
+ * Creates a plain object from a ValidateAccountAuditLogSinkRequest message. Also converts values to other types if specified.
85620
+ * @param message ValidateAccountAuditLogSinkRequest
85621
+ * @param [options] Conversion options
85622
+ * @returns Plain object
85623
+ */
85624
+ public static toObject(message: temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
85625
+
85626
+ /**
85627
+ * Converts this ValidateAccountAuditLogSinkRequest to JSON.
85628
+ * @returns JSON object
85629
+ */
85630
+ public toJSON(): { [k: string]: any };
85631
+
85632
+ /**
85633
+ * Gets the default type url for ValidateAccountAuditLogSinkRequest
85634
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
85635
+ * @returns The default type url
85636
+ */
85637
+ public static getTypeUrl(typeUrlPrefix?: string): string;
85638
+ }
85639
+
85640
+ /** Properties of a ValidateAccountAuditLogSinkResponse. */
85641
+ interface IValidateAccountAuditLogSinkResponse {
85642
+ }
85643
+
85644
+ /** Represents a ValidateAccountAuditLogSinkResponse. */
85645
+ class ValidateAccountAuditLogSinkResponse implements IValidateAccountAuditLogSinkResponse {
85646
+
85647
+ /**
85648
+ * Constructs a new ValidateAccountAuditLogSinkResponse.
85649
+ * @param [properties] Properties to set
85650
+ */
85651
+ constructor(properties?: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkResponse);
85652
+
85653
+ /**
85654
+ * Creates a new ValidateAccountAuditLogSinkResponse instance using the specified properties.
85655
+ * @param [properties] Properties to set
85656
+ * @returns ValidateAccountAuditLogSinkResponse instance
85657
+ */
85658
+ public static create(properties?: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkResponse): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse;
85659
+
85660
+ /**
85661
+ * Encodes the specified ValidateAccountAuditLogSinkResponse message. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse.verify|verify} messages.
85662
+ * @param message ValidateAccountAuditLogSinkResponse message or plain object to encode
85663
+ * @param [writer] Writer to encode to
85664
+ * @returns Writer
85665
+ */
85666
+ public static encode(message: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkResponse, writer?: $protobuf.Writer): $protobuf.Writer;
85667
+
85668
+ /**
85669
+ * Encodes the specified ValidateAccountAuditLogSinkResponse message, length delimited. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse.verify|verify} messages.
85670
+ * @param message ValidateAccountAuditLogSinkResponse message or plain object to encode
85671
+ * @param [writer] Writer to encode to
85672
+ * @returns Writer
85673
+ */
85674
+ public static encodeDelimited(message: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkResponse, writer?: $protobuf.Writer): $protobuf.Writer;
85675
+
85676
+ /**
85677
+ * Decodes a ValidateAccountAuditLogSinkResponse message from the specified reader or buffer.
85678
+ * @param reader Reader or buffer to decode from
85679
+ * @param [length] Message length if known beforehand
85680
+ * @returns ValidateAccountAuditLogSinkResponse
85681
+ * @throws {Error} If the payload is not a reader or valid buffer
85682
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
85683
+ */
85684
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse;
85685
+
85686
+ /**
85687
+ * Decodes a ValidateAccountAuditLogSinkResponse message from the specified reader or buffer, length delimited.
85688
+ * @param reader Reader or buffer to decode from
85689
+ * @returns ValidateAccountAuditLogSinkResponse
85690
+ * @throws {Error} If the payload is not a reader or valid buffer
85691
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
85692
+ */
85693
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse;
85694
+
85695
+ /**
85696
+ * Creates a ValidateAccountAuditLogSinkResponse message from a plain object. Also converts values to their respective internal types.
85697
+ * @param object Plain object
85698
+ * @returns ValidateAccountAuditLogSinkResponse
85699
+ */
85700
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse;
85701
+
85702
+ /**
85703
+ * Creates a plain object from a ValidateAccountAuditLogSinkResponse message. Also converts values to other types if specified.
85704
+ * @param message ValidateAccountAuditLogSinkResponse
85705
+ * @param [options] Conversion options
85706
+ * @returns Plain object
85707
+ */
85708
+ public static toObject(message: temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
85709
+
85710
+ /**
85711
+ * Converts this ValidateAccountAuditLogSinkResponse to JSON.
85712
+ * @returns JSON object
85713
+ */
85714
+ public toJSON(): { [k: string]: any };
85715
+
85716
+ /**
85717
+ * Gets the default type url for ValidateAccountAuditLogSinkResponse
85718
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
85719
+ * @returns The default type url
85720
+ */
85721
+ public static getTypeUrl(typeUrlPrefix?: string): string;
85722
+ }
84734
85723
  }
84735
85724
  }
84736
85725
 
@@ -89515,6 +90504,210 @@ export namespace temporal {
89515
90504
  */
89516
90505
  public static getTypeUrl(typeUrlPrefix?: string): string;
89517
90506
  }
90507
+
90508
+ /** Properties of a KinesisSpec. */
90509
+ interface IKinesisSpec {
90510
+
90511
+ /** The role Temporal Cloud assumes when writing records to Kinesis */
90512
+ roleName?: (string|null);
90513
+
90514
+ /** Destination Kinesis endpoint arn for temporal to send data to. */
90515
+ destinationUri?: (string|null);
90516
+
90517
+ /** The sink's region. */
90518
+ region?: (string|null);
90519
+ }
90520
+
90521
+ /** Represents a KinesisSpec. */
90522
+ class KinesisSpec implements IKinesisSpec {
90523
+
90524
+ /**
90525
+ * Constructs a new KinesisSpec.
90526
+ * @param [properties] Properties to set
90527
+ */
90528
+ constructor(properties?: temporal.api.cloud.sink.v1.IKinesisSpec);
90529
+
90530
+ /** The role Temporal Cloud assumes when writing records to Kinesis */
90531
+ public roleName: string;
90532
+
90533
+ /** Destination Kinesis endpoint arn for temporal to send data to. */
90534
+ public destinationUri: string;
90535
+
90536
+ /** The sink's region. */
90537
+ public region: string;
90538
+
90539
+ /**
90540
+ * Creates a new KinesisSpec instance using the specified properties.
90541
+ * @param [properties] Properties to set
90542
+ * @returns KinesisSpec instance
90543
+ */
90544
+ public static create(properties?: temporal.api.cloud.sink.v1.IKinesisSpec): temporal.api.cloud.sink.v1.KinesisSpec;
90545
+
90546
+ /**
90547
+ * Encodes the specified KinesisSpec message. Does not implicitly {@link temporal.api.cloud.sink.v1.KinesisSpec.verify|verify} messages.
90548
+ * @param message KinesisSpec message or plain object to encode
90549
+ * @param [writer] Writer to encode to
90550
+ * @returns Writer
90551
+ */
90552
+ public static encode(message: temporal.api.cloud.sink.v1.IKinesisSpec, writer?: $protobuf.Writer): $protobuf.Writer;
90553
+
90554
+ /**
90555
+ * Encodes the specified KinesisSpec message, length delimited. Does not implicitly {@link temporal.api.cloud.sink.v1.KinesisSpec.verify|verify} messages.
90556
+ * @param message KinesisSpec message or plain object to encode
90557
+ * @param [writer] Writer to encode to
90558
+ * @returns Writer
90559
+ */
90560
+ public static encodeDelimited(message: temporal.api.cloud.sink.v1.IKinesisSpec, writer?: $protobuf.Writer): $protobuf.Writer;
90561
+
90562
+ /**
90563
+ * Decodes a KinesisSpec message from the specified reader or buffer.
90564
+ * @param reader Reader or buffer to decode from
90565
+ * @param [length] Message length if known beforehand
90566
+ * @returns KinesisSpec
90567
+ * @throws {Error} If the payload is not a reader or valid buffer
90568
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
90569
+ */
90570
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.sink.v1.KinesisSpec;
90571
+
90572
+ /**
90573
+ * Decodes a KinesisSpec message from the specified reader or buffer, length delimited.
90574
+ * @param reader Reader or buffer to decode from
90575
+ * @returns KinesisSpec
90576
+ * @throws {Error} If the payload is not a reader or valid buffer
90577
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
90578
+ */
90579
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.sink.v1.KinesisSpec;
90580
+
90581
+ /**
90582
+ * Creates a KinesisSpec message from a plain object. Also converts values to their respective internal types.
90583
+ * @param object Plain object
90584
+ * @returns KinesisSpec
90585
+ */
90586
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.sink.v1.KinesisSpec;
90587
+
90588
+ /**
90589
+ * Creates a plain object from a KinesisSpec message. Also converts values to other types if specified.
90590
+ * @param message KinesisSpec
90591
+ * @param [options] Conversion options
90592
+ * @returns Plain object
90593
+ */
90594
+ public static toObject(message: temporal.api.cloud.sink.v1.KinesisSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
90595
+
90596
+ /**
90597
+ * Converts this KinesisSpec to JSON.
90598
+ * @returns JSON object
90599
+ */
90600
+ public toJSON(): { [k: string]: any };
90601
+
90602
+ /**
90603
+ * Gets the default type url for KinesisSpec
90604
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
90605
+ * @returns The default type url
90606
+ */
90607
+ public static getTypeUrl(typeUrlPrefix?: string): string;
90608
+ }
90609
+
90610
+ /** Properties of a PubSubSpec. */
90611
+ interface IPubSubSpec {
90612
+
90613
+ /** The customer service account id that Temporal Cloud impersonates for writing records to customer's pubsub topic */
90614
+ serviceAccountId?: (string|null);
90615
+
90616
+ /** Destination pubsub topic name for us */
90617
+ topicName?: (string|null);
90618
+
90619
+ /** The gcp project id of pubsub topic and service account */
90620
+ gcpProjectId?: (string|null);
90621
+ }
90622
+
90623
+ /** Represents a PubSubSpec. */
90624
+ class PubSubSpec implements IPubSubSpec {
90625
+
90626
+ /**
90627
+ * Constructs a new PubSubSpec.
90628
+ * @param [properties] Properties to set
90629
+ */
90630
+ constructor(properties?: temporal.api.cloud.sink.v1.IPubSubSpec);
90631
+
90632
+ /** The customer service account id that Temporal Cloud impersonates for writing records to customer's pubsub topic */
90633
+ public serviceAccountId: string;
90634
+
90635
+ /** Destination pubsub topic name for us */
90636
+ public topicName: string;
90637
+
90638
+ /** The gcp project id of pubsub topic and service account */
90639
+ public gcpProjectId: string;
90640
+
90641
+ /**
90642
+ * Creates a new PubSubSpec instance using the specified properties.
90643
+ * @param [properties] Properties to set
90644
+ * @returns PubSubSpec instance
90645
+ */
90646
+ public static create(properties?: temporal.api.cloud.sink.v1.IPubSubSpec): temporal.api.cloud.sink.v1.PubSubSpec;
90647
+
90648
+ /**
90649
+ * Encodes the specified PubSubSpec message. Does not implicitly {@link temporal.api.cloud.sink.v1.PubSubSpec.verify|verify} messages.
90650
+ * @param message PubSubSpec message or plain object to encode
90651
+ * @param [writer] Writer to encode to
90652
+ * @returns Writer
90653
+ */
90654
+ public static encode(message: temporal.api.cloud.sink.v1.IPubSubSpec, writer?: $protobuf.Writer): $protobuf.Writer;
90655
+
90656
+ /**
90657
+ * Encodes the specified PubSubSpec message, length delimited. Does not implicitly {@link temporal.api.cloud.sink.v1.PubSubSpec.verify|verify} messages.
90658
+ * @param message PubSubSpec message or plain object to encode
90659
+ * @param [writer] Writer to encode to
90660
+ * @returns Writer
90661
+ */
90662
+ public static encodeDelimited(message: temporal.api.cloud.sink.v1.IPubSubSpec, writer?: $protobuf.Writer): $protobuf.Writer;
90663
+
90664
+ /**
90665
+ * Decodes a PubSubSpec message from the specified reader or buffer.
90666
+ * @param reader Reader or buffer to decode from
90667
+ * @param [length] Message length if known beforehand
90668
+ * @returns PubSubSpec
90669
+ * @throws {Error} If the payload is not a reader or valid buffer
90670
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
90671
+ */
90672
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.sink.v1.PubSubSpec;
90673
+
90674
+ /**
90675
+ * Decodes a PubSubSpec message from the specified reader or buffer, length delimited.
90676
+ * @param reader Reader or buffer to decode from
90677
+ * @returns PubSubSpec
90678
+ * @throws {Error} If the payload is not a reader or valid buffer
90679
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
90680
+ */
90681
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.sink.v1.PubSubSpec;
90682
+
90683
+ /**
90684
+ * Creates a PubSubSpec message from a plain object. Also converts values to their respective internal types.
90685
+ * @param object Plain object
90686
+ * @returns PubSubSpec
90687
+ */
90688
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.sink.v1.PubSubSpec;
90689
+
90690
+ /**
90691
+ * Creates a plain object from a PubSubSpec message. Also converts values to other types if specified.
90692
+ * @param message PubSubSpec
90693
+ * @param [options] Conversion options
90694
+ * @returns Plain object
90695
+ */
90696
+ public static toObject(message: temporal.api.cloud.sink.v1.PubSubSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
90697
+
90698
+ /**
90699
+ * Converts this PubSubSpec to JSON.
90700
+ * @returns JSON object
90701
+ */
90702
+ public toJSON(): { [k: string]: any };
90703
+
90704
+ /**
90705
+ * Gets the default type url for PubSubSpec
90706
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
90707
+ * @returns The default type url
90708
+ */
90709
+ public static getTypeUrl(typeUrlPrefix?: string): string;
90710
+ }
89518
90711
  }
89519
90712
  }
89520
90713
 
@@ -91178,6 +92371,117 @@ export namespace temporal {
91178
92371
  */
91179
92372
  public static getTypeUrl(typeUrlPrefix?: string): string;
91180
92373
  }
92374
+
92375
+ /** Properties of an AuditLogSinkSpec. */
92376
+ interface IAuditLogSinkSpec {
92377
+
92378
+ /** Name of the sink e.g. "audit_log_01" */
92379
+ name?: (string|null);
92380
+
92381
+ /** The KinesisSpec when destination_type is Kinesis */
92382
+ kinesisSink?: (temporal.api.cloud.sink.v1.IKinesisSpec|null);
92383
+
92384
+ /** The PubSubSpec when destination_type is PubSub */
92385
+ pubSubSink?: (temporal.api.cloud.sink.v1.IPubSubSpec|null);
92386
+
92387
+ /** Enabled indicates whether the sink is enabled or not. */
92388
+ enabled?: (boolean|null);
92389
+ }
92390
+
92391
+ /** AuditLogSinkSpec is only used by Audit Log */
92392
+ class AuditLogSinkSpec implements IAuditLogSinkSpec {
92393
+
92394
+ /**
92395
+ * Constructs a new AuditLogSinkSpec.
92396
+ * @param [properties] Properties to set
92397
+ */
92398
+ constructor(properties?: temporal.api.cloud.account.v1.IAuditLogSinkSpec);
92399
+
92400
+ /** Name of the sink e.g. "audit_log_01" */
92401
+ public name: string;
92402
+
92403
+ /** The KinesisSpec when destination_type is Kinesis */
92404
+ public kinesisSink?: (temporal.api.cloud.sink.v1.IKinesisSpec|null);
92405
+
92406
+ /** The PubSubSpec when destination_type is PubSub */
92407
+ public pubSubSink?: (temporal.api.cloud.sink.v1.IPubSubSpec|null);
92408
+
92409
+ /** Enabled indicates whether the sink is enabled or not. */
92410
+ public enabled: boolean;
92411
+
92412
+ /** AuditLogSinkSpec sinkType. */
92413
+ public sinkType?: ("kinesisSink"|"pubSubSink");
92414
+
92415
+ /**
92416
+ * Creates a new AuditLogSinkSpec instance using the specified properties.
92417
+ * @param [properties] Properties to set
92418
+ * @returns AuditLogSinkSpec instance
92419
+ */
92420
+ public static create(properties?: temporal.api.cloud.account.v1.IAuditLogSinkSpec): temporal.api.cloud.account.v1.AuditLogSinkSpec;
92421
+
92422
+ /**
92423
+ * Encodes the specified AuditLogSinkSpec message. Does not implicitly {@link temporal.api.cloud.account.v1.AuditLogSinkSpec.verify|verify} messages.
92424
+ * @param message AuditLogSinkSpec message or plain object to encode
92425
+ * @param [writer] Writer to encode to
92426
+ * @returns Writer
92427
+ */
92428
+ public static encode(message: temporal.api.cloud.account.v1.IAuditLogSinkSpec, writer?: $protobuf.Writer): $protobuf.Writer;
92429
+
92430
+ /**
92431
+ * Encodes the specified AuditLogSinkSpec message, length delimited. Does not implicitly {@link temporal.api.cloud.account.v1.AuditLogSinkSpec.verify|verify} messages.
92432
+ * @param message AuditLogSinkSpec message or plain object to encode
92433
+ * @param [writer] Writer to encode to
92434
+ * @returns Writer
92435
+ */
92436
+ public static encodeDelimited(message: temporal.api.cloud.account.v1.IAuditLogSinkSpec, writer?: $protobuf.Writer): $protobuf.Writer;
92437
+
92438
+ /**
92439
+ * Decodes an AuditLogSinkSpec message from the specified reader or buffer.
92440
+ * @param reader Reader or buffer to decode from
92441
+ * @param [length] Message length if known beforehand
92442
+ * @returns AuditLogSinkSpec
92443
+ * @throws {Error} If the payload is not a reader or valid buffer
92444
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
92445
+ */
92446
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.account.v1.AuditLogSinkSpec;
92447
+
92448
+ /**
92449
+ * Decodes an AuditLogSinkSpec message from the specified reader or buffer, length delimited.
92450
+ * @param reader Reader or buffer to decode from
92451
+ * @returns AuditLogSinkSpec
92452
+ * @throws {Error} If the payload is not a reader or valid buffer
92453
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
92454
+ */
92455
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.account.v1.AuditLogSinkSpec;
92456
+
92457
+ /**
92458
+ * Creates an AuditLogSinkSpec message from a plain object. Also converts values to their respective internal types.
92459
+ * @param object Plain object
92460
+ * @returns AuditLogSinkSpec
92461
+ */
92462
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.account.v1.AuditLogSinkSpec;
92463
+
92464
+ /**
92465
+ * Creates a plain object from an AuditLogSinkSpec message. Also converts values to other types if specified.
92466
+ * @param message AuditLogSinkSpec
92467
+ * @param [options] Conversion options
92468
+ * @returns Plain object
92469
+ */
92470
+ public static toObject(message: temporal.api.cloud.account.v1.AuditLogSinkSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
92471
+
92472
+ /**
92473
+ * Converts this AuditLogSinkSpec to JSON.
92474
+ * @returns JSON object
92475
+ */
92476
+ public toJSON(): { [k: string]: any };
92477
+
92478
+ /**
92479
+ * Gets the default type url for AuditLogSinkSpec
92480
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
92481
+ * @returns The default type url
92482
+ */
92483
+ public static getTypeUrl(typeUrlPrefix?: string): string;
92484
+ }
91181
92485
  }
91182
92486
  }
91183
92487