@distilled.cloud/trigger-dev 1.0.0-rc.21 → 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.
@@ -40,6 +40,7 @@ export class BadRequest
40
40
  /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
41
41
  /*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
42
42
  /*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)),
43
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
43
44
  /*@__PURE__*/ S.suspend(() => __S(33, __c4, 1)),
44
45
  /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
45
46
  /*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)),
@@ -58,6 +59,7 @@ export class BadRequest
58
59
  | Error403Body
59
60
  | ErrorResponse
60
61
  | Error400Body3
62
+ | SkewProtectionThresholdError
61
63
  | InvalidEnvVarsRequestResponse
62
64
  | Error400Body4
63
65
  | Error400Body5
@@ -76,6 +78,7 @@ export class Conflict
76
78
  /*@__PURE__*/ S.Union([
77
79
  /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
78
80
  /*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
81
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
79
82
  S.String,
80
83
  ]),
81
84
  ),
@@ -84,7 +87,7 @@ export class Conflict
84
87
  [{ status: 409 }],
85
88
  )
86
89
  {
87
- declare readonly body?: Error403Body | ErrorResponse | string;
90
+ declare readonly body?: Error403Body | ErrorResponse | SkewProtectionThresholdError | string;
88
91
  }
89
92
 
90
93
  export class Forbidden
@@ -120,6 +123,7 @@ export class NotFound
120
123
  /*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
121
124
  /*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)),
122
125
  /*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)),
126
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
123
127
  /*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)),
124
128
  S.String,
125
129
  ]),
@@ -136,6 +140,7 @@ export class NotFound
136
140
  | ErrorResponse
137
141
  | Error404Body4
138
142
  | Error404Body2
143
+ | SkewProtectionThresholdError
139
144
  | Error404Body3
140
145
  | string;
141
146
  }
@@ -359,6 +364,35 @@ export interface CancelWebhookWaiterResponse {
359
364
  /** With `too_late`, the delivery that resumed the run. */
360
365
  deliveryId?: string | undefined;
361
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
+ }
362
396
  export interface CloseSessionV1Request {
363
397
  /** The session's friendly ID (`session_...`) or your `externalId`. The server disambiguates by the `session_` prefix. */
364
398
  session: string;
@@ -843,14 +877,14 @@ export interface EnableWebhookEndpointV1Response {
843
877
  /** Instructions for an AI coding agent to register the endpoint with its provider and set up the signing secret. */
844
878
  setupPrompt: string;
845
879
  }
846
- /** 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. */
847
881
  export type ExecuteQueryV1RequestScope = "environment" | "project" | "organization";
848
882
  /** Response format - "json" returns structured data (default), "csv" returns CSV string */
849
883
  export type ExecuteQueryV1RequestFormat = "json" | "csv";
850
884
  export interface ExecuteQueryV1Request {
851
885
  /** The TRQL query to execute */
852
886
  query: string;
853
- /** 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. */
854
888
  scope?: ExecuteQueryV1RequestScope | (string & {}) | undefined;
855
889
  /** Time period shorthand (e.g., "7d", "30d", "1h"). Cannot be used with from/to. */
856
890
  period?: string | null | undefined;
@@ -1666,6 +1700,7 @@ export interface GetSessionV1Request {
1666
1700
  /** The session's friendly ID (`session_...`) or your `externalId`. The server disambiguates by the `session_` prefix. */
1667
1701
  session: string;
1668
1702
  }
1703
+ export interface GetSkewProtectionThresholdV1Request {}
1669
1704
  export interface GetTimezonesV1Request {
1670
1705
  /** Defaults to false. Whether to include UTC in the results or not. */
1671
1706
  excludeUtc?: boolean | undefined;
@@ -2065,6 +2100,7 @@ export interface ListProjectRunsV1RequestPage {
2065
2100
  /** The ID of the run to start the page before. This will set the direction of the pagination to backward. */
2066
2101
  before?: string | undefined;
2067
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. */
2068
2104
  export interface ListProjectRunsV1RequestFilterCreatedAt {
2069
2105
  /** The start date to filter the runs by */
2070
2106
  from?: string | undefined;
@@ -2101,6 +2137,7 @@ export type ListProjectRunsV1RequestFilterEnvList = Array<
2101
2137
  ListProjectRunsV1RequestFilterEnvItem | (string & {})
2102
2138
  >;
2103
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. */
2104
2141
  createdAt?: ListProjectRunsV1RequestFilterCreatedAt | undefined;
2105
2142
  status?: ListProjectRunsV1RequestFilterStatusList | undefined;
2106
2143
  /** The identifier of the task that was run */
@@ -2193,9 +2230,27 @@ export interface ListRunsResultPagination {
2193
2230
  /** The run ID to start the previous page before. This should be used as the `page[before]` parameter in the next request. */
2194
2231
  previous?: string | undefined;
2195
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
+ }
2196
2249
  export interface ListRunsResult {
2197
2250
  data?: ListRunsResultDataList | undefined;
2198
2251
  pagination?: ListRunsResultPagination | undefined;
2252
+ /** The filters the list was run with, including defaults the request didn't set. */
2253
+ appliedFilters?: ListRunsResultAppliedFilters | undefined;
2199
2254
  }
2200
2255
  export interface ListQueuesV1Request {
2201
2256
  /** Page number of the queue listing (1-based) */
@@ -2219,6 +2274,7 @@ export interface ListQueuesResult {
2219
2274
  pagination: ListQueuesResultPagination;
2220
2275
  }
2221
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. */
2222
2278
  export type CommonRunsFilterCreatedAt = ListProjectRunsV1RequestFilterCreatedAt;
2223
2279
  /** The status of the run */
2224
2280
  export type CommonRunsFilterStatusItem =
@@ -2241,6 +2297,7 @@ export type CommonRunsFilterVersionList = Array<string>;
2241
2297
  /** The tags that are attached to the run */
2242
2298
  export type CommonRunsFilterTagList = Array<string>;
2243
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. */
2244
2301
  createdAt?: ListProjectRunsV1RequestFilterCreatedAt | undefined;
2245
2302
  status?: CommonRunsFilterStatusList | undefined;
2246
2303
  /** The identifier of the task that was run */
@@ -2506,6 +2563,26 @@ export interface PromoteDeploymentV1Request {
2506
2563
  /** The deployment version to promote (e.g., "20250228.1"). */
2507
2564
  version: string;
2508
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
+ }
2509
2586
  export interface PromoteDeploymentV1Response {
2510
2587
  /** The deployment ID */
2511
2588
  id?: string | undefined;
@@ -2513,6 +2590,10 @@ export interface PromoteDeploymentV1Response {
2513
2590
  version?: string | undefined;
2514
2591
  /** The short code for the deployment */
2515
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;
2516
2597
  }
2517
2598
  export type ReplaceDashboardV1RequestWidgetsList = Array<DashboardWidgetInput>;
2518
2599
  export interface ReplaceDashboardV1Request {
@@ -2754,6 +2835,12 @@ export interface RunRescheduleV1Response {
2754
2835
  schedule?: RunRescheduleV1ResponseSchedule | undefined;
2755
2836
  attempts: RunRescheduleV1ResponseAttemptsList;
2756
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
+ }
2757
2844
  export interface SetWebhookEndpointSecretV1Request {
2758
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. */
2759
2846
  endpointId: string;
@@ -2979,6 +3066,7 @@ export type Error400BodyError2 = "Invalid or missing run ID" | "Failed to create
2979
3066
  export interface Error400Body3 {
2980
3067
  error?: Error400BodyError2 | undefined;
2981
3068
  }
3069
+ export type SkewProtectionThresholdError = Error403Body;
2982
3070
  export type InvalidEnvVarsRequestResponseIssuesList = Array<unknown>;
2983
3071
  export type InvalidEnvVarsRequestResponseVariableErrorsList = Array<unknown>;
2984
3072
  export interface InvalidEnvVarsRequestResponse {
@@ -3085,8 +3173,8 @@ export const addDashboardWidgetV1: API.OperationMethod<
3085
3173
  AddDashboardWidgetV1Error,
3086
3174
  TriggerDevOpContext
3087
3175
  > = /*@__PURE__*/ API.make(() => ({
3088
- input: __S(648, __c81, 0) as any as S.Schema<AddDashboardWidgetV1Request>,
3089
- output: __S(649, __c81, 1) as any as S.Schema<AddDashboardWidgetV1Response>,
3176
+ input: __S(656, __c82, 0) as any as S.Schema<AddDashboardWidgetV1Request>,
3177
+ output: __S(657, __c82, 1) as any as S.Schema<AddDashboardWidgetV1Response>,
3090
3178
  errors: [BadRequest, Forbidden, NotFound, Conflict],
3091
3179
  serviceErrors: TriggerDevServiceErrors,
3092
3180
  protocol: TriggerDevProtocol,
@@ -3103,8 +3191,8 @@ export const addRunTagsV1: API.OperationMethod<
3103
3191
  AddRunTagsV1Error,
3104
3192
  TriggerDevOpContext
3105
3193
  > = /*@__PURE__*/ API.make(() => ({
3106
- input: __S(744, __c93, 0) as any as S.Schema<AddRunTagsV1Request>,
3107
- output: __S(745, __c93, 1) as any as S.Schema<AddRunTagsV1Response>,
3194
+ input: __S(752, __c94, 0) as any as S.Schema<AddRunTagsV1Request>,
3195
+ output: __S(753, __c94, 1) as any as S.Schema<AddRunTagsV1Response>,
3108
3196
  errors: [BadRequest, UnprocessableEntity],
3109
3197
  serviceErrors: TriggerDevServiceErrors,
3110
3198
  protocol: TriggerDevProtocol,
@@ -3121,8 +3209,8 @@ export const bulkAbortActionV1: API.OperationMethod<
3121
3209
  BulkAbortActionV1Error,
3122
3210
  TriggerDevOpContext
3123
3211
  > = /*@__PURE__*/ API.make(() => ({
3124
- input: __S(848, __c106, 0) as any as S.Schema<BulkAbortActionV1Request>,
3125
- output: __S(849, __c106, 1) as any as S.Schema<AbortBulkActionResponse>,
3212
+ input: __S(840, __c105, 0) as any as S.Schema<BulkAbortActionV1Request>,
3213
+ output: __S(841, __c105, 1) as any as S.Schema<AbortBulkActionResponse>,
3126
3214
  errors: [BadRequest, NotFound],
3127
3215
  serviceErrors: TriggerDevServiceErrors,
3128
3216
  protocol: TriggerDevProtocol,
@@ -3139,8 +3227,8 @@ export const cancelRunV1: API.OperationMethod<
3139
3227
  CancelRunV1Error,
3140
3228
  TriggerDevOpContext
3141
3229
  > = /*@__PURE__*/ API.make(() => ({
3142
- input: __S(936, __c117, 0) as any as S.Schema<CancelRunV1Request>,
3143
- output: __S(944, __c118, 0) as any as S.Schema<CancelRunV1Response>,
3230
+ input: __S(944, __c118, 0) as any as S.Schema<CancelRunV1Request>,
3231
+ output: __S(952, __c119, 0) as any as S.Schema<CancelRunV1Response>,
3144
3232
  errors: [BadRequest, NotFound],
3145
3233
  serviceErrors: TriggerDevServiceErrors,
3146
3234
  protocol: TriggerDevProtocol,
@@ -3167,6 +3255,24 @@ export const cancelWebhookWaiterV1: API.OperationMethod<
3167
3255
  span: "CancelWebhookWaiterV1",
3168
3256
  }));
3169
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
+
3170
3276
  export type CloseSessionV1Error = NotFound | TriggerDevOpError;
3171
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. */
3172
3278
  export const closeSessionV1: API.OperationMethod<
@@ -3175,8 +3281,8 @@ export const closeSessionV1: API.OperationMethod<
3175
3281
  CloseSessionV1Error,
3176
3282
  TriggerDevOpContext
3177
3283
  > = /*@__PURE__*/ API.make(() => ({
3178
- input: __S(48, __c6, 0) as any as S.Schema<CloseSessionV1Request>,
3179
- output: __S(72, __c9, 0) as any as S.Schema<SessionObject>,
3284
+ input: __S(64, __c8, 0) as any as S.Schema<CloseSessionV1Request>,
3285
+ output: __S(88, __c11, 0) as any as S.Schema<SessionObject>,
3180
3286
  errors: [NotFound],
3181
3287
  serviceErrors: TriggerDevServiceErrors,
3182
3288
  protocol: TriggerDevProtocol,
@@ -3193,8 +3299,8 @@ export const completeWaitpointTokenCallbackV1: API.OperationMethod<
3193
3299
  CompleteWaitpointTokenCallbackV1Error,
3194
3300
  TriggerDevOpContext
3195
3301
  > = /*@__PURE__*/ API.make(() => ({
3196
- input: __S(80, __c10, 0) as any as S.Schema<CompleteWaitpointTokenCallbackV1Request>,
3197
- output: __S(88, __c11, 0) as any as S.Schema<CompleteWaitpointTokenResponse>,
3302
+ input: __S(96, __c12, 0) as any as S.Schema<CompleteWaitpointTokenCallbackV1Request>,
3303
+ output: __S(104, __c13, 0) as any as S.Schema<CompleteWaitpointTokenResponse>,
3198
3304
  errors: [NotFound],
3199
3305
  serviceErrors: TriggerDevServiceErrors,
3200
3306
  protocol: TriggerDevProtocol,
@@ -3211,8 +3317,8 @@ export const completeWaitpointTokenV1: API.OperationMethod<
3211
3317
  CompleteWaitpointTokenV1Error,
3212
3318
  TriggerDevOpContext
3213
3319
  > = /*@__PURE__*/ API.make(() => ({
3214
- input: __S(96, __c12, 0) as any as S.Schema<CompleteWaitpointTokenV1Request>,
3215
- output: __S(88, __c11, 0) as any as S.Schema<CompleteWaitpointTokenResponse>,
3320
+ input: __S(112, __c14, 0) as any as S.Schema<CompleteWaitpointTokenV1Request>,
3321
+ output: __S(104, __c13, 0) as any as S.Schema<CompleteWaitpointTokenResponse>,
3216
3322
  errors: [NotFound],
3217
3323
  serviceErrors: TriggerDevServiceErrors,
3218
3324
  protocol: TriggerDevProtocol,
@@ -3229,8 +3335,8 @@ export const createBulkActionV1: API.OperationMethod<
3229
3335
  CreateBulkActionV1Error,
3230
3336
  TriggerDevOpContext
3231
3337
  > = /*@__PURE__*/ API.make(() => ({
3232
- input: __S(104, __c13, 0) as any as S.Schema<CreateBulkActionV1Request>,
3233
- output: __S(112, __c14, 0) as any as S.Schema<CreateBulkActionV1Response>,
3338
+ input: __S(120, __c15, 0) as any as S.Schema<CreateBulkActionV1Request>,
3339
+ output: __S(128, __c16, 0) as any as S.Schema<CreateBulkActionV1Response>,
3234
3340
  errors: [BadRequest, UnprocessableEntity],
3235
3341
  serviceErrors: TriggerDevServiceErrors,
3236
3342
  protocol: TriggerDevProtocol,
@@ -3247,8 +3353,8 @@ export const createDashboardV1: API.OperationMethod<
3247
3353
  CreateDashboardV1Error,
3248
3354
  TriggerDevOpContext
3249
3355
  > = /*@__PURE__*/ API.make(() => ({
3250
- input: __S(120, __c15, 0) as any as S.Schema<CreateDashboardV1Request>,
3251
- output: __S(659, __c82, 3) as any as S.Schema<DashboardObject>,
3356
+ input: __S(136, __c17, 0) as any as S.Schema<CreateDashboardV1Request>,
3357
+ output: __S(667, __c83, 3) as any as S.Schema<DashboardObject>,
3252
3358
  errors: [BadRequest, Forbidden],
3253
3359
  serviceErrors: TriggerDevServiceErrors,
3254
3360
  protocol: TriggerDevProtocol,
@@ -3265,8 +3371,8 @@ export const createProjectEnvvarV1: API.OperationMethod<
3265
3371
  CreateProjectEnvvarV1Error,
3266
3372
  TriggerDevOpContext
3267
3373
  > = /*@__PURE__*/ API.make(() => ({
3268
- input: __S(136, __c17, 0) as any as S.Schema<CreateProjectEnvvarV1Request>,
3269
- output: __S(88, __c11, 0) as any as S.Schema<SucceedResponse>,
3374
+ input: __S(152, __c19, 0) as any as S.Schema<CreateProjectEnvvarV1Request>,
3375
+ output: __S(104, __c13, 0) as any as S.Schema<SucceedResponse>,
3270
3376
  errors: [BadRequest, NotFound, Conflict],
3271
3377
  serviceErrors: TriggerDevServiceErrors,
3272
3378
  protocol: TriggerDevProtocol,
@@ -3283,7 +3389,7 @@ export const createScheduleV1: API.OperationMethod<
3283
3389
  CreateScheduleV1Error,
3284
3390
  TriggerDevOpContext
3285
3391
  > = /*@__PURE__*/ API.make(() => ({
3286
- input: __S(144, __c18, 0) as any as S.Schema<CreateScheduleV1Request>,
3392
+ input: __S(160, __c20, 0) as any as S.Schema<CreateScheduleV1Request>,
3287
3393
  output: __S(499, __c62, 3) as any as S.Schema<ScheduleObject>,
3288
3394
  errors: [BadRequest, UnprocessableEntity],
3289
3395
  serviceErrors: TriggerDevServiceErrors,
@@ -3301,8 +3407,8 @@ export const createSessionV1: API.OperationMethod<
3301
3407
  CreateSessionV1Error,
3302
3408
  TriggerDevOpContext
3303
3409
  > = /*@__PURE__*/ API.make(() => ({
3304
- input: __S(152, __c19, 0) as any as S.Schema<CreateSessionV1Request>,
3305
- output: __S(153, __c19, 1) as any as S.Schema<CreateSessionV1Response>,
3410
+ input: __S(168, __c21, 0) as any as S.Schema<CreateSessionV1Request>,
3411
+ output: __S(169, __c21, 1) as any as S.Schema<CreateSessionV1Response>,
3306
3412
  errors: [Conflict, UnprocessableEntity],
3307
3413
  serviceErrors: TriggerDevServiceErrors,
3308
3414
  protocol: TriggerDevProtocol,
@@ -3319,8 +3425,8 @@ export const createWaitpointTokenV1: API.OperationMethod<
3319
3425
  CreateWaitpointTokenV1Error,
3320
3426
  TriggerDevOpContext
3321
3427
  > = /*@__PURE__*/ API.make(() => ({
3322
- input: __S(160, __c20, 0) as any as S.Schema<CreateWaitpointTokenV1Request>,
3323
- output: __S(161, __c20, 1) as any as S.Schema<CreateWaitpointTokenResponse>,
3428
+ input: __S(176, __c22, 0) as any as S.Schema<CreateWaitpointTokenV1Request>,
3429
+ output: __S(177, __c22, 1) as any as S.Schema<CreateWaitpointTokenResponse>,
3324
3430
  errors: [UnprocessableEntity],
3325
3431
  serviceErrors: TriggerDevServiceErrors,
3326
3432
  protocol: TriggerDevProtocol,
@@ -3337,8 +3443,8 @@ export const createWebhookWaiterV1: API.OperationMethod<
3337
3443
  CreateWebhookWaiterV1Error,
3338
3444
  TriggerDevOpContext
3339
3445
  > = /*@__PURE__*/ API.make(() => ({
3340
- input: __S(169, __c21, 1) as any as S.Schema<CreateWebhookWaiterV1Request>,
3341
- output: __S(170, __c21, 2) as any as S.Schema<CreateWebhookWaiterResponse>,
3446
+ input: __S(185, __c23, 1) as any as S.Schema<CreateWebhookWaiterV1Request>,
3447
+ output: __S(186, __c23, 2) as any as S.Schema<CreateWebhookWaiterResponse>,
3342
3448
  errors: [NotFound, UnprocessableEntity],
3343
3449
  serviceErrors: TriggerDevServiceErrors,
3344
3450
  protocol: TriggerDevProtocol,
@@ -3355,7 +3461,7 @@ export const deactivateScheduleV1: API.OperationMethod<
3355
3461
  DeactivateScheduleV1Error,
3356
3462
  TriggerDevOpContext
3357
3463
  > = /*@__PURE__*/ API.make(() => ({
3358
- input: __S(176, __c22, 0) as any as S.Schema<DeactivateScheduleV1Request>,
3464
+ input: __S(192, __c24, 0) as any as S.Schema<DeactivateScheduleV1Request>,
3359
3465
  output: __S(499, __c62, 3) as any as S.Schema<ScheduleObject>,
3360
3466
  errors: [NotFound],
3361
3467
  serviceErrors: TriggerDevServiceErrors,
@@ -3373,8 +3479,8 @@ export const deleteDashboardV1: API.OperationMethod<
3373
3479
  DeleteDashboardV1Error,
3374
3480
  TriggerDevOpContext
3375
3481
  > = /*@__PURE__*/ API.make(() => ({
3376
- input: __S(184, __c23, 0) as any as S.Schema<DeleteDashboardV1Request>,
3377
- output: __S(944, __c118, 0) as any as S.Schema<DeleteDashboardV1Response>,
3482
+ input: __S(200, __c25, 0) as any as S.Schema<DeleteDashboardV1Request>,
3483
+ output: __S(952, __c119, 0) as any as S.Schema<DeleteDashboardV1Response>,
3378
3484
  errors: [NotFound],
3379
3485
  serviceErrors: TriggerDevServiceErrors,
3380
3486
  protocol: TriggerDevProtocol,
@@ -3391,8 +3497,8 @@ export const deleteDashboardWidgetV1: API.OperationMethod<
3391
3497
  DeleteDashboardWidgetV1Error,
3392
3498
  TriggerDevOpContext
3393
3499
  > = /*@__PURE__*/ API.make(() => ({
3394
- input: __S(192, __c24, 0) as any as S.Schema<DeleteDashboardWidgetV1Request>,
3395
- output: __S(659, __c82, 3) as any as S.Schema<DashboardObject>,
3500
+ input: __S(208, __c26, 0) as any as S.Schema<DeleteDashboardWidgetV1Request>,
3501
+ output: __S(667, __c83, 3) as any as S.Schema<DashboardObject>,
3396
3502
  errors: [NotFound, Conflict],
3397
3503
  serviceErrors: TriggerDevServiceErrors,
3398
3504
  protocol: TriggerDevProtocol,
@@ -3409,8 +3515,8 @@ export const deleteProjectEnvvarV1: API.OperationMethod<
3409
3515
  DeleteProjectEnvvarV1Error,
3410
3516
  TriggerDevOpContext
3411
3517
  > = /*@__PURE__*/ API.make(() => ({
3412
- input: __S(200, __c25, 0) as any as S.Schema<DeleteProjectEnvvarV1Request>,
3413
- output: __S(88, __c11, 0) as any as S.Schema<SucceedResponse>,
3518
+ input: __S(216, __c27, 0) as any as S.Schema<DeleteProjectEnvvarV1Request>,
3519
+ output: __S(104, __c13, 0) as any as S.Schema<SucceedResponse>,
3414
3520
  errors: [BadRequest, NotFound, Conflict],
3415
3521
  serviceErrors: TriggerDevServiceErrors,
3416
3522
  protocol: TriggerDevProtocol,
@@ -3427,8 +3533,8 @@ export const deleteScheduleV1: API.OperationMethod<
3427
3533
  DeleteScheduleV1Error,
3428
3534
  TriggerDevOpContext
3429
3535
  > = /*@__PURE__*/ API.make(() => ({
3430
- input: __S(208, __c26, 0) as any as S.Schema<DeleteScheduleV1Request>,
3431
- output: __S(112, __c14, 0) as any as S.Schema<DeleteScheduleV1Response>,
3536
+ input: __S(224, __c28, 0) as any as S.Schema<DeleteScheduleV1Request>,
3537
+ output: __S(128, __c16, 0) as any as S.Schema<DeleteScheduleV1Response>,
3432
3538
  errors: [NotFound],
3433
3539
  serviceErrors: TriggerDevServiceErrors,
3434
3540
  protocol: TriggerDevProtocol,
@@ -3445,8 +3551,8 @@ export const disableWebhookEndpointV1: API.OperationMethod<
3445
3551
  DisableWebhookEndpointV1Error,
3446
3552
  TriggerDevOpContext
3447
3553
  > = /*@__PURE__*/ API.make(() => ({
3448
- input: __S(216, __c27, 0) as any as S.Schema<DisableWebhookEndpointV1Request>,
3449
- output: __S(226, __c28, 2) as any as S.Schema<DisableWebhookEndpointV1Response>,
3554
+ input: __S(232, __c29, 0) as any as S.Schema<DisableWebhookEndpointV1Request>,
3555
+ output: __S(242, __c30, 2) as any as S.Schema<DisableWebhookEndpointV1Response>,
3450
3556
  errors: [NotFound],
3451
3557
  serviceErrors: TriggerDevServiceErrors,
3452
3558
  protocol: TriggerDevProtocol,
@@ -3463,8 +3569,8 @@ export const enableWebhookEndpointV1: API.OperationMethod<
3463
3569
  EnableWebhookEndpointV1Error,
3464
3570
  TriggerDevOpContext
3465
3571
  > = /*@__PURE__*/ API.make(() => ({
3466
- input: __S(232, __c29, 0) as any as S.Schema<EnableWebhookEndpointV1Request>,
3467
- output: __S(226, __c28, 2) as any as S.Schema<EnableWebhookEndpointV1Response>,
3572
+ input: __S(248, __c31, 0) as any as S.Schema<EnableWebhookEndpointV1Request>,
3573
+ output: __S(242, __c30, 2) as any as S.Schema<EnableWebhookEndpointV1Response>,
3468
3574
  errors: [NotFound],
3469
3575
  serviceErrors: TriggerDevServiceErrors,
3470
3576
  protocol: TriggerDevProtocol,
@@ -3481,8 +3587,8 @@ export const executeQueryV1: API.OperationMethod<
3481
3587
  ExecuteQueryV1Error,
3482
3588
  TriggerDevOpContext
3483
3589
  > = /*@__PURE__*/ API.make(() => ({
3484
- input: __S(240, __c30, 0) as any as S.Schema<ExecuteQueryV1Request>,
3485
- output: __S(241, __c30, 1) as any as S.Schema<ExecuteQueryV1Response>,
3590
+ input: __S(256, __c32, 0) as any as S.Schema<ExecuteQueryV1Request>,
3591
+ output: __S(257, __c32, 1) as any as S.Schema<ExecuteQueryV1Response>,
3486
3592
  errors: [BadRequest],
3487
3593
  serviceErrors: TriggerDevServiceErrors,
3488
3594
  protocol: TriggerDevProtocol,
@@ -3499,8 +3605,8 @@ export const getBatchResultsV1: API.OperationMethod<
3499
3605
  GetBatchResultsV1Error,
3500
3606
  TriggerDevOpContext
3501
3607
  > = /*@__PURE__*/ API.make(() => ({
3502
- input: __S(248, __c31, 0) as any as S.Schema<GetBatchResultsV1Request>,
3503
- output: __S(250, __c31, 2) as any as S.Schema<GetBatchResultsV1Response>,
3608
+ input: __S(272, __c34, 0) as any as S.Schema<GetBatchResultsV1Request>,
3609
+ output: __S(274, __c34, 2) as any as S.Schema<GetBatchResultsV1Response>,
3504
3610
  errors: [NotFound],
3505
3611
  serviceErrors: TriggerDevServiceErrors,
3506
3612
  protocol: TriggerDevProtocol,
@@ -3517,8 +3623,8 @@ export const getBatchV1: API.OperationMethod<
3517
3623
  GetBatchV1Error,
3518
3624
  TriggerDevOpContext
3519
3625
  > = /*@__PURE__*/ API.make(() => ({
3520
- input: __S(272, __c34, 0) as any as S.Schema<GetBatchV1Request>,
3521
- output: __S(275, __c34, 3) as any as S.Schema<GetBatchV1Response>,
3626
+ input: __S(288, __c36, 0) as any as S.Schema<GetBatchV1Request>,
3627
+ output: __S(291, __c36, 3) as any as S.Schema<GetBatchV1Response>,
3522
3628
  errors: [NotFound],
3523
3629
  serviceErrors: TriggerDevServiceErrors,
3524
3630
  protocol: TriggerDevProtocol,
@@ -3535,8 +3641,8 @@ export const getBulkActionV1: API.OperationMethod<
3535
3641
  GetBulkActionV1Error,
3536
3642
  TriggerDevOpContext
3537
3643
  > = /*@__PURE__*/ API.make(() => ({
3538
- input: __S(280, __c35, 0) as any as S.Schema<GetBulkActionV1Request>,
3539
- output: __S(289, __c36, 1) as any as S.Schema<BulkActionObject>,
3644
+ input: __S(296, __c37, 0) as any as S.Schema<GetBulkActionV1Request>,
3645
+ output: __S(305, __c38, 1) as any as S.Schema<BulkActionObject>,
3540
3646
  errors: [NotFound],
3541
3647
  serviceErrors: TriggerDevServiceErrors,
3542
3648
  protocol: TriggerDevProtocol,
@@ -3553,8 +3659,8 @@ export const getConcurrencyLimitV1: API.OperationMethod<
3553
3659
  GetConcurrencyLimitV1Error,
3554
3660
  TriggerDevOpContext
3555
3661
  > = /*@__PURE__*/ API.make(() => ({
3556
- input: __S(296, __c37, 0) as any as S.Schema<GetConcurrencyLimitV1Request>,
3557
- output: __S(297, __c37, 1) as any as S.Schema<GetConcurrencyLimitV1Response>,
3662
+ input: __S(312, __c39, 0) as any as S.Schema<GetConcurrencyLimitV1Request>,
3663
+ output: __S(313, __c39, 1) as any as S.Schema<GetConcurrencyLimitV1Response>,
3558
3664
  errors: [NotFound],
3559
3665
  serviceErrors: TriggerDevServiceErrors,
3560
3666
  protocol: TriggerDevProtocol,
@@ -3571,8 +3677,8 @@ export const getDashboardV1: API.OperationMethod<
3571
3677
  GetDashboardV1Error,
3572
3678
  TriggerDevOpContext
3573
3679
  > = /*@__PURE__*/ API.make(() => ({
3574
- input: __S(304, __c38, 0) as any as S.Schema<GetDashboardV1Request>,
3575
- output: __S(659, __c82, 3) as any as S.Schema<DashboardObject>,
3680
+ input: __S(320, __c40, 0) as any as S.Schema<GetDashboardV1Request>,
3681
+ output: __S(667, __c83, 3) as any as S.Schema<DashboardObject>,
3576
3682
  errors: [NotFound],
3577
3683
  serviceErrors: TriggerDevServiceErrors,
3578
3684
  protocol: TriggerDevProtocol,
@@ -3589,8 +3695,8 @@ export const getDeploymentV1: API.OperationMethod<
3589
3695
  GetDeploymentV1Error,
3590
3696
  TriggerDevOpContext
3591
3697
  > = /*@__PURE__*/ API.make(() => ({
3592
- input: __S(312, __c39, 0) as any as S.Schema<GetDeploymentV1Request>,
3593
- output: __S(316, __c39, 4) as any as S.Schema<GetDeploymentV1Response>,
3698
+ input: __S(328, __c41, 0) as any as S.Schema<GetDeploymentV1Request>,
3699
+ output: __S(332, __c41, 4) as any as S.Schema<GetDeploymentV1Response>,
3594
3700
  errors: [NotFound],
3595
3701
  serviceErrors: TriggerDevServiceErrors,
3596
3702
  protocol: TriggerDevProtocol,
@@ -3607,8 +3713,8 @@ export const getErrorV1: API.OperationMethod<
3607
3713
  GetErrorV1Error,
3608
3714
  TriggerDevOpContext
3609
3715
  > = /*@__PURE__*/ API.make(() => ({
3610
- input: __S(320, __c40, 0) as any as S.Schema<GetErrorV1Request>,
3611
- output: __S(328, __c41, 0) as any as S.Schema<ErrorObject>,
3716
+ input: __S(336, __c42, 0) as any as S.Schema<GetErrorV1Request>,
3717
+ output: __S(344, __c43, 0) as any as S.Schema<ErrorObject>,
3612
3718
  errors: [NotFound],
3613
3719
  serviceErrors: TriggerDevServiceErrors,
3614
3720
  protocol: TriggerDevProtocol,
@@ -3625,8 +3731,8 @@ export const getLatestDeploymentV1: API.OperationMethod<
3625
3731
  GetLatestDeploymentV1Error,
3626
3732
  TriggerDevOpContext
3627
3733
  > = /*@__PURE__*/ API.make(() => ({
3628
- input: __S(336, __c42, 0) as any as S.Schema<GetLatestDeploymentV1Request>,
3629
- output: __S(337, __c42, 1) as any as S.Schema<GetLatestDeploymentV1Response>,
3734
+ input: __S(352, __c44, 0) as any as S.Schema<GetLatestDeploymentV1Request>,
3735
+ output: __S(353, __c44, 1) as any as S.Schema<GetLatestDeploymentV1Response>,
3630
3736
  errors: [NotFound],
3631
3737
  serviceErrors: TriggerDevServiceErrors,
3632
3738
  protocol: TriggerDevProtocol,
@@ -3643,8 +3749,8 @@ export const getProjectEnvvarV1: API.OperationMethod<
3643
3749
  GetProjectEnvvarV1Error,
3644
3750
  TriggerDevOpContext
3645
3751
  > = /*@__PURE__*/ API.make(() => ({
3646
- input: __S(344, __c43, 0) as any as S.Schema<GetProjectEnvvarV1Request>,
3647
- output: __S(345, __c43, 1) as any as S.Schema<EnvVarValue>,
3752
+ input: __S(360, __c45, 0) as any as S.Schema<GetProjectEnvvarV1Request>,
3753
+ output: __S(361, __c45, 1) as any as S.Schema<EnvVarValue>,
3648
3754
  errors: [BadRequest, NotFound],
3649
3755
  serviceErrors: TriggerDevServiceErrors,
3650
3756
  protocol: TriggerDevProtocol,
@@ -3661,8 +3767,8 @@ export const getQuerySchemaV1: API.OperationMethod<
3661
3767
  GetQuerySchemaV1Error,
3662
3768
  TriggerDevOpContext
3663
3769
  > = /*@__PURE__*/ API.make(() => ({
3664
- input: __S(352, __c44, 0) as any as S.Schema<GetQuerySchemaV1Request>,
3665
- output: __S(357, __c44, 5) as any as S.Schema<GetQuerySchemaV1Response>,
3770
+ input: __S(368, __c46, 0) as any as S.Schema<GetQuerySchemaV1Request>,
3771
+ output: __S(373, __c46, 5) as any as S.Schema<GetQuerySchemaV1Response>,
3666
3772
  errors: [],
3667
3773
  serviceErrors: TriggerDevServiceErrors,
3668
3774
  protocol: TriggerDevProtocol,
@@ -3679,8 +3785,8 @@ export const getQueueV1: API.OperationMethod<
3679
3785
  GetQueueV1Error,
3680
3786
  TriggerDevOpContext
3681
3787
  > = /*@__PURE__*/ API.make(() => ({
3682
- input: __S(360, __c45, 0) as any as S.Schema<GetQueueV1Request>,
3683
- output: __S(369, __c46, 1) as any as S.Schema<QueueObject>,
3788
+ input: __S(376, __c47, 0) as any as S.Schema<GetQueueV1Request>,
3789
+ output: __S(385, __c48, 1) as any as S.Schema<QueueObject>,
3684
3790
  errors: [NotFound],
3685
3791
  serviceErrors: TriggerDevServiceErrors,
3686
3792
  protocol: TriggerDevProtocol,
@@ -3697,8 +3803,8 @@ export const getRunEventsV1: API.OperationMethod<
3697
3803
  GetRunEventsV1Error,
3698
3804
  TriggerDevOpContext
3699
3805
  > = /*@__PURE__*/ API.make(() => ({
3700
- input: __S(376, __c47, 0) as any as S.Schema<GetRunEventsV1Request>,
3701
- output: __S(383, __c47, 7) as any as S.Schema<GetRunEventsV1Response>,
3806
+ input: __S(392, __c49, 0) as any as S.Schema<GetRunEventsV1Request>,
3807
+ output: __S(399, __c49, 7) as any as S.Schema<GetRunEventsV1Response>,
3702
3808
  errors: [NotFound],
3703
3809
  serviceErrors: TriggerDevServiceErrors,
3704
3810
  protocol: TriggerDevProtocol,
@@ -3715,8 +3821,8 @@ export const getRunResultV1: API.OperationMethod<
3715
3821
  GetRunResultV1Error,
3716
3822
  TriggerDevOpContext
3717
3823
  > = /*@__PURE__*/ API.make(() => ({
3718
- input: __S(384, __c48, 0) as any as S.Schema<GetRunResultV1Request>,
3719
- output: __S(257, __c32, 1) as any as S.Schema<GetRunResultV1Response>,
3824
+ input: __S(400, __c50, 0) as any as S.Schema<GetRunResultV1Request>,
3825
+ output: __S(281, __c35, 1) as any as S.Schema<GetRunResultV1Response>,
3720
3826
  errors: [NotFound],
3721
3827
  serviceErrors: TriggerDevServiceErrors,
3722
3828
  protocol: TriggerDevProtocol,
@@ -3733,8 +3839,8 @@ export const getRunTraceV1: API.OperationMethod<
3733
3839
  GetRunTraceV1Error,
3734
3840
  TriggerDevOpContext
3735
3841
  > = /*@__PURE__*/ API.make(() => ({
3736
- input: __S(392, __c49, 0) as any as S.Schema<GetRunTraceV1Request>,
3737
- output: __S(393, __c49, 1) as any as S.Schema<GetRunTraceV1Response>,
3842
+ input: __S(408, __c51, 0) as any as S.Schema<GetRunTraceV1Request>,
3843
+ output: __S(409, __c51, 1) as any as S.Schema<GetRunTraceV1Response>,
3738
3844
  errors: [BadRequest, NotFound],
3739
3845
  serviceErrors: TriggerDevServiceErrors,
3740
3846
  protocol: TriggerDevProtocol,
@@ -3751,8 +3857,8 @@ export const getRunV1: API.OperationMethod<
3751
3857
  GetRunV1Error,
3752
3858
  TriggerDevOpContext
3753
3859
  > = /*@__PURE__*/ API.make(() => ({
3754
- input: __S(400, __c50, 0) as any as S.Schema<GetRunV1Request>,
3755
- output: __S(415, __c51, 7) as any as S.Schema<GetRunV1Response>,
3860
+ input: __S(416, __c52, 0) as any as S.Schema<GetRunV1Request>,
3861
+ output: __S(431, __c53, 7) as any as S.Schema<GetRunV1Response>,
3756
3862
  errors: [BadRequest, NotFound],
3757
3863
  serviceErrors: TriggerDevServiceErrors,
3758
3864
  protocol: TriggerDevProtocol,
@@ -3769,7 +3875,7 @@ export const getScheduleV1: API.OperationMethod<
3769
3875
  GetScheduleV1Error,
3770
3876
  TriggerDevOpContext
3771
3877
  > = /*@__PURE__*/ API.make(() => ({
3772
- input: __S(416, __c52, 0) as any as S.Schema<GetScheduleV1Request>,
3878
+ input: __S(432, __c54, 0) as any as S.Schema<GetScheduleV1Request>,
3773
3879
  output: __S(499, __c62, 3) as any as S.Schema<ScheduleObject>,
3774
3880
  errors: [NotFound],
3775
3881
  serviceErrors: TriggerDevServiceErrors,
@@ -3787,8 +3893,8 @@ export const getSessionV1: API.OperationMethod<
3787
3893
  GetSessionV1Error,
3788
3894
  TriggerDevOpContext
3789
3895
  > = /*@__PURE__*/ API.make(() => ({
3790
- input: __S(424, __c53, 0) as any as S.Schema<GetSessionV1Request>,
3791
- output: __S(72, __c9, 0) as any as S.Schema<SessionObject>,
3896
+ input: __S(440, __c55, 0) as any as S.Schema<GetSessionV1Request>,
3897
+ output: __S(88, __c11, 0) as any as S.Schema<SessionObject>,
3792
3898
  errors: [NotFound],
3793
3899
  serviceErrors: TriggerDevServiceErrors,
3794
3900
  protocol: TriggerDevProtocol,
@@ -3797,6 +3903,24 @@ export const getSessionV1: API.OperationMethod<
3797
3903
  span: "GetSessionV1",
3798
3904
  }));
3799
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
+
3800
3924
  export type GetTimezonesV1Error = TriggerDevOpError;
3801
3925
  /** Get all supported timezones Get all supported timezones that schedule tasks support. */
3802
3926
  export const getTimezonesV1: API.OperationMethod<
@@ -3805,8 +3929,8 @@ export const getTimezonesV1: API.OperationMethod<
3805
3929
  GetTimezonesV1Error,
3806
3930
  TriggerDevOpContext
3807
3931
  > = /*@__PURE__*/ API.make(() => ({
3808
- input: __S(432, __c54, 0) as any as S.Schema<GetTimezonesV1Request>,
3809
- output: __S(433, __c54, 1) as any as S.Schema<GetTimezonesResult>,
3932
+ input: __S(456, __c57, 0) as any as S.Schema<GetTimezonesV1Request>,
3933
+ output: __S(457, __c57, 1) as any as S.Schema<GetTimezonesResult>,
3810
3934
  errors: [],
3811
3935
  serviceErrors: TriggerDevServiceErrors,
3812
3936
  protocol: TriggerDevProtocol,
@@ -3823,8 +3947,8 @@ export const getWaitpointTokenV1: API.OperationMethod<
3823
3947
  GetWaitpointTokenV1Error,
3824
3948
  TriggerDevOpContext
3825
3949
  > = /*@__PURE__*/ API.make(() => ({
3826
- input: __S(440, __c55, 0) as any as S.Schema<GetWaitpointTokenV1Request>,
3827
- output: __S(448, __c56, 0) as any as S.Schema<WaitpointTokenObject>,
3950
+ input: __S(464, __c58, 0) as any as S.Schema<GetWaitpointTokenV1Request>,
3951
+ output: __S(472, __c59, 0) as any as S.Schema<WaitpointTokenObject>,
3828
3952
  errors: [NotFound],
3829
3953
  serviceErrors: TriggerDevServiceErrors,
3830
3954
  protocol: TriggerDevProtocol,
@@ -3841,8 +3965,8 @@ export const getWebhookDeliveryV1: API.OperationMethod<
3841
3965
  GetWebhookDeliveryV1Error,
3842
3966
  TriggerDevOpContext
3843
3967
  > = /*@__PURE__*/ API.make(() => ({
3844
- input: __S(457, __c57, 1) as any as S.Schema<GetWebhookDeliveryV1Request>,
3845
- output: __S(461, __c57, 5) as any as S.Schema<GetWebhookDeliveryV1Response>,
3968
+ input: __S(505, __c63, 1) as any as S.Schema<GetWebhookDeliveryV1Request>,
3969
+ output: __S(509, __c63, 5) as any as S.Schema<GetWebhookDeliveryV1Response>,
3846
3970
  errors: [NotFound],
3847
3971
  serviceErrors: TriggerDevServiceErrors,
3848
3972
  protocol: TriggerDevProtocol,
@@ -3859,8 +3983,8 @@ export const getWebhookEndpointV1: API.OperationMethod<
3859
3983
  GetWebhookEndpointV1Error,
3860
3984
  TriggerDevOpContext
3861
3985
  > = /*@__PURE__*/ API.make(() => ({
3862
- input: __S(472, __c59, 0) as any as S.Schema<GetWebhookEndpointV1Request>,
3863
- output: __S(226, __c28, 2) as any as S.Schema<GetWebhookEndpointV1Response>,
3986
+ input: __S(520, __c65, 0) as any as S.Schema<GetWebhookEndpointV1Request>,
3987
+ output: __S(242, __c30, 2) as any as S.Schema<GetWebhookEndpointV1Response>,
3864
3988
  errors: [NotFound],
3865
3989
  serviceErrors: TriggerDevServiceErrors,
3866
3990
  protocol: TriggerDevProtocol,
@@ -3877,8 +4001,8 @@ export const ignoreErrorV1: API.OperationMethod<
3877
4001
  IgnoreErrorV1Error,
3878
4002
  TriggerDevOpContext
3879
4003
  > = /*@__PURE__*/ API.make(() => ({
3880
- input: __S(504, __c63, 0) as any as S.Schema<IgnoreErrorV1Request>,
3881
- output: __S(328, __c41, 0) as any as S.Schema<ErrorObject>,
4004
+ input: __S(528, __c66, 0) as any as S.Schema<IgnoreErrorV1Request>,
4005
+ output: __S(344, __c43, 0) as any as S.Schema<ErrorObject>,
3882
4006
  errors: [NotFound],
3883
4007
  serviceErrors: TriggerDevServiceErrors,
3884
4008
  protocol: TriggerDevProtocol,
@@ -3895,8 +4019,8 @@ export const listBulkActionsV1: API.OperationMethod<
3895
4019
  ListBulkActionsV1Error,
3896
4020
  TriggerDevOpContext
3897
4021
  > = /*@__PURE__*/ API.make(() => ({
3898
- input: __S(512, __c64, 0) as any as S.Schema<ListBulkActionsV1Request>,
3899
- output: __S(514, __c64, 2) as any as S.Schema<ListBulkActionsResult>,
4022
+ input: __S(536, __c67, 0) as any as S.Schema<ListBulkActionsV1Request>,
4023
+ output: __S(538, __c67, 2) as any as S.Schema<ListBulkActionsResult>,
3900
4024
  errors: [BadRequest],
3901
4025
  serviceErrors: TriggerDevServiceErrors,
3902
4026
  protocol: TriggerDevProtocol,
@@ -3913,8 +4037,8 @@ export const listConcurrencyLimitsV1: API.OperationMethod<
3913
4037
  ListConcurrencyLimitsV1Error,
3914
4038
  TriggerDevOpContext
3915
4039
  > = /*@__PURE__*/ API.make(() => ({
3916
- input: __S(536, __c67, 0) as any as S.Schema<ListConcurrencyLimitsV1Request>,
3917
- output: __S(538, __c67, 2) as any as S.Schema<ListConcurrencyLimitsV1Response>,
4040
+ input: __S(560, __c70, 0) as any as S.Schema<ListConcurrencyLimitsV1Request>,
4041
+ output: __S(562, __c70, 2) as any as S.Schema<ListConcurrencyLimitsV1Response>,
3918
4042
  errors: [],
3919
4043
  serviceErrors: TriggerDevServiceErrors,
3920
4044
  protocol: TriggerDevProtocol,
@@ -3931,8 +4055,8 @@ export const listDashboardsV1: API.OperationMethod<
3931
4055
  ListDashboardsV1Error,
3932
4056
  TriggerDevOpContext
3933
4057
  > = /*@__PURE__*/ API.make(() => ({
3934
- input: __S(560, __c70, 0) as any as S.Schema<ListDashboardsV1Request>,
3935
- output: __S(565, __c70, 5) as any as S.Schema<ListDashboardsV1Response>,
4058
+ input: __S(584, __c73, 0) as any as S.Schema<ListDashboardsV1Request>,
4059
+ output: __S(589, __c73, 5) as any as S.Schema<ListDashboardsV1Response>,
3936
4060
  errors: [],
3937
4061
  serviceErrors: TriggerDevServiceErrors,
3938
4062
  protocol: TriggerDevProtocol,
@@ -3949,8 +4073,8 @@ export const listDeploymentsV1: API.OperationMethod<
3949
4073
  ListDeploymentsV1Error,
3950
4074
  TriggerDevOpContext
3951
4075
  > = /*@__PURE__*/ API.make(() => ({
3952
- input: __S(568, __c71, 0) as any as S.Schema<ListDeploymentsV1Request>,
3953
- output: __S(572, __c71, 4) as any as S.Schema<ListDeploymentsV1Response>,
4076
+ input: __S(592, __c74, 0) as any as S.Schema<ListDeploymentsV1Request>,
4077
+ output: __S(596, __c74, 4) as any as S.Schema<ListDeploymentsV1Response>,
3954
4078
  errors: [],
3955
4079
  serviceErrors: TriggerDevServiceErrors,
3956
4080
  protocol: TriggerDevProtocol,
@@ -3967,8 +4091,8 @@ export const listErrorsV1: API.OperationMethod<
3967
4091
  ListErrorsV1Error,
3968
4092
  TriggerDevOpContext
3969
4093
  > = /*@__PURE__*/ API.make(() => ({
3970
- input: __S(577, __c72, 1) as any as S.Schema<ListErrorsV1Request>,
3971
- output: __S(580, __c72, 4) as any as S.Schema<ListErrorsResult>,
4094
+ input: __S(601, __c75, 1) as any as S.Schema<ListErrorsV1Request>,
4095
+ output: __S(604, __c75, 4) as any as S.Schema<ListErrorsResult>,
3972
4096
  errors: [BadRequest],
3973
4097
  serviceErrors: TriggerDevServiceErrors,
3974
4098
  protocol: TriggerDevProtocol,
@@ -3985,8 +4109,8 @@ export const listProjectEnvvarsV1: API.OperationMethod<
3985
4109
  ListProjectEnvvarsV1Error,
3986
4110
  TriggerDevOpContext
3987
4111
  > = /*@__PURE__*/ API.make(() => ({
3988
- input: __S(592, __c74, 0) as any as S.Schema<ListProjectEnvvarsV1Request>,
3989
- output: __S(593, __c74, 1) as any as S.Schema<ListProjectEnvvarsV1Response>,
4112
+ input: __S(616, __c77, 0) as any as S.Schema<ListProjectEnvvarsV1Request>,
4113
+ output: __S(617, __c77, 1) as any as S.Schema<ListProjectEnvvarsV1Response>,
3990
4114
  errors: [BadRequest, NotFound],
3991
4115
  serviceErrors: TriggerDevServiceErrors,
3992
4116
  protocol: TriggerDevProtocol,
@@ -4003,8 +4127,8 @@ export const listProjectRunsV1: API.OperationMethod<
4003
4127
  ListProjectRunsV1Error,
4004
4128
  TriggerDevOpContext
4005
4129
  > = /*@__PURE__*/ API.make(() => ({
4006
- input: __S(609, __c76, 1) as any as S.Schema<ListProjectRunsV1Request>,
4007
- output: __S(619, __c77, 3) as any as S.Schema<ListRunsResult>,
4130
+ input: __S(633, __c79, 1) as any as S.Schema<ListProjectRunsV1Request>,
4131
+ output: __S(645, __c80, 5) as any as S.Schema<ListRunsResult>,
4008
4132
  errors: [BadRequest],
4009
4133
  serviceErrors: TriggerDevServiceErrors,
4010
4134
  protocol: TriggerDevProtocol,
@@ -4021,8 +4145,8 @@ export const listQueuesV1: API.OperationMethod<
4021
4145
  ListQueuesV1Error,
4022
4146
  TriggerDevOpContext
4023
4147
  > = /*@__PURE__*/ API.make(() => ({
4024
- input: __S(632, __c79, 0) as any as S.Schema<ListQueuesV1Request>,
4025
- output: __S(634, __c79, 2) as any as S.Schema<ListQueuesResult>,
4148
+ input: __S(672, __c84, 0) as any as S.Schema<ListQueuesV1Request>,
4149
+ output: __S(674, __c84, 2) as any as S.Schema<ListQueuesResult>,
4026
4150
  errors: [],
4027
4151
  serviceErrors: TriggerDevServiceErrors,
4028
4152
  protocol: TriggerDevProtocol,
@@ -4039,8 +4163,8 @@ export const listRunsV1: API.OperationMethod<
4039
4163
  ListRunsV1Error,
4040
4164
  TriggerDevOpContext
4041
4165
  > = /*@__PURE__*/ API.make(() => ({
4042
- input: __S(641, __c80, 1) as any as S.Schema<ListRunsV1Request>,
4043
- output: __S(619, __c77, 3) as any as S.Schema<ListRunsResult>,
4166
+ input: __S(681, __c85, 1) as any as S.Schema<ListRunsV1Request>,
4167
+ output: __S(645, __c80, 5) as any as S.Schema<ListRunsResult>,
4044
4168
  errors: [BadRequest],
4045
4169
  serviceErrors: TriggerDevServiceErrors,
4046
4170
  protocol: TriggerDevProtocol,
@@ -4057,8 +4181,8 @@ export const listSchedulesV1: API.OperationMethod<
4057
4181
  ListSchedulesV1Error,
4058
4182
  TriggerDevOpContext
4059
4183
  > = /*@__PURE__*/ API.make(() => ({
4060
- input: __S(664, __c83, 0) as any as S.Schema<ListSchedulesV1Request>,
4061
- output: __S(666, __c83, 2) as any as S.Schema<ListSchedulesResult>,
4184
+ input: __S(688, __c86, 0) as any as S.Schema<ListSchedulesV1Request>,
4185
+ output: __S(690, __c86, 2) as any as S.Schema<ListSchedulesResult>,
4062
4186
  errors: [],
4063
4187
  serviceErrors: TriggerDevServiceErrors,
4064
4188
  protocol: TriggerDevProtocol,
@@ -4075,8 +4199,8 @@ export const listSessionsV1: API.OperationMethod<
4075
4199
  ListSessionsV1Error,
4076
4200
  TriggerDevOpContext
4077
4201
  > = /*@__PURE__*/ API.make(() => ({
4078
- input: __S(673, __c84, 1) as any as S.Schema<ListSessionsV1Request>,
4079
- output: __S(675, __c84, 3) as any as S.Schema<ListSessionsResult>,
4202
+ input: __S(697, __c87, 1) as any as S.Schema<ListSessionsV1Request>,
4203
+ output: __S(699, __c87, 3) as any as S.Schema<ListSessionsResult>,
4080
4204
  errors: [BadRequest],
4081
4205
  serviceErrors: TriggerDevServiceErrors,
4082
4206
  protocol: TriggerDevProtocol,
@@ -4093,8 +4217,8 @@ export const listWaitpointTokensV1: API.OperationMethod<
4093
4217
  ListWaitpointTokensV1Error,
4094
4218
  TriggerDevOpContext
4095
4219
  > = /*@__PURE__*/ API.make(() => ({
4096
- input: __S(680, __c85, 0) as any as S.Schema<ListWaitpointTokensV1Request>,
4097
- output: __S(683, __c85, 3) as any as S.Schema<ListWaitpointTokensResult>,
4220
+ input: __S(704, __c88, 0) as any as S.Schema<ListWaitpointTokensV1Request>,
4221
+ output: __S(707, __c88, 3) as any as S.Schema<ListWaitpointTokensResult>,
4098
4222
  errors: [UnprocessableEntity],
4099
4223
  serviceErrors: TriggerDevServiceErrors,
4100
4224
  protocol: TriggerDevProtocol,
@@ -4111,8 +4235,8 @@ export const listWebhookDeliveriesV1: API.OperationMethod<
4111
4235
  ListWebhookDeliveriesV1Error,
4112
4236
  TriggerDevOpContext
4113
4237
  > = /*@__PURE__*/ API.make(() => ({
4114
- input: __S(688, __c86, 0) as any as S.Schema<ListWebhookDeliveriesV1Request>,
4115
- output: __S(691, __c86, 3) as any as S.Schema<ListWebhookDeliveriesResult>,
4238
+ input: __S(712, __c89, 0) as any as S.Schema<ListWebhookDeliveriesV1Request>,
4239
+ output: __S(715, __c89, 3) as any as S.Schema<ListWebhookDeliveriesResult>,
4116
4240
  errors: [BadRequest],
4117
4241
  serviceErrors: TriggerDevServiceErrors,
4118
4242
  protocol: TriggerDevProtocol,
@@ -4129,8 +4253,8 @@ export const listWebhookEndpointsV1: API.OperationMethod<
4129
4253
  ListWebhookEndpointsV1Error,
4130
4254
  TriggerDevOpContext
4131
4255
  > = /*@__PURE__*/ API.make(() => ({
4132
- input: __S(696, __c87, 0) as any as S.Schema<ListWebhookEndpointsV1Request>,
4133
- output: __S(699, __c87, 3) as any as S.Schema<ListWebhookEndpointsResult>,
4256
+ input: __S(720, __c90, 0) as any as S.Schema<ListWebhookEndpointsV1Request>,
4257
+ output: __S(723, __c90, 3) as any as S.Schema<ListWebhookEndpointsResult>,
4134
4258
  errors: [],
4135
4259
  serviceErrors: TriggerDevServiceErrors,
4136
4260
  protocol: TriggerDevProtocol,
@@ -4147,8 +4271,8 @@ export const overrideConcurrencyLimitV1: API.OperationMethod<
4147
4271
  OverrideConcurrencyLimitV1Error,
4148
4272
  TriggerDevOpContext
4149
4273
  > = /*@__PURE__*/ API.make(() => ({
4150
- input: __S(704, __c88, 0) as any as S.Schema<OverrideConcurrencyLimitV1Request>,
4151
- output: __S(705, __c88, 1) as any as S.Schema<OverrideConcurrencyLimitV1Response>,
4274
+ input: __S(728, __c91, 0) as any as S.Schema<OverrideConcurrencyLimitV1Request>,
4275
+ output: __S(729, __c91, 1) as any as S.Schema<OverrideConcurrencyLimitV1Response>,
4152
4276
  errors: [BadRequest, NotFound, Conflict],
4153
4277
  serviceErrors: TriggerDevServiceErrors,
4154
4278
  protocol: TriggerDevProtocol,
@@ -4165,8 +4289,8 @@ export const overrideQueueConcurrencyV1: API.OperationMethod<
4165
4289
  OverrideQueueConcurrencyV1Error,
4166
4290
  TriggerDevOpContext
4167
4291
  > = /*@__PURE__*/ API.make(() => ({
4168
- input: __S(712, __c89, 0) as any as S.Schema<OverrideQueueConcurrencyV1Request>,
4169
- output: __S(369, __c46, 1) as any as S.Schema<QueueObject>,
4292
+ input: __S(736, __c92, 0) as any as S.Schema<OverrideQueueConcurrencyV1Request>,
4293
+ output: __S(385, __c48, 1) as any as S.Schema<QueueObject>,
4170
4294
  errors: [BadRequest, NotFound],
4171
4295
  serviceErrors: TriggerDevServiceErrors,
4172
4296
  protocol: TriggerDevProtocol,
@@ -4183,8 +4307,8 @@ export const pauseConcurrencyLimitV1: API.OperationMethod<
4183
4307
  PauseConcurrencyLimitV1Error,
4184
4308
  TriggerDevOpContext
4185
4309
  > = /*@__PURE__*/ API.make(() => ({
4186
- input: __S(720, __c90, 0) as any as S.Schema<PauseConcurrencyLimitV1Request>,
4187
- output: __S(553, __c69, 1) as any as S.Schema<ConcurrencyLimitObject>,
4310
+ input: __S(744, __c93, 0) as any as S.Schema<PauseConcurrencyLimitV1Request>,
4311
+ output: __S(577, __c72, 1) as any as S.Schema<ConcurrencyLimitObject>,
4188
4312
  errors: [BadRequest, NotFound, Conflict],
4189
4313
  serviceErrors: TriggerDevServiceErrors,
4190
4314
  protocol: TriggerDevProtocol,
@@ -4201,8 +4325,8 @@ export const pauseQueueV1: API.OperationMethod<
4201
4325
  PauseQueueV1Error,
4202
4326
  TriggerDevOpContext
4203
4327
  > = /*@__PURE__*/ API.make(() => ({
4204
- input: __S(728, __c91, 0) as any as S.Schema<PauseQueueV1Request>,
4205
- output: __S(369, __c46, 1) as any as S.Schema<QueueObject>,
4328
+ input: __S(760, __c95, 0) as any as S.Schema<PauseQueueV1Request>,
4329
+ output: __S(385, __c48, 1) as any as S.Schema<QueueObject>,
4206
4330
  errors: [BadRequest, NotFound],
4207
4331
  serviceErrors: TriggerDevServiceErrors,
4208
4332
  protocol: TriggerDevProtocol,
@@ -4219,8 +4343,8 @@ export const promoteDeploymentV1: API.OperationMethod<
4219
4343
  PromoteDeploymentV1Error,
4220
4344
  TriggerDevOpContext
4221
4345
  > = /*@__PURE__*/ API.make(() => ({
4222
- input: __S(736, __c92, 0) as any as S.Schema<PromoteDeploymentV1Request>,
4223
- output: __S(737, __c92, 1) as any as S.Schema<PromoteDeploymentV1Response>,
4346
+ input: __S(768, __c96, 0) as any as S.Schema<PromoteDeploymentV1Request>,
4347
+ output: __S(772, __c96, 4) as any as S.Schema<PromoteDeploymentV1Response>,
4224
4348
  errors: [BadRequest, NotFound],
4225
4349
  serviceErrors: TriggerDevServiceErrors,
4226
4350
  protocol: TriggerDevProtocol,
@@ -4242,8 +4366,8 @@ export const replaceDashboardV1: API.OperationMethod<
4242
4366
  ReplaceDashboardV1Error,
4243
4367
  TriggerDevOpContext
4244
4368
  > = /*@__PURE__*/ API.make(() => ({
4245
- input: __S(752, __c94, 0) as any as S.Schema<ReplaceDashboardV1Request>,
4246
- output: __S(659, __c82, 3) as any as S.Schema<DashboardObject>,
4369
+ input: __S(776, __c97, 0) as any as S.Schema<ReplaceDashboardV1Request>,
4370
+ output: __S(667, __c83, 3) as any as S.Schema<DashboardObject>,
4247
4371
  errors: [BadRequest, Forbidden, NotFound, Conflict],
4248
4372
  serviceErrors: TriggerDevServiceErrors,
4249
4373
  protocol: TriggerDevProtocol,
@@ -4260,8 +4384,8 @@ export const replayWebhookDeliveryV1: API.OperationMethod<
4260
4384
  ReplayWebhookDeliveryV1Error,
4261
4385
  TriggerDevOpContext
4262
4386
  > = /*@__PURE__*/ API.make(() => ({
4263
- input: __S(760, __c95, 0) as any as S.Schema<ReplayWebhookDeliveryV1Request>,
4264
- output: __S(761, __c95, 1) as any as S.Schema<ReplayWebhookDeliveryResponse>,
4387
+ input: __S(784, __c98, 0) as any as S.Schema<ReplayWebhookDeliveryV1Request>,
4388
+ output: __S(785, __c98, 1) as any as S.Schema<ReplayWebhookDeliveryResponse>,
4265
4389
  errors: [Forbidden, NotFound],
4266
4390
  serviceErrors: TriggerDevServiceErrors,
4267
4391
  protocol: TriggerDevProtocol,
@@ -4278,8 +4402,8 @@ export const resetConcurrencyLimitV1: API.OperationMethod<
4278
4402
  ResetConcurrencyLimitV1Error,
4279
4403
  TriggerDevOpContext
4280
4404
  > = /*@__PURE__*/ API.make(() => ({
4281
- input: __S(768, __c96, 0) as any as S.Schema<ResetConcurrencyLimitV1Request>,
4282
- output: __S(769, __c96, 1) as any as S.Schema<ResetConcurrencyLimitV1Response>,
4405
+ input: __S(792, __c99, 0) as any as S.Schema<ResetConcurrencyLimitV1Request>,
4406
+ output: __S(793, __c99, 1) as any as S.Schema<ResetConcurrencyLimitV1Response>,
4283
4407
  errors: [BadRequest, NotFound, Conflict],
4284
4408
  serviceErrors: TriggerDevServiceErrors,
4285
4409
  protocol: TriggerDevProtocol,
@@ -4296,8 +4420,8 @@ export const resetQueueConcurrencyV1: API.OperationMethod<
4296
4420
  ResetQueueConcurrencyV1Error,
4297
4421
  TriggerDevOpContext
4298
4422
  > = /*@__PURE__*/ API.make(() => ({
4299
- input: __S(776, __c97, 0) as any as S.Schema<ResetQueueConcurrencyV1Request>,
4300
- output: __S(369, __c46, 1) as any as S.Schema<QueueObject>,
4423
+ input: __S(800, __c100, 0) as any as S.Schema<ResetQueueConcurrencyV1Request>,
4424
+ output: __S(385, __c48, 1) as any as S.Schema<QueueObject>,
4301
4425
  errors: [BadRequest, NotFound],
4302
4426
  serviceErrors: TriggerDevServiceErrors,
4303
4427
  protocol: TriggerDevProtocol,
@@ -4314,8 +4438,8 @@ export const resolveErrorV1: API.OperationMethod<
4314
4438
  ResolveErrorV1Error,
4315
4439
  TriggerDevOpContext
4316
4440
  > = /*@__PURE__*/ API.make(() => ({
4317
- input: __S(784, __c98, 0) as any as S.Schema<ResolveErrorV1Request>,
4318
- output: __S(328, __c41, 0) as any as S.Schema<ErrorObject>,
4441
+ input: __S(808, __c101, 0) as any as S.Schema<ResolveErrorV1Request>,
4442
+ output: __S(344, __c43, 0) as any as S.Schema<ErrorObject>,
4319
4443
  errors: [NotFound],
4320
4444
  serviceErrors: TriggerDevServiceErrors,
4321
4445
  protocol: TriggerDevProtocol,
@@ -4332,8 +4456,8 @@ export const rotateWebhookEndpointSecretV1: API.OperationMethod<
4332
4456
  RotateWebhookEndpointSecretV1Error,
4333
4457
  TriggerDevOpContext
4334
4458
  > = /*@__PURE__*/ API.make(() => ({
4335
- input: __S(792, __c99, 0) as any as S.Schema<RotateWebhookEndpointSecretV1Request>,
4336
- output: __S(793, __c99, 1) as any as S.Schema<RotateWebhookEndpointSecretResponse>,
4459
+ input: __S(816, __c102, 0) as any as S.Schema<RotateWebhookEndpointSecretV1Request>,
4460
+ output: __S(817, __c102, 1) as any as S.Schema<RotateWebhookEndpointSecretResponse>,
4337
4461
  errors: [BadRequest, NotFound],
4338
4462
  serviceErrors: TriggerDevServiceErrors,
4339
4463
  protocol: TriggerDevProtocol,
@@ -4350,8 +4474,8 @@ export const runReplayV1: API.OperationMethod<
4350
4474
  RunReplayV1Error,
4351
4475
  TriggerDevOpContext
4352
4476
  > = /*@__PURE__*/ API.make(() => ({
4353
- input: __S(800, __c100, 0) as any as S.Schema<RunReplayV1Request>,
4354
- output: __S(944, __c118, 0) as any as S.Schema<RunReplayV1Response>,
4477
+ input: __S(824, __c103, 0) as any as S.Schema<RunReplayV1Request>,
4478
+ output: __S(952, __c119, 0) as any as S.Schema<RunReplayV1Response>,
4355
4479
  errors: [BadRequest, Forbidden, NotFound],
4356
4480
  serviceErrors: TriggerDevServiceErrors,
4357
4481
  protocol: TriggerDevProtocol,
@@ -4368,8 +4492,8 @@ export const runRescheduleV1: API.OperationMethod<
4368
4492
  RunRescheduleV1Error,
4369
4493
  TriggerDevOpContext
4370
4494
  > = /*@__PURE__*/ API.make(() => ({
4371
- input: __S(808, __c101, 0) as any as S.Schema<RunRescheduleV1Request>,
4372
- output: __S(415, __c51, 7) as any as S.Schema<RunRescheduleV1Response>,
4495
+ input: __S(832, __c104, 0) as any as S.Schema<RunRescheduleV1Request>,
4496
+ output: __S(431, __c53, 7) as any as S.Schema<RunRescheduleV1Response>,
4373
4497
  errors: [BadRequest, NotFound],
4374
4498
  serviceErrors: TriggerDevServiceErrors,
4375
4499
  protocol: TriggerDevProtocol,
@@ -4378,6 +4502,29 @@ export const runRescheduleV1: API.OperationMethod<
4378
4502
  span: "RunRescheduleV1",
4379
4503
  }));
4380
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
+
4381
4528
  export type SetWebhookEndpointSecretV1Error = BadRequest | NotFound | TriggerDevOpError;
4382
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. */
4383
4530
  export const setWebhookEndpointSecretV1: API.OperationMethod<
@@ -4386,8 +4533,8 @@ export const setWebhookEndpointSecretV1: API.OperationMethod<
4386
4533
  SetWebhookEndpointSecretV1Error,
4387
4534
  TriggerDevOpContext
4388
4535
  > = /*@__PURE__*/ API.make(() => ({
4389
- input: __S(816, __c102, 0) as any as S.Schema<SetWebhookEndpointSecretV1Request>,
4390
- output: __S(817, __c102, 1) as any as S.Schema<SetWebhookEndpointSecretResponse>,
4536
+ input: __S(856, __c107, 0) as any as S.Schema<SetWebhookEndpointSecretV1Request>,
4537
+ output: __S(857, __c107, 1) as any as S.Schema<SetWebhookEndpointSecretResponse>,
4391
4538
  errors: [BadRequest, NotFound],
4392
4539
  serviceErrors: TriggerDevServiceErrors,
4393
4540
  protocol: TriggerDevProtocol,
@@ -4404,8 +4551,8 @@ export const triggerBatchTaskByIdV1: API.OperationMethod<
4404
4551
  TriggerBatchTaskByIdV1Error,
4405
4552
  TriggerDevOpContext
4406
4553
  > = /*@__PURE__*/ API.make(() => ({
4407
- input: __S(826, __c103, 2) as any as S.Schema<TriggerBatchTaskByIdV1Request>,
4408
- output: __S(832, __c104, 0) as any as S.Schema<BatchTriggerTaskResponse>,
4554
+ input: __S(866, __c108, 2) as any as S.Schema<TriggerBatchTaskByIdV1Request>,
4555
+ output: __S(872, __c109, 0) as any as S.Schema<BatchTriggerTaskResponse>,
4409
4556
  errors: [BadRequest, NotFound],
4410
4557
  serviceErrors: TriggerDevServiceErrors,
4411
4558
  protocol: TriggerDevProtocol,
@@ -4422,8 +4569,8 @@ export const triggerBatchTaskV1: API.OperationMethod<
4422
4569
  TriggerBatchTaskV1Error,
4423
4570
  TriggerDevOpContext
4424
4571
  > = /*@__PURE__*/ API.make(() => ({
4425
- input: __S(858, __c107, 2) as any as S.Schema<TriggerBatchTaskV1Request>,
4426
- output: __S(832, __c104, 0) as any as S.Schema<BatchTriggerTaskResponse>,
4572
+ input: __S(890, __c111, 2) as any as S.Schema<TriggerBatchTaskV1Request>,
4573
+ output: __S(872, __c109, 0) as any as S.Schema<BatchTriggerTaskResponse>,
4427
4574
  errors: [BadRequest, NotFound],
4428
4575
  serviceErrors: TriggerDevServiceErrors,
4429
4576
  protocol: TriggerDevProtocol,
@@ -4440,8 +4587,8 @@ export const triggerTaskV1: API.OperationMethod<
4440
4587
  TriggerTaskV1Error,
4441
4588
  TriggerDevOpContext
4442
4589
  > = /*@__PURE__*/ API.make(() => ({
4443
- input: __S(864, __c108, 0) as any as S.Schema<TriggerTaskV1Request>,
4444
- output: __S(944, __c118, 0) as any as S.Schema<TriggerTaskResponse>,
4590
+ input: __S(896, __c112, 0) as any as S.Schema<TriggerTaskV1Request>,
4591
+ output: __S(952, __c119, 0) as any as S.Schema<TriggerTaskResponse>,
4445
4592
  errors: [BadRequest, NotFound],
4446
4593
  serviceErrors: TriggerDevServiceErrors,
4447
4594
  protocol: TriggerDevProtocol,
@@ -4458,8 +4605,8 @@ export const unresolveErrorV1: API.OperationMethod<
4458
4605
  UnresolveErrorV1Error,
4459
4606
  TriggerDevOpContext
4460
4607
  > = /*@__PURE__*/ API.make(() => ({
4461
- input: __S(872, __c109, 0) as any as S.Schema<UnresolveErrorV1Request>,
4462
- output: __S(328, __c41, 0) as any as S.Schema<ErrorObject>,
4608
+ input: __S(904, __c113, 0) as any as S.Schema<UnresolveErrorV1Request>,
4609
+ output: __S(344, __c43, 0) as any as S.Schema<ErrorObject>,
4463
4610
  errors: [NotFound],
4464
4611
  serviceErrors: TriggerDevServiceErrors,
4465
4612
  protocol: TriggerDevProtocol,
@@ -4476,8 +4623,8 @@ export const updateDashboardV1: API.OperationMethod<
4476
4623
  UpdateDashboardV1Error,
4477
4624
  TriggerDevOpContext
4478
4625
  > = /*@__PURE__*/ API.make(() => ({
4479
- input: __S(880, __c110, 0) as any as S.Schema<UpdateDashboardV1Request>,
4480
- output: __S(659, __c82, 3) as any as S.Schema<DashboardObject>,
4626
+ input: __S(912, __c114, 0) as any as S.Schema<UpdateDashboardV1Request>,
4627
+ output: __S(667, __c83, 3) as any as S.Schema<DashboardObject>,
4481
4628
  errors: [NotFound, Conflict],
4482
4629
  serviceErrors: TriggerDevServiceErrors,
4483
4630
  protocol: TriggerDevProtocol,
@@ -4494,8 +4641,8 @@ export const updateDashboardWidgetV1: API.OperationMethod<
4494
4641
  UpdateDashboardWidgetV1Error,
4495
4642
  TriggerDevOpContext
4496
4643
  > = /*@__PURE__*/ API.make(() => ({
4497
- input: __S(888, __c111, 0) as any as S.Schema<UpdateDashboardWidgetV1Request>,
4498
- output: __S(659, __c82, 3) as any as S.Schema<DashboardObject>,
4644
+ input: __S(920, __c115, 0) as any as S.Schema<UpdateDashboardWidgetV1Request>,
4645
+ output: __S(667, __c83, 3) as any as S.Schema<DashboardObject>,
4499
4646
  errors: [BadRequest, NotFound, Conflict],
4500
4647
  serviceErrors: TriggerDevServiceErrors,
4501
4648
  protocol: TriggerDevProtocol,
@@ -4512,8 +4659,8 @@ export const updateProjectEnvvarV1: API.OperationMethod<
4512
4659
  UpdateProjectEnvvarV1Error,
4513
4660
  TriggerDevOpContext
4514
4661
  > = /*@__PURE__*/ API.make(() => ({
4515
- input: __S(896, __c112, 0) as any as S.Schema<UpdateProjectEnvvarV1Request>,
4516
- output: __S(88, __c11, 0) as any as S.Schema<SucceedResponse>,
4662
+ input: __S(928, __c116, 0) as any as S.Schema<UpdateProjectEnvvarV1Request>,
4663
+ output: __S(104, __c13, 0) as any as S.Schema<SucceedResponse>,
4517
4664
  errors: [BadRequest, NotFound, Conflict],
4518
4665
  serviceErrors: TriggerDevServiceErrors,
4519
4666
  protocol: TriggerDevProtocol,
@@ -4530,8 +4677,8 @@ export const updateRunMetadataV1: API.OperationMethod<
4530
4677
  UpdateRunMetadataV1Error,
4531
4678
  TriggerDevOpContext
4532
4679
  > = /*@__PURE__*/ API.make(() => ({
4533
- input: __S(904, __c113, 0) as any as S.Schema<UpdateRunMetadataV1Request>,
4534
- output: __S(905, __c113, 1) as any as S.Schema<UpdateRunMetadataV1Response>,
4680
+ input: __S(936, __c117, 0) as any as S.Schema<UpdateRunMetadataV1Request>,
4681
+ output: __S(937, __c117, 1) as any as S.Schema<UpdateRunMetadataV1Response>,
4535
4682
  errors: [BadRequest, NotFound],
4536
4683
  serviceErrors: TriggerDevServiceErrors,
4537
4684
  protocol: TriggerDevProtocol,
@@ -4548,7 +4695,7 @@ export const updateScheduleV1: API.OperationMethod<
4548
4695
  UpdateScheduleV1Error,
4549
4696
  TriggerDevOpContext
4550
4697
  > = /*@__PURE__*/ API.make(() => ({
4551
- input: __S(912, __c114, 0) as any as S.Schema<UpdateScheduleV1Request>,
4698
+ input: __S(960, __c120, 0) as any as S.Schema<UpdateScheduleV1Request>,
4552
4699
  output: __S(499, __c62, 3) as any as S.Schema<ScheduleObject>,
4553
4700
  errors: [BadRequest, NotFound, UnprocessableEntity],
4554
4701
  serviceErrors: TriggerDevServiceErrors,
@@ -4566,8 +4713,8 @@ export const updateSessionV1: API.OperationMethod<
4566
4713
  UpdateSessionV1Error,
4567
4714
  TriggerDevOpContext
4568
4715
  > = /*@__PURE__*/ API.make(() => ({
4569
- input: __S(920, __c115, 0) as any as S.Schema<UpdateSessionV1Request>,
4570
- output: __S(72, __c9, 0) as any as S.Schema<SessionObject>,
4716
+ input: __S(968, __c121, 0) as any as S.Schema<UpdateSessionV1Request>,
4717
+ output: __S(88, __c11, 0) as any as S.Schema<SessionObject>,
4571
4718
  errors: [NotFound, UnprocessableEntity],
4572
4719
  serviceErrors: TriggerDevServiceErrors,
4573
4720
  protocol: TriggerDevProtocol,
@@ -4584,8 +4731,8 @@ export const uploadProjectEnvvarsV1: API.OperationMethod<
4584
4731
  UploadProjectEnvvarsV1Error,
4585
4732
  TriggerDevOpContext
4586
4733
  > = /*@__PURE__*/ API.make(() => ({
4587
- input: __S(928, __c116, 0) as any as S.Schema<UploadProjectEnvvarsV1Request>,
4588
- output: __S(88, __c11, 0) as any as S.Schema<SucceedResponse>,
4734
+ input: __S(976, __c122, 0) as any as S.Schema<UploadProjectEnvvarsV1Request>,
4735
+ output: __S(104, __c13, 0) as any as S.Schema<SucceedResponse>,
4589
4736
  errors: [BadRequest, NotFound, Conflict],
4590
4737
  serviceErrors: TriggerDevServiceErrors,
4591
4738
  protocol: TriggerDevProtocol,
@@ -4683,6 +4830,51 @@ function __c5(j: number): any {
4683
4830
  }
4684
4831
  }
4685
4832
  function __c6(j: number): any {
4833
+ switch (j) {
4834
+ case 0:
4835
+ return S.suspend(() =>
4836
+ S.Struct({
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" });
4846
+ }
4847
+ }
4848
+ function __c7(j: number): any {
4849
+ switch (j) {
4850
+ case 0:
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" });
4875
+ }
4876
+ }
4877
+ function __c8(j: number): any {
4686
4878
  switch (j) {
4687
4879
  case 0:
4688
4880
  return S.suspend(() =>
@@ -4693,18 +4885,18 @@ function __c6(j: number): any {
4693
4885
  ).annotate({ identifier: "CloseSessionV1Request" });
4694
4886
  }
4695
4887
  }
4696
- function __c7(j: number): any {
4888
+ function __c9(j: number): any {
4697
4889
  switch (j) {
4698
4890
  case 0:
4699
4891
  return S.Record(S.String, S.Unknown);
4700
4892
  }
4701
4893
  }
4702
- function __c8(j: number): any {
4894
+ function __c10(j: number): any {
4703
4895
  switch (j) {
4704
4896
  case 0:
4705
4897
  return S.suspend(() =>
4706
4898
  S.Struct({
4707
- basePayload: __S(56, __c7, 0),
4899
+ basePayload: __S(72, __c9, 0),
4708
4900
  machine: S.optional(S.String),
4709
4901
  queue: S.optional(S.String),
4710
4902
  tags: S.optional(__S(16, __c2, 0)),
@@ -4717,7 +4909,7 @@ function __c8(j: number): any {
4717
4909
  ).annotate({ identifier: "SessionTriggerConfig" });
4718
4910
  }
4719
4911
  }
4720
- function __c9(j: number): any {
4912
+ function __c11(j: number): any {
4721
4913
  switch (j) {
4722
4914
  case 0:
4723
4915
  return S.suspend(() =>
@@ -4726,10 +4918,10 @@ function __c9(j: number): any {
4726
4918
  externalId: S.optional(S.NullOr(S.String)),
4727
4919
  type: S.String,
4728
4920
  taskIdentifier: S.String,
4729
- triggerConfig: S.optional(__S(64, __c8, 0)),
4921
+ triggerConfig: S.optional(__S(80, __c10, 0)),
4730
4922
  currentRunId: S.optional(S.NullOr(S.String)),
4731
4923
  tags: __S(16, __c2, 0),
4732
- metadata: S.optional(S.NullOr(__S(56, __c7, 0))),
4924
+ metadata: S.optional(S.NullOr(__S(72, __c9, 0))),
4733
4925
  closedAt: S.optional(S.NullOr(S.String)),
4734
4926
  closedReason: S.optional(S.NullOr(S.String)),
4735
4927
  expiresAt: S.optional(S.NullOr(S.String)),
@@ -4739,7 +4931,7 @@ function __c9(j: number): any {
4739
4931
  ).annotate({ identifier: "SessionObject" });
4740
4932
  }
4741
4933
  }
4742
- function __c10(j: number): any {
4934
+ function __c12(j: number): any {
4743
4935
  switch (j) {
4744
4936
  case 0:
4745
4937
  return S.suspend(() =>
@@ -4756,7 +4948,7 @@ function __c10(j: number): any {
4756
4948
  ).annotate({ identifier: "CompleteWaitpointTokenCallbackV1Request" });
4757
4949
  }
4758
4950
  }
4759
- function __c11(j: number): any {
4951
+ function __c13(j: number): any {
4760
4952
  switch (j) {
4761
4953
  case 0:
4762
4954
  return S.suspend(() =>
@@ -4766,7 +4958,7 @@ function __c11(j: number): any {
4766
4958
  ).annotate({ identifier: "CompleteWaitpointTokenResponse" });
4767
4959
  }
4768
4960
  }
4769
- function __c12(j: number): any {
4961
+ function __c14(j: number): any {
4770
4962
  switch (j) {
4771
4963
  case 0:
4772
4964
  return S.suspend(() =>
@@ -4783,7 +4975,7 @@ function __c12(j: number): any {
4783
4975
  ).annotate({ identifier: "CompleteWaitpointTokenV1Request" });
4784
4976
  }
4785
4977
  }
4786
- function __c13(j: number): any {
4978
+ function __c15(j: number): any {
4787
4979
  switch (j) {
4788
4980
  case 0:
4789
4981
  return S.suspend(() =>
@@ -4793,25 +4985,25 @@ function __c13(j: number): any {
4793
4985
  ).annotate({ identifier: "CreateBulkActionV1Request" });
4794
4986
  }
4795
4987
  }
4796
- function __c14(j: number): any {
4988
+ function __c16(j: number): any {
4797
4989
  switch (j) {
4798
4990
  case 0:
4799
4991
  return S.suspend(() => S.Struct({})).annotate({ identifier: "CreateBulkActionV1Response" });
4800
4992
  }
4801
4993
  }
4802
- function __c15(j: number): any {
4994
+ function __c17(j: number): any {
4803
4995
  switch (j) {
4804
4996
  case 0:
4805
4997
  return S.suspend(() =>
4806
4998
  S.Struct({
4807
4999
  title: S.String,
4808
5000
  description: S.optional(S.String),
4809
- widgets: S.optional(__S(129, __c16, 1)),
5001
+ widgets: S.optional(__S(145, __c18, 1)),
4810
5002
  }).pipe(T.Http({ method: "POST", uri: "/api/v1/query/dashboards", code: 200 })),
4811
5003
  ).annotate({ identifier: "CreateDashboardV1Request" });
4812
5004
  }
4813
5005
  }
4814
- function __c16(j: number): any {
5006
+ function __c18(j: number): any {
4815
5007
  switch (j) {
4816
5008
  case 0:
4817
5009
  return S.suspend(() =>
@@ -4821,14 +5013,14 @@ function __c16(j: number): any {
4821
5013
  query: S.optional(S.String),
4822
5014
  display: S.Unknown,
4823
5015
  fillGaps: S.optional(S.Boolean),
4824
- position: S.optional(__S(656, __c82, 0)),
5016
+ position: S.optional(__S(664, __c83, 0)),
4825
5017
  }),
4826
5018
  ).annotate({ identifier: "DashboardWidgetInput" });
4827
5019
  case 1:
4828
- return S.Array(__S(128, __c16, 0));
5020
+ return S.Array(__S(144, __c18, 0));
4829
5021
  }
4830
5022
  }
4831
- function __c17(j: number): any {
5023
+ function __c19(j: number): any {
4832
5024
  switch (j) {
4833
5025
  case 0:
4834
5026
  return S.suspend(() =>
@@ -4843,7 +5035,7 @@ function __c17(j: number): any {
4843
5035
  ).annotate({ identifier: "CreateProjectEnvvarV1Request" });
4844
5036
  }
4845
5037
  }
4846
- function __c18(j: number): any {
5038
+ function __c20(j: number): any {
4847
5039
  switch (j) {
4848
5040
  case 0:
4849
5041
  return S.suspend(() =>
@@ -4857,17 +5049,17 @@ function __c18(j: number): any {
4857
5049
  ).annotate({ identifier: "CreateScheduleV1Request" });
4858
5050
  }
4859
5051
  }
4860
- function __c19(j: number): any {
5052
+ function __c21(j: number): any {
4861
5053
  switch (j) {
4862
5054
  case 0:
4863
5055
  return S.suspend(() =>
4864
5056
  S.Struct({
4865
5057
  type: S.String,
4866
5058
  taskIdentifier: S.String,
4867
- triggerConfig: __S(64, __c8, 0),
5059
+ triggerConfig: __S(80, __c10, 0),
4868
5060
  externalId: S.optional(S.String),
4869
5061
  tags: S.optional(__S(16, __c2, 0)),
4870
- metadata: S.optional(__S(56, __c7, 0)),
5062
+ metadata: S.optional(__S(72, __c9, 0)),
4871
5063
  expiresAt: S.optional(S.String),
4872
5064
  }).pipe(T.Http({ method: "POST", uri: "/api/v1/sessions", code: 200 })),
4873
5065
  ).annotate({ identifier: "CreateSessionV1Request" });
@@ -4878,10 +5070,10 @@ function __c19(j: number): any {
4878
5070
  externalId: S.optional(S.NullOr(S.String)),
4879
5071
  type: S.String,
4880
5072
  taskIdentifier: S.String,
4881
- triggerConfig: S.optional(__S(64, __c8, 0)),
5073
+ triggerConfig: S.optional(__S(80, __c10, 0)),
4882
5074
  currentRunId: S.optional(S.NullOr(S.String)),
4883
5075
  tags: __S(16, __c2, 0),
4884
- metadata: S.optional(S.NullOr(__S(56, __c7, 0))),
5076
+ metadata: S.optional(S.NullOr(__S(72, __c9, 0))),
4885
5077
  closedAt: S.optional(S.NullOr(S.String)),
4886
5078
  closedReason: S.optional(S.NullOr(S.String)),
4887
5079
  expiresAt: S.optional(S.NullOr(S.String)),
@@ -4894,7 +5086,7 @@ function __c19(j: number): any {
4894
5086
  ).annotate({ identifier: "CreateSessionV1Response" });
4895
5087
  }
4896
5088
  }
4897
- function __c20(j: number): any {
5089
+ function __c22(j: number): any {
4898
5090
  switch (j) {
4899
5091
  case 0:
4900
5092
  return S.suspend(() =>
@@ -4915,7 +5107,7 @@ function __c20(j: number): any {
4915
5107
  ).annotate({ identifier: "CreateWaitpointTokenResponse" });
4916
5108
  }
4917
5109
  }
4918
- function __c21(j: number): any {
5110
+ function __c23(j: number): any {
4919
5111
  switch (j) {
4920
5112
  case 0:
4921
5113
  return S.Record(S.String, S.Unknown);
@@ -4923,7 +5115,7 @@ function __c21(j: number): any {
4923
5115
  return S.suspend(() =>
4924
5116
  S.Struct({
4925
5117
  endpointId: S.String.pipe(T.Label()),
4926
- match: S.optional(__S(168, __c21, 0)),
5118
+ match: S.optional(__S(184, __c23, 0)),
4927
5119
  filter: S.optional(S.String),
4928
5120
  timeout: S.optional(S.String),
4929
5121
  tags: S.optional(S.Unknown),
@@ -4948,7 +5140,7 @@ function __c21(j: number): any {
4948
5140
  ).annotate({ identifier: "CreateWebhookWaiterResponse" });
4949
5141
  }
4950
5142
  }
4951
- function __c22(j: number): any {
5143
+ function __c24(j: number): any {
4952
5144
  switch (j) {
4953
5145
  case 0:
4954
5146
  return S.suspend(() =>
@@ -4960,7 +5152,7 @@ function __c22(j: number): any {
4960
5152
  ).annotate({ identifier: "DeactivateScheduleV1Request" });
4961
5153
  }
4962
5154
  }
4963
- function __c23(j: number): any {
5155
+ function __c25(j: number): any {
4964
5156
  switch (j) {
4965
5157
  case 0:
4966
5158
  return S.suspend(() =>
@@ -4972,7 +5164,7 @@ function __c23(j: number): any {
4972
5164
  ).annotate({ identifier: "DeleteDashboardV1Request" });
4973
5165
  }
4974
5166
  }
4975
- function __c24(j: number): any {
5167
+ function __c26(j: number): any {
4976
5168
  switch (j) {
4977
5169
  case 0:
4978
5170
  return S.suspend(() =>
@@ -4990,7 +5182,7 @@ function __c24(j: number): any {
4990
5182
  ).annotate({ identifier: "DeleteDashboardWidgetV1Request" });
4991
5183
  }
4992
5184
  }
4993
- function __c25(j: number): any {
5185
+ function __c27(j: number): any {
4994
5186
  switch (j) {
4995
5187
  case 0:
4996
5188
  return S.suspend(() =>
@@ -5008,7 +5200,7 @@ function __c25(j: number): any {
5008
5200
  ).annotate({ identifier: "DeleteProjectEnvvarV1Request" });
5009
5201
  }
5010
5202
  }
5011
- function __c26(j: number): any {
5203
+ function __c28(j: number): any {
5012
5204
  switch (j) {
5013
5205
  case 0:
5014
5206
  return S.suspend(() =>
@@ -5018,7 +5210,7 @@ function __c26(j: number): any {
5018
5210
  ).annotate({ identifier: "DeleteScheduleV1Request" });
5019
5211
  }
5020
5212
  }
5021
- function __c27(j: number): any {
5213
+ function __c29(j: number): any {
5022
5214
  switch (j) {
5023
5215
  case 0:
5024
5216
  return S.suspend(() =>
@@ -5034,7 +5226,7 @@ function __c27(j: number): any {
5034
5226
  ).annotate({ identifier: "DisableWebhookEndpointV1Request" });
5035
5227
  }
5036
5228
  }
5037
- function __c28(j: number): any {
5229
+ function __c30(j: number): any {
5038
5230
  switch (j) {
5039
5231
  case 0:
5040
5232
  return S.suspend(() =>
@@ -5046,7 +5238,7 @@ function __c28(j: number): any {
5046
5238
  }),
5047
5239
  ).annotate({ identifier: "DisableWebhookEndpointV1ResponseSubscribersItem" });
5048
5240
  case 1:
5049
- return S.Array(__S(224, __c28, 0));
5241
+ return S.Array(__S(240, __c30, 0));
5050
5242
  case 2:
5051
5243
  return S.suspend(() =>
5052
5244
  S.Struct({
@@ -5061,13 +5253,13 @@ function __c28(j: number): any {
5061
5253
  url: S.String,
5062
5254
  createdAt: S.String,
5063
5255
  updatedAt: S.String,
5064
- subscribers: __S(225, __c28, 1),
5256
+ subscribers: __S(241, __c30, 1),
5065
5257
  setupPrompt: S.String,
5066
5258
  }),
5067
5259
  ).annotate({ identifier: "DisableWebhookEndpointV1Response" });
5068
5260
  }
5069
5261
  }
5070
- function __c29(j: number): any {
5262
+ function __c31(j: number): any {
5071
5263
  switch (j) {
5072
5264
  case 0:
5073
5265
  return S.suspend(() =>
@@ -5083,7 +5275,7 @@ function __c29(j: number): any {
5083
5275
  ).annotate({ identifier: "EnableWebhookEndpointV1Request" });
5084
5276
  }
5085
5277
  }
5086
- function __c30(j: number): any {
5278
+ function __c32(j: number): any {
5087
5279
  switch (j) {
5088
5280
  case 0:
5089
5281
  return S.suspend(() =>
@@ -5102,7 +5294,19 @@ function __c30(j: number): any {
5102
5294
  });
5103
5295
  }
5104
5296
  }
5105
- function __c31(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 {
5106
5310
  switch (j) {
5107
5311
  case 0:
5108
5312
  return S.suspend(() =>
@@ -5111,17 +5315,17 @@ function __c31(j: number): any {
5111
5315
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/batches/{batchId}/results", code: 200 })),
5112
5316
  ).annotate({ identifier: "GetBatchResultsV1Request" });
5113
5317
  case 1:
5114
- return S.Array(__S(257, __c32, 1));
5318
+ return S.Array(__S(281, __c35, 1));
5115
5319
  case 2:
5116
5320
  return S.suspend(() =>
5117
5321
  S.Struct({
5118
5322
  id: S.optional(S.String),
5119
- items: S.optional(__S(249, __c31, 1)),
5323
+ items: S.optional(__S(273, __c34, 1)),
5120
5324
  }),
5121
5325
  ).annotate({ identifier: "GetBatchResultsV1Response" });
5122
5326
  }
5123
5327
  }
5124
- function __c32(j: number): any {
5328
+ function __c35(j: number): any {
5125
5329
  switch (j) {
5126
5330
  case 0:
5127
5331
  return S.suspend(() =>
@@ -5137,25 +5341,13 @@ function __c32(j: number): any {
5137
5341
  output: S.optional(S.String),
5138
5342
  outputType: S.optional(S.String),
5139
5343
  error: S.optional(S.Unknown),
5140
- usage: S.optional(__S(256, __c32, 0)),
5344
+ usage: S.optional(__S(280, __c35, 0)),
5141
5345
  taskIdentifier: S.optional(S.String),
5142
5346
  }),
5143
5347
  ).annotate({ identifier: "GetBatchResultsV1ResponseItemsItem" });
5144
5348
  }
5145
5349
  }
5146
- function __c33(j: number): any {
5147
- switch (j) {
5148
- case 0:
5149
- return S.suspend(() =>
5150
- S.Struct({
5151
- error: S.String,
5152
- code: S.String,
5153
- reason: S.optional(S.String),
5154
- }),
5155
- ).annotate({ identifier: "WebhookWaiterErrorResponse" });
5156
- }
5157
- }
5158
- function __c34(j: number): any {
5350
+ function __c36(j: number): any {
5159
5351
  switch (j) {
5160
5352
  case 0:
5161
5353
  return S.suspend(() =>
@@ -5173,7 +5365,7 @@ function __c34(j: number): any {
5173
5365
  }),
5174
5366
  ).annotate({ identifier: "GetBatchV1ResponseErrorsItem" });
5175
5367
  case 2:
5176
- return S.Array(__S(273, __c34, 1));
5368
+ return S.Array(__S(289, __c36, 1));
5177
5369
  case 3:
5178
5370
  return S.suspend(() =>
5179
5371
  S.Struct({
@@ -5186,12 +5378,12 @@ function __c34(j: number): any {
5186
5378
  runs: S.optional(__S(16, __c2, 0)),
5187
5379
  successfulRunCount: S.optional(S.NullOr(S.Number)),
5188
5380
  failedRunCount: S.optional(S.NullOr(S.Number)),
5189
- errors: S.optional(S.NullOr(__S(274, __c34, 2))),
5381
+ errors: S.optional(S.NullOr(__S(290, __c36, 2))),
5190
5382
  }),
5191
5383
  ).annotate({ identifier: "GetBatchV1Response" });
5192
5384
  }
5193
5385
  }
5194
- function __c35(j: number): any {
5386
+ function __c37(j: number): any {
5195
5387
  switch (j) {
5196
5388
  case 0:
5197
5389
  return S.suspend(() =>
@@ -5201,7 +5393,7 @@ function __c35(j: number): any {
5201
5393
  ).annotate({ identifier: "GetBulkActionV1Request" });
5202
5394
  }
5203
5395
  }
5204
- function __c36(j: number): any {
5396
+ function __c38(j: number): any {
5205
5397
  switch (j) {
5206
5398
  case 0:
5207
5399
  return S.suspend(() =>
@@ -5218,14 +5410,14 @@ function __c36(j: number): any {
5218
5410
  name: S.optional(S.String),
5219
5411
  type: S.String,
5220
5412
  status: S.String,
5221
- counts: __S(288, __c36, 0),
5413
+ counts: __S(304, __c38, 0),
5222
5414
  createdAt: S.String,
5223
5415
  completedAt: S.optional(S.String),
5224
5416
  }),
5225
5417
  ).annotate({ identifier: "BulkActionObject" });
5226
5418
  }
5227
5419
  }
5228
- function __c37(j: number): any {
5420
+ function __c39(j: number): any {
5229
5421
  switch (j) {
5230
5422
  case 0:
5231
5423
  return S.suspend(() =>
@@ -5240,7 +5432,7 @@ function __c37(j: number): any {
5240
5432
  });
5241
5433
  }
5242
5434
  }
5243
- function __c38(j: number): any {
5435
+ function __c40(j: number): any {
5244
5436
  switch (j) {
5245
5437
  case 0:
5246
5438
  return S.suspend(() =>
@@ -5252,7 +5444,7 @@ function __c38(j: number): any {
5252
5444
  ).annotate({ identifier: "GetDashboardV1Request" });
5253
5445
  }
5254
5446
  }
5255
- function __c39(j: number): any {
5447
+ function __c41(j: number): any {
5256
5448
  switch (j) {
5257
5449
  case 0:
5258
5450
  return S.suspend(() =>
@@ -5270,13 +5462,13 @@ function __c39(j: number): any {
5270
5462
  }),
5271
5463
  ).annotate({ identifier: "GetDeploymentV1ResponseWorkerTasksItem" });
5272
5464
  case 2:
5273
- return S.Array(__S(313, __c39, 1));
5465
+ return S.Array(__S(329, __c41, 1));
5274
5466
  case 3:
5275
5467
  return S.suspend(() =>
5276
5468
  S.Struct({
5277
5469
  id: S.optional(S.String),
5278
5470
  version: S.optional(S.String),
5279
- tasks: S.optional(__S(314, __c39, 2)),
5471
+ tasks: S.optional(__S(330, __c41, 2)),
5280
5472
  }),
5281
5473
  ).annotate({ identifier: "GetDeploymentV1ResponseWorker" });
5282
5474
  case 4:
@@ -5292,12 +5484,12 @@ function __c39(j: number): any {
5292
5484
  externalId: S.optional(S.String),
5293
5485
  externalBuildData: S.optional(S.NullOr(S.Unknown)),
5294
5486
  errorData: S.optional(S.NullOr(S.Unknown)),
5295
- worker: S.optional(S.NullOr(__S(315, __c39, 3))),
5487
+ worker: S.optional(S.NullOr(__S(331, __c41, 3))),
5296
5488
  }),
5297
5489
  ).annotate({ identifier: "GetDeploymentV1Response" });
5298
5490
  }
5299
5491
  }
5300
- function __c40(j: number): any {
5492
+ function __c42(j: number): any {
5301
5493
  switch (j) {
5302
5494
  case 0:
5303
5495
  return S.suspend(() =>
@@ -5307,7 +5499,7 @@ function __c40(j: number): any {
5307
5499
  ).annotate({ identifier: "GetErrorV1Request" });
5308
5500
  }
5309
5501
  }
5310
- function __c41(j: number): any {
5502
+ function __c43(j: number): any {
5311
5503
  switch (j) {
5312
5504
  case 0:
5313
5505
  return S.suspend(() =>
@@ -5335,7 +5527,7 @@ function __c41(j: number): any {
5335
5527
  ).annotate({ identifier: "ErrorObject" });
5336
5528
  }
5337
5529
  }
5338
- function __c42(j: number): any {
5530
+ function __c44(j: number): any {
5339
5531
  switch (j) {
5340
5532
  case 0:
5341
5533
  return S.suspend(() =>
@@ -5355,7 +5547,7 @@ function __c42(j: number): any {
5355
5547
  ).annotate({ identifier: "GetLatestDeploymentV1Response" });
5356
5548
  }
5357
5549
  }
5358
- function __c43(j: number): any {
5550
+ function __c45(j: number): any {
5359
5551
  switch (j) {
5360
5552
  case 0:
5361
5553
  return S.suspend(() =>
@@ -5379,7 +5571,7 @@ function __c43(j: number): any {
5379
5571
  ).annotate({ identifier: "EnvVarValue" });
5380
5572
  }
5381
5573
  }
5382
- function __c44(j: number): any {
5574
+ function __c46(j: number): any {
5383
5575
  switch (j) {
5384
5576
  case 0:
5385
5577
  return S.suspend(() =>
@@ -5397,27 +5589,27 @@ function __c44(j: number): any {
5397
5589
  }),
5398
5590
  ).annotate({ identifier: "GetQuerySchemaV1ResponseTablesItemColumnsItem" });
5399
5591
  case 2:
5400
- return S.Array(__S(353, __c44, 1));
5592
+ return S.Array(__S(369, __c46, 1));
5401
5593
  case 3:
5402
5594
  return S.suspend(() =>
5403
5595
  S.Struct({
5404
5596
  name: S.optional(S.String),
5405
5597
  description: S.optional(S.String),
5406
5598
  timeColumn: S.optional(S.String),
5407
- columns: S.optional(__S(354, __c44, 2)),
5599
+ columns: S.optional(__S(370, __c46, 2)),
5408
5600
  }),
5409
5601
  ).annotate({ identifier: "GetQuerySchemaV1ResponseTablesItem" });
5410
5602
  case 4:
5411
- return S.Array(__S(355, __c44, 3));
5603
+ return S.Array(__S(371, __c46, 3));
5412
5604
  case 5:
5413
5605
  return S.suspend(() =>
5414
5606
  S.Struct({
5415
- tables: S.optional(__S(356, __c44, 4)),
5607
+ tables: S.optional(__S(372, __c46, 4)),
5416
5608
  }),
5417
5609
  ).annotate({ identifier: "GetQuerySchemaV1Response" });
5418
5610
  }
5419
5611
  }
5420
- function __c45(j: number): any {
5612
+ function __c47(j: number): any {
5421
5613
  switch (j) {
5422
5614
  case 0:
5423
5615
  return S.suspend(() =>
@@ -5428,7 +5620,7 @@ function __c45(j: number): any {
5428
5620
  ).annotate({ identifier: "GetQueueV1Request" });
5429
5621
  }
5430
5622
  }
5431
- function __c46(j: number): any {
5623
+ function __c48(j: number): any {
5432
5624
  switch (j) {
5433
5625
  case 0:
5434
5626
  return S.suspend(() =>
@@ -5451,12 +5643,12 @@ function __c46(j: number): any {
5451
5643
  queued: S.Number,
5452
5644
  paused: S.Boolean,
5453
5645
  concurrencyLimit: S.optional(S.NullOr(S.Number)),
5454
- concurrency: S.optional(__S(368, __c46, 0)),
5646
+ concurrency: S.optional(__S(384, __c48, 0)),
5455
5647
  }),
5456
5648
  ).annotate({ identifier: "QueueObject" });
5457
5649
  }
5458
5650
  }
5459
- function __c47(j: number): any {
5651
+ function __c49(j: number): any {
5460
5652
  switch (j) {
5461
5653
  case 0:
5462
5654
  return S.suspend(() =>
@@ -5473,7 +5665,7 @@ function __c47(j: number): any {
5473
5665
  }),
5474
5666
  ).annotate({ identifier: "GetRunEventsV1ResponseEventsItemEventsItem" });
5475
5667
  case 2:
5476
- return S.Array(__S(377, __c47, 1));
5668
+ return S.Array(__S(393, __c49, 1));
5477
5669
  case 3:
5478
5670
  return S.suspend(() =>
5479
5671
  S.Struct({
@@ -5486,7 +5678,7 @@ function __c47(j: number): any {
5486
5678
  S.Struct({
5487
5679
  icon: S.optional(S.String),
5488
5680
  variant: S.optional(S.String),
5489
- accessory: S.optional(__S(379, __c47, 3)),
5681
+ accessory: S.optional(__S(395, __c49, 3)),
5490
5682
  }),
5491
5683
  ).annotate({ identifier: "GetRunEventsV1ResponseEventsItemStyle" });
5492
5684
  case 5:
@@ -5505,21 +5697,21 @@ function __c47(j: number): any {
5505
5697
  kind: S.optional(S.String),
5506
5698
  attemptNumber: S.optional(S.NullOr(S.Number)),
5507
5699
  taskSlug: S.optional(S.String),
5508
- events: S.optional(__S(378, __c47, 2)),
5509
- style: S.optional(__S(380, __c47, 4)),
5700
+ events: S.optional(__S(394, __c49, 2)),
5701
+ style: S.optional(__S(396, __c49, 4)),
5510
5702
  }),
5511
5703
  ).annotate({ identifier: "GetRunEventsV1ResponseEventsItem" });
5512
5704
  case 6:
5513
- return S.Array(__S(381, __c47, 5));
5705
+ return S.Array(__S(397, __c49, 5));
5514
5706
  case 7:
5515
5707
  return S.suspend(() =>
5516
5708
  S.Struct({
5517
- events: S.optional(__S(382, __c47, 6)),
5709
+ events: S.optional(__S(398, __c49, 6)),
5518
5710
  }),
5519
5711
  ).annotate({ identifier: "GetRunEventsV1Response" });
5520
5712
  }
5521
5713
  }
5522
- function __c48(j: number): any {
5714
+ function __c50(j: number): any {
5523
5715
  switch (j) {
5524
5716
  case 0:
5525
5717
  return S.suspend(() =>
@@ -5529,7 +5721,7 @@ function __c48(j: number): any {
5529
5721
  ).annotate({ identifier: "GetRunResultV1Request" });
5530
5722
  }
5531
5723
  }
5532
- function __c49(j: number): any {
5724
+ function __c51(j: number): any {
5533
5725
  switch (j) {
5534
5726
  case 0:
5535
5727
  return S.suspend(() =>
@@ -5545,7 +5737,7 @@ function __c49(j: number): any {
5545
5737
  });
5546
5738
  }
5547
5739
  }
5548
- function __c50(j: number): any {
5740
+ function __c52(j: number): any {
5549
5741
  switch (j) {
5550
5742
  case 0:
5551
5743
  return S.suspend(() =>
@@ -5555,7 +5747,7 @@ function __c50(j: number): any {
5555
5747
  ).annotate({ identifier: "GetRunV1Request" });
5556
5748
  }
5557
5749
  }
5558
- function __c51(j: number): any {
5750
+ function __c53(j: number): any {
5559
5751
  switch (j) {
5560
5752
  case 0:
5561
5753
  return S.suspend(() =>
@@ -5584,13 +5776,13 @@ function __c51(j: number): any {
5584
5776
  }),
5585
5777
  ).annotate({ identifier: "CommonRunObject" });
5586
5778
  case 1:
5587
- return S.Array(__S(408, __c51, 0));
5779
+ return S.Array(__S(424, __c53, 0));
5588
5780
  case 2:
5589
5781
  return S.suspend(() =>
5590
5782
  S.Struct({
5591
- root: S.optional(__S(408, __c51, 0)),
5592
- parent: S.optional(__S(408, __c51, 0)),
5593
- children: S.optional(__S(409, __c51, 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)),
5594
5786
  }),
5595
5787
  ).annotate({ identifier: "GetRunV1ResponseRelatedRuns" });
5596
5788
  case 3:
@@ -5615,7 +5807,7 @@ function __c51(j: number): any {
5615
5807
  S.Struct({
5616
5808
  id: S.String,
5617
5809
  status: S.String,
5618
- error: S.optional(__S(412, __c51, 4)),
5810
+ error: S.optional(__S(428, __c53, 4)),
5619
5811
  createdAt: S.String,
5620
5812
  updatedAt: S.String,
5621
5813
  startedAt: S.optional(S.String),
@@ -5623,7 +5815,7 @@ function __c51(j: number): any {
5623
5815
  }),
5624
5816
  ).annotate({ identifier: "GetRunV1ResponseAttemptsItem" });
5625
5817
  case 6:
5626
- return S.Array(__S(413, __c51, 5));
5818
+ return S.Array(__S(429, __c53, 5));
5627
5819
  case 7:
5628
5820
  return S.suspend(() =>
5629
5821
  S.Struct({
@@ -5652,14 +5844,14 @@ function __c51(j: number): any {
5652
5844
  payloadPresignedUrl: S.optional(S.String),
5653
5845
  output: S.optional(S.Unknown),
5654
5846
  outputPresignedUrl: S.optional(S.String),
5655
- relatedRuns: S.optional(__S(410, __c51, 2)),
5656
- schedule: S.optional(__S(411, __c51, 3)),
5657
- attempts: __S(414, __c51, 6),
5847
+ relatedRuns: S.optional(__S(426, __c53, 2)),
5848
+ schedule: S.optional(__S(427, __c53, 3)),
5849
+ attempts: __S(430, __c53, 6),
5658
5850
  }),
5659
5851
  ).annotate({ identifier: "GetRunV1Response" });
5660
5852
  }
5661
5853
  }
5662
- function __c52(j: number): any {
5854
+ function __c54(j: number): any {
5663
5855
  switch (j) {
5664
5856
  case 0:
5665
5857
  return S.suspend(() =>
@@ -5669,7 +5861,7 @@ function __c52(j: number): any {
5669
5861
  ).annotate({ identifier: "GetScheduleV1Request" });
5670
5862
  }
5671
5863
  }
5672
- function __c53(j: number): any {
5864
+ function __c55(j: number): any {
5673
5865
  switch (j) {
5674
5866
  case 0:
5675
5867
  return S.suspend(() =>
@@ -5679,7 +5871,21 @@ function __c53(j: number): any {
5679
5871
  ).annotate({ identifier: "GetSessionV1Request" });
5680
5872
  }
5681
5873
  }
5682
- function __c54(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 {
5683
5889
  switch (j) {
5684
5890
  case 0:
5685
5891
  return S.suspend(() =>
@@ -5695,7 +5901,7 @@ function __c54(j: number): any {
5695
5901
  ).annotate({ identifier: "GetTimezonesResult" });
5696
5902
  }
5697
5903
  }
5698
- function __c55(j: number): any {
5904
+ function __c58(j: number): any {
5699
5905
  switch (j) {
5700
5906
  case 0:
5701
5907
  return S.suspend(() =>
@@ -5707,7 +5913,7 @@ function __c55(j: number): any {
5707
5913
  ).annotate({ identifier: "GetWaitpointTokenV1Request" });
5708
5914
  }
5709
5915
  }
5710
- function __c56(j: number): any {
5916
+ function __c59(j: number): any {
5711
5917
  switch (j) {
5712
5918
  case 0:
5713
5919
  return S.suspend(() =>
@@ -5728,46 +5934,107 @@ function __c56(j: number): any {
5728
5934
  ).annotate({ identifier: "WaitpointTokenObject" });
5729
5935
  }
5730
5936
  }
5731
- function __c57(j: number): any {
5937
+ function __c60(j: number): any {
5732
5938
  switch (j) {
5733
5939
  case 0:
5734
- return S.Record(S.String, S.String);
5735
- case 1:
5736
5940
  return S.suspend(() =>
5737
5941
  S.Struct({
5738
- deliveryId: S.String.pipe(T.Label()),
5942
+ schedule_id: S.String.pipe(T.Label()),
5739
5943
  }).pipe(
5740
- T.Http({ method: "GET", uri: "/api/v1/webhooks/deliveries/{deliveryId}", code: 200 }),
5944
+ T.Http({ method: "POST", uri: "/api/v1/schedules/{schedule_id}/activate", code: 200 }),
5741
5945
  ),
5742
- ).annotate({ identifier: "GetWebhookDeliveryV1Request" });
5743
- case 2:
5946
+ ).annotate({ identifier: "ActivateScheduleV1Request" });
5947
+ }
5948
+ }
5949
+ function __c61(j: number): any {
5950
+ switch (j) {
5951
+ case 0:
5744
5952
  return S.suspend(() =>
5745
5953
  S.Struct({
5746
- matched: S.Number,
5747
- resumed: S.Number,
5748
- failed: S.Number,
5954
+ type: S.optional(S.String),
5955
+ expression: S.optional(S.String),
5956
+ description: S.optional(S.String),
5749
5957
  }),
5750
- ).annotate({ identifier: "WebhookDeliveryTargetWaiters" });
5751
- case 3:
5958
+ ).annotate({ identifier: "ScheduleObjectGenerator" });
5959
+ }
5960
+ }
5961
+ function __c62(j: number): any {
5962
+ switch (j) {
5963
+ case 0:
5752
5964
  return S.suspend(() =>
5753
5965
  S.Struct({
5754
- id: S.String,
5755
- type: S.String,
5756
- status: S.String,
5757
- reason: S.NullOr(S.String),
5758
- error: S.NullOr(S.String),
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 {
5999
+ switch (j) {
6000
+ case 0:
6001
+ return S.Record(S.String, S.String);
6002
+ case 1:
6003
+ return S.suspend(() =>
6004
+ S.Struct({
6005
+ deliveryId: S.String.pipe(T.Label()),
6006
+ }).pipe(
6007
+ T.Http({ method: "GET", uri: "/api/v1/webhooks/deliveries/{deliveryId}", code: 200 }),
6008
+ ),
6009
+ ).annotate({ identifier: "GetWebhookDeliveryV1Request" });
6010
+ case 2:
6011
+ return S.suspend(() =>
6012
+ S.Struct({
6013
+ matched: S.Number,
6014
+ resumed: S.Number,
6015
+ failed: S.Number,
6016
+ }),
6017
+ ).annotate({ identifier: "WebhookDeliveryTargetWaiters" });
6018
+ case 3:
6019
+ return S.suspend(() =>
6020
+ S.Struct({
6021
+ id: S.String,
6022
+ type: S.String,
6023
+ status: S.String,
6024
+ reason: S.NullOr(S.String),
6025
+ error: S.NullOr(S.String),
5759
6026
  runId: S.NullOr(S.String),
5760
6027
  sessionId: S.NullOr(S.String),
5761
- waiters: S.NullOr(__S(458, __c57, 2)),
6028
+ waiters: S.NullOr(__S(506, __c63, 2)),
5762
6029
  }),
5763
6030
  ).annotate({ identifier: "WebhookDeliveryTarget" });
5764
6031
  case 4:
5765
- return S.Array(__S(459, __c57, 3));
6032
+ return S.Array(__S(507, __c63, 3));
5766
6033
  case 5:
5767
6034
  return S.suspend(() =>
5768
6035
  S.Struct({
5769
6036
  id: S.String,
5770
- endpoint: S.NullOr(__S(464, __c58, 0)),
6037
+ endpoint: S.NullOr(__S(512, __c64, 0)),
5771
6038
  status: S.String,
5772
6039
  externalDeliveryId: S.String,
5773
6040
  isTest: S.Boolean,
@@ -5775,17 +6042,17 @@ function __c57(j: number): any {
5775
6042
  processedAt: S.NullOr(S.String),
5776
6043
  idempotencyKey: S.String,
5777
6044
  event: S.Unknown,
5778
- headers: S.NullOr(__S(456, __c57, 0)),
6045
+ headers: S.NullOr(__S(504, __c63, 0)),
5779
6046
  rawBodyHash: S.NullOr(S.String),
5780
6047
  error: S.NullOr(S.String),
5781
6048
  filterReason: S.NullOr(S.String),
5782
- targets: __S(460, __c57, 4),
6049
+ targets: __S(508, __c63, 4),
5783
6050
  updatedAt: S.String,
5784
6051
  }),
5785
6052
  ).annotate({ identifier: "GetWebhookDeliveryV1Response" });
5786
6053
  }
5787
6054
  }
5788
- function __c58(j: number): any {
6055
+ function __c64(j: number): any {
5789
6056
  switch (j) {
5790
6057
  case 0:
5791
6058
  return S.suspend(() =>
@@ -5796,7 +6063,7 @@ function __c58(j: number): any {
5796
6063
  ).annotate({ identifier: "GetWebhookDeliveryV1ResponseEndpoint" });
5797
6064
  }
5798
6065
  }
5799
- function __c59(j: number): any {
6066
+ function __c65(j: number): any {
5800
6067
  switch (j) {
5801
6068
  case 0:
5802
6069
  return S.suspend(() =>
@@ -5808,68 +6075,7 @@ function __c59(j: number): any {
5808
6075
  ).annotate({ identifier: "GetWebhookEndpointV1Request" });
5809
6076
  }
5810
6077
  }
5811
- function __c60(j: number): any {
5812
- switch (j) {
5813
- case 0:
5814
- return S.suspend(() =>
5815
- S.Struct({
5816
- schedule_id: S.String.pipe(T.Label()),
5817
- }).pipe(
5818
- T.Http({ method: "POST", uri: "/api/v1/schedules/{schedule_id}/activate", code: 200 }),
5819
- ),
5820
- ).annotate({ identifier: "ActivateScheduleV1Request" });
5821
- }
5822
- }
5823
- function __c61(j: number): any {
5824
- switch (j) {
5825
- case 0:
5826
- return S.suspend(() =>
5827
- S.Struct({
5828
- type: S.optional(S.String),
5829
- expression: S.optional(S.String),
5830
- description: S.optional(S.String),
5831
- }),
5832
- ).annotate({ identifier: "ScheduleObjectGenerator" });
5833
- }
5834
- }
5835
- function __c62(j: number): any {
5836
- switch (j) {
5837
- case 0:
5838
- return S.suspend(() =>
5839
- S.Struct({
5840
- minimumWindowSeconds: S.optional(S.Number),
5841
- reason: S.optional(S.String),
5842
- }),
5843
- ).annotate({ identifier: "ScheduleObjectAppliedSchedulePolicy" });
5844
- case 1:
5845
- return S.suspend(() =>
5846
- S.Struct({
5847
- id: S.optional(S.String),
5848
- type: S.optional(S.String),
5849
- userName: S.optional(S.String),
5850
- }),
5851
- ).annotate({ identifier: "ScheduleEnvironment" });
5852
- case 2:
5853
- return S.Array(__S(497, __c62, 1));
5854
- case 3:
5855
- return S.suspend(() =>
5856
- S.Struct({
5857
- id: S.optional(S.String),
5858
- task: S.optional(S.String),
5859
- type: S.optional(S.String),
5860
- active: S.optional(S.Boolean),
5861
- deduplicationKey: S.optional(S.String),
5862
- externalId: S.optional(S.String),
5863
- generator: S.optional(__S(488, __c61, 0)),
5864
- timezone: S.optional(S.String),
5865
- nextRun: S.optional(S.String),
5866
- appliedSchedulePolicy: S.optional(__S(496, __c62, 0)),
5867
- environments: S.optional(__S(498, __c62, 2)),
5868
- }),
5869
- ).annotate({ identifier: "ScheduleObject" });
5870
- }
5871
- }
5872
- function __c63(j: number): any {
6078
+ function __c66(j: number): any {
5873
6079
  switch (j) {
5874
6080
  case 0:
5875
6081
  return S.suspend(() =>
@@ -5883,26 +6089,26 @@ function __c63(j: number): any {
5883
6089
  ).annotate({ identifier: "IgnoreErrorV1Request" });
5884
6090
  }
5885
6091
  }
5886
- function __c64(j: number): any {
6092
+ function __c67(j: number): any {
5887
6093
  switch (j) {
5888
6094
  case 0:
5889
6095
  return S.suspend(() =>
5890
6096
  S.Struct({
5891
- page: S.optional(__S(520, __c65, 0).pipe(T.Query())),
6097
+ page: S.optional(__S(544, __c68, 0).pipe(T.Query())),
5892
6098
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/bulk-actions", code: 200 })),
5893
6099
  ).annotate({ identifier: "ListBulkActionsV1Request" });
5894
6100
  case 1:
5895
- return S.Array(__S(289, __c36, 1));
6101
+ return S.Array(__S(305, __c38, 1));
5896
6102
  case 2:
5897
6103
  return S.suspend(() =>
5898
6104
  S.Struct({
5899
- data: __S(513, __c64, 1),
5900
- pagination: __S(528, __c66, 0),
6105
+ data: __S(537, __c67, 1),
6106
+ pagination: __S(552, __c69, 0),
5901
6107
  }),
5902
6108
  ).annotate({ identifier: "ListBulkActionsResult" });
5903
6109
  }
5904
6110
  }
5905
- function __c65(j: number): any {
6111
+ function __c68(j: number): any {
5906
6112
  switch (j) {
5907
6113
  case 0:
5908
6114
  return S.suspend(() =>
@@ -5914,7 +6120,7 @@ function __c65(j: number): any {
5914
6120
  ).annotate({ identifier: "ListBulkActionsV1RequestPage" });
5915
6121
  }
5916
6122
  }
5917
- function __c66(j: number): any {
6123
+ function __c69(j: number): any {
5918
6124
  switch (j) {
5919
6125
  case 0:
5920
6126
  return S.suspend(() =>
@@ -5925,7 +6131,7 @@ function __c66(j: number): any {
5925
6131
  ).annotate({ identifier: "ListBulkActionsResultPagination" });
5926
6132
  }
5927
6133
  }
5928
- function __c67(j: number): any {
6134
+ function __c70(j: number): any {
5929
6135
  switch (j) {
5930
6136
  case 0:
5931
6137
  return S.suspend(() =>
@@ -5935,17 +6141,17 @@ function __c67(j: number): any {
5935
6141
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/concurrency-limits", code: 200 })),
5936
6142
  ).annotate({ identifier: "ListConcurrencyLimitsV1Request" });
5937
6143
  case 1:
5938
- return S.Array(__S(553, __c69, 1));
6144
+ return S.Array(__S(577, __c72, 1));
5939
6145
  case 2:
5940
6146
  return S.suspend(() =>
5941
6147
  S.Struct({
5942
- data: S.optional(__S(537, __c67, 1)),
5943
- pagination: S.optional(__S(544, __c68, 0)),
6148
+ data: S.optional(__S(561, __c70, 1)),
6149
+ pagination: S.optional(__S(568, __c71, 0)),
5944
6150
  }),
5945
6151
  ).annotate({ identifier: "ListConcurrencyLimitsV1Response" });
5946
6152
  }
5947
6153
  }
5948
- function __c68(j: number): any {
6154
+ function __c71(j: number): any {
5949
6155
  switch (j) {
5950
6156
  case 0:
5951
6157
  return S.suspend(() =>
@@ -5957,7 +6163,7 @@ function __c68(j: number): any {
5957
6163
  ).annotate({ identifier: "ListConcurrencyLimitsV1ResponsePagination" });
5958
6164
  }
5959
6165
  }
5960
- function __c69(j: number): any {
6166
+ function __c72(j: number): any {
5961
6167
  switch (j) {
5962
6168
  case 0:
5963
6169
  return S.suspend(() =>
@@ -5973,8 +6179,8 @@ function __c69(j: number): any {
5973
6179
  S.Struct({
5974
6180
  id: S.String,
5975
6181
  name: S.String,
5976
- perKey: __S(552, __c69, 0),
5977
- total: __S(552, __c69, 0),
6182
+ perKey: __S(576, __c72, 0),
6183
+ total: __S(576, __c72, 0),
5978
6184
  running: S.Number,
5979
6185
  queued: S.Number,
5980
6186
  paused: S.optional(S.Boolean),
@@ -5982,7 +6188,7 @@ function __c69(j: number): any {
5982
6188
  ).annotate({ identifier: "ConcurrencyLimitObject" });
5983
6189
  }
5984
6190
  }
5985
- function __c70(j: number): any {
6191
+ function __c73(j: number): any {
5986
6192
  switch (j) {
5987
6193
  case 0:
5988
6194
  return S.suspend(() =>
@@ -5998,7 +6204,7 @@ function __c70(j: number): any {
5998
6204
  }),
5999
6205
  ).annotate({ identifier: "ListDashboardsV1ResponseDashboardsItemWidgetsItem" });
6000
6206
  case 2:
6001
- return S.Array(__S(561, __c70, 1));
6207
+ return S.Array(__S(585, __c73, 1));
6002
6208
  case 3:
6003
6209
  return S.suspend(() =>
6004
6210
  S.Struct({
@@ -6006,20 +6212,20 @@ function __c70(j: number): any {
6006
6212
  title: S.optional(S.String),
6007
6213
  type: S.optional(S.String),
6008
6214
  description: S.optional(S.String),
6009
- widgets: S.optional(__S(562, __c70, 2)),
6215
+ widgets: S.optional(__S(586, __c73, 2)),
6010
6216
  }),
6011
6217
  ).annotate({ identifier: "ListDashboardsV1ResponseDashboardsItem" });
6012
6218
  case 4:
6013
- return S.Array(__S(563, __c70, 3));
6219
+ return S.Array(__S(587, __c73, 3));
6014
6220
  case 5:
6015
6221
  return S.suspend(() =>
6016
6222
  S.Struct({
6017
- dashboards: S.optional(__S(564, __c70, 4)),
6223
+ dashboards: S.optional(__S(588, __c73, 4)),
6018
6224
  }),
6019
6225
  ).annotate({ identifier: "ListDashboardsV1Response" });
6020
6226
  }
6021
6227
  }
6022
- function __c71(j: number): any {
6228
+ function __c74(j: number): any {
6023
6229
  switch (j) {
6024
6230
  case 0:
6025
6231
  return S.suspend(() =>
@@ -6049,7 +6255,7 @@ function __c71(j: number): any {
6049
6255
  }),
6050
6256
  ).annotate({ identifier: "ListDeploymentsV1ResponseDataItem" });
6051
6257
  case 2:
6052
- return S.Array(__S(569, __c71, 1));
6258
+ return S.Array(__S(593, __c74, 1));
6053
6259
  case 3:
6054
6260
  return S.suspend(() =>
6055
6261
  S.Struct({
@@ -6059,20 +6265,20 @@ function __c71(j: number): any {
6059
6265
  case 4:
6060
6266
  return S.suspend(() =>
6061
6267
  S.Struct({
6062
- data: S.optional(__S(570, __c71, 2)),
6063
- pagination: S.optional(__S(571, __c71, 3)),
6268
+ data: S.optional(__S(594, __c74, 2)),
6269
+ pagination: S.optional(__S(595, __c74, 3)),
6064
6270
  }),
6065
6271
  ).annotate({ identifier: "ListDeploymentsV1Response" });
6066
6272
  }
6067
6273
  }
6068
- function __c72(j: number): any {
6274
+ function __c75(j: number): any {
6069
6275
  switch (j) {
6070
6276
  case 0:
6071
6277
  return S.suspend(() =>
6072
6278
  S.Struct({
6073
6279
  taskIdentifier: S.optional(__S(16, __c2, 0)),
6074
6280
  version: S.optional(__S(16, __c2, 0)),
6075
- status: S.optional(__S(584, __c73, 0)),
6281
+ status: S.optional(__S(608, __c76, 0)),
6076
6282
  search: S.optional(S.String),
6077
6283
  from: S.optional(S.String),
6078
6284
  to: S.optional(S.String),
@@ -6082,8 +6288,8 @@ function __c72(j: number): any {
6082
6288
  case 1:
6083
6289
  return S.suspend(() =>
6084
6290
  S.Struct({
6085
- page: S.optional(__S(520, __c65, 0).pipe(T.Query())),
6086
- filter: S.optional(__S(576, __c72, 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())),
6087
6293
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/errors", code: 200 })),
6088
6294
  ).annotate({ identifier: "ListErrorsV1Request" });
6089
6295
  case 2:
@@ -6103,23 +6309,23 @@ function __c72(j: number): any {
6103
6309
  }),
6104
6310
  ).annotate({ identifier: "ErrorListItem" });
6105
6311
  case 3:
6106
- return S.Array(__S(578, __c72, 2));
6312
+ return S.Array(__S(602, __c75, 2));
6107
6313
  case 4:
6108
6314
  return S.suspend(() =>
6109
6315
  S.Struct({
6110
- data: S.optional(__S(579, __c72, 3)),
6111
- pagination: S.optional(__S(528, __c66, 0)),
6316
+ data: S.optional(__S(603, __c75, 3)),
6317
+ pagination: S.optional(__S(552, __c69, 0)),
6112
6318
  }),
6113
6319
  ).annotate({ identifier: "ListErrorsResult" });
6114
6320
  }
6115
6321
  }
6116
- function __c73(j: number): any {
6322
+ function __c76(j: number): any {
6117
6323
  switch (j) {
6118
6324
  case 0:
6119
6325
  return S.Array(S.String);
6120
6326
  }
6121
6327
  }
6122
- function __c74(j: number): any {
6328
+ function __c77(j: number): any {
6123
6329
  switch (j) {
6124
6330
  case 0:
6125
6331
  return S.suspend(() =>
@@ -6131,12 +6337,12 @@ function __c74(j: number): any {
6131
6337
  ),
6132
6338
  ).annotate({ identifier: "ListProjectEnvvarsV1Request" });
6133
6339
  case 1:
6134
- return S.suspend(() => __S(601, __c75, 1).pipe(T.RawResponseRoot())).annotate({
6340
+ return S.suspend(() => __S(625, __c78, 1).pipe(T.RawResponseRoot())).annotate({
6135
6341
  identifier: "ListProjectEnvvarsV1Response",
6136
6342
  });
6137
6343
  }
6138
6344
  }
6139
- function __c75(j: number): any {
6345
+ function __c78(j: number): any {
6140
6346
  switch (j) {
6141
6347
  case 0:
6142
6348
  return S.suspend(() =>
@@ -6146,16 +6352,16 @@ function __c75(j: number): any {
6146
6352
  }),
6147
6353
  ).annotate({ identifier: "EnvVar" });
6148
6354
  case 1:
6149
- return S.Array(__S(600, __c75, 0));
6355
+ return S.Array(__S(624, __c78, 0));
6150
6356
  }
6151
6357
  }
6152
- function __c76(j: number): any {
6358
+ function __c79(j: number): any {
6153
6359
  switch (j) {
6154
6360
  case 0:
6155
6361
  return S.suspend(() =>
6156
6362
  S.Struct({
6157
- createdAt: S.optional(__S(624, __c78, 0)),
6158
- status: S.optional(__S(584, __c73, 0)),
6363
+ createdAt: S.optional(__S(648, __c81, 0)),
6364
+ status: S.optional(__S(608, __c76, 0)),
6159
6365
  taskIdentifier: S.optional(__S(16, __c2, 0)),
6160
6366
  version: S.optional(__S(16, __c2, 0)),
6161
6367
  bulkAction: S.optional(S.String),
@@ -6163,20 +6369,20 @@ function __c76(j: number): any {
6163
6369
  isTest: S.optional(S.Boolean),
6164
6370
  tag: S.optional(__S(16, __c2, 0)),
6165
6371
  error: S.optional(S.String),
6166
- env: S.optional(__S(584, __c73, 0)),
6372
+ env: S.optional(__S(608, __c76, 0)),
6167
6373
  }),
6168
6374
  ).annotate({ identifier: "ListProjectRunsV1RequestFilter" });
6169
6375
  case 1:
6170
6376
  return S.suspend(() =>
6171
6377
  S.Struct({
6172
6378
  projectRef: S.String.pipe(T.Label()),
6173
- page: S.optional(__S(520, __c65, 0).pipe(T.Query())),
6174
- filter: S.optional(__S(608, __c76, 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())),
6175
6381
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/projects/{projectRef}/runs", code: 200 })),
6176
6382
  ).annotate({ identifier: "ListProjectRunsV1Request" });
6177
6383
  }
6178
6384
  }
6179
- function __c77(j: number): any {
6385
+ function __c80(j: number): any {
6180
6386
  switch (j) {
6181
6387
  case 0:
6182
6388
  return S.suspend(() =>
@@ -6193,7 +6399,7 @@ function __c77(j: number): any {
6193
6399
  status: S.String,
6194
6400
  taskIdentifier: S.String,
6195
6401
  version: S.optional(S.String),
6196
- env: __S(616, __c77, 0),
6402
+ env: __S(640, __c80, 0),
6197
6403
  idempotencyKey: S.optional(S.String),
6198
6404
  isTest: S.Boolean,
6199
6405
  createdAt: S.String,
@@ -6210,74 +6416,45 @@ function __c77(j: number): any {
6210
6416
  }),
6211
6417
  ).annotate({ identifier: "ListRunItem" });
6212
6418
  case 2:
6213
- return S.Array(__S(617, __c77, 1));
6419
+ return S.Array(__S(641, __c80, 1));
6214
6420
  case 3:
6215
6421
  return S.suspend(() =>
6216
6422
  S.Struct({
6217
- data: S.optional(__S(618, __c77, 2)),
6218
- pagination: S.optional(__S(528, __c66, 0)),
6219
- }),
6220
- ).annotate({ identifier: "ListRunsResult" });
6221
- }
6222
- }
6223
- function __c78(j: number): any {
6224
- switch (j) {
6225
- case 0:
6226
- return S.suspend(() =>
6227
- S.Struct({
6423
+ period: S.optional(S.String),
6228
6424
  from: S.optional(S.String),
6229
6425
  to: S.optional(S.String),
6230
- period: S.optional(S.String),
6426
+ isDefault: S.optional(S.Boolean),
6231
6427
  }),
6232
- ).annotate({ identifier: "ListProjectRunsV1RequestFilterCreatedAt" });
6233
- }
6234
- }
6235
- function __c79(j: number): any {
6236
- switch (j) {
6237
- case 0:
6428
+ ).annotate({ identifier: "ListRunsResultAppliedFiltersCreatedAt" });
6429
+ case 4:
6238
6430
  return S.suspend(() =>
6239
6431
  S.Struct({
6240
- page: S.optional(S.Number.pipe(T.Query())),
6241
- perPage: S.optional(S.Number.pipe(T.Query())),
6242
- }).pipe(T.Http({ method: "GET", uri: "/api/v1/queues", code: 200 })),
6243
- ).annotate({ identifier: "ListQueuesV1Request" });
6244
- case 1:
6245
- return S.Array(__S(369, __c46, 1));
6246
- case 2:
6432
+ createdAt: S.optional(__S(643, __c80, 3)),
6433
+ }),
6434
+ ).annotate({ identifier: "ListRunsResultAppliedFilters" });
6435
+ case 5:
6247
6436
  return S.suspend(() =>
6248
6437
  S.Struct({
6249
- data: __S(633, __c79, 1),
6250
- pagination: __S(544, __c68, 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)),
6251
6441
  }),
6252
- ).annotate({ identifier: "ListQueuesResult" });
6442
+ ).annotate({ identifier: "ListRunsResult" });
6253
6443
  }
6254
6444
  }
6255
- function __c80(j: number): any {
6445
+ function __c81(j: number): any {
6256
6446
  switch (j) {
6257
6447
  case 0:
6258
6448
  return S.suspend(() =>
6259
6449
  S.Struct({
6260
- createdAt: S.optional(__S(624, __c78, 0)),
6261
- status: S.optional(__S(584, __c73, 0)),
6262
- taskIdentifier: S.optional(__S(16, __c2, 0)),
6263
- version: S.optional(__S(16, __c2, 0)),
6264
- bulkAction: S.optional(S.String),
6265
- schedule: S.optional(S.String),
6266
- isTest: S.optional(S.Boolean),
6267
- tag: S.optional(__S(16, __c2, 0)),
6268
- error: S.optional(S.String),
6450
+ from: S.optional(S.String),
6451
+ to: S.optional(S.String),
6452
+ period: S.optional(S.String),
6269
6453
  }),
6270
- ).annotate({ identifier: "CommonRunsFilter" });
6271
- case 1:
6272
- return S.suspend(() =>
6273
- S.Struct({
6274
- page: S.optional(__S(520, __c65, 0).pipe(T.Query())),
6275
- filter: S.optional(__S(640, __c80, 0).pipe(T.Query())),
6276
- }).pipe(T.Http({ method: "GET", uri: "/api/v1/runs", code: 200 })),
6277
- ).annotate({ identifier: "ListRunsV1Request" });
6454
+ ).annotate({ identifier: "ListProjectRunsV1RequestFilterCreatedAt" });
6278
6455
  }
6279
6456
  }
6280
- function __c81(j: number): any {
6457
+ function __c82(j: number): any {
6281
6458
  switch (j) {
6282
6459
  case 0:
6283
6460
  return S.suspend(() =>
@@ -6288,7 +6465,7 @@ function __c81(j: number): any {
6288
6465
  query: S.optional(S.String),
6289
6466
  display: S.Unknown,
6290
6467
  fillGaps: S.optional(S.Boolean),
6291
- position: S.optional(__S(656, __c82, 0)),
6468
+ position: S.optional(__S(664, __c83, 0)),
6292
6469
  revision: S.optional(S.String),
6293
6470
  }).pipe(
6294
6471
  T.Http({
@@ -6302,12 +6479,12 @@ function __c81(j: number): any {
6302
6479
  return S.suspend(() =>
6303
6480
  S.Struct({
6304
6481
  widgetId: S.optional(S.String),
6305
- dashboard: S.optional(__S(659, __c82, 3)),
6482
+ dashboard: S.optional(__S(667, __c83, 3)),
6306
6483
  }),
6307
6484
  ).annotate({ identifier: "AddDashboardWidgetV1Response" });
6308
6485
  }
6309
6486
  }
6310
- function __c82(j: number): any {
6487
+ function __c83(j: number): any {
6311
6488
  switch (j) {
6312
6489
  case 0:
6313
6490
  return S.suspend(() =>
@@ -6326,11 +6503,11 @@ function __c82(j: number): any {
6326
6503
  query: S.optional(S.String),
6327
6504
  display: S.optional(S.Unknown),
6328
6505
  fillGaps: S.optional(S.Boolean),
6329
- position: S.optional(__S(656, __c82, 0)),
6506
+ position: S.optional(__S(664, __c83, 0)),
6330
6507
  }),
6331
6508
  ).annotate({ identifier: "DashboardObjectWidgetsItem" });
6332
6509
  case 2:
6333
- return S.Array(__S(657, __c82, 1));
6510
+ return S.Array(__S(665, __c83, 1));
6334
6511
  case 3:
6335
6512
  return S.suspend(() =>
6336
6513
  S.Struct({
@@ -6340,12 +6517,57 @@ function __c82(j: number): any {
6340
6517
  revision: S.optional(S.String),
6341
6518
  createdAt: S.optional(S.String),
6342
6519
  updatedAt: S.optional(S.String),
6343
- widgets: S.optional(__S(658, __c82, 2)),
6520
+ widgets: S.optional(__S(666, __c83, 2)),
6344
6521
  }),
6345
6522
  ).annotate({ identifier: "DashboardObject" });
6346
6523
  }
6347
6524
  }
6348
- function __c83(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 {
6349
6571
  switch (j) {
6350
6572
  case 0:
6351
6573
  return S.suspend(() =>
@@ -6359,13 +6581,13 @@ function __c83(j: number): any {
6359
6581
  case 2:
6360
6582
  return S.suspend(() =>
6361
6583
  S.Struct({
6362
- data: S.optional(__S(665, __c83, 1)),
6363
- pagination: S.optional(__S(544, __c68, 0)),
6584
+ data: S.optional(__S(689, __c86, 1)),
6585
+ pagination: S.optional(__S(568, __c71, 0)),
6364
6586
  }),
6365
6587
  ).annotate({ identifier: "ListSchedulesResult" });
6366
6588
  }
6367
6589
  }
6368
- function __c84(j: number): any {
6590
+ function __c87(j: number): any {
6369
6591
  switch (j) {
6370
6592
  case 0:
6371
6593
  return S.suspend(() =>
@@ -6374,29 +6596,29 @@ function __c84(j: number): any {
6374
6596
  tags: S.optional(__S(16, __c2, 0)),
6375
6597
  taskIdentifier: S.optional(__S(16, __c2, 0)),
6376
6598
  externalId: S.optional(S.String),
6377
- status: S.optional(__S(584, __c73, 0)),
6378
- createdAt: S.optional(__S(624, __c78, 0)),
6599
+ status: S.optional(__S(608, __c76, 0)),
6600
+ createdAt: S.optional(__S(648, __c81, 0)),
6379
6601
  }),
6380
6602
  ).annotate({ identifier: "SessionsFilter" });
6381
6603
  case 1:
6382
6604
  return S.suspend(() =>
6383
6605
  S.Struct({
6384
- page: S.optional(__S(520, __c65, 0).pipe(T.Query())),
6385
- filter: S.optional(__S(672, __c84, 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())),
6386
6608
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/sessions", code: 200 })),
6387
6609
  ).annotate({ identifier: "ListSessionsV1Request" });
6388
6610
  case 2:
6389
- return S.Array(__S(72, __c9, 0));
6611
+ return S.Array(__S(88, __c11, 0));
6390
6612
  case 3:
6391
6613
  return S.suspend(() =>
6392
6614
  S.Struct({
6393
- data: S.optional(__S(674, __c84, 2)),
6394
- pagination: S.optional(__S(528, __c66, 0)),
6615
+ data: S.optional(__S(698, __c87, 2)),
6616
+ pagination: S.optional(__S(552, __c69, 0)),
6395
6617
  }),
6396
6618
  ).annotate({ identifier: "ListSessionsResult" });
6397
6619
  }
6398
6620
  }
6399
- function __c85(j: number): any {
6621
+ function __c88(j: number): any {
6400
6622
  switch (j) {
6401
6623
  case 0:
6402
6624
  return S.suspend(() =>
@@ -6415,7 +6637,7 @@ function __c85(j: number): any {
6415
6637
  }).pipe(T.Http({ method: "GET", uri: "/api/v1/waitpoints/tokens", code: 200 })),
6416
6638
  ).annotate({ identifier: "ListWaitpointTokensV1Request" });
6417
6639
  case 1:
6418
- return S.Array(__S(448, __c56, 0));
6640
+ return S.Array(__S(472, __c59, 0));
6419
6641
  case 2:
6420
6642
  return S.suspend(() =>
6421
6643
  S.Struct({
@@ -6426,13 +6648,13 @@ function __c85(j: number): any {
6426
6648
  case 3:
6427
6649
  return S.suspend(() =>
6428
6650
  S.Struct({
6429
- data: __S(681, __c85, 1),
6430
- pagination: __S(682, __c85, 2),
6651
+ data: __S(705, __c88, 1),
6652
+ pagination: __S(706, __c88, 2),
6431
6653
  }),
6432
6654
  ).annotate({ identifier: "ListWaitpointTokensResult" });
6433
6655
  }
6434
6656
  }
6435
- function __c86(j: number): any {
6657
+ function __c89(j: number): any {
6436
6658
  switch (j) {
6437
6659
  case 0:
6438
6660
  return S.suspend(() =>
@@ -6451,7 +6673,7 @@ function __c86(j: number): any {
6451
6673
  return S.suspend(() =>
6452
6674
  S.Struct({
6453
6675
  id: S.String,
6454
- endpoint: S.NullOr(__S(464, __c58, 0)),
6676
+ endpoint: S.NullOr(__S(512, __c64, 0)),
6455
6677
  status: S.String,
6456
6678
  externalDeliveryId: S.String,
6457
6679
  isTest: S.Boolean,
@@ -6460,17 +6682,17 @@ function __c86(j: number): any {
6460
6682
  }),
6461
6683
  ).annotate({ identifier: "WebhookDeliveryListItem" });
6462
6684
  case 2:
6463
- return S.Array(__S(689, __c86, 1));
6685
+ return S.Array(__S(713, __c89, 1));
6464
6686
  case 3:
6465
6687
  return S.suspend(() =>
6466
6688
  S.Struct({
6467
- data: __S(690, __c86, 2),
6468
- pagination: __S(528, __c66, 0),
6689
+ data: __S(714, __c89, 2),
6690
+ pagination: __S(552, __c69, 0),
6469
6691
  }),
6470
6692
  ).annotate({ identifier: "ListWebhookDeliveriesResult" });
6471
6693
  }
6472
6694
  }
6473
- function __c87(j: number): any {
6695
+ function __c90(j: number): any {
6474
6696
  switch (j) {
6475
6697
  case 0:
6476
6698
  return S.suspend(() =>
@@ -6495,16 +6717,16 @@ function __c87(j: number): any {
6495
6717
  }),
6496
6718
  ).annotate({ identifier: "WebhookEndpointObject" });
6497
6719
  case 2:
6498
- return S.Array(__S(697, __c87, 1));
6720
+ return S.Array(__S(721, __c90, 1));
6499
6721
  case 3:
6500
6722
  return S.suspend(() =>
6501
6723
  S.Struct({
6502
- data: __S(698, __c87, 2),
6724
+ data: __S(722, __c90, 2),
6503
6725
  }),
6504
6726
  ).annotate({ identifier: "ListWebhookEndpointsResult" });
6505
6727
  }
6506
6728
  }
6507
- function __c88(j: number): any {
6729
+ function __c91(j: number): any {
6508
6730
  switch (j) {
6509
6731
  case 0:
6510
6732
  return S.suspend(() =>
@@ -6521,7 +6743,7 @@ function __c88(j: number): any {
6521
6743
  });
6522
6744
  }
6523
6745
  }
6524
- function __c89(j: number): any {
6746
+ function __c92(j: number): any {
6525
6747
  switch (j) {
6526
6748
  case 0:
6527
6749
  return S.suspend(() =>
@@ -6539,7 +6761,7 @@ function __c89(j: number): any {
6539
6761
  ).annotate({ identifier: "OverrideQueueConcurrencyV1Request" });
6540
6762
  }
6541
6763
  }
6542
- function __c90(j: number): any {
6764
+ function __c93(j: number): any {
6543
6765
  switch (j) {
6544
6766
  case 0:
6545
6767
  return S.suspend(() =>
@@ -6552,7 +6774,24 @@ function __c90(j: number): any {
6552
6774
  ).annotate({ identifier: "PauseConcurrencyLimitV1Request" });
6553
6775
  }
6554
6776
  }
6555
- function __c91(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 {
6556
6795
  switch (j) {
6557
6796
  case 0:
6558
6797
  return S.suspend(() =>
@@ -6564,7 +6803,7 @@ function __c91(j: number): any {
6564
6803
  ).annotate({ identifier: "PauseQueueV1Request" });
6565
6804
  }
6566
6805
  }
6567
- function __c92(j: number): any {
6806
+ function __c96(j: number): any {
6568
6807
  switch (j) {
6569
6808
  case 0:
6570
6809
  return S.suspend(() =>
@@ -6577,31 +6816,32 @@ function __c92(j: number): any {
6577
6816
  case 1:
6578
6817
  return S.suspend(() =>
6579
6818
  S.Struct({
6580
- id: S.optional(S.String),
6581
6819
  version: S.optional(S.String),
6582
- shortCode: S.optional(S.String),
6583
6820
  }),
6584
- ).annotate({ identifier: "PromoteDeploymentV1Response" });
6585
- }
6586
- }
6587
- function __c93(j: number): any {
6588
- switch (j) {
6589
- case 0:
6821
+ ).annotate({
6822
+ identifier: "PromoteDeploymentV1ResponseSkewProtectionThresholdClearedThreshold",
6823
+ });
6824
+ case 2:
6825
+ return S.Record(S.String, __S(769, __c96, 1));
6826
+ case 3:
6590
6827
  return S.suspend(() =>
6591
6828
  S.Struct({
6592
- runId: S.String.pipe(T.Label()),
6593
- tags: S.Unknown,
6594
- }).pipe(T.Http({ method: "POST", uri: "/api/v1/runs/{runId}/tags", code: 200 })),
6595
- ).annotate({ identifier: "AddRunTagsV1Request" });
6596
- 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:
6597
6834
  return S.suspend(() =>
6598
6835
  S.Struct({
6599
- 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)),
6600
6840
  }),
6601
- ).annotate({ identifier: "AddRunTagsV1Response" });
6841
+ ).annotate({ identifier: "PromoteDeploymentV1Response" });
6602
6842
  }
6603
6843
  }
6604
- function __c94(j: number): any {
6844
+ function __c97(j: number): any {
6605
6845
  switch (j) {
6606
6846
  case 0:
6607
6847
  return S.suspend(() =>
@@ -6609,7 +6849,7 @@ function __c94(j: number): any {
6609
6849
  dashboardId: S.String.pipe(T.Label()),
6610
6850
  title: S.optional(S.String),
6611
6851
  description: S.optional(S.String),
6612
- widgets: __S(129, __c16, 1),
6852
+ widgets: __S(145, __c18, 1),
6613
6853
  revision: S.optional(S.String),
6614
6854
  }).pipe(
6615
6855
  T.Http({ method: "PUT", uri: "/api/v1/query/dashboards/{dashboardId}", code: 200 }),
@@ -6617,7 +6857,7 @@ function __c94(j: number): any {
6617
6857
  ).annotate({ identifier: "ReplaceDashboardV1Request" });
6618
6858
  }
6619
6859
  }
6620
- function __c95(j: number): any {
6860
+ function __c98(j: number): any {
6621
6861
  switch (j) {
6622
6862
  case 0:
6623
6863
  return S.suspend(() =>
@@ -6641,7 +6881,7 @@ function __c95(j: number): any {
6641
6881
  ).annotate({ identifier: "ReplayWebhookDeliveryResponse" });
6642
6882
  }
6643
6883
  }
6644
- function __c96(j: number): any {
6884
+ function __c99(j: number): any {
6645
6885
  switch (j) {
6646
6886
  case 0:
6647
6887
  return S.suspend(() =>
@@ -6658,7 +6898,7 @@ function __c96(j: number): any {
6658
6898
  });
6659
6899
  }
6660
6900
  }
6661
- function __c97(j: number): any {
6901
+ function __c100(j: number): any {
6662
6902
  switch (j) {
6663
6903
  case 0:
6664
6904
  return S.suspend(() =>
@@ -6675,7 +6915,7 @@ function __c97(j: number): any {
6675
6915
  ).annotate({ identifier: "ResetQueueConcurrencyV1Request" });
6676
6916
  }
6677
6917
  }
6678
- function __c98(j: number): any {
6918
+ function __c101(j: number): any {
6679
6919
  switch (j) {
6680
6920
  case 0:
6681
6921
  return S.suspend(() =>
@@ -6686,7 +6926,7 @@ function __c98(j: number): any {
6686
6926
  ).annotate({ identifier: "ResolveErrorV1Request" });
6687
6927
  }
6688
6928
  }
6689
- function __c99(j: number): any {
6929
+ function __c102(j: number): any {
6690
6930
  switch (j) {
6691
6931
  case 0:
6692
6932
  return S.suspend(() =>
@@ -6712,7 +6952,7 @@ function __c99(j: number): any {
6712
6952
  ).annotate({ identifier: "RotateWebhookEndpointSecretResponse" });
6713
6953
  }
6714
6954
  }
6715
- function __c100(j: number): any {
6955
+ function __c103(j: number): any {
6716
6956
  switch (j) {
6717
6957
  case 0:
6718
6958
  return S.suspend(() =>
@@ -6720,7 +6960,7 @@ function __c100(j: number): any {
6720
6960
  runId: S.String.pipe(T.Label()),
6721
6961
  payload: S.optional(S.Unknown),
6722
6962
  payloadType: S.optional(S.String),
6723
- metadata: S.optional(__S(56, __c7, 0)),
6963
+ metadata: S.optional(__S(72, __c9, 0)),
6724
6964
  tags: S.optional(S.Unknown),
6725
6965
  queue: S.optional(S.String),
6726
6966
  concurrencyKey: S.optional(S.String),
@@ -6738,7 +6978,7 @@ function __c100(j: number): any {
6738
6978
  ).annotate({ identifier: "RunReplayV1Request" });
6739
6979
  }
6740
6980
  }
6741
- function __c101(j: number): any {
6981
+ function __c104(j: number): any {
6742
6982
  switch (j) {
6743
6983
  case 0:
6744
6984
  return S.suspend(() =>
@@ -6749,7 +6989,42 @@ function __c101(j: number): any {
6749
6989
  ).annotate({ identifier: "RunRescheduleV1Request" });
6750
6990
  }
6751
6991
  }
6752
- function __c102(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 {
6753
7028
  switch (j) {
6754
7029
  case 0:
6755
7030
  return S.suspend(() =>
@@ -6775,28 +7050,28 @@ function __c102(j: number): any {
6775
7050
  ).annotate({ identifier: "SetWebhookEndpointSecretResponse" });
6776
7051
  }
6777
7052
  }
6778
- function __c103(j: number): any {
7053
+ function __c108(j: number): any {
6779
7054
  switch (j) {
6780
7055
  case 0:
6781
7056
  return S.suspend(() =>
6782
7057
  S.Struct({
6783
7058
  payload: S.optional(S.Unknown),
6784
7059
  context: S.optional(S.Unknown),
6785
- options: S.optional(__S(841, __c105, 1)),
7060
+ options: S.optional(__S(881, __c110, 1)),
6786
7061
  }),
6787
7062
  ).annotate({ identifier: "TriggerTaskRequestBody" });
6788
7063
  case 1:
6789
- return S.Array(__S(824, __c103, 0));
7064
+ return S.Array(__S(864, __c108, 0));
6790
7065
  case 2:
6791
7066
  return S.suspend(() =>
6792
7067
  S.Struct({
6793
7068
  taskIdentifier: S.String.pipe(T.Label()),
6794
- items: __S(825, __c103, 1),
7069
+ items: __S(865, __c108, 1),
6795
7070
  }).pipe(T.Http({ method: "POST", uri: "/api/v1/tasks/{taskIdentifier}/batch", code: 200 })),
6796
7071
  ).annotate({ identifier: "TriggerBatchTaskByIdV1Request" });
6797
7072
  }
6798
7073
  }
6799
- function __c104(j: number): any {
7074
+ function __c109(j: number): any {
6800
7075
  switch (j) {
6801
7076
  case 0:
6802
7077
  return S.suspend(() =>
@@ -6807,7 +7082,7 @@ function __c104(j: number): any {
6807
7082
  ).annotate({ identifier: "BatchTriggerTaskResponse" });
6808
7083
  }
6809
7084
  }
6810
- function __c105(j: number): any {
7085
+ function __c110(j: number): any {
6811
7086
  switch (j) {
6812
7087
  case 0:
6813
7088
  return S.suspend(() =>
@@ -6819,7 +7094,7 @@ function __c105(j: number): any {
6819
7094
  case 1:
6820
7095
  return S.suspend(() =>
6821
7096
  S.Struct({
6822
- queue: S.optional(__S(840, __c105, 0)),
7097
+ queue: S.optional(__S(880, __c110, 0)),
6823
7098
  concurrencyKey: S.optional(S.String),
6824
7099
  idempotencyKey: S.optional(S.String),
6825
7100
  ttl: S.optional(S.Unknown),
@@ -6830,46 +7105,28 @@ function __c105(j: number): any {
6830
7105
  ).annotate({ identifier: "TriggerTaskRequestBodyOptions" });
6831
7106
  }
6832
7107
  }
6833
- function __c106(j: number): any {
6834
- switch (j) {
6835
- case 0:
6836
- return S.suspend(() =>
6837
- S.Struct({
6838
- bulkActionId: S.String.pipe(T.Label()),
6839
- }).pipe(
6840
- T.Http({ method: "POST", uri: "/api/v1/bulk-actions/{bulkActionId}/abort", code: 200 }),
6841
- ),
6842
- ).annotate({ identifier: "BulkAbortActionV1Request" });
6843
- case 1:
6844
- return S.suspend(() =>
6845
- S.Struct({
6846
- id: S.String,
6847
- }),
6848
- ).annotate({ identifier: "AbortBulkActionResponse" });
6849
- }
6850
- }
6851
- function __c107(j: number): any {
7108
+ function __c111(j: number): any {
6852
7109
  switch (j) {
6853
7110
  case 0:
6854
7111
  return S.suspend(() =>
6855
7112
  S.Struct({
6856
7113
  payload: S.optional(S.Unknown),
6857
7114
  context: S.optional(S.Unknown),
6858
- options: S.optional(__S(841, __c105, 1)),
7115
+ options: S.optional(__S(881, __c110, 1)),
6859
7116
  task: S.String,
6860
7117
  }),
6861
7118
  ).annotate({ identifier: "BatchTriggerTaskRequestBodyItem" });
6862
7119
  case 1:
6863
- return S.Array(__S(856, __c107, 0));
7120
+ return S.Array(__S(888, __c111, 0));
6864
7121
  case 2:
6865
7122
  return S.suspend(() =>
6866
7123
  S.Struct({
6867
- items: __S(857, __c107, 1),
7124
+ items: __S(889, __c111, 1),
6868
7125
  }).pipe(T.Http({ method: "POST", uri: "/api/v1/tasks/batch", code: 200 })),
6869
7126
  ).annotate({ identifier: "TriggerBatchTaskV1Request" });
6870
7127
  }
6871
7128
  }
6872
- function __c108(j: number): any {
7129
+ function __c112(j: number): any {
6873
7130
  switch (j) {
6874
7131
  case 0:
6875
7132
  return S.suspend(() =>
@@ -6877,14 +7134,14 @@ function __c108(j: number): any {
6877
7134
  taskIdentifier: S.String.pipe(T.Label()),
6878
7135
  payload: S.optional(S.Unknown),
6879
7136
  context: S.optional(S.Unknown),
6880
- options: S.optional(__S(841, __c105, 1)),
7137
+ options: S.optional(__S(881, __c110, 1)),
6881
7138
  }).pipe(
6882
7139
  T.Http({ method: "POST", uri: "/api/v1/tasks/{taskIdentifier}/trigger", code: 200 }),
6883
7140
  ),
6884
7141
  ).annotate({ identifier: "TriggerTaskV1Request" });
6885
7142
  }
6886
7143
  }
6887
- function __c109(j: number): any {
7144
+ function __c113(j: number): any {
6888
7145
  switch (j) {
6889
7146
  case 0:
6890
7147
  return S.suspend(() =>
@@ -6894,7 +7151,7 @@ function __c109(j: number): any {
6894
7151
  ).annotate({ identifier: "UnresolveErrorV1Request" });
6895
7152
  }
6896
7153
  }
6897
- function __c110(j: number): any {
7154
+ function __c114(j: number): any {
6898
7155
  switch (j) {
6899
7156
  case 0:
6900
7157
  return S.suspend(() =>
@@ -6909,7 +7166,7 @@ function __c110(j: number): any {
6909
7166
  ).annotate({ identifier: "UpdateDashboardV1Request" });
6910
7167
  }
6911
7168
  }
6912
- function __c111(j: number): any {
7169
+ function __c115(j: number): any {
6913
7170
  switch (j) {
6914
7171
  case 0:
6915
7172
  return S.suspend(() =>
@@ -6920,7 +7177,7 @@ function __c111(j: number): any {
6920
7177
  query: S.optional(S.String),
6921
7178
  display: S.optional(S.Unknown),
6922
7179
  fillGaps: S.optional(S.Boolean),
6923
- position: S.optional(__S(656, __c82, 0)),
7180
+ position: S.optional(__S(664, __c83, 0)),
6924
7181
  revision: S.optional(S.String),
6925
7182
  }).pipe(
6926
7183
  T.Http({
@@ -6932,7 +7189,7 @@ function __c111(j: number): any {
6932
7189
  ).annotate({ identifier: "UpdateDashboardWidgetV1Request" });
6933
7190
  }
6934
7191
  }
6935
- function __c112(j: number): any {
7192
+ function __c116(j: number): any {
6936
7193
  switch (j) {
6937
7194
  case 0:
6938
7195
  return S.suspend(() =>
@@ -6951,7 +7208,7 @@ function __c112(j: number): any {
6951
7208
  ).annotate({ identifier: "UpdateProjectEnvvarV1Request" });
6952
7209
  }
6953
7210
  }
6954
- function __c113(j: number): any {
7211
+ function __c117(j: number): any {
6955
7212
  switch (j) {
6956
7213
  case 0:
6957
7214
  return S.suspend(() =>
@@ -6968,7 +7225,27 @@ function __c113(j: number): any {
6968
7225
  ).annotate({ identifier: "UpdateRunMetadataV1Response" });
6969
7226
  }
6970
7227
  }
6971
- function __c114(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 {
6972
7249
  switch (j) {
6973
7250
  case 0:
6974
7251
  return S.suspend(() =>
@@ -6982,27 +7259,27 @@ function __c114(j: number): any {
6982
7259
  ).annotate({ identifier: "UpdateScheduleV1Request" });
6983
7260
  }
6984
7261
  }
6985
- function __c115(j: number): any {
7262
+ function __c121(j: number): any {
6986
7263
  switch (j) {
6987
7264
  case 0:
6988
7265
  return S.suspend(() =>
6989
7266
  S.Struct({
6990
7267
  session: S.String.pipe(T.Label()),
6991
7268
  tags: S.optional(__S(16, __c2, 0)),
6992
- metadata: S.optional(S.NullOr(__S(56, __c7, 0))),
7269
+ metadata: S.optional(S.NullOr(__S(72, __c9, 0))),
6993
7270
  externalId: S.optional(S.NullOr(S.String)),
6994
7271
  }).pipe(T.Http({ method: "PATCH", uri: "/api/v1/sessions/{session}", code: 200 })),
6995
7272
  ).annotate({ identifier: "UpdateSessionV1Request" });
6996
7273
  }
6997
7274
  }
6998
- function __c116(j: number): any {
7275
+ function __c122(j: number): any {
6999
7276
  switch (j) {
7000
7277
  case 0:
7001
7278
  return S.suspend(() =>
7002
7279
  S.Struct({
7003
7280
  projectRef: S.String.pipe(T.Label()),
7004
7281
  env: S.String.pipe(T.Label()),
7005
- variables: __S(601, __c75, 1),
7282
+ variables: __S(625, __c78, 1),
7006
7283
  override: S.optional(S.Boolean),
7007
7284
  }).pipe(
7008
7285
  T.Http({
@@ -7014,26 +7291,6 @@ function __c116(j: number): any {
7014
7291
  ).annotate({ identifier: "UploadProjectEnvvarsV1Request" });
7015
7292
  }
7016
7293
  }
7017
- function __c117(j: number): any {
7018
- switch (j) {
7019
- case 0:
7020
- return S.suspend(() =>
7021
- S.Struct({
7022
- runId: S.String.pipe(T.Label()),
7023
- }).pipe(T.Http({ method: "POST", uri: "/api/v2/runs/{runId}/cancel", code: 200 })),
7024
- ).annotate({ identifier: "CancelRunV1Request" });
7025
- }
7026
- }
7027
- function __c118(j: number): any {
7028
- switch (j) {
7029
- case 0:
7030
- return S.suspend(() =>
7031
- S.Struct({
7032
- id: S.optional(S.String),
7033
- }),
7034
- ).annotate({ identifier: "CancelRunV1Response" });
7035
- }
7036
- }
7037
7294
  // Schema table: entry i is schema j of builder f, made on first reach.
7038
7295
  function __S(i: number, f: (j: number) => unknown, j: number): any {
7039
7296
  return (__s[i] ??= __L.at(f, j));