@distilled.cloud/trigger-dev 1.0.0-rc.16 → 1.0.0-rc.18

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.
@@ -16,6 +16,19 @@ const __s: any[] = [];
16
16
 
17
17
  export type { TriggerDevOpError, TriggerDevOpContext };
18
18
 
19
+ /** Span facts shared by every operation (com.distilled.telemetry#service). */
20
+ const TELEMETRY = {
21
+ system: "trigger-dev-api",
22
+ responseHeaders: [
23
+ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
24
+ { header: "request-id", name: "http.response.header.request-id", transform: "list" },
25
+ ],
26
+ prefix: "TriggerDev",
27
+ service: "TriggerDev",
28
+ labels: "trigger_dev",
29
+ propagate: "w3c",
30
+ } as const;
31
+
19
32
  export class BadRequest
20
33
  extends /*@__PURE__*/ T.applyErrorMatchers(
21
34
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
@@ -2145,6 +2158,8 @@ export const activateScheduleV1: API.OperationMethod<
2145
2158
  errors: [NotFound, UnknownTriggerDevError],
2146
2159
  protocol: TriggerDevProtocol,
2147
2160
  retry: Retry.Retry,
2161
+ telemetry: TELEMETRY,
2162
+ span: "ActivateScheduleV1",
2148
2163
  }));
2149
2164
 
2150
2165
  export type AddRunTagsV1Error = BadRequest | UnprocessableEntity | TriggerDevOpError;
@@ -2160,6 +2175,8 @@ export const addRunTagsV1: API.OperationMethod<
2160
2175
  errors: [BadRequest, UnprocessableEntity, UnknownTriggerDevError],
2161
2176
  protocol: TriggerDevProtocol,
2162
2177
  retry: Retry.Retry,
2178
+ telemetry: TELEMETRY,
2179
+ span: "AddRunTagsV1",
2163
2180
  }));
2164
2181
 
2165
2182
  export type BulkAbortActionV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2175,6 +2192,8 @@ export const bulkAbortActionV1: API.OperationMethod<
2175
2192
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2176
2193
  protocol: TriggerDevProtocol,
2177
2194
  retry: Retry.Retry,
2195
+ telemetry: TELEMETRY,
2196
+ span: "BulkAbortActionV1",
2178
2197
  }));
2179
2198
 
2180
2199
  export type CancelRunV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2190,6 +2209,8 @@ export const cancelRunV1: API.OperationMethod<
2190
2209
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2191
2210
  protocol: TriggerDevProtocol,
2192
2211
  retry: Retry.Retry,
2212
+ telemetry: TELEMETRY,
2213
+ span: "CancelRunV1",
2193
2214
  }));
2194
2215
 
2195
2216
  export type CloseSessionV1Error = NotFound | TriggerDevOpError;
@@ -2205,6 +2226,8 @@ export const closeSessionV1: API.OperationMethod<
2205
2226
  errors: [NotFound, UnknownTriggerDevError],
2206
2227
  protocol: TriggerDevProtocol,
2207
2228
  retry: Retry.Retry,
2229
+ telemetry: TELEMETRY,
2230
+ span: "CloseSessionV1",
2208
2231
  }));
2209
2232
 
2210
2233
  export type CompleteWaitpointTokenCallbackV1Error = NotFound | TriggerDevOpError;
@@ -2220,6 +2243,8 @@ export const completeWaitpointTokenCallbackV1: API.OperationMethod<
2220
2243
  errors: [NotFound, UnknownTriggerDevError],
2221
2244
  protocol: TriggerDevProtocol,
2222
2245
  retry: Retry.Retry,
2246
+ telemetry: TELEMETRY,
2247
+ span: "CompleteWaitpointTokenCallbackV1",
2223
2248
  }));
2224
2249
 
2225
2250
  export type CompleteWaitpointTokenV1Error = NotFound | TriggerDevOpError;
@@ -2235,6 +2260,8 @@ export const completeWaitpointTokenV1: API.OperationMethod<
2235
2260
  errors: [NotFound, UnknownTriggerDevError],
2236
2261
  protocol: TriggerDevProtocol,
2237
2262
  retry: Retry.Retry,
2263
+ telemetry: TELEMETRY,
2264
+ span: "CompleteWaitpointTokenV1",
2238
2265
  }));
2239
2266
 
2240
2267
  export type CreateBulkActionV1Error = BadRequest | UnprocessableEntity | TriggerDevOpError;
@@ -2250,6 +2277,8 @@ export const createBulkActionV1: API.OperationMethod<
2250
2277
  errors: [BadRequest, UnprocessableEntity, UnknownTriggerDevError],
2251
2278
  protocol: TriggerDevProtocol,
2252
2279
  retry: Retry.Retry,
2280
+ telemetry: TELEMETRY,
2281
+ span: "CreateBulkActionV1",
2253
2282
  }));
2254
2283
 
2255
2284
  export type CreateProjectEnvvarV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2265,6 +2294,8 @@ export const createProjectEnvvarV1: API.OperationMethod<
2265
2294
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2266
2295
  protocol: TriggerDevProtocol,
2267
2296
  retry: Retry.Retry,
2297
+ telemetry: TELEMETRY,
2298
+ span: "CreateProjectEnvvarV1",
2268
2299
  }));
2269
2300
 
2270
2301
  export type CreateScheduleV1Error = BadRequest | UnprocessableEntity | TriggerDevOpError;
@@ -2280,6 +2311,8 @@ export const createScheduleV1: API.OperationMethod<
2280
2311
  errors: [BadRequest, UnprocessableEntity, UnknownTriggerDevError],
2281
2312
  protocol: TriggerDevProtocol,
2282
2313
  retry: Retry.Retry,
2314
+ telemetry: TELEMETRY,
2315
+ span: "CreateScheduleV1",
2283
2316
  }));
2284
2317
 
2285
2318
  export type CreateSessionV1Error = Conflict | UnprocessableEntity | TriggerDevOpError;
@@ -2295,6 +2328,8 @@ export const createSessionV1: API.OperationMethod<
2295
2328
  errors: [Conflict, UnprocessableEntity, UnknownTriggerDevError],
2296
2329
  protocol: TriggerDevProtocol,
2297
2330
  retry: Retry.Retry,
2331
+ telemetry: TELEMETRY,
2332
+ span: "CreateSessionV1",
2298
2333
  }));
2299
2334
 
2300
2335
  export type CreateWaitpointTokenV1Error = UnprocessableEntity | TriggerDevOpError;
@@ -2310,6 +2345,8 @@ export const createWaitpointTokenV1: API.OperationMethod<
2310
2345
  errors: [UnprocessableEntity, UnknownTriggerDevError],
2311
2346
  protocol: TriggerDevProtocol,
2312
2347
  retry: Retry.Retry,
2348
+ telemetry: TELEMETRY,
2349
+ span: "CreateWaitpointTokenV1",
2313
2350
  }));
2314
2351
 
2315
2352
  export type DeactivateScheduleV1Error = NotFound | TriggerDevOpError;
@@ -2325,6 +2362,8 @@ export const deactivateScheduleV1: API.OperationMethod<
2325
2362
  errors: [NotFound, UnknownTriggerDevError],
2326
2363
  protocol: TriggerDevProtocol,
2327
2364
  retry: Retry.Retry,
2365
+ telemetry: TELEMETRY,
2366
+ span: "DeactivateScheduleV1",
2328
2367
  }));
2329
2368
 
2330
2369
  export type DeleteProjectEnvvarV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2340,6 +2379,8 @@ export const deleteProjectEnvvarV1: API.OperationMethod<
2340
2379
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2341
2380
  protocol: TriggerDevProtocol,
2342
2381
  retry: Retry.Retry,
2382
+ telemetry: TELEMETRY,
2383
+ span: "DeleteProjectEnvvarV1",
2343
2384
  }));
2344
2385
 
2345
2386
  export type DeleteScheduleV1Error = NotFound | TriggerDevOpError;
@@ -2355,6 +2396,8 @@ export const deleteScheduleV1: API.OperationMethod<
2355
2396
  errors: [NotFound, UnknownTriggerDevError],
2356
2397
  protocol: TriggerDevProtocol,
2357
2398
  retry: Retry.Retry,
2399
+ telemetry: TELEMETRY,
2400
+ span: "DeleteScheduleV1",
2358
2401
  }));
2359
2402
 
2360
2403
  export type ExecuteQueryV1Error = BadRequest | TriggerDevOpError;
@@ -2370,6 +2413,8 @@ export const executeQueryV1: API.OperationMethod<
2370
2413
  errors: [BadRequest, UnknownTriggerDevError],
2371
2414
  protocol: TriggerDevProtocol,
2372
2415
  retry: Retry.Retry,
2416
+ telemetry: TELEMETRY,
2417
+ span: "ExecuteQueryV1",
2373
2418
  }));
2374
2419
 
2375
2420
  export type GetBatchResultsV1Error = NotFound | TriggerDevOpError;
@@ -2385,6 +2430,8 @@ export const getBatchResultsV1: API.OperationMethod<
2385
2430
  errors: [NotFound, UnknownTriggerDevError],
2386
2431
  protocol: TriggerDevProtocol,
2387
2432
  retry: Retry.Retry,
2433
+ telemetry: TELEMETRY,
2434
+ span: "GetBatchResultsV1",
2388
2435
  }));
2389
2436
 
2390
2437
  export type GetBatchV1Error = NotFound | TriggerDevOpError;
@@ -2400,6 +2447,8 @@ export const getBatchV1: API.OperationMethod<
2400
2447
  errors: [NotFound, UnknownTriggerDevError],
2401
2448
  protocol: TriggerDevProtocol,
2402
2449
  retry: Retry.Retry,
2450
+ telemetry: TELEMETRY,
2451
+ span: "GetBatchV1",
2403
2452
  }));
2404
2453
 
2405
2454
  export type GetBulkActionV1Error = NotFound | TriggerDevOpError;
@@ -2415,6 +2464,8 @@ export const getBulkActionV1: API.OperationMethod<
2415
2464
  errors: [NotFound, UnknownTriggerDevError],
2416
2465
  protocol: TriggerDevProtocol,
2417
2466
  retry: Retry.Retry,
2467
+ telemetry: TELEMETRY,
2468
+ span: "GetBulkActionV1",
2418
2469
  }));
2419
2470
 
2420
2471
  export type GetConcurrencyLimitV1Error = NotFound | TriggerDevOpError;
@@ -2430,6 +2481,8 @@ export const getConcurrencyLimitV1: API.OperationMethod<
2430
2481
  errors: [NotFound, UnknownTriggerDevError],
2431
2482
  protocol: TriggerDevProtocol,
2432
2483
  retry: Retry.Retry,
2484
+ telemetry: TELEMETRY,
2485
+ span: "GetConcurrencyLimitV1",
2433
2486
  }));
2434
2487
 
2435
2488
  export type GetDeploymentV1Error = NotFound | TriggerDevOpError;
@@ -2445,6 +2498,8 @@ export const getDeploymentV1: API.OperationMethod<
2445
2498
  errors: [NotFound, UnknownTriggerDevError],
2446
2499
  protocol: TriggerDevProtocol,
2447
2500
  retry: Retry.Retry,
2501
+ telemetry: TELEMETRY,
2502
+ span: "GetDeploymentV1",
2448
2503
  }));
2449
2504
 
2450
2505
  export type GetErrorV1Error = NotFound | TriggerDevOpError;
@@ -2460,6 +2515,8 @@ export const getErrorV1: API.OperationMethod<
2460
2515
  errors: [NotFound, UnknownTriggerDevError],
2461
2516
  protocol: TriggerDevProtocol,
2462
2517
  retry: Retry.Retry,
2518
+ telemetry: TELEMETRY,
2519
+ span: "GetErrorV1",
2463
2520
  }));
2464
2521
 
2465
2522
  export type GetLatestDeploymentV1Error = NotFound | TriggerDevOpError;
@@ -2475,6 +2532,8 @@ export const getLatestDeploymentV1: API.OperationMethod<
2475
2532
  errors: [NotFound, UnknownTriggerDevError],
2476
2533
  protocol: TriggerDevProtocol,
2477
2534
  retry: Retry.Retry,
2535
+ telemetry: TELEMETRY,
2536
+ span: "GetLatestDeploymentV1",
2478
2537
  }));
2479
2538
 
2480
2539
  export type GetProjectEnvvarV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2490,6 +2549,8 @@ export const getProjectEnvvarV1: API.OperationMethod<
2490
2549
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2491
2550
  protocol: TriggerDevProtocol,
2492
2551
  retry: Retry.Retry,
2552
+ telemetry: TELEMETRY,
2553
+ span: "GetProjectEnvvarV1",
2493
2554
  }));
2494
2555
 
2495
2556
  export type GetQuerySchemaV1Error = TriggerDevOpError;
@@ -2505,6 +2566,8 @@ export const getQuerySchemaV1: API.OperationMethod<
2505
2566
  errors: [UnknownTriggerDevError],
2506
2567
  protocol: TriggerDevProtocol,
2507
2568
  retry: Retry.Retry,
2569
+ telemetry: TELEMETRY,
2570
+ span: "GetQuerySchemaV1",
2508
2571
  }));
2509
2572
 
2510
2573
  export type GetQueueV1Error = NotFound | TriggerDevOpError;
@@ -2520,6 +2583,8 @@ export const getQueueV1: API.OperationMethod<
2520
2583
  errors: [NotFound, UnknownTriggerDevError],
2521
2584
  protocol: TriggerDevProtocol,
2522
2585
  retry: Retry.Retry,
2586
+ telemetry: TELEMETRY,
2587
+ span: "GetQueueV1",
2523
2588
  }));
2524
2589
 
2525
2590
  export type GetRunEventsV1Error = NotFound | TriggerDevOpError;
@@ -2535,6 +2600,8 @@ export const getRunEventsV1: API.OperationMethod<
2535
2600
  errors: [NotFound, UnknownTriggerDevError],
2536
2601
  protocol: TriggerDevProtocol,
2537
2602
  retry: Retry.Retry,
2603
+ telemetry: TELEMETRY,
2604
+ span: "GetRunEventsV1",
2538
2605
  }));
2539
2606
 
2540
2607
  export type GetRunResultV1Error = NotFound | TriggerDevOpError;
@@ -2550,6 +2617,8 @@ export const getRunResultV1: API.OperationMethod<
2550
2617
  errors: [NotFound, UnknownTriggerDevError],
2551
2618
  protocol: TriggerDevProtocol,
2552
2619
  retry: Retry.Retry,
2620
+ telemetry: TELEMETRY,
2621
+ span: "GetRunResultV1",
2553
2622
  }));
2554
2623
 
2555
2624
  export type GetRunTraceV1Error = NotFound | TriggerDevOpError;
@@ -2565,6 +2634,8 @@ export const getRunTraceV1: API.OperationMethod<
2565
2634
  errors: [NotFound, UnknownTriggerDevError],
2566
2635
  protocol: TriggerDevProtocol,
2567
2636
  retry: Retry.Retry,
2637
+ telemetry: TELEMETRY,
2638
+ span: "GetRunTraceV1",
2568
2639
  }));
2569
2640
 
2570
2641
  export type GetRunV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2580,6 +2651,8 @@ export const getRunV1: API.OperationMethod<
2580
2651
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2581
2652
  protocol: TriggerDevProtocol,
2582
2653
  retry: Retry.Retry,
2654
+ telemetry: TELEMETRY,
2655
+ span: "GetRunV1",
2583
2656
  }));
2584
2657
 
2585
2658
  export type GetScheduleV1Error = NotFound | TriggerDevOpError;
@@ -2595,6 +2668,8 @@ export const getScheduleV1: API.OperationMethod<
2595
2668
  errors: [NotFound, UnknownTriggerDevError],
2596
2669
  protocol: TriggerDevProtocol,
2597
2670
  retry: Retry.Retry,
2671
+ telemetry: TELEMETRY,
2672
+ span: "GetScheduleV1",
2598
2673
  }));
2599
2674
 
2600
2675
  export type GetSessionV1Error = NotFound | TriggerDevOpError;
@@ -2610,6 +2685,8 @@ export const getSessionV1: API.OperationMethod<
2610
2685
  errors: [NotFound, UnknownTriggerDevError],
2611
2686
  protocol: TriggerDevProtocol,
2612
2687
  retry: Retry.Retry,
2688
+ telemetry: TELEMETRY,
2689
+ span: "GetSessionV1",
2613
2690
  }));
2614
2691
 
2615
2692
  export type GetTimezonesV1Error = TriggerDevOpError;
@@ -2625,6 +2702,8 @@ export const getTimezonesV1: API.OperationMethod<
2625
2702
  errors: [UnknownTriggerDevError],
2626
2703
  protocol: TriggerDevProtocol,
2627
2704
  retry: Retry.Retry,
2705
+ telemetry: TELEMETRY,
2706
+ span: "GetTimezonesV1",
2628
2707
  }));
2629
2708
 
2630
2709
  export type GetWaitpointTokenV1Error = NotFound | TriggerDevOpError;
@@ -2640,6 +2719,8 @@ export const getWaitpointTokenV1: API.OperationMethod<
2640
2719
  errors: [NotFound, UnknownTriggerDevError],
2641
2720
  protocol: TriggerDevProtocol,
2642
2721
  retry: Retry.Retry,
2722
+ telemetry: TELEMETRY,
2723
+ span: "GetWaitpointTokenV1",
2643
2724
  }));
2644
2725
 
2645
2726
  export type IgnoreErrorV1Error = NotFound | TriggerDevOpError;
@@ -2655,6 +2736,8 @@ export const ignoreErrorV1: API.OperationMethod<
2655
2736
  errors: [NotFound, UnknownTriggerDevError],
2656
2737
  protocol: TriggerDevProtocol,
2657
2738
  retry: Retry.Retry,
2739
+ telemetry: TELEMETRY,
2740
+ span: "IgnoreErrorV1",
2658
2741
  }));
2659
2742
 
2660
2743
  export type ListBulkActionsV1Error = BadRequest | TriggerDevOpError;
@@ -2670,6 +2753,8 @@ export const listBulkActionsV1: API.OperationMethod<
2670
2753
  errors: [BadRequest, UnknownTriggerDevError],
2671
2754
  protocol: TriggerDevProtocol,
2672
2755
  retry: Retry.Retry,
2756
+ telemetry: TELEMETRY,
2757
+ span: "ListBulkActionsV1",
2673
2758
  }));
2674
2759
 
2675
2760
  export type ListConcurrencyLimitsV1Error = TriggerDevOpError;
@@ -2685,6 +2770,8 @@ export const listConcurrencyLimitsV1: API.OperationMethod<
2685
2770
  errors: [UnknownTriggerDevError],
2686
2771
  protocol: TriggerDevProtocol,
2687
2772
  retry: Retry.Retry,
2773
+ telemetry: TELEMETRY,
2774
+ span: "ListConcurrencyLimitsV1",
2688
2775
  }));
2689
2776
 
2690
2777
  export type ListDashboardsV1Error = TriggerDevOpError;
@@ -2700,6 +2787,8 @@ export const listDashboardsV1: API.OperationMethod<
2700
2787
  errors: [UnknownTriggerDevError],
2701
2788
  protocol: TriggerDevProtocol,
2702
2789
  retry: Retry.Retry,
2790
+ telemetry: TELEMETRY,
2791
+ span: "ListDashboardsV1",
2703
2792
  }));
2704
2793
 
2705
2794
  export type ListDeploymentsV1Error = TriggerDevOpError;
@@ -2715,6 +2804,8 @@ export const listDeploymentsV1: API.OperationMethod<
2715
2804
  errors: [UnknownTriggerDevError],
2716
2805
  protocol: TriggerDevProtocol,
2717
2806
  retry: Retry.Retry,
2807
+ telemetry: TELEMETRY,
2808
+ span: "ListDeploymentsV1",
2718
2809
  }));
2719
2810
 
2720
2811
  export type ListErrorsV1Error = BadRequest | TriggerDevOpError;
@@ -2730,6 +2821,8 @@ export const listErrorsV1: API.OperationMethod<
2730
2821
  errors: [BadRequest, UnknownTriggerDevError],
2731
2822
  protocol: TriggerDevProtocol,
2732
2823
  retry: Retry.Retry,
2824
+ telemetry: TELEMETRY,
2825
+ span: "ListErrorsV1",
2733
2826
  }));
2734
2827
 
2735
2828
  export type ListProjectEnvvarsV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2745,6 +2838,8 @@ export const listProjectEnvvarsV1: API.OperationMethod<
2745
2838
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2746
2839
  protocol: TriggerDevProtocol,
2747
2840
  retry: Retry.Retry,
2841
+ telemetry: TELEMETRY,
2842
+ span: "ListProjectEnvvarsV1",
2748
2843
  }));
2749
2844
 
2750
2845
  export type ListProjectRunsV1Error = BadRequest | TriggerDevOpError;
@@ -2760,6 +2855,8 @@ export const listProjectRunsV1: API.OperationMethod<
2760
2855
  errors: [BadRequest, UnknownTriggerDevError],
2761
2856
  protocol: TriggerDevProtocol,
2762
2857
  retry: Retry.Retry,
2858
+ telemetry: TELEMETRY,
2859
+ span: "ListProjectRunsV1",
2763
2860
  }));
2764
2861
 
2765
2862
  export type ListQueuesV1Error = TriggerDevOpError;
@@ -2775,6 +2872,8 @@ export const listQueuesV1: API.OperationMethod<
2775
2872
  errors: [UnknownTriggerDevError],
2776
2873
  protocol: TriggerDevProtocol,
2777
2874
  retry: Retry.Retry,
2875
+ telemetry: TELEMETRY,
2876
+ span: "ListQueuesV1",
2778
2877
  }));
2779
2878
 
2780
2879
  export type ListRunsV1Error = BadRequest | TriggerDevOpError;
@@ -2790,6 +2889,8 @@ export const listRunsV1: API.OperationMethod<
2790
2889
  errors: [BadRequest, UnknownTriggerDevError],
2791
2890
  protocol: TriggerDevProtocol,
2792
2891
  retry: Retry.Retry,
2892
+ telemetry: TELEMETRY,
2893
+ span: "ListRunsV1",
2793
2894
  }));
2794
2895
 
2795
2896
  export type ListSchedulesV1Error = TriggerDevOpError;
@@ -2805,6 +2906,8 @@ export const listSchedulesV1: API.OperationMethod<
2805
2906
  errors: [UnknownTriggerDevError],
2806
2907
  protocol: TriggerDevProtocol,
2807
2908
  retry: Retry.Retry,
2909
+ telemetry: TELEMETRY,
2910
+ span: "ListSchedulesV1",
2808
2911
  }));
2809
2912
 
2810
2913
  export type ListSessionsV1Error = BadRequest | TriggerDevOpError;
@@ -2820,6 +2923,8 @@ export const listSessionsV1: API.OperationMethod<
2820
2923
  errors: [BadRequest, UnknownTriggerDevError],
2821
2924
  protocol: TriggerDevProtocol,
2822
2925
  retry: Retry.Retry,
2926
+ telemetry: TELEMETRY,
2927
+ span: "ListSessionsV1",
2823
2928
  }));
2824
2929
 
2825
2930
  export type ListWaitpointTokensV1Error = UnprocessableEntity | TriggerDevOpError;
@@ -2835,6 +2940,8 @@ export const listWaitpointTokensV1: API.OperationMethod<
2835
2940
  errors: [UnprocessableEntity, UnknownTriggerDevError],
2836
2941
  protocol: TriggerDevProtocol,
2837
2942
  retry: Retry.Retry,
2943
+ telemetry: TELEMETRY,
2944
+ span: "ListWaitpointTokensV1",
2838
2945
  }));
2839
2946
 
2840
2947
  export type OverrideConcurrencyLimitV1Error = BadRequest | NotFound | Conflict | TriggerDevOpError;
@@ -2850,6 +2957,8 @@ export const overrideConcurrencyLimitV1: API.OperationMethod<
2850
2957
  errors: [BadRequest, NotFound, Conflict, UnknownTriggerDevError],
2851
2958
  protocol: TriggerDevProtocol,
2852
2959
  retry: Retry.Retry,
2960
+ telemetry: TELEMETRY,
2961
+ span: "OverrideConcurrencyLimitV1",
2853
2962
  }));
2854
2963
 
2855
2964
  export type OverrideQueueConcurrencyV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2865,6 +2974,8 @@ export const overrideQueueConcurrencyV1: API.OperationMethod<
2865
2974
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2866
2975
  protocol: TriggerDevProtocol,
2867
2976
  retry: Retry.Retry,
2977
+ telemetry: TELEMETRY,
2978
+ span: "OverrideQueueConcurrencyV1",
2868
2979
  }));
2869
2980
 
2870
2981
  export type PauseConcurrencyLimitV1Error = BadRequest | NotFound | Conflict | TriggerDevOpError;
@@ -2880,6 +2991,8 @@ export const pauseConcurrencyLimitV1: API.OperationMethod<
2880
2991
  errors: [BadRequest, NotFound, Conflict, UnknownTriggerDevError],
2881
2992
  protocol: TriggerDevProtocol,
2882
2993
  retry: Retry.Retry,
2994
+ telemetry: TELEMETRY,
2995
+ span: "PauseConcurrencyLimitV1",
2883
2996
  }));
2884
2997
 
2885
2998
  export type PauseQueueV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2895,6 +3008,8 @@ export const pauseQueueV1: API.OperationMethod<
2895
3008
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2896
3009
  protocol: TriggerDevProtocol,
2897
3010
  retry: Retry.Retry,
3011
+ telemetry: TELEMETRY,
3012
+ span: "PauseQueueV1",
2898
3013
  }));
2899
3014
 
2900
3015
  export type PromoteDeploymentV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2910,6 +3025,8 @@ export const promoteDeploymentV1: API.OperationMethod<
2910
3025
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2911
3026
  protocol: TriggerDevProtocol,
2912
3027
  retry: Retry.Retry,
3028
+ telemetry: TELEMETRY,
3029
+ span: "PromoteDeploymentV1",
2913
3030
  }));
2914
3031
 
2915
3032
  export type ResetConcurrencyLimitV1Error = BadRequest | NotFound | Conflict | TriggerDevOpError;
@@ -2925,6 +3042,8 @@ export const resetConcurrencyLimitV1: API.OperationMethod<
2925
3042
  errors: [BadRequest, NotFound, Conflict, UnknownTriggerDevError],
2926
3043
  protocol: TriggerDevProtocol,
2927
3044
  retry: Retry.Retry,
3045
+ telemetry: TELEMETRY,
3046
+ span: "ResetConcurrencyLimitV1",
2928
3047
  }));
2929
3048
 
2930
3049
  export type ResetQueueConcurrencyV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2940,6 +3059,8 @@ export const resetQueueConcurrencyV1: API.OperationMethod<
2940
3059
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2941
3060
  protocol: TriggerDevProtocol,
2942
3061
  retry: Retry.Retry,
3062
+ telemetry: TELEMETRY,
3063
+ span: "ResetQueueConcurrencyV1",
2943
3064
  }));
2944
3065
 
2945
3066
  export type ResolveErrorV1Error = NotFound | TriggerDevOpError;
@@ -2955,6 +3076,8 @@ export const resolveErrorV1: API.OperationMethod<
2955
3076
  errors: [NotFound, UnknownTriggerDevError],
2956
3077
  protocol: TriggerDevProtocol,
2957
3078
  retry: Retry.Retry,
3079
+ telemetry: TELEMETRY,
3080
+ span: "ResolveErrorV1",
2958
3081
  }));
2959
3082
 
2960
3083
  export type RunReplayV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2970,6 +3093,8 @@ export const runReplayV1: API.OperationMethod<
2970
3093
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2971
3094
  protocol: TriggerDevProtocol,
2972
3095
  retry: Retry.Retry,
3096
+ telemetry: TELEMETRY,
3097
+ span: "RunReplayV1",
2973
3098
  }));
2974
3099
 
2975
3100
  export type RunRescheduleV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -2985,6 +3110,8 @@ export const runRescheduleV1: API.OperationMethod<
2985
3110
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
2986
3111
  protocol: TriggerDevProtocol,
2987
3112
  retry: Retry.Retry,
3113
+ telemetry: TELEMETRY,
3114
+ span: "RunRescheduleV1",
2988
3115
  }));
2989
3116
 
2990
3117
  export type TriggerBatchTaskByIdV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -3000,6 +3127,8 @@ export const triggerBatchTaskByIdV1: API.OperationMethod<
3000
3127
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
3001
3128
  protocol: TriggerDevProtocol,
3002
3129
  retry: Retry.Retry,
3130
+ telemetry: TELEMETRY,
3131
+ span: "TriggerBatchTaskByIdV1",
3003
3132
  }));
3004
3133
 
3005
3134
  export type TriggerBatchTaskV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -3015,6 +3144,8 @@ export const triggerBatchTaskV1: API.OperationMethod<
3015
3144
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
3016
3145
  protocol: TriggerDevProtocol,
3017
3146
  retry: Retry.Retry,
3147
+ telemetry: TELEMETRY,
3148
+ span: "TriggerBatchTaskV1",
3018
3149
  }));
3019
3150
 
3020
3151
  export type TriggerTaskV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -3030,6 +3161,8 @@ export const triggerTaskV1: API.OperationMethod<
3030
3161
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
3031
3162
  protocol: TriggerDevProtocol,
3032
3163
  retry: Retry.Retry,
3164
+ telemetry: TELEMETRY,
3165
+ span: "TriggerTaskV1",
3033
3166
  }));
3034
3167
 
3035
3168
  export type UnresolveErrorV1Error = NotFound | TriggerDevOpError;
@@ -3045,6 +3178,8 @@ export const unresolveErrorV1: API.OperationMethod<
3045
3178
  errors: [NotFound, UnknownTriggerDevError],
3046
3179
  protocol: TriggerDevProtocol,
3047
3180
  retry: Retry.Retry,
3181
+ telemetry: TELEMETRY,
3182
+ span: "UnresolveErrorV1",
3048
3183
  }));
3049
3184
 
3050
3185
  export type UpdateProjectEnvvarV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -3060,6 +3195,8 @@ export const updateProjectEnvvarV1: API.OperationMethod<
3060
3195
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
3061
3196
  protocol: TriggerDevProtocol,
3062
3197
  retry: Retry.Retry,
3198
+ telemetry: TELEMETRY,
3199
+ span: "UpdateProjectEnvvarV1",
3063
3200
  }));
3064
3201
 
3065
3202
  export type UpdateRunMetadataV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -3075,6 +3212,8 @@ export const updateRunMetadataV1: API.OperationMethod<
3075
3212
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
3076
3213
  protocol: TriggerDevProtocol,
3077
3214
  retry: Retry.Retry,
3215
+ telemetry: TELEMETRY,
3216
+ span: "UpdateRunMetadataV1",
3078
3217
  }));
3079
3218
 
3080
3219
  export type UpdateScheduleV1Error = BadRequest | NotFound | UnprocessableEntity | TriggerDevOpError;
@@ -3090,6 +3229,8 @@ export const updateScheduleV1: API.OperationMethod<
3090
3229
  errors: [BadRequest, NotFound, UnprocessableEntity, UnknownTriggerDevError],
3091
3230
  protocol: TriggerDevProtocol,
3092
3231
  retry: Retry.Retry,
3232
+ telemetry: TELEMETRY,
3233
+ span: "UpdateScheduleV1",
3093
3234
  }));
3094
3235
 
3095
3236
  export type UpdateSessionV1Error = NotFound | UnprocessableEntity | TriggerDevOpError;
@@ -3105,6 +3246,8 @@ export const updateSessionV1: API.OperationMethod<
3105
3246
  errors: [NotFound, UnprocessableEntity, UnknownTriggerDevError],
3106
3247
  protocol: TriggerDevProtocol,
3107
3248
  retry: Retry.Retry,
3249
+ telemetry: TELEMETRY,
3250
+ span: "UpdateSessionV1",
3108
3251
  }));
3109
3252
 
3110
3253
  export type UploadProjectEnvvarsV1Error = BadRequest | NotFound | TriggerDevOpError;
@@ -3120,6 +3263,8 @@ export const uploadProjectEnvvarsV1: API.OperationMethod<
3120
3263
  errors: [BadRequest, NotFound, UnknownTriggerDevError],
3121
3264
  protocol: TriggerDevProtocol,
3122
3265
  retry: Retry.Retry,
3266
+ telemetry: TELEMETRY,
3267
+ span: "UploadProjectEnvvarsV1",
3123
3268
  }));
3124
3269
 
3125
3270
  // Schema builders: each runs one schema initializer, on that schema's first use.
@@ -1 +0,0 @@
1
- {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D;;;;;;GAMG;AACH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,MAAM,CAAC,MAAM,oBAAoB,GAAG,yBAAyB,CAAC;AAO9D,MAAM,OAAO,WACX,SAAQ,aAAa,CAAb,aAAa,CAAC,OAAO,CAAC,OAAO,EAAsC,CACzE,uBAAuB,CACxB;CAAG;AAEN,yDAAyD;AACzD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAG1B,EAA4B,EAAE,CAC7B,KAAK,CAAC,OAAO,CACX,WAAW,EACX,MAAM,CAAC,OAAO,CAAC;IACb,MAAM,EAAE,MAAM,CAAC,MAAM;IACrB,UAAU,EAAE,MAAM,CAAC,UAAU,IAAI,oBAAoB;CACtD,CAAC,CACH,CAAC;AAEJ;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CAAC,KAAK,CAAC,OAAO,CACrF,WAAW;AACX,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAChC,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,mBAAmB,IAAI,OAAO,CAAC,GAAG,CAAC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AAa,CAAb,aAAa,CAAC,MAAM,CAAC,WAAW,EAAwB,CAAC,sBAAsB,EAAE;IACvF,IAAI,EAAE,MAAM,CAAC,OAAO;IACpB,KAAK,EAAE,MAAM,CAAC,OAAO;CACtB,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC;CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pagination.js","sourceRoot":"","sources":["../src/pagination.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"protocol.js","sourceRoot":"","sources":["../src/protocol.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAe,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAmB3E,MAAM,CAAC,MAAM,kBAAkB,GAA8B,aAAa,CAAC,gBAAgB,CACzF;IACE,oEAAoE;IACpE,wEAAwE;IACxE,WAAW,EAAE,aAAa,CAAC,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;IAC5E,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU;IACpC,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,aAAa,EAAE,UAAU,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;KACxD,CAAC;IACF,YAAY,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,CACxC,IAAI,s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O,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,CAC3D,CAAC;AAEF,kFAAkF;AAClF,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAElE,oFAAoF;AACpF,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,KAAK,UAAU,MAAM,kBAAkB,CAAC"}
package/lib/traits.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"traits.js","sourceRoot":"","sources":["../src/traits.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,KAAK,EACL,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAGhB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,cAAc,EACd,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,qCAAqC,CAAC"}
File without changes