@temporalio/proto 1.15.0 → 1.16.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.
@@ -513,6 +513,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
513
513
  rule: "repeated",
514
514
  type: "temporal.api.enums.v1.SuggestContinueAsNewReason",
515
515
  id: 11
516
+ },
517
+ targetWorkerDeploymentVersionChanged: {
518
+ type: "bool",
519
+ id: 12
516
520
  }
517
521
  }
518
522
  },
@@ -1126,7 +1130,8 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1126
1130
  oneof: [
1127
1131
  "completed",
1128
1132
  "error",
1129
- "ackCancel"
1133
+ "ackCancel",
1134
+ "failure"
1130
1135
  ]
1131
1136
  }
1132
1137
  },
@@ -1141,11 +1146,18 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1141
1146
  },
1142
1147
  error: {
1143
1148
  type: "temporal.api.nexus.v1.HandlerError",
1144
- id: 3
1149
+ id: 3,
1150
+ options: {
1151
+ deprecated: true
1152
+ }
1145
1153
  },
1146
1154
  ackCancel: {
1147
1155
  type: "bool",
1148
1156
  id: 4
1157
+ },
1158
+ failure: {
1159
+ type: "temporal.api.failure.v1.Failure",
1160
+ id: 5
1149
1161
  }
1150
1162
  }
1151
1163
  },
@@ -1579,8 +1591,7 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1579
1591
  id: 7
1580
1592
  },
1581
1593
  searchAttributes: {
1582
- keyType: "string",
1583
- type: "temporal.api.common.v1.Payload",
1594
+ type: "temporal.api.common.v1.SearchAttributes",
1584
1595
  id: 8
1585
1596
  },
1586
1597
  retryPolicy: {
@@ -1678,8 +1689,7 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1678
1689
  id: 16
1679
1690
  },
1680
1691
  searchAttributes: {
1681
- keyType: "string",
1682
- type: "temporal.api.common.v1.Payload",
1692
+ type: "temporal.api.common.v1.SearchAttributes",
1683
1693
  id: 17
1684
1694
  },
1685
1695
  cancellationType: {
@@ -1773,8 +1783,7 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
1773
1783
  UpsertWorkflowSearchAttributes: {
1774
1784
  fields: {
1775
1785
  searchAttributes: {
1776
- keyType: "string",
1777
- type: "temporal.api.common.v1.Payload",
1786
+ type: "temporal.api.common.v1.SearchAttributes",
1778
1787
  id: 1
1779
1788
  }
1780
1789
  }
@@ -2636,9 +2645,15 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
2636
2645
  SUGGEST_CONTINUE_AS_NEW_REASON_UNSPECIFIED: 0,
2637
2646
  SUGGEST_CONTINUE_AS_NEW_REASON_HISTORY_SIZE_TOO_LARGE: 1,
2638
2647
  SUGGEST_CONTINUE_AS_NEW_REASON_TOO_MANY_HISTORY_EVENTS: 2,
2639
- SUGGEST_CONTINUE_AS_NEW_REASON_TOO_MANY_UPDATES: 3,
2640
- SUGGEST_CONTINUE_AS_NEW_REASON_TARGET_WORKER_DEPLOYMENT_VERSION_CHANGED: 4
2641
- }
2648
+ SUGGEST_CONTINUE_AS_NEW_REASON_TOO_MANY_UPDATES: 3
2649
+ },
2650
+ reserved: [
2651
+ [
2652
+ 4,
2653
+ 4
2654
+ ],
2655
+ "SUGGEST_CONTINUE_AS_NEW_REASON_TARGET_WORKER_DEPLOYMENT_VERSION_CHANGED"
2656
+ ]
2642
2657
  },
2643
2658
  NexusHandlerErrorRetryBehavior: {
2644
2659
  values: {
@@ -3377,6 +3392,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
3377
3392
  type: "string",
3378
3393
  id: 1
3379
3394
  },
3395
+ stackTrace: {
3396
+ type: "string",
3397
+ id: 4
3398
+ },
3380
3399
  metadata: {
3381
3400
  keyType: "string",
3382
3401
  type: "string",
@@ -3385,6 +3404,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
3385
3404
  details: {
3386
3405
  type: "bytes",
3387
3406
  id: 3
3407
+ },
3408
+ cause: {
3409
+ type: "Failure",
3410
+ id: 5
3388
3411
  }
3389
3412
  }
3390
3413
  },
@@ -3504,6 +3527,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
3504
3527
  type: "google.protobuf.Timestamp",
3505
3528
  id: 2
3506
3529
  },
3530
+ capabilities: {
3531
+ type: "Capabilities",
3532
+ id: 100
3533
+ },
3507
3534
  startOperation: {
3508
3535
  type: "StartOperationRequest",
3509
3536
  id: 3
@@ -3516,6 +3543,16 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
3516
3543
  type: "string",
3517
3544
  id: 10
3518
3545
  }
3546
+ },
3547
+ nested: {
3548
+ Capabilities: {
3549
+ fields: {
3550
+ temporalFailureResponses: {
3551
+ type: "bool",
3552
+ id: 1
3553
+ }
3554
+ }
3555
+ }
3519
3556
  }
3520
3557
  },
3521
3558
  StartOperationResponse: {
@@ -3524,7 +3561,8 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
3524
3561
  oneof: [
3525
3562
  "syncSuccess",
3526
3563
  "asyncSuccess",
3527
- "operationError"
3564
+ "operationError",
3565
+ "failure"
3528
3566
  ]
3529
3567
  }
3530
3568
  },
@@ -3539,7 +3577,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
3539
3577
  },
3540
3578
  operationError: {
3541
3579
  type: "UnsuccessfulOperationError",
3542
- id: 3
3580
+ id: 3,
3581
+ options: {
3582
+ deprecated: true
3583
+ }
3584
+ },
3585
+ failure: {
3586
+ type: "temporal.api.failure.v1.Failure",
3587
+ id: 4
3543
3588
  }
3544
3589
  },
3545
3590
  nested: {
@@ -4146,6 +4191,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
4146
4191
  type: "string",
4147
4192
  id: 3
4148
4193
  },
4194
+ workerInstanceKey: {
4195
+ type: "string",
4196
+ id: 8
4197
+ },
4149
4198
  binaryChecksum: {
4150
4199
  type: "string",
4151
4200
  id: 4,
@@ -4164,7 +4213,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
4164
4213
  type: "temporal.api.deployment.v1.WorkerDeploymentOptions",
4165
4214
  id: 6
4166
4215
  }
4167
- }
4216
+ },
4217
+ reserved: [
4218
+ [
4219
+ 7,
4220
+ 7
4221
+ ],
4222
+ "worker_heartbeat"
4223
+ ]
4168
4224
  },
4169
4225
  PollWorkflowTaskQueueResponse: {
4170
4226
  fields: {
@@ -4418,6 +4474,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
4418
4474
  type: "string",
4419
4475
  id: 3
4420
4476
  },
4477
+ workerInstanceKey: {
4478
+ type: "string",
4479
+ id: 8
4480
+ },
4421
4481
  taskQueueMetadata: {
4422
4482
  type: "temporal.api.taskqueue.v1.TaskQueueMetadata",
4423
4483
  id: 4
@@ -4433,7 +4493,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
4433
4493
  type: "temporal.api.deployment.v1.WorkerDeploymentOptions",
4434
4494
  id: 6
4435
4495
  }
4436
- }
4496
+ },
4497
+ reserved: [
4498
+ [
4499
+ 7,
4500
+ 7
4501
+ ],
4502
+ "worker_heartbeat"
4503
+ ]
4437
4504
  },
4438
4505
  PollActivityTaskQueueResponse: {
4439
4506
  fields: {
@@ -5489,6 +5556,19 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
5489
5556
  workerHeartbeat: {
5490
5557
  type: "temporal.api.worker.v1.WorkerHeartbeat",
5491
5558
  id: 5
5559
+ },
5560
+ workerInstanceKey: {
5561
+ type: "string",
5562
+ id: 6
5563
+ },
5564
+ taskQueue: {
5565
+ type: "string",
5566
+ id: 7
5567
+ },
5568
+ taskQueueTypes: {
5569
+ rule: "repeated",
5570
+ type: "temporal.api.enums.v1.TaskQueueType",
5571
+ id: 8
5492
5572
  }
5493
5573
  }
5494
5574
  },
@@ -6067,6 +6147,46 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
6067
6147
  }
6068
6148
  }
6069
6149
  },
6150
+ CountSchedulesRequest: {
6151
+ fields: {
6152
+ namespace: {
6153
+ type: "string",
6154
+ id: 1
6155
+ },
6156
+ query: {
6157
+ type: "string",
6158
+ id: 2
6159
+ }
6160
+ }
6161
+ },
6162
+ CountSchedulesResponse: {
6163
+ fields: {
6164
+ count: {
6165
+ type: "int64",
6166
+ id: 1
6167
+ },
6168
+ groups: {
6169
+ rule: "repeated",
6170
+ type: "AggregationGroup",
6171
+ id: 2
6172
+ }
6173
+ },
6174
+ nested: {
6175
+ AggregationGroup: {
6176
+ fields: {
6177
+ groupValues: {
6178
+ rule: "repeated",
6179
+ type: "temporal.api.common.v1.Payload",
6180
+ id: 1
6181
+ },
6182
+ count: {
6183
+ type: "int64",
6184
+ id: 2
6185
+ }
6186
+ }
6187
+ }
6188
+ }
6189
+ },
6070
6190
  UpdateWorkerBuildIdCompatibilityRequest: {
6071
6191
  oneofs: {
6072
6192
  operation: {
@@ -6666,6 +6786,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
6666
6786
  type: "string",
6667
6787
  id: 2
6668
6788
  },
6789
+ workerInstanceKey: {
6790
+ type: "string",
6791
+ id: 8
6792
+ },
6669
6793
  taskQueue: {
6670
6794
  type: "temporal.api.taskqueue.v1.TaskQueue",
6671
6795
  id: 3
@@ -6743,7 +6867,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
6743
6867
  },
6744
6868
  error: {
6745
6869
  type: "temporal.api.nexus.v1.HandlerError",
6746
- id: 4
6870
+ id: 4,
6871
+ options: {
6872
+ deprecated: true
6873
+ }
6874
+ },
6875
+ failure: {
6876
+ type: "temporal.api.failure.v1.Failure",
6877
+ id: 5
6747
6878
  }
6748
6879
  }
6749
6880
  },
@@ -8439,25 +8570,7 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8439
8570
  },
8440
8571
  ExecuteMultiOperation: {
8441
8572
  requestType: "ExecuteMultiOperationRequest",
8442
- responseType: "ExecuteMultiOperationResponse",
8443
- options: {
8444
- "(google.api.http).post": "/namespaces/{namespace}/workflows/execute-multi-operation",
8445
- "(google.api.http).body": "*",
8446
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/workflows/execute-multi-operation",
8447
- "(google.api.http).additional_bindings.body": "*"
8448
- },
8449
- parsedOptions: [
8450
- {
8451
- "(google.api.http)": {
8452
- post: "/namespaces/{namespace}/workflows/execute-multi-operation",
8453
- body: "*",
8454
- additional_bindings: {
8455
- post: "/api/v1/namespaces/{namespace}/workflows/execute-multi-operation",
8456
- body: "*"
8457
- }
8458
- }
8459
- }
8460
- ]
8573
+ responseType: "ExecuteMultiOperationResponse"
8461
8574
  },
8462
8575
  GetWorkflowExecutionHistory: {
8463
8576
  requestType: "GetWorkflowExecutionHistoryRequest",
@@ -8515,18 +8628,18 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8515
8628
  requestType: "RecordActivityTaskHeartbeatRequest",
8516
8629
  responseType: "RecordActivityTaskHeartbeatResponse",
8517
8630
  options: {
8518
- "(google.api.http).post": "/namespaces/{namespace}/activities/heartbeat",
8631
+ "(google.api.http).post": "/namespaces/{namespace}/activity-heartbeat",
8519
8632
  "(google.api.http).body": "*",
8520
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities/heartbeat",
8633
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activity-heartbeat",
8521
8634
  "(google.api.http).additional_bindings.body": "*"
8522
8635
  },
8523
8636
  parsedOptions: [
8524
8637
  {
8525
8638
  "(google.api.http)": {
8526
- post: "/namespaces/{namespace}/activities/heartbeat",
8639
+ post: "/namespaces/{namespace}/activity-heartbeat",
8527
8640
  body: "*",
8528
8641
  additional_bindings: {
8529
- post: "/api/v1/namespaces/{namespace}/activities/heartbeat",
8642
+ post: "/api/v1/namespaces/{namespace}/activity-heartbeat",
8530
8643
  body: "*"
8531
8644
  }
8532
8645
  }
@@ -8537,20 +8650,30 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8537
8650
  requestType: "RecordActivityTaskHeartbeatByIdRequest",
8538
8651
  responseType: "RecordActivityTaskHeartbeatByIdResponse",
8539
8652
  options: {
8540
- "(google.api.http).post": "/namespaces/{namespace}/activities/heartbeat-by-id",
8653
+ "(google.api.http).post": "/namespaces/{namespace}/activities/{activity_id}/heartbeat",
8541
8654
  "(google.api.http).body": "*",
8542
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities/heartbeat-by-id",
8655
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat",
8543
8656
  "(google.api.http).additional_bindings.body": "*"
8544
8657
  },
8545
8658
  parsedOptions: [
8546
8659
  {
8547
8660
  "(google.api.http)": {
8548
- post: "/namespaces/{namespace}/activities/heartbeat-by-id",
8661
+ post: "/namespaces/{namespace}/activities/{activity_id}/heartbeat",
8549
8662
  body: "*",
8550
- additional_bindings: {
8551
- post: "/api/v1/namespaces/{namespace}/activities/heartbeat-by-id",
8552
- body: "*"
8553
- }
8663
+ additional_bindings: [
8664
+ {
8665
+ post: "/api/v1/namespaces/{namespace}/activities/{activity_id}/heartbeat",
8666
+ body: "*"
8667
+ },
8668
+ {
8669
+ post: "/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat",
8670
+ body: "*"
8671
+ },
8672
+ {
8673
+ post: "/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat",
8674
+ body: "*"
8675
+ }
8676
+ ]
8554
8677
  }
8555
8678
  }
8556
8679
  ]
@@ -8559,18 +8682,18 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8559
8682
  requestType: "RespondActivityTaskCompletedRequest",
8560
8683
  responseType: "RespondActivityTaskCompletedResponse",
8561
8684
  options: {
8562
- "(google.api.http).post": "/namespaces/{namespace}/activities/complete",
8685
+ "(google.api.http).post": "/namespaces/{namespace}/activity-complete",
8563
8686
  "(google.api.http).body": "*",
8564
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities/complete",
8687
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activity-complete",
8565
8688
  "(google.api.http).additional_bindings.body": "*"
8566
8689
  },
8567
8690
  parsedOptions: [
8568
8691
  {
8569
8692
  "(google.api.http)": {
8570
- post: "/namespaces/{namespace}/activities/complete",
8693
+ post: "/namespaces/{namespace}/activity-complete",
8571
8694
  body: "*",
8572
8695
  additional_bindings: {
8573
- post: "/api/v1/namespaces/{namespace}/activities/complete",
8696
+ post: "/api/v1/namespaces/{namespace}/activity-complete",
8574
8697
  body: "*"
8575
8698
  }
8576
8699
  }
@@ -8581,20 +8704,30 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8581
8704
  requestType: "RespondActivityTaskCompletedByIdRequest",
8582
8705
  responseType: "RespondActivityTaskCompletedByIdResponse",
8583
8706
  options: {
8584
- "(google.api.http).post": "/namespaces/{namespace}/activities/complete-by-id",
8707
+ "(google.api.http).post": "/namespaces/{namespace}/activities/{activity_id}/complete",
8585
8708
  "(google.api.http).body": "*",
8586
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities/complete-by-id",
8709
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete",
8587
8710
  "(google.api.http).additional_bindings.body": "*"
8588
8711
  },
8589
8712
  parsedOptions: [
8590
8713
  {
8591
8714
  "(google.api.http)": {
8592
- post: "/namespaces/{namespace}/activities/complete-by-id",
8715
+ post: "/namespaces/{namespace}/activities/{activity_id}/complete",
8593
8716
  body: "*",
8594
- additional_bindings: {
8595
- post: "/api/v1/namespaces/{namespace}/activities/complete-by-id",
8596
- body: "*"
8597
- }
8717
+ additional_bindings: [
8718
+ {
8719
+ post: "/api/v1/namespaces/{namespace}/activities/{activity_id}/complete",
8720
+ body: "*"
8721
+ },
8722
+ {
8723
+ post: "/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete",
8724
+ body: "*"
8725
+ },
8726
+ {
8727
+ post: "/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete",
8728
+ body: "*"
8729
+ }
8730
+ ]
8598
8731
  }
8599
8732
  }
8600
8733
  ]
@@ -8603,18 +8736,18 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8603
8736
  requestType: "RespondActivityTaskFailedRequest",
8604
8737
  responseType: "RespondActivityTaskFailedResponse",
8605
8738
  options: {
8606
- "(google.api.http).post": "/namespaces/{namespace}/activities/fail",
8739
+ "(google.api.http).post": "/namespaces/{namespace}/activity-fail",
8607
8740
  "(google.api.http).body": "*",
8608
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities/fail",
8741
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activity-fail",
8609
8742
  "(google.api.http).additional_bindings.body": "*"
8610
8743
  },
8611
8744
  parsedOptions: [
8612
8745
  {
8613
8746
  "(google.api.http)": {
8614
- post: "/namespaces/{namespace}/activities/fail",
8747
+ post: "/namespaces/{namespace}/activity-fail",
8615
8748
  body: "*",
8616
8749
  additional_bindings: {
8617
- post: "/api/v1/namespaces/{namespace}/activities/fail",
8750
+ post: "/api/v1/namespaces/{namespace}/activity-fail",
8618
8751
  body: "*"
8619
8752
  }
8620
8753
  }
@@ -8625,20 +8758,30 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8625
8758
  requestType: "RespondActivityTaskFailedByIdRequest",
8626
8759
  responseType: "RespondActivityTaskFailedByIdResponse",
8627
8760
  options: {
8628
- "(google.api.http).post": "/namespaces/{namespace}/activities/fail-by-id",
8761
+ "(google.api.http).post": "/namespaces/{namespace}/activities/{activity_id}/fail",
8629
8762
  "(google.api.http).body": "*",
8630
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities/fail-by-id",
8763
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/fail",
8631
8764
  "(google.api.http).additional_bindings.body": "*"
8632
8765
  },
8633
8766
  parsedOptions: [
8634
8767
  {
8635
8768
  "(google.api.http)": {
8636
- post: "/namespaces/{namespace}/activities/fail-by-id",
8769
+ post: "/namespaces/{namespace}/activities/{activity_id}/fail",
8637
8770
  body: "*",
8638
- additional_bindings: {
8639
- post: "/api/v1/namespaces/{namespace}/activities/fail-by-id",
8640
- body: "*"
8641
- }
8771
+ additional_bindings: [
8772
+ {
8773
+ post: "/api/v1/namespaces/{namespace}/activities/{activity_id}/fail",
8774
+ body: "*"
8775
+ },
8776
+ {
8777
+ post: "/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/fail",
8778
+ body: "*"
8779
+ },
8780
+ {
8781
+ post: "/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/fail",
8782
+ body: "*"
8783
+ }
8784
+ ]
8642
8785
  }
8643
8786
  }
8644
8787
  ]
@@ -8647,18 +8790,18 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8647
8790
  requestType: "RespondActivityTaskCanceledRequest",
8648
8791
  responseType: "RespondActivityTaskCanceledResponse",
8649
8792
  options: {
8650
- "(google.api.http).post": "/namespaces/{namespace}/activities/cancel",
8793
+ "(google.api.http).post": "/namespaces/{namespace}/activity-resolve-as-canceled",
8651
8794
  "(google.api.http).body": "*",
8652
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities/cancel",
8795
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activity-resolve-as-canceled",
8653
8796
  "(google.api.http).additional_bindings.body": "*"
8654
8797
  },
8655
8798
  parsedOptions: [
8656
8799
  {
8657
8800
  "(google.api.http)": {
8658
- post: "/namespaces/{namespace}/activities/cancel",
8801
+ post: "/namespaces/{namespace}/activity-resolve-as-canceled",
8659
8802
  body: "*",
8660
8803
  additional_bindings: {
8661
- post: "/api/v1/namespaces/{namespace}/activities/cancel",
8804
+ post: "/api/v1/namespaces/{namespace}/activity-resolve-as-canceled",
8662
8805
  body: "*"
8663
8806
  }
8664
8807
  }
@@ -8669,20 +8812,30 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
8669
8812
  requestType: "RespondActivityTaskCanceledByIdRequest",
8670
8813
  responseType: "RespondActivityTaskCanceledByIdResponse",
8671
8814
  options: {
8672
- "(google.api.http).post": "/namespaces/{namespace}/activities/cancel-by-id",
8815
+ "(google.api.http).post": "/namespaces/{namespace}/activities/{activity_id}/resolve-as-canceled",
8673
8816
  "(google.api.http).body": "*",
8674
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities/cancel-by-id",
8817
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/resolve-as-canceled",
8675
8818
  "(google.api.http).additional_bindings.body": "*"
8676
8819
  },
8677
8820
  parsedOptions: [
8678
8821
  {
8679
8822
  "(google.api.http)": {
8680
- post: "/namespaces/{namespace}/activities/cancel-by-id",
8823
+ post: "/namespaces/{namespace}/activities/{activity_id}/resolve-as-canceled",
8681
8824
  body: "*",
8682
- additional_bindings: {
8683
- post: "/api/v1/namespaces/{namespace}/activities/cancel-by-id",
8684
- body: "*"
8685
- }
8825
+ additional_bindings: [
8826
+ {
8827
+ post: "/api/v1/namespaces/{namespace}/activities/{activity_id}/resolve-as-canceled",
8828
+ body: "*"
8829
+ },
8830
+ {
8831
+ post: "/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/resolve-as-canceled",
8832
+ body: "*"
8833
+ },
8834
+ {
8835
+ post: "/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/resolve-as-canceled",
8836
+ body: "*"
8837
+ }
8838
+ ]
8686
8839
  }
8687
8840
  }
8688
8841
  ]
@@ -9119,6 +9272,24 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
9119
9272
  }
9120
9273
  ]
9121
9274
  },
9275
+ CountSchedules: {
9276
+ requestType: "CountSchedulesRequest",
9277
+ responseType: "CountSchedulesResponse",
9278
+ options: {
9279
+ "(google.api.http).get": "/namespaces/{namespace}/schedule-count",
9280
+ "(google.api.http).additional_bindings.get": "/api/v1/namespaces/{namespace}/schedule-count"
9281
+ },
9282
+ parsedOptions: [
9283
+ {
9284
+ "(google.api.http)": {
9285
+ get: "/namespaces/{namespace}/schedule-count",
9286
+ additional_bindings: {
9287
+ get: "/api/v1/namespaces/{namespace}/schedule-count"
9288
+ }
9289
+ }
9290
+ }
9291
+ ]
9292
+ },
9122
9293
  UpdateWorkerBuildIdCompatibility: {
9123
9294
  requestType: "UpdateWorkerBuildIdCompatibilityRequest",
9124
9295
  responseType: "UpdateWorkerBuildIdCompatibilityResponse"
@@ -9575,18 +9746,18 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
9575
9746
  requestType: "UpdateActivityOptionsRequest",
9576
9747
  responseType: "UpdateActivityOptionsResponse",
9577
9748
  options: {
9578
- "(google.api.http).post": "/namespaces/{namespace}/activities/update-options",
9749
+ "(google.api.http).post": "/namespaces/{namespace}/activities-deprecated/update-options",
9579
9750
  "(google.api.http).body": "*",
9580
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities/update-options",
9751
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities-deprecated/update-options",
9581
9752
  "(google.api.http).additional_bindings.body": "*"
9582
9753
  },
9583
9754
  parsedOptions: [
9584
9755
  {
9585
9756
  "(google.api.http)": {
9586
- post: "/namespaces/{namespace}/activities/update-options",
9757
+ post: "/namespaces/{namespace}/activities-deprecated/update-options",
9587
9758
  body: "*",
9588
9759
  additional_bindings: {
9589
- post: "/api/v1/namespaces/{namespace}/activities/update-options",
9760
+ post: "/api/v1/namespaces/{namespace}/activities-deprecated/update-options",
9590
9761
  body: "*"
9591
9762
  }
9592
9763
  }
@@ -9619,18 +9790,18 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
9619
9790
  requestType: "PauseActivityRequest",
9620
9791
  responseType: "PauseActivityResponse",
9621
9792
  options: {
9622
- "(google.api.http).post": "/namespaces/{namespace}/activities/pause",
9793
+ "(google.api.http).post": "/namespaces/{namespace}/activities-deprecated/pause",
9623
9794
  "(google.api.http).body": "*",
9624
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities/pause",
9795
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities-deprecated/pause",
9625
9796
  "(google.api.http).additional_bindings.body": "*"
9626
9797
  },
9627
9798
  parsedOptions: [
9628
9799
  {
9629
9800
  "(google.api.http)": {
9630
- post: "/namespaces/{namespace}/activities/pause",
9801
+ post: "/namespaces/{namespace}/activities-deprecated/pause",
9631
9802
  body: "*",
9632
9803
  additional_bindings: {
9633
- post: "/api/v1/namespaces/{namespace}/activities/pause",
9804
+ post: "/api/v1/namespaces/{namespace}/activities-deprecated/pause",
9634
9805
  body: "*"
9635
9806
  }
9636
9807
  }
@@ -9641,18 +9812,18 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
9641
9812
  requestType: "UnpauseActivityRequest",
9642
9813
  responseType: "UnpauseActivityResponse",
9643
9814
  options: {
9644
- "(google.api.http).post": "/namespaces/{namespace}/activities/unpause",
9815
+ "(google.api.http).post": "/namespaces/{namespace}/activities-deprecated/unpause",
9645
9816
  "(google.api.http).body": "*",
9646
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities/unpause",
9817
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities-deprecated/unpause",
9647
9818
  "(google.api.http).additional_bindings.body": "*"
9648
9819
  },
9649
9820
  parsedOptions: [
9650
9821
  {
9651
9822
  "(google.api.http)": {
9652
- post: "/namespaces/{namespace}/activities/unpause",
9823
+ post: "/namespaces/{namespace}/activities-deprecated/unpause",
9653
9824
  body: "*",
9654
9825
  additional_bindings: {
9655
- post: "/api/v1/namespaces/{namespace}/activities/unpause",
9826
+ post: "/api/v1/namespaces/{namespace}/activities-deprecated/unpause",
9656
9827
  body: "*"
9657
9828
  }
9658
9829
  }
@@ -9663,18 +9834,18 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
9663
9834
  requestType: "ResetActivityRequest",
9664
9835
  responseType: "ResetActivityResponse",
9665
9836
  options: {
9666
- "(google.api.http).post": "/namespaces/{namespace}/activities/reset",
9837
+ "(google.api.http).post": "/namespaces/{namespace}/activities-deprecated/reset",
9667
9838
  "(google.api.http).body": "*",
9668
- "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities/reset",
9839
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/activities-deprecated/reset",
9669
9840
  "(google.api.http).additional_bindings.body": "*"
9670
9841
  },
9671
9842
  parsedOptions: [
9672
9843
  {
9673
9844
  "(google.api.http)": {
9674
- post: "/namespaces/{namespace}/activities/reset",
9845
+ post: "/namespaces/{namespace}/activities-deprecated/reset",
9675
9846
  body: "*",
9676
9847
  additional_bindings: {
9677
- post: "/api/v1/namespaces/{namespace}/activities/reset",
9848
+ post: "/api/v1/namespaces/{namespace}/activities-deprecated/reset",
9678
9849
  body: "*"
9679
9850
  }
9680
9851
  }
@@ -9908,13 +10079,19 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
9908
10079
  responseType: "PauseWorkflowExecutionResponse",
9909
10080
  options: {
9910
10081
  "(google.api.http).post": "/namespaces/{namespace}/workflows/{workflow_id}/pause",
9911
- "(google.api.http).body": "*"
10082
+ "(google.api.http).body": "*",
10083
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/workflows/{workflow_id}/pause",
10084
+ "(google.api.http).additional_bindings.body": "*"
9912
10085
  },
9913
10086
  parsedOptions: [
9914
10087
  {
9915
10088
  "(google.api.http)": {
9916
10089
  post: "/namespaces/{namespace}/workflows/{workflow_id}/pause",
9917
- body: "*"
10090
+ body: "*",
10091
+ additional_bindings: {
10092
+ post: "/api/v1/namespaces/{namespace}/workflows/{workflow_id}/pause",
10093
+ body: "*"
10094
+ }
9918
10095
  }
9919
10096
  }
9920
10097
  ]
@@ -9924,13 +10101,19 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
9924
10101
  responseType: "UnpauseWorkflowExecutionResponse",
9925
10102
  options: {
9926
10103
  "(google.api.http).post": "/namespaces/{namespace}/workflows/{workflow_id}/unpause",
9927
- "(google.api.http).body": "*"
10104
+ "(google.api.http).body": "*",
10105
+ "(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause",
10106
+ "(google.api.http).additional_bindings.body": "*"
9928
10107
  },
9929
10108
  parsedOptions: [
9930
10109
  {
9931
10110
  "(google.api.http)": {
9932
10111
  post: "/namespaces/{namespace}/workflows/{workflow_id}/unpause",
9933
- body: "*"
10112
+ body: "*",
10113
+ additional_bindings: {
10114
+ post: "/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause",
10115
+ body: "*"
10116
+ }
9934
10117
  }
9935
10118
  }
9936
10119
  ]
@@ -11592,6 +11775,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
11592
11775
  type: "temporal.api.enums.v1.SuggestContinueAsNewReason",
11593
11776
  id: 8
11594
11777
  },
11778
+ targetWorkerDeploymentVersionChanged: {
11779
+ type: "bool",
11780
+ id: 9
11781
+ },
11595
11782
  historySizeBytes: {
11596
11783
  type: "int64",
11597
11784
  id: 5
@@ -15031,6 +15218,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
15031
15218
  standaloneActivities: {
15032
15219
  type: "bool",
15033
15220
  id: 7
15221
+ },
15222
+ workerPollCompleteOnShutdown: {
15223
+ type: "bool",
15224
+ id: 8
15034
15225
  }
15035
15226
  }
15036
15227
  },