@hasna/switcher 0.2.17 → 0.2.19

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.
@@ -12,14 +12,14 @@ import { dirname, resolve } from "path";
12
12
  import { createHash } from "crypto";
13
13
 
14
14
  // src/domain.ts
15
- import { z as z3 } from "zod";
15
+ import { z as z3 } from "zod-v4";
16
16
 
17
17
  // src/reasoning.ts
18
- import { z } from "zod";
18
+ import { z } from "zod-v4";
19
19
  var reasoningEffortSchema = z.enum(["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"]);
20
20
 
21
21
  // src/model-policy-schema.ts
22
- import { z as z2 } from "zod";
22
+ import { z as z2 } from "zod-v4";
23
23
  var policyModelIdSchema = z2.string().min(1).max(300).regex(/^[^\u0000-\u001f\u007f]+$/);
24
24
  var modelPolicyRoleSchema = z2.enum(["subagent", "fast", "planning", "review", "summary", "compaction", "weak", "editor"]);
25
25
  var boundedModelList = z2.array(policyModelIdSchema).max(500);
@@ -68,7 +68,7 @@ function canonicalPolicyJSON(value) {
68
68
  return JSON.stringify(value, (_key, item) => item && typeof item === "object" && !Array.isArray(item) ? Object.fromEntries(Object.entries(item).sort(([a], [b]) => a.localeCompare(b))) : item);
69
69
  }
70
70
  // package.json
71
- var version = "0.2.17";
71
+ var version = "0.2.19";
72
72
 
73
73
  // src/version.ts
74
74
  var VERSION = version;
@@ -430,7 +430,7 @@ class Store {
430
430
  // src/service.ts
431
431
  import { createHash as createHash3, timingSafeEqual } from "crypto";
432
432
  import { verifyApiKey } from "@hasna/contracts/auth";
433
- import { z as z4 } from "zod";
433
+ import { z as z4 } from "zod-v4";
434
434
 
435
435
  // src/http.ts
436
436
  var MAX_BYTES = 16 * 1024 * 1024;
@@ -922,7 +922,7 @@ var openapi_default = {
922
922
  openapi: "3.0.3",
923
923
  info: {
924
924
  title: "Switcher API",
925
- version: "0.2.17",
925
+ version: "0.2.19",
926
926
  description: "Authenticated provider/profile/catalog control plane. Launches run locally; the API never returns provider credentials."
927
927
  },
928
928
  security: [
@@ -2233,6 +2233,7 @@ var openapi_default = {
2233
2233
  }
2234
2234
  },
2235
2235
  protocols: {
2236
+ minItems: 1,
2236
2237
  type: "array",
2237
2238
  items: {
2238
2239
  type: "object",
@@ -2262,12 +2263,12 @@ var openapi_default = {
2262
2263
  type: "object",
2263
2264
  properties: {
2264
2265
  method: {
2266
+ default: "GET",
2265
2267
  type: "string",
2266
2268
  enum: [
2267
2269
  "GET",
2268
2270
  "HEAD"
2269
- ],
2270
- default: "GET"
2271
+ ]
2271
2272
  },
2272
2273
  path: {
2273
2274
  type: "string",
@@ -2325,8 +2326,7 @@ var openapi_default = {
2325
2326
  "notes"
2326
2327
  ],
2327
2328
  additionalProperties: false
2328
- },
2329
- minItems: 1
2329
+ }
2330
2330
  },
2331
2331
  sources: {
2332
2332
  type: "array",
@@ -2382,24 +2382,24 @@ var openapi_default = {
2382
2382
  pattern: "^SWITCHER_PROVIDER_[A-Z0-9_]+$"
2383
2383
  },
2384
2384
  authStyle: {
2385
+ default: "bearer",
2385
2386
  type: "string",
2386
2387
  enum: [
2387
2388
  "bearer",
2388
2389
  "x-api-key",
2389
2390
  "api-key"
2390
- ],
2391
- default: "bearer"
2391
+ ]
2392
2392
  },
2393
2393
  credentialCheck: {
2394
2394
  type: "object",
2395
2395
  properties: {
2396
2396
  method: {
2397
+ default: "GET",
2397
2398
  type: "string",
2398
2399
  enum: [
2399
2400
  "GET",
2400
2401
  "HEAD"
2401
- ],
2402
- default: "GET"
2402
+ ]
2403
2403
  },
2404
2404
  path: {
2405
2405
  type: "string",
@@ -2448,12 +2448,14 @@ var openapi_default = {
2448
2448
  pattern: "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
2449
2449
  },
2450
2450
  modelsPath: {
2451
+ default: "models",
2451
2452
  type: "string",
2452
- pattern: "^[a-zA-Z0-9_/-]+$",
2453
2453
  maxLength: 200,
2454
- default: "models"
2454
+ pattern: "^[a-zA-Z0-9_/-]+$"
2455
2455
  },
2456
2456
  manualModels: {
2457
+ default: [],
2458
+ maxItems: 1e4,
2457
2459
  type: "array",
2458
2460
  items: {
2459
2461
  type: "object",
@@ -2481,39 +2483,42 @@ var openapi_default = {
2481
2483
  },
2482
2484
  contextWindow: {
2483
2485
  type: "integer",
2486
+ minimum: 0,
2484
2487
  exclusiveMinimum: true,
2485
- minimum: 0
2488
+ maximum: 9007199254740991
2486
2489
  },
2487
2490
  maxOutputTokens: {
2488
2491
  type: "integer",
2492
+ minimum: 0,
2489
2493
  exclusiveMinimum: true,
2490
- minimum: 0
2494
+ maximum: 9007199254740991
2491
2495
  },
2492
2496
  inputModalities: {
2497
+ maxItems: 20,
2493
2498
  type: "array",
2494
2499
  items: {
2495
2500
  type: "string",
2496
2501
  maxLength: 50
2497
- },
2498
- maxItems: 20
2502
+ }
2499
2503
  },
2500
2504
  outputModalities: {
2505
+ maxItems: 20,
2501
2506
  type: "array",
2502
2507
  items: {
2503
2508
  type: "string",
2504
2509
  maxLength: 50
2505
- },
2506
- maxItems: 20
2510
+ }
2507
2511
  },
2508
2512
  supportedParameters: {
2513
+ maxItems: 100,
2509
2514
  type: "array",
2510
2515
  items: {
2511
2516
  type: "string",
2512
2517
  maxLength: 100
2513
- },
2514
- maxItems: 100
2518
+ }
2515
2519
  },
2516
2520
  reasoningEfforts: {
2521
+ maxItems: 8,
2517
2522
  type: "array",
2518
2523
  items: {
2519
2524
  type: "string",
@@ -2527,17 +2532,16 @@ var openapi_default = {
2527
2532
  "max",
2528
2533
  "ultra"
2529
2534
  ]
2530
- },
2531
- maxItems: 8
2535
+ }
2532
2536
  },
2533
2537
  supportedGenerationMethods: {
2538
+ maxItems: 100,
2534
2539
  type: "array",
2535
2540
  items: {
2536
2541
  type: "string",
2537
2542
  minLength: 1,
2538
2543
  maxLength: 100
2539
- },
2540
- maxItems: 100
2544
+ }
2541
2545
  }
2542
2546
  },
2543
2547
  required: [
@@ -2545,11 +2549,10 @@ var openapi_default = {
2545
2549
  "name"
2546
2550
  ],
2547
2551
  additionalProperties: false
2548
- },
2549
- maxItems: 1e4,
2550
- default: []
2552
+ }
2551
2553
  },
2552
2554
  additionalModels: {
2555
+ maxItems: 1e4,
2553
2556
  type: "array",
2554
2557
  items: {
2555
2558
  type: "object",
@@ -2577,39 +2580,42 @@ var openapi_default = {
2577
2580
  },
2578
2581
  contextWindow: {
2579
2582
  type: "integer",
2583
+ minimum: 0,
2580
2584
  exclusiveMinimum: true,
2581
- minimum: 0
2585
+ maximum: 9007199254740991
2582
2586
  },
2583
2587
  maxOutputTokens: {
2584
2588
  type: "integer",
2589
+ minimum: 0,
2585
2590
  exclusiveMinimum: true,
2586
- minimum: 0
2591
+ maximum: 9007199254740991
2587
2592
  },
2588
2593
  inputModalities: {
2594
+ maxItems: 20,
2589
2595
  type: "array",
2590
2596
  items: {
2591
2597
  type: "string",
2592
2598
  maxLength: 50
2593
- },
2594
- maxItems: 20
2599
+ }
2595
2600
  },
2596
2601
  outputModalities: {
2602
+ maxItems: 20,
2597
2603
  type: "array",
2598
2604
  items: {
2599
2605
  type: "string",
2600
2606
  maxLength: 50
2601
- },
2602
- maxItems: 20
2607
+ }
2603
2608
  },
2604
2609
  supportedParameters: {
2610
+ maxItems: 100,
2605
2611
  type: "array",
2606
2612
  items: {
2607
2613
  type: "string",
2608
2614
  maxLength: 100
2609
- },
2610
- maxItems: 100
2615
+ }
2611
2616
  },
2612
2617
  reasoningEfforts: {
2618
+ maxItems: 8,
2613
2619
  type: "array",
2614
2620
  items: {
2615
2621
  type: "string",
@@ -2623,17 +2629,16 @@ var openapi_default = {
2623
2629
  "max",
2624
2630
  "ultra"
2625
2631
  ]
2626
- },
2627
- maxItems: 8
2632
+ }
2628
2633
  },
2629
2634
  supportedGenerationMethods: {
2635
+ maxItems: 100,
2630
2636
  type: "array",
2631
2637
  items: {
2632
2638
  type: "string",
2633
2639
  minLength: 1,
2634
2640
  maxLength: 100
2635
- },
2636
- maxItems: 100
2641
+ }
2637
2642
  }
2638
2643
  },
2639
2644
  required: [
@@ -2641,8 +2646,7 @@ var openapi_default = {
2641
2646
  "name"
2642
2647
  ],
2643
2648
  additionalProperties: false
2644
- },
2645
- maxItems: 1e4
2649
+ }
2646
2650
  }
2647
2651
  },
2648
2652
  required: [
@@ -2683,24 +2687,24 @@ var openapi_default = {
2683
2687
  pattern: "^SWITCHER_PROVIDER_[A-Z0-9_]+$"
2684
2688
  },
2685
2689
  authStyle: {
2690
+ default: "bearer",
2686
2691
  type: "string",
2687
2692
  enum: [
2688
2693
  "bearer",
2689
2694
  "x-api-key",
2690
2695
  "api-key"
2691
- ],
2692
- default: "bearer"
2696
+ ]
2693
2697
  },
2694
2698
  credentialCheck: {
2695
2699
  type: "object",
2696
2700
  properties: {
2697
2701
  method: {
2702
+ default: "GET",
2698
2703
  type: "string",
2699
2704
  enum: [
2700
2705
  "GET",
2701
2706
  "HEAD"
2702
- ],
2703
- default: "GET"
2707
+ ]
2704
2708
  },
2705
2709
  path: {
2706
2710
  type: "string",
@@ -2749,12 +2753,14 @@ var openapi_default = {
2749
2753
  pattern: "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
2750
2754
  },
2751
2755
  modelsPath: {
2756
+ default: "models",
2752
2757
  type: "string",
2753
- pattern: "^[a-zA-Z0-9_/-]+$",
2754
2758
  maxLength: 200,
2755
- default: "models"
2759
+ pattern: "^[a-zA-Z0-9_/-]+$"
2756
2760
  },
2757
2761
  manualModels: {
2762
+ default: [],
2763
+ maxItems: 1e4,
2758
2764
  type: "array",
2759
2765
  items: {
2760
2766
  type: "object",
@@ -2782,39 +2788,42 @@ var openapi_default = {
2782
2788
  },
2783
2789
  contextWindow: {
2784
2790
  type: "integer",
2791
+ minimum: 0,
2785
2792
  exclusiveMinimum: true,
2786
- minimum: 0
2793
+ maximum: 9007199254740991
2787
2794
  },
2788
2795
  maxOutputTokens: {
2789
2796
  type: "integer",
2797
+ minimum: 0,
2790
2798
  exclusiveMinimum: true,
2791
- minimum: 0
2799
+ maximum: 9007199254740991
2792
2800
  },
2793
2801
  inputModalities: {
2802
+ maxItems: 20,
2794
2803
  type: "array",
2795
2804
  items: {
2796
2805
  type: "string",
2797
2806
  maxLength: 50
2798
- },
2799
- maxItems: 20
2807
+ }
2800
2808
  },
2801
2809
  outputModalities: {
2810
+ maxItems: 20,
2802
2811
  type: "array",
2803
2812
  items: {
2804
2813
  type: "string",
2805
2814
  maxLength: 50
2806
- },
2807
- maxItems: 20
2815
+ }
2808
2816
  },
2809
2817
  supportedParameters: {
2818
+ maxItems: 100,
2810
2819
  type: "array",
2811
2820
  items: {
2812
2821
  type: "string",
2813
2822
  maxLength: 100
2814
- },
2815
- maxItems: 100
2823
+ }
2816
2824
  },
2817
2825
  reasoningEfforts: {
2826
+ maxItems: 8,
2818
2827
  type: "array",
2819
2828
  items: {
2820
2829
  type: "string",
@@ -2828,17 +2837,16 @@ var openapi_default = {
2828
2837
  "max",
2829
2838
  "ultra"
2830
2839
  ]
2831
- },
2832
- maxItems: 8
2840
+ }
2833
2841
  },
2834
2842
  supportedGenerationMethods: {
2843
+ maxItems: 100,
2835
2844
  type: "array",
2836
2845
  items: {
2837
2846
  type: "string",
2838
2847
  minLength: 1,
2839
2848
  maxLength: 100
2840
- },
2841
- maxItems: 100
2849
+ }
2842
2850
  }
2843
2851
  },
2844
2852
  required: [
@@ -2846,11 +2854,10 @@ var openapi_default = {
2846
2854
  "name"
2847
2855
  ],
2848
2856
  additionalProperties: false
2849
- },
2850
- maxItems: 1e4,
2851
- default: []
2857
+ }
2852
2858
  },
2853
2859
  additionalModels: {
2860
+ maxItems: 1e4,
2854
2861
  type: "array",
2855
2862
  items: {
2856
2863
  type: "object",
@@ -2878,39 +2885,42 @@ var openapi_default = {
2878
2885
  },
2879
2886
  contextWindow: {
2880
2887
  type: "integer",
2888
+ minimum: 0,
2881
2889
  exclusiveMinimum: true,
2882
- minimum: 0
2890
+ maximum: 9007199254740991
2883
2891
  },
2884
2892
  maxOutputTokens: {
2885
2893
  type: "integer",
2894
+ minimum: 0,
2886
2895
  exclusiveMinimum: true,
2887
- minimum: 0
2896
+ maximum: 9007199254740991
2888
2897
  },
2889
2898
  inputModalities: {
2899
+ maxItems: 20,
2890
2900
  type: "array",
2891
2901
  items: {
2892
2902
  type: "string",
2893
2903
  maxLength: 50
2894
- },
2895
- maxItems: 20
2904
+ }
2896
2905
  },
2897
2906
  outputModalities: {
2907
+ maxItems: 20,
2898
2908
  type: "array",
2899
2909
  items: {
2900
2910
  type: "string",
2901
2911
  maxLength: 50
2902
- },
2903
- maxItems: 20
2912
+ }
2904
2913
  },
2905
2914
  supportedParameters: {
2915
+ maxItems: 100,
2906
2916
  type: "array",
2907
2917
  items: {
2908
2918
  type: "string",
2909
2919
  maxLength: 100
2910
- },
2911
- maxItems: 100
2920
+ }
2912
2921
  },
2913
2922
  reasoningEfforts: {
2923
+ maxItems: 8,
2914
2924
  type: "array",
2915
2925
  items: {
2916
2926
  type: "string",
@@ -2924,17 +2934,16 @@ var openapi_default = {
2924
2934
  "max",
2925
2935
  "ultra"
2926
2936
  ]
2927
- },
2928
- maxItems: 8
2937
+ }
2929
2938
  },
2930
2939
  supportedGenerationMethods: {
2940
+ maxItems: 100,
2931
2941
  type: "array",
2932
2942
  items: {
2933
2943
  type: "string",
2934
2944
  minLength: 1,
2935
2945
  maxLength: 100
2936
- },
2937
- maxItems: 100
2946
+ }
2938
2947
  }
2939
2948
  },
2940
2949
  required: [
@@ -2942,13 +2951,13 @@ var openapi_default = {
2942
2951
  "name"
2943
2952
  ],
2944
2953
  additionalProperties: false
2945
- },
2946
- maxItems: 1e4
2954
+ }
2947
2955
  },
2948
2956
  version: {
2949
2957
  type: "integer",
2958
+ minimum: 0,
2950
2959
  exclusiveMinimum: true,
2951
- minimum: 0
2960
+ maximum: 9007199254740991
2952
2961
  },
2953
2962
  updatedAt: {
2954
2963
  type: "string"
@@ -2959,6 +2968,9 @@ var openapi_default = {
2959
2968
  "name",
2960
2969
  "baseUrl",
2961
2970
  "protocol",
2971
+ "authStyle",
2972
+ "modelsPath",
2973
+ "manualModels",
2962
2974
  "version",
2963
2975
  "updatedAt"
2964
2976
  ],
@@ -3010,11 +3022,11 @@ var openapi_default = {
3010
3022
  type: "object",
3011
3023
  properties: {
3012
3024
  version: {
3025
+ default: 1,
3013
3026
  type: "number",
3014
3027
  enum: [
3015
3028
  1
3016
- ],
3017
- default: 1
3029
+ ]
3018
3030
  },
3019
3031
  selection: {
3020
3032
  type: "string",
@@ -3078,14 +3090,14 @@ var openapi_default = {
3078
3090
  additionalProperties: false
3079
3091
  },
3080
3092
  allowedModels: {
3093
+ maxItems: 500,
3081
3094
  type: "array",
3082
3095
  items: {
3083
3096
  type: "string",
3084
3097
  minLength: 1,
3085
3098
  maxLength: 300,
3086
3099
  pattern: "^[^\\u0000-\\u001f\\u007f]+$"
3087
- },
3088
- maxItems: 500
3100
+ }
3089
3101
  },
3090
3102
  aliases: {
3091
3103
  type: "object",
@@ -3099,14 +3111,14 @@ var openapi_default = {
3099
3111
  fallbacks: {
3100
3112
  type: "object",
3101
3113
  additionalProperties: {
3114
+ maxItems: 20,
3102
3115
  type: "array",
3103
3116
  items: {
3104
3117
  type: "string",
3105
3118
  minLength: 1,
3106
3119
  maxLength: 300,
3107
3120
  pattern: "^[^\\u0000-\\u001f\\u007f]+$"
3108
- },
3109
- maxItems: 20
3121
+ }
3110
3122
  }
3111
3123
  }
3112
3124
  },
@@ -3168,11 +3180,11 @@ var openapi_default = {
3168
3180
  type: "object",
3169
3181
  properties: {
3170
3182
  version: {
3183
+ default: 1,
3171
3184
  type: "number",
3172
3185
  enum: [
3173
3186
  1
3174
- ],
3175
- default: 1
3187
+ ]
3176
3188
  },
3177
3189
  selection: {
3178
3190
  type: "string",
@@ -3236,14 +3248,14 @@ var openapi_default = {
3236
3248
  additionalProperties: false
3237
3249
  },
3238
3250
  allowedModels: {
3251
+ maxItems: 500,
3239
3252
  type: "array",
3240
3253
  items: {
3241
3254
  type: "string",
3242
3255
  minLength: 1,
3243
3256
  maxLength: 300,
3244
3257
  pattern: "^[^\\u0000-\\u001f\\u007f]+$"
3245
- },
3246
- maxItems: 500
3258
+ }
3247
3259
  },
3248
3260
  aliases: {
3249
3261
  type: "object",
@@ -3257,14 +3269,14 @@ var openapi_default = {
3257
3269
  fallbacks: {
3258
3270
  type: "object",
3259
3271
  additionalProperties: {
3272
+ maxItems: 20,
3260
3273
  type: "array",
3261
3274
  items: {
3262
3275
  type: "string",
3263
3276
  minLength: 1,
3264
3277
  maxLength: 300,
3265
3278
  pattern: "^[^\\u0000-\\u001f\\u007f]+$"
3266
- },
3267
- maxItems: 20
3279
+ }
3268
3280
  }
3269
3281
  }
3270
3282
  },
@@ -3272,8 +3284,9 @@ var openapi_default = {
3272
3284
  },
3273
3285
  version: {
3274
3286
  type: "integer",
3287
+ minimum: 0,
3275
3288
  exclusiveMinimum: true,
3276
- minimum: 0
3289
+ maximum: 9007199254740991
3277
3290
  },
3278
3291
  updatedAt: {
3279
3292
  type: "string"
@@ -3316,39 +3329,42 @@ var openapi_default = {
3316
3329
  },
3317
3330
  contextWindow: {
3318
3331
  type: "integer",
3332
+ minimum: 0,
3319
3333
  exclusiveMinimum: true,
3320
- minimum: 0
3334
+ maximum: 9007199254740991
3321
3335
  },
3322
3336
  maxOutputTokens: {
3323
3337
  type: "integer",
3338
+ minimum: 0,
3324
3339
  exclusiveMinimum: true,
3325
- minimum: 0
3340
+ maximum: 9007199254740991
3326
3341
  },
3327
3342
  inputModalities: {
3343
+ maxItems: 20,
3328
3344
  type: "array",
3329
3345
  items: {
3330
3346
  type: "string",
3331
3347
  maxLength: 50
3332
- },
3333
- maxItems: 20
3348
+ }
3334
3349
  },
3335
3350
  outputModalities: {
3351
+ maxItems: 20,
3336
3352
  type: "array",
3337
3353
  items: {
3338
3354
  type: "string",
3339
3355
  maxLength: 50
3340
- },
3341
- maxItems: 20
3356
+ }
3342
3357
  },
3343
3358
  supportedParameters: {
3359
+ maxItems: 100,
3344
3360
  type: "array",
3345
3361
  items: {
3346
3362
  type: "string",
3347
3363
  maxLength: 100
3348
- },
3349
- maxItems: 100
3364
+ }
3350
3365
  },
3351
3366
  reasoningEfforts: {
3367
+ maxItems: 8,
3352
3368
  type: "array",
3353
3369
  items: {
3354
3370
  type: "string",
@@ -3362,17 +3378,16 @@ var openapi_default = {
3362
3378
  "max",
3363
3379
  "ultra"
3364
3380
  ]
3365
- },
3366
- maxItems: 8
3381
+ }
3367
3382
  },
3368
3383
  supportedGenerationMethods: {
3384
+ maxItems: 100,
3369
3385
  type: "array",
3370
3386
  items: {
3371
3387
  type: "string",
3372
3388
  minLength: 1,
3373
3389
  maxLength: 100
3374
- },
3375
- maxItems: 100
3390
+ }
3376
3391
  }
3377
3392
  },
3378
3393
  required: [
@@ -3385,11 +3400,11 @@ var openapi_default = {
3385
3400
  type: "object",
3386
3401
  properties: {
3387
3402
  version: {
3403
+ default: 1,
3388
3404
  type: "number",
3389
3405
  enum: [
3390
3406
  1
3391
- ],
3392
- default: 1
3407
+ ]
3393
3408
  },
3394
3409
  selection: {
3395
3410
  type: "string",
@@ -3453,14 +3468,14 @@ var openapi_default = {
3453
3468
  additionalProperties: false
3454
3469
  },
3455
3470
  allowedModels: {
3471
+ maxItems: 500,
3456
3472
  type: "array",
3457
3473
  items: {
3458
3474
  type: "string",
3459
3475
  minLength: 1,
3460
3476
  maxLength: 300,
3461
3477
  pattern: "^[^\\u0000-\\u001f\\u007f]+$"
3462
- },
3463
- maxItems: 500
3478
+ }
3464
3479
  },
3465
3480
  aliases: {
3466
3481
  type: "object",
@@ -3474,14 +3489,14 @@ var openapi_default = {
3474
3489
  fallbacks: {
3475
3490
  type: "object",
3476
3491
  additionalProperties: {
3492
+ maxItems: 20,
3477
3493
  type: "array",
3478
3494
  items: {
3479
3495
  type: "string",
3480
3496
  minLength: 1,
3481
3497
  maxLength: 300,
3482
3498
  pattern: "^[^\\u0000-\\u001f\\u007f]+$"
3483
- },
3484
- maxItems: 20
3499
+ }
3485
3500
  }
3486
3501
  }
3487
3502
  },
@@ -3492,7 +3507,8 @@ var openapi_default = {
3492
3507
  properties: {
3493
3508
  at: {
3494
3509
  type: "string",
3495
- format: "date-time"
3510
+ format: "date-time",
3511
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
3496
3512
  },
3497
3513
  requestId: {
3498
3514
  type: "string",
@@ -3601,39 +3617,42 @@ var openapi_default = {
3601
3617
  },
3602
3618
  contextWindow: {
3603
3619
  type: "integer",
3620
+ minimum: 0,
3604
3621
  exclusiveMinimum: true,
3605
- minimum: 0
3622
+ maximum: 9007199254740991
3606
3623
  },
3607
3624
  maxOutputTokens: {
3608
3625
  type: "integer",
3626
+ minimum: 0,
3609
3627
  exclusiveMinimum: true,
3610
- minimum: 0
3628
+ maximum: 9007199254740991
3611
3629
  },
3612
3630
  inputModalities: {
3631
+ maxItems: 20,
3613
3632
  type: "array",
3614
3633
  items: {
3615
3634
  type: "string",
3616
3635
  maxLength: 50
3617
- },
3618
- maxItems: 20
3636
+ }
3619
3637
  },
3620
3638
  outputModalities: {
3639
+ maxItems: 20,
3621
3640
  type: "array",
3622
3641
  items: {
3623
3642
  type: "string",
3624
3643
  maxLength: 50
3625
- },
3626
- maxItems: 20
3644
+ }
3627
3645
  },
3628
3646
  supportedParameters: {
3647
+ maxItems: 100,
3629
3648
  type: "array",
3630
3649
  items: {
3631
3650
  type: "string",
3632
3651
  maxLength: 100
3633
- },
3634
- maxItems: 100
3652
+ }
3635
3653
  },
3636
3654
  reasoningEfforts: {
3655
+ maxItems: 8,
3637
3656
  type: "array",
3638
3657
  items: {
3639
3658
  type: "string",
@@ -3647,17 +3666,16 @@ var openapi_default = {
3647
3666
  "max",
3648
3667
  "ultra"
3649
3668
  ]
3650
- },
3651
- maxItems: 8
3669
+ }
3652
3670
  },
3653
3671
  supportedGenerationMethods: {
3672
+ maxItems: 100,
3654
3673
  type: "array",
3655
3674
  items: {
3656
3675
  type: "string",
3657
3676
  minLength: 1,
3658
3677
  maxLength: 100
3659
- },
3660
- maxItems: 100
3678
+ }
3661
3679
  },
3662
3680
  codingEligible: {
3663
3681
  type: "boolean"
@@ -3676,13 +3694,19 @@ var openapi_default = {
3676
3694
  }
3677
3695
  },
3678
3696
  total: {
3679
- type: "integer"
3697
+ type: "integer",
3698
+ minimum: -9007199254740991,
3699
+ maximum: 9007199254740991
3680
3700
  },
3681
3701
  limit: {
3682
- type: "integer"
3702
+ type: "integer",
3703
+ minimum: -9007199254740991,
3704
+ maximum: 9007199254740991
3683
3705
  },
3684
3706
  offset: {
3685
- type: "integer"
3707
+ type: "integer",
3708
+ minimum: -9007199254740991,
3709
+ maximum: 9007199254740991
3686
3710
  },
3687
3711
  refreshedAt: {
3688
3712
  type: "string"
@@ -3709,6 +3733,7 @@ var openapi_default = {
3709
3733
  type: "object",
3710
3734
  properties: {
3711
3735
  models: {
3736
+ maxItems: 1e4,
3712
3737
  type: "array",
3713
3738
  items: {
3714
3739
  type: "object",
@@ -3736,39 +3761,42 @@ var openapi_default = {
3736
3761
  },
3737
3762
  contextWindow: {
3738
3763
  type: "integer",
3764
+ minimum: 0,
3739
3765
  exclusiveMinimum: true,
3740
- minimum: 0
3766
+ maximum: 9007199254740991
3741
3767
  },
3742
3768
  maxOutputTokens: {
3743
3769
  type: "integer",
3770
+ minimum: 0,
3744
3771
  exclusiveMinimum: true,
3745
- minimum: 0
3772
+ maximum: 9007199254740991
3746
3773
  },
3747
3774
  inputModalities: {
3775
+ maxItems: 20,
3748
3776
  type: "array",
3749
3777
  items: {
3750
3778
  type: "string",
3751
3779
  maxLength: 50
3752
- },
3753
- maxItems: 20
3780
+ }
3754
3781
  },
3755
3782
  outputModalities: {
3783
+ maxItems: 20,
3756
3784
  type: "array",
3757
3785
  items: {
3758
3786
  type: "string",
3759
3787
  maxLength: 50
3760
- },
3761
- maxItems: 20
3788
+ }
3762
3789
  },
3763
3790
  supportedParameters: {
3791
+ maxItems: 100,
3764
3792
  type: "array",
3765
3793
  items: {
3766
3794
  type: "string",
3767
3795
  maxLength: 100
3768
- },
3769
- maxItems: 100
3796
+ }
3770
3797
  },
3771
3798
  reasoningEfforts: {
3799
+ maxItems: 8,
3772
3800
  type: "array",
3773
3801
  items: {
3774
3802
  type: "string",
@@ -3782,17 +3810,16 @@ var openapi_default = {
3782
3810
  "max",
3783
3811
  "ultra"
3784
3812
  ]
3785
- },
3786
- maxItems: 8
3813
+ }
3787
3814
  },
3788
3815
  supportedGenerationMethods: {
3816
+ maxItems: 100,
3789
3817
  type: "array",
3790
3818
  items: {
3791
3819
  type: "string",
3792
3820
  minLength: 1,
3793
3821
  maxLength: 100
3794
- },
3795
- maxItems: 100
3822
+ }
3796
3823
  }
3797
3824
  },
3798
3825
  required: [
@@ -3800,12 +3827,12 @@ var openapi_default = {
3800
3827
  "name"
3801
3828
  ],
3802
3829
  additionalProperties: false
3803
- },
3804
- maxItems: 1e4
3830
+ }
3805
3831
  },
3806
3832
  refreshedAt: {
3807
3833
  type: "string",
3808
- format: "date-time"
3834
+ format: "date-time",
3835
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
3809
3836
  },
3810
3837
  source: {
3811
3838
  type: "string",
@@ -3855,24 +3882,24 @@ var openapi_default = {
3855
3882
  pattern: "^SWITCHER_PROVIDER_[A-Z0-9_]+$"
3856
3883
  },
3857
3884
  authStyle: {
3885
+ default: "bearer",
3858
3886
  type: "string",
3859
3887
  enum: [
3860
3888
  "bearer",
3861
3889
  "x-api-key",
3862
3890
  "api-key"
3863
- ],
3864
- default: "bearer"
3891
+ ]
3865
3892
  },
3866
3893
  credentialCheck: {
3867
3894
  type: "object",
3868
3895
  properties: {
3869
3896
  method: {
3897
+ default: "GET",
3870
3898
  type: "string",
3871
3899
  enum: [
3872
3900
  "GET",
3873
3901
  "HEAD"
3874
- ],
3875
- default: "GET"
3902
+ ]
3876
3903
  },
3877
3904
  path: {
3878
3905
  type: "string",
@@ -3921,12 +3948,14 @@ var openapi_default = {
3921
3948
  pattern: "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
3922
3949
  },
3923
3950
  modelsPath: {
3951
+ default: "models",
3924
3952
  type: "string",
3925
- pattern: "^[a-zA-Z0-9_/-]+$",
3926
3953
  maxLength: 200,
3927
- default: "models"
3954
+ pattern: "^[a-zA-Z0-9_/-]+$"
3928
3955
  },
3929
3956
  manualModels: {
3957
+ default: [],
3958
+ maxItems: 1e4,
3930
3959
  type: "array",
3931
3960
  items: {
3932
3961
  type: "object",
@@ -3954,39 +3983,42 @@ var openapi_default = {
3954
3983
  },
3955
3984
  contextWindow: {
3956
3985
  type: "integer",
3986
+ minimum: 0,
3957
3987
  exclusiveMinimum: true,
3958
- minimum: 0
3988
+ maximum: 9007199254740991
3959
3989
  },
3960
3990
  maxOutputTokens: {
3961
3991
  type: "integer",
3992
+ minimum: 0,
3962
3993
  exclusiveMinimum: true,
3963
- minimum: 0
3994
+ maximum: 9007199254740991
3964
3995
  },
3965
3996
  inputModalities: {
3997
+ maxItems: 20,
3966
3998
  type: "array",
3967
3999
  items: {
3968
4000
  type: "string",
3969
4001
  maxLength: 50
3970
- },
3971
- maxItems: 20
4002
+ }
3972
4003
  },
3973
4004
  outputModalities: {
4005
+ maxItems: 20,
3974
4006
  type: "array",
3975
4007
  items: {
3976
4008
  type: "string",
3977
4009
  maxLength: 50
3978
- },
3979
- maxItems: 20
4010
+ }
3980
4011
  },
3981
4012
  supportedParameters: {
4013
+ maxItems: 100,
3982
4014
  type: "array",
3983
4015
  items: {
3984
4016
  type: "string",
3985
4017
  maxLength: 100
3986
- },
3987
- maxItems: 100
4018
+ }
3988
4019
  },
3989
4020
  reasoningEfforts: {
4021
+ maxItems: 8,
3990
4022
  type: "array",
3991
4023
  items: {
3992
4024
  type: "string",
@@ -4000,17 +4032,16 @@ var openapi_default = {
4000
4032
  "max",
4001
4033
  "ultra"
4002
4034
  ]
4003
- },
4004
- maxItems: 8
4035
+ }
4005
4036
  },
4006
4037
  supportedGenerationMethods: {
4038
+ maxItems: 100,
4007
4039
  type: "array",
4008
4040
  items: {
4009
4041
  type: "string",
4010
4042
  minLength: 1,
4011
4043
  maxLength: 100
4012
- },
4013
- maxItems: 100
4044
+ }
4014
4045
  }
4015
4046
  },
4016
4047
  required: [
@@ -4018,11 +4049,10 @@ var openapi_default = {
4018
4049
  "name"
4019
4050
  ],
4020
4051
  additionalProperties: false
4021
- },
4022
- maxItems: 1e4,
4023
- default: []
4052
+ }
4024
4053
  },
4025
4054
  additionalModels: {
4055
+ maxItems: 1e4,
4026
4056
  type: "array",
4027
4057
  items: {
4028
4058
  type: "object",
@@ -4050,39 +4080,42 @@ var openapi_default = {
4050
4080
  },
4051
4081
  contextWindow: {
4052
4082
  type: "integer",
4083
+ minimum: 0,
4053
4084
  exclusiveMinimum: true,
4054
- minimum: 0
4085
+ maximum: 9007199254740991
4055
4086
  },
4056
4087
  maxOutputTokens: {
4057
4088
  type: "integer",
4089
+ minimum: 0,
4058
4090
  exclusiveMinimum: true,
4059
- minimum: 0
4091
+ maximum: 9007199254740991
4060
4092
  },
4061
4093
  inputModalities: {
4094
+ maxItems: 20,
4062
4095
  type: "array",
4063
4096
  items: {
4064
4097
  type: "string",
4065
4098
  maxLength: 50
4066
- },
4067
- maxItems: 20
4099
+ }
4068
4100
  },
4069
4101
  outputModalities: {
4102
+ maxItems: 20,
4070
4103
  type: "array",
4071
4104
  items: {
4072
4105
  type: "string",
4073
4106
  maxLength: 50
4074
- },
4075
- maxItems: 20
4107
+ }
4076
4108
  },
4077
4109
  supportedParameters: {
4110
+ maxItems: 100,
4078
4111
  type: "array",
4079
4112
  items: {
4080
4113
  type: "string",
4081
4114
  maxLength: 100
4082
- },
4083
- maxItems: 100
4115
+ }
4084
4116
  },
4085
4117
  reasoningEfforts: {
4118
+ maxItems: 8,
4086
4119
  type: "array",
4087
4120
  items: {
4088
4121
  type: "string",
@@ -4096,17 +4129,16 @@ var openapi_default = {
4096
4129
  "max",
4097
4130
  "ultra"
4098
4131
  ]
4099
- },
4100
- maxItems: 8
4132
+ }
4101
4133
  },
4102
4134
  supportedGenerationMethods: {
4135
+ maxItems: 100,
4103
4136
  type: "array",
4104
4137
  items: {
4105
4138
  type: "string",
4106
4139
  minLength: 1,
4107
4140
  maxLength: 100
4108
- },
4109
- maxItems: 100
4141
+ }
4110
4142
  }
4111
4143
  },
4112
4144
  required: [
@@ -4114,13 +4146,13 @@ var openapi_default = {
4114
4146
  "name"
4115
4147
  ],
4116
4148
  additionalProperties: false
4117
- },
4118
- maxItems: 1e4
4149
+ }
4119
4150
  },
4120
4151
  version: {
4121
4152
  type: "integer",
4153
+ minimum: 0,
4122
4154
  exclusiveMinimum: true,
4123
- minimum: 0
4155
+ maximum: 9007199254740991
4124
4156
  },
4125
4157
  updatedAt: {
4126
4158
  type: "string"
@@ -4131,6 +4163,9 @@ var openapi_default = {
4131
4163
  "name",
4132
4164
  "baseUrl",
4133
4165
  "protocol",
4166
+ "authStyle",
4167
+ "modelsPath",
4168
+ "manualModels",
4134
4169
  "version",
4135
4170
  "updatedAt"
4136
4171
  ],
@@ -4182,11 +4217,11 @@ var openapi_default = {
4182
4217
  type: "object",
4183
4218
  properties: {
4184
4219
  version: {
4220
+ default: 1,
4185
4221
  type: "number",
4186
4222
  enum: [
4187
4223
  1
4188
- ],
4189
- default: 1
4224
+ ]
4190
4225
  },
4191
4226
  selection: {
4192
4227
  type: "string",
@@ -4250,14 +4285,14 @@ var openapi_default = {
4250
4285
  additionalProperties: false
4251
4286
  },
4252
4287
  allowedModels: {
4288
+ maxItems: 500,
4253
4289
  type: "array",
4254
4290
  items: {
4255
4291
  type: "string",
4256
4292
  minLength: 1,
4257
4293
  maxLength: 300,
4258
4294
  pattern: "^[^\\u0000-\\u001f\\u007f]+$"
4259
- },
4260
- maxItems: 500
4295
+ }
4261
4296
  },
4262
4297
  aliases: {
4263
4298
  type: "object",
@@ -4271,14 +4306,14 @@ var openapi_default = {
4271
4306
  fallbacks: {
4272
4307
  type: "object",
4273
4308
  additionalProperties: {
4309
+ maxItems: 20,
4274
4310
  type: "array",
4275
4311
  items: {
4276
4312
  type: "string",
4277
4313
  minLength: 1,
4278
4314
  maxLength: 300,
4279
4315
  pattern: "^[^\\u0000-\\u001f\\u007f]+$"
4280
- },
4281
- maxItems: 20
4316
+ }
4282
4317
  }
4283
4318
  }
4284
4319
  },
@@ -4286,8 +4321,9 @@ var openapi_default = {
4286
4321
  },
4287
4322
  version: {
4288
4323
  type: "integer",
4324
+ minimum: 0,
4289
4325
  exclusiveMinimum: true,
4290
- minimum: 0
4326
+ maximum: 9007199254740991
4291
4327
  },
4292
4328
  updatedAt: {
4293
4329
  type: "string"
@@ -4308,6 +4344,7 @@ var openapi_default = {
4308
4344
  type: "object",
4309
4345
  properties: {
4310
4346
  models: {
4347
+ maxItems: 1e4,
4311
4348
  type: "array",
4312
4349
  items: {
4313
4350
  type: "object",
@@ -4335,39 +4372,42 @@ var openapi_default = {
4335
4372
  },
4336
4373
  contextWindow: {
4337
4374
  type: "integer",
4375
+ minimum: 0,
4338
4376
  exclusiveMinimum: true,
4339
- minimum: 0
4377
+ maximum: 9007199254740991
4340
4378
  },
4341
4379
  maxOutputTokens: {
4342
4380
  type: "integer",
4381
+ minimum: 0,
4343
4382
  exclusiveMinimum: true,
4344
- minimum: 0
4383
+ maximum: 9007199254740991
4345
4384
  },
4346
4385
  inputModalities: {
4386
+ maxItems: 20,
4347
4387
  type: "array",
4348
4388
  items: {
4349
4389
  type: "string",
4350
4390
  maxLength: 50
4351
- },
4352
- maxItems: 20
4391
+ }
4353
4392
  },
4354
4393
  outputModalities: {
4394
+ maxItems: 20,
4355
4395
  type: "array",
4356
4396
  items: {
4357
4397
  type: "string",
4358
4398
  maxLength: 50
4359
- },
4360
- maxItems: 20
4399
+ }
4361
4400
  },
4362
4401
  supportedParameters: {
4402
+ maxItems: 100,
4363
4403
  type: "array",
4364
4404
  items: {
4365
4405
  type: "string",
4366
4406
  maxLength: 100
4367
- },
4368
- maxItems: 100
4407
+ }
4369
4408
  },
4370
4409
  reasoningEfforts: {
4410
+ maxItems: 8,
4371
4411
  type: "array",
4372
4412
  items: {
4373
4413
  type: "string",
@@ -4381,17 +4421,16 @@ var openapi_default = {
4381
4421
  "max",
4382
4422
  "ultra"
4383
4423
  ]
4384
- },
4385
- maxItems: 8
4424
+ }
4386
4425
  },
4387
4426
  supportedGenerationMethods: {
4427
+ maxItems: 100,
4388
4428
  type: "array",
4389
4429
  items: {
4390
4430
  type: "string",
4391
4431
  minLength: 1,
4392
4432
  maxLength: 100
4393
- },
4394
- maxItems: 100
4433
+ }
4395
4434
  }
4396
4435
  },
4397
4436
  required: [
@@ -4399,12 +4438,12 @@ var openapi_default = {
4399
4438
  "name"
4400
4439
  ],
4401
4440
  additionalProperties: false
4402
- },
4403
- maxItems: 1e4
4441
+ }
4404
4442
  },
4405
4443
  refreshedAt: {
4406
4444
  type: "string",
4407
- format: "date-time"
4445
+ format: "date-time",
4446
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
4408
4447
  },
4409
4448
  source: {
4410
4449
  type: "string",
@@ -4483,11 +4522,11 @@ var openapi_default = {
4483
4522
  type: "object",
4484
4523
  properties: {
4485
4524
  version: {
4525
+ default: 1,
4486
4526
  type: "number",
4487
4527
  enum: [
4488
4528
  1
4489
- ],
4490
- default: 1
4529
+ ]
4491
4530
  },
4492
4531
  selection: {
4493
4532
  type: "string",
@@ -4551,14 +4590,14 @@ var openapi_default = {
4551
4590
  additionalProperties: false
4552
4591
  },
4553
4592
  allowedModels: {
4593
+ maxItems: 500,
4554
4594
  type: "array",
4555
4595
  items: {
4556
4596
  type: "string",
4557
4597
  minLength: 1,
4558
4598
  maxLength: 300,
4559
4599
  pattern: "^[^\\u0000-\\u001f\\u007f]+$"
4560
- },
4561
- maxItems: 500
4600
+ }
4562
4601
  },
4563
4602
  aliases: {
4564
4603
  type: "object",
@@ -4572,14 +4611,14 @@ var openapi_default = {
4572
4611
  fallbacks: {
4573
4612
  type: "object",
4574
4613
  additionalProperties: {
4614
+ maxItems: 20,
4575
4615
  type: "array",
4576
4616
  items: {
4577
4617
  type: "string",
4578
4618
  minLength: 1,
4579
4619
  maxLength: 300,
4580
4620
  pattern: "^[^\\u0000-\\u001f\\u007f]+$"
4581
- },
4582
- maxItems: 20
4621
+ }
4583
4622
  }
4584
4623
  }
4585
4624
  },
@@ -4616,13 +4655,15 @@ var openapi_default = {
4616
4655
  maximum: 255
4617
4656
  },
4618
4657
  routingEvents: {
4658
+ maxItems: 1000,
4619
4659
  type: "array",
4620
4660
  items: {
4621
4661
  type: "object",
4622
4662
  properties: {
4623
4663
  at: {
4624
4664
  type: "string",
4625
- format: "date-time"
4665
+ format: "date-time",
4666
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
4626
4667
  },
4627
4668
  requestId: {
4628
4669
  type: "string",
@@ -4699,8 +4740,7 @@ var openapi_default = {
4699
4740
  "decision"
4700
4741
  ],
4701
4742
  additionalProperties: false
4702
- },
4703
- maxItems: 1000
4743
+ }
4704
4744
  },
4705
4745
  routingEventsDropped: {
4706
4746
  type: "integer",
@@ -4757,11 +4797,11 @@ var openapi_default = {
4757
4797
  type: "object",
4758
4798
  properties: {
4759
4799
  version: {
4800
+ default: 1,
4760
4801
  type: "number",
4761
4802
  enum: [
4762
4803
  1
4763
- ],
4764
- default: 1
4804
+ ]
4765
4805
  },
4766
4806
  selection: {
4767
4807
  type: "string",
@@ -4825,14 +4865,14 @@ var openapi_default = {
4825
4865
  additionalProperties: false
4826
4866
  },
4827
4867
  allowedModels: {
4868
+ maxItems: 500,
4828
4869
  type: "array",
4829
4870
  items: {
4830
4871
  type: "string",
4831
4872
  minLength: 1,
4832
4873
  maxLength: 300,
4833
4874
  pattern: "^[^\\u0000-\\u001f\\u007f]+$"
4834
- },
4835
- maxItems: 500
4875
+ }
4836
4876
  },
4837
4877
  aliases: {
4838
4878
  type: "object",
@@ -4846,14 +4886,14 @@ var openapi_default = {
4846
4886
  fallbacks: {
4847
4887
  type: "object",
4848
4888
  additionalProperties: {
4889
+ maxItems: 20,
4849
4890
  type: "array",
4850
4891
  items: {
4851
4892
  type: "string",
4852
4893
  minLength: 1,
4853
4894
  maxLength: 300,
4854
4895
  pattern: "^[^\\u0000-\\u001f\\u007f]+$"
4855
- },
4856
- maxItems: 20
4896
+ }
4857
4897
  }
4858
4898
  }
4859
4899
  },
@@ -4865,8 +4905,9 @@ var openapi_default = {
4865
4905
  },
4866
4906
  version: {
4867
4907
  type: "integer",
4908
+ minimum: 0,
4868
4909
  exclusiveMinimum: true,
4869
- minimum: 0
4910
+ maximum: 9007199254740991
4870
4911
  },
4871
4912
  updatedAt: {
4872
4913
  type: "string"
@@ -4877,13 +4918,15 @@ var openapi_default = {
4877
4918
  },
4878
4919
  providerVersion: {
4879
4920
  type: "integer",
4921
+ minimum: 0,
4880
4922
  exclusiveMinimum: true,
4881
- minimum: 0
4923
+ maximum: 9007199254740991
4882
4924
  },
4883
4925
  profileVersion: {
4884
4926
  type: "integer",
4927
+ minimum: 0,
4885
4928
  exclusiveMinimum: true,
4886
- minimum: 0
4929
+ maximum: 9007199254740991
4887
4930
  },
4888
4931
  id: {
4889
4932
  type: "string",
@@ -4905,16 +4948,20 @@ var openapi_default = {
4905
4948
  type: "string"
4906
4949
  },
4907
4950
  exitCode: {
4908
- type: "integer"
4951
+ type: "integer",
4952
+ minimum: -9007199254740991,
4953
+ maximum: 9007199254740991
4909
4954
  },
4910
4955
  routingEvents: {
4956
+ maxItems: 1000,
4911
4957
  type: "array",
4912
4958
  items: {
4913
4959
  type: "object",
4914
4960
  properties: {
4915
4961
  at: {
4916
4962
  type: "string",
4917
- format: "date-time"
4963
+ format: "date-time",
4964
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
4918
4965
  },
4919
4966
  requestId: {
4920
4967
  type: "string",
@@ -4991,8 +5038,7 @@ var openapi_default = {
4991
5038
  "decision"
4992
5039
  ],
4993
5040
  additionalProperties: false
4994
- },
4995
- maxItems: 1000
5041
+ }
4996
5042
  },
4997
5043
  routingEventsDropped: {
4998
5044
  type: "integer",