@hatchet-dev/typescript-sdk 1.10.0 → 1.10.1

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,4 +1,4 @@
1
- import { AcceptInviteRequest, APIErrors, APIMeta, BulkCreateEventRequest, BulkCreateEventResponse, CancelEventRequest, CreateAPITokenRequest, CreateAPITokenResponse, CreateCronWorkflowTriggerRequest, CreateEventRequest, CreateSNSIntegrationRequest, CreateTenantAlertEmailGroupRequest, CreateTenantInviteRequest, CreateTenantRequest, CronWorkflows, CronWorkflowsList, CronWorkflowsOrderByField, Event, EventData, EventKey, EventKeyList, EventList, EventOrderByDirection, EventOrderByField, EventSearch, ListAPIMetaIntegration, ListAPITokensResponse, ListSlackWebhooks, ListSNSIntegrations, LogLineLevelField, LogLineList, LogLineOrderByDirection, LogLineOrderByField, LogLineSearch, RateLimitList, RateLimitOrderByDirection, RateLimitOrderByField, RejectInviteRequest, ReplayEventRequest, ReplayWorkflowRunsRequest, ReplayWorkflowRunsResponse, RerunStepRunRequest, ScheduledRunStatus, ScheduledWorkflows, ScheduledWorkflowsList, ScheduledWorkflowsOrderByField, ScheduleWorkflowRunRequest, SNSIntegration, StepRun, StepRunArchiveList, StepRunEventList, Tenant, TenantAlertEmailGroup, TenantAlertEmailGroupList, TenantAlertingSettings, TenantInvite, TenantInviteList, TenantMember, TenantMemberList, TenantQueueMetrics, TenantResourcePolicy, TenantStepRunQueueMetrics, TriggerWorkflowRunRequest, UpdateTenantAlertEmailGroupRequest, UpdateTenantInviteRequest, UpdateTenantRequest, UpdateWorkerRequest, User, UserChangePasswordRequest, UserLoginRequest, UserRegisterRequest, UserTenantMembershipsList, V1CancelledTasks, V1CancelTaskRequest, V1CELDebugRequest, V1CELDebugResponse, V1CreateFilterRequest, V1CreateWebhookRequest, V1DagChildren, V1EventList, V1Filter, V1FilterList, V1LogLineList, V1ReplayedTasks, V1ReplayTaskRequest, V1TaskEventList, V1TaskPointMetrics, V1TaskRunMetrics, V1TaskStatus, V1TaskSummary, V1TaskSummaryList, V1TaskTimingList, V1TriggerWorkflowRunRequest, V1UpdateFilterRequest, V1Webhook, V1WebhookList, V1WebhookSourceName, V1WorkflowRunDetails, V1WorkflowRunDisplayNameList, WebhookWorkerCreated, WebhookWorkerCreateRequest, WebhookWorkerListResponse, WebhookWorkerRequestListResponse, Worker, WorkerList, Workflow, WorkflowID, WorkflowKindList, WorkflowList, WorkflowMetrics, WorkflowRun, WorkflowRunList, WorkflowRunOrderByDirection, WorkflowRunOrderByField, WorkflowRunsCancelRequest, WorkflowRunShape, WorkflowRunsMetrics, WorkflowRunStatus, WorkflowRunStatusList, WorkflowUpdateRequest, WorkflowVersion, WorkflowWorkersCount } from './data-contracts';
1
+ import { AcceptInviteRequest, APIErrors, APIMeta, BulkCreateEventRequest, BulkCreateEventResponse, CancelEventRequest, CreateAPITokenRequest, CreateAPITokenResponse, CreateCronWorkflowTriggerRequest, CreateEventRequest, CreateSNSIntegrationRequest, CreateTenantAlertEmailGroupRequest, CreateTenantInviteRequest, CreateTenantRequest, CronWorkflows, CronWorkflowsList, CronWorkflowsOrderByField, Event, EventData, EventKey, EventKeyList, EventList, EventOrderByDirection, EventOrderByField, EventSearch, ListAPIMetaIntegration, ListAPITokensResponse, ListSlackWebhooks, ListSNSIntegrations, LogLineLevelField, LogLineList, LogLineOrderByDirection, LogLineOrderByField, LogLineSearch, RateLimitList, RateLimitOrderByDirection, RateLimitOrderByField, RejectInviteRequest, ReplayEventRequest, ReplayWorkflowRunsRequest, ReplayWorkflowRunsResponse, RerunStepRunRequest, ScheduledRunStatus, ScheduledWorkflows, ScheduledWorkflowsList, ScheduledWorkflowsOrderByField, ScheduleWorkflowRunRequest, SNSIntegration, StepRun, StepRunArchiveList, StepRunEventList, TaskStats, Tenant, TenantAlertEmailGroup, TenantAlertEmailGroupList, TenantAlertingSettings, TenantInvite, TenantInviteList, TenantMember, TenantMemberList, TenantQueueMetrics, TenantResourcePolicy, TenantStepRunQueueMetrics, TriggerWorkflowRunRequest, UpdateCronWorkflowTriggerRequest, UpdateTenantAlertEmailGroupRequest, UpdateTenantInviteRequest, UpdateTenantMemberRequest, UpdateTenantRequest, UpdateWorkerRequest, User, UserChangePasswordRequest, UserLoginRequest, UserRegisterRequest, UserTenantMembershipsList, V1CancelledTasks, V1CancelTaskRequest, V1CELDebugRequest, V1CELDebugResponse, V1CreateFilterRequest, V1CreateWebhookRequest, V1DagChildren, V1EventList, V1Filter, V1FilterList, V1LogLineList, V1ReplayedTasks, V1ReplayTaskRequest, V1TaskEventList, V1TaskPointMetrics, V1TaskRunMetrics, V1TaskStatus, V1TaskSummary, V1TaskSummaryList, V1TaskTimingList, V1TriggerWorkflowRunRequest, V1UpdateFilterRequest, V1UpdateWebhookRequest, V1Webhook, V1WebhookList, V1WebhookSourceName, V1WorkflowRunDetails, V1WorkflowRunDisplayNameList, V1WorkflowRunExternalIdList, WebhookWorkerCreated, WebhookWorkerCreateRequest, WebhookWorkerListResponse, WebhookWorkerRequestListResponse, Worker, WorkerList, Workflow, WorkflowID, WorkflowKindList, WorkflowList, WorkflowMetrics, WorkflowRun, WorkflowRunList, WorkflowRunOrderByDirection, WorkflowRunOrderByField, WorkflowRunsCancelRequest, WorkflowRunShape, WorkflowRunsMetrics, WorkflowRunStatus, WorkflowRunStatusList, WorkflowUpdateRequest, WorkflowVersion, WorkflowWorkersCount } from './data-contracts';
2
2
  import { HttpClient, RequestParams } from './http-client';
3
3
  export declare class Api<SecurityDataType = unknown> extends HttpClient<SecurityDataType> {
4
4
  /**
@@ -44,7 +44,23 @@ export declare class Api<SecurityDataType = unknown> extends HttpClient<Security
44
44
  * @request GET:/api/v1/stable/tasks/{task}/logs
45
45
  * @secure
46
46
  */
47
- v1LogLineList: (task: string, params?: RequestParams) => Promise<import("axios").AxiosResponse<V1LogLineList, any, {}>>;
47
+ v1LogLineList: (task: string, query?: {
48
+ /**
49
+ * The number to limit by
50
+ * @format int64
51
+ */
52
+ limit?: number;
53
+ /**
54
+ * The start time to get logs for
55
+ * @format date-time
56
+ */
57
+ since?: string;
58
+ /**
59
+ * The end time to get logs for
60
+ * @format date-time
61
+ */
62
+ until?: string;
63
+ }, params?: RequestParams) => Promise<import("axios").AxiosResponse<V1LogLineList, any, {}>>;
48
64
  /**
49
65
  * @description Cancel tasks
50
66
  *
@@ -160,6 +176,33 @@ export declare class Api<SecurityDataType = unknown> extends HttpClient<Security
160
176
  /** The external ids of the workflow runs to get display names for */
161
177
  external_ids: string[];
162
178
  }, params?: RequestParams) => Promise<import("axios").AxiosResponse<V1WorkflowRunDisplayNameList, any, {}>>;
179
+ /**
180
+ * @description Lists external ids for workflow runs matching filters
181
+ *
182
+ * @tags Workflow Runs
183
+ * @name V1WorkflowRunExternalIdsList
184
+ * @summary List workflow run external ids
185
+ * @request GET:/api/v1/stable/tenants/{tenant}/workflow-runs/external-ids
186
+ * @secure
187
+ */
188
+ v1WorkflowRunExternalIdsList: (tenant: string, query: {
189
+ /** A list of statuses to filter by */
190
+ statuses?: V1TaskStatus[];
191
+ /**
192
+ * The earliest date to filter by
193
+ * @format date-time
194
+ */
195
+ since: string;
196
+ /**
197
+ * The latest date to filter by
198
+ * @format date-time
199
+ */
200
+ until?: string;
201
+ /** Additional metadata k-v pairs to filter by */
202
+ additional_metadata?: string[];
203
+ /** The workflow ids to find runs for */
204
+ workflow_ids?: string[];
205
+ }, params?: RequestParams) => Promise<import("axios").AxiosResponse<V1WorkflowRunExternalIdList, any, {}>>;
163
206
  /**
164
207
  * @description Trigger a new workflow run
165
208
  *
@@ -263,6 +306,8 @@ export declare class Api<SecurityDataType = unknown> extends HttpClient<Security
263
306
  * @maxLength 36
264
307
  */
265
308
  triggering_event_external_id?: string;
309
+ /** Additional metadata k-v pairs to filter by */
310
+ additional_metadata?: string[];
266
311
  }, params?: RequestParams) => Promise<import("axios").AxiosResponse<V1TaskRunMetrics, any, {}>>;
267
312
  /**
268
313
  * @description Get a minute by minute breakdown of task metrics for a tenant
@@ -465,10 +510,17 @@ export declare class Api<SecurityDataType = unknown> extends HttpClient<Security
465
510
  * @summary Post a webhook message
466
511
  * @request POST:/api/v1/stable/tenants/{tenant}/webhooks/{v1-webhook}
467
512
  */
468
- v1WebhookReceive: (tenant: string, v1Webhook: string, data?: any, params?: RequestParams) => Promise<import("axios").AxiosResponse<{
469
- /** @example "OK" */
470
- message?: string;
471
- }, any, {}>>;
513
+ v1WebhookReceive: (tenant: string, v1Webhook: string, data?: any, params?: RequestParams) => Promise<import("axios").AxiosResponse<Record<string, any>, any, {}>>;
514
+ /**
515
+ * @description Update a webhook
516
+ *
517
+ * @tags Webhook
518
+ * @name V1WebhookUpdate
519
+ * @summary Update a webhook
520
+ * @request PATCH:/api/v1/stable/tenants/{tenant}/webhooks/{v1-webhook}
521
+ * @secure
522
+ */
523
+ v1WebhookUpdate: (tenant: string, v1Webhook: string, data: V1UpdateWebhookRequest, params?: RequestParams) => Promise<import("axios").AxiosResponse<V1Webhook, any, {}>>;
472
524
  /**
473
525
  * @description Evaluate a CEL expression against provided input data.
474
526
  *
@@ -1033,6 +1085,16 @@ export declare class Api<SecurityDataType = unknown> extends HttpClient<Security
1033
1085
  * @secure
1034
1086
  */
1035
1087
  tenantMemberList: (tenant: string, params?: RequestParams) => Promise<import("axios").AxiosResponse<TenantMemberList, any, {}>>;
1088
+ /**
1089
+ * @description Update a tenant member
1090
+ *
1091
+ * @tags Tenant
1092
+ * @name TenantMemberUpdate
1093
+ * @summary Update a tenant member
1094
+ * @request PATCH:/api/v1/tenants/{tenant}/members/{member}
1095
+ * @secure
1096
+ */
1097
+ tenantMemberUpdate: (tenant: string, member: string, data: UpdateTenantMemberRequest, params?: RequestParams) => Promise<import("axios").AxiosResponse<TenantMember, any, {}>>;
1036
1098
  /**
1037
1099
  * @description Delete a member from a tenant
1038
1100
  *
@@ -1252,6 +1314,16 @@ export declare class Api<SecurityDataType = unknown> extends HttpClient<Security
1252
1314
  * @secure
1253
1315
  */
1254
1316
  workflowCronDelete: (tenant: string, cronWorkflow: string, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any, {}>>;
1317
+ /**
1318
+ * @description Update a cron workflow for a tenant
1319
+ *
1320
+ * @tags Workflow
1321
+ * @name WorkflowCronUpdate
1322
+ * @summary Update cron job workflow run
1323
+ * @request PATCH:/api/v1/tenants/{tenant}/workflows/crons/{cron-workflow}
1324
+ * @secure
1325
+ */
1326
+ workflowCronUpdate: (tenant: string, cronWorkflow: string, data: UpdateCronWorkflowTriggerRequest, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any, {}>>;
1255
1327
  /**
1256
1328
  * @description Cancel a batch of workflow runs
1257
1329
  *
@@ -1760,4 +1832,14 @@ export declare class Api<SecurityDataType = unknown> extends HttpClient<Security
1760
1832
  * @secure
1761
1833
  */
1762
1834
  tenantGetPrometheusMetrics: (tenant: string, params?: RequestParams) => Promise<import("axios").AxiosResponse<string, any, {}>>;
1835
+ /**
1836
+ * @description Get task stats for tenant
1837
+ *
1838
+ * @tags Tenant
1839
+ * @name TenantGetTaskStats
1840
+ * @summary Get task stats for tenant
1841
+ * @request GET:/api/v1/tenants/{tenant}/task-stats
1842
+ * @secure
1843
+ */
1844
+ tenantGetTaskStats: (tenant: string, params?: RequestParams) => Promise<import("axios").AxiosResponse<TaskStats, any, {}>>;
1763
1845
  }
@@ -45,7 +45,7 @@ class Api extends http_client_1.HttpClient {
45
45
  * @request GET:/api/v1/stable/tasks/{task}/logs
46
46
  * @secure
47
47
  */
48
- this.v1LogLineList = (task, params = {}) => this.request(Object.assign({ path: `/api/v1/stable/tasks/${task}/logs`, method: 'GET', secure: true, format: 'json' }, params));
48
+ this.v1LogLineList = (task, query, params = {}) => this.request(Object.assign({ path: `/api/v1/stable/tasks/${task}/logs`, method: 'GET', query: query, secure: true, format: 'json' }, params));
49
49
  /**
50
50
  * @description Cancel tasks
51
51
  *
@@ -96,6 +96,16 @@ class Api extends http_client_1.HttpClient {
96
96
  * @secure
97
97
  */
98
98
  this.v1WorkflowRunDisplayNamesList = (tenant, query, params = {}) => this.request(Object.assign({ path: `/api/v1/stable/tenants/${tenant}/workflow-runs/display-names`, method: 'GET', query: query, secure: true, format: 'json' }, params));
99
+ /**
100
+ * @description Lists external ids for workflow runs matching filters
101
+ *
102
+ * @tags Workflow Runs
103
+ * @name V1WorkflowRunExternalIdsList
104
+ * @summary List workflow run external ids
105
+ * @request GET:/api/v1/stable/tenants/{tenant}/workflow-runs/external-ids
106
+ * @secure
107
+ */
108
+ this.v1WorkflowRunExternalIdsList = (tenant, query, params = {}) => this.request(Object.assign({ path: `/api/v1/stable/tenants/${tenant}/workflow-runs/external-ids`, method: 'GET', query: query, secure: true, format: 'json' }, params));
99
109
  /**
100
110
  * @description Trigger a new workflow run
101
111
  *
@@ -282,6 +292,16 @@ class Api extends http_client_1.HttpClient {
282
292
  * @request POST:/api/v1/stable/tenants/{tenant}/webhooks/{v1-webhook}
283
293
  */
284
294
  this.v1WebhookReceive = (tenant, v1Webhook, data, params = {}) => this.request(Object.assign({ path: `/api/v1/stable/tenants/${tenant}/webhooks/${v1Webhook}`, method: 'POST', body: data, format: 'json' }, params));
295
+ /**
296
+ * @description Update a webhook
297
+ *
298
+ * @tags Webhook
299
+ * @name V1WebhookUpdate
300
+ * @summary Update a webhook
301
+ * @request PATCH:/api/v1/stable/tenants/{tenant}/webhooks/{v1-webhook}
302
+ * @secure
303
+ */
304
+ this.v1WebhookUpdate = (tenant, v1Webhook, data, params = {}) => this.request(Object.assign({ path: `/api/v1/stable/tenants/${tenant}/webhooks/${v1Webhook}`, method: 'PATCH', body: data, secure: true, type: http_client_1.ContentType.Json, format: 'json' }, params));
285
305
  /**
286
306
  * @description Evaluate a CEL expression against provided input data.
287
307
  *
@@ -789,6 +809,16 @@ class Api extends http_client_1.HttpClient {
789
809
  * @secure
790
810
  */
791
811
  this.tenantMemberList = (tenant, params = {}) => this.request(Object.assign({ path: `/api/v1/tenants/${tenant}/members`, method: 'GET', secure: true, format: 'json' }, params));
812
+ /**
813
+ * @description Update a tenant member
814
+ *
815
+ * @tags Tenant
816
+ * @name TenantMemberUpdate
817
+ * @summary Update a tenant member
818
+ * @request PATCH:/api/v1/tenants/{tenant}/members/{member}
819
+ * @secure
820
+ */
821
+ this.tenantMemberUpdate = (tenant, member, data, params = {}) => this.request(Object.assign({ path: `/api/v1/tenants/${tenant}/members/${member}`, method: 'PATCH', body: data, secure: true, type: http_client_1.ContentType.Json, format: 'json' }, params));
792
822
  /**
793
823
  * @description Delete a member from a tenant
794
824
  *
@@ -919,6 +949,16 @@ class Api extends http_client_1.HttpClient {
919
949
  * @secure
920
950
  */
921
951
  this.workflowCronDelete = (tenant, cronWorkflow, params = {}) => this.request(Object.assign({ path: `/api/v1/tenants/${tenant}/workflows/crons/${cronWorkflow}`, method: 'DELETE', secure: true }, params));
952
+ /**
953
+ * @description Update a cron workflow for a tenant
954
+ *
955
+ * @tags Workflow
956
+ * @name WorkflowCronUpdate
957
+ * @summary Update cron job workflow run
958
+ * @request PATCH:/api/v1/tenants/{tenant}/workflows/crons/{cron-workflow}
959
+ * @secure
960
+ */
961
+ this.workflowCronUpdate = (tenant, cronWorkflow, data, params = {}) => this.request(Object.assign({ path: `/api/v1/tenants/${tenant}/workflows/crons/${cronWorkflow}`, method: 'PATCH', body: data, secure: true, type: http_client_1.ContentType.Json }, params));
922
962
  /**
923
963
  * @description Cancel a batch of workflow runs
924
964
  *
@@ -1232,6 +1272,16 @@ class Api extends http_client_1.HttpClient {
1232
1272
  * @secure
1233
1273
  */
1234
1274
  this.tenantGetPrometheusMetrics = (tenant, params = {}) => this.request(Object.assign({ path: `/api/v1/tenants/${tenant}/prometheus-metrics`, method: 'GET', secure: true }, params));
1275
+ /**
1276
+ * @description Get task stats for tenant
1277
+ *
1278
+ * @tags Tenant
1279
+ * @name TenantGetTaskStats
1280
+ * @summary Get task stats for tenant
1281
+ * @request GET:/api/v1/tenants/{tenant}/task-stats
1282
+ * @secure
1283
+ */
1284
+ this.tenantGetTaskStats = (tenant, params = {}) => this.request(Object.assign({ path: `/api/v1/tenants/${tenant}/task-stats`, method: 'GET', secure: true, format: 'json' }, params));
1235
1285
  }
1236
1286
  }
1237
1287
  exports.Api = Api;
@@ -193,6 +193,8 @@ export interface Tenant {
193
193
  version: 'V0' | 'V1';
194
194
  /** The UI of the tenant. */
195
195
  uiVersion?: 'V0' | 'V1';
196
+ /** The environment type of the tenant. */
197
+ environment?: TenantEnvironment;
196
198
  }
197
199
  export interface TenantMember {
198
200
  metadata: APIResourceMeta;
@@ -207,6 +209,11 @@ export interface TenantMemberList {
207
209
  pagination?: PaginationResponse;
208
210
  rows?: TenantMember[];
209
211
  }
212
+ export declare enum TenantEnvironment {
213
+ Local = "local",
214
+ Development = "development",
215
+ Production = "production"
216
+ }
210
217
  export declare enum TenantMemberRole {
211
218
  OWNER = "OWNER",
212
219
  ADMIN = "ADMIN",
@@ -219,7 +226,8 @@ export declare enum TenantResource {
219
226
  WORKFLOW_RUN = "WORKFLOW_RUN",
220
227
  TASK_RUN = "TASK_RUN",
221
228
  CRON = "CRON",
222
- SCHEDULE = "SCHEDULE"
229
+ SCHEDULE = "SCHEDULE",
230
+ INCOMING_WEBHOOK = "INCOMING_WEBHOOK"
223
231
  }
224
232
  export interface TenantResourceLimit {
225
233
  metadata: APIResourceMeta;
@@ -253,6 +261,10 @@ export interface UpdateTenantInviteRequest {
253
261
  /** The role of the user in the tenant. */
254
262
  role: TenantMemberRole;
255
263
  }
264
+ export interface UpdateTenantMemberRequest {
265
+ /** The role of the user in the tenant. */
266
+ role: TenantMemberRole;
267
+ }
256
268
  export interface TenantAlertingSettings {
257
269
  metadata: APIResourceMeta;
258
270
  /** Whether to alert tenant members. */
@@ -304,6 +316,22 @@ export interface TenantInvite {
304
316
  */
305
317
  expires: string;
306
318
  }
319
+ export type TaskStats = Record<string, TaskStat>;
320
+ export interface TaskStat {
321
+ queued?: TaskStatusStat;
322
+ running?: TaskStatusStat;
323
+ }
324
+ export interface TaskStatusStat {
325
+ /** @format int64 */
326
+ total?: number;
327
+ queues?: Record<string, number>;
328
+ concurrency?: ConcurrencyStat[];
329
+ }
330
+ export interface ConcurrencyStat {
331
+ expression?: string;
332
+ type?: string;
333
+ keys?: Record<string, number>;
334
+ }
307
335
  export interface TenantInviteList {
308
336
  pagination?: PaginationResponse;
309
337
  rows?: TenantInvite[];
@@ -354,6 +382,10 @@ export interface CreateTenantRequest {
354
382
  uiVersion?: any;
355
383
  /** The engine version of the tenant. Defaults to V0. */
356
384
  engineVersion?: any;
385
+ /** The environment type of the tenant. */
386
+ environment?: TenantEnvironment;
387
+ /** Additional onboarding data to store with the tenant. */
388
+ onboardingData?: Record<string, any>;
357
389
  }
358
390
  export interface UpdateTenantRequest {
359
391
  /** The name of the tenant. */
@@ -556,6 +588,8 @@ export interface V1Filter {
556
588
  expression: string;
557
589
  /** Additional payload data associated with the filter */
558
590
  payload: object;
591
+ /** Whether the filter is declarative (true) or programmatic (false) */
592
+ isDeclarative?: boolean;
559
593
  }
560
594
  export interface V1WebhookList {
561
595
  pagination?: PaginationResponse;
@@ -577,7 +611,9 @@ export interface V1Webhook {
577
611
  export declare enum V1WebhookSourceName {
578
612
  GENERIC = "GENERIC",
579
613
  GITHUB = "GITHUB",
580
- STRIPE = "STRIPE"
614
+ STRIPE = "STRIPE",
615
+ SLACK = "SLACK",
616
+ LINEAR = "LINEAR"
581
617
  }
582
618
  export declare enum V1WebhookAuthType {
583
619
  BASIC = "BASIC",
@@ -1156,6 +1192,16 @@ export interface Worker {
1156
1192
  lastListenerEstablished?: string;
1157
1193
  /** The actions this worker can perform. */
1158
1194
  actions?: string[];
1195
+ /** The workflow ids registered on this worker. */
1196
+ registeredWorkflows?: {
1197
+ /**
1198
+ * The workflow id registered on this worker.
1199
+ * @format uuid
1200
+ */
1201
+ id: string;
1202
+ /** The name of the workflow registered on this worker. */
1203
+ name: string;
1204
+ }[];
1159
1205
  /** The semaphore slot state for the worker. */
1160
1206
  slots?: SemaphoreSlots[];
1161
1207
  /** The recent step runs for the worker. */
@@ -1257,6 +1303,9 @@ export interface CreateCronWorkflowTriggerRequest {
1257
1303
  */
1258
1304
  priority?: number;
1259
1305
  }
1306
+ export interface UpdateCronWorkflowTriggerRequest {
1307
+ enabled?: boolean;
1308
+ }
1260
1309
  export interface CreatePullRequestFromStepRun {
1261
1310
  branchName: string;
1262
1311
  }
@@ -1428,6 +1477,8 @@ export interface V1WorkflowRunDisplayNameList {
1428
1477
  displayName: string;
1429
1478
  }[];
1430
1479
  }
1480
+ /** The list of external IDs */
1481
+ export type V1WorkflowRunExternalIdList = string[];
1431
1482
  export interface V1TaskSummary {
1432
1483
  metadata: APIResourceMeta;
1433
1484
  /** The action ID of the task. */
@@ -1829,6 +1880,10 @@ export type V1CreateWebhookRequest = ({
1829
1880
  signingSecret: string;
1830
1881
  };
1831
1882
  };
1883
+ export interface V1UpdateWebhookRequest {
1884
+ /** The CEL expression to use for the event key. This is used to create the event key from the webhook payload. */
1885
+ eventKeyExpression: string;
1886
+ }
1832
1887
  export interface V1UpdateFilterRequest {
1833
1888
  /** The expression for the filter */
1834
1889
  expression?: string;
@@ -11,7 +11,13 @@
11
11
  * ---------------------------------------------------------------
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.V1CELDebugResponseStatus = exports.V1LogLineLevel = exports.V1TaskRunStatus = exports.V1TaskStatus = exports.WebhookWorkerRequestMethod = exports.LogLineOrderByDirection = exports.LogLineOrderByField = exports.LogLineLevel = exports.PullRequestState = exports.WorkerRuntimeSDKs = exports.StepRunEventSeverity = exports.StepRunEventReason = exports.StepRunStatus = exports.JobRunStatus = exports.WorkflowKind = exports.WorkflowRunStatus = exports.WorkflowRunOrderByDirection = exports.WorkflowRunOrderByField = exports.CronWorkflowsOrderByField = exports.ScheduledRunStatus = exports.ScheduledWorkflowsOrderByField = exports.RateLimitOrderByDirection = exports.RateLimitOrderByField = exports.V1WebhookAuthType = exports.V1WebhookSourceName = exports.EventOrderByDirection = exports.EventOrderByField = exports.TenantResource = exports.TenantMemberRole = void 0;
14
+ exports.V1CELDebugResponseStatus = exports.V1LogLineLevel = exports.V1TaskRunStatus = exports.V1TaskStatus = exports.WebhookWorkerRequestMethod = exports.LogLineOrderByDirection = exports.LogLineOrderByField = exports.LogLineLevel = exports.PullRequestState = exports.WorkerRuntimeSDKs = exports.StepRunEventSeverity = exports.StepRunEventReason = exports.StepRunStatus = exports.JobRunStatus = exports.WorkflowKind = exports.WorkflowRunStatus = exports.WorkflowRunOrderByDirection = exports.WorkflowRunOrderByField = exports.CronWorkflowsOrderByField = exports.ScheduledRunStatus = exports.ScheduledWorkflowsOrderByField = exports.RateLimitOrderByDirection = exports.RateLimitOrderByField = exports.V1WebhookAuthType = exports.V1WebhookSourceName = exports.EventOrderByDirection = exports.EventOrderByField = exports.TenantResource = exports.TenantMemberRole = exports.TenantEnvironment = void 0;
15
+ var TenantEnvironment;
16
+ (function (TenantEnvironment) {
17
+ TenantEnvironment["Local"] = "local";
18
+ TenantEnvironment["Development"] = "development";
19
+ TenantEnvironment["Production"] = "production";
20
+ })(TenantEnvironment || (exports.TenantEnvironment = TenantEnvironment = {}));
15
21
  var TenantMemberRole;
16
22
  (function (TenantMemberRole) {
17
23
  TenantMemberRole["OWNER"] = "OWNER";
@@ -27,6 +33,7 @@ var TenantResource;
27
33
  TenantResource["TASK_RUN"] = "TASK_RUN";
28
34
  TenantResource["CRON"] = "CRON";
29
35
  TenantResource["SCHEDULE"] = "SCHEDULE";
36
+ TenantResource["INCOMING_WEBHOOK"] = "INCOMING_WEBHOOK";
30
37
  })(TenantResource || (exports.TenantResource = TenantResource = {}));
31
38
  var EventOrderByField;
32
39
  (function (EventOrderByField) {
@@ -42,6 +49,8 @@ var V1WebhookSourceName;
42
49
  V1WebhookSourceName["GENERIC"] = "GENERIC";
43
50
  V1WebhookSourceName["GITHUB"] = "GITHUB";
44
51
  V1WebhookSourceName["STRIPE"] = "STRIPE";
52
+ V1WebhookSourceName["SLACK"] = "SLACK";
53
+ V1WebhookSourceName["LINEAR"] = "LINEAR";
45
54
  })(V1WebhookSourceName || (exports.V1WebhookSourceName = V1WebhookSourceName = {}));
46
55
  var V1WebhookAuthType;
47
56
  (function (V1WebhookAuthType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatchet-dev/typescript-sdk",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Background task orchestration & visibility for developers",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -1,5 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
2
- import { type CallContext, type CallOptions } from 'nice-grpc-common';
2
+ import type { CallContext, CallOptions } from 'nice-grpc-common';
3
3
  export declare const protobufPackage = "";
4
4
  export declare enum SDKS {
5
5
  UNKNOWN = 0,
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.0
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.19.1
6
6
  // source: dispatcher/dispatcher.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -334,7 +334,7 @@ exports.WorkerLabels = {
334
334
  },
335
335
  decode(input, length) {
336
336
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
337
- let end = length === undefined ? reader.len : reader.pos + length;
337
+ const end = length === undefined ? reader.len : reader.pos + length;
338
338
  const message = createBaseWorkerLabels();
339
339
  while (reader.pos < end) {
340
340
  const tag = reader.uint32();
@@ -418,7 +418,7 @@ exports.RuntimeInfo = {
418
418
  },
419
419
  decode(input, length) {
420
420
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
421
- let end = length === undefined ? reader.len : reader.pos + length;
421
+ const end = length === undefined ? reader.len : reader.pos + length;
422
422
  const message = createBaseRuntimeInfo();
423
423
  while (reader.pos < end) {
424
424
  const tag = reader.uint32();
@@ -548,7 +548,7 @@ exports.WorkerRegisterRequest = {
548
548
  },
549
549
  decode(input, length) {
550
550
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
551
- let end = length === undefined ? reader.len : reader.pos + length;
551
+ const end = length === undefined ? reader.len : reader.pos + length;
552
552
  const message = createBaseWorkerRegisterRequest();
553
553
  while (reader.pos < end) {
554
554
  const tag = reader.uint32();
@@ -704,7 +704,7 @@ exports.WorkerRegisterRequest_LabelsEntry = {
704
704
  },
705
705
  decode(input, length) {
706
706
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
707
- let end = length === undefined ? reader.len : reader.pos + length;
707
+ const end = length === undefined ? reader.len : reader.pos + length;
708
708
  const message = createBaseWorkerRegisterRequest_LabelsEntry();
709
709
  while (reader.pos < end) {
710
710
  const tag = reader.uint32();
@@ -779,7 +779,7 @@ exports.WorkerRegisterResponse = {
779
779
  },
780
780
  decode(input, length) {
781
781
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
782
- let end = length === undefined ? reader.len : reader.pos + length;
782
+ const end = length === undefined ? reader.len : reader.pos + length;
783
783
  const message = createBaseWorkerRegisterResponse();
784
784
  while (reader.pos < end) {
785
785
  const tag = reader.uint32();
@@ -860,7 +860,7 @@ exports.UpsertWorkerLabelsRequest = {
860
860
  },
861
861
  decode(input, length) {
862
862
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
863
- let end = length === undefined ? reader.len : reader.pos + length;
863
+ const end = length === undefined ? reader.len : reader.pos + length;
864
864
  const message = createBaseUpsertWorkerLabelsRequest();
865
865
  while (reader.pos < end) {
866
866
  const tag = reader.uint32();
@@ -948,7 +948,7 @@ exports.UpsertWorkerLabelsRequest_LabelsEntry = {
948
948
  },
949
949
  decode(input, length) {
950
950
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
951
- let end = length === undefined ? reader.len : reader.pos + length;
951
+ const end = length === undefined ? reader.len : reader.pos + length;
952
952
  const message = createBaseUpsertWorkerLabelsRequest_LabelsEntry();
953
953
  while (reader.pos < end) {
954
954
  const tag = reader.uint32();
@@ -1020,7 +1020,7 @@ exports.UpsertWorkerLabelsResponse = {
1020
1020
  },
1021
1021
  decode(input, length) {
1022
1022
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1023
- let end = length === undefined ? reader.len : reader.pos + length;
1023
+ const end = length === undefined ? reader.len : reader.pos + length;
1024
1024
  const message = createBaseUpsertWorkerLabelsResponse();
1025
1025
  while (reader.pos < end) {
1026
1026
  const tag = reader.uint32();
@@ -1164,7 +1164,7 @@ exports.AssignedAction = {
1164
1164
  },
1165
1165
  decode(input, length) {
1166
1166
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1167
- let end = length === undefined ? reader.len : reader.pos + length;
1167
+ const end = length === undefined ? reader.len : reader.pos + length;
1168
1168
  const message = createBaseAssignedAction();
1169
1169
  while (reader.pos < end) {
1170
1170
  const tag = reader.uint32();
@@ -1458,7 +1458,7 @@ exports.WorkerListenRequest = {
1458
1458
  },
1459
1459
  decode(input, length) {
1460
1460
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1461
- let end = length === undefined ? reader.len : reader.pos + length;
1461
+ const end = length === undefined ? reader.len : reader.pos + length;
1462
1462
  const message = createBaseWorkerListenRequest();
1463
1463
  while (reader.pos < end) {
1464
1464
  const tag = reader.uint32();
@@ -1510,7 +1510,7 @@ exports.WorkerUnsubscribeRequest = {
1510
1510
  },
1511
1511
  decode(input, length) {
1512
1512
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1513
- let end = length === undefined ? reader.len : reader.pos + length;
1513
+ const end = length === undefined ? reader.len : reader.pos + length;
1514
1514
  const message = createBaseWorkerUnsubscribeRequest();
1515
1515
  while (reader.pos < end) {
1516
1516
  const tag = reader.uint32();
@@ -1565,7 +1565,7 @@ exports.WorkerUnsubscribeResponse = {
1565
1565
  },
1566
1566
  decode(input, length) {
1567
1567
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1568
- let end = length === undefined ? reader.len : reader.pos + length;
1568
+ const end = length === undefined ? reader.len : reader.pos + length;
1569
1569
  const message = createBaseWorkerUnsubscribeResponse();
1570
1570
  while (reader.pos < end) {
1571
1571
  const tag = reader.uint32();
@@ -1657,7 +1657,7 @@ exports.GroupKeyActionEvent = {
1657
1657
  },
1658
1658
  decode(input, length) {
1659
1659
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1660
- let end = length === undefined ? reader.len : reader.pos + length;
1660
+ const end = length === undefined ? reader.len : reader.pos + length;
1661
1661
  const message = createBaseGroupKeyActionEvent();
1662
1662
  while (reader.pos < end) {
1663
1663
  const tag = reader.uint32();
@@ -1829,7 +1829,7 @@ exports.StepActionEvent = {
1829
1829
  },
1830
1830
  decode(input, length) {
1831
1831
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1832
- let end = length === undefined ? reader.len : reader.pos + length;
1832
+ const end = length === undefined ? reader.len : reader.pos + length;
1833
1833
  const message = createBaseStepActionEvent();
1834
1834
  while (reader.pos < end) {
1835
1835
  const tag = reader.uint32();
@@ -2010,7 +2010,7 @@ exports.ActionEventResponse = {
2010
2010
  },
2011
2011
  decode(input, length) {
2012
2012
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2013
- let end = length === undefined ? reader.len : reader.pos + length;
2013
+ const end = length === undefined ? reader.len : reader.pos + length;
2014
2014
  const message = createBaseActionEventResponse();
2015
2015
  while (reader.pos < end) {
2016
2016
  const tag = reader.uint32();
@@ -2082,7 +2082,7 @@ exports.SubscribeToWorkflowEventsRequest = {
2082
2082
  },
2083
2083
  decode(input, length) {
2084
2084
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2085
- let end = length === undefined ? reader.len : reader.pos + length;
2085
+ const end = length === undefined ? reader.len : reader.pos + length;
2086
2086
  const message = createBaseSubscribeToWorkflowEventsRequest();
2087
2087
  while (reader.pos < end) {
2088
2088
  const tag = reader.uint32();
@@ -2166,7 +2166,7 @@ exports.SubscribeToWorkflowRunsRequest = {
2166
2166
  },
2167
2167
  decode(input, length) {
2168
2168
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2169
- let end = length === undefined ? reader.len : reader.pos + length;
2169
+ const end = length === undefined ? reader.len : reader.pos + length;
2170
2170
  const message = createBaseSubscribeToWorkflowRunsRequest();
2171
2171
  while (reader.pos < end) {
2172
2172
  const tag = reader.uint32();
@@ -2258,7 +2258,7 @@ exports.WorkflowEvent = {
2258
2258
  },
2259
2259
  decode(input, length) {
2260
2260
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2261
- let end = length === undefined ? reader.len : reader.pos + length;
2261
+ const end = length === undefined ? reader.len : reader.pos + length;
2262
2262
  const message = createBaseWorkflowEvent();
2263
2263
  while (reader.pos < end) {
2264
2264
  const tag = reader.uint32();
@@ -2431,7 +2431,7 @@ exports.WorkflowRunEvent = {
2431
2431
  },
2432
2432
  decode(input, length) {
2433
2433
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2434
- let end = length === undefined ? reader.len : reader.pos + length;
2434
+ const end = length === undefined ? reader.len : reader.pos + length;
2435
2435
  const message = createBaseWorkflowRunEvent();
2436
2436
  while (reader.pos < end) {
2437
2437
  const tag = reader.uint32();
@@ -2538,7 +2538,7 @@ exports.StepRunResult = {
2538
2538
  },
2539
2539
  decode(input, length) {
2540
2540
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2541
- let end = length === undefined ? reader.len : reader.pos + length;
2541
+ const end = length === undefined ? reader.len : reader.pos + length;
2542
2542
  const message = createBaseStepRunResult();
2543
2543
  while (reader.pos < end) {
2544
2544
  const tag = reader.uint32();
@@ -2649,7 +2649,7 @@ exports.OverridesData = {
2649
2649
  },
2650
2650
  decode(input, length) {
2651
2651
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2652
- let end = length === undefined ? reader.len : reader.pos + length;
2652
+ const end = length === undefined ? reader.len : reader.pos + length;
2653
2653
  const message = createBaseOverridesData();
2654
2654
  while (reader.pos < end) {
2655
2655
  const tag = reader.uint32();
@@ -2736,7 +2736,7 @@ exports.OverridesDataResponse = {
2736
2736
  },
2737
2737
  decode(input, length) {
2738
2738
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2739
- let end = length === undefined ? reader.len : reader.pos + length;
2739
+ const end = length === undefined ? reader.len : reader.pos + length;
2740
2740
  const message = createBaseOverridesDataResponse();
2741
2741
  while (reader.pos < end) {
2742
2742
  const tag = reader.uint32();
@@ -2779,7 +2779,7 @@ exports.HeartbeatRequest = {
2779
2779
  },
2780
2780
  decode(input, length) {
2781
2781
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2782
- let end = length === undefined ? reader.len : reader.pos + length;
2782
+ const end = length === undefined ? reader.len : reader.pos + length;
2783
2783
  const message = createBaseHeartbeatRequest();
2784
2784
  while (reader.pos < end) {
2785
2785
  const tag = reader.uint32();
@@ -2842,7 +2842,7 @@ exports.HeartbeatResponse = {
2842
2842
  },
2843
2843
  decode(input, length) {
2844
2844
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2845
- let end = length === undefined ? reader.len : reader.pos + length;
2845
+ const end = length === undefined ? reader.len : reader.pos + length;
2846
2846
  const message = createBaseHeartbeatResponse();
2847
2847
  while (reader.pos < end) {
2848
2848
  const tag = reader.uint32();
@@ -2885,7 +2885,7 @@ exports.RefreshTimeoutRequest = {
2885
2885
  },
2886
2886
  decode(input, length) {
2887
2887
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2888
- let end = length === undefined ? reader.len : reader.pos + length;
2888
+ const end = length === undefined ? reader.len : reader.pos + length;
2889
2889
  const message = createBaseRefreshTimeoutRequest();
2890
2890
  while (reader.pos < end) {
2891
2891
  const tag = reader.uint32();
@@ -2953,7 +2953,7 @@ exports.RefreshTimeoutResponse = {
2953
2953
  },
2954
2954
  decode(input, length) {
2955
2955
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2956
- let end = length === undefined ? reader.len : reader.pos + length;
2956
+ const end = length === undefined ? reader.len : reader.pos + length;
2957
2957
  const message = createBaseRefreshTimeoutResponse();
2958
2958
  while (reader.pos < end) {
2959
2959
  const tag = reader.uint32();
@@ -3005,7 +3005,7 @@ exports.ReleaseSlotRequest = {
3005
3005
  },
3006
3006
  decode(input, length) {
3007
3007
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
3008
- let end = length === undefined ? reader.len : reader.pos + length;
3008
+ const end = length === undefined ? reader.len : reader.pos + length;
3009
3009
  const message = createBaseReleaseSlotRequest();
3010
3010
  while (reader.pos < end) {
3011
3011
  const tag = reader.uint32();
@@ -3054,7 +3054,7 @@ exports.ReleaseSlotResponse = {
3054
3054
  },
3055
3055
  decode(input, length) {
3056
3056
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
3057
- let end = length === undefined ? reader.len : reader.pos + length;
3057
+ const end = length === undefined ? reader.len : reader.pos + length;
3058
3058
  const message = createBaseReleaseSlotResponse();
3059
3059
  while (reader.pos < end) {
3060
3060
  const tag = reader.uint32();
@@ -1,5 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
2
- import { type CallContext, type CallOptions } from 'nice-grpc-common';
2
+ import type { CallContext, CallOptions } from 'nice-grpc-common';
3
3
  export declare const protobufPackage = "";
4
4
  export interface Event {
5
5
  /** the tenant id */
@@ -12,7 +12,7 @@ export interface Event {
12
12
  payload: string;
13
13
  /** when the event was generated */
14
14
  eventTimestamp: Date | undefined;
15
- /** the payload for the event */
15
+ /** the additional metadata for the event */
16
16
  additionalMetadata?: string | undefined;
17
17
  /** the scope associated with this filter. Used for subsetting candidate filters at evaluation time */
18
18
  scope?: string | undefined;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.0
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.19.1
6
6
  // source: events/events.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -48,7 +48,7 @@ exports.Event = {
48
48
  },
49
49
  decode(input, length) {
50
50
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
51
- let end = length === undefined ? reader.len : reader.pos + length;
51
+ const end = length === undefined ? reader.len : reader.pos + length;
52
52
  const message = createBaseEvent();
53
53
  while (reader.pos < end) {
54
54
  const tag = reader.uint32();
@@ -178,7 +178,7 @@ exports.Events = {
178
178
  },
179
179
  decode(input, length) {
180
180
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
181
- let end = length === undefined ? reader.len : reader.pos + length;
181
+ const end = length === undefined ? reader.len : reader.pos + length;
182
182
  const message = createBaseEvents();
183
183
  while (reader.pos < end) {
184
184
  const tag = reader.uint32();
@@ -257,7 +257,7 @@ exports.PutLogRequest = {
257
257
  },
258
258
  decode(input, length) {
259
259
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
260
- let end = length === undefined ? reader.len : reader.pos + length;
260
+ const end = length === undefined ? reader.len : reader.pos + length;
261
261
  const message = createBasePutLogRequest();
262
262
  while (reader.pos < end) {
263
263
  const tag = reader.uint32();
@@ -370,7 +370,7 @@ exports.PutLogResponse = {
370
370
  },
371
371
  decode(input, length) {
372
372
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
373
- let end = length === undefined ? reader.len : reader.pos + length;
373
+ const end = length === undefined ? reader.len : reader.pos + length;
374
374
  const message = createBasePutLogResponse();
375
375
  while (reader.pos < end) {
376
376
  const tag = reader.uint32();
@@ -428,7 +428,7 @@ exports.PutStreamEventRequest = {
428
428
  },
429
429
  decode(input, length) {
430
430
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
431
- let end = length === undefined ? reader.len : reader.pos + length;
431
+ const end = length === undefined ? reader.len : reader.pos + length;
432
432
  const message = createBasePutStreamEventRequest();
433
433
  while (reader.pos < end) {
434
434
  const tag = reader.uint32();
@@ -527,7 +527,7 @@ exports.PutStreamEventResponse = {
527
527
  },
528
528
  decode(input, length) {
529
529
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
530
- let end = length === undefined ? reader.len : reader.pos + length;
530
+ const end = length === undefined ? reader.len : reader.pos + length;
531
531
  const message = createBasePutStreamEventResponse();
532
532
  while (reader.pos < end) {
533
533
  const tag = reader.uint32();
@@ -567,7 +567,7 @@ exports.BulkPushEventRequest = {
567
567
  },
568
568
  decode(input, length) {
569
569
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
570
- let end = length === undefined ? reader.len : reader.pos + length;
570
+ const end = length === undefined ? reader.len : reader.pos + length;
571
571
  const message = createBaseBulkPushEventRequest();
572
572
  while (reader.pos < end) {
573
573
  const tag = reader.uint32();
@@ -646,7 +646,7 @@ exports.PushEventRequest = {
646
646
  },
647
647
  decode(input, length) {
648
648
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
649
- let end = length === undefined ? reader.len : reader.pos + length;
649
+ const end = length === undefined ? reader.len : reader.pos + length;
650
650
  const message = createBasePushEventRequest();
651
651
  while (reader.pos < end) {
652
652
  const tag = reader.uint32();
@@ -764,7 +764,7 @@ exports.ReplayEventRequest = {
764
764
  },
765
765
  decode(input, length) {
766
766
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
767
- let end = length === undefined ? reader.len : reader.pos + length;
767
+ const end = length === undefined ? reader.len : reader.pos + length;
768
768
  const message = createBaseReplayEventRequest();
769
769
  while (reader.pos < end) {
770
770
  const tag = reader.uint32();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.0
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.19.1
6
6
  // source: google/protobuf/timestamp.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -24,7 +24,7 @@ exports.Timestamp = {
24
24
  },
25
25
  decode(input, length) {
26
26
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
27
- let end = length === undefined ? reader.len : reader.pos + length;
27
+ const end = length === undefined ? reader.len : reader.pos + length;
28
28
  const message = createBaseTimestamp();
29
29
  while (reader.pos < end) {
30
30
  const tag = reader.uint32();
@@ -1,5 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
2
- import { type CallContext, type CallOptions } from 'nice-grpc-common';
2
+ import type { CallContext, CallOptions } from 'nice-grpc-common';
3
3
  import { DurableEventListenerConditions } from './shared/condition';
4
4
  export declare const protobufPackage = "v1";
5
5
  export interface RegisterDurableEventRequest {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.0
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.19.1
6
6
  // source: v1/dispatcher.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -28,7 +28,7 @@ exports.RegisterDurableEventRequest = {
28
28
  },
29
29
  decode(input, length) {
30
30
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
31
- let end = length === undefined ? reader.len : reader.pos + length;
31
+ const end = length === undefined ? reader.len : reader.pos + length;
32
32
  const message = createBaseRegisterDurableEventRequest();
33
33
  while (reader.pos < end) {
34
34
  const tag = reader.uint32();
@@ -108,7 +108,7 @@ exports.RegisterDurableEventResponse = {
108
108
  },
109
109
  decode(input, length) {
110
110
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
111
- let end = length === undefined ? reader.len : reader.pos + length;
111
+ const end = length === undefined ? reader.len : reader.pos + length;
112
112
  const message = createBaseRegisterDurableEventResponse();
113
113
  while (reader.pos < end) {
114
114
  const tag = reader.uint32();
@@ -151,7 +151,7 @@ exports.ListenForDurableEventRequest = {
151
151
  },
152
152
  decode(input, length) {
153
153
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
154
- let end = length === undefined ? reader.len : reader.pos + length;
154
+ const end = length === undefined ? reader.len : reader.pos + length;
155
155
  const message = createBaseListenForDurableEventRequest();
156
156
  while (reader.pos < end) {
157
157
  const tag = reader.uint32();
@@ -223,7 +223,7 @@ exports.DurableEvent = {
223
223
  },
224
224
  decode(input, length) {
225
225
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
226
- let end = length === undefined ? reader.len : reader.pos + length;
226
+ const end = length === undefined ? reader.len : reader.pos + length;
227
227
  const message = createBaseDurableEvent();
228
228
  while (reader.pos < end) {
229
229
  const tag = reader.uint32();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.0
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.19.1
6
6
  // source: v1/shared/condition.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -75,7 +75,7 @@ exports.BaseMatchCondition = {
75
75
  },
76
76
  decode(input, length) {
77
77
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
78
- let end = length === undefined ? reader.len : reader.pos + length;
78
+ const end = length === undefined ? reader.len : reader.pos + length;
79
79
  const message = createBaseBaseMatchCondition();
80
80
  while (reader.pos < end) {
81
81
  const tag = reader.uint32();
@@ -170,7 +170,7 @@ exports.ParentOverrideMatchCondition = {
170
170
  },
171
171
  decode(input, length) {
172
172
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
173
- let end = length === undefined ? reader.len : reader.pos + length;
173
+ const end = length === undefined ? reader.len : reader.pos + length;
174
174
  const message = createBaseParentOverrideMatchCondition();
175
175
  while (reader.pos < end) {
176
176
  const tag = reader.uint32();
@@ -244,7 +244,7 @@ exports.SleepMatchCondition = {
244
244
  },
245
245
  decode(input, length) {
246
246
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
247
- let end = length === undefined ? reader.len : reader.pos + length;
247
+ const end = length === undefined ? reader.len : reader.pos + length;
248
248
  const message = createBaseSleepMatchCondition();
249
249
  while (reader.pos < end) {
250
250
  const tag = reader.uint32();
@@ -316,7 +316,7 @@ exports.UserEventMatchCondition = {
316
316
  },
317
317
  decode(input, length) {
318
318
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
319
- let end = length === undefined ? reader.len : reader.pos + length;
319
+ const end = length === undefined ? reader.len : reader.pos + length;
320
320
  const message = createBaseUserEventMatchCondition();
321
321
  while (reader.pos < end) {
322
322
  const tag = reader.uint32();
@@ -391,7 +391,7 @@ exports.TaskConditions = {
391
391
  },
392
392
  decode(input, length) {
393
393
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
394
- let end = length === undefined ? reader.len : reader.pos + length;
394
+ const end = length === undefined ? reader.len : reader.pos + length;
395
395
  const message = createBaseTaskConditions();
396
396
  while (reader.pos < end) {
397
397
  const tag = reader.uint32();
@@ -483,7 +483,7 @@ exports.DurableEventListenerConditions = {
483
483
  },
484
484
  decode(input, length) {
485
485
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
486
- let end = length === undefined ? reader.len : reader.pos + length;
486
+ const end = length === undefined ? reader.len : reader.pos + length;
487
487
  const message = createBaseDurableEventListenerConditions();
488
488
  while (reader.pos < end) {
489
489
  const tag = reader.uint32();
@@ -1,5 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
2
- import { type CallContext, type CallOptions } from 'nice-grpc-common';
2
+ import type { CallContext, CallOptions } from 'nice-grpc-common';
3
3
  import { TaskConditions } from './shared/condition';
4
4
  export declare const protobufPackage = "v1";
5
5
  export declare enum StickyStrategy {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.0
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.19.1
6
6
  // source: v1/workflows.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -232,7 +232,7 @@ exports.CancelTasksRequest = {
232
232
  },
233
233
  decode(input, length) {
234
234
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
235
- let end = length === undefined ? reader.len : reader.pos + length;
235
+ const end = length === undefined ? reader.len : reader.pos + length;
236
236
  const message = createBaseCancelTasksRequest();
237
237
  while (reader.pos < end) {
238
238
  const tag = reader.uint32();
@@ -307,7 +307,7 @@ exports.ReplayTasksRequest = {
307
307
  },
308
308
  decode(input, length) {
309
309
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
310
- let end = length === undefined ? reader.len : reader.pos + length;
310
+ const end = length === undefined ? reader.len : reader.pos + length;
311
311
  const message = createBaseReplayTasksRequest();
312
312
  while (reader.pos < end) {
313
313
  const tag = reader.uint32();
@@ -397,7 +397,7 @@ exports.TasksFilter = {
397
397
  },
398
398
  decode(input, length) {
399
399
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
400
- let end = length === undefined ? reader.len : reader.pos + length;
400
+ const end = length === undefined ? reader.len : reader.pos + length;
401
401
  const message = createBaseTasksFilter();
402
402
  while (reader.pos < end) {
403
403
  const tag = reader.uint32();
@@ -506,7 +506,7 @@ exports.CancelTasksResponse = {
506
506
  },
507
507
  decode(input, length) {
508
508
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
509
- let end = length === undefined ? reader.len : reader.pos + length;
509
+ const end = length === undefined ? reader.len : reader.pos + length;
510
510
  const message = createBaseCancelTasksResponse();
511
511
  while (reader.pos < end) {
512
512
  const tag = reader.uint32();
@@ -563,7 +563,7 @@ exports.ReplayTasksResponse = {
563
563
  },
564
564
  decode(input, length) {
565
565
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
566
- let end = length === undefined ? reader.len : reader.pos + length;
566
+ const end = length === undefined ? reader.len : reader.pos + length;
567
567
  const message = createBaseReplayTasksResponse();
568
568
  while (reader.pos < end) {
569
569
  const tag = reader.uint32();
@@ -634,7 +634,7 @@ exports.TriggerWorkflowRunRequest = {
634
634
  },
635
635
  decode(input, length) {
636
636
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
637
- let end = length === undefined ? reader.len : reader.pos + length;
637
+ const end = length === undefined ? reader.len : reader.pos + length;
638
638
  const message = createBaseTriggerWorkflowRunRequest();
639
639
  while (reader.pos < end) {
640
640
  const tag = reader.uint32();
@@ -726,7 +726,7 @@ exports.TriggerWorkflowRunResponse = {
726
726
  },
727
727
  decode(input, length) {
728
728
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
729
- let end = length === undefined ? reader.len : reader.pos + length;
729
+ const end = length === undefined ? reader.len : reader.pos + length;
730
730
  const message = createBaseTriggerWorkflowRunResponse();
731
731
  while (reader.pos < end) {
732
732
  const tag = reader.uint32();
@@ -828,7 +828,7 @@ exports.CreateWorkflowVersionRequest = {
828
828
  },
829
829
  decode(input, length) {
830
830
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
831
- let end = length === undefined ? reader.len : reader.pos + length;
831
+ const end = length === undefined ? reader.len : reader.pos + length;
832
832
  const message = createBaseCreateWorkflowVersionRequest();
833
833
  while (reader.pos < end) {
834
834
  const tag = reader.uint32();
@@ -1053,7 +1053,7 @@ exports.DefaultFilter = {
1053
1053
  },
1054
1054
  decode(input, length) {
1055
1055
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1056
- let end = length === undefined ? reader.len : reader.pos + length;
1056
+ const end = length === undefined ? reader.len : reader.pos + length;
1057
1057
  const message = createBaseDefaultFilter();
1058
1058
  while (reader.pos < end) {
1059
1059
  const tag = reader.uint32();
@@ -1137,7 +1137,7 @@ exports.Concurrency = {
1137
1137
  },
1138
1138
  decode(input, length) {
1139
1139
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1140
- let end = length === undefined ? reader.len : reader.pos + length;
1140
+ const end = length === undefined ? reader.len : reader.pos + length;
1141
1141
  const message = createBaseConcurrency();
1142
1142
  while (reader.pos < end) {
1143
1143
  const tag = reader.uint32();
@@ -1235,7 +1235,7 @@ exports.DesiredWorkerLabels = {
1235
1235
  },
1236
1236
  decode(input, length) {
1237
1237
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1238
- let end = length === undefined ? reader.len : reader.pos + length;
1238
+ const end = length === undefined ? reader.len : reader.pos + length;
1239
1239
  const message = createBaseDesiredWorkerLabels();
1240
1240
  while (reader.pos < end) {
1241
1241
  const tag = reader.uint32();
@@ -1389,7 +1389,7 @@ exports.CreateTaskOpts = {
1389
1389
  },
1390
1390
  decode(input, length) {
1391
1391
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1392
- let end = length === undefined ? reader.len : reader.pos + length;
1392
+ const end = length === undefined ? reader.len : reader.pos + length;
1393
1393
  const message = createBaseCreateTaskOpts();
1394
1394
  while (reader.pos < end) {
1395
1395
  const tag = reader.uint32();
@@ -1625,7 +1625,7 @@ exports.CreateTaskOpts_WorkerLabelsEntry = {
1625
1625
  },
1626
1626
  decode(input, length) {
1627
1627
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1628
- let end = length === undefined ? reader.len : reader.pos + length;
1628
+ const end = length === undefined ? reader.len : reader.pos + length;
1629
1629
  const message = createBaseCreateTaskOpts_WorkerLabelsEntry();
1630
1630
  while (reader.pos < end) {
1631
1631
  const tag = reader.uint32();
@@ -1716,7 +1716,7 @@ exports.CreateTaskRateLimit = {
1716
1716
  },
1717
1717
  decode(input, length) {
1718
1718
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1719
- let end = length === undefined ? reader.len : reader.pos + length;
1719
+ const end = length === undefined ? reader.len : reader.pos + length;
1720
1720
  const message = createBaseCreateTaskRateLimit();
1721
1721
  while (reader.pos < end) {
1722
1722
  const tag = reader.uint32();
@@ -1835,7 +1835,7 @@ exports.CreateWorkflowVersionResponse = {
1835
1835
  },
1836
1836
  decode(input, length) {
1837
1837
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1838
- let end = length === undefined ? reader.len : reader.pos + length;
1838
+ const end = length === undefined ? reader.len : reader.pos + length;
1839
1839
  const message = createBaseCreateWorkflowVersionResponse();
1840
1840
  while (reader.pos < end) {
1841
1841
  const tag = reader.uint32();
@@ -1,5 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
2
- import { type CallContext, type CallOptions } from 'nice-grpc-common';
2
+ import type { CallContext, CallOptions } from 'nice-grpc-common';
3
3
  export declare const protobufPackage = "";
4
4
  export declare enum StickyStrategy {
5
5
  SOFT = 0,
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.0
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.19.1
6
6
  // source: workflows/workflows.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -267,7 +267,7 @@ exports.PutWorkflowRequest = {
267
267
  },
268
268
  decode(input, length) {
269
269
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
270
- let end = length === undefined ? reader.len : reader.pos + length;
270
+ const end = length === undefined ? reader.len : reader.pos + length;
271
271
  const message = createBasePutWorkflowRequest();
272
272
  while (reader.pos < end) {
273
273
  const tag = reader.uint32();
@@ -377,7 +377,7 @@ exports.CreateWorkflowVersionOpts = {
377
377
  },
378
378
  decode(input, length) {
379
379
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
380
- let end = length === undefined ? reader.len : reader.pos + length;
380
+ const end = length === undefined ? reader.len : reader.pos + length;
381
381
  const message = createBaseCreateWorkflowVersionOpts();
382
382
  while (reader.pos < end) {
383
383
  const tag = reader.uint32();
@@ -619,7 +619,7 @@ exports.WorkflowConcurrencyOpts = {
619
619
  },
620
620
  decode(input, length) {
621
621
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
622
- let end = length === undefined ? reader.len : reader.pos + length;
622
+ const end = length === undefined ? reader.len : reader.pos + length;
623
623
  const message = createBaseWorkflowConcurrencyOpts();
624
624
  while (reader.pos < end) {
625
625
  const tag = reader.uint32();
@@ -717,7 +717,7 @@ exports.CreateWorkflowJobOpts = {
717
717
  },
718
718
  decode(input, length) {
719
719
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
720
- let end = length === undefined ? reader.len : reader.pos + length;
720
+ const end = length === undefined ? reader.len : reader.pos + length;
721
721
  const message = createBaseCreateWorkflowJobOpts();
722
722
  while (reader.pos < end) {
723
723
  const tag = reader.uint32();
@@ -816,7 +816,7 @@ exports.DesiredWorkerLabels = {
816
816
  },
817
817
  decode(input, length) {
818
818
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
819
- let end = length === undefined ? reader.len : reader.pos + length;
819
+ const end = length === undefined ? reader.len : reader.pos + length;
820
820
  const message = createBaseDesiredWorkerLabels();
821
821
  while (reader.pos < end) {
822
822
  const tag = reader.uint32();
@@ -962,7 +962,7 @@ exports.CreateWorkflowStepOpts = {
962
962
  },
963
963
  decode(input, length) {
964
964
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
965
- let end = length === undefined ? reader.len : reader.pos + length;
965
+ const end = length === undefined ? reader.len : reader.pos + length;
966
966
  const message = createBaseCreateWorkflowStepOpts();
967
967
  while (reader.pos < end) {
968
968
  const tag = reader.uint32();
@@ -1167,7 +1167,7 @@ exports.CreateWorkflowStepOpts_WorkerLabelsEntry = {
1167
1167
  },
1168
1168
  decode(input, length) {
1169
1169
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1170
- let end = length === undefined ? reader.len : reader.pos + length;
1170
+ const end = length === undefined ? reader.len : reader.pos + length;
1171
1171
  const message = createBaseCreateWorkflowStepOpts_WorkerLabelsEntry();
1172
1172
  while (reader.pos < end) {
1173
1173
  const tag = reader.uint32();
@@ -1258,7 +1258,7 @@ exports.CreateStepRateLimit = {
1258
1258
  },
1259
1259
  decode(input, length) {
1260
1260
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1261
- let end = length === undefined ? reader.len : reader.pos + length;
1261
+ const end = length === undefined ? reader.len : reader.pos + length;
1262
1262
  const message = createBaseCreateStepRateLimit();
1263
1263
  while (reader.pos < end) {
1264
1264
  const tag = reader.uint32();
@@ -1371,7 +1371,7 @@ exports.ListWorkflowsRequest = {
1371
1371
  },
1372
1372
  decode(input, length) {
1373
1373
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1374
- let end = length === undefined ? reader.len : reader.pos + length;
1374
+ const end = length === undefined ? reader.len : reader.pos + length;
1375
1375
  const message = createBaseListWorkflowsRequest();
1376
1376
  while (reader.pos < end) {
1377
1377
  const tag = reader.uint32();
@@ -1445,7 +1445,7 @@ exports.ScheduleWorkflowRequest = {
1445
1445
  },
1446
1446
  decode(input, length) {
1447
1447
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1448
- let end = length === undefined ? reader.len : reader.pos + length;
1448
+ const end = length === undefined ? reader.len : reader.pos + length;
1449
1449
  const message = createBaseScheduleWorkflowRequest();
1450
1450
  while (reader.pos < end) {
1451
1451
  const tag = reader.uint32();
@@ -1605,7 +1605,7 @@ exports.ScheduledWorkflow = {
1605
1605
  },
1606
1606
  decode(input, length) {
1607
1607
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1608
- let end = length === undefined ? reader.len : reader.pos + length;
1608
+ const end = length === undefined ? reader.len : reader.pos + length;
1609
1609
  const message = createBaseScheduledWorkflow();
1610
1610
  while (reader.pos < end) {
1611
1611
  const tag = reader.uint32();
@@ -1697,7 +1697,7 @@ exports.WorkflowVersion = {
1697
1697
  },
1698
1698
  decode(input, length) {
1699
1699
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1700
- let end = length === undefined ? reader.len : reader.pos + length;
1700
+ const end = length === undefined ? reader.len : reader.pos + length;
1701
1701
  const message = createBaseWorkflowVersion();
1702
1702
  while (reader.pos < end) {
1703
1703
  const tag = reader.uint32();
@@ -1830,7 +1830,7 @@ exports.WorkflowTriggerEventRef = {
1830
1830
  },
1831
1831
  decode(input, length) {
1832
1832
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1833
- let end = length === undefined ? reader.len : reader.pos + length;
1833
+ const end = length === undefined ? reader.len : reader.pos + length;
1834
1834
  const message = createBaseWorkflowTriggerEventRef();
1835
1835
  while (reader.pos < end) {
1836
1836
  const tag = reader.uint32();
@@ -1899,7 +1899,7 @@ exports.WorkflowTriggerCronRef = {
1899
1899
  },
1900
1900
  decode(input, length) {
1901
1901
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1902
- let end = length === undefined ? reader.len : reader.pos + length;
1902
+ const end = length === undefined ? reader.len : reader.pos + length;
1903
1903
  const message = createBaseWorkflowTriggerCronRef();
1904
1904
  while (reader.pos < end) {
1905
1905
  const tag = reader.uint32();
@@ -1965,7 +1965,7 @@ exports.BulkTriggerWorkflowRequest = {
1965
1965
  },
1966
1966
  decode(input, length) {
1967
1967
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1968
- let end = length === undefined ? reader.len : reader.pos + length;
1968
+ const end = length === undefined ? reader.len : reader.pos + length;
1969
1969
  const message = createBaseBulkTriggerWorkflowRequest();
1970
1970
  while (reader.pos < end) {
1971
1971
  const tag = reader.uint32();
@@ -2022,7 +2022,7 @@ exports.BulkTriggerWorkflowResponse = {
2022
2022
  },
2023
2023
  decode(input, length) {
2024
2024
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2025
- let end = length === undefined ? reader.len : reader.pos + length;
2025
+ const end = length === undefined ? reader.len : reader.pos + length;
2026
2026
  const message = createBaseBulkTriggerWorkflowResponse();
2027
2027
  while (reader.pos < end) {
2028
2028
  const tag = reader.uint32();
@@ -2113,7 +2113,7 @@ exports.TriggerWorkflowRequest = {
2113
2113
  },
2114
2114
  decode(input, length) {
2115
2115
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2116
- let end = length === undefined ? reader.len : reader.pos + length;
2116
+ const end = length === undefined ? reader.len : reader.pos + length;
2117
2117
  const message = createBaseTriggerWorkflowRequest();
2118
2118
  while (reader.pos < end) {
2119
2119
  const tag = reader.uint32();
@@ -2269,7 +2269,7 @@ exports.TriggerWorkflowResponse = {
2269
2269
  },
2270
2270
  decode(input, length) {
2271
2271
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2272
- let end = length === undefined ? reader.len : reader.pos + length;
2272
+ const end = length === undefined ? reader.len : reader.pos + length;
2273
2273
  const message = createBaseTriggerWorkflowResponse();
2274
2274
  while (reader.pos < end) {
2275
2275
  const tag = reader.uint32();
@@ -2329,7 +2329,7 @@ exports.PutRateLimitRequest = {
2329
2329
  },
2330
2330
  decode(input, length) {
2331
2331
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2332
- let end = length === undefined ? reader.len : reader.pos + length;
2332
+ const end = length === undefined ? reader.len : reader.pos + length;
2333
2333
  const message = createBasePutRateLimitRequest();
2334
2334
  while (reader.pos < end) {
2335
2335
  const tag = reader.uint32();
@@ -2404,7 +2404,7 @@ exports.PutRateLimitResponse = {
2404
2404
  },
2405
2405
  decode(input, length) {
2406
2406
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2407
- let end = length === undefined ? reader.len : reader.pos + length;
2407
+ const end = length === undefined ? reader.len : reader.pos + length;
2408
2408
  const message = createBasePutRateLimitResponse();
2409
2409
  while (reader.pos < end) {
2410
2410
  const tag = reader.uint32();
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const HATCHET_VERSION = "1.10.0";
1
+ export declare const HATCHET_VERSION = "1.10.1";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HATCHET_VERSION = void 0;
4
- exports.HATCHET_VERSION = '1.10.0';
4
+ exports.HATCHET_VERSION = '1.10.1';