@distilled.cloud/trigger-dev 1.0.0-rc.20 → 1.0.0-rc.22

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.
@@ -4,7 +4,7 @@ import * as C from "@distilled.cloud/core/category";
4
4
  import * as S from "@distilled.cloud/core/schema-lite";
5
5
  import * as __L from "@distilled.cloud/core/schema-lite";
6
6
  import type * as Redacted from "effect/Redacted";
7
- import { UnknownTriggerDevError } from "../errors.ts";
7
+ import { TriggerDevServiceErrors } from "../errors.ts";
8
8
  import {
9
9
  TriggerDevProtocol,
10
10
  type TriggerDevOpError,
@@ -35,45 +35,142 @@ export class BadRequest
35
35
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
36
36
  code: S.Number,
37
37
  message: S.String,
38
+ body: /*@__PURE__*/ S.optional(
39
+ /*@__PURE__*/ S.Union([
40
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
41
+ /*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
42
+ /*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)),
43
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
44
+ /*@__PURE__*/ S.suspend(() => __S(33, __c4, 1)),
45
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
46
+ /*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)),
47
+ /*@__PURE__*/ S.suspend(() => __S(26, __c3, 2)),
48
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
49
+ /*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)),
50
+ S.String,
51
+ ]),
52
+ ),
53
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
38
54
  }).pipe(C.withBadRequestError),
39
55
  [{ status: 400 }],
40
- ) {}
56
+ )
57
+ {
58
+ declare readonly body?:
59
+ | Error403Body
60
+ | ErrorResponse
61
+ | Error400Body3
62
+ | SkewProtectionThresholdError
63
+ | InvalidEnvVarsRequestResponse
64
+ | Error400Body4
65
+ | Error400Body5
66
+ | ErrorWithDetailsResponse
67
+ | Error400Body
68
+ | Error400Body2
69
+ | string;
70
+ }
41
71
 
42
72
  export class Conflict
43
73
  extends /*@__PURE__*/ T.applyErrorMatchers(
44
74
  /*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
45
75
  code: S.Number,
46
76
  message: S.String,
77
+ body: /*@__PURE__*/ S.optional(
78
+ /*@__PURE__*/ S.Union([
79
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
80
+ /*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
81
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
82
+ S.String,
83
+ ]),
84
+ ),
85
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
47
86
  }).pipe(C.withConflictError),
48
87
  [{ status: 409 }],
49
- ) {}
88
+ )
89
+ {
90
+ declare readonly body?: Error403Body | ErrorResponse | SkewProtectionThresholdError | string;
91
+ }
50
92
 
51
93
  export class Forbidden
52
94
  extends /*@__PURE__*/ T.applyErrorMatchers(
53
95
  /*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
54
96
  code: S.Number,
55
97
  message: S.String,
98
+ body: /*@__PURE__*/ S.optional(
99
+ /*@__PURE__*/ S.Union([
100
+ /*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
101
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
102
+ S.String,
103
+ ]),
104
+ ),
105
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
56
106
  }).pipe(C.withAuthError),
57
107
  [{ status: 403 }],
58
- ) {}
108
+ )
109
+ {
110
+ declare readonly body?: ErrorResponse | Error403Body | string;
111
+ }
59
112
 
60
113
  export class NotFound
61
114
  extends /*@__PURE__*/ T.applyErrorMatchers(
62
115
  /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
63
116
  code: S.Number,
64
117
  message: S.String,
118
+ body: /*@__PURE__*/ S.optional(
119
+ /*@__PURE__*/ S.Union([
120
+ /*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)),
121
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
122
+ /*@__PURE__*/ S.suspend(() => __S(264, __c33, 0)),
123
+ /*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
124
+ /*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)),
125
+ /*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)),
126
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
127
+ /*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)),
128
+ S.String,
129
+ ]),
130
+ ),
131
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
65
132
  }).pipe(C.withBadRequestError),
66
133
  [{ status: 404 }],
67
- ) {}
134
+ )
135
+ {
136
+ declare readonly body?:
137
+ | Error404Body
138
+ | Error403Body
139
+ | WebhookWaiterErrorResponse
140
+ | ErrorResponse
141
+ | Error404Body4
142
+ | Error404Body2
143
+ | SkewProtectionThresholdError
144
+ | Error404Body3
145
+ | string;
146
+ }
68
147
 
69
148
  export class UnprocessableEntity
70
149
  extends /*@__PURE__*/ T.applyErrorMatchers(
71
150
  /*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
72
151
  code: S.Number,
73
152
  message: S.String,
153
+ body: /*@__PURE__*/ S.optional(
154
+ /*@__PURE__*/ S.Union([
155
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
156
+ /*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
157
+ /*@__PURE__*/ S.suspend(() => __S(26, __c3, 2)),
158
+ /*@__PURE__*/ S.suspend(() => __S(264, __c33, 0)),
159
+ S.String,
160
+ ]),
161
+ ),
162
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
74
163
  }).pipe(C.withBadRequestError),
75
164
  [{ status: 422 }],
76
- ) {}
165
+ )
166
+ {
167
+ declare readonly body?:
168
+ | Error422Body
169
+ | ErrorResponse
170
+ | ErrorWithDetailsResponse
171
+ | WebhookWaiterErrorResponse
172
+ | string;
173
+ }
77
174
 
78
175
  export interface ActivateScheduleV1Request {
79
176
  /** The ID of the schedule. */
@@ -267,6 +364,35 @@ export interface CancelWebhookWaiterResponse {
267
364
  /** With `too_late`, the delivery that resumed the run. */
268
365
  deliveryId?: string | undefined;
269
366
  }
367
+ export interface ClearSkewProtectionThresholdV1Request {
368
+ /** A task id. Clears that task's own threshold and leaves the environment's. Leave it out to clear the environment's threshold and leave each task's. */
369
+ task?: string | undefined;
370
+ }
371
+ /** `user` from the dashboard, `api` through this API, `migrated` when Trigger.dev set it for you. */
372
+ export type SkewProtectionThresholdSetByType = "user" | "api" | "migrated";
373
+ export interface SkewProtectionThresholdSetBy {
374
+ /** `user` from the dashboard, `api` through this API, `migrated` when Trigger.dev set it for you. */
375
+ type?: SkewProtectionThresholdSetByType | undefined;
376
+ }
377
+ export interface SkewProtectionThreshold {
378
+ version?: string | undefined;
379
+ /** The ID of the deployment with this version. */
380
+ deploymentId?: string | null | undefined;
381
+ setAt?: string | undefined;
382
+ setBy?: SkewProtectionThresholdSetBy | null | undefined;
383
+ }
384
+ /** Each task's own skew protection threshold, by task id. Empty when no task has one. */
385
+ export type SkewProtectionThresholdStateTasksMap = {
386
+ [key: string]: SkewProtectionThreshold | undefined;
387
+ };
388
+ export interface SkewProtectionThresholdState {
389
+ /** The current deployment's version, or null when nothing is current. */
390
+ currentVersion?: string | null | undefined;
391
+ /** The environment's skew protection threshold, or null when none is set. */
392
+ threshold?: SkewProtectionThreshold | null | undefined;
393
+ /** Each task's own skew protection threshold, by task id. Empty when no task has one. */
394
+ tasks?: SkewProtectionThresholdStateTasksMap | undefined;
395
+ }
270
396
  export interface CloseSessionV1Request {
271
397
  /** The session's friendly ID (`session_...`) or your `externalId`. The server disambiguates by the `session_` prefix. */
272
398
  session: string;
@@ -751,14 +877,14 @@ export interface EnableWebhookEndpointV1Response {
751
877
  /** Instructions for an AI coding agent to register the endpoint with its provider and set up the signing secret. */
752
878
  setupPrompt: string;
753
879
  }
754
- /** The scope of data to query - environment (default), project, or organization */
880
+ /** The scope of data to query. With an API key, every scope reads the key's own environment. Project and organization wide queries are available on the dashboard's Query page. */
755
881
  export type ExecuteQueryV1RequestScope = "environment" | "project" | "organization";
756
882
  /** Response format - "json" returns structured data (default), "csv" returns CSV string */
757
883
  export type ExecuteQueryV1RequestFormat = "json" | "csv";
758
884
  export interface ExecuteQueryV1Request {
759
885
  /** The TRQL query to execute */
760
886
  query: string;
761
- /** The scope of data to query - environment (default), project, or organization */
887
+ /** The scope of data to query. With an API key, every scope reads the key's own environment. Project and organization wide queries are available on the dashboard's Query page. */
762
888
  scope?: ExecuteQueryV1RequestScope | (string & {}) | undefined;
763
889
  /** Time period shorthand (e.g., "7d", "30d", "1h"). Cannot be used with from/to. */
764
890
  period?: string | null | undefined;
@@ -1574,6 +1700,7 @@ export interface GetSessionV1Request {
1574
1700
  /** The session's friendly ID (`session_...`) or your `externalId`. The server disambiguates by the `session_` prefix. */
1575
1701
  session: string;
1576
1702
  }
1703
+ export interface GetSkewProtectionThresholdV1Request {}
1577
1704
  export interface GetTimezonesV1Request {
1578
1705
  /** Defaults to false. Whether to include UTC in the results or not. */
1579
1706
  excludeUtc?: boolean | undefined;
@@ -1973,6 +2100,7 @@ export interface ListProjectRunsV1RequestPage {
1973
2100
  /** The ID of the run to start the page before. This will set the direction of the pagination to backward. */
1974
2101
  before?: string | undefined;
1975
2102
  }
2103
+ /** Without `period`, `from` or `to`, only runs created in the last 7 days are listed. The response's `appliedFilters.createdAt` says which window was used. */
1976
2104
  export interface ListProjectRunsV1RequestFilterCreatedAt {
1977
2105
  /** The start date to filter the runs by */
1978
2106
  from?: string | undefined;
@@ -2009,6 +2137,7 @@ export type ListProjectRunsV1RequestFilterEnvList = Array<
2009
2137
  ListProjectRunsV1RequestFilterEnvItem | (string & {})
2010
2138
  >;
2011
2139
  export interface ListProjectRunsV1RequestFilter {
2140
+ /** Without `period`, `from` or `to`, only runs created in the last 7 days are listed. The response's `appliedFilters.createdAt` says which window was used. */
2012
2141
  createdAt?: ListProjectRunsV1RequestFilterCreatedAt | undefined;
2013
2142
  status?: ListProjectRunsV1RequestFilterStatusList | undefined;
2014
2143
  /** The identifier of the task that was run */
@@ -2101,9 +2230,27 @@ export interface ListRunsResultPagination {
2101
2230
  /** The run ID to start the previous page before. This should be used as the `page[before]` parameter in the next request. */
2102
2231
  previous?: string | undefined;
2103
2232
  }
2233
+ /** The creation-time window the list used. */
2234
+ export interface ListRunsResultAppliedFiltersCreatedAt {
2235
+ /** The period, when the list used one. */
2236
+ period?: string | undefined;
2237
+ /** The start of the window, when the request set `filter[createdAt][from]`. */
2238
+ from?: string | undefined;
2239
+ /** The end of the window, when the request set `filter[createdAt][to]`. */
2240
+ to?: string | undefined;
2241
+ /** True when the request set no period, from or to, so the default 7-day period applied. */
2242
+ isDefault?: boolean | undefined;
2243
+ }
2244
+ /** The filters the list was run with, including defaults the request didn't set. */
2245
+ export interface ListRunsResultAppliedFilters {
2246
+ /** The creation-time window the list used. */
2247
+ createdAt?: ListRunsResultAppliedFiltersCreatedAt | undefined;
2248
+ }
2104
2249
  export interface ListRunsResult {
2105
2250
  data?: ListRunsResultDataList | undefined;
2106
2251
  pagination?: ListRunsResultPagination | undefined;
2252
+ /** The filters the list was run with, including defaults the request didn't set. */
2253
+ appliedFilters?: ListRunsResultAppliedFilters | undefined;
2107
2254
  }
2108
2255
  export interface ListQueuesV1Request {
2109
2256
  /** Page number of the queue listing (1-based) */
@@ -2127,6 +2274,7 @@ export interface ListQueuesResult {
2127
2274
  pagination: ListQueuesResultPagination;
2128
2275
  }
2129
2276
  export type ListRunsV1RequestPage = ListProjectRunsV1RequestPage;
2277
+ /** Without `period`, `from` or `to`, only runs created in the last 7 days are listed. The response's `appliedFilters.createdAt` says which window was used. */
2130
2278
  export type CommonRunsFilterCreatedAt = ListProjectRunsV1RequestFilterCreatedAt;
2131
2279
  /** The status of the run */
2132
2280
  export type CommonRunsFilterStatusItem =
@@ -2149,6 +2297,7 @@ export type CommonRunsFilterVersionList = Array<string>;
2149
2297
  /** The tags that are attached to the run */
2150
2298
  export type CommonRunsFilterTagList = Array<string>;
2151
2299
  export interface CommonRunsFilter {
2300
+ /** Without `period`, `from` or `to`, only runs created in the last 7 days are listed. The response's `appliedFilters.createdAt` says which window was used. */
2152
2301
  createdAt?: ListProjectRunsV1RequestFilterCreatedAt | undefined;
2153
2302
  status?: CommonRunsFilterStatusList | undefined;
2154
2303
  /** The identifier of the task that was run */
@@ -2414,6 +2563,26 @@ export interface PromoteDeploymentV1Request {
2414
2563
  /** The deployment version to promote (e.g., "20250228.1"). */
2415
2564
  version: string;
2416
2565
  }
2566
+ /** The environment's threshold, when it was cleared; null when only task thresholds were. */
2567
+ export interface PromoteDeploymentV1ResponseSkewProtectionThresholdClearedThreshold {
2568
+ /** The threshold's version before it was cleared */
2569
+ version?: string | undefined;
2570
+ }
2571
+ export interface PromoteDeploymentV1ResponseSkewProtectionThresholdClearedTasksValue {
2572
+ /** The task threshold's version before it was cleared */
2573
+ version?: string | undefined;
2574
+ }
2575
+ /** Each task threshold that was cleared, by task id. */
2576
+ export type PromoteDeploymentV1ResponseSkewProtectionThresholdClearedTasksMap = {
2577
+ [key: string]: PromoteDeploymentV1ResponseSkewProtectionThresholdClearedTasksValue | undefined;
2578
+ };
2579
+ /** Present when the promoted version is below a skew protection threshold (the environment's, or a task's own), which the promote cleared. */
2580
+ export interface PromoteDeploymentV1ResponseSkewProtectionThresholdCleared {
2581
+ /** The environment's threshold, when it was cleared; null when only task thresholds were. */
2582
+ threshold?: PromoteDeploymentV1ResponseSkewProtectionThresholdClearedThreshold | null | undefined;
2583
+ /** Each task threshold that was cleared, by task id. */
2584
+ tasks?: PromoteDeploymentV1ResponseSkewProtectionThresholdClearedTasksMap | undefined;
2585
+ }
2417
2586
  export interface PromoteDeploymentV1Response {
2418
2587
  /** The deployment ID */
2419
2588
  id?: string | undefined;
@@ -2421,6 +2590,10 @@ export interface PromoteDeploymentV1Response {
2421
2590
  version?: string | undefined;
2422
2591
  /** The short code for the deployment */
2423
2592
  shortCode?: string | undefined;
2593
+ /** Present when the promoted version is below a skew protection threshold (the environment's, or a task's own), which the promote cleared. */
2594
+ skewProtectionThresholdCleared?:
2595
+ | PromoteDeploymentV1ResponseSkewProtectionThresholdCleared
2596
+ | undefined;
2424
2597
  }
2425
2598
  export type ReplaceDashboardV1RequestWidgetsList = Array<DashboardWidgetInput>;
2426
2599
  export interface ReplaceDashboardV1Request {
@@ -2662,6 +2835,12 @@ export interface RunRescheduleV1Response {
2662
2835
  schedule?: RunRescheduleV1ResponseSchedule | undefined;
2663
2836
  attempts: RunRescheduleV1ResponseAttemptsList;
2664
2837
  }
2838
+ export interface SetSkewProtectionThresholdV1Request {
2839
+ /** A deployed version in this environment, at or below the current deployment (e.g. "20261109.22"). */
2840
+ version: string;
2841
+ /** A task id. The threshold then covers only that task's sessions, and the task must exist in the current deployment. Leave it out to cover every session in the environment. */
2842
+ task?: string | undefined;
2843
+ }
2665
2844
  export interface SetWebhookEndpointSecretV1Request {
2666
2845
  /** The endpoint's declared id (the `id` passed to `webhooks.endpoint.define`) or its `wh_` id. A value starting with `wh_` is always a generated id, since declared ids can't start with `wh_`. A declared id names the endpoint's declared instance in the key's environment. */
2667
2846
  endpointId: string;
@@ -2877,6 +3056,92 @@ export interface UploadProjectEnvvarsV1Request {
2877
3056
  /** Whether to override existing variables or not */
2878
3057
  override?: boolean | undefined;
2879
3058
  }
3059
+ export interface Error403Body {
3060
+ error?: string | undefined;
3061
+ }
3062
+ export interface ErrorResponse {
3063
+ error: string;
3064
+ }
3065
+ export type Error400BodyError2 = "Invalid or missing run ID" | "Failed to create new run";
3066
+ export interface Error400Body3 {
3067
+ error?: Error400BodyError2 | undefined;
3068
+ }
3069
+ export type SkewProtectionThresholdError = Error403Body;
3070
+ export type InvalidEnvVarsRequestResponseIssuesList = Array<unknown>;
3071
+ export type InvalidEnvVarsRequestResponseVariableErrorsList = Array<unknown>;
3072
+ export interface InvalidEnvVarsRequestResponse {
3073
+ error?: string | undefined;
3074
+ issues?: InvalidEnvVarsRequestResponseIssuesList | undefined;
3075
+ variableErrors?: InvalidEnvVarsRequestResponseVariableErrorsList | undefined;
3076
+ }
3077
+ export interface Error400Body4 {
3078
+ /** Error message describing the query error */
3079
+ error?: string | undefined;
3080
+ }
3081
+ export type Error400BodyError3 = "Invalid or missing run ID";
3082
+ export interface Error400Body5 {
3083
+ error?: Error400BodyError3 | undefined;
3084
+ }
3085
+ /** The relevant path in the request */
3086
+ export type ErrorWithDetailsResponseDetailsItemPathList = Array<string>;
3087
+ export interface ErrorWithDetailsResponseDetailsItem {
3088
+ /** The error code */
3089
+ code: string;
3090
+ /** The error message */
3091
+ message: string;
3092
+ /** The relevant path in the request */
3093
+ path?: ErrorWithDetailsResponseDetailsItemPathList | undefined;
3094
+ }
3095
+ export type ErrorWithDetailsResponseDetailsList = Array<ErrorWithDetailsResponseDetailsItem>;
3096
+ export interface ErrorWithDetailsResponse {
3097
+ error: string;
3098
+ details?: ErrorWithDetailsResponseDetailsList | undefined;
3099
+ }
3100
+ export interface Error400Body {
3101
+ /** What was wrong with the request. */
3102
+ error?: string | undefined;
3103
+ }
3104
+ export type Error400BodyError = "Invalid or missing run ID" | "Invalid metadata";
3105
+ export interface Error400Body2 {
3106
+ error?: Error400BodyError | undefined;
3107
+ }
3108
+ export type Error404BodyError = "Run not found";
3109
+ export interface Error404Body {
3110
+ error?: Error404BodyError | undefined;
3111
+ }
3112
+ export type WebhookWaiterErrorResponseCode =
3113
+ | "webhook_waiter_limit"
3114
+ | "webhook_endpoint_not_found"
3115
+ | "webhook_filter_invalid"
3116
+ | "invalid_request";
3117
+ /** For `webhook_waiter_limit`, which limit was reached. */
3118
+ export type WebhookWaiterErrorResponseReason =
3119
+ | "environment_limit"
3120
+ | "endpoint_limit"
3121
+ | "shape_limit"
3122
+ | "timeout_too_long";
3123
+ export interface WebhookWaiterErrorResponse {
3124
+ error: string;
3125
+ code: WebhookWaiterErrorResponseCode;
3126
+ /** For `webhook_waiter_limit`, which limit was reached. */
3127
+ reason?: WebhookWaiterErrorResponseReason | undefined;
3128
+ }
3129
+ export type Error404BodyError4 = "Run either doesn't exist or is not finished";
3130
+ export interface Error404Body4 {
3131
+ error?: Error404BodyError4 | undefined;
3132
+ }
3133
+ export type Error404BodyError2 = "Run not found" | "Trace not found";
3134
+ export interface Error404Body2 {
3135
+ error?: Error404BodyError2 | undefined;
3136
+ }
3137
+ export type Error404BodyError3 = "Task Run not found";
3138
+ export interface Error404Body3 {
3139
+ error?: Error404BodyError3 | undefined;
3140
+ }
3141
+ export interface Error422Body {
3142
+ /** Runs can only have 10 tags. */
3143
+ error?: string | undefined;
3144
+ }
2880
3145
  export type ActivateScheduleV1Error = NotFound | TriggerDevOpError;
2881
3146
  /** Activate Schedule Activate a schedule by its ID. This will only work on `IMPERATIVE` schedules that were created in the dashboard or using the imperative SDK functions like `schedules.create()`. */
2882
3147
  export const activateScheduleV1: API.OperationMethod<
@@ -2885,9 +3150,10 @@ export const activateScheduleV1: API.OperationMethod<
2885
3150
  ActivateScheduleV1Error,
2886
3151
  TriggerDevOpContext
2887
3152
  > = /*@__PURE__*/ API.make(() => ({
2888
- input: __S(440, __c55, 0) as any as S.Schema<ActivateScheduleV1Request>,
2889
- output: __S(459, __c57, 3) as any as S.Schema<ScheduleObject>,
2890
- errors: [NotFound, UnknownTriggerDevError],
3153
+ input: __S(480, __c60, 0) as any as S.Schema<ActivateScheduleV1Request>,
3154
+ output: __S(499, __c62, 3) as any as S.Schema<ScheduleObject>,
3155
+ errors: [NotFound],
3156
+ serviceErrors: TriggerDevServiceErrors,
2891
3157
  protocol: TriggerDevProtocol,
2892
3158
  retry: Retry.Retry,
2893
3159
  telemetry: TELEMETRY,
@@ -2907,9 +3173,10 @@ export const addDashboardWidgetV1: API.OperationMethod<
2907
3173
  AddDashboardWidgetV1Error,
2908
3174
  TriggerDevOpContext
2909
3175
  > = /*@__PURE__*/ API.make(() => ({
2910
- input: __S(608, __c76, 0) as any as S.Schema<AddDashboardWidgetV1Request>,
2911
- output: __S(609, __c76, 1) as any as S.Schema<AddDashboardWidgetV1Response>,
2912
- errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownTriggerDevError],
3176
+ input: __S(656, __c82, 0) as any as S.Schema<AddDashboardWidgetV1Request>,
3177
+ output: __S(657, __c82, 1) as any as S.Schema<AddDashboardWidgetV1Response>,
3178
+ errors: [BadRequest, Forbidden, NotFound, Conflict],
3179
+ serviceErrors: TriggerDevServiceErrors,
2913
3180
  protocol: TriggerDevProtocol,
2914
3181
  retry: Retry.Retry,
2915
3182
  telemetry: TELEMETRY,
@@ -2924,9 +3191,10 @@ export const addRunTagsV1: API.OperationMethod<
2924
3191
  AddRunTagsV1Error,
2925
3192
  TriggerDevOpContext
2926
3193
  > = /*@__PURE__*/ API.make(() => ({
2927
- input: __S(704, __c88, 0) as any as S.Schema<AddRunTagsV1Request>,
2928
- output: __S(705, __c88, 1) as any as S.Schema<AddRunTagsV1Response>,
2929
- errors: [BadRequest, UnprocessableEntity, UnknownTriggerDevError],
3194
+ input: __S(752, __c94, 0) as any as S.Schema<AddRunTagsV1Request>,
3195
+ output: __S(753, __c94, 1) as any as S.Schema<AddRunTagsV1Response>,
3196
+ errors: [BadRequest, UnprocessableEntity],
3197
+ serviceErrors: TriggerDevServiceErrors,
2930
3198
  protocol: TriggerDevProtocol,
2931
3199
  retry: Retry.Retry,
2932
3200
  telemetry: TELEMETRY,
@@ -2941,9 +3209,10 @@ export const bulkAbortActionV1: API.OperationMethod<
2941
3209
  BulkAbortActionV1Error,
2942
3210
  TriggerDevOpContext
2943
3211
  > = /*@__PURE__*/ API.make(() => ({
2944
- input: __S(808, __c101, 0) as any as S.Schema<BulkAbortActionV1Request>,
2945
- output: __S(809, __c101, 1) as any as S.Schema<AbortBulkActionResponse>,
2946
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
3212
+ input: __S(840, __c105, 0) as any as S.Schema<BulkAbortActionV1Request>,
3213
+ output: __S(841, __c105, 1) as any as S.Schema<AbortBulkActionResponse>,
3214
+ errors: [BadRequest, NotFound],
3215
+ serviceErrors: TriggerDevServiceErrors,
2947
3216
  protocol: TriggerDevProtocol,
2948
3217
  retry: Retry.Retry,
2949
3218
  telemetry: TELEMETRY,
@@ -2958,9 +3227,10 @@ export const cancelRunV1: API.OperationMethod<
2958
3227
  CancelRunV1Error,
2959
3228
  TriggerDevOpContext
2960
3229
  > = /*@__PURE__*/ API.make(() => ({
2961
- input: __S(896, __c112, 0) as any as S.Schema<CancelRunV1Request>,
2962
- output: __S(904, __c113, 0) as any as S.Schema<CancelRunV1Response>,
2963
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
3230
+ input: __S(944, __c118, 0) as any as S.Schema<CancelRunV1Request>,
3231
+ output: __S(952, __c119, 0) as any as S.Schema<CancelRunV1Response>,
3232
+ errors: [BadRequest, NotFound],
3233
+ serviceErrors: TriggerDevServiceErrors,
2964
3234
  protocol: TriggerDevProtocol,
2965
3235
  retry: Retry.Retry,
2966
3236
  telemetry: TELEMETRY,
@@ -2975,15 +3245,34 @@ export const cancelWebhookWaiterV1: API.OperationMethod<
2975
3245
  CancelWebhookWaiterV1Error,
2976
3246
  TriggerDevOpContext
2977
3247
  > = /*@__PURE__*/ API.make(() => ({
2978
- input: __S(0, __c0, 0) as any as S.Schema<CancelWebhookWaiterV1Request>,
2979
- output: __S(1, __c0, 1) as any as S.Schema<CancelWebhookWaiterResponse>,
2980
- errors: [NotFound, UnknownTriggerDevError],
3248
+ input: __S(40, __c5, 0) as any as S.Schema<CancelWebhookWaiterV1Request>,
3249
+ output: __S(41, __c5, 1) as any as S.Schema<CancelWebhookWaiterResponse>,
3250
+ errors: [NotFound],
3251
+ serviceErrors: TriggerDevServiceErrors,
2981
3252
  protocol: TriggerDevProtocol,
2982
3253
  retry: Retry.Retry,
2983
3254
  telemetry: TELEMETRY,
2984
3255
  span: "CancelWebhookWaiterV1",
2985
3256
  }));
2986
3257
 
3258
+ export type ClearSkewProtectionThresholdV1Error = BadRequest | Forbidden | TriggerDevOpError;
3259
+ /** Clear skew protection threshold Clear the environment's skew protection threshold, or with `task` the threshold of that one task. Sessions already moved stay on their new runs; the others keep their versions and stored pins. Clearing a threshold that isn't set changes nothing. Use a secret key from a deployed environment, such as staging or production. Development environments return 400. */
3260
+ export const clearSkewProtectionThresholdV1: API.OperationMethod<
3261
+ ClearSkewProtectionThresholdV1Request,
3262
+ SkewProtectionThresholdState,
3263
+ ClearSkewProtectionThresholdV1Error,
3264
+ TriggerDevOpContext
3265
+ > = /*@__PURE__*/ API.make(() => ({
3266
+ input: __S(48, __c6, 0) as any as S.Schema<ClearSkewProtectionThresholdV1Request>,
3267
+ output: __S(59, __c7, 3) as any as S.Schema<SkewProtectionThresholdState>,
3268
+ errors: [BadRequest, Forbidden],
3269
+ serviceErrors: TriggerDevServiceErrors,
3270
+ protocol: TriggerDevProtocol,
3271
+ retry: Retry.Retry,
3272
+ telemetry: TELEMETRY,
3273
+ span: "ClearSkewProtectionThresholdV1",
3274
+ }));
3275
+
2987
3276
  export type CloseSessionV1Error = NotFound | TriggerDevOpError;
2988
3277
  /** Close a session Close a session. Closing is terminal and idempotent -- closing an already-closed session returns the existing row unchanged. A closed session cannot be reopened, and reusing its `externalId` on create returns `409`. Requires a secret key -- a session public token cannot close a session. */
2989
3278
  export const closeSessionV1: API.OperationMethod<
@@ -2992,9 +3281,10 @@ export const closeSessionV1: API.OperationMethod<
2992
3281
  CloseSessionV1Error,
2993
3282
  TriggerDevOpContext
2994
3283
  > = /*@__PURE__*/ API.make(() => ({
2995
- input: __S(8, __c1, 0) as any as S.Schema<CloseSessionV1Request>,
2996
- output: __S(40, __c5, 0) as any as S.Schema<SessionObject>,
2997
- errors: [NotFound, UnknownTriggerDevError],
3284
+ input: __S(64, __c8, 0) as any as S.Schema<CloseSessionV1Request>,
3285
+ output: __S(88, __c11, 0) as any as S.Schema<SessionObject>,
3286
+ errors: [NotFound],
3287
+ serviceErrors: TriggerDevServiceErrors,
2998
3288
  protocol: TriggerDevProtocol,
2999
3289
  retry: Retry.Retry,
3000
3290
  telemetry: TELEMETRY,
@@ -3009,9 +3299,10 @@ export const completeWaitpointTokenCallbackV1: API.OperationMethod<
3009
3299
  CompleteWaitpointTokenCallbackV1Error,
3010
3300
  TriggerDevOpContext
3011
3301
  > = /*@__PURE__*/ API.make(() => ({
3012
- input: __S(48, __c6, 0) as any as S.Schema<CompleteWaitpointTokenCallbackV1Request>,
3013
- output: __S(56, __c7, 0) as any as S.Schema<CompleteWaitpointTokenResponse>,
3014
- errors: [NotFound, UnknownTriggerDevError],
3302
+ input: __S(96, __c12, 0) as any as S.Schema<CompleteWaitpointTokenCallbackV1Request>,
3303
+ output: __S(104, __c13, 0) as any as S.Schema<CompleteWaitpointTokenResponse>,
3304
+ errors: [NotFound],
3305
+ serviceErrors: TriggerDevServiceErrors,
3015
3306
  protocol: TriggerDevProtocol,
3016
3307
  retry: Retry.Retry,
3017
3308
  telemetry: TELEMETRY,
@@ -3026,9 +3317,10 @@ export const completeWaitpointTokenV1: API.OperationMethod<
3026
3317
  CompleteWaitpointTokenV1Error,
3027
3318
  TriggerDevOpContext
3028
3319
  > = /*@__PURE__*/ API.make(() => ({
3029
- input: __S(64, __c8, 0) as any as S.Schema<CompleteWaitpointTokenV1Request>,
3030
- output: __S(56, __c7, 0) as any as S.Schema<CompleteWaitpointTokenResponse>,
3031
- errors: [NotFound, UnknownTriggerDevError],
3320
+ input: __S(112, __c14, 0) as any as S.Schema<CompleteWaitpointTokenV1Request>,
3321
+ output: __S(104, __c13, 0) as any as S.Schema<CompleteWaitpointTokenResponse>,
3322
+ errors: [NotFound],
3323
+ serviceErrors: TriggerDevServiceErrors,
3032
3324
  protocol: TriggerDevProtocol,
3033
3325
  retry: Retry.Retry,
3034
3326
  telemetry: TELEMETRY,
@@ -3043,9 +3335,10 @@ export const createBulkActionV1: API.OperationMethod<
3043
3335
  CreateBulkActionV1Error,
3044
3336
  TriggerDevOpContext
3045
3337
  > = /*@__PURE__*/ API.make(() => ({
3046
- input: __S(72, __c9, 0) as any as S.Schema<CreateBulkActionV1Request>,
3047
- output: __S(80, __c10, 0) as any as S.Schema<CreateBulkActionV1Response>,
3048
- errors: [BadRequest, UnprocessableEntity, UnknownTriggerDevError],
3338
+ input: __S(120, __c15, 0) as any as S.Schema<CreateBulkActionV1Request>,
3339
+ output: __S(128, __c16, 0) as any as S.Schema<CreateBulkActionV1Response>,
3340
+ errors: [BadRequest, UnprocessableEntity],
3341
+ serviceErrors: TriggerDevServiceErrors,
3049
3342
  protocol: TriggerDevProtocol,
3050
3343
  retry: Retry.Retry,
3051
3344
  telemetry: TELEMETRY,
@@ -3060,16 +3353,17 @@ export const createDashboardV1: API.OperationMethod<
3060
3353
  CreateDashboardV1Error,
3061
3354
  TriggerDevOpContext
3062
3355
  > = /*@__PURE__*/ API.make(() => ({
3063
- input: __S(88, __c11, 0) as any as S.Schema<CreateDashboardV1Request>,
3064
- output: __S(619, __c77, 3) as any as S.Schema<DashboardObject>,
3065
- errors: [BadRequest, Forbidden, UnknownTriggerDevError],
3356
+ input: __S(136, __c17, 0) as any as S.Schema<CreateDashboardV1Request>,
3357
+ output: __S(667, __c83, 3) as any as S.Schema<DashboardObject>,
3358
+ errors: [BadRequest, Forbidden],
3359
+ serviceErrors: TriggerDevServiceErrors,
3066
3360
  protocol: TriggerDevProtocol,
3067
3361
  retry: Retry.Retry,
3068
3362
  telemetry: TELEMETRY,
3069
3363
  span: "CreateDashboardV1",
3070
3364
  }));
3071
3365
 
3072
- export type CreateProjectEnvvarV1Error = BadRequest | NotFound | TriggerDevOpError;
3366
+ export type CreateProjectEnvvarV1Error = BadRequest | NotFound | Conflict | TriggerDevOpError;
3073
3367
  /** Create environment variable Create a new environment variable for a specific project and environment. */
3074
3368
  export const createProjectEnvvarV1: API.OperationMethod<
3075
3369
  CreateProjectEnvvarV1Request,
@@ -3077,9 +3371,10 @@ export const createProjectEnvvarV1: API.OperationMethod<
3077
3371
  CreateProjectEnvvarV1Error,
3078
3372
  TriggerDevOpContext
3079
3373
  > = /*@__PURE__*/ API.make(() => ({
3080
- input: __S(104, __c13, 0) as any as S.Schema<CreateProjectEnvvarV1Request>,
3081
- output: __S(56, __c7, 0) as any as S.Schema<SucceedResponse>,
3082
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
3374
+ input: __S(152, __c19, 0) as any as S.Schema<CreateProjectEnvvarV1Request>,
3375
+ output: __S(104, __c13, 0) as any as S.Schema<SucceedResponse>,
3376
+ errors: [BadRequest, NotFound, Conflict],
3377
+ serviceErrors: TriggerDevServiceErrors,
3083
3378
  protocol: TriggerDevProtocol,
3084
3379
  retry: Retry.Retry,
3085
3380
  telemetry: TELEMETRY,
@@ -3094,9 +3389,10 @@ export const createScheduleV1: API.OperationMethod<
3094
3389
  CreateScheduleV1Error,
3095
3390
  TriggerDevOpContext
3096
3391
  > = /*@__PURE__*/ API.make(() => ({
3097
- input: __S(112, __c14, 0) as any as S.Schema<CreateScheduleV1Request>,
3098
- output: __S(459, __c57, 3) as any as S.Schema<ScheduleObject>,
3099
- errors: [BadRequest, UnprocessableEntity, UnknownTriggerDevError],
3392
+ input: __S(160, __c20, 0) as any as S.Schema<CreateScheduleV1Request>,
3393
+ output: __S(499, __c62, 3) as any as S.Schema<ScheduleObject>,
3394
+ errors: [BadRequest, UnprocessableEntity],
3395
+ serviceErrors: TriggerDevServiceErrors,
3100
3396
  protocol: TriggerDevProtocol,
3101
3397
  retry: Retry.Retry,
3102
3398
  telemetry: TELEMETRY,
@@ -3111,9 +3407,10 @@ export const createSessionV1: API.OperationMethod<
3111
3407
  CreateSessionV1Error,
3112
3408
  TriggerDevOpContext
3113
3409
  > = /*@__PURE__*/ API.make(() => ({
3114
- input: __S(120, __c15, 0) as any as S.Schema<CreateSessionV1Request>,
3115
- output: __S(121, __c15, 1) as any as S.Schema<CreateSessionV1Response>,
3116
- errors: [Conflict, UnprocessableEntity, UnknownTriggerDevError],
3410
+ input: __S(168, __c21, 0) as any as S.Schema<CreateSessionV1Request>,
3411
+ output: __S(169, __c21, 1) as any as S.Schema<CreateSessionV1Response>,
3412
+ errors: [Conflict, UnprocessableEntity],
3413
+ serviceErrors: TriggerDevServiceErrors,
3117
3414
  protocol: TriggerDevProtocol,
3118
3415
  retry: Retry.Retry,
3119
3416
  telemetry: TELEMETRY,
@@ -3128,9 +3425,10 @@ export const createWaitpointTokenV1: API.OperationMethod<
3128
3425
  CreateWaitpointTokenV1Error,
3129
3426
  TriggerDevOpContext
3130
3427
  > = /*@__PURE__*/ API.make(() => ({
3131
- input: __S(128, __c16, 0) as any as S.Schema<CreateWaitpointTokenV1Request>,
3132
- output: __S(129, __c16, 1) as any as S.Schema<CreateWaitpointTokenResponse>,
3133
- errors: [UnprocessableEntity, UnknownTriggerDevError],
3428
+ input: __S(176, __c22, 0) as any as S.Schema<CreateWaitpointTokenV1Request>,
3429
+ output: __S(177, __c22, 1) as any as S.Schema<CreateWaitpointTokenResponse>,
3430
+ errors: [UnprocessableEntity],
3431
+ serviceErrors: TriggerDevServiceErrors,
3134
3432
  protocol: TriggerDevProtocol,
3135
3433
  retry: Retry.Retry,
3136
3434
  telemetry: TELEMETRY,
@@ -3145,9 +3443,10 @@ export const createWebhookWaiterV1: API.OperationMethod<
3145
3443
  CreateWebhookWaiterV1Error,
3146
3444
  TriggerDevOpContext
3147
3445
  > = /*@__PURE__*/ API.make(() => ({
3148
- input: __S(137, __c17, 1) as any as S.Schema<CreateWebhookWaiterV1Request>,
3149
- output: __S(138, __c17, 2) as any as S.Schema<CreateWebhookWaiterResponse>,
3150
- errors: [NotFound, UnprocessableEntity, UnknownTriggerDevError],
3446
+ input: __S(185, __c23, 1) as any as S.Schema<CreateWebhookWaiterV1Request>,
3447
+ output: __S(186, __c23, 2) as any as S.Schema<CreateWebhookWaiterResponse>,
3448
+ errors: [NotFound, UnprocessableEntity],
3449
+ serviceErrors: TriggerDevServiceErrors,
3151
3450
  protocol: TriggerDevProtocol,
3152
3451
  retry: Retry.Retry,
3153
3452
  telemetry: TELEMETRY,
@@ -3162,9 +3461,10 @@ export const deactivateScheduleV1: API.OperationMethod<
3162
3461
  DeactivateScheduleV1Error,
3163
3462
  TriggerDevOpContext
3164
3463
  > = /*@__PURE__*/ API.make(() => ({
3165
- input: __S(144, __c18, 0) as any as S.Schema<DeactivateScheduleV1Request>,
3166
- output: __S(459, __c57, 3) as any as S.Schema<ScheduleObject>,
3167
- errors: [NotFound, UnknownTriggerDevError],
3464
+ input: __S(192, __c24, 0) as any as S.Schema<DeactivateScheduleV1Request>,
3465
+ output: __S(499, __c62, 3) as any as S.Schema<ScheduleObject>,
3466
+ errors: [NotFound],
3467
+ serviceErrors: TriggerDevServiceErrors,
3168
3468
  protocol: TriggerDevProtocol,
3169
3469
  retry: Retry.Retry,
3170
3470
  telemetry: TELEMETRY,
@@ -3179,9 +3479,10 @@ export const deleteDashboardV1: API.OperationMethod<
3179
3479
  DeleteDashboardV1Error,
3180
3480
  TriggerDevOpContext
3181
3481
  > = /*@__PURE__*/ API.make(() => ({
3182
- input: __S(152, __c19, 0) as any as S.Schema<DeleteDashboardV1Request>,
3183
- output: __S(904, __c113, 0) as any as S.Schema<DeleteDashboardV1Response>,
3184
- errors: [NotFound, UnknownTriggerDevError],
3482
+ input: __S(200, __c25, 0) as any as S.Schema<DeleteDashboardV1Request>,
3483
+ output: __S(952, __c119, 0) as any as S.Schema<DeleteDashboardV1Response>,
3484
+ errors: [NotFound],
3485
+ serviceErrors: TriggerDevServiceErrors,
3185
3486
  protocol: TriggerDevProtocol,
3186
3487
  retry: Retry.Retry,
3187
3488
  telemetry: TELEMETRY,
@@ -3196,16 +3497,17 @@ export const deleteDashboardWidgetV1: API.OperationMethod<
3196
3497
  DeleteDashboardWidgetV1Error,
3197
3498
  TriggerDevOpContext
3198
3499
  > = /*@__PURE__*/ API.make(() => ({
3199
- input: __S(160, __c20, 0) as any as S.Schema<DeleteDashboardWidgetV1Request>,
3200
- output: __S(619, __c77, 3) as any as S.Schema<DashboardObject>,
3201
- errors: [NotFound, Conflict, UnknownTriggerDevError],
3500
+ input: __S(208, __c26, 0) as any as S.Schema<DeleteDashboardWidgetV1Request>,
3501
+ output: __S(667, __c83, 3) as any as S.Schema<DashboardObject>,
3502
+ errors: [NotFound, Conflict],
3503
+ serviceErrors: TriggerDevServiceErrors,
3202
3504
  protocol: TriggerDevProtocol,
3203
3505
  retry: Retry.Retry,
3204
3506
  telemetry: TELEMETRY,
3205
3507
  span: "DeleteDashboardWidgetV1",
3206
3508
  }));
3207
3509
 
3208
- export type DeleteProjectEnvvarV1Error = BadRequest | NotFound | TriggerDevOpError;
3510
+ export type DeleteProjectEnvvarV1Error = BadRequest | NotFound | Conflict | TriggerDevOpError;
3209
3511
  /** Delete environment variable Delete a specific environment variable for a specific project and environment. */
3210
3512
  export const deleteProjectEnvvarV1: API.OperationMethod<
3211
3513
  DeleteProjectEnvvarV1Request,
@@ -3213,9 +3515,10 @@ export const deleteProjectEnvvarV1: API.OperationMethod<
3213
3515
  DeleteProjectEnvvarV1Error,
3214
3516
  TriggerDevOpContext
3215
3517
  > = /*@__PURE__*/ API.make(() => ({
3216
- input: __S(168, __c21, 0) as any as S.Schema<DeleteProjectEnvvarV1Request>,
3217
- output: __S(56, __c7, 0) as any as S.Schema<SucceedResponse>,
3218
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
3518
+ input: __S(216, __c27, 0) as any as S.Schema<DeleteProjectEnvvarV1Request>,
3519
+ output: __S(104, __c13, 0) as any as S.Schema<SucceedResponse>,
3520
+ errors: [BadRequest, NotFound, Conflict],
3521
+ serviceErrors: TriggerDevServiceErrors,
3219
3522
  protocol: TriggerDevProtocol,
3220
3523
  retry: Retry.Retry,
3221
3524
  telemetry: TELEMETRY,
@@ -3230,9 +3533,10 @@ export const deleteScheduleV1: API.OperationMethod<
3230
3533
  DeleteScheduleV1Error,
3231
3534
  TriggerDevOpContext
3232
3535
  > = /*@__PURE__*/ API.make(() => ({
3233
- input: __S(176, __c22, 0) as any as S.Schema<DeleteScheduleV1Request>,
3234
- output: __S(80, __c10, 0) as any as S.Schema<DeleteScheduleV1Response>,
3235
- errors: [NotFound, UnknownTriggerDevError],
3536
+ input: __S(224, __c28, 0) as any as S.Schema<DeleteScheduleV1Request>,
3537
+ output: __S(128, __c16, 0) as any as S.Schema<DeleteScheduleV1Response>,
3538
+ errors: [NotFound],
3539
+ serviceErrors: TriggerDevServiceErrors,
3236
3540
  protocol: TriggerDevProtocol,
3237
3541
  retry: Retry.Retry,
3238
3542
  telemetry: TELEMETRY,
@@ -3247,9 +3551,10 @@ export const disableWebhookEndpointV1: API.OperationMethod<
3247
3551
  DisableWebhookEndpointV1Error,
3248
3552
  TriggerDevOpContext
3249
3553
  > = /*@__PURE__*/ API.make(() => ({
3250
- input: __S(184, __c23, 0) as any as S.Schema<DisableWebhookEndpointV1Request>,
3251
- output: __S(194, __c24, 2) as any as S.Schema<DisableWebhookEndpointV1Response>,
3252
- errors: [NotFound, UnknownTriggerDevError],
3554
+ input: __S(232, __c29, 0) as any as S.Schema<DisableWebhookEndpointV1Request>,
3555
+ output: __S(242, __c30, 2) as any as S.Schema<DisableWebhookEndpointV1Response>,
3556
+ errors: [NotFound],
3557
+ serviceErrors: TriggerDevServiceErrors,
3253
3558
  protocol: TriggerDevProtocol,
3254
3559
  retry: Retry.Retry,
3255
3560
  telemetry: TELEMETRY,
@@ -3264,9 +3569,10 @@ export const enableWebhookEndpointV1: API.OperationMethod<
3264
3569
  EnableWebhookEndpointV1Error,
3265
3570
  TriggerDevOpContext
3266
3571
  > = /*@__PURE__*/ API.make(() => ({
3267
- input: __S(200, __c25, 0) as any as S.Schema<EnableWebhookEndpointV1Request>,
3268
- output: __S(194, __c24, 2) as any as S.Schema<EnableWebhookEndpointV1Response>,
3269
- errors: [NotFound, UnknownTriggerDevError],
3572
+ input: __S(248, __c31, 0) as any as S.Schema<EnableWebhookEndpointV1Request>,
3573
+ output: __S(242, __c30, 2) as any as S.Schema<EnableWebhookEndpointV1Response>,
3574
+ errors: [NotFound],
3575
+ serviceErrors: TriggerDevServiceErrors,
3270
3576
  protocol: TriggerDevProtocol,
3271
3577
  retry: Retry.Retry,
3272
3578
  telemetry: TELEMETRY,
@@ -3281,9 +3587,10 @@ export const executeQueryV1: API.OperationMethod<
3281
3587
  ExecuteQueryV1Error,
3282
3588
  TriggerDevOpContext
3283
3589
  > = /*@__PURE__*/ API.make(() => ({
3284
- input: __S(208, __c26, 0) as any as S.Schema<ExecuteQueryV1Request>,
3285
- output: __S(209, __c26, 1) as any as S.Schema<ExecuteQueryV1Response>,
3286
- errors: [BadRequest, UnknownTriggerDevError],
3590
+ input: __S(256, __c32, 0) as any as S.Schema<ExecuteQueryV1Request>,
3591
+ output: __S(257, __c32, 1) as any as S.Schema<ExecuteQueryV1Response>,
3592
+ errors: [BadRequest],
3593
+ serviceErrors: TriggerDevServiceErrors,
3287
3594
  protocol: TriggerDevProtocol,
3288
3595
  retry: Retry.Retry,
3289
3596
  telemetry: TELEMETRY,
@@ -3298,9 +3605,10 @@ export const getBatchResultsV1: API.OperationMethod<
3298
3605
  GetBatchResultsV1Error,
3299
3606
  TriggerDevOpContext
3300
3607
  > = /*@__PURE__*/ API.make(() => ({
3301
- input: __S(216, __c27, 0) as any as S.Schema<GetBatchResultsV1Request>,
3302
- output: __S(218, __c27, 2) as any as S.Schema<GetBatchResultsV1Response>,
3303
- errors: [NotFound, UnknownTriggerDevError],
3608
+ input: __S(272, __c34, 0) as any as S.Schema<GetBatchResultsV1Request>,
3609
+ output: __S(274, __c34, 2) as any as S.Schema<GetBatchResultsV1Response>,
3610
+ errors: [NotFound],
3611
+ serviceErrors: TriggerDevServiceErrors,
3304
3612
  protocol: TriggerDevProtocol,
3305
3613
  retry: Retry.Retry,
3306
3614
  telemetry: TELEMETRY,
@@ -3315,9 +3623,10 @@ export const getBatchV1: API.OperationMethod<
3315
3623
  GetBatchV1Error,
3316
3624
  TriggerDevOpContext
3317
3625
  > = /*@__PURE__*/ API.make(() => ({
3318
- input: __S(232, __c29, 0) as any as S.Schema<GetBatchV1Request>,
3319
- output: __S(235, __c29, 3) as any as S.Schema<GetBatchV1Response>,
3320
- errors: [NotFound, UnknownTriggerDevError],
3626
+ input: __S(288, __c36, 0) as any as S.Schema<GetBatchV1Request>,
3627
+ output: __S(291, __c36, 3) as any as S.Schema<GetBatchV1Response>,
3628
+ errors: [NotFound],
3629
+ serviceErrors: TriggerDevServiceErrors,
3321
3630
  protocol: TriggerDevProtocol,
3322
3631
  retry: Retry.Retry,
3323
3632
  telemetry: TELEMETRY,
@@ -3332,9 +3641,10 @@ export const getBulkActionV1: API.OperationMethod<
3332
3641
  GetBulkActionV1Error,
3333
3642
  TriggerDevOpContext
3334
3643
  > = /*@__PURE__*/ API.make(() => ({
3335
- input: __S(240, __c30, 0) as any as S.Schema<GetBulkActionV1Request>,
3336
- output: __S(249, __c31, 1) as any as S.Schema<BulkActionObject>,
3337
- errors: [NotFound, UnknownTriggerDevError],
3644
+ input: __S(296, __c37, 0) as any as S.Schema<GetBulkActionV1Request>,
3645
+ output: __S(305, __c38, 1) as any as S.Schema<BulkActionObject>,
3646
+ errors: [NotFound],
3647
+ serviceErrors: TriggerDevServiceErrors,
3338
3648
  protocol: TriggerDevProtocol,
3339
3649
  retry: Retry.Retry,
3340
3650
  telemetry: TELEMETRY,
@@ -3349,9 +3659,10 @@ export const getConcurrencyLimitV1: API.OperationMethod<
3349
3659
  GetConcurrencyLimitV1Error,
3350
3660
  TriggerDevOpContext
3351
3661
  > = /*@__PURE__*/ API.make(() => ({
3352
- input: __S(256, __c32, 0) as any as S.Schema<GetConcurrencyLimitV1Request>,
3353
- output: __S(257, __c32, 1) as any as S.Schema<GetConcurrencyLimitV1Response>,
3354
- errors: [NotFound, UnknownTriggerDevError],
3662
+ input: __S(312, __c39, 0) as any as S.Schema<GetConcurrencyLimitV1Request>,
3663
+ output: __S(313, __c39, 1) as any as S.Schema<GetConcurrencyLimitV1Response>,
3664
+ errors: [NotFound],
3665
+ serviceErrors: TriggerDevServiceErrors,
3355
3666
  protocol: TriggerDevProtocol,
3356
3667
  retry: Retry.Retry,
3357
3668
  telemetry: TELEMETRY,
@@ -3366,9 +3677,10 @@ export const getDashboardV1: API.OperationMethod<
3366
3677
  GetDashboardV1Error,
3367
3678
  TriggerDevOpContext
3368
3679
  > = /*@__PURE__*/ API.make(() => ({
3369
- input: __S(264, __c33, 0) as any as S.Schema<GetDashboardV1Request>,
3370
- output: __S(619, __c77, 3) as any as S.Schema<DashboardObject>,
3371
- errors: [NotFound, UnknownTriggerDevError],
3680
+ input: __S(320, __c40, 0) as any as S.Schema<GetDashboardV1Request>,
3681
+ output: __S(667, __c83, 3) as any as S.Schema<DashboardObject>,
3682
+ errors: [NotFound],
3683
+ serviceErrors: TriggerDevServiceErrors,
3372
3684
  protocol: TriggerDevProtocol,
3373
3685
  retry: Retry.Retry,
3374
3686
  telemetry: TELEMETRY,
@@ -3383,9 +3695,10 @@ export const getDeploymentV1: API.OperationMethod<
3383
3695
  GetDeploymentV1Error,
3384
3696
  TriggerDevOpContext
3385
3697
  > = /*@__PURE__*/ API.make(() => ({
3386
- input: __S(272, __c34, 0) as any as S.Schema<GetDeploymentV1Request>,
3387
- output: __S(276, __c34, 4) as any as S.Schema<GetDeploymentV1Response>,
3388
- errors: [NotFound, UnknownTriggerDevError],
3698
+ input: __S(328, __c41, 0) as any as S.Schema<GetDeploymentV1Request>,
3699
+ output: __S(332, __c41, 4) as any as S.Schema<GetDeploymentV1Response>,
3700
+ errors: [NotFound],
3701
+ serviceErrors: TriggerDevServiceErrors,
3389
3702
  protocol: TriggerDevProtocol,
3390
3703
  retry: Retry.Retry,
3391
3704
  telemetry: TELEMETRY,
@@ -3400,9 +3713,10 @@ export const getErrorV1: API.OperationMethod<
3400
3713
  GetErrorV1Error,
3401
3714
  TriggerDevOpContext
3402
3715
  > = /*@__PURE__*/ API.make(() => ({
3403
- input: __S(280, __c35, 0) as any as S.Schema<GetErrorV1Request>,
3404
- output: __S(288, __c36, 0) as any as S.Schema<ErrorObject>,
3405
- errors: [NotFound, UnknownTriggerDevError],
3716
+ input: __S(336, __c42, 0) as any as S.Schema<GetErrorV1Request>,
3717
+ output: __S(344, __c43, 0) as any as S.Schema<ErrorObject>,
3718
+ errors: [NotFound],
3719
+ serviceErrors: TriggerDevServiceErrors,
3406
3720
  protocol: TriggerDevProtocol,
3407
3721
  retry: Retry.Retry,
3408
3722
  telemetry: TELEMETRY,
@@ -3417,9 +3731,10 @@ export const getLatestDeploymentV1: API.OperationMethod<
3417
3731
  GetLatestDeploymentV1Error,
3418
3732
  TriggerDevOpContext
3419
3733
  > = /*@__PURE__*/ API.make(() => ({
3420
- input: __S(296, __c37, 0) as any as S.Schema<GetLatestDeploymentV1Request>,
3421
- output: __S(297, __c37, 1) as any as S.Schema<GetLatestDeploymentV1Response>,
3422
- errors: [NotFound, UnknownTriggerDevError],
3734
+ input: __S(352, __c44, 0) as any as S.Schema<GetLatestDeploymentV1Request>,
3735
+ output: __S(353, __c44, 1) as any as S.Schema<GetLatestDeploymentV1Response>,
3736
+ errors: [NotFound],
3737
+ serviceErrors: TriggerDevServiceErrors,
3423
3738
  protocol: TriggerDevProtocol,
3424
3739
  retry: Retry.Retry,
3425
3740
  telemetry: TELEMETRY,
@@ -3434,9 +3749,10 @@ export const getProjectEnvvarV1: API.OperationMethod<
3434
3749
  GetProjectEnvvarV1Error,
3435
3750
  TriggerDevOpContext
3436
3751
  > = /*@__PURE__*/ API.make(() => ({
3437
- input: __S(304, __c38, 0) as any as S.Schema<GetProjectEnvvarV1Request>,
3438
- output: __S(305, __c38, 1) as any as S.Schema<EnvVarValue>,
3439
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
3752
+ input: __S(360, __c45, 0) as any as S.Schema<GetProjectEnvvarV1Request>,
3753
+ output: __S(361, __c45, 1) as any as S.Schema<EnvVarValue>,
3754
+ errors: [BadRequest, NotFound],
3755
+ serviceErrors: TriggerDevServiceErrors,
3440
3756
  protocol: TriggerDevProtocol,
3441
3757
  retry: Retry.Retry,
3442
3758
  telemetry: TELEMETRY,
@@ -3451,9 +3767,10 @@ export const getQuerySchemaV1: API.OperationMethod<
3451
3767
  GetQuerySchemaV1Error,
3452
3768
  TriggerDevOpContext
3453
3769
  > = /*@__PURE__*/ API.make(() => ({
3454
- input: __S(312, __c39, 0) as any as S.Schema<GetQuerySchemaV1Request>,
3455
- output: __S(317, __c39, 5) as any as S.Schema<GetQuerySchemaV1Response>,
3456
- errors: [UnknownTriggerDevError],
3770
+ input: __S(368, __c46, 0) as any as S.Schema<GetQuerySchemaV1Request>,
3771
+ output: __S(373, __c46, 5) as any as S.Schema<GetQuerySchemaV1Response>,
3772
+ errors: [],
3773
+ serviceErrors: TriggerDevServiceErrors,
3457
3774
  protocol: TriggerDevProtocol,
3458
3775
  retry: Retry.Retry,
3459
3776
  telemetry: TELEMETRY,
@@ -3468,9 +3785,10 @@ export const getQueueV1: API.OperationMethod<
3468
3785
  GetQueueV1Error,
3469
3786
  TriggerDevOpContext
3470
3787
  > = /*@__PURE__*/ API.make(() => ({
3471
- input: __S(320, __c40, 0) as any as S.Schema<GetQueueV1Request>,
3472
- output: __S(329, __c41, 1) as any as S.Schema<QueueObject>,
3473
- errors: [NotFound, UnknownTriggerDevError],
3788
+ input: __S(376, __c47, 0) as any as S.Schema<GetQueueV1Request>,
3789
+ output: __S(385, __c48, 1) as any as S.Schema<QueueObject>,
3790
+ errors: [NotFound],
3791
+ serviceErrors: TriggerDevServiceErrors,
3474
3792
  protocol: TriggerDevProtocol,
3475
3793
  retry: Retry.Retry,
3476
3794
  telemetry: TELEMETRY,
@@ -3485,9 +3803,10 @@ export const getRunEventsV1: API.OperationMethod<
3485
3803
  GetRunEventsV1Error,
3486
3804
  TriggerDevOpContext
3487
3805
  > = /*@__PURE__*/ API.make(() => ({
3488
- input: __S(336, __c42, 0) as any as S.Schema<GetRunEventsV1Request>,
3489
- output: __S(343, __c42, 7) as any as S.Schema<GetRunEventsV1Response>,
3490
- errors: [NotFound, UnknownTriggerDevError],
3806
+ input: __S(392, __c49, 0) as any as S.Schema<GetRunEventsV1Request>,
3807
+ output: __S(399, __c49, 7) as any as S.Schema<GetRunEventsV1Response>,
3808
+ errors: [NotFound],
3809
+ serviceErrors: TriggerDevServiceErrors,
3491
3810
  protocol: TriggerDevProtocol,
3492
3811
  retry: Retry.Retry,
3493
3812
  telemetry: TELEMETRY,
@@ -3502,9 +3821,10 @@ export const getRunResultV1: API.OperationMethod<
3502
3821
  GetRunResultV1Error,
3503
3822
  TriggerDevOpContext
3504
3823
  > = /*@__PURE__*/ API.make(() => ({
3505
- input: __S(344, __c43, 0) as any as S.Schema<GetRunResultV1Request>,
3506
- output: __S(225, __c28, 1) as any as S.Schema<GetRunResultV1Response>,
3507
- errors: [NotFound, UnknownTriggerDevError],
3824
+ input: __S(400, __c50, 0) as any as S.Schema<GetRunResultV1Request>,
3825
+ output: __S(281, __c35, 1) as any as S.Schema<GetRunResultV1Response>,
3826
+ errors: [NotFound],
3827
+ serviceErrors: TriggerDevServiceErrors,
3508
3828
  protocol: TriggerDevProtocol,
3509
3829
  retry: Retry.Retry,
3510
3830
  telemetry: TELEMETRY,
@@ -3519,9 +3839,10 @@ export const getRunTraceV1: API.OperationMethod<
3519
3839
  GetRunTraceV1Error,
3520
3840
  TriggerDevOpContext
3521
3841
  > = /*@__PURE__*/ API.make(() => ({
3522
- input: __S(352, __c44, 0) as any as S.Schema<GetRunTraceV1Request>,
3523
- output: __S(353, __c44, 1) as any as S.Schema<GetRunTraceV1Response>,
3524
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
3842
+ input: __S(408, __c51, 0) as any as S.Schema<GetRunTraceV1Request>,
3843
+ output: __S(409, __c51, 1) as any as S.Schema<GetRunTraceV1Response>,
3844
+ errors: [BadRequest, NotFound],
3845
+ serviceErrors: TriggerDevServiceErrors,
3525
3846
  protocol: TriggerDevProtocol,
3526
3847
  retry: Retry.Retry,
3527
3848
  telemetry: TELEMETRY,
@@ -3536,9 +3857,10 @@ export const getRunV1: API.OperationMethod<
3536
3857
  GetRunV1Error,
3537
3858
  TriggerDevOpContext
3538
3859
  > = /*@__PURE__*/ API.make(() => ({
3539
- input: __S(360, __c45, 0) as any as S.Schema<GetRunV1Request>,
3540
- output: __S(375, __c46, 7) as any as S.Schema<GetRunV1Response>,
3541
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
3860
+ input: __S(416, __c52, 0) as any as S.Schema<GetRunV1Request>,
3861
+ output: __S(431, __c53, 7) as any as S.Schema<GetRunV1Response>,
3862
+ errors: [BadRequest, NotFound],
3863
+ serviceErrors: TriggerDevServiceErrors,
3542
3864
  protocol: TriggerDevProtocol,
3543
3865
  retry: Retry.Retry,
3544
3866
  telemetry: TELEMETRY,
@@ -3553,9 +3875,10 @@ export const getScheduleV1: API.OperationMethod<
3553
3875
  GetScheduleV1Error,
3554
3876
  TriggerDevOpContext
3555
3877
  > = /*@__PURE__*/ API.make(() => ({
3556
- input: __S(376, __c47, 0) as any as S.Schema<GetScheduleV1Request>,
3557
- output: __S(459, __c57, 3) as any as S.Schema<ScheduleObject>,
3558
- errors: [NotFound, UnknownTriggerDevError],
3878
+ input: __S(432, __c54, 0) as any as S.Schema<GetScheduleV1Request>,
3879
+ output: __S(499, __c62, 3) as any as S.Schema<ScheduleObject>,
3880
+ errors: [NotFound],
3881
+ serviceErrors: TriggerDevServiceErrors,
3559
3882
  protocol: TriggerDevProtocol,
3560
3883
  retry: Retry.Retry,
3561
3884
  telemetry: TELEMETRY,
@@ -3570,15 +3893,34 @@ export const getSessionV1: API.OperationMethod<
3570
3893
  GetSessionV1Error,
3571
3894
  TriggerDevOpContext
3572
3895
  > = /*@__PURE__*/ API.make(() => ({
3573
- input: __S(384, __c48, 0) as any as S.Schema<GetSessionV1Request>,
3574
- output: __S(40, __c5, 0) as any as S.Schema<SessionObject>,
3575
- errors: [NotFound, UnknownTriggerDevError],
3896
+ input: __S(440, __c55, 0) as any as S.Schema<GetSessionV1Request>,
3897
+ output: __S(88, __c11, 0) as any as S.Schema<SessionObject>,
3898
+ errors: [NotFound],
3899
+ serviceErrors: TriggerDevServiceErrors,
3576
3900
  protocol: TriggerDevProtocol,
3577
3901
  retry: Retry.Retry,
3578
3902
  telemetry: TELEMETRY,
3579
3903
  span: "GetSessionV1",
3580
3904
  }));
3581
3905
 
3906
+ export type GetSkewProtectionThresholdV1Error = Forbidden | TriggerDevOpError;
3907
+ /** Get skew protection threshold Get the environment's skew protection threshold, each task's own threshold, and the current deployment version. */
3908
+ export const getSkewProtectionThresholdV1: API.OperationMethod<
3909
+ GetSkewProtectionThresholdV1Request,
3910
+ SkewProtectionThresholdState,
3911
+ GetSkewProtectionThresholdV1Error,
3912
+ TriggerDevOpContext
3913
+ > = /*@__PURE__*/ API.make(() => ({
3914
+ input: __S(448, __c56, 0) as any as S.Schema<GetSkewProtectionThresholdV1Request>,
3915
+ output: __S(59, __c7, 3) as any as S.Schema<SkewProtectionThresholdState>,
3916
+ errors: [Forbidden],
3917
+ serviceErrors: TriggerDevServiceErrors,
3918
+ protocol: TriggerDevProtocol,
3919
+ retry: Retry.Retry,
3920
+ telemetry: TELEMETRY,
3921
+ span: "GetSkewProtectionThresholdV1",
3922
+ }));
3923
+
3582
3924
  export type GetTimezonesV1Error = TriggerDevOpError;
3583
3925
  /** Get all supported timezones Get all supported timezones that schedule tasks support. */
3584
3926
  export const getTimezonesV1: API.OperationMethod<
@@ -3587,9 +3929,10 @@ export const getTimezonesV1: API.OperationMethod<
3587
3929
  GetTimezonesV1Error,
3588
3930
  TriggerDevOpContext
3589
3931
  > = /*@__PURE__*/ API.make(() => ({
3590
- input: __S(392, __c49, 0) as any as S.Schema<GetTimezonesV1Request>,
3591
- output: __S(393, __c49, 1) as any as S.Schema<GetTimezonesResult>,
3592
- errors: [UnknownTriggerDevError],
3932
+ input: __S(456, __c57, 0) as any as S.Schema<GetTimezonesV1Request>,
3933
+ output: __S(457, __c57, 1) as any as S.Schema<GetTimezonesResult>,
3934
+ errors: [],
3935
+ serviceErrors: TriggerDevServiceErrors,
3593
3936
  protocol: TriggerDevProtocol,
3594
3937
  retry: Retry.Retry,
3595
3938
  telemetry: TELEMETRY,
@@ -3604,9 +3947,10 @@ export const getWaitpointTokenV1: API.OperationMethod<
3604
3947
  GetWaitpointTokenV1Error,
3605
3948
  TriggerDevOpContext
3606
3949
  > = /*@__PURE__*/ API.make(() => ({
3607
- input: __S(400, __c50, 0) as any as S.Schema<GetWaitpointTokenV1Request>,
3608
- output: __S(408, __c51, 0) as any as S.Schema<WaitpointTokenObject>,
3609
- errors: [NotFound, UnknownTriggerDevError],
3950
+ input: __S(464, __c58, 0) as any as S.Schema<GetWaitpointTokenV1Request>,
3951
+ output: __S(472, __c59, 0) as any as S.Schema<WaitpointTokenObject>,
3952
+ errors: [NotFound],
3953
+ serviceErrors: TriggerDevServiceErrors,
3610
3954
  protocol: TriggerDevProtocol,
3611
3955
  retry: Retry.Retry,
3612
3956
  telemetry: TELEMETRY,
@@ -3621,9 +3965,10 @@ export const getWebhookDeliveryV1: API.OperationMethod<
3621
3965
  GetWebhookDeliveryV1Error,
3622
3966
  TriggerDevOpContext
3623
3967
  > = /*@__PURE__*/ API.make(() => ({
3624
- input: __S(417, __c52, 1) as any as S.Schema<GetWebhookDeliveryV1Request>,
3625
- output: __S(421, __c52, 5) as any as S.Schema<GetWebhookDeliveryV1Response>,
3626
- errors: [NotFound, UnknownTriggerDevError],
3968
+ input: __S(505, __c63, 1) as any as S.Schema<GetWebhookDeliveryV1Request>,
3969
+ output: __S(509, __c63, 5) as any as S.Schema<GetWebhookDeliveryV1Response>,
3970
+ errors: [NotFound],
3971
+ serviceErrors: TriggerDevServiceErrors,
3627
3972
  protocol: TriggerDevProtocol,
3628
3973
  retry: Retry.Retry,
3629
3974
  telemetry: TELEMETRY,
@@ -3638,9 +3983,10 @@ export const getWebhookEndpointV1: API.OperationMethod<
3638
3983
  GetWebhookEndpointV1Error,
3639
3984
  TriggerDevOpContext
3640
3985
  > = /*@__PURE__*/ API.make(() => ({
3641
- input: __S(432, __c54, 0) as any as S.Schema<GetWebhookEndpointV1Request>,
3642
- output: __S(194, __c24, 2) as any as S.Schema<GetWebhookEndpointV1Response>,
3643
- errors: [NotFound, UnknownTriggerDevError],
3986
+ input: __S(520, __c65, 0) as any as S.Schema<GetWebhookEndpointV1Request>,
3987
+ output: __S(242, __c30, 2) as any as S.Schema<GetWebhookEndpointV1Response>,
3988
+ errors: [NotFound],
3989
+ serviceErrors: TriggerDevServiceErrors,
3644
3990
  protocol: TriggerDevProtocol,
3645
3991
  retry: Retry.Retry,
3646
3992
  telemetry: TELEMETRY,
@@ -3655,9 +4001,10 @@ export const ignoreErrorV1: API.OperationMethod<
3655
4001
  IgnoreErrorV1Error,
3656
4002
  TriggerDevOpContext
3657
4003
  > = /*@__PURE__*/ API.make(() => ({
3658
- input: __S(464, __c58, 0) as any as S.Schema<IgnoreErrorV1Request>,
3659
- output: __S(288, __c36, 0) as any as S.Schema<ErrorObject>,
3660
- errors: [NotFound, UnknownTriggerDevError],
4004
+ input: __S(528, __c66, 0) as any as S.Schema<IgnoreErrorV1Request>,
4005
+ output: __S(344, __c43, 0) as any as S.Schema<ErrorObject>,
4006
+ errors: [NotFound],
4007
+ serviceErrors: TriggerDevServiceErrors,
3661
4008
  protocol: TriggerDevProtocol,
3662
4009
  retry: Retry.Retry,
3663
4010
  telemetry: TELEMETRY,
@@ -3672,9 +4019,10 @@ export const listBulkActionsV1: API.OperationMethod<
3672
4019
  ListBulkActionsV1Error,
3673
4020
  TriggerDevOpContext
3674
4021
  > = /*@__PURE__*/ API.make(() => ({
3675
- input: __S(472, __c59, 0) as any as S.Schema<ListBulkActionsV1Request>,
3676
- output: __S(474, __c59, 2) as any as S.Schema<ListBulkActionsResult>,
3677
- errors: [BadRequest, UnknownTriggerDevError],
4022
+ input: __S(536, __c67, 0) as any as S.Schema<ListBulkActionsV1Request>,
4023
+ output: __S(538, __c67, 2) as any as S.Schema<ListBulkActionsResult>,
4024
+ errors: [BadRequest],
4025
+ serviceErrors: TriggerDevServiceErrors,
3678
4026
  protocol: TriggerDevProtocol,
3679
4027
  retry: Retry.Retry,
3680
4028
  telemetry: TELEMETRY,
@@ -3689,9 +4037,10 @@ export const listConcurrencyLimitsV1: API.OperationMethod<
3689
4037
  ListConcurrencyLimitsV1Error,
3690
4038
  TriggerDevOpContext
3691
4039
  > = /*@__PURE__*/ API.make(() => ({
3692
- input: __S(496, __c62, 0) as any as S.Schema<ListConcurrencyLimitsV1Request>,
3693
- output: __S(498, __c62, 2) as any as S.Schema<ListConcurrencyLimitsV1Response>,
3694
- errors: [UnknownTriggerDevError],
4040
+ input: __S(560, __c70, 0) as any as S.Schema<ListConcurrencyLimitsV1Request>,
4041
+ output: __S(562, __c70, 2) as any as S.Schema<ListConcurrencyLimitsV1Response>,
4042
+ errors: [],
4043
+ serviceErrors: TriggerDevServiceErrors,
3695
4044
  protocol: TriggerDevProtocol,
3696
4045
  retry: Retry.Retry,
3697
4046
  telemetry: TELEMETRY,
@@ -3706,9 +4055,10 @@ export const listDashboardsV1: API.OperationMethod<
3706
4055
  ListDashboardsV1Error,
3707
4056
  TriggerDevOpContext
3708
4057
  > = /*@__PURE__*/ API.make(() => ({
3709
- input: __S(520, __c65, 0) as any as S.Schema<ListDashboardsV1Request>,
3710
- output: __S(525, __c65, 5) as any as S.Schema<ListDashboardsV1Response>,
3711
- errors: [UnknownTriggerDevError],
4058
+ input: __S(584, __c73, 0) as any as S.Schema<ListDashboardsV1Request>,
4059
+ output: __S(589, __c73, 5) as any as S.Schema<ListDashboardsV1Response>,
4060
+ errors: [],
4061
+ serviceErrors: TriggerDevServiceErrors,
3712
4062
  protocol: TriggerDevProtocol,
3713
4063
  retry: Retry.Retry,
3714
4064
  telemetry: TELEMETRY,
@@ -3723,9 +4073,10 @@ export const listDeploymentsV1: API.OperationMethod<
3723
4073
  ListDeploymentsV1Error,
3724
4074
  TriggerDevOpContext
3725
4075
  > = /*@__PURE__*/ API.make(() => ({
3726
- input: __S(528, __c66, 0) as any as S.Schema<ListDeploymentsV1Request>,
3727
- output: __S(532, __c66, 4) as any as S.Schema<ListDeploymentsV1Response>,
3728
- errors: [UnknownTriggerDevError],
4076
+ input: __S(592, __c74, 0) as any as S.Schema<ListDeploymentsV1Request>,
4077
+ output: __S(596, __c74, 4) as any as S.Schema<ListDeploymentsV1Response>,
4078
+ errors: [],
4079
+ serviceErrors: TriggerDevServiceErrors,
3729
4080
  protocol: TriggerDevProtocol,
3730
4081
  retry: Retry.Retry,
3731
4082
  telemetry: TELEMETRY,
@@ -3740,9 +4091,10 @@ export const listErrorsV1: API.OperationMethod<
3740
4091
  ListErrorsV1Error,
3741
4092
  TriggerDevOpContext
3742
4093
  > = /*@__PURE__*/ API.make(() => ({
3743
- input: __S(537, __c67, 1) as any as S.Schema<ListErrorsV1Request>,
3744
- output: __S(540, __c67, 4) as any as S.Schema<ListErrorsResult>,
3745
- errors: [BadRequest, UnknownTriggerDevError],
4094
+ input: __S(601, __c75, 1) as any as S.Schema<ListErrorsV1Request>,
4095
+ output: __S(604, __c75, 4) as any as S.Schema<ListErrorsResult>,
4096
+ errors: [BadRequest],
4097
+ serviceErrors: TriggerDevServiceErrors,
3746
4098
  protocol: TriggerDevProtocol,
3747
4099
  retry: Retry.Retry,
3748
4100
  telemetry: TELEMETRY,
@@ -3757,9 +4109,10 @@ export const listProjectEnvvarsV1: API.OperationMethod<
3757
4109
  ListProjectEnvvarsV1Error,
3758
4110
  TriggerDevOpContext
3759
4111
  > = /*@__PURE__*/ API.make(() => ({
3760
- input: __S(552, __c69, 0) as any as S.Schema<ListProjectEnvvarsV1Request>,
3761
- output: __S(553, __c69, 1) as any as S.Schema<ListProjectEnvvarsV1Response>,
3762
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4112
+ input: __S(616, __c77, 0) as any as S.Schema<ListProjectEnvvarsV1Request>,
4113
+ output: __S(617, __c77, 1) as any as S.Schema<ListProjectEnvvarsV1Response>,
4114
+ errors: [BadRequest, NotFound],
4115
+ serviceErrors: TriggerDevServiceErrors,
3763
4116
  protocol: TriggerDevProtocol,
3764
4117
  retry: Retry.Retry,
3765
4118
  telemetry: TELEMETRY,
@@ -3774,9 +4127,10 @@ export const listProjectRunsV1: API.OperationMethod<
3774
4127
  ListProjectRunsV1Error,
3775
4128
  TriggerDevOpContext
3776
4129
  > = /*@__PURE__*/ API.make(() => ({
3777
- input: __S(569, __c71, 1) as any as S.Schema<ListProjectRunsV1Request>,
3778
- output: __S(579, __c72, 3) as any as S.Schema<ListRunsResult>,
3779
- errors: [BadRequest, UnknownTriggerDevError],
4130
+ input: __S(633, __c79, 1) as any as S.Schema<ListProjectRunsV1Request>,
4131
+ output: __S(645, __c80, 5) as any as S.Schema<ListRunsResult>,
4132
+ errors: [BadRequest],
4133
+ serviceErrors: TriggerDevServiceErrors,
3780
4134
  protocol: TriggerDevProtocol,
3781
4135
  retry: Retry.Retry,
3782
4136
  telemetry: TELEMETRY,
@@ -3791,9 +4145,10 @@ export const listQueuesV1: API.OperationMethod<
3791
4145
  ListQueuesV1Error,
3792
4146
  TriggerDevOpContext
3793
4147
  > = /*@__PURE__*/ API.make(() => ({
3794
- input: __S(592, __c74, 0) as any as S.Schema<ListQueuesV1Request>,
3795
- output: __S(594, __c74, 2) as any as S.Schema<ListQueuesResult>,
3796
- errors: [UnknownTriggerDevError],
4148
+ input: __S(672, __c84, 0) as any as S.Schema<ListQueuesV1Request>,
4149
+ output: __S(674, __c84, 2) as any as S.Schema<ListQueuesResult>,
4150
+ errors: [],
4151
+ serviceErrors: TriggerDevServiceErrors,
3797
4152
  protocol: TriggerDevProtocol,
3798
4153
  retry: Retry.Retry,
3799
4154
  telemetry: TELEMETRY,
@@ -3808,9 +4163,10 @@ export const listRunsV1: API.OperationMethod<
3808
4163
  ListRunsV1Error,
3809
4164
  TriggerDevOpContext
3810
4165
  > = /*@__PURE__*/ API.make(() => ({
3811
- input: __S(601, __c75, 1) as any as S.Schema<ListRunsV1Request>,
3812
- output: __S(579, __c72, 3) as any as S.Schema<ListRunsResult>,
3813
- errors: [BadRequest, UnknownTriggerDevError],
4166
+ input: __S(681, __c85, 1) as any as S.Schema<ListRunsV1Request>,
4167
+ output: __S(645, __c80, 5) as any as S.Schema<ListRunsResult>,
4168
+ errors: [BadRequest],
4169
+ serviceErrors: TriggerDevServiceErrors,
3814
4170
  protocol: TriggerDevProtocol,
3815
4171
  retry: Retry.Retry,
3816
4172
  telemetry: TELEMETRY,
@@ -3825,9 +4181,10 @@ export const listSchedulesV1: API.OperationMethod<
3825
4181
  ListSchedulesV1Error,
3826
4182
  TriggerDevOpContext
3827
4183
  > = /*@__PURE__*/ API.make(() => ({
3828
- input: __S(624, __c78, 0) as any as S.Schema<ListSchedulesV1Request>,
3829
- output: __S(626, __c78, 2) as any as S.Schema<ListSchedulesResult>,
3830
- errors: [UnknownTriggerDevError],
4184
+ input: __S(688, __c86, 0) as any as S.Schema<ListSchedulesV1Request>,
4185
+ output: __S(690, __c86, 2) as any as S.Schema<ListSchedulesResult>,
4186
+ errors: [],
4187
+ serviceErrors: TriggerDevServiceErrors,
3831
4188
  protocol: TriggerDevProtocol,
3832
4189
  retry: Retry.Retry,
3833
4190
  telemetry: TELEMETRY,
@@ -3842,9 +4199,10 @@ export const listSessionsV1: API.OperationMethod<
3842
4199
  ListSessionsV1Error,
3843
4200
  TriggerDevOpContext
3844
4201
  > = /*@__PURE__*/ API.make(() => ({
3845
- input: __S(633, __c79, 1) as any as S.Schema<ListSessionsV1Request>,
3846
- output: __S(635, __c79, 3) as any as S.Schema<ListSessionsResult>,
3847
- errors: [BadRequest, UnknownTriggerDevError],
4202
+ input: __S(697, __c87, 1) as any as S.Schema<ListSessionsV1Request>,
4203
+ output: __S(699, __c87, 3) as any as S.Schema<ListSessionsResult>,
4204
+ errors: [BadRequest],
4205
+ serviceErrors: TriggerDevServiceErrors,
3848
4206
  protocol: TriggerDevProtocol,
3849
4207
  retry: Retry.Retry,
3850
4208
  telemetry: TELEMETRY,
@@ -3859,9 +4217,10 @@ export const listWaitpointTokensV1: API.OperationMethod<
3859
4217
  ListWaitpointTokensV1Error,
3860
4218
  TriggerDevOpContext
3861
4219
  > = /*@__PURE__*/ API.make(() => ({
3862
- input: __S(640, __c80, 0) as any as S.Schema<ListWaitpointTokensV1Request>,
3863
- output: __S(643, __c80, 3) as any as S.Schema<ListWaitpointTokensResult>,
3864
- errors: [UnprocessableEntity, UnknownTriggerDevError],
4220
+ input: __S(704, __c88, 0) as any as S.Schema<ListWaitpointTokensV1Request>,
4221
+ output: __S(707, __c88, 3) as any as S.Schema<ListWaitpointTokensResult>,
4222
+ errors: [UnprocessableEntity],
4223
+ serviceErrors: TriggerDevServiceErrors,
3865
4224
  protocol: TriggerDevProtocol,
3866
4225
  retry: Retry.Retry,
3867
4226
  telemetry: TELEMETRY,
@@ -3876,9 +4235,10 @@ export const listWebhookDeliveriesV1: API.OperationMethod<
3876
4235
  ListWebhookDeliveriesV1Error,
3877
4236
  TriggerDevOpContext
3878
4237
  > = /*@__PURE__*/ API.make(() => ({
3879
- input: __S(648, __c81, 0) as any as S.Schema<ListWebhookDeliveriesV1Request>,
3880
- output: __S(651, __c81, 3) as any as S.Schema<ListWebhookDeliveriesResult>,
3881
- errors: [BadRequest, UnknownTriggerDevError],
4238
+ input: __S(712, __c89, 0) as any as S.Schema<ListWebhookDeliveriesV1Request>,
4239
+ output: __S(715, __c89, 3) as any as S.Schema<ListWebhookDeliveriesResult>,
4240
+ errors: [BadRequest],
4241
+ serviceErrors: TriggerDevServiceErrors,
3882
4242
  protocol: TriggerDevProtocol,
3883
4243
  retry: Retry.Retry,
3884
4244
  telemetry: TELEMETRY,
@@ -3893,9 +4253,10 @@ export const listWebhookEndpointsV1: API.OperationMethod<
3893
4253
  ListWebhookEndpointsV1Error,
3894
4254
  TriggerDevOpContext
3895
4255
  > = /*@__PURE__*/ API.make(() => ({
3896
- input: __S(656, __c82, 0) as any as S.Schema<ListWebhookEndpointsV1Request>,
3897
- output: __S(659, __c82, 3) as any as S.Schema<ListWebhookEndpointsResult>,
3898
- errors: [UnknownTriggerDevError],
4256
+ input: __S(720, __c90, 0) as any as S.Schema<ListWebhookEndpointsV1Request>,
4257
+ output: __S(723, __c90, 3) as any as S.Schema<ListWebhookEndpointsResult>,
4258
+ errors: [],
4259
+ serviceErrors: TriggerDevServiceErrors,
3899
4260
  protocol: TriggerDevProtocol,
3900
4261
  retry: Retry.Retry,
3901
4262
  telemetry: TELEMETRY,
@@ -3910,9 +4271,10 @@ export const overrideConcurrencyLimitV1: API.OperationMethod<
3910
4271
  OverrideConcurrencyLimitV1Error,
3911
4272
  TriggerDevOpContext
3912
4273
  > = /*@__PURE__*/ API.make(() => ({
3913
- input: __S(664, __c83, 0) as any as S.Schema<OverrideConcurrencyLimitV1Request>,
3914
- output: __S(665, __c83, 1) as any as S.Schema<OverrideConcurrencyLimitV1Response>,
3915
- errors: [BadRequest, NotFound, Conflict, UnknownTriggerDevError],
4274
+ input: __S(728, __c91, 0) as any as S.Schema<OverrideConcurrencyLimitV1Request>,
4275
+ output: __S(729, __c91, 1) as any as S.Schema<OverrideConcurrencyLimitV1Response>,
4276
+ errors: [BadRequest, NotFound, Conflict],
4277
+ serviceErrors: TriggerDevServiceErrors,
3916
4278
  protocol: TriggerDevProtocol,
3917
4279
  retry: Retry.Retry,
3918
4280
  telemetry: TELEMETRY,
@@ -3927,9 +4289,10 @@ export const overrideQueueConcurrencyV1: API.OperationMethod<
3927
4289
  OverrideQueueConcurrencyV1Error,
3928
4290
  TriggerDevOpContext
3929
4291
  > = /*@__PURE__*/ API.make(() => ({
3930
- input: __S(672, __c84, 0) as any as S.Schema<OverrideQueueConcurrencyV1Request>,
3931
- output: __S(329, __c41, 1) as any as S.Schema<QueueObject>,
3932
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4292
+ input: __S(736, __c92, 0) as any as S.Schema<OverrideQueueConcurrencyV1Request>,
4293
+ output: __S(385, __c48, 1) as any as S.Schema<QueueObject>,
4294
+ errors: [BadRequest, NotFound],
4295
+ serviceErrors: TriggerDevServiceErrors,
3933
4296
  protocol: TriggerDevProtocol,
3934
4297
  retry: Retry.Retry,
3935
4298
  telemetry: TELEMETRY,
@@ -3944,9 +4307,10 @@ export const pauseConcurrencyLimitV1: API.OperationMethod<
3944
4307
  PauseConcurrencyLimitV1Error,
3945
4308
  TriggerDevOpContext
3946
4309
  > = /*@__PURE__*/ API.make(() => ({
3947
- input: __S(680, __c85, 0) as any as S.Schema<PauseConcurrencyLimitV1Request>,
3948
- output: __S(513, __c64, 1) as any as S.Schema<ConcurrencyLimitObject>,
3949
- errors: [BadRequest, NotFound, Conflict, UnknownTriggerDevError],
4310
+ input: __S(744, __c93, 0) as any as S.Schema<PauseConcurrencyLimitV1Request>,
4311
+ output: __S(577, __c72, 1) as any as S.Schema<ConcurrencyLimitObject>,
4312
+ errors: [BadRequest, NotFound, Conflict],
4313
+ serviceErrors: TriggerDevServiceErrors,
3950
4314
  protocol: TriggerDevProtocol,
3951
4315
  retry: Retry.Retry,
3952
4316
  telemetry: TELEMETRY,
@@ -3961,9 +4325,10 @@ export const pauseQueueV1: API.OperationMethod<
3961
4325
  PauseQueueV1Error,
3962
4326
  TriggerDevOpContext
3963
4327
  > = /*@__PURE__*/ API.make(() => ({
3964
- input: __S(688, __c86, 0) as any as S.Schema<PauseQueueV1Request>,
3965
- output: __S(329, __c41, 1) as any as S.Schema<QueueObject>,
3966
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4328
+ input: __S(760, __c95, 0) as any as S.Schema<PauseQueueV1Request>,
4329
+ output: __S(385, __c48, 1) as any as S.Schema<QueueObject>,
4330
+ errors: [BadRequest, NotFound],
4331
+ serviceErrors: TriggerDevServiceErrors,
3967
4332
  protocol: TriggerDevProtocol,
3968
4333
  retry: Retry.Retry,
3969
4334
  telemetry: TELEMETRY,
@@ -3978,9 +4343,10 @@ export const promoteDeploymentV1: API.OperationMethod<
3978
4343
  PromoteDeploymentV1Error,
3979
4344
  TriggerDevOpContext
3980
4345
  > = /*@__PURE__*/ API.make(() => ({
3981
- input: __S(696, __c87, 0) as any as S.Schema<PromoteDeploymentV1Request>,
3982
- output: __S(697, __c87, 1) as any as S.Schema<PromoteDeploymentV1Response>,
3983
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4346
+ input: __S(768, __c96, 0) as any as S.Schema<PromoteDeploymentV1Request>,
4347
+ output: __S(772, __c96, 4) as any as S.Schema<PromoteDeploymentV1Response>,
4348
+ errors: [BadRequest, NotFound],
4349
+ serviceErrors: TriggerDevServiceErrors,
3984
4350
  protocol: TriggerDevProtocol,
3985
4351
  retry: Retry.Retry,
3986
4352
  telemetry: TELEMETRY,
@@ -4000,9 +4366,10 @@ export const replaceDashboardV1: API.OperationMethod<
4000
4366
  ReplaceDashboardV1Error,
4001
4367
  TriggerDevOpContext
4002
4368
  > = /*@__PURE__*/ API.make(() => ({
4003
- input: __S(712, __c89, 0) as any as S.Schema<ReplaceDashboardV1Request>,
4004
- output: __S(619, __c77, 3) as any as S.Schema<DashboardObject>,
4005
- errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownTriggerDevError],
4369
+ input: __S(776, __c97, 0) as any as S.Schema<ReplaceDashboardV1Request>,
4370
+ output: __S(667, __c83, 3) as any as S.Schema<DashboardObject>,
4371
+ errors: [BadRequest, Forbidden, NotFound, Conflict],
4372
+ serviceErrors: TriggerDevServiceErrors,
4006
4373
  protocol: TriggerDevProtocol,
4007
4374
  retry: Retry.Retry,
4008
4375
  telemetry: TELEMETRY,
@@ -4017,9 +4384,10 @@ export const replayWebhookDeliveryV1: API.OperationMethod<
4017
4384
  ReplayWebhookDeliveryV1Error,
4018
4385
  TriggerDevOpContext
4019
4386
  > = /*@__PURE__*/ API.make(() => ({
4020
- input: __S(720, __c90, 0) as any as S.Schema<ReplayWebhookDeliveryV1Request>,
4021
- output: __S(721, __c90, 1) as any as S.Schema<ReplayWebhookDeliveryResponse>,
4022
- errors: [Forbidden, NotFound, UnknownTriggerDevError],
4387
+ input: __S(784, __c98, 0) as any as S.Schema<ReplayWebhookDeliveryV1Request>,
4388
+ output: __S(785, __c98, 1) as any as S.Schema<ReplayWebhookDeliveryResponse>,
4389
+ errors: [Forbidden, NotFound],
4390
+ serviceErrors: TriggerDevServiceErrors,
4023
4391
  protocol: TriggerDevProtocol,
4024
4392
  retry: Retry.Retry,
4025
4393
  telemetry: TELEMETRY,
@@ -4034,9 +4402,10 @@ export const resetConcurrencyLimitV1: API.OperationMethod<
4034
4402
  ResetConcurrencyLimitV1Error,
4035
4403
  TriggerDevOpContext
4036
4404
  > = /*@__PURE__*/ API.make(() => ({
4037
- input: __S(728, __c91, 0) as any as S.Schema<ResetConcurrencyLimitV1Request>,
4038
- output: __S(729, __c91, 1) as any as S.Schema<ResetConcurrencyLimitV1Response>,
4039
- errors: [BadRequest, NotFound, Conflict, UnknownTriggerDevError],
4405
+ input: __S(792, __c99, 0) as any as S.Schema<ResetConcurrencyLimitV1Request>,
4406
+ output: __S(793, __c99, 1) as any as S.Schema<ResetConcurrencyLimitV1Response>,
4407
+ errors: [BadRequest, NotFound, Conflict],
4408
+ serviceErrors: TriggerDevServiceErrors,
4040
4409
  protocol: TriggerDevProtocol,
4041
4410
  retry: Retry.Retry,
4042
4411
  telemetry: TELEMETRY,
@@ -4051,9 +4420,10 @@ export const resetQueueConcurrencyV1: API.OperationMethod<
4051
4420
  ResetQueueConcurrencyV1Error,
4052
4421
  TriggerDevOpContext
4053
4422
  > = /*@__PURE__*/ API.make(() => ({
4054
- input: __S(736, __c92, 0) as any as S.Schema<ResetQueueConcurrencyV1Request>,
4055
- output: __S(329, __c41, 1) as any as S.Schema<QueueObject>,
4056
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4423
+ input: __S(800, __c100, 0) as any as S.Schema<ResetQueueConcurrencyV1Request>,
4424
+ output: __S(385, __c48, 1) as any as S.Schema<QueueObject>,
4425
+ errors: [BadRequest, NotFound],
4426
+ serviceErrors: TriggerDevServiceErrors,
4057
4427
  protocol: TriggerDevProtocol,
4058
4428
  retry: Retry.Retry,
4059
4429
  telemetry: TELEMETRY,
@@ -4068,9 +4438,10 @@ export const resolveErrorV1: API.OperationMethod<
4068
4438
  ResolveErrorV1Error,
4069
4439
  TriggerDevOpContext
4070
4440
  > = /*@__PURE__*/ API.make(() => ({
4071
- input: __S(744, __c93, 0) as any as S.Schema<ResolveErrorV1Request>,
4072
- output: __S(288, __c36, 0) as any as S.Schema<ErrorObject>,
4073
- errors: [NotFound, UnknownTriggerDevError],
4441
+ input: __S(808, __c101, 0) as any as S.Schema<ResolveErrorV1Request>,
4442
+ output: __S(344, __c43, 0) as any as S.Schema<ErrorObject>,
4443
+ errors: [NotFound],
4444
+ serviceErrors: TriggerDevServiceErrors,
4074
4445
  protocol: TriggerDevProtocol,
4075
4446
  retry: Retry.Retry,
4076
4447
  telemetry: TELEMETRY,
@@ -4085,9 +4456,10 @@ export const rotateWebhookEndpointSecretV1: API.OperationMethod<
4085
4456
  RotateWebhookEndpointSecretV1Error,
4086
4457
  TriggerDevOpContext
4087
4458
  > = /*@__PURE__*/ API.make(() => ({
4088
- input: __S(752, __c94, 0) as any as S.Schema<RotateWebhookEndpointSecretV1Request>,
4089
- output: __S(753, __c94, 1) as any as S.Schema<RotateWebhookEndpointSecretResponse>,
4090
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4459
+ input: __S(816, __c102, 0) as any as S.Schema<RotateWebhookEndpointSecretV1Request>,
4460
+ output: __S(817, __c102, 1) as any as S.Schema<RotateWebhookEndpointSecretResponse>,
4461
+ errors: [BadRequest, NotFound],
4462
+ serviceErrors: TriggerDevServiceErrors,
4091
4463
  protocol: TriggerDevProtocol,
4092
4464
  retry: Retry.Retry,
4093
4465
  telemetry: TELEMETRY,
@@ -4102,9 +4474,10 @@ export const runReplayV1: API.OperationMethod<
4102
4474
  RunReplayV1Error,
4103
4475
  TriggerDevOpContext
4104
4476
  > = /*@__PURE__*/ API.make(() => ({
4105
- input: __S(760, __c95, 0) as any as S.Schema<RunReplayV1Request>,
4106
- output: __S(904, __c113, 0) as any as S.Schema<RunReplayV1Response>,
4107
- errors: [BadRequest, Forbidden, NotFound, UnknownTriggerDevError],
4477
+ input: __S(824, __c103, 0) as any as S.Schema<RunReplayV1Request>,
4478
+ output: __S(952, __c119, 0) as any as S.Schema<RunReplayV1Response>,
4479
+ errors: [BadRequest, Forbidden, NotFound],
4480
+ serviceErrors: TriggerDevServiceErrors,
4108
4481
  protocol: TriggerDevProtocol,
4109
4482
  retry: Retry.Retry,
4110
4483
  telemetry: TELEMETRY,
@@ -4119,15 +4492,39 @@ export const runRescheduleV1: API.OperationMethod<
4119
4492
  RunRescheduleV1Error,
4120
4493
  TriggerDevOpContext
4121
4494
  > = /*@__PURE__*/ API.make(() => ({
4122
- input: __S(768, __c96, 0) as any as S.Schema<RunRescheduleV1Request>,
4123
- output: __S(375, __c46, 7) as any as S.Schema<RunRescheduleV1Response>,
4124
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4495
+ input: __S(832, __c104, 0) as any as S.Schema<RunRescheduleV1Request>,
4496
+ output: __S(431, __c53, 7) as any as S.Schema<RunRescheduleV1Response>,
4497
+ errors: [BadRequest, NotFound],
4498
+ serviceErrors: TriggerDevServiceErrors,
4125
4499
  protocol: TriggerDevProtocol,
4126
4500
  retry: Retry.Retry,
4127
4501
  telemetry: TELEMETRY,
4128
4502
  span: "RunRescheduleV1",
4129
4503
  }));
4130
4504
 
4505
+ export type SetSkewProtectionThresholdV1Error =
4506
+ | BadRequest
4507
+ | Forbidden
4508
+ | NotFound
4509
+ | Conflict
4510
+ | TriggerDevOpError;
4511
+ /** Set skew protection threshold Set or move the environment's skew protection threshold, or with `task` the threshold of that one task. Sessions on versions before it move to the current deployment the next time they're used. The version must be deployed in this environment and at or below the current deployment. Setting the version that is already the threshold changes nothing. Use a secret key from a deployed environment, such as staging or production. Development environments return 400. */
4512
+ export const setSkewProtectionThresholdV1: API.OperationMethod<
4513
+ SetSkewProtectionThresholdV1Request,
4514
+ SkewProtectionThresholdState,
4515
+ SetSkewProtectionThresholdV1Error,
4516
+ TriggerDevOpContext
4517
+ > = /*@__PURE__*/ API.make(() => ({
4518
+ input: __S(848, __c106, 0) as any as S.Schema<SetSkewProtectionThresholdV1Request>,
4519
+ output: __S(59, __c7, 3) as any as S.Schema<SkewProtectionThresholdState>,
4520
+ errors: [BadRequest, Forbidden, NotFound, Conflict],
4521
+ serviceErrors: TriggerDevServiceErrors,
4522
+ protocol: TriggerDevProtocol,
4523
+ retry: Retry.Retry,
4524
+ telemetry: TELEMETRY,
4525
+ span: "SetSkewProtectionThresholdV1",
4526
+ }));
4527
+
4131
4528
  export type SetWebhookEndpointSecretV1Error = BadRequest | NotFound | TriggerDevOpError;
4132
4529
  /** Set a webhook signing secret Store the signing secret or public key the provider issued for this endpoint, such as the `whsec_` secret Stripe returns when you create a webhook endpoint. It replaces the existing secret. Pass `previousSecretTtlSeconds` to keep accepting the old secret for a while, for example while the provider rolls its secret. */
4133
4530
  export const setWebhookEndpointSecretV1: API.OperationMethod<
@@ -4136,9 +4533,10 @@ export const setWebhookEndpointSecretV1: API.OperationMethod<
4136
4533
  SetWebhookEndpointSecretV1Error,
4137
4534
  TriggerDevOpContext
4138
4535
  > = /*@__PURE__*/ API.make(() => ({
4139
- input: __S(776, __c97, 0) as any as S.Schema<SetWebhookEndpointSecretV1Request>,
4140
- output: __S(777, __c97, 1) as any as S.Schema<SetWebhookEndpointSecretResponse>,
4141
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4536
+ input: __S(856, __c107, 0) as any as S.Schema<SetWebhookEndpointSecretV1Request>,
4537
+ output: __S(857, __c107, 1) as any as S.Schema<SetWebhookEndpointSecretResponse>,
4538
+ errors: [BadRequest, NotFound],
4539
+ serviceErrors: TriggerDevServiceErrors,
4142
4540
  protocol: TriggerDevProtocol,
4143
4541
  retry: Retry.Retry,
4144
4542
  telemetry: TELEMETRY,
@@ -4153,9 +4551,10 @@ export const triggerBatchTaskByIdV1: API.OperationMethod<
4153
4551
  TriggerBatchTaskByIdV1Error,
4154
4552
  TriggerDevOpContext
4155
4553
  > = /*@__PURE__*/ API.make(() => ({
4156
- input: __S(786, __c98, 2) as any as S.Schema<TriggerBatchTaskByIdV1Request>,
4157
- output: __S(792, __c99, 0) as any as S.Schema<BatchTriggerTaskResponse>,
4158
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4554
+ input: __S(866, __c108, 2) as any as S.Schema<TriggerBatchTaskByIdV1Request>,
4555
+ output: __S(872, __c109, 0) as any as S.Schema<BatchTriggerTaskResponse>,
4556
+ errors: [BadRequest, NotFound],
4557
+ serviceErrors: TriggerDevServiceErrors,
4159
4558
  protocol: TriggerDevProtocol,
4160
4559
  retry: Retry.Retry,
4161
4560
  telemetry: TELEMETRY,
@@ -4170,9 +4569,10 @@ export const triggerBatchTaskV1: API.OperationMethod<
4170
4569
  TriggerBatchTaskV1Error,
4171
4570
  TriggerDevOpContext
4172
4571
  > = /*@__PURE__*/ API.make(() => ({
4173
- input: __S(818, __c102, 2) as any as S.Schema<TriggerBatchTaskV1Request>,
4174
- output: __S(792, __c99, 0) as any as S.Schema<BatchTriggerTaskResponse>,
4175
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4572
+ input: __S(890, __c111, 2) as any as S.Schema<TriggerBatchTaskV1Request>,
4573
+ output: __S(872, __c109, 0) as any as S.Schema<BatchTriggerTaskResponse>,
4574
+ errors: [BadRequest, NotFound],
4575
+ serviceErrors: TriggerDevServiceErrors,
4176
4576
  protocol: TriggerDevProtocol,
4177
4577
  retry: Retry.Retry,
4178
4578
  telemetry: TELEMETRY,
@@ -4187,9 +4587,10 @@ export const triggerTaskV1: API.OperationMethod<
4187
4587
  TriggerTaskV1Error,
4188
4588
  TriggerDevOpContext
4189
4589
  > = /*@__PURE__*/ API.make(() => ({
4190
- input: __S(824, __c103, 0) as any as S.Schema<TriggerTaskV1Request>,
4191
- output: __S(904, __c113, 0) as any as S.Schema<TriggerTaskResponse>,
4192
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4590
+ input: __S(896, __c112, 0) as any as S.Schema<TriggerTaskV1Request>,
4591
+ output: __S(952, __c119, 0) as any as S.Schema<TriggerTaskResponse>,
4592
+ errors: [BadRequest, NotFound],
4593
+ serviceErrors: TriggerDevServiceErrors,
4193
4594
  protocol: TriggerDevProtocol,
4194
4595
  retry: Retry.Retry,
4195
4596
  telemetry: TELEMETRY,
@@ -4204,9 +4605,10 @@ export const unresolveErrorV1: API.OperationMethod<
4204
4605
  UnresolveErrorV1Error,
4205
4606
  TriggerDevOpContext
4206
4607
  > = /*@__PURE__*/ API.make(() => ({
4207
- input: __S(832, __c104, 0) as any as S.Schema<UnresolveErrorV1Request>,
4208
- output: __S(288, __c36, 0) as any as S.Schema<ErrorObject>,
4209
- errors: [NotFound, UnknownTriggerDevError],
4608
+ input: __S(904, __c113, 0) as any as S.Schema<UnresolveErrorV1Request>,
4609
+ output: __S(344, __c43, 0) as any as S.Schema<ErrorObject>,
4610
+ errors: [NotFound],
4611
+ serviceErrors: TriggerDevServiceErrors,
4210
4612
  protocol: TriggerDevProtocol,
4211
4613
  retry: Retry.Retry,
4212
4614
  telemetry: TELEMETRY,
@@ -4221,9 +4623,10 @@ export const updateDashboardV1: API.OperationMethod<
4221
4623
  UpdateDashboardV1Error,
4222
4624
  TriggerDevOpContext
4223
4625
  > = /*@__PURE__*/ API.make(() => ({
4224
- input: __S(840, __c105, 0) as any as S.Schema<UpdateDashboardV1Request>,
4225
- output: __S(619, __c77, 3) as any as S.Schema<DashboardObject>,
4226
- errors: [NotFound, Conflict, UnknownTriggerDevError],
4626
+ input: __S(912, __c114, 0) as any as S.Schema<UpdateDashboardV1Request>,
4627
+ output: __S(667, __c83, 3) as any as S.Schema<DashboardObject>,
4628
+ errors: [NotFound, Conflict],
4629
+ serviceErrors: TriggerDevServiceErrors,
4227
4630
  protocol: TriggerDevProtocol,
4228
4631
  retry: Retry.Retry,
4229
4632
  telemetry: TELEMETRY,
@@ -4238,16 +4641,17 @@ export const updateDashboardWidgetV1: API.OperationMethod<
4238
4641
  UpdateDashboardWidgetV1Error,
4239
4642
  TriggerDevOpContext
4240
4643
  > = /*@__PURE__*/ API.make(() => ({
4241
- input: __S(848, __c106, 0) as any as S.Schema<UpdateDashboardWidgetV1Request>,
4242
- output: __S(619, __c77, 3) as any as S.Schema<DashboardObject>,
4243
- errors: [BadRequest, NotFound, Conflict, UnknownTriggerDevError],
4644
+ input: __S(920, __c115, 0) as any as S.Schema<UpdateDashboardWidgetV1Request>,
4645
+ output: __S(667, __c83, 3) as any as S.Schema<DashboardObject>,
4646
+ errors: [BadRequest, NotFound, Conflict],
4647
+ serviceErrors: TriggerDevServiceErrors,
4244
4648
  protocol: TriggerDevProtocol,
4245
4649
  retry: Retry.Retry,
4246
4650
  telemetry: TELEMETRY,
4247
4651
  span: "UpdateDashboardWidgetV1",
4248
4652
  }));
4249
4653
 
4250
- export type UpdateProjectEnvvarV1Error = BadRequest | NotFound | TriggerDevOpError;
4654
+ export type UpdateProjectEnvvarV1Error = BadRequest | NotFound | Conflict | TriggerDevOpError;
4251
4655
  /** Update environment variable Update a specific environment variable for a specific project and environment. */
4252
4656
  export const updateProjectEnvvarV1: API.OperationMethod<
4253
4657
  UpdateProjectEnvvarV1Request,
@@ -4255,9 +4659,10 @@ export const updateProjectEnvvarV1: API.OperationMethod<
4255
4659
  UpdateProjectEnvvarV1Error,
4256
4660
  TriggerDevOpContext
4257
4661
  > = /*@__PURE__*/ API.make(() => ({
4258
- input: __S(856, __c107, 0) as any as S.Schema<UpdateProjectEnvvarV1Request>,
4259
- output: __S(56, __c7, 0) as any as S.Schema<SucceedResponse>,
4260
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4662
+ input: __S(928, __c116, 0) as any as S.Schema<UpdateProjectEnvvarV1Request>,
4663
+ output: __S(104, __c13, 0) as any as S.Schema<SucceedResponse>,
4664
+ errors: [BadRequest, NotFound, Conflict],
4665
+ serviceErrors: TriggerDevServiceErrors,
4261
4666
  protocol: TriggerDevProtocol,
4262
4667
  retry: Retry.Retry,
4263
4668
  telemetry: TELEMETRY,
@@ -4272,9 +4677,10 @@ export const updateRunMetadataV1: API.OperationMethod<
4272
4677
  UpdateRunMetadataV1Error,
4273
4678
  TriggerDevOpContext
4274
4679
  > = /*@__PURE__*/ API.make(() => ({
4275
- input: __S(864, __c108, 0) as any as S.Schema<UpdateRunMetadataV1Request>,
4276
- output: __S(865, __c108, 1) as any as S.Schema<UpdateRunMetadataV1Response>,
4277
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4680
+ input: __S(936, __c117, 0) as any as S.Schema<UpdateRunMetadataV1Request>,
4681
+ output: __S(937, __c117, 1) as any as S.Schema<UpdateRunMetadataV1Response>,
4682
+ errors: [BadRequest, NotFound],
4683
+ serviceErrors: TriggerDevServiceErrors,
4278
4684
  protocol: TriggerDevProtocol,
4279
4685
  retry: Retry.Retry,
4280
4686
  telemetry: TELEMETRY,
@@ -4289,9 +4695,10 @@ export const updateScheduleV1: API.OperationMethod<
4289
4695
  UpdateScheduleV1Error,
4290
4696
  TriggerDevOpContext
4291
4697
  > = /*@__PURE__*/ API.make(() => ({
4292
- input: __S(872, __c109, 0) as any as S.Schema<UpdateScheduleV1Request>,
4293
- output: __S(459, __c57, 3) as any as S.Schema<ScheduleObject>,
4294
- errors: [BadRequest, NotFound, UnprocessableEntity, UnknownTriggerDevError],
4698
+ input: __S(960, __c120, 0) as any as S.Schema<UpdateScheduleV1Request>,
4699
+ output: __S(499, __c62, 3) as any as S.Schema<ScheduleObject>,
4700
+ errors: [BadRequest, NotFound, UnprocessableEntity],
4701
+ serviceErrors: TriggerDevServiceErrors,
4295
4702
  protocol: TriggerDevProtocol,
4296
4703
  retry: Retry.Retry,
4297
4704
  telemetry: TELEMETRY,
@@ -4306,16 +4713,17 @@ export const updateSessionV1: API.OperationMethod<
4306
4713
  UpdateSessionV1Error,
4307
4714
  TriggerDevOpContext
4308
4715
  > = /*@__PURE__*/ API.make(() => ({
4309
- input: __S(880, __c110, 0) as any as S.Schema<UpdateSessionV1Request>,
4310
- output: __S(40, __c5, 0) as any as S.Schema<SessionObject>,
4311
- errors: [NotFound, UnprocessableEntity, UnknownTriggerDevError],
4716
+ input: __S(968, __c121, 0) as any as S.Schema<UpdateSessionV1Request>,
4717
+ output: __S(88, __c11, 0) as any as S.Schema<SessionObject>,
4718
+ errors: [NotFound, UnprocessableEntity],
4719
+ serviceErrors: TriggerDevServiceErrors,
4312
4720
  protocol: TriggerDevProtocol,
4313
4721
  retry: Retry.Retry,
4314
4722
  telemetry: TELEMETRY,
4315
4723
  span: "UpdateSessionV1",
4316
4724
  }));
4317
4725
 
4318
- export type UploadProjectEnvvarsV1Error = BadRequest | NotFound | TriggerDevOpError;
4726
+ export type UploadProjectEnvvarsV1Error = BadRequest | NotFound | Conflict | TriggerDevOpError;
4319
4727
  /** Upload environment variables Upload mulitple environment variables for a specific project and environment. */
4320
4728
  export const uploadProjectEnvvarsV1: API.OperationMethod<
4321
4729
  UploadProjectEnvvarsV1Request,
@@ -4323,9 +4731,10 @@ export const uploadProjectEnvvarsV1: API.OperationMethod<
4323
4731
  UploadProjectEnvvarsV1Error,
4324
4732
  TriggerDevOpContext
4325
4733
  > = /*@__PURE__*/ API.make(() => ({
4326
- input: __S(888, __c111, 0) as any as S.Schema<UploadProjectEnvvarsV1Request>,
4327
- output: __S(56, __c7, 0) as any as S.Schema<SucceedResponse>,
4328
- errors: [BadRequest, NotFound, UnknownTriggerDevError],
4734
+ input: __S(976, __c122, 0) as any as S.Schema<UploadProjectEnvvarsV1Request>,
4735
+ output: __S(104, __c13, 0) as any as S.Schema<SucceedResponse>,
4736
+ errors: [BadRequest, NotFound, Conflict],
4737
+ serviceErrors: TriggerDevServiceErrors,
4329
4738
  protocol: TriggerDevProtocol,
4330
4739
  retry: Retry.Retry,
4331
4740
  telemetry: TELEMETRY,
@@ -4334,6 +4743,73 @@ export const uploadProjectEnvvarsV1: API.OperationMethod<
4334
4743
 
4335
4744
  // Schema builders: each runs one schema initializer, on that schema's first use.
4336
4745
  function __c0(j: number): any {
4746
+ switch (j) {
4747
+ case 0:
4748
+ return S.suspend(() =>
4749
+ S.Struct({
4750
+ error: S.optional(S.String),
4751
+ }),
4752
+ ).annotate({ identifier: "Error403Body" });
4753
+ case 1:
4754
+ return S.suspend(() =>
4755
+ S.Struct({
4756
+ error: S.String,
4757
+ }),
4758
+ ).annotate({ identifier: "ErrorResponse" });
4759
+ }
4760
+ }
4761
+ function __c1(j: number): any {
4762
+ switch (j) {
4763
+ case 0:
4764
+ return S.suspend(() =>
4765
+ S.Struct({
4766
+ error: S.optional(S.String),
4767
+ }),
4768
+ ).annotate({ identifier: "Error400Body3" });
4769
+ }
4770
+ }
4771
+ function __c2(j: number): any {
4772
+ switch (j) {
4773
+ case 0:
4774
+ return S.Array(S.String);
4775
+ }
4776
+ }
4777
+ function __c3(j: number): any {
4778
+ switch (j) {
4779
+ case 0:
4780
+ return S.suspend(() =>
4781
+ S.Struct({
4782
+ code: S.String,
4783
+ message: S.String,
4784
+ path: S.optional(__S(16, __c2, 0)),
4785
+ }),
4786
+ ).annotate({ identifier: "ErrorWithDetailsResponseDetailsItem" });
4787
+ case 1:
4788
+ return S.Array(__S(24, __c3, 0));
4789
+ case 2:
4790
+ return S.suspend(() =>
4791
+ S.Struct({
4792
+ error: S.String,
4793
+ details: S.optional(__S(25, __c3, 1)),
4794
+ }),
4795
+ ).annotate({ identifier: "ErrorWithDetailsResponse" });
4796
+ }
4797
+ }
4798
+ function __c4(j: number): any {
4799
+ switch (j) {
4800
+ case 0:
4801
+ return S.Array(S.Unknown);
4802
+ case 1:
4803
+ return S.suspend(() =>
4804
+ S.Struct({
4805
+ error: S.optional(S.String),
4806
+ issues: S.optional(__S(32, __c4, 0)),
4807
+ variableErrors: S.optional(__S(32, __c4, 0)),
4808
+ }),
4809
+ ).annotate({ identifier: "InvalidEnvVarsRequestResponse" });
4810
+ }
4811
+ }
4812
+ function __c5(j: number): any {
4337
4813
  switch (j) {
4338
4814
  case 0:
4339
4815
  return S.suspend(() =>
@@ -4353,35 +4829,74 @@ function __c0(j: number): any {
4353
4829
  ).annotate({ identifier: "CancelWebhookWaiterResponse" });
4354
4830
  }
4355
4831
  }
4356
- function __c1(j: number): any {
4832
+ function __c6(j: number): any {
4357
4833
  switch (j) {
4358
4834
  case 0:
4359
4835
  return S.suspend(() =>
4360
4836
  S.Struct({
4361
- session: S.String.pipe(T.Label()),
4362
- reason: S.optional(S.String),
4363
- }).pipe(T.Http({ method: "POST", uri: "/api/v1/sessions/{session}/close", code: 200 })),
4364
- ).annotate({ identifier: "CloseSessionV1Request" });
4837
+ task: S.optional(S.String.pipe(T.Query())),
4838
+ }).pipe(
4839
+ T.Http({
4840
+ method: "DELETE",
4841
+ uri: "/api/v1/deployments/skew-protection-threshold",
4842
+ code: 200,
4843
+ }),
4844
+ ),
4845
+ ).annotate({ identifier: "ClearSkewProtectionThresholdV1Request" });
4365
4846
  }
4366
4847
  }
4367
- function __c2(j: number): any {
4848
+ function __c7(j: number): any {
4368
4849
  switch (j) {
4369
4850
  case 0:
4370
- return S.Array(S.String);
4851
+ return S.suspend(() =>
4852
+ S.Struct({
4853
+ type: S.optional(S.String),
4854
+ }),
4855
+ ).annotate({ identifier: "SkewProtectionThresholdSetBy" });
4856
+ case 1:
4857
+ return S.suspend(() =>
4858
+ S.Struct({
4859
+ version: S.optional(S.String),
4860
+ deploymentId: S.optional(S.NullOr(S.String)),
4861
+ setAt: S.optional(S.String),
4862
+ setBy: S.optional(S.NullOr(__S(56, __c7, 0))),
4863
+ }),
4864
+ ).annotate({ identifier: "SkewProtectionThreshold" });
4865
+ case 2:
4866
+ return S.Record(S.String, __S(57, __c7, 1));
4867
+ case 3:
4868
+ return S.suspend(() =>
4869
+ S.Struct({
4870
+ currentVersion: S.optional(S.NullOr(S.String)),
4871
+ threshold: S.optional(S.NullOr(__S(57, __c7, 1))),
4872
+ tasks: S.optional(__S(58, __c7, 2)),
4873
+ }),
4874
+ ).annotate({ identifier: "SkewProtectionThresholdState" });
4371
4875
  }
4372
4876
  }
4373
- function __c3(j: number): any {
4877
+ function __c8(j: number): any {
4878
+ switch (j) {
4879
+ case 0:
4880
+ return S.suspend(() =>
4881
+ S.Struct({
4882
+ session: S.String.pipe(T.Label()),
4883
+ reason: S.optional(S.String),
4884
+ }).pipe(T.Http({ method: "POST", uri: "/api/v1/sessions/{session}/close", code: 200 })),
4885
+ ).annotate({ identifier: "CloseSessionV1Request" });
4886
+ }
4887
+ }
4888
+ function __c9(j: number): any {
4374
4889
  switch (j) {
4375
4890
  case 0:
4376
4891
  return S.Record(S.String, S.Unknown);
4377
4892
  }
4378
4893
  }
4379
- function __c4(j: number): any {
4894
+ function __c10(j: number): any {
4380
4895
  switch (j) {
4381
4896
  case 0:
4382
4897
  return S.suspend(() =>
4383
4898
  S.Struct({
4384
- basePayload: __S(24, __c3, 0),
4899
+ basePayload: __S(72, __c9, 0),
4385
4900
  machine: S.optional(S.String),
4386
4901
  queue: S.optional(S.String),
4387
4902
  tags: S.optional(__S(16, __c2, 0)),
@@ -4394,7 +4909,7 @@ function __c4(j: number): any {
4394
4909
  ).annotate({ identifier: "SessionTriggerConfig" });
4395
4910
  }
4396
4911
  }
4397
- function __c5(j: number): any {
4912
+ function __c11(j: number): any {
4398
4913
  switch (j) {
4399
4914
  case 0:
4400
4915
  return S.suspend(() =>
@@ -4403,10 +4918,10 @@ function __c5(j: number): any {
4403
4918
  externalId: S.optional(S.NullOr(S.String)),
4404
4919
  type: S.String,
4405
4920
  taskIdentifier: S.String,
4406
- triggerConfig: S.optional(__S(32, __c4, 0)),
4921
+ triggerConfig: S.optional(__S(80, __c10, 0)),
4407
4922
  currentRunId: S.optional(S.NullOr(S.String)),
4408
4923
  tags: __S(16, __c2, 0),
4409
- metadata: S.optional(S.NullOr(__S(24, __c3, 0))),
4924
+ metadata: S.optional(S.NullOr(__S(72, __c9, 0))),
4410
4925
  closedAt: S.optional(S.NullOr(S.String)),
4411
4926
  closedReason: S.optional(S.NullOr(S.String)),
4412
4927
  expiresAt: S.optional(S.NullOr(S.String)),
@@ -4416,7 +4931,7 @@ function __c5(j: number): any {
4416
4931
  ).annotate({ identifier: "SessionObject" });
4417
4932
  }
4418
4933
  }
4419
- function __c6(j: number): any {
4934
+ function __c12(j: number): any {
4420
4935
  switch (j) {
4421
4936
  case 0:
4422
4937
  return S.suspend(() =>
@@ -4433,7 +4948,7 @@ function __c6(j: number): any {
4433
4948
  ).annotate({ identifier: "CompleteWaitpointTokenCallbackV1Request" });
4434
4949
  }
4435
4950
  }
4436
- function __c7(j: number): any {
4951
+ function __c13(j: number): any {
4437
4952
  switch (j) {
4438
4953
  case 0:
4439
4954
  return S.suspend(() =>
@@ -4443,7 +4958,7 @@ function __c7(j: number): any {
4443
4958
  ).annotate({ identifier: "CompleteWaitpointTokenResponse" });
4444
4959
  }
4445
4960
  }
4446
- function __c8(j: number): any {
4961
+ function __c14(j: number): any {
4447
4962
  switch (j) {
4448
4963
  case 0:
4449
4964
  return S.suspend(() =>
@@ -4460,7 +4975,7 @@ function __c8(j: number): any {
4460
4975
  ).annotate({ identifier: "CompleteWaitpointTokenV1Request" });
4461
4976
  }
4462
4977
  }
4463
- function __c9(j: number): any {
4978
+ function __c15(j: number): any {
4464
4979
  switch (j) {
4465
4980
  case 0:
4466
4981
  return S.suspend(() =>
@@ -4470,25 +4985,25 @@ function __c9(j: number): any {
4470
4985
  ).annotate({ identifier: "CreateBulkActionV1Request" });
4471
4986
  }
4472
4987
  }
4473
- function __c10(j: number): any {
4988
+ function __c16(j: number): any {
4474
4989
  switch (j) {
4475
4990
  case 0:
4476
4991
  return S.suspend(() => S.Struct({})).annotate({ identifier: "CreateBulkActionV1Response" });
4477
4992
  }
4478
4993
  }
4479
- function __c11(j: number): any {
4994
+ function __c17(j: number): any {
4480
4995
  switch (j) {
4481
4996
  case 0:
4482
4997
  return S.suspend(() =>
4483
4998
  S.Struct({
4484
4999
  title: S.String,
4485
5000
  description: S.optional(S.String),
4486
- widgets: S.optional(__S(97, __c12, 1)),
5001
+ widgets: S.optional(__S(145, __c18, 1)),
4487
5002
  }).pipe(T.Http({ method: "POST", uri: "/api/v1/query/dashboards", code: 200 })),
4488
5003
  ).annotate({ identifier: "CreateDashboardV1Request" });
4489
5004
  }
4490
5005
  }
4491
- function __c12(j: number): any {
5006
+ function __c18(j: number): any {
4492
5007
  switch (j) {
4493
5008
  case 0:
4494
5009
  return S.suspend(() =>
@@ -4498,14 +5013,14 @@ function __c12(j: number): any {
4498
5013
  query: S.optional(S.String),
4499
5014
  display: S.Unknown,
4500
5015
  fillGaps: S.optional(S.Boolean),
4501
- position: S.optional(__S(616, __c77, 0)),
5016
+ position: S.optional(__S(664, __c83, 0)),
4502
5017
  }),
4503
5018
  ).annotate({ identifier: "DashboardWidgetInput" });
4504
5019
  case 1:
4505
- return S.Array(__S(96, __c12, 0));
5020
+ return S.Array(__S(144, __c18, 0));
4506
5021
  }
4507
5022
  }
4508
- function __c13(j: number): any {
5023
+ function __c19(j: number): any {
4509
5024
  switch (j) {
4510
5025
  case 0:
4511
5026
  return S.suspend(() =>
@@ -4520,7 +5035,7 @@ function __c13(j: number): any {
4520
5035
  ).annotate({ identifier: "CreateProjectEnvvarV1Request" });
4521
5036
  }
4522
5037
  }
4523
- function __c14(j: number): any {
5038
+ function __c20(j: number): any {
4524
5039
  switch (j) {
4525
5040
  case 0:
4526
5041
  return S.suspend(() =>
@@ -4534,17 +5049,17 @@ function __c14(j: number): any {
4534
5049
  ).annotate({ identifier: "CreateScheduleV1Request" });
4535
5050
  }
4536
5051
  }
4537
- function __c15(j: number): any {
5052
+ function __c21(j: number): any {
4538
5053
  switch (j) {
4539
5054
  case 0:
4540
5055
  return S.suspend(() =>
4541
5056
  S.Struct({
4542
5057
  type: S.String,
4543
5058
  taskIdentifier: S.String,
4544
- triggerConfig: __S(32, __c4, 0),
5059
+ triggerConfig: __S(80, __c10, 0),
4545
5060
  externalId: S.optional(S.String),
4546
5061
  tags: S.optional(__S(16, __c2, 0)),
4547
- metadata: S.optional(__S(24, __c3, 0)),
5062
+ metadata: S.optional(__S(72, __c9, 0)),
4548
5063
  expiresAt: S.optional(S.String),
4549
5064
  }).pipe(T.Http({ method: "POST", uri: "/api/v1/sessions", code: 200 })),
4550
5065
  ).annotate({ identifier: "CreateSessionV1Request" });
@@ -4555,10 +5070,10 @@ function __c15(j: number): any {
4555
5070
  externalId: S.optional(S.NullOr(S.String)),
4556
5071
  type: S.String,
4557
5072
  taskIdentifier: S.String,
4558
- triggerConfig: S.optional(__S(32, __c4, 0)),
5073
+ triggerConfig: S.optional(__S(80, __c10, 0)),
4559
5074
  currentRunId: S.optional(S.NullOr(S.String)),
4560
5075
  tags: __S(16, __c2, 0),
4561
- metadata: S.optional(S.NullOr(__S(24, __c3, 0))),
5076
+ metadata: S.optional(S.NullOr(__S(72, __c9, 0))),
4562
5077
  closedAt: S.optional(S.NullOr(S.String)),
4563
5078
  closedReason: S.optional(S.NullOr(S.String)),
4564
5079
  expiresAt: S.optional(S.NullOr(S.String)),
@@ -4571,7 +5086,7 @@ function __c15(j: number): any {
4571
5086
  ).annotate({ identifier: "CreateSessionV1Response" });
4572
5087
  }
4573
5088
  }
4574
- function __c16(j: number): any {
5089
+ function __c22(j: number): any {
4575
5090
  switch (j) {
4576
5091
  case 0:
4577
5092
  return S.suspend(() =>
@@ -4592,7 +5107,7 @@ function __c16(j: number): any {
4592
5107
  ).annotate({ identifier: "CreateWaitpointTokenResponse" });
4593
5108
  }
4594
5109
  }
4595
- function __c17(j: number): any {
5110
+ function __c23(j: number): any {
4596
5111
  switch (j) {
4597
5112
  case 0:
4598
5113
  return S.Record(S.String, S.Unknown);
@@ -4600,7 +5115,7 @@ function __c17(j: number): any {
4600
5115
  return S.suspend(() =>
4601
5116
  S.Struct({
4602
5117
  endpointId: S.String.pipe(T.Label()),
4603
- match: S.optional(__S(136, __c17, 0)),
5118
+ match: S.optional(__S(184, __c23, 0)),
4604
5119
  filter: S.optional(S.String),
4605
5120
  timeout: S.optional(S.String),
4606
5121
  tags: S.optional(S.Unknown),
@@ -4625,7 +5140,7 @@ function __c17(j: number): any {
4625
5140
  ).annotate({ identifier: "CreateWebhookWaiterResponse" });
4626
5141
  }
4627
5142
  }
4628
- function __c18(j: number): any {
5143
+ function __c24(j: number): any {
4629
5144
  switch (j) {
4630
5145
  case 0:
4631
5146
  return S.suspend(() =>
@@ -4637,7 +5152,7 @@ function __c18(j: number): any {
4637
5152
  ).annotate({ identifier: "DeactivateScheduleV1Request" });
4638
5153
  }
4639
5154
  }
4640
- function __c19(j: number): any {
5155
+ function __c25(j: number): any {
4641
5156
  switch (j) {
4642
5157
  case 0:
4643
5158
  return S.suspend(() =>
@@ -4649,7 +5164,7 @@ function __c19(j: number): any {
4649
5164
  ).annotate({ identifier: "DeleteDashboardV1Request" });
4650
5165
  }
4651
5166
  }
4652
- function __c20(j: number): any {
5167
+ function __c26(j: number): any {
4653
5168
  switch (j) {
4654
5169
  case 0:
4655
5170
  return S.suspend(() =>
@@ -4667,7 +5182,7 @@ function __c20(j: number): any {
4667
5182
  ).annotate({ identifier: "DeleteDashboardWidgetV1Request" });
4668
5183
  }
4669
5184
  }
4670
- function __c21(j: number): any {
5185
+ function __c27(j: number): any {
4671
5186
  switch (j) {
4672
5187
  case 0:
4673
5188
  return S.suspend(() =>
@@ -4685,7 +5200,7 @@ function __c21(j: number): any {
4685
5200
  ).annotate({ identifier: "DeleteProjectEnvvarV1Request" });
4686
5201
  }
4687
5202
  }
4688
- function __c22(j: number): any {
5203
+ function __c28(j: number): any {
4689
5204
  switch (j) {
4690
5205
  case 0:
4691
5206
  return S.suspend(() =>
@@ -4695,7 +5210,7 @@ function __c22(j: number): any {
4695
5210
  ).annotate({ identifier: "DeleteScheduleV1Request" });
4696
5211
  }
4697
5212
  }
4698
- function __c23(j: number): any {
5213
+ function __c29(j: number): any {
4699
5214
  switch (j) {
4700
5215
  case 0:
4701
5216
  return S.suspend(() =>
@@ -4711,7 +5226,7 @@ function __c23(j: number): any {
4711
5226
  ).annotate({ identifier: "DisableWebhookEndpointV1Request" });
4712
5227
  }
4713
5228
  }
4714
- function __c24(j: number): any {
5229
+ function __c30(j: number): any {
4715
5230
  switch (j) {
4716
5231
  case 0:
4717
5232
  return S.suspend(() =>
@@ -4723,7 +5238,7 @@ function __c24(j: number): any {
4723
5238
  }),
4724
5239
  ).annotate({ identifier: "DisableWebhookEndpointV1ResponseSubscribersItem" });
4725
5240
  case 1:
4726
- return S.Array(__S(192, __c24, 0));
5241
+ return S.Array(__S(240, __c30, 0));
4727
5242
  case 2:
4728
5243
  return S.suspend(() =>
4729
5244
  S.Struct({
@@ -4738,13 +5253,13 @@ function __c24(j: number): any {
4738
5253
  url: S.String,
4739
5254
  createdAt: S.String,
4740
5255
  updatedAt: S.String,
4741
- subscribers: __S(193, __c24, 1),
5256
+ subscribers: __S(241, __c30, 1),
4742
5257
  setupPrompt: S.String,
4743
5258
  }),
4744
5259
  ).annotate({ identifier: "DisableWebhookEndpointV1Response" });
4745
5260
  }
4746
5261
  }
4747
- function __c25(j: number): any {
5262
+ function __c31(j: number): any {
4748
5263
  switch (j) {
4749
5264
  case 0:
4750
5265
  return S.suspend(() =>
@@ -4760,7 +5275,7 @@ function __c25(j: number): any {
4760
5275
  ).annotate({ identifier: "EnableWebhookEndpointV1Request" });
4761
5276
  }
4762
5277
  }
4763
- function __c26(j: number): any {
5278
+ function __c32(j: number): any {
4764
5279
  switch (j) {
4765
5280
  case 0:
4766
5281
  return S.suspend(() =>
@@ -4779,7 +5294,19 @@ function __c26(j: number): any {
4779
5294
  });
4780
5295
  }
4781
5296
  }
4782
- function __c27(j: number): any {
5297
+ function __c33(j: number): any {
5298
+ switch (j) {
5299
+ case 0:
5300
+ return S.suspend(() =>
5301
+ S.Struct({
5302
+ error: S.String,
5303
+ code: S.String,
5304
+ reason: S.optional(S.String),
5305
+ }),
5306
+ ).annotate({ identifier: "WebhookWaiterErrorResponse" });
5307
+ }
5308
+ }
5309
+ function __c34(j: number): any {
4783
5310
  switch (j) {
4784
5311
  case 0:
4785
5312
  return S.suspend(() =>
@@ -4788,17 +5315,17 @@ function __c27(j: number): any {
4788
5315
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/batches/{batchId}/results", code: 200 })),
4789
5316
  ).annotate({ identifier: "GetBatchResultsV1Request" });
4790
5317
  case 1:
4791
- return S.Array(__S(225, __c28, 1));
5318
+ return S.Array(__S(281, __c35, 1));
4792
5319
  case 2:
4793
5320
  return S.suspend(() =>
4794
5321
  S.Struct({
4795
5322
  id: S.optional(S.String),
4796
- items: S.optional(__S(217, __c27, 1)),
5323
+ items: S.optional(__S(273, __c34, 1)),
4797
5324
  }),
4798
5325
  ).annotate({ identifier: "GetBatchResultsV1Response" });
4799
5326
  }
4800
5327
  }
4801
- function __c28(j: number): any {
5328
+ function __c35(j: number): any {
4802
5329
  switch (j) {
4803
5330
  case 0:
4804
5331
  return S.suspend(() =>
@@ -4814,13 +5341,13 @@ function __c28(j: number): any {
4814
5341
  output: S.optional(S.String),
4815
5342
  outputType: S.optional(S.String),
4816
5343
  error: S.optional(S.Unknown),
4817
- usage: S.optional(__S(224, __c28, 0)),
5344
+ usage: S.optional(__S(280, __c35, 0)),
4818
5345
  taskIdentifier: S.optional(S.String),
4819
5346
  }),
4820
5347
  ).annotate({ identifier: "GetBatchResultsV1ResponseItemsItem" });
4821
5348
  }
4822
5349
  }
4823
- function __c29(j: number): any {
5350
+ function __c36(j: number): any {
4824
5351
  switch (j) {
4825
5352
  case 0:
4826
5353
  return S.suspend(() =>
@@ -4838,7 +5365,7 @@ function __c29(j: number): any {
4838
5365
  }),
4839
5366
  ).annotate({ identifier: "GetBatchV1ResponseErrorsItem" });
4840
5367
  case 2:
4841
- return S.Array(__S(233, __c29, 1));
5368
+ return S.Array(__S(289, __c36, 1));
4842
5369
  case 3:
4843
5370
  return S.suspend(() =>
4844
5371
  S.Struct({
@@ -4851,12 +5378,12 @@ function __c29(j: number): any {
4851
5378
  runs: S.optional(__S(16, __c2, 0)),
4852
5379
  successfulRunCount: S.optional(S.NullOr(S.Number)),
4853
5380
  failedRunCount: S.optional(S.NullOr(S.Number)),
4854
- errors: S.optional(S.NullOr(__S(234, __c29, 2))),
5381
+ errors: S.optional(S.NullOr(__S(290, __c36, 2))),
4855
5382
  }),
4856
5383
  ).annotate({ identifier: "GetBatchV1Response" });
4857
5384
  }
4858
5385
  }
4859
- function __c30(j: number): any {
5386
+ function __c37(j: number): any {
4860
5387
  switch (j) {
4861
5388
  case 0:
4862
5389
  return S.suspend(() =>
@@ -4866,7 +5393,7 @@ function __c30(j: number): any {
4866
5393
  ).annotate({ identifier: "GetBulkActionV1Request" });
4867
5394
  }
4868
5395
  }
4869
- function __c31(j: number): any {
5396
+ function __c38(j: number): any {
4870
5397
  switch (j) {
4871
5398
  case 0:
4872
5399
  return S.suspend(() =>
@@ -4883,14 +5410,14 @@ function __c31(j: number): any {
4883
5410
  name: S.optional(S.String),
4884
5411
  type: S.String,
4885
5412
  status: S.String,
4886
- counts: __S(248, __c31, 0),
5413
+ counts: __S(304, __c38, 0),
4887
5414
  createdAt: S.String,
4888
5415
  completedAt: S.optional(S.String),
4889
5416
  }),
4890
5417
  ).annotate({ identifier: "BulkActionObject" });
4891
5418
  }
4892
5419
  }
4893
- function __c32(j: number): any {
5420
+ function __c39(j: number): any {
4894
5421
  switch (j) {
4895
5422
  case 0:
4896
5423
  return S.suspend(() =>
@@ -4905,7 +5432,7 @@ function __c32(j: number): any {
4905
5432
  });
4906
5433
  }
4907
5434
  }
4908
- function __c33(j: number): any {
5435
+ function __c40(j: number): any {
4909
5436
  switch (j) {
4910
5437
  case 0:
4911
5438
  return S.suspend(() =>
@@ -4917,7 +5444,7 @@ function __c33(j: number): any {
4917
5444
  ).annotate({ identifier: "GetDashboardV1Request" });
4918
5445
  }
4919
5446
  }
4920
- function __c34(j: number): any {
5447
+ function __c41(j: number): any {
4921
5448
  switch (j) {
4922
5449
  case 0:
4923
5450
  return S.suspend(() =>
@@ -4935,13 +5462,13 @@ function __c34(j: number): any {
4935
5462
  }),
4936
5463
  ).annotate({ identifier: "GetDeploymentV1ResponseWorkerTasksItem" });
4937
5464
  case 2:
4938
- return S.Array(__S(273, __c34, 1));
5465
+ return S.Array(__S(329, __c41, 1));
4939
5466
  case 3:
4940
5467
  return S.suspend(() =>
4941
5468
  S.Struct({
4942
5469
  id: S.optional(S.String),
4943
5470
  version: S.optional(S.String),
4944
- tasks: S.optional(__S(274, __c34, 2)),
5471
+ tasks: S.optional(__S(330, __c41, 2)),
4945
5472
  }),
4946
5473
  ).annotate({ identifier: "GetDeploymentV1ResponseWorker" });
4947
5474
  case 4:
@@ -4957,12 +5484,12 @@ function __c34(j: number): any {
4957
5484
  externalId: S.optional(S.String),
4958
5485
  externalBuildData: S.optional(S.NullOr(S.Unknown)),
4959
5486
  errorData: S.optional(S.NullOr(S.Unknown)),
4960
- worker: S.optional(S.NullOr(__S(275, __c34, 3))),
5487
+ worker: S.optional(S.NullOr(__S(331, __c41, 3))),
4961
5488
  }),
4962
5489
  ).annotate({ identifier: "GetDeploymentV1Response" });
4963
5490
  }
4964
5491
  }
4965
- function __c35(j: number): any {
5492
+ function __c42(j: number): any {
4966
5493
  switch (j) {
4967
5494
  case 0:
4968
5495
  return S.suspend(() =>
@@ -4972,7 +5499,7 @@ function __c35(j: number): any {
4972
5499
  ).annotate({ identifier: "GetErrorV1Request" });
4973
5500
  }
4974
5501
  }
4975
- function __c36(j: number): any {
5502
+ function __c43(j: number): any {
4976
5503
  switch (j) {
4977
5504
  case 0:
4978
5505
  return S.suspend(() =>
@@ -5000,7 +5527,7 @@ function __c36(j: number): any {
5000
5527
  ).annotate({ identifier: "ErrorObject" });
5001
5528
  }
5002
5529
  }
5003
- function __c37(j: number): any {
5530
+ function __c44(j: number): any {
5004
5531
  switch (j) {
5005
5532
  case 0:
5006
5533
  return S.suspend(() =>
@@ -5020,7 +5547,7 @@ function __c37(j: number): any {
5020
5547
  ).annotate({ identifier: "GetLatestDeploymentV1Response" });
5021
5548
  }
5022
5549
  }
5023
- function __c38(j: number): any {
5550
+ function __c45(j: number): any {
5024
5551
  switch (j) {
5025
5552
  case 0:
5026
5553
  return S.suspend(() =>
@@ -5044,7 +5571,7 @@ function __c38(j: number): any {
5044
5571
  ).annotate({ identifier: "EnvVarValue" });
5045
5572
  }
5046
5573
  }
5047
- function __c39(j: number): any {
5574
+ function __c46(j: number): any {
5048
5575
  switch (j) {
5049
5576
  case 0:
5050
5577
  return S.suspend(() =>
@@ -5062,27 +5589,27 @@ function __c39(j: number): any {
5062
5589
  }),
5063
5590
  ).annotate({ identifier: "GetQuerySchemaV1ResponseTablesItemColumnsItem" });
5064
5591
  case 2:
5065
- return S.Array(__S(313, __c39, 1));
5592
+ return S.Array(__S(369, __c46, 1));
5066
5593
  case 3:
5067
5594
  return S.suspend(() =>
5068
5595
  S.Struct({
5069
5596
  name: S.optional(S.String),
5070
5597
  description: S.optional(S.String),
5071
5598
  timeColumn: S.optional(S.String),
5072
- columns: S.optional(__S(314, __c39, 2)),
5599
+ columns: S.optional(__S(370, __c46, 2)),
5073
5600
  }),
5074
5601
  ).annotate({ identifier: "GetQuerySchemaV1ResponseTablesItem" });
5075
5602
  case 4:
5076
- return S.Array(__S(315, __c39, 3));
5603
+ return S.Array(__S(371, __c46, 3));
5077
5604
  case 5:
5078
5605
  return S.suspend(() =>
5079
5606
  S.Struct({
5080
- tables: S.optional(__S(316, __c39, 4)),
5607
+ tables: S.optional(__S(372, __c46, 4)),
5081
5608
  }),
5082
5609
  ).annotate({ identifier: "GetQuerySchemaV1Response" });
5083
5610
  }
5084
5611
  }
5085
- function __c40(j: number): any {
5612
+ function __c47(j: number): any {
5086
5613
  switch (j) {
5087
5614
  case 0:
5088
5615
  return S.suspend(() =>
@@ -5093,7 +5620,7 @@ function __c40(j: number): any {
5093
5620
  ).annotate({ identifier: "GetQueueV1Request" });
5094
5621
  }
5095
5622
  }
5096
- function __c41(j: number): any {
5623
+ function __c48(j: number): any {
5097
5624
  switch (j) {
5098
5625
  case 0:
5099
5626
  return S.suspend(() =>
@@ -5116,12 +5643,12 @@ function __c41(j: number): any {
5116
5643
  queued: S.Number,
5117
5644
  paused: S.Boolean,
5118
5645
  concurrencyLimit: S.optional(S.NullOr(S.Number)),
5119
- concurrency: S.optional(__S(328, __c41, 0)),
5646
+ concurrency: S.optional(__S(384, __c48, 0)),
5120
5647
  }),
5121
5648
  ).annotate({ identifier: "QueueObject" });
5122
5649
  }
5123
5650
  }
5124
- function __c42(j: number): any {
5651
+ function __c49(j: number): any {
5125
5652
  switch (j) {
5126
5653
  case 0:
5127
5654
  return S.suspend(() =>
@@ -5138,7 +5665,7 @@ function __c42(j: number): any {
5138
5665
  }),
5139
5666
  ).annotate({ identifier: "GetRunEventsV1ResponseEventsItemEventsItem" });
5140
5667
  case 2:
5141
- return S.Array(__S(337, __c42, 1));
5668
+ return S.Array(__S(393, __c49, 1));
5142
5669
  case 3:
5143
5670
  return S.suspend(() =>
5144
5671
  S.Struct({
@@ -5151,7 +5678,7 @@ function __c42(j: number): any {
5151
5678
  S.Struct({
5152
5679
  icon: S.optional(S.String),
5153
5680
  variant: S.optional(S.String),
5154
- accessory: S.optional(__S(339, __c42, 3)),
5681
+ accessory: S.optional(__S(395, __c49, 3)),
5155
5682
  }),
5156
5683
  ).annotate({ identifier: "GetRunEventsV1ResponseEventsItemStyle" });
5157
5684
  case 5:
@@ -5170,21 +5697,21 @@ function __c42(j: number): any {
5170
5697
  kind: S.optional(S.String),
5171
5698
  attemptNumber: S.optional(S.NullOr(S.Number)),
5172
5699
  taskSlug: S.optional(S.String),
5173
- events: S.optional(__S(338, __c42, 2)),
5174
- style: S.optional(__S(340, __c42, 4)),
5700
+ events: S.optional(__S(394, __c49, 2)),
5701
+ style: S.optional(__S(396, __c49, 4)),
5175
5702
  }),
5176
5703
  ).annotate({ identifier: "GetRunEventsV1ResponseEventsItem" });
5177
5704
  case 6:
5178
- return S.Array(__S(341, __c42, 5));
5705
+ return S.Array(__S(397, __c49, 5));
5179
5706
  case 7:
5180
5707
  return S.suspend(() =>
5181
5708
  S.Struct({
5182
- events: S.optional(__S(342, __c42, 6)),
5709
+ events: S.optional(__S(398, __c49, 6)),
5183
5710
  }),
5184
5711
  ).annotate({ identifier: "GetRunEventsV1Response" });
5185
5712
  }
5186
5713
  }
5187
- function __c43(j: number): any {
5714
+ function __c50(j: number): any {
5188
5715
  switch (j) {
5189
5716
  case 0:
5190
5717
  return S.suspend(() =>
@@ -5194,7 +5721,7 @@ function __c43(j: number): any {
5194
5721
  ).annotate({ identifier: "GetRunResultV1Request" });
5195
5722
  }
5196
5723
  }
5197
- function __c44(j: number): any {
5724
+ function __c51(j: number): any {
5198
5725
  switch (j) {
5199
5726
  case 0:
5200
5727
  return S.suspend(() =>
@@ -5210,7 +5737,7 @@ function __c44(j: number): any {
5210
5737
  });
5211
5738
  }
5212
5739
  }
5213
- function __c45(j: number): any {
5740
+ function __c52(j: number): any {
5214
5741
  switch (j) {
5215
5742
  case 0:
5216
5743
  return S.suspend(() =>
@@ -5220,7 +5747,7 @@ function __c45(j: number): any {
5220
5747
  ).annotate({ identifier: "GetRunV1Request" });
5221
5748
  }
5222
5749
  }
5223
- function __c46(j: number): any {
5750
+ function __c53(j: number): any {
5224
5751
  switch (j) {
5225
5752
  case 0:
5226
5753
  return S.suspend(() =>
@@ -5249,13 +5776,13 @@ function __c46(j: number): any {
5249
5776
  }),
5250
5777
  ).annotate({ identifier: "CommonRunObject" });
5251
5778
  case 1:
5252
- return S.Array(__S(368, __c46, 0));
5779
+ return S.Array(__S(424, __c53, 0));
5253
5780
  case 2:
5254
5781
  return S.suspend(() =>
5255
5782
  S.Struct({
5256
- root: S.optional(__S(368, __c46, 0)),
5257
- parent: S.optional(__S(368, __c46, 0)),
5258
- children: S.optional(__S(369, __c46, 1)),
5783
+ root: S.optional(__S(424, __c53, 0)),
5784
+ parent: S.optional(__S(424, __c53, 0)),
5785
+ children: S.optional(__S(425, __c53, 1)),
5259
5786
  }),
5260
5787
  ).annotate({ identifier: "GetRunV1ResponseRelatedRuns" });
5261
5788
  case 3:
@@ -5264,7 +5791,7 @@ function __c46(j: number): any {
5264
5791
  id: S.String,
5265
5792
  externalId: S.optional(S.String),
5266
5793
  deduplicationKey: S.optional(S.String),
5267
- generator: __S(448, __c56, 0),
5794
+ generator: __S(488, __c61, 0),
5268
5795
  }),
5269
5796
  ).annotate({ identifier: "GetRunV1ResponseSchedule" });
5270
5797
  case 4:
@@ -5280,7 +5807,7 @@ function __c46(j: number): any {
5280
5807
  S.Struct({
5281
5808
  id: S.String,
5282
5809
  status: S.String,
5283
- error: S.optional(__S(372, __c46, 4)),
5810
+ error: S.optional(__S(428, __c53, 4)),
5284
5811
  createdAt: S.String,
5285
5812
  updatedAt: S.String,
5286
5813
  startedAt: S.optional(S.String),
@@ -5288,7 +5815,7 @@ function __c46(j: number): any {
5288
5815
  }),
5289
5816
  ).annotate({ identifier: "GetRunV1ResponseAttemptsItem" });
5290
5817
  case 6:
5291
- return S.Array(__S(373, __c46, 5));
5818
+ return S.Array(__S(429, __c53, 5));
5292
5819
  case 7:
5293
5820
  return S.suspend(() =>
5294
5821
  S.Struct({
@@ -5317,14 +5844,14 @@ function __c46(j: number): any {
5317
5844
  payloadPresignedUrl: S.optional(S.String),
5318
5845
  output: S.optional(S.Unknown),
5319
5846
  outputPresignedUrl: S.optional(S.String),
5320
- relatedRuns: S.optional(__S(370, __c46, 2)),
5321
- schedule: S.optional(__S(371, __c46, 3)),
5322
- attempts: __S(374, __c46, 6),
5847
+ relatedRuns: S.optional(__S(426, __c53, 2)),
5848
+ schedule: S.optional(__S(427, __c53, 3)),
5849
+ attempts: __S(430, __c53, 6),
5323
5850
  }),
5324
5851
  ).annotate({ identifier: "GetRunV1Response" });
5325
5852
  }
5326
5853
  }
5327
- function __c47(j: number): any {
5854
+ function __c54(j: number): any {
5328
5855
  switch (j) {
5329
5856
  case 0:
5330
5857
  return S.suspend(() =>
@@ -5334,7 +5861,7 @@ function __c47(j: number): any {
5334
5861
  ).annotate({ identifier: "GetScheduleV1Request" });
5335
5862
  }
5336
5863
  }
5337
- function __c48(j: number): any {
5864
+ function __c55(j: number): any {
5338
5865
  switch (j) {
5339
5866
  case 0:
5340
5867
  return S.suspend(() =>
@@ -5344,7 +5871,21 @@ function __c48(j: number): any {
5344
5871
  ).annotate({ identifier: "GetSessionV1Request" });
5345
5872
  }
5346
5873
  }
5347
- function __c49(j: number): any {
5874
+ function __c56(j: number): any {
5875
+ switch (j) {
5876
+ case 0:
5877
+ return S.suspend(() =>
5878
+ S.Struct({}).pipe(
5879
+ T.Http({
5880
+ method: "GET",
5881
+ uri: "/api/v1/deployments/skew-protection-threshold",
5882
+ code: 200,
5883
+ }),
5884
+ ),
5885
+ ).annotate({ identifier: "GetSkewProtectionThresholdV1Request" });
5886
+ }
5887
+ }
5888
+ function __c57(j: number): any {
5348
5889
  switch (j) {
5349
5890
  case 0:
5350
5891
  return S.suspend(() =>
@@ -5360,7 +5901,7 @@ function __c49(j: number): any {
5360
5901
  ).annotate({ identifier: "GetTimezonesResult" });
5361
5902
  }
5362
5903
  }
5363
- function __c50(j: number): any {
5904
+ function __c58(j: number): any {
5364
5905
  switch (j) {
5365
5906
  case 0:
5366
5907
  return S.suspend(() =>
@@ -5372,7 +5913,7 @@ function __c50(j: number): any {
5372
5913
  ).annotate({ identifier: "GetWaitpointTokenV1Request" });
5373
5914
  }
5374
5915
  }
5375
- function __c51(j: number): any {
5916
+ function __c59(j: number): any {
5376
5917
  switch (j) {
5377
5918
  case 0:
5378
5919
  return S.suspend(() =>
@@ -5393,7 +5934,68 @@ function __c51(j: number): any {
5393
5934
  ).annotate({ identifier: "WaitpointTokenObject" });
5394
5935
  }
5395
5936
  }
5396
- function __c52(j: number): any {
5937
+ function __c60(j: number): any {
5938
+ switch (j) {
5939
+ case 0:
5940
+ return S.suspend(() =>
5941
+ S.Struct({
5942
+ schedule_id: S.String.pipe(T.Label()),
5943
+ }).pipe(
5944
+ T.Http({ method: "POST", uri: "/api/v1/schedules/{schedule_id}/activate", code: 200 }),
5945
+ ),
5946
+ ).annotate({ identifier: "ActivateScheduleV1Request" });
5947
+ }
5948
+ }
5949
+ function __c61(j: number): any {
5950
+ switch (j) {
5951
+ case 0:
5952
+ return S.suspend(() =>
5953
+ S.Struct({
5954
+ type: S.optional(S.String),
5955
+ expression: S.optional(S.String),
5956
+ description: S.optional(S.String),
5957
+ }),
5958
+ ).annotate({ identifier: "ScheduleObjectGenerator" });
5959
+ }
5960
+ }
5961
+ function __c62(j: number): any {
5962
+ switch (j) {
5963
+ case 0:
5964
+ return S.suspend(() =>
5965
+ S.Struct({
5966
+ minimumWindowSeconds: S.optional(S.Number),
5967
+ reason: S.optional(S.String),
5968
+ }),
5969
+ ).annotate({ identifier: "ScheduleObjectAppliedSchedulePolicy" });
5970
+ case 1:
5971
+ return S.suspend(() =>
5972
+ S.Struct({
5973
+ id: S.optional(S.String),
5974
+ type: S.optional(S.String),
5975
+ userName: S.optional(S.String),
5976
+ }),
5977
+ ).annotate({ identifier: "ScheduleEnvironment" });
5978
+ case 2:
5979
+ return S.Array(__S(497, __c62, 1));
5980
+ case 3:
5981
+ return S.suspend(() =>
5982
+ S.Struct({
5983
+ id: S.optional(S.String),
5984
+ task: S.optional(S.String),
5985
+ type: S.optional(S.String),
5986
+ active: S.optional(S.Boolean),
5987
+ deduplicationKey: S.optional(S.String),
5988
+ externalId: S.optional(S.String),
5989
+ generator: S.optional(__S(488, __c61, 0)),
5990
+ timezone: S.optional(S.String),
5991
+ nextRun: S.optional(S.String),
5992
+ appliedSchedulePolicy: S.optional(__S(496, __c62, 0)),
5993
+ environments: S.optional(__S(498, __c62, 2)),
5994
+ }),
5995
+ ).annotate({ identifier: "ScheduleObject" });
5996
+ }
5997
+ }
5998
+ function __c63(j: number): any {
5397
5999
  switch (j) {
5398
6000
  case 0:
5399
6001
  return S.Record(S.String, S.String);
@@ -5423,16 +6025,16 @@ function __c52(j: number): any {
5423
6025
  error: S.NullOr(S.String),
5424
6026
  runId: S.NullOr(S.String),
5425
6027
  sessionId: S.NullOr(S.String),
5426
- waiters: S.NullOr(__S(418, __c52, 2)),
6028
+ waiters: S.NullOr(__S(506, __c63, 2)),
5427
6029
  }),
5428
6030
  ).annotate({ identifier: "WebhookDeliveryTarget" });
5429
6031
  case 4:
5430
- return S.Array(__S(419, __c52, 3));
6032
+ return S.Array(__S(507, __c63, 3));
5431
6033
  case 5:
5432
6034
  return S.suspend(() =>
5433
6035
  S.Struct({
5434
6036
  id: S.String,
5435
- endpoint: S.NullOr(__S(424, __c53, 0)),
6037
+ endpoint: S.NullOr(__S(512, __c64, 0)),
5436
6038
  status: S.String,
5437
6039
  externalDeliveryId: S.String,
5438
6040
  isTest: S.Boolean,
@@ -5440,17 +6042,17 @@ function __c52(j: number): any {
5440
6042
  processedAt: S.NullOr(S.String),
5441
6043
  idempotencyKey: S.String,
5442
6044
  event: S.Unknown,
5443
- headers: S.NullOr(__S(416, __c52, 0)),
6045
+ headers: S.NullOr(__S(504, __c63, 0)),
5444
6046
  rawBodyHash: S.NullOr(S.String),
5445
6047
  error: S.NullOr(S.String),
5446
6048
  filterReason: S.NullOr(S.String),
5447
- targets: __S(420, __c52, 4),
6049
+ targets: __S(508, __c63, 4),
5448
6050
  updatedAt: S.String,
5449
6051
  }),
5450
6052
  ).annotate({ identifier: "GetWebhookDeliveryV1Response" });
5451
6053
  }
5452
6054
  }
5453
- function __c53(j: number): any {
6055
+ function __c64(j: number): any {
5454
6056
  switch (j) {
5455
6057
  case 0:
5456
6058
  return S.suspend(() =>
@@ -5461,7 +6063,7 @@ function __c53(j: number): any {
5461
6063
  ).annotate({ identifier: "GetWebhookDeliveryV1ResponseEndpoint" });
5462
6064
  }
5463
6065
  }
5464
- function __c54(j: number): any {
6066
+ function __c65(j: number): any {
5465
6067
  switch (j) {
5466
6068
  case 0:
5467
6069
  return S.suspend(() =>
@@ -5473,68 +6075,7 @@ function __c54(j: number): any {
5473
6075
  ).annotate({ identifier: "GetWebhookEndpointV1Request" });
5474
6076
  }
5475
6077
  }
5476
- function __c55(j: number): any {
5477
- switch (j) {
5478
- case 0:
5479
- return S.suspend(() =>
5480
- S.Struct({
5481
- schedule_id: S.String.pipe(T.Label()),
5482
- }).pipe(
5483
- T.Http({ method: "POST", uri: "/api/v1/schedules/{schedule_id}/activate", code: 200 }),
5484
- ),
5485
- ).annotate({ identifier: "ActivateScheduleV1Request" });
5486
- }
5487
- }
5488
- function __c56(j: number): any {
5489
- switch (j) {
5490
- case 0:
5491
- return S.suspend(() =>
5492
- S.Struct({
5493
- type: S.optional(S.String),
5494
- expression: S.optional(S.String),
5495
- description: S.optional(S.String),
5496
- }),
5497
- ).annotate({ identifier: "ScheduleObjectGenerator" });
5498
- }
5499
- }
5500
- function __c57(j: number): any {
5501
- switch (j) {
5502
- case 0:
5503
- return S.suspend(() =>
5504
- S.Struct({
5505
- minimumWindowSeconds: S.optional(S.Number),
5506
- reason: S.optional(S.String),
5507
- }),
5508
- ).annotate({ identifier: "ScheduleObjectAppliedSchedulePolicy" });
5509
- case 1:
5510
- return S.suspend(() =>
5511
- S.Struct({
5512
- id: S.optional(S.String),
5513
- type: S.optional(S.String),
5514
- userName: S.optional(S.String),
5515
- }),
5516
- ).annotate({ identifier: "ScheduleEnvironment" });
5517
- case 2:
5518
- return S.Array(__S(457, __c57, 1));
5519
- case 3:
5520
- return S.suspend(() =>
5521
- S.Struct({
5522
- id: S.optional(S.String),
5523
- task: S.optional(S.String),
5524
- type: S.optional(S.String),
5525
- active: S.optional(S.Boolean),
5526
- deduplicationKey: S.optional(S.String),
5527
- externalId: S.optional(S.String),
5528
- generator: S.optional(__S(448, __c56, 0)),
5529
- timezone: S.optional(S.String),
5530
- nextRun: S.optional(S.String),
5531
- appliedSchedulePolicy: S.optional(__S(456, __c57, 0)),
5532
- environments: S.optional(__S(458, __c57, 2)),
5533
- }),
5534
- ).annotate({ identifier: "ScheduleObject" });
5535
- }
5536
- }
5537
- function __c58(j: number): any {
6078
+ function __c66(j: number): any {
5538
6079
  switch (j) {
5539
6080
  case 0:
5540
6081
  return S.suspend(() =>
@@ -5548,26 +6089,26 @@ function __c58(j: number): any {
5548
6089
  ).annotate({ identifier: "IgnoreErrorV1Request" });
5549
6090
  }
5550
6091
  }
5551
- function __c59(j: number): any {
6092
+ function __c67(j: number): any {
5552
6093
  switch (j) {
5553
6094
  case 0:
5554
6095
  return S.suspend(() =>
5555
6096
  S.Struct({
5556
- page: S.optional(__S(480, __c60, 0).pipe(T.Query())),
6097
+ page: S.optional(__S(544, __c68, 0).pipe(T.Query())),
5557
6098
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/bulk-actions", code: 200 })),
5558
6099
  ).annotate({ identifier: "ListBulkActionsV1Request" });
5559
6100
  case 1:
5560
- return S.Array(__S(249, __c31, 1));
6101
+ return S.Array(__S(305, __c38, 1));
5561
6102
  case 2:
5562
6103
  return S.suspend(() =>
5563
6104
  S.Struct({
5564
- data: __S(473, __c59, 1),
5565
- pagination: __S(488, __c61, 0),
6105
+ data: __S(537, __c67, 1),
6106
+ pagination: __S(552, __c69, 0),
5566
6107
  }),
5567
6108
  ).annotate({ identifier: "ListBulkActionsResult" });
5568
6109
  }
5569
6110
  }
5570
- function __c60(j: number): any {
6111
+ function __c68(j: number): any {
5571
6112
  switch (j) {
5572
6113
  case 0:
5573
6114
  return S.suspend(() =>
@@ -5579,7 +6120,7 @@ function __c60(j: number): any {
5579
6120
  ).annotate({ identifier: "ListBulkActionsV1RequestPage" });
5580
6121
  }
5581
6122
  }
5582
- function __c61(j: number): any {
6123
+ function __c69(j: number): any {
5583
6124
  switch (j) {
5584
6125
  case 0:
5585
6126
  return S.suspend(() =>
@@ -5590,7 +6131,7 @@ function __c61(j: number): any {
5590
6131
  ).annotate({ identifier: "ListBulkActionsResultPagination" });
5591
6132
  }
5592
6133
  }
5593
- function __c62(j: number): any {
6134
+ function __c70(j: number): any {
5594
6135
  switch (j) {
5595
6136
  case 0:
5596
6137
  return S.suspend(() =>
@@ -5600,17 +6141,17 @@ function __c62(j: number): any {
5600
6141
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/concurrency-limits", code: 200 })),
5601
6142
  ).annotate({ identifier: "ListConcurrencyLimitsV1Request" });
5602
6143
  case 1:
5603
- return S.Array(__S(513, __c64, 1));
6144
+ return S.Array(__S(577, __c72, 1));
5604
6145
  case 2:
5605
6146
  return S.suspend(() =>
5606
6147
  S.Struct({
5607
- data: S.optional(__S(497, __c62, 1)),
5608
- pagination: S.optional(__S(504, __c63, 0)),
6148
+ data: S.optional(__S(561, __c70, 1)),
6149
+ pagination: S.optional(__S(568, __c71, 0)),
5609
6150
  }),
5610
6151
  ).annotate({ identifier: "ListConcurrencyLimitsV1Response" });
5611
6152
  }
5612
6153
  }
5613
- function __c63(j: number): any {
6154
+ function __c71(j: number): any {
5614
6155
  switch (j) {
5615
6156
  case 0:
5616
6157
  return S.suspend(() =>
@@ -5622,7 +6163,7 @@ function __c63(j: number): any {
5622
6163
  ).annotate({ identifier: "ListConcurrencyLimitsV1ResponsePagination" });
5623
6164
  }
5624
6165
  }
5625
- function __c64(j: number): any {
6166
+ function __c72(j: number): any {
5626
6167
  switch (j) {
5627
6168
  case 0:
5628
6169
  return S.suspend(() =>
@@ -5638,8 +6179,8 @@ function __c64(j: number): any {
5638
6179
  S.Struct({
5639
6180
  id: S.String,
5640
6181
  name: S.String,
5641
- perKey: __S(512, __c64, 0),
5642
- total: __S(512, __c64, 0),
6182
+ perKey: __S(576, __c72, 0),
6183
+ total: __S(576, __c72, 0),
5643
6184
  running: S.Number,
5644
6185
  queued: S.Number,
5645
6186
  paused: S.optional(S.Boolean),
@@ -5647,7 +6188,7 @@ function __c64(j: number): any {
5647
6188
  ).annotate({ identifier: "ConcurrencyLimitObject" });
5648
6189
  }
5649
6190
  }
5650
- function __c65(j: number): any {
6191
+ function __c73(j: number): any {
5651
6192
  switch (j) {
5652
6193
  case 0:
5653
6194
  return S.suspend(() =>
@@ -5663,7 +6204,7 @@ function __c65(j: number): any {
5663
6204
  }),
5664
6205
  ).annotate({ identifier: "ListDashboardsV1ResponseDashboardsItemWidgetsItem" });
5665
6206
  case 2:
5666
- return S.Array(__S(521, __c65, 1));
6207
+ return S.Array(__S(585, __c73, 1));
5667
6208
  case 3:
5668
6209
  return S.suspend(() =>
5669
6210
  S.Struct({
@@ -5671,20 +6212,20 @@ function __c65(j: number): any {
5671
6212
  title: S.optional(S.String),
5672
6213
  type: S.optional(S.String),
5673
6214
  description: S.optional(S.String),
5674
- widgets: S.optional(__S(522, __c65, 2)),
6215
+ widgets: S.optional(__S(586, __c73, 2)),
5675
6216
  }),
5676
6217
  ).annotate({ identifier: "ListDashboardsV1ResponseDashboardsItem" });
5677
6218
  case 4:
5678
- return S.Array(__S(523, __c65, 3));
6219
+ return S.Array(__S(587, __c73, 3));
5679
6220
  case 5:
5680
6221
  return S.suspend(() =>
5681
6222
  S.Struct({
5682
- dashboards: S.optional(__S(524, __c65, 4)),
6223
+ dashboards: S.optional(__S(588, __c73, 4)),
5683
6224
  }),
5684
6225
  ).annotate({ identifier: "ListDashboardsV1Response" });
5685
6226
  }
5686
6227
  }
5687
- function __c66(j: number): any {
6228
+ function __c74(j: number): any {
5688
6229
  switch (j) {
5689
6230
  case 0:
5690
6231
  return S.suspend(() =>
@@ -5714,7 +6255,7 @@ function __c66(j: number): any {
5714
6255
  }),
5715
6256
  ).annotate({ identifier: "ListDeploymentsV1ResponseDataItem" });
5716
6257
  case 2:
5717
- return S.Array(__S(529, __c66, 1));
6258
+ return S.Array(__S(593, __c74, 1));
5718
6259
  case 3:
5719
6260
  return S.suspend(() =>
5720
6261
  S.Struct({
@@ -5724,20 +6265,20 @@ function __c66(j: number): any {
5724
6265
  case 4:
5725
6266
  return S.suspend(() =>
5726
6267
  S.Struct({
5727
- data: S.optional(__S(530, __c66, 2)),
5728
- pagination: S.optional(__S(531, __c66, 3)),
6268
+ data: S.optional(__S(594, __c74, 2)),
6269
+ pagination: S.optional(__S(595, __c74, 3)),
5729
6270
  }),
5730
6271
  ).annotate({ identifier: "ListDeploymentsV1Response" });
5731
6272
  }
5732
6273
  }
5733
- function __c67(j: number): any {
6274
+ function __c75(j: number): any {
5734
6275
  switch (j) {
5735
6276
  case 0:
5736
6277
  return S.suspend(() =>
5737
6278
  S.Struct({
5738
6279
  taskIdentifier: S.optional(__S(16, __c2, 0)),
5739
6280
  version: S.optional(__S(16, __c2, 0)),
5740
- status: S.optional(__S(544, __c68, 0)),
6281
+ status: S.optional(__S(608, __c76, 0)),
5741
6282
  search: S.optional(S.String),
5742
6283
  from: S.optional(S.String),
5743
6284
  to: S.optional(S.String),
@@ -5747,8 +6288,8 @@ function __c67(j: number): any {
5747
6288
  case 1:
5748
6289
  return S.suspend(() =>
5749
6290
  S.Struct({
5750
- page: S.optional(__S(480, __c60, 0).pipe(T.Query())),
5751
- filter: S.optional(__S(536, __c67, 0).pipe(T.Query())),
6291
+ page: S.optional(__S(544, __c68, 0).pipe(T.Query())),
6292
+ filter: S.optional(__S(600, __c75, 0).pipe(T.Query())),
5752
6293
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/errors", code: 200 })),
5753
6294
  ).annotate({ identifier: "ListErrorsV1Request" });
5754
6295
  case 2:
@@ -5768,23 +6309,23 @@ function __c67(j: number): any {
5768
6309
  }),
5769
6310
  ).annotate({ identifier: "ErrorListItem" });
5770
6311
  case 3:
5771
- return S.Array(__S(538, __c67, 2));
6312
+ return S.Array(__S(602, __c75, 2));
5772
6313
  case 4:
5773
6314
  return S.suspend(() =>
5774
6315
  S.Struct({
5775
- data: S.optional(__S(539, __c67, 3)),
5776
- pagination: S.optional(__S(488, __c61, 0)),
6316
+ data: S.optional(__S(603, __c75, 3)),
6317
+ pagination: S.optional(__S(552, __c69, 0)),
5777
6318
  }),
5778
6319
  ).annotate({ identifier: "ListErrorsResult" });
5779
6320
  }
5780
6321
  }
5781
- function __c68(j: number): any {
6322
+ function __c76(j: number): any {
5782
6323
  switch (j) {
5783
6324
  case 0:
5784
6325
  return S.Array(S.String);
5785
6326
  }
5786
6327
  }
5787
- function __c69(j: number): any {
6328
+ function __c77(j: number): any {
5788
6329
  switch (j) {
5789
6330
  case 0:
5790
6331
  return S.suspend(() =>
@@ -5796,12 +6337,12 @@ function __c69(j: number): any {
5796
6337
  ),
5797
6338
  ).annotate({ identifier: "ListProjectEnvvarsV1Request" });
5798
6339
  case 1:
5799
- return S.suspend(() => __S(561, __c70, 1).pipe(T.RawResponseRoot())).annotate({
6340
+ return S.suspend(() => __S(625, __c78, 1).pipe(T.RawResponseRoot())).annotate({
5800
6341
  identifier: "ListProjectEnvvarsV1Response",
5801
6342
  });
5802
6343
  }
5803
6344
  }
5804
- function __c70(j: number): any {
6345
+ function __c78(j: number): any {
5805
6346
  switch (j) {
5806
6347
  case 0:
5807
6348
  return S.suspend(() =>
@@ -5811,16 +6352,16 @@ function __c70(j: number): any {
5811
6352
  }),
5812
6353
  ).annotate({ identifier: "EnvVar" });
5813
6354
  case 1:
5814
- return S.Array(__S(560, __c70, 0));
6355
+ return S.Array(__S(624, __c78, 0));
5815
6356
  }
5816
6357
  }
5817
- function __c71(j: number): any {
6358
+ function __c79(j: number): any {
5818
6359
  switch (j) {
5819
6360
  case 0:
5820
6361
  return S.suspend(() =>
5821
6362
  S.Struct({
5822
- createdAt: S.optional(__S(584, __c73, 0)),
5823
- status: S.optional(__S(544, __c68, 0)),
6363
+ createdAt: S.optional(__S(648, __c81, 0)),
6364
+ status: S.optional(__S(608, __c76, 0)),
5824
6365
  taskIdentifier: S.optional(__S(16, __c2, 0)),
5825
6366
  version: S.optional(__S(16, __c2, 0)),
5826
6367
  bulkAction: S.optional(S.String),
@@ -5828,20 +6369,20 @@ function __c71(j: number): any {
5828
6369
  isTest: S.optional(S.Boolean),
5829
6370
  tag: S.optional(__S(16, __c2, 0)),
5830
6371
  error: S.optional(S.String),
5831
- env: S.optional(__S(544, __c68, 0)),
6372
+ env: S.optional(__S(608, __c76, 0)),
5832
6373
  }),
5833
6374
  ).annotate({ identifier: "ListProjectRunsV1RequestFilter" });
5834
6375
  case 1:
5835
6376
  return S.suspend(() =>
5836
6377
  S.Struct({
5837
6378
  projectRef: S.String.pipe(T.Label()),
5838
- page: S.optional(__S(480, __c60, 0).pipe(T.Query())),
5839
- filter: S.optional(__S(568, __c71, 0).pipe(T.Query())),
6379
+ page: S.optional(__S(544, __c68, 0).pipe(T.Query())),
6380
+ filter: S.optional(__S(632, __c79, 0).pipe(T.Query())),
5840
6381
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/projects/{projectRef}/runs", code: 200 })),
5841
6382
  ).annotate({ identifier: "ListProjectRunsV1Request" });
5842
6383
  }
5843
6384
  }
5844
- function __c72(j: number): any {
6385
+ function __c80(j: number): any {
5845
6386
  switch (j) {
5846
6387
  case 0:
5847
6388
  return S.suspend(() =>
@@ -5858,7 +6399,7 @@ function __c72(j: number): any {
5858
6399
  status: S.String,
5859
6400
  taskIdentifier: S.String,
5860
6401
  version: S.optional(S.String),
5861
- env: __S(576, __c72, 0),
6402
+ env: __S(640, __c80, 0),
5862
6403
  idempotencyKey: S.optional(S.String),
5863
6404
  isTest: S.Boolean,
5864
6405
  createdAt: S.String,
@@ -5875,74 +6416,45 @@ function __c72(j: number): any {
5875
6416
  }),
5876
6417
  ).annotate({ identifier: "ListRunItem" });
5877
6418
  case 2:
5878
- return S.Array(__S(577, __c72, 1));
6419
+ return S.Array(__S(641, __c80, 1));
5879
6420
  case 3:
5880
6421
  return S.suspend(() =>
5881
6422
  S.Struct({
5882
- data: S.optional(__S(578, __c72, 2)),
5883
- pagination: S.optional(__S(488, __c61, 0)),
5884
- }),
5885
- ).annotate({ identifier: "ListRunsResult" });
5886
- }
5887
- }
5888
- function __c73(j: number): any {
5889
- switch (j) {
5890
- case 0:
5891
- return S.suspend(() =>
5892
- S.Struct({
6423
+ period: S.optional(S.String),
5893
6424
  from: S.optional(S.String),
5894
6425
  to: S.optional(S.String),
5895
- period: S.optional(S.String),
6426
+ isDefault: S.optional(S.Boolean),
5896
6427
  }),
5897
- ).annotate({ identifier: "ListProjectRunsV1RequestFilterCreatedAt" });
5898
- }
5899
- }
5900
- function __c74(j: number): any {
5901
- switch (j) {
5902
- case 0:
6428
+ ).annotate({ identifier: "ListRunsResultAppliedFiltersCreatedAt" });
6429
+ case 4:
5903
6430
  return S.suspend(() =>
5904
6431
  S.Struct({
5905
- page: S.optional(S.Number.pipe(T.Query())),
5906
- perPage: S.optional(S.Number.pipe(T.Query())),
5907
- }).pipe(T.Http({ method: "GET", uri: "/api/v1/queues", code: 200 })),
5908
- ).annotate({ identifier: "ListQueuesV1Request" });
5909
- case 1:
5910
- return S.Array(__S(329, __c41, 1));
5911
- case 2:
6432
+ createdAt: S.optional(__S(643, __c80, 3)),
6433
+ }),
6434
+ ).annotate({ identifier: "ListRunsResultAppliedFilters" });
6435
+ case 5:
5912
6436
  return S.suspend(() =>
5913
6437
  S.Struct({
5914
- data: __S(593, __c74, 1),
5915
- pagination: __S(504, __c63, 0),
6438
+ data: S.optional(__S(642, __c80, 2)),
6439
+ pagination: S.optional(__S(552, __c69, 0)),
6440
+ appliedFilters: S.optional(__S(644, __c80, 4)),
5916
6441
  }),
5917
- ).annotate({ identifier: "ListQueuesResult" });
6442
+ ).annotate({ identifier: "ListRunsResult" });
5918
6443
  }
5919
6444
  }
5920
- function __c75(j: number): any {
6445
+ function __c81(j: number): any {
5921
6446
  switch (j) {
5922
6447
  case 0:
5923
6448
  return S.suspend(() =>
5924
6449
  S.Struct({
5925
- createdAt: S.optional(__S(584, __c73, 0)),
5926
- status: S.optional(__S(544, __c68, 0)),
5927
- taskIdentifier: S.optional(__S(16, __c2, 0)),
5928
- version: S.optional(__S(16, __c2, 0)),
5929
- bulkAction: S.optional(S.String),
5930
- schedule: S.optional(S.String),
5931
- isTest: S.optional(S.Boolean),
5932
- tag: S.optional(__S(16, __c2, 0)),
5933
- error: S.optional(S.String),
6450
+ from: S.optional(S.String),
6451
+ to: S.optional(S.String),
6452
+ period: S.optional(S.String),
5934
6453
  }),
5935
- ).annotate({ identifier: "CommonRunsFilter" });
5936
- case 1:
5937
- return S.suspend(() =>
5938
- S.Struct({
5939
- page: S.optional(__S(480, __c60, 0).pipe(T.Query())),
5940
- filter: S.optional(__S(600, __c75, 0).pipe(T.Query())),
5941
- }).pipe(T.Http({ method: "GET", uri: "/api/v1/runs", code: 200 })),
5942
- ).annotate({ identifier: "ListRunsV1Request" });
6454
+ ).annotate({ identifier: "ListProjectRunsV1RequestFilterCreatedAt" });
5943
6455
  }
5944
6456
  }
5945
- function __c76(j: number): any {
6457
+ function __c82(j: number): any {
5946
6458
  switch (j) {
5947
6459
  case 0:
5948
6460
  return S.suspend(() =>
@@ -5953,7 +6465,7 @@ function __c76(j: number): any {
5953
6465
  query: S.optional(S.String),
5954
6466
  display: S.Unknown,
5955
6467
  fillGaps: S.optional(S.Boolean),
5956
- position: S.optional(__S(616, __c77, 0)),
6468
+ position: S.optional(__S(664, __c83, 0)),
5957
6469
  revision: S.optional(S.String),
5958
6470
  }).pipe(
5959
6471
  T.Http({
@@ -5967,12 +6479,12 @@ function __c76(j: number): any {
5967
6479
  return S.suspend(() =>
5968
6480
  S.Struct({
5969
6481
  widgetId: S.optional(S.String),
5970
- dashboard: S.optional(__S(619, __c77, 3)),
6482
+ dashboard: S.optional(__S(667, __c83, 3)),
5971
6483
  }),
5972
6484
  ).annotate({ identifier: "AddDashboardWidgetV1Response" });
5973
6485
  }
5974
6486
  }
5975
- function __c77(j: number): any {
6487
+ function __c83(j: number): any {
5976
6488
  switch (j) {
5977
6489
  case 0:
5978
6490
  return S.suspend(() =>
@@ -5991,11 +6503,11 @@ function __c77(j: number): any {
5991
6503
  query: S.optional(S.String),
5992
6504
  display: S.optional(S.Unknown),
5993
6505
  fillGaps: S.optional(S.Boolean),
5994
- position: S.optional(__S(616, __c77, 0)),
6506
+ position: S.optional(__S(664, __c83, 0)),
5995
6507
  }),
5996
6508
  ).annotate({ identifier: "DashboardObjectWidgetsItem" });
5997
6509
  case 2:
5998
- return S.Array(__S(617, __c77, 1));
6510
+ return S.Array(__S(665, __c83, 1));
5999
6511
  case 3:
6000
6512
  return S.suspend(() =>
6001
6513
  S.Struct({
@@ -6005,12 +6517,57 @@ function __c77(j: number): any {
6005
6517
  revision: S.optional(S.String),
6006
6518
  createdAt: S.optional(S.String),
6007
6519
  updatedAt: S.optional(S.String),
6008
- widgets: S.optional(__S(618, __c77, 2)),
6520
+ widgets: S.optional(__S(666, __c83, 2)),
6009
6521
  }),
6010
6522
  ).annotate({ identifier: "DashboardObject" });
6011
6523
  }
6012
6524
  }
6013
- function __c78(j: number): any {
6525
+ function __c84(j: number): any {
6526
+ switch (j) {
6527
+ case 0:
6528
+ return S.suspend(() =>
6529
+ S.Struct({
6530
+ page: S.optional(S.Number.pipe(T.Query())),
6531
+ perPage: S.optional(S.Number.pipe(T.Query())),
6532
+ }).pipe(T.Http({ method: "GET", uri: "/api/v1/queues", code: 200 })),
6533
+ ).annotate({ identifier: "ListQueuesV1Request" });
6534
+ case 1:
6535
+ return S.Array(__S(385, __c48, 1));
6536
+ case 2:
6537
+ return S.suspend(() =>
6538
+ S.Struct({
6539
+ data: __S(673, __c84, 1),
6540
+ pagination: __S(568, __c71, 0),
6541
+ }),
6542
+ ).annotate({ identifier: "ListQueuesResult" });
6543
+ }
6544
+ }
6545
+ function __c85(j: number): any {
6546
+ switch (j) {
6547
+ case 0:
6548
+ return S.suspend(() =>
6549
+ S.Struct({
6550
+ createdAt: S.optional(__S(648, __c81, 0)),
6551
+ status: S.optional(__S(608, __c76, 0)),
6552
+ taskIdentifier: S.optional(__S(16, __c2, 0)),
6553
+ version: S.optional(__S(16, __c2, 0)),
6554
+ bulkAction: S.optional(S.String),
6555
+ schedule: S.optional(S.String),
6556
+ isTest: S.optional(S.Boolean),
6557
+ tag: S.optional(__S(16, __c2, 0)),
6558
+ error: S.optional(S.String),
6559
+ }),
6560
+ ).annotate({ identifier: "CommonRunsFilter" });
6561
+ case 1:
6562
+ return S.suspend(() =>
6563
+ S.Struct({
6564
+ page: S.optional(__S(544, __c68, 0).pipe(T.Query())),
6565
+ filter: S.optional(__S(680, __c85, 0).pipe(T.Query())),
6566
+ }).pipe(T.Http({ method: "GET", uri: "/api/v1/runs", code: 200 })),
6567
+ ).annotate({ identifier: "ListRunsV1Request" });
6568
+ }
6569
+ }
6570
+ function __c86(j: number): any {
6014
6571
  switch (j) {
6015
6572
  case 0:
6016
6573
  return S.suspend(() =>
@@ -6020,17 +6577,17 @@ function __c78(j: number): any {
6020
6577
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/schedules", code: 200 })),
6021
6578
  ).annotate({ identifier: "ListSchedulesV1Request" });
6022
6579
  case 1:
6023
- return S.Array(__S(459, __c57, 3));
6580
+ return S.Array(__S(499, __c62, 3));
6024
6581
  case 2:
6025
6582
  return S.suspend(() =>
6026
6583
  S.Struct({
6027
- data: S.optional(__S(625, __c78, 1)),
6028
- pagination: S.optional(__S(504, __c63, 0)),
6584
+ data: S.optional(__S(689, __c86, 1)),
6585
+ pagination: S.optional(__S(568, __c71, 0)),
6029
6586
  }),
6030
6587
  ).annotate({ identifier: "ListSchedulesResult" });
6031
6588
  }
6032
6589
  }
6033
- function __c79(j: number): any {
6590
+ function __c87(j: number): any {
6034
6591
  switch (j) {
6035
6592
  case 0:
6036
6593
  return S.suspend(() =>
@@ -6039,29 +6596,29 @@ function __c79(j: number): any {
6039
6596
  tags: S.optional(__S(16, __c2, 0)),
6040
6597
  taskIdentifier: S.optional(__S(16, __c2, 0)),
6041
6598
  externalId: S.optional(S.String),
6042
- status: S.optional(__S(544, __c68, 0)),
6043
- createdAt: S.optional(__S(584, __c73, 0)),
6599
+ status: S.optional(__S(608, __c76, 0)),
6600
+ createdAt: S.optional(__S(648, __c81, 0)),
6044
6601
  }),
6045
6602
  ).annotate({ identifier: "SessionsFilter" });
6046
6603
  case 1:
6047
6604
  return S.suspend(() =>
6048
6605
  S.Struct({
6049
- page: S.optional(__S(480, __c60, 0).pipe(T.Query())),
6050
- filter: S.optional(__S(632, __c79, 0).pipe(T.Query())),
6606
+ page: S.optional(__S(544, __c68, 0).pipe(T.Query())),
6607
+ filter: S.optional(__S(696, __c87, 0).pipe(T.Query())),
6051
6608
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/sessions", code: 200 })),
6052
6609
  ).annotate({ identifier: "ListSessionsV1Request" });
6053
6610
  case 2:
6054
- return S.Array(__S(40, __c5, 0));
6611
+ return S.Array(__S(88, __c11, 0));
6055
6612
  case 3:
6056
6613
  return S.suspend(() =>
6057
6614
  S.Struct({
6058
- data: S.optional(__S(634, __c79, 2)),
6059
- pagination: S.optional(__S(488, __c61, 0)),
6615
+ data: S.optional(__S(698, __c87, 2)),
6616
+ pagination: S.optional(__S(552, __c69, 0)),
6060
6617
  }),
6061
6618
  ).annotate({ identifier: "ListSessionsResult" });
6062
6619
  }
6063
6620
  }
6064
- function __c80(j: number): any {
6621
+ function __c88(j: number): any {
6065
6622
  switch (j) {
6066
6623
  case 0:
6067
6624
  return S.suspend(() =>
@@ -6080,7 +6637,7 @@ function __c80(j: number): any {
6080
6637
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/waitpoints/tokens", code: 200 })),
6081
6638
  ).annotate({ identifier: "ListWaitpointTokensV1Request" });
6082
6639
  case 1:
6083
- return S.Array(__S(408, __c51, 0));
6640
+ return S.Array(__S(472, __c59, 0));
6084
6641
  case 2:
6085
6642
  return S.suspend(() =>
6086
6643
  S.Struct({
@@ -6091,13 +6648,13 @@ function __c80(j: number): any {
6091
6648
  case 3:
6092
6649
  return S.suspend(() =>
6093
6650
  S.Struct({
6094
- data: __S(641, __c80, 1),
6095
- pagination: __S(642, __c80, 2),
6651
+ data: __S(705, __c88, 1),
6652
+ pagination: __S(706, __c88, 2),
6096
6653
  }),
6097
6654
  ).annotate({ identifier: "ListWaitpointTokensResult" });
6098
6655
  }
6099
6656
  }
6100
- function __c81(j: number): any {
6657
+ function __c89(j: number): any {
6101
6658
  switch (j) {
6102
6659
  case 0:
6103
6660
  return S.suspend(() =>
@@ -6116,7 +6673,7 @@ function __c81(j: number): any {
6116
6673
  return S.suspend(() =>
6117
6674
  S.Struct({
6118
6675
  id: S.String,
6119
- endpoint: S.NullOr(__S(424, __c53, 0)),
6676
+ endpoint: S.NullOr(__S(512, __c64, 0)),
6120
6677
  status: S.String,
6121
6678
  externalDeliveryId: S.String,
6122
6679
  isTest: S.Boolean,
@@ -6125,17 +6682,17 @@ function __c81(j: number): any {
6125
6682
  }),
6126
6683
  ).annotate({ identifier: "WebhookDeliveryListItem" });
6127
6684
  case 2:
6128
- return S.Array(__S(649, __c81, 1));
6685
+ return S.Array(__S(713, __c89, 1));
6129
6686
  case 3:
6130
6687
  return S.suspend(() =>
6131
6688
  S.Struct({
6132
- data: __S(650, __c81, 2),
6133
- pagination: __S(488, __c61, 0),
6689
+ data: __S(714, __c89, 2),
6690
+ pagination: __S(552, __c69, 0),
6134
6691
  }),
6135
6692
  ).annotate({ identifier: "ListWebhookDeliveriesResult" });
6136
6693
  }
6137
6694
  }
6138
- function __c82(j: number): any {
6695
+ function __c90(j: number): any {
6139
6696
  switch (j) {
6140
6697
  case 0:
6141
6698
  return S.suspend(() =>
@@ -6160,16 +6717,16 @@ function __c82(j: number): any {
6160
6717
  }),
6161
6718
  ).annotate({ identifier: "WebhookEndpointObject" });
6162
6719
  case 2:
6163
- return S.Array(__S(657, __c82, 1));
6720
+ return S.Array(__S(721, __c90, 1));
6164
6721
  case 3:
6165
6722
  return S.suspend(() =>
6166
6723
  S.Struct({
6167
- data: __S(658, __c82, 2),
6724
+ data: __S(722, __c90, 2),
6168
6725
  }),
6169
6726
  ).annotate({ identifier: "ListWebhookEndpointsResult" });
6170
6727
  }
6171
6728
  }
6172
- function __c83(j: number): any {
6729
+ function __c91(j: number): any {
6173
6730
  switch (j) {
6174
6731
  case 0:
6175
6732
  return S.suspend(() =>
@@ -6186,7 +6743,7 @@ function __c83(j: number): any {
6186
6743
  });
6187
6744
  }
6188
6745
  }
6189
- function __c84(j: number): any {
6746
+ function __c92(j: number): any {
6190
6747
  switch (j) {
6191
6748
  case 0:
6192
6749
  return S.suspend(() =>
@@ -6204,7 +6761,7 @@ function __c84(j: number): any {
6204
6761
  ).annotate({ identifier: "OverrideQueueConcurrencyV1Request" });
6205
6762
  }
6206
6763
  }
6207
- function __c85(j: number): any {
6764
+ function __c93(j: number): any {
6208
6765
  switch (j) {
6209
6766
  case 0:
6210
6767
  return S.suspend(() =>
@@ -6217,7 +6774,24 @@ function __c85(j: number): any {
6217
6774
  ).annotate({ identifier: "PauseConcurrencyLimitV1Request" });
6218
6775
  }
6219
6776
  }
6220
- function __c86(j: number): any {
6777
+ function __c94(j: number): any {
6778
+ switch (j) {
6779
+ case 0:
6780
+ return S.suspend(() =>
6781
+ S.Struct({
6782
+ runId: S.String.pipe(T.Label()),
6783
+ tags: S.Unknown,
6784
+ }).pipe(T.Http({ method: "POST", uri: "/api/v1/runs/{runId}/tags", code: 200 })),
6785
+ ).annotate({ identifier: "AddRunTagsV1Request" });
6786
+ case 1:
6787
+ return S.suspend(() =>
6788
+ S.Struct({
6789
+ message: S.optional(S.String),
6790
+ }),
6791
+ ).annotate({ identifier: "AddRunTagsV1Response" });
6792
+ }
6793
+ }
6794
+ function __c95(j: number): any {
6221
6795
  switch (j) {
6222
6796
  case 0:
6223
6797
  return S.suspend(() =>
@@ -6229,7 +6803,7 @@ function __c86(j: number): any {
6229
6803
  ).annotate({ identifier: "PauseQueueV1Request" });
6230
6804
  }
6231
6805
  }
6232
- function __c87(j: number): any {
6806
+ function __c96(j: number): any {
6233
6807
  switch (j) {
6234
6808
  case 0:
6235
6809
  return S.suspend(() =>
@@ -6242,31 +6816,32 @@ function __c87(j: number): any {
6242
6816
  case 1:
6243
6817
  return S.suspend(() =>
6244
6818
  S.Struct({
6245
- id: S.optional(S.String),
6246
6819
  version: S.optional(S.String),
6247
- shortCode: S.optional(S.String),
6248
6820
  }),
6249
- ).annotate({ identifier: "PromoteDeploymentV1Response" });
6250
- }
6251
- }
6252
- function __c88(j: number): any {
6253
- switch (j) {
6254
- case 0:
6821
+ ).annotate({
6822
+ identifier: "PromoteDeploymentV1ResponseSkewProtectionThresholdClearedThreshold",
6823
+ });
6824
+ case 2:
6825
+ return S.Record(S.String, __S(769, __c96, 1));
6826
+ case 3:
6255
6827
  return S.suspend(() =>
6256
6828
  S.Struct({
6257
- runId: S.String.pipe(T.Label()),
6258
- tags: S.Unknown,
6259
- }).pipe(T.Http({ method: "POST", uri: "/api/v1/runs/{runId}/tags", code: 200 })),
6260
- ).annotate({ identifier: "AddRunTagsV1Request" });
6261
- case 1:
6829
+ threshold: S.optional(S.NullOr(__S(769, __c96, 1))),
6830
+ tasks: S.optional(__S(770, __c96, 2)),
6831
+ }),
6832
+ ).annotate({ identifier: "PromoteDeploymentV1ResponseSkewProtectionThresholdCleared" });
6833
+ case 4:
6262
6834
  return S.suspend(() =>
6263
6835
  S.Struct({
6264
- message: S.optional(S.String),
6836
+ id: S.optional(S.String),
6837
+ version: S.optional(S.String),
6838
+ shortCode: S.optional(S.String),
6839
+ skewProtectionThresholdCleared: S.optional(__S(771, __c96, 3)),
6265
6840
  }),
6266
- ).annotate({ identifier: "AddRunTagsV1Response" });
6841
+ ).annotate({ identifier: "PromoteDeploymentV1Response" });
6267
6842
  }
6268
6843
  }
6269
- function __c89(j: number): any {
6844
+ function __c97(j: number): any {
6270
6845
  switch (j) {
6271
6846
  case 0:
6272
6847
  return S.suspend(() =>
@@ -6274,7 +6849,7 @@ function __c89(j: number): any {
6274
6849
  dashboardId: S.String.pipe(T.Label()),
6275
6850
  title: S.optional(S.String),
6276
6851
  description: S.optional(S.String),
6277
- widgets: __S(97, __c12, 1),
6852
+ widgets: __S(145, __c18, 1),
6278
6853
  revision: S.optional(S.String),
6279
6854
  }).pipe(
6280
6855
  T.Http({ method: "PUT", uri: "/api/v1/query/dashboards/{dashboardId}", code: 200 }),
@@ -6282,7 +6857,7 @@ function __c89(j: number): any {
6282
6857
  ).annotate({ identifier: "ReplaceDashboardV1Request" });
6283
6858
  }
6284
6859
  }
6285
- function __c90(j: number): any {
6860
+ function __c98(j: number): any {
6286
6861
  switch (j) {
6287
6862
  case 0:
6288
6863
  return S.suspend(() =>
@@ -6306,7 +6881,7 @@ function __c90(j: number): any {
6306
6881
  ).annotate({ identifier: "ReplayWebhookDeliveryResponse" });
6307
6882
  }
6308
6883
  }
6309
- function __c91(j: number): any {
6884
+ function __c99(j: number): any {
6310
6885
  switch (j) {
6311
6886
  case 0:
6312
6887
  return S.suspend(() =>
@@ -6323,7 +6898,7 @@ function __c91(j: number): any {
6323
6898
  });
6324
6899
  }
6325
6900
  }
6326
- function __c92(j: number): any {
6901
+ function __c100(j: number): any {
6327
6902
  switch (j) {
6328
6903
  case 0:
6329
6904
  return S.suspend(() =>
@@ -6340,7 +6915,7 @@ function __c92(j: number): any {
6340
6915
  ).annotate({ identifier: "ResetQueueConcurrencyV1Request" });
6341
6916
  }
6342
6917
  }
6343
- function __c93(j: number): any {
6918
+ function __c101(j: number): any {
6344
6919
  switch (j) {
6345
6920
  case 0:
6346
6921
  return S.suspend(() =>
@@ -6351,7 +6926,7 @@ function __c93(j: number): any {
6351
6926
  ).annotate({ identifier: "ResolveErrorV1Request" });
6352
6927
  }
6353
6928
  }
6354
- function __c94(j: number): any {
6929
+ function __c102(j: number): any {
6355
6930
  switch (j) {
6356
6931
  case 0:
6357
6932
  return S.suspend(() =>
@@ -6377,7 +6952,7 @@ function __c94(j: number): any {
6377
6952
  ).annotate({ identifier: "RotateWebhookEndpointSecretResponse" });
6378
6953
  }
6379
6954
  }
6380
- function __c95(j: number): any {
6955
+ function __c103(j: number): any {
6381
6956
  switch (j) {
6382
6957
  case 0:
6383
6958
  return S.suspend(() =>
@@ -6385,7 +6960,7 @@ function __c95(j: number): any {
6385
6960
  runId: S.String.pipe(T.Label()),
6386
6961
  payload: S.optional(S.Unknown),
6387
6962
  payloadType: S.optional(S.String),
6388
- metadata: S.optional(__S(24, __c3, 0)),
6963
+ metadata: S.optional(__S(72, __c9, 0)),
6389
6964
  tags: S.optional(S.Unknown),
6390
6965
  queue: S.optional(S.String),
6391
6966
  concurrencyKey: S.optional(S.String),
@@ -6403,7 +6978,7 @@ function __c95(j: number): any {
6403
6978
  ).annotate({ identifier: "RunReplayV1Request" });
6404
6979
  }
6405
6980
  }
6406
- function __c96(j: number): any {
6981
+ function __c104(j: number): any {
6407
6982
  switch (j) {
6408
6983
  case 0:
6409
6984
  return S.suspend(() =>
@@ -6414,7 +6989,42 @@ function __c96(j: number): any {
6414
6989
  ).annotate({ identifier: "RunRescheduleV1Request" });
6415
6990
  }
6416
6991
  }
6417
- function __c97(j: number): any {
6992
+ function __c105(j: number): any {
6993
+ switch (j) {
6994
+ case 0:
6995
+ return S.suspend(() =>
6996
+ S.Struct({
6997
+ bulkActionId: S.String.pipe(T.Label()),
6998
+ }).pipe(
6999
+ T.Http({ method: "POST", uri: "/api/v1/bulk-actions/{bulkActionId}/abort", code: 200 }),
7000
+ ),
7001
+ ).annotate({ identifier: "BulkAbortActionV1Request" });
7002
+ case 1:
7003
+ return S.suspend(() =>
7004
+ S.Struct({
7005
+ id: S.String,
7006
+ }),
7007
+ ).annotate({ identifier: "AbortBulkActionResponse" });
7008
+ }
7009
+ }
7010
+ function __c106(j: number): any {
7011
+ switch (j) {
7012
+ case 0:
7013
+ return S.suspend(() =>
7014
+ S.Struct({
7015
+ version: S.String,
7016
+ task: S.optional(S.String),
7017
+ }).pipe(
7018
+ T.Http({
7019
+ method: "PUT",
7020
+ uri: "/api/v1/deployments/skew-protection-threshold",
7021
+ code: 200,
7022
+ }),
7023
+ ),
7024
+ ).annotate({ identifier: "SetSkewProtectionThresholdV1Request" });
7025
+ }
7026
+ }
7027
+ function __c107(j: number): any {
6418
7028
  switch (j) {
6419
7029
  case 0:
6420
7030
  return S.suspend(() =>
@@ -6440,28 +7050,28 @@ function __c97(j: number): any {
6440
7050
  ).annotate({ identifier: "SetWebhookEndpointSecretResponse" });
6441
7051
  }
6442
7052
  }
6443
- function __c98(j: number): any {
7053
+ function __c108(j: number): any {
6444
7054
  switch (j) {
6445
7055
  case 0:
6446
7056
  return S.suspend(() =>
6447
7057
  S.Struct({
6448
7058
  payload: S.optional(S.Unknown),
6449
7059
  context: S.optional(S.Unknown),
6450
- options: S.optional(__S(801, __c100, 1)),
7060
+ options: S.optional(__S(881, __c110, 1)),
6451
7061
  }),
6452
7062
  ).annotate({ identifier: "TriggerTaskRequestBody" });
6453
7063
  case 1:
6454
- return S.Array(__S(784, __c98, 0));
7064
+ return S.Array(__S(864, __c108, 0));
6455
7065
  case 2:
6456
7066
  return S.suspend(() =>
6457
7067
  S.Struct({
6458
7068
  taskIdentifier: S.String.pipe(T.Label()),
6459
- items: __S(785, __c98, 1),
7069
+ items: __S(865, __c108, 1),
6460
7070
  }).pipe(T.Http({ method: "POST", uri: "/api/v1/tasks/{taskIdentifier}/batch", code: 200 })),
6461
7071
  ).annotate({ identifier: "TriggerBatchTaskByIdV1Request" });
6462
7072
  }
6463
7073
  }
6464
- function __c99(j: number): any {
7074
+ function __c109(j: number): any {
6465
7075
  switch (j) {
6466
7076
  case 0:
6467
7077
  return S.suspend(() =>
@@ -6472,7 +7082,7 @@ function __c99(j: number): any {
6472
7082
  ).annotate({ identifier: "BatchTriggerTaskResponse" });
6473
7083
  }
6474
7084
  }
6475
- function __c100(j: number): any {
7085
+ function __c110(j: number): any {
6476
7086
  switch (j) {
6477
7087
  case 0:
6478
7088
  return S.suspend(() =>
@@ -6484,7 +7094,7 @@ function __c100(j: number): any {
6484
7094
  case 1:
6485
7095
  return S.suspend(() =>
6486
7096
  S.Struct({
6487
- queue: S.optional(__S(800, __c100, 0)),
7097
+ queue: S.optional(__S(880, __c110, 0)),
6488
7098
  concurrencyKey: S.optional(S.String),
6489
7099
  idempotencyKey: S.optional(S.String),
6490
7100
  ttl: S.optional(S.Unknown),
@@ -6495,46 +7105,28 @@ function __c100(j: number): any {
6495
7105
  ).annotate({ identifier: "TriggerTaskRequestBodyOptions" });
6496
7106
  }
6497
7107
  }
6498
- function __c101(j: number): any {
6499
- switch (j) {
6500
- case 0:
6501
- return S.suspend(() =>
6502
- S.Struct({
6503
- bulkActionId: S.String.pipe(T.Label()),
6504
- }).pipe(
6505
- T.Http({ method: "POST", uri: "/api/v1/bulk-actions/{bulkActionId}/abort", code: 200 }),
6506
- ),
6507
- ).annotate({ identifier: "BulkAbortActionV1Request" });
6508
- case 1:
6509
- return S.suspend(() =>
6510
- S.Struct({
6511
- id: S.String,
6512
- }),
6513
- ).annotate({ identifier: "AbortBulkActionResponse" });
6514
- }
6515
- }
6516
- function __c102(j: number): any {
7108
+ function __c111(j: number): any {
6517
7109
  switch (j) {
6518
7110
  case 0:
6519
7111
  return S.suspend(() =>
6520
7112
  S.Struct({
6521
7113
  payload: S.optional(S.Unknown),
6522
7114
  context: S.optional(S.Unknown),
6523
- options: S.optional(__S(801, __c100, 1)),
7115
+ options: S.optional(__S(881, __c110, 1)),
6524
7116
  task: S.String,
6525
7117
  }),
6526
7118
  ).annotate({ identifier: "BatchTriggerTaskRequestBodyItem" });
6527
7119
  case 1:
6528
- return S.Array(__S(816, __c102, 0));
7120
+ return S.Array(__S(888, __c111, 0));
6529
7121
  case 2:
6530
7122
  return S.suspend(() =>
6531
7123
  S.Struct({
6532
- items: __S(817, __c102, 1),
7124
+ items: __S(889, __c111, 1),
6533
7125
  }).pipe(T.Http({ method: "POST", uri: "/api/v1/tasks/batch", code: 200 })),
6534
7126
  ).annotate({ identifier: "TriggerBatchTaskV1Request" });
6535
7127
  }
6536
7128
  }
6537
- function __c103(j: number): any {
7129
+ function __c112(j: number): any {
6538
7130
  switch (j) {
6539
7131
  case 0:
6540
7132
  return S.suspend(() =>
@@ -6542,14 +7134,14 @@ function __c103(j: number): any {
6542
7134
  taskIdentifier: S.String.pipe(T.Label()),
6543
7135
  payload: S.optional(S.Unknown),
6544
7136
  context: S.optional(S.Unknown),
6545
- options: S.optional(__S(801, __c100, 1)),
7137
+ options: S.optional(__S(881, __c110, 1)),
6546
7138
  }).pipe(
6547
7139
  T.Http({ method: "POST", uri: "/api/v1/tasks/{taskIdentifier}/trigger", code: 200 }),
6548
7140
  ),
6549
7141
  ).annotate({ identifier: "TriggerTaskV1Request" });
6550
7142
  }
6551
7143
  }
6552
- function __c104(j: number): any {
7144
+ function __c113(j: number): any {
6553
7145
  switch (j) {
6554
7146
  case 0:
6555
7147
  return S.suspend(() =>
@@ -6559,7 +7151,7 @@ function __c104(j: number): any {
6559
7151
  ).annotate({ identifier: "UnresolveErrorV1Request" });
6560
7152
  }
6561
7153
  }
6562
- function __c105(j: number): any {
7154
+ function __c114(j: number): any {
6563
7155
  switch (j) {
6564
7156
  case 0:
6565
7157
  return S.suspend(() =>
@@ -6574,7 +7166,7 @@ function __c105(j: number): any {
6574
7166
  ).annotate({ identifier: "UpdateDashboardV1Request" });
6575
7167
  }
6576
7168
  }
6577
- function __c106(j: number): any {
7169
+ function __c115(j: number): any {
6578
7170
  switch (j) {
6579
7171
  case 0:
6580
7172
  return S.suspend(() =>
@@ -6585,7 +7177,7 @@ function __c106(j: number): any {
6585
7177
  query: S.optional(S.String),
6586
7178
  display: S.optional(S.Unknown),
6587
7179
  fillGaps: S.optional(S.Boolean),
6588
- position: S.optional(__S(616, __c77, 0)),
7180
+ position: S.optional(__S(664, __c83, 0)),
6589
7181
  revision: S.optional(S.String),
6590
7182
  }).pipe(
6591
7183
  T.Http({
@@ -6597,7 +7189,7 @@ function __c106(j: number): any {
6597
7189
  ).annotate({ identifier: "UpdateDashboardWidgetV1Request" });
6598
7190
  }
6599
7191
  }
6600
- function __c107(j: number): any {
7192
+ function __c116(j: number): any {
6601
7193
  switch (j) {
6602
7194
  case 0:
6603
7195
  return S.suspend(() =>
@@ -6616,7 +7208,7 @@ function __c107(j: number): any {
6616
7208
  ).annotate({ identifier: "UpdateProjectEnvvarV1Request" });
6617
7209
  }
6618
7210
  }
6619
- function __c108(j: number): any {
7211
+ function __c117(j: number): any {
6620
7212
  switch (j) {
6621
7213
  case 0:
6622
7214
  return S.suspend(() =>
@@ -6633,7 +7225,27 @@ function __c108(j: number): any {
6633
7225
  ).annotate({ identifier: "UpdateRunMetadataV1Response" });
6634
7226
  }
6635
7227
  }
6636
- function __c109(j: number): any {
7228
+ function __c118(j: number): any {
7229
+ switch (j) {
7230
+ case 0:
7231
+ return S.suspend(() =>
7232
+ S.Struct({
7233
+ runId: S.String.pipe(T.Label()),
7234
+ }).pipe(T.Http({ method: "POST", uri: "/api/v2/runs/{runId}/cancel", code: 200 })),
7235
+ ).annotate({ identifier: "CancelRunV1Request" });
7236
+ }
7237
+ }
7238
+ function __c119(j: number): any {
7239
+ switch (j) {
7240
+ case 0:
7241
+ return S.suspend(() =>
7242
+ S.Struct({
7243
+ id: S.optional(S.String),
7244
+ }),
7245
+ ).annotate({ identifier: "CancelRunV1Response" });
7246
+ }
7247
+ }
7248
+ function __c120(j: number): any {
6637
7249
  switch (j) {
6638
7250
  case 0:
6639
7251
  return S.suspend(() =>
@@ -6647,27 +7259,27 @@ function __c109(j: number): any {
6647
7259
  ).annotate({ identifier: "UpdateScheduleV1Request" });
6648
7260
  }
6649
7261
  }
6650
- function __c110(j: number): any {
7262
+ function __c121(j: number): any {
6651
7263
  switch (j) {
6652
7264
  case 0:
6653
7265
  return S.suspend(() =>
6654
7266
  S.Struct({
6655
7267
  session: S.String.pipe(T.Label()),
6656
7268
  tags: S.optional(__S(16, __c2, 0)),
6657
- metadata: S.optional(S.NullOr(__S(24, __c3, 0))),
7269
+ metadata: S.optional(S.NullOr(__S(72, __c9, 0))),
6658
7270
  externalId: S.optional(S.NullOr(S.String)),
6659
7271
  }).pipe(T.Http({ method: "PATCH", uri: "/api/v1/sessions/{session}", code: 200 })),
6660
7272
  ).annotate({ identifier: "UpdateSessionV1Request" });
6661
7273
  }
6662
7274
  }
6663
- function __c111(j: number): any {
7275
+ function __c122(j: number): any {
6664
7276
  switch (j) {
6665
7277
  case 0:
6666
7278
  return S.suspend(() =>
6667
7279
  S.Struct({
6668
7280
  projectRef: S.String.pipe(T.Label()),
6669
7281
  env: S.String.pipe(T.Label()),
6670
- variables: __S(561, __c70, 1),
7282
+ variables: __S(625, __c78, 1),
6671
7283
  override: S.optional(S.Boolean),
6672
7284
  }).pipe(
6673
7285
  T.Http({
@@ -6679,26 +7291,6 @@ function __c111(j: number): any {
6679
7291
  ).annotate({ identifier: "UploadProjectEnvvarsV1Request" });
6680
7292
  }
6681
7293
  }
6682
- function __c112(j: number): any {
6683
- switch (j) {
6684
- case 0:
6685
- return S.suspend(() =>
6686
- S.Struct({
6687
- runId: S.String.pipe(T.Label()),
6688
- }).pipe(T.Http({ method: "POST", uri: "/api/v2/runs/{runId}/cancel", code: 200 })),
6689
- ).annotate({ identifier: "CancelRunV1Request" });
6690
- }
6691
- }
6692
- function __c113(j: number): any {
6693
- switch (j) {
6694
- case 0:
6695
- return S.suspend(() =>
6696
- S.Struct({
6697
- id: S.optional(S.String),
6698
- }),
6699
- ).annotate({ identifier: "CancelRunV1Response" });
6700
- }
6701
- }
6702
7294
  // Schema table: entry i is schema j of builder f, made on first reach.
6703
7295
  function __S(i: number, f: (j: number) => unknown, j: number): any {
6704
7296
  return (__s[i] ??= __L.at(f, j));