@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.
@@ -1,8 +1,6 @@
1
- Temporal TypeScript SDK
1
+ The MIT License
2
2
 
3
- MIT License
4
-
5
- Copyright (c) 2021 Temporal Technologies Inc. All Rights Reserved
3
+ Copyright (c) 2021-2025 Temporal Technologies Inc. All rights reserved.
6
4
 
7
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
8
6
  of this software and associated documentation files (the "Software"), to deal
@@ -11,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
9
  copies of the Software, and to permit persons to whom the Software is
12
10
  furnished to do so, subject to the following conditions:
13
11
 
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
16
14
 
17
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@temporalio/proto",
3
- "version": "1.13.1",
3
+ "version": "1.14.0",
4
4
  "description": "Temporal.io SDK compiled protobuf definitions",
5
5
  "main": "protos/index.js",
6
6
  "types": "protos/index.d.ts",
@@ -42,5 +42,5 @@
42
42
  "engines": {
43
43
  "node": ">= 18.0.0"
44
44
  },
45
- "gitHead": "7904e19bc72dcdf9eb0275ecaa585a2ff2fec072"
45
+ "gitHead": "eb428ac36568b48be67fdba662c38631867b932d"
46
46
  }
package/protos/index.d.ts CHANGED
@@ -25,7 +25,7 @@
25
25
  *
26
26
  * The source protos are in [sdk-core/protos/api_upstream/temporal/api/](https://github.com/temporalio/sdk-core/tree/ts-release/protos/api_upstream/temporal/api), for example [`RetryPolicy` in `temporal/api/common/v1/message.proto`](https://github.com/temporalio/sdk-core/blob/85454935e39f789aaaa81f8a05773f8e2cdbcde2/protos/api_upstream/temporal/api/common/v1/message.proto#L96).
27
27
  *
28
- * The gRPC service methods are documented in the proto comments and in the corresponding [`tctl` docs](https://docs.temporal.io/tctl/).
28
+ * The gRPC service methods are documented in the proto comments and in the corresponding [`Temporal CLI` docs](https://docs.temporal.io/cli/).
29
29
  * @module
30
30
  */
31
31
 
@@ -482,6 +482,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
482
482
  deploymentVersionForCurrentTask: {
483
483
  type: "common.WorkerDeploymentVersion",
484
484
  id: 9
485
+ },
486
+ lastSdkVersion: {
487
+ type: "string",
488
+ id: 10
485
489
  }
486
490
  }
487
491
  },
@@ -3892,6 +3896,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
3892
3896
  priority: {
3893
3897
  type: "temporal.api.common.v1.Priority",
3894
3898
  id: 27
3899
+ },
3900
+ eagerWorkerDeploymentOptions: {
3901
+ type: "temporal.api.deployment.v1.WorkerDeploymentOptions",
3902
+ id: 28
3895
3903
  }
3896
3904
  }
3897
3905
  },
@@ -5618,6 +5626,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
5618
5626
  visibilityStore: {
5619
5627
  type: "string",
5620
5628
  id: 8
5629
+ },
5630
+ initialFailoverVersion: {
5631
+ type: "int64",
5632
+ id: 9
5633
+ },
5634
+ failoverVersionIncrement: {
5635
+ type: "int64",
5636
+ id: 10
5621
5637
  }
5622
5638
  }
5623
5639
  },
@@ -7116,6 +7132,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
7116
7132
  ignoreMissingTaskQueues: {
7117
7133
  type: "bool",
7118
7134
  id: 6
7135
+ },
7136
+ allowNoPollers: {
7137
+ type: "bool",
7138
+ id: 9
7119
7139
  }
7120
7140
  }
7121
7141
  },
@@ -7174,6 +7194,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
7174
7194
  ignoreMissingTaskQueues: {
7175
7195
  type: "bool",
7176
7196
  id: 7
7197
+ },
7198
+ allowNoPollers: {
7199
+ type: "bool",
7200
+ id: 10
7177
7201
  }
7178
7202
  }
7179
7203
  },
@@ -7349,6 +7373,54 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
7349
7373
  }
7350
7374
  }
7351
7375
  },
7376
+ SetWorkerDeploymentManagerRequest: {
7377
+ oneofs: {
7378
+ newManagerIdentity: {
7379
+ oneof: [
7380
+ "managerIdentity",
7381
+ "self"
7382
+ ]
7383
+ }
7384
+ },
7385
+ fields: {
7386
+ namespace: {
7387
+ type: "string",
7388
+ id: 1
7389
+ },
7390
+ deploymentName: {
7391
+ type: "string",
7392
+ id: 2
7393
+ },
7394
+ managerIdentity: {
7395
+ type: "string",
7396
+ id: 3
7397
+ },
7398
+ self: {
7399
+ type: "bool",
7400
+ id: 4
7401
+ },
7402
+ conflictToken: {
7403
+ type: "bytes",
7404
+ id: 5
7405
+ },
7406
+ identity: {
7407
+ type: "string",
7408
+ id: 6
7409
+ }
7410
+ }
7411
+ },
7412
+ SetWorkerDeploymentManagerResponse: {
7413
+ fields: {
7414
+ conflictToken: {
7415
+ type: "bytes",
7416
+ id: 1
7417
+ },
7418
+ previousManagerIdentity: {
7419
+ type: "string",
7420
+ id: 2
7421
+ }
7422
+ }
7423
+ },
7352
7424
  GetCurrentDeploymentRequest: {
7353
7425
  fields: {
7354
7426
  namespace: {
@@ -7711,6 +7783,26 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
7711
7783
  }
7712
7784
  }
7713
7785
  },
7786
+ DescribeWorkerRequest: {
7787
+ fields: {
7788
+ namespace: {
7789
+ type: "string",
7790
+ id: 1
7791
+ },
7792
+ workerInstanceKey: {
7793
+ type: "string",
7794
+ id: 2
7795
+ }
7796
+ }
7797
+ },
7798
+ DescribeWorkerResponse: {
7799
+ fields: {
7800
+ workerInfo: {
7801
+ type: "temporal.api.worker.v1.WorkerInfo",
7802
+ id: 1
7803
+ }
7804
+ }
7805
+ },
7714
7806
  WorkflowService: {
7715
7807
  methods: {
7716
7808
  RegisterNamespace: {
@@ -8813,6 +8905,28 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8813
8905
  }
8814
8906
  ]
8815
8907
  },
8908
+ SetWorkerDeploymentManager: {
8909
+ requestType: "SetWorkerDeploymentManagerRequest",
8910
+ responseType: "SetWorkerDeploymentManagerResponse",
8911
+ options: {
8912
+ "(google.api.http).post": "/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager",
8913
+ "(google.api.http).body": "*",
8914
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager",
8915
+ "(google.api.http).additional_bindings.body": "*"
8916
+ },
8917
+ parsedOptions: [
8918
+ {
8919
+ "(google.api.http)": {
8920
+ post: "/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager",
8921
+ body: "*",
8922
+ additional_bindings: {
8923
+ post: "/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager",
8924
+ body: "*"
8925
+ }
8926
+ }
8927
+ }
8928
+ ]
8929
+ },
8816
8930
  UpdateWorkflowExecution: {
8817
8931
  requestType: "UpdateWorkflowExecutionRequest",
8818
8932
  responseType: "UpdateWorkflowExecutionResponse",
@@ -9244,6 +9358,24 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
9244
9358
  }
9245
9359
  }
9246
9360
  ]
9361
+ },
9362
+ DescribeWorker: {
9363
+ requestType: "DescribeWorkerRequest",
9364
+ responseType: "DescribeWorkerResponse",
9365
+ options: {
9366
+ "(google.api.http).get": "/namespaces/{namespace}/workers/describe/{worker_instance_key}",
9367
+ "(google.api.http).additional_bindings.get": "/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}"
9368
+ },
9369
+ parsedOptions: [
9370
+ {
9371
+ "(google.api.http)": {
9372
+ get: "/namespaces/{namespace}/workers/describe/{worker_instance_key}",
9373
+ additional_bindings: {
9374
+ get: "/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}"
9375
+ }
9376
+ }
9377
+ }
9378
+ ]
9247
9379
  }
9248
9380
  }
9249
9381
  }
@@ -9903,6 +10035,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
9903
10035
  lastModifierIdentity: {
9904
10036
  type: "string",
9905
10037
  id: 5
10038
+ },
10039
+ managerIdentity: {
10040
+ type: "string",
10041
+ id: 6
9906
10042
  }
9907
10043
  },
9908
10044
  nested: {
@@ -13811,6 +13947,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
13811
13947
  asyncUpdate: {
13812
13948
  type: "bool",
13813
13949
  id: 3
13950
+ },
13951
+ workerHeartbeats: {
13952
+ type: "bool",
13953
+ id: 4
13954
+ },
13955
+ reportedProblemsSearchAttribute: {
13956
+ type: "bool",
13957
+ id: 5
13814
13958
  }
13815
13959
  }
13816
13960
  }
@@ -16149,6 +16293,22 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
16149
16293
  }
16150
16294
  ]
16151
16295
  },
16296
+ SetServiceAccountNamespaceAccess: {
16297
+ requestType: "SetServiceAccountNamespaceAccessRequest",
16298
+ responseType: "SetServiceAccountNamespaceAccessResponse",
16299
+ options: {
16300
+ "(google.api.http).post": "/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access",
16301
+ "(google.api.http).body": "*"
16302
+ },
16303
+ parsedOptions: [
16304
+ {
16305
+ "(google.api.http)": {
16306
+ post: "/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access",
16307
+ body: "*"
16308
+ }
16309
+ }
16310
+ ]
16311
+ },
16152
16312
  DeleteServiceAccount: {
16153
16313
  requestType: "DeleteServiceAccountRequest",
16154
16314
  responseType: "DeleteServiceAccountResponse",
@@ -16370,6 +16530,22 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
16370
16530
  }
16371
16531
  }
16372
16532
  ]
16533
+ },
16534
+ ValidateAccountAuditLogSink: {
16535
+ requestType: "ValidateAccountAuditLogSinkRequest",
16536
+ responseType: "ValidateAccountAuditLogSinkResponse",
16537
+ options: {
16538
+ "(google.api.http).post": "/cloud/account/audit-logs/sink/validate",
16539
+ "(google.api.http).body": "*"
16540
+ },
16541
+ parsedOptions: [
16542
+ {
16543
+ "(google.api.http)": {
16544
+ post: "/cloud/account/audit-logs/sink/validate",
16545
+ body: "*"
16546
+ }
16547
+ }
16548
+ ]
16373
16549
  }
16374
16550
  }
16375
16551
  },
@@ -17430,6 +17606,38 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
17430
17606
  }
17431
17607
  }
17432
17608
  },
17609
+ SetServiceAccountNamespaceAccessRequest: {
17610
+ fields: {
17611
+ serviceAccountId: {
17612
+ type: "string",
17613
+ id: 1
17614
+ },
17615
+ namespace: {
17616
+ type: "string",
17617
+ id: 2
17618
+ },
17619
+ access: {
17620
+ type: "temporal.api.cloud.identity.v1.NamespaceAccess",
17621
+ id: 3
17622
+ },
17623
+ resourceVersion: {
17624
+ type: "string",
17625
+ id: 4
17626
+ },
17627
+ asyncOperationId: {
17628
+ type: "string",
17629
+ id: 5
17630
+ }
17631
+ }
17632
+ },
17633
+ SetServiceAccountNamespaceAccessResponse: {
17634
+ fields: {
17635
+ asyncOperation: {
17636
+ type: "temporal.api.cloud.operation.v1.AsyncOperation",
17637
+ id: 1
17638
+ }
17639
+ }
17640
+ },
17433
17641
  DeleteServiceAccountRequest: {
17434
17642
  fields: {
17435
17643
  serviceAccountId: {
@@ -17788,6 +17996,17 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
17788
17996
  id: 1
17789
17997
  }
17790
17998
  }
17999
+ },
18000
+ ValidateAccountAuditLogSinkRequest: {
18001
+ fields: {
18002
+ spec: {
18003
+ type: "temporal.api.cloud.account.v1.AuditLogSinkSpec",
18004
+ id: 1
18005
+ }
18006
+ }
18007
+ },
18008
+ ValidateAccountAuditLogSinkResponse: {
18009
+ fields: {}
17791
18010
  }
17792
18011
  }
17793
18012
  }
@@ -18782,6 +19001,38 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
18782
19001
  id: 4
18783
19002
  }
18784
19003
  }
19004
+ },
19005
+ KinesisSpec: {
19006
+ fields: {
19007
+ roleName: {
19008
+ type: "string",
19009
+ id: 1
19010
+ },
19011
+ destinationUri: {
19012
+ type: "string",
19013
+ id: 2
19014
+ },
19015
+ region: {
19016
+ type: "string",
19017
+ id: 3
19018
+ }
19019
+ }
19020
+ },
19021
+ PubSubSpec: {
19022
+ fields: {
19023
+ serviceAccountId: {
19024
+ type: "string",
19025
+ id: 1
19026
+ },
19027
+ topicName: {
19028
+ type: "string",
19029
+ id: 2
19030
+ },
19031
+ gcpProjectId: {
19032
+ type: "string",
19033
+ id: 3
19034
+ }
19035
+ }
18785
19036
  }
18786
19037
  }
18787
19038
  }
@@ -19123,6 +19374,34 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
19123
19374
  id: 6
19124
19375
  }
19125
19376
  }
19377
+ },
19378
+ AuditLogSinkSpec: {
19379
+ oneofs: {
19380
+ sinkType: {
19381
+ oneof: [
19382
+ "kinesisSink",
19383
+ "pubSubSink"
19384
+ ]
19385
+ }
19386
+ },
19387
+ fields: {
19388
+ name: {
19389
+ type: "string",
19390
+ id: 1
19391
+ },
19392
+ kinesisSink: {
19393
+ type: "api.cloud.sink.v1.KinesisSpec",
19394
+ id: 2
19395
+ },
19396
+ pubSubSink: {
19397
+ type: "api.cloud.sink.v1.PubSubSpec",
19398
+ id: 3
19399
+ },
19400
+ enabled: {
19401
+ type: "bool",
19402
+ id: 4
19403
+ }
19404
+ }
19126
19405
  }
19127
19406
  }
19128
19407
  }