@shipeasy/openapi 2.1.0 → 2.2.0

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.
Files changed (41) hide show
  1. package/dist/{chunk-EPLLHLZN.js → chunk-643YSMLU.js} +1 -1
  2. package/dist/{chunk-EPLLHLZN.js.map → chunk-643YSMLU.js.map} +1 -1
  3. package/dist/{chunk-SPH5HWCD.js → chunk-MRW3DJ57.js} +147 -88
  4. package/dist/chunk-MRW3DJ57.js.map +1 -0
  5. package/dist/{client-pVkoo3Bf.d.ts → client-K0ShmsC7.d.ts} +196 -98
  6. package/dist/client.d.ts +1 -1
  7. package/dist/client.js +1 -1
  8. package/dist/custom.d.ts +23 -1
  9. package/dist/custom.js +8 -0
  10. package/dist/custom.js.map +1 -1
  11. package/dist/index.d.ts +2 -2
  12. package/dist/index.js +2 -2
  13. package/dist/schemas.d.ts +85 -32
  14. package/dist/schemas.js +17 -1
  15. package/openapi.json +533 -96
  16. package/openapi.yaml +390 -92
  17. package/package.json +1 -1
  18. package/spec/components/parameters.yaml +8 -0
  19. package/spec/components/responses.yaml +15 -0
  20. package/spec/components/schemas/common.yaml +5 -0
  21. package/spec/components/schemas/connectors.yaml +5 -11
  22. package/spec/components/schemas/gate-templates.yaml +41 -2
  23. package/spec/components/schemas/ops.yaml +4 -2
  24. package/spec/openapi.yaml +21 -2
  25. package/spec/paths/alert-rules.yaml +10 -2
  26. package/spec/paths/attributes.yaml +14 -3
  27. package/spec/paths/configs.yaml +23 -9
  28. package/spec/paths/connectors.yaml +42 -8
  29. package/spec/paths/errors.yaml +4 -4
  30. package/spec/paths/events.yaml +18 -4
  31. package/spec/paths/experiments.yaml +37 -11
  32. package/spec/paths/gate-templates.yaml +9 -5
  33. package/spec/paths/gates.yaml +20 -6
  34. package/spec/paths/i18n.yaml +18 -5
  35. package/spec/paths/keys.yaml +2 -1
  36. package/spec/paths/killswitches.yaml +23 -6
  37. package/spec/paths/metrics.yaml +14 -3
  38. package/spec/paths/ops.yaml +3 -3
  39. package/spec/paths/projects.yaml +1 -1
  40. package/spec/paths/universes.yaml +10 -2
  41. package/dist/chunk-SPH5HWCD.js.map +0 -1
@@ -211,6 +211,7 @@ var zCreateGateResponse = z.object({
211
211
  id: z.string(),
212
212
  name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/)
213
213
  });
214
+ var zResourceId = z.string().min(1).max(128);
214
215
  var zDeleteGateResponse = z.object({
215
216
  ok: z.literal(true)
216
217
  });
@@ -798,7 +799,7 @@ var zUpdateUniverseRequest = z.object({
798
799
  var zUpdateUniverseResponse = z.object({
799
800
  id: z.string()
800
801
  });
801
- var zGateTemplateRule = z.object({
802
+ var zGateTemplateRuleResponse = z.object({
802
803
  attr: z.string(),
803
804
  op: z.enum([
804
805
  "eq",
@@ -818,7 +819,7 @@ var zGateTemplateRule = z.object({
818
819
  "gate_pass",
819
820
  "exp_in"
820
821
  ]),
821
- value: z.unknown()
822
+ value: z.unknown().optional()
822
823
  });
823
824
  var zGateTemplate = z.object({
824
825
  id: z.string(),
@@ -828,7 +829,7 @@ var zGateTemplate = z.object({
828
829
  auto: z.boolean(),
829
830
  builtin: z.boolean(),
830
831
  iconKey: z.string().nullish(),
831
- rules: z.array(zGateTemplateRule),
832
+ rules: z.array(zGateTemplateRuleResponse),
832
833
  createdAt: z.string().nullish(),
833
834
  updatedAt: z.string().nullish()
834
835
  });
@@ -836,6 +837,33 @@ var zListGateTemplatesResponse = z.object({
836
837
  data: z.array(zGateTemplate),
837
838
  next_cursor: z.string().nullable()
838
839
  });
840
+ var zGateTemplateRule = z.object({
841
+ attr: z.string(),
842
+ op: z.enum([
843
+ "eq",
844
+ "neq",
845
+ "in",
846
+ "not_in",
847
+ "gt",
848
+ "gte",
849
+ "lt",
850
+ "lte",
851
+ "contains",
852
+ "regex",
853
+ "semver_gt",
854
+ "semver_gte",
855
+ "semver_lt",
856
+ "semver_lte",
857
+ "gate_pass",
858
+ "exp_in"
859
+ ]),
860
+ value: z.union([
861
+ z.string(),
862
+ z.number(),
863
+ z.boolean(),
864
+ z.array(z.unknown())
865
+ ])
866
+ });
839
867
  var zCreateGateTemplateRequest = z.object({
840
868
  name: z.string().min(1).max(140),
841
869
  description: z.string().max(2e3).optional().default(""),
@@ -1469,7 +1497,7 @@ var zNotifyOpsRequest = z.object({
1469
1497
  title: z.string().min(1).max(200),
1470
1498
  summary: z.string().min(1).max(280),
1471
1499
  steps: z.array(z.string()).optional(),
1472
- href: z.string().optional(),
1500
+ href: z.string().nullish(),
1473
1501
  dedupeKey: z.string().optional()
1474
1502
  });
1475
1503
  var zNotifyOpsResponse = z.object({
@@ -1942,13 +1970,11 @@ var zFireConnectorRequest = z.object({
1942
1970
  text: z.string().optional()
1943
1971
  });
1944
1972
  var zFireConnectorResponse = z.object({
1945
- ok: z.boolean(),
1946
- error: z.string().optional()
1973
+ ok: z.boolean()
1947
1974
  });
1948
1975
  var zTestConnectorResponse = z.object({
1949
1976
  ok: z.boolean(),
1950
- issueUrl: z.string().nullable(),
1951
- error: z.string().optional()
1977
+ issueUrl: z.string().nullable()
1952
1978
  });
1953
1979
  var zUpdateClaudeTriggerRequest = z.object({
1954
1980
  provider: z.enum(["claude_trigger"]),
@@ -2075,12 +2101,14 @@ var zSearchResponse = z.object({
2075
2101
  var zProjectId = z.string();
2076
2102
  var zPaginationLimit = z.coerce.number().int().gte(1).lte(500).default(100);
2077
2103
  var zPaginationCursor = z.string();
2104
+ var zQ = z.string().max(100);
2078
2105
  var zListGatesHeaders = z.object({
2079
2106
  "X-Project-Id": z.string().optional()
2080
2107
  });
2081
2108
  var zListGatesQuery = z.object({
2082
- limit: z.int().gte(1).lte(500).optional().default(100),
2083
- cursor: z.string().optional()
2109
+ limit: z.coerce.number().int().gte(1).lte(500).optional().default(100),
2110
+ cursor: z.string().optional(),
2111
+ q: z.string().max(100).optional()
2084
2112
  });
2085
2113
  var zListGatesResponse2 = zListGatesResponse;
2086
2114
  var zCreateGateBody = zCreateGateRequest;
@@ -2092,7 +2120,7 @@ var zDeleteGateHeaders = z.object({
2092
2120
  "X-Project-Id": z.string().optional()
2093
2121
  });
2094
2122
  var zDeleteGatePath = z.object({
2095
- id: z.string()
2123
+ id: zResourceId
2096
2124
  });
2097
2125
  var zDeleteGateResponse2 = zDeleteGateResponse;
2098
2126
  var zUpdateGateBody = zUpdateGateRequest;
@@ -2100,29 +2128,31 @@ var zUpdateGateHeaders = z.object({
2100
2128
  "X-Project-Id": z.string().optional()
2101
2129
  });
2102
2130
  var zUpdateGatePath = z.object({
2103
- id: z.string()
2131
+ id: zResourceId
2104
2132
  });
2105
2133
  var zUpdateGateResponse2 = zUpdateGateResponse;
2106
2134
  var zEnableGateHeaders = z.object({
2107
2135
  "X-Project-Id": z.string().optional()
2108
2136
  });
2109
2137
  var zEnableGatePath = z.object({
2110
- id: z.string()
2138
+ id: zResourceId
2111
2139
  });
2112
2140
  var zEnableGateResponse2 = zEnableGateResponse;
2113
2141
  var zDisableGateHeaders = z.object({
2114
2142
  "X-Project-Id": z.string().optional()
2115
2143
  });
2116
2144
  var zDisableGatePath = z.object({
2117
- id: z.string()
2145
+ id: zResourceId
2118
2146
  });
2119
2147
  var zDisableGateResponse2 = zDisableGateResponse;
2120
2148
  var zListExperimentsHeaders = z.object({
2121
2149
  "X-Project-Id": z.string().optional()
2122
2150
  });
2123
2151
  var zListExperimentsQuery = z.object({
2124
- limit: z.int().gte(1).lte(500).optional().default(100),
2125
- cursor: z.string().optional()
2152
+ limit: z.coerce.number().int().gte(1).lte(500).optional().default(100),
2153
+ cursor: z.string().optional(),
2154
+ status: z.string().optional(),
2155
+ q: z.string().max(100).optional()
2126
2156
  });
2127
2157
  var zListExperimentsResponse2 = zListExperimentsResponse;
2128
2158
  var zCreateExperimentBody = zCreateExperimentRequest;
@@ -2134,14 +2164,14 @@ var zDeleteExperimentHeaders = z.object({
2134
2164
  "X-Project-Id": z.string().optional()
2135
2165
  });
2136
2166
  var zDeleteExperimentPath = z.object({
2137
- id: z.string()
2167
+ id: zResourceId
2138
2168
  });
2139
2169
  var zDeleteExperimentResponse2 = zDeleteExperimentResponse;
2140
2170
  var zGetExperimentHeaders = z.object({
2141
2171
  "X-Project-Id": z.string().optional()
2142
2172
  });
2143
2173
  var zGetExperimentPath = z.object({
2144
- id: z.string()
2174
+ id: zResourceId
2145
2175
  });
2146
2176
  var zGetExperimentResponse2 = zGetExperimentResponse;
2147
2177
  var zUpdateExperimentBody = zUpdateExperimentRequest;
@@ -2149,7 +2179,7 @@ var zUpdateExperimentHeaders = z.object({
2149
2179
  "X-Project-Id": z.string().optional()
2150
2180
  });
2151
2181
  var zUpdateExperimentPath = z.object({
2152
- id: z.string()
2182
+ id: zResourceId
2153
2183
  });
2154
2184
  var zUpdateExperimentResponse2 = zUpdateExperimentResponse;
2155
2185
  var zSetExperimentStatusBody = zSetExperimentStatusRequest;
@@ -2157,7 +2187,7 @@ var zSetExperimentStatusHeaders = z.object({
2157
2187
  "X-Project-Id": z.string().optional()
2158
2188
  });
2159
2189
  var zSetExperimentStatusPath = z.object({
2160
- id: z.string()
2190
+ id: zResourceId
2161
2191
  });
2162
2192
  var zSetExperimentStatusResponse2 = zSetExperimentStatusResponse;
2163
2193
  var zSetExperimentMetricsBody = zSetExperimentMetricsRequest;
@@ -2165,21 +2195,21 @@ var zSetExperimentMetricsHeaders = z.object({
2165
2195
  "X-Project-Id": z.string().optional()
2166
2196
  });
2167
2197
  var zSetExperimentMetricsPath = z.object({
2168
- id: z.string()
2198
+ id: zResourceId
2169
2199
  });
2170
2200
  var zSetExperimentMetricsResponse2 = zSetExperimentMetricsResponse;
2171
2201
  var zGetExperimentResultsHeaders = z.object({
2172
2202
  "X-Project-Id": z.string().optional()
2173
2203
  });
2174
2204
  var zGetExperimentResultsPath = z.object({
2175
- id: z.string()
2205
+ id: zResourceId
2176
2206
  });
2177
2207
  var zGetExperimentResultsResponse2 = zGetExperimentResultsResponse;
2178
2208
  var zGetExperimentTimeseriesHeaders = z.object({
2179
2209
  "X-Project-Id": z.string().optional()
2180
2210
  });
2181
2211
  var zGetExperimentTimeseriesPath = z.object({
2182
- id: z.string()
2212
+ id: zResourceId
2183
2213
  });
2184
2214
  var zGetExperimentTimeseriesQuery = z.object({
2185
2215
  metric: z.string().optional()
@@ -2189,15 +2219,16 @@ var zReanalyzeExperimentHeaders = z.object({
2189
2219
  "X-Project-Id": z.string().optional()
2190
2220
  });
2191
2221
  var zReanalyzeExperimentPath = z.object({
2192
- id: z.string()
2222
+ id: zResourceId
2193
2223
  });
2194
2224
  var zReanalyzeExperimentResponse2 = zReanalyzeExperimentResponse;
2195
2225
  var zListConfigsHeaders = z.object({
2196
2226
  "X-Project-Id": z.string().optional()
2197
2227
  });
2198
2228
  var zListConfigsQuery = z.object({
2199
- limit: z.int().gte(1).lte(500).optional().default(100),
2200
- cursor: z.string().optional()
2229
+ limit: z.coerce.number().int().gte(1).lte(500).optional().default(100),
2230
+ cursor: z.string().optional(),
2231
+ q: z.string().max(100).optional()
2201
2232
  });
2202
2233
  var zListConfigsResponse2 = zListConfigsResponse;
2203
2234
  var zCreateConfigBody = zCreateConfigRequest;
@@ -2209,14 +2240,14 @@ var zDeleteConfigHeaders = z.object({
2209
2240
  "X-Project-Id": z.string().optional()
2210
2241
  });
2211
2242
  var zDeleteConfigPath = z.object({
2212
- id: z.string()
2243
+ id: zResourceId
2213
2244
  });
2214
2245
  var zDeleteConfigResponse2 = zDeleteConfigResponse;
2215
2246
  var zGetConfigHeaders = z.object({
2216
2247
  "X-Project-Id": z.string().optional()
2217
2248
  });
2218
2249
  var zGetConfigPath = z.object({
2219
- id: z.string()
2250
+ id: zResourceId
2220
2251
  });
2221
2252
  var zGetConfigResponse2 = zGetConfigResponse;
2222
2253
  var zUpdateConfigBody = zUpdateConfigRequest;
@@ -2224,7 +2255,7 @@ var zUpdateConfigHeaders = z.object({
2224
2255
  "X-Project-Id": z.string().optional()
2225
2256
  });
2226
2257
  var zUpdateConfigPath = z.object({
2227
- id: z.string()
2258
+ id: zResourceId
2228
2259
  });
2229
2260
  var zUpdateConfigResponse2 = zUpdateConfigResponse;
2230
2261
  var zDiscardConfigDraftBody = zDiscardConfigDraftRequest;
@@ -2232,7 +2263,7 @@ var zDiscardConfigDraftHeaders = z.object({
2232
2263
  "X-Project-Id": z.string().optional()
2233
2264
  });
2234
2265
  var zDiscardConfigDraftPath = z.object({
2235
- id: z.string()
2266
+ id: zResourceId
2236
2267
  });
2237
2268
  var zDiscardConfigDraftResponse2 = zDiscardConfigDraftResponse;
2238
2269
  var zSaveConfigDraftBody = zSaveConfigDraftRequest;
@@ -2240,7 +2271,7 @@ var zSaveConfigDraftHeaders = z.object({
2240
2271
  "X-Project-Id": z.string().optional()
2241
2272
  });
2242
2273
  var zSaveConfigDraftPath = z.object({
2243
- id: z.string()
2274
+ id: zResourceId
2244
2275
  });
2245
2276
  var zSaveConfigDraftResponse2 = zSaveConfigDraftResponse;
2246
2277
  var zPublishConfigDraftBody = zPublishConfigDraftRequest;
@@ -2248,17 +2279,17 @@ var zPublishConfigDraftHeaders = z.object({
2248
2279
  "X-Project-Id": z.string().optional()
2249
2280
  });
2250
2281
  var zPublishConfigDraftPath = z.object({
2251
- id: z.string()
2282
+ id: zResourceId
2252
2283
  });
2253
2284
  var zPublishConfigDraftResponse2 = zPublishConfigDraftResponse;
2254
2285
  var zListConfigActivityHeaders = z.object({
2255
2286
  "X-Project-Id": z.string().optional()
2256
2287
  });
2257
2288
  var zListConfigActivityPath = z.object({
2258
- id: z.string()
2289
+ id: zResourceId
2259
2290
  });
2260
2291
  var zListConfigActivityQuery = z.object({
2261
- limit: z.int().gte(1).lte(100).optional().default(20)
2292
+ limit: z.coerce.number().int().gte(1).lte(100).optional().default(20)
2262
2293
  });
2263
2294
  var zListConfigActivityResponse2 = zListConfigActivityResponse;
2264
2295
  var zUpdateConfigSchemaBody = zUpdateConfigSchemaRequest;
@@ -2266,15 +2297,16 @@ var zUpdateConfigSchemaHeaders = z.object({
2266
2297
  "X-Project-Id": z.string().optional()
2267
2298
  });
2268
2299
  var zUpdateConfigSchemaPath = z.object({
2269
- id: z.string()
2300
+ id: zResourceId
2270
2301
  });
2271
2302
  var zUpdateConfigSchemaResponse2 = zUpdateConfigSchemaResponse;
2272
2303
  var zListKillswitchesHeaders = z.object({
2273
2304
  "X-Project-Id": z.string().optional()
2274
2305
  });
2275
2306
  var zListKillswitchesQuery = z.object({
2276
- limit: z.int().gte(1).lte(500).optional().default(100),
2277
- cursor: z.string().optional()
2307
+ limit: z.coerce.number().int().gte(1).lte(500).optional().default(100),
2308
+ cursor: z.string().optional(),
2309
+ q: z.string().max(100).optional()
2278
2310
  });
2279
2311
  var zListKillswitchesResponse2 = zListKillswitchesResponse;
2280
2312
  var zCreateKillswitchBody = zCreateKillswitchRequest;
@@ -2286,14 +2318,14 @@ var zDeleteKillswitchHeaders = z.object({
2286
2318
  "X-Project-Id": z.string().optional()
2287
2319
  });
2288
2320
  var zDeleteKillswitchPath = z.object({
2289
- id: z.string()
2321
+ id: zResourceId
2290
2322
  });
2291
2323
  var zDeleteKillswitchResponse2 = zDeleteKillswitchResponse;
2292
2324
  var zGetKillswitchHeaders = z.object({
2293
2325
  "X-Project-Id": z.string().optional()
2294
2326
  });
2295
2327
  var zGetKillswitchPath = z.object({
2296
- id: z.string()
2328
+ id: zResourceId
2297
2329
  });
2298
2330
  var zGetKillswitchResponse2 = zGetKillswitchResponse;
2299
2331
  var zUpdateKillswitchBody = zUpdateKillswitchRequest;
@@ -2301,7 +2333,7 @@ var zUpdateKillswitchHeaders = z.object({
2301
2333
  "X-Project-Id": z.string().optional()
2302
2334
  });
2303
2335
  var zUpdateKillswitchPath = z.object({
2304
- id: z.string()
2336
+ id: zResourceId
2305
2337
  });
2306
2338
  var zUpdateKillswitchResponse2 = zUpdateKillswitchResponse;
2307
2339
  var zUnsetKillswitchSwitchBody = zUnsetKillswitchSwitchRequest;
@@ -2309,7 +2341,7 @@ var zUnsetKillswitchSwitchHeaders = z.object({
2309
2341
  "X-Project-Id": z.string().optional()
2310
2342
  });
2311
2343
  var zUnsetKillswitchSwitchPath = z.object({
2312
- id: z.string()
2344
+ id: zResourceId
2313
2345
  });
2314
2346
  var zUnsetKillswitchSwitchResponse2 = zUnsetKillswitchSwitchResponse;
2315
2347
  var zSetKillswitchSwitchBody = zSetKillswitchSwitchRequest;
@@ -2317,7 +2349,7 @@ var zSetKillswitchSwitchHeaders = z.object({
2317
2349
  "X-Project-Id": z.string().optional()
2318
2350
  });
2319
2351
  var zSetKillswitchSwitchPath = z.object({
2320
- id: z.string()
2352
+ id: zResourceId
2321
2353
  });
2322
2354
  var zSetKillswitchSwitchResponse2 = zSetKillswitchSwitchResponse;
2323
2355
  var zSetKillswitchValueBody = zSetKillswitchValueRequest;
@@ -2325,15 +2357,16 @@ var zSetKillswitchValueHeaders = z.object({
2325
2357
  "X-Project-Id": z.string().optional()
2326
2358
  });
2327
2359
  var zSetKillswitchValuePath = z.object({
2328
- id: z.string()
2360
+ id: zResourceId
2329
2361
  });
2330
2362
  var zSetKillswitchValueResponse2 = zSetKillswitchValueResponse;
2331
2363
  var zListUniversesHeaders = z.object({
2332
2364
  "X-Project-Id": z.string().optional()
2333
2365
  });
2334
2366
  var zListUniversesQuery = z.object({
2335
- limit: z.int().gte(1).lte(500).optional().default(100),
2336
- cursor: z.string().optional()
2367
+ limit: z.coerce.number().int().gte(1).lte(500).optional().default(100),
2368
+ cursor: z.string().optional(),
2369
+ q: z.string().max(100).optional()
2337
2370
  });
2338
2371
  var zListUniversesResponse2 = zListUniversesResponse;
2339
2372
  var zCreateUniverseBody = zCreateUniverseRequest;
@@ -2345,7 +2378,7 @@ var zDeleteUniverseHeaders = z.object({
2345
2378
  "X-Project-Id": z.string().optional()
2346
2379
  });
2347
2380
  var zDeleteUniversePath = z.object({
2348
- id: z.string()
2381
+ id: zResourceId
2349
2382
  });
2350
2383
  var zDeleteUniverseResponse2 = zDeleteUniverseResponse;
2351
2384
  var zUpdateUniverseBody = zUpdateUniverseRequest;
@@ -2353,13 +2386,14 @@ var zUpdateUniverseHeaders = z.object({
2353
2386
  "X-Project-Id": z.string().optional()
2354
2387
  });
2355
2388
  var zUpdateUniversePath = z.object({
2356
- id: z.string()
2389
+ id: zResourceId
2357
2390
  });
2358
2391
  var zUpdateUniverseResponse2 = zUpdateUniverseResponse;
2359
2392
  var zListGateTemplatesHeaders = z.object({
2360
2393
  "X-Project-Id": z.string().optional()
2361
2394
  });
2362
2395
  var zListGateTemplatesQuery = z.object({
2396
+ q: z.string().max(100).optional(),
2363
2397
  query: z.string().optional()
2364
2398
  });
2365
2399
  var zListGateTemplatesResponse2 = zListGateTemplatesResponse;
@@ -2372,14 +2406,14 @@ var zDeleteGateTemplateHeaders = z.object({
2372
2406
  "X-Project-Id": z.string().optional()
2373
2407
  });
2374
2408
  var zDeleteGateTemplatePath = z.object({
2375
- id: z.string()
2409
+ id: zResourceId
2376
2410
  });
2377
2411
  var zDeleteGateTemplateResponse2 = zDeleteGateTemplateResponse;
2378
2412
  var zGetGateTemplateHeaders = z.object({
2379
2413
  "X-Project-Id": z.string().optional()
2380
2414
  });
2381
2415
  var zGetGateTemplatePath = z.object({
2382
- id: z.string()
2416
+ id: zResourceId
2383
2417
  });
2384
2418
  var zGetGateTemplateResponse = zGateTemplate;
2385
2419
  var zUpdateGateTemplateBody = zUpdateGateTemplateRequest;
@@ -2387,12 +2421,15 @@ var zUpdateGateTemplateHeaders = z.object({
2387
2421
  "X-Project-Id": z.string().optional()
2388
2422
  });
2389
2423
  var zUpdateGateTemplatePath = z.object({
2390
- id: z.string()
2424
+ id: zResourceId
2391
2425
  });
2392
2426
  var zUpdateGateTemplateResponse2 = zUpdateGateTemplateResponse;
2393
2427
  var zListAttributesHeaders = z.object({
2394
2428
  "X-Project-Id": z.string().optional()
2395
2429
  });
2430
+ var zListAttributesQuery = z.object({
2431
+ q: z.string().max(100).optional()
2432
+ });
2396
2433
  var zListAttributesResponse2 = zListAttributesResponse;
2397
2434
  var zCreateAttributeBody = zCreateAttributeRequest;
2398
2435
  var zCreateAttributeHeaders = z.object({
@@ -2403,14 +2440,14 @@ var zDeleteAttributeHeaders = z.object({
2403
2440
  "X-Project-Id": z.string().optional()
2404
2441
  });
2405
2442
  var zDeleteAttributePath = z.object({
2406
- id: z.string()
2443
+ id: zResourceId
2407
2444
  });
2408
2445
  var zDeleteAttributeResponse2 = zDeleteAttributeResponse;
2409
2446
  var zGetAttributeHeaders = z.object({
2410
2447
  "X-Project-Id": z.string().optional()
2411
2448
  });
2412
2449
  var zGetAttributePath = z.object({
2413
- id: z.string()
2450
+ id: zResourceId
2414
2451
  });
2415
2452
  var zGetAttributeResponse2 = zGetAttributeResponse;
2416
2453
  var zUpdateAttributeBody = zUpdateAttributeRequest;
@@ -2418,12 +2455,15 @@ var zUpdateAttributeHeaders = z.object({
2418
2455
  "X-Project-Id": z.string().optional()
2419
2456
  });
2420
2457
  var zUpdateAttributePath = z.object({
2421
- id: z.string()
2458
+ id: zResourceId
2422
2459
  });
2423
2460
  var zUpdateAttributeResponse2 = zUpdateAttributeResponse;
2424
2461
  var zListMetricsHeaders = z.object({
2425
2462
  "X-Project-Id": z.string().optional()
2426
2463
  });
2464
+ var zListMetricsQuery = z.object({
2465
+ q: z.string().max(100).optional()
2466
+ });
2427
2467
  var zListMetricsResponse2 = zListMetricsResponse;
2428
2468
  var zCreateMetricBody = zCreateMetricRequest;
2429
2469
  var zCreateMetricHeaders = z.object({
@@ -2434,14 +2474,14 @@ var zDeleteMetricHeaders = z.object({
2434
2474
  "X-Project-Id": z.string().optional()
2435
2475
  });
2436
2476
  var zDeleteMetricPath = z.object({
2437
- id: z.string()
2477
+ id: zResourceId
2438
2478
  });
2439
2479
  var zDeleteMetricResponse2 = zDeleteMetricResponse;
2440
2480
  var zGetMetricHeaders = z.object({
2441
2481
  "X-Project-Id": z.string().optional()
2442
2482
  });
2443
2483
  var zGetMetricPath = z.object({
2444
- id: z.string()
2484
+ id: zResourceId
2445
2485
  });
2446
2486
  var zGetMetricResponse2 = zGetMetricResponse;
2447
2487
  var zUpdateMetricBody = zUpdateMetricRequest;
@@ -2449,12 +2489,15 @@ var zUpdateMetricHeaders = z.object({
2449
2489
  "X-Project-Id": z.string().optional()
2450
2490
  });
2451
2491
  var zUpdateMetricPath = z.object({
2452
- id: z.string()
2492
+ id: zResourceId
2453
2493
  });
2454
2494
  var zUpdateMetricResponse = zGetMetricResponse;
2455
2495
  var zListEventsHeaders = z.object({
2456
2496
  "X-Project-Id": z.string().optional()
2457
2497
  });
2498
+ var zListEventsQuery = z.object({
2499
+ q: z.string().max(100).optional()
2500
+ });
2458
2501
  var zListEventsResponse2 = zListEventsResponse;
2459
2502
  var zCreateEventBody = zCreateEventRequest;
2460
2503
  var zCreateEventHeaders = z.object({
@@ -2465,14 +2508,14 @@ var zDeleteEventHeaders = z.object({
2465
2508
  "X-Project-Id": z.string().optional()
2466
2509
  });
2467
2510
  var zDeleteEventPath = z.object({
2468
- id: z.string()
2511
+ id: zResourceId
2469
2512
  });
2470
2513
  var zDeleteEventResponse2 = zDeleteEventResponse;
2471
2514
  var zGetEventHeaders = z.object({
2472
2515
  "X-Project-Id": z.string().optional()
2473
2516
  });
2474
2517
  var zGetEventPath = z.object({
2475
- id: z.string()
2518
+ id: zResourceId
2476
2519
  });
2477
2520
  var zGetEventResponse2 = zGetEventResponse;
2478
2521
  var zUpdateEventBody = zUpdateEventRequest;
@@ -2480,7 +2523,7 @@ var zUpdateEventHeaders = z.object({
2480
2523
  "X-Project-Id": z.string().optional()
2481
2524
  });
2482
2525
  var zUpdateEventPath = z.object({
2483
- id: z.string()
2526
+ id: zResourceId
2484
2527
  });
2485
2528
  var zUpdateEventResponse2 = zUpdateEventResponse;
2486
2529
  var zApproveEventBody = zApproveEventRequest;
@@ -2488,7 +2531,7 @@ var zApproveEventHeaders = z.object({
2488
2531
  "X-Project-Id": z.string().optional()
2489
2532
  });
2490
2533
  var zApproveEventPath = z.object({
2491
- id: z.string()
2534
+ id: zResourceId
2492
2535
  });
2493
2536
  var zApproveEventResponse2 = zApproveEventResponse;
2494
2537
  var zListOpsItemsHeaders = z.object({
@@ -2508,7 +2551,7 @@ var zListOpsItemsQuery = z.object({
2508
2551
  zOpsItemStatus,
2509
2552
  z.literal("all")
2510
2553
  ]).optional(),
2511
- limit: z.int().gte(1).lte(500).optional()
2554
+ limit: z.coerce.number().int().gte(1).lte(500).optional()
2512
2555
  });
2513
2556
  var zListOpsItemsResponse2 = zListOpsItemsResponse;
2514
2557
  var zCreateOpsItemBody = zCreateOpsItemRequest;
@@ -2520,7 +2563,7 @@ var zGetOpsItemHeaders = z.object({
2520
2563
  "X-Project-Id": z.string().optional()
2521
2564
  });
2522
2565
  var zGetOpsItemPath = z.object({
2523
- handle: z.string()
2566
+ handle: zResourceId
2524
2567
  });
2525
2568
  var zGetOpsItemResponse2 = zGetOpsItemResponse;
2526
2569
  var zUpdateOpsItemBody = zUpdateOpsItemRequest;
@@ -2528,7 +2571,7 @@ var zUpdateOpsItemHeaders = z.object({
2528
2571
  "X-Project-Id": z.string().optional()
2529
2572
  });
2530
2573
  var zUpdateOpsItemPath = z.object({
2531
- handle: z.string()
2574
+ handle: zResourceId
2532
2575
  });
2533
2576
  var zUpdateOpsItemResponse2 = zUpdateOpsItemResponse;
2534
2577
  var zLinkPrToOpsItemBody = zLinkPrToOpsItemRequest;
@@ -2536,7 +2579,7 @@ var zLinkPrToOpsItemHeaders = z.object({
2536
2579
  "X-Project-Id": z.string().optional()
2537
2580
  });
2538
2581
  var zLinkPrToOpsItemPath = z.object({
2539
- handle: z.string()
2582
+ handle: zResourceId
2540
2583
  });
2541
2584
  var zLinkPrToOpsItemResponse2 = zLinkPrToOpsItemResponse;
2542
2585
  var zNotifyOpsBody = zNotifyOpsRequest;
@@ -2551,6 +2594,9 @@ var zListSlackChannelsResponse2 = zListSlackChannelsResponse;
2551
2594
  var zListAlertRulesHeaders = z.object({
2552
2595
  "X-Project-Id": z.string().optional()
2553
2596
  });
2597
+ var zListAlertRulesQuery = z.object({
2598
+ q: z.string().max(100).optional()
2599
+ });
2554
2600
  var zListAlertRulesResponse2 = zListAlertRulesResponse;
2555
2601
  var zCreateAlertRuleBody = zCreateAlertRuleRequest;
2556
2602
  var zCreateAlertRuleHeaders = z.object({
@@ -2561,7 +2607,7 @@ var zDeleteAlertRuleHeaders = z.object({
2561
2607
  "X-Project-Id": z.string().optional()
2562
2608
  });
2563
2609
  var zDeleteAlertRulePath = z.object({
2564
- id: z.string()
2610
+ id: zResourceId
2565
2611
  });
2566
2612
  var zDeleteAlertRuleResponse2 = zDeleteAlertRuleResponse;
2567
2613
  var zUpdateAlertRuleBody = zUpdateAlertRuleRequest;
@@ -2569,7 +2615,7 @@ var zUpdateAlertRuleHeaders = z.object({
2569
2615
  "X-Project-Id": z.string().optional()
2570
2616
  });
2571
2617
  var zUpdateAlertRulePath = z.object({
2572
- id: z.string()
2618
+ id: zResourceId
2573
2619
  });
2574
2620
  var zUpdateAlertRuleResponse2 = zUpdateAlertRuleResponse;
2575
2621
  var zGetCurrentProjectHeaders = z.object({
@@ -2586,7 +2632,7 @@ var zUpdateProjectHeaders = z.object({
2586
2632
  "X-Project-Id": z.string().optional()
2587
2633
  });
2588
2634
  var zUpdateProjectPath = z.object({
2589
- id: z.string()
2635
+ id: zResourceId
2590
2636
  });
2591
2637
  var zUpdateProjectResponse = zGetCurrentProjectResponse;
2592
2638
  var zListI18nProfilesHeaders = z.object({
@@ -2604,8 +2650,9 @@ var zListI18nKeysHeaders = z.object({
2604
2650
  var zListI18nKeysQuery = z.object({
2605
2651
  profile_id: z.string().optional(),
2606
2652
  prefix: z.string().optional(),
2607
- q: z.string().optional(),
2608
- limit: z.int().gte(1).lte(500).optional()
2653
+ q: z.string().max(100).optional(),
2654
+ limit: z.coerce.number().int().gte(1).lte(500).optional(),
2655
+ offset: z.coerce.number().int().gte(0).optional().default(0)
2609
2656
  });
2610
2657
  var zListI18nKeysResponse2 = zListI18nKeysResponse;
2611
2658
  var zPushI18nKeysBody = zPushI18nKeysRequest;
@@ -2618,7 +2665,7 @@ var zUpdateI18nKeyHeaders = z.object({
2618
2665
  "X-Project-Id": z.string().optional()
2619
2666
  });
2620
2667
  var zUpdateI18nKeyPath = z.object({
2621
- id: z.string()
2668
+ id: zResourceId
2622
2669
  });
2623
2670
  var zUpdateI18nKeyResponse2 = zUpdateI18nKeyResponse;
2624
2671
  var zListI18nDraftsHeaders = z.object({
@@ -2635,7 +2682,7 @@ var zUpdateI18nDraftHeaders = z.object({
2635
2682
  "X-Project-Id": z.string().optional()
2636
2683
  });
2637
2684
  var zUpdateI18nDraftPath = z.object({
2638
- draftId: z.string()
2685
+ draftId: zResourceId
2639
2686
  });
2640
2687
  var zUpdateI18nDraftResponse = zI18nDraft;
2641
2688
  var zPublishI18nProfileBody = zPublishI18nProfileRequest;
@@ -2643,7 +2690,7 @@ var zPublishI18nProfileHeaders = z.object({
2643
2690
  "X-Project-Id": z.string().optional()
2644
2691
  });
2645
2692
  var zPublishI18nProfilePath = z.object({
2646
- profileId: z.string()
2693
+ profileId: zResourceId
2647
2694
  });
2648
2695
  var zPublishI18nProfileResponse2 = zPublishI18nProfileResponse;
2649
2696
  var zSetI18nLabelBody = zSetI18nLabelRequest;
@@ -2662,14 +2709,14 @@ var zListErrorsQuery = z.object({
2662
2709
  "all"
2663
2710
  ]).optional().default("all"),
2664
2711
  q: z.string().max(200).optional(),
2665
- limit: z.int().gte(1).lte(500).optional().default(200)
2712
+ limit: z.coerce.number().int().gte(1).lte(500).optional().default(200)
2666
2713
  });
2667
2714
  var zListErrorsResponse2 = zListErrorsResponse;
2668
2715
  var zGetErrorHeaders = z.object({
2669
2716
  "X-Project-Id": z.string().optional()
2670
2717
  });
2671
2718
  var zGetErrorPath = z.object({
2672
- id: z.string()
2719
+ id: zResourceId
2673
2720
  });
2674
2721
  var zGetErrorResponse = zErrorRecord;
2675
2722
  var zUpdateErrorStatusBody = zUpdateErrorStatusRequest;
@@ -2677,14 +2724,14 @@ var zUpdateErrorStatusHeaders = z.object({
2677
2724
  "X-Project-Id": z.string().optional()
2678
2725
  });
2679
2726
  var zUpdateErrorStatusPath = z.object({
2680
- id: z.string()
2727
+ id: zResourceId
2681
2728
  });
2682
2729
  var zUpdateErrorStatusResponse = zErrorRecord;
2683
2730
  var zFileErrorTicketHeaders = z.object({
2684
2731
  "X-Project-Id": z.string().optional()
2685
2732
  });
2686
2733
  var zFileErrorTicketPath = z.object({
2687
- id: z.string()
2734
+ id: zResourceId
2688
2735
  });
2689
2736
  var zFileErrorTicketResponse2 = zFileErrorTicketResponse;
2690
2737
  var zGetErrorSeriesBody = zErrorSeriesRequest;
@@ -2692,12 +2739,15 @@ var zGetErrorSeriesHeaders = z.object({
2692
2739
  "X-Project-Id": z.string().optional()
2693
2740
  });
2694
2741
  var zGetErrorSeriesPath = z.object({
2695
- id: z.string()
2742
+ id: zResourceId
2696
2743
  });
2697
2744
  var zGetErrorSeriesResponse = zErrorSeriesResponse;
2698
2745
  var zListConnectorsHeaders = z.object({
2699
2746
  "X-Project-Id": z.string().optional()
2700
2747
  });
2748
+ var zListConnectorsQuery = z.object({
2749
+ q: z.string().max(100).optional()
2750
+ });
2701
2751
  var zListConnectorsResponse2 = zListConnectorsResponse;
2702
2752
  var zCreateConnectorBody = zCreateConnectorRequest;
2703
2753
  var zCreateConnectorHeaders = z.object({
@@ -2708,14 +2758,14 @@ var zDeleteConnectorHeaders = z.object({
2708
2758
  "X-Project-Id": z.string().optional()
2709
2759
  });
2710
2760
  var zDeleteConnectorPath = z.object({
2711
- id: z.string()
2761
+ id: zResourceId
2712
2762
  });
2713
2763
  var zDeleteConnectorResponse2 = zDeleteConnectorResponse;
2714
2764
  var zGetConnectorHeaders = z.object({
2715
2765
  "X-Project-Id": z.string().optional()
2716
2766
  });
2717
2767
  var zGetConnectorPath = z.object({
2718
- id: z.string()
2768
+ id: zResourceId
2719
2769
  });
2720
2770
  var zGetConnectorResponse = zConnectorRecord;
2721
2771
  var zUpdateConnectorBody = zUpdateConnectorRequest;
@@ -2723,7 +2773,7 @@ var zUpdateConnectorHeaders = z.object({
2723
2773
  "X-Project-Id": z.string().optional()
2724
2774
  });
2725
2775
  var zUpdateConnectorPath = z.object({
2726
- id: z.string()
2776
+ id: zResourceId
2727
2777
  });
2728
2778
  var zUpdateConnectorResponse2 = zUpdateConnectorResponse;
2729
2779
  var zFireConnectorBody = zFireConnectorRequest;
@@ -2731,14 +2781,14 @@ var zFireConnectorHeaders = z.object({
2731
2781
  "X-Project-Id": z.string().optional()
2732
2782
  });
2733
2783
  var zFireConnectorPath = z.object({
2734
- id: z.string()
2784
+ id: zResourceId
2735
2785
  });
2736
2786
  var zFireConnectorResponse2 = zFireConnectorResponse;
2737
2787
  var zTestConnectorHeaders = z.object({
2738
2788
  "X-Project-Id": z.string().optional()
2739
2789
  });
2740
2790
  var zTestConnectorPath = z.object({
2741
- id: z.string()
2791
+ id: zResourceId
2742
2792
  });
2743
2793
  var zTestConnectorResponse2 = zTestConnectorResponse;
2744
2794
  var zUpdateTriggerConnectorBody = zUpdateTriggerConnectorRequest;
@@ -2746,7 +2796,7 @@ var zUpdateTriggerConnectorHeaders = z.object({
2746
2796
  "X-Project-Id": z.string().optional()
2747
2797
  });
2748
2798
  var zUpdateTriggerConnectorPath = z.object({
2749
- id: z.string()
2799
+ id: zResourceId
2750
2800
  });
2751
2801
  var zUpdateTriggerConnectorResponse = zUpdateConnectorResponse;
2752
2802
  var zCreateTriggerConnectorBody = zCreateTriggerConnectorRequest;
@@ -2758,8 +2808,9 @@ var zListKeysHeaders = z.object({
2758
2808
  "X-Project-Id": z.string().optional()
2759
2809
  });
2760
2810
  var zListKeysQuery = z.object({
2761
- limit: z.int().gte(1).lte(500).optional().default(100),
2762
- cursor: z.string().optional()
2811
+ limit: z.coerce.number().int().gte(1).lte(500).optional().default(100),
2812
+ cursor: z.string().optional(),
2813
+ q: z.string().max(100).optional()
2763
2814
  });
2764
2815
  var zListKeysResponse2 = zListKeysResponse;
2765
2816
  var zCreateKeyBody = zCreateKeyRequest;
@@ -2771,7 +2822,7 @@ var zRevokeKeyHeaders = z.object({
2771
2822
  "X-Project-Id": z.string().optional()
2772
2823
  });
2773
2824
  var zRevokeKeyPath = z.object({
2774
- id: z.string()
2825
+ id: zResourceId
2775
2826
  });
2776
2827
  var zRevokeKeyResponse2 = zRevokeKeyResponse;
2777
2828
  var zSearchResourcesHeaders = z.object({
@@ -2789,6 +2840,7 @@ export {
2789
2840
  zFolder,
2790
2841
  zCreateGateRequest,
2791
2842
  zCreateGateResponse,
2843
+ zResourceId,
2792
2844
  zDeleteGateResponse,
2793
2845
  zUpdateGateRequest,
2794
2846
  zUpdateGateResponse,
@@ -2848,9 +2900,10 @@ export {
2848
2900
  zDeleteUniverseResponse,
2849
2901
  zUpdateUniverseRequest,
2850
2902
  zUpdateUniverseResponse,
2851
- zGateTemplateRule,
2903
+ zGateTemplateRuleResponse,
2852
2904
  zGateTemplate,
2853
2905
  zListGateTemplatesResponse,
2906
+ zGateTemplateRule,
2854
2907
  zCreateGateTemplateRequest,
2855
2908
  zCreateGateTemplateResponse,
2856
2909
  zDeleteGateTemplateResponse,
@@ -2995,6 +3048,7 @@ export {
2995
3048
  zProjectId,
2996
3049
  zPaginationLimit,
2997
3050
  zPaginationCursor,
3051
+ zQ,
2998
3052
  zListGatesHeaders,
2999
3053
  zListGatesQuery,
3000
3054
  zListGatesResponse2,
@@ -3142,6 +3196,7 @@ export {
3142
3196
  zUpdateGateTemplatePath,
3143
3197
  zUpdateGateTemplateResponse2,
3144
3198
  zListAttributesHeaders,
3199
+ zListAttributesQuery,
3145
3200
  zListAttributesResponse2,
3146
3201
  zCreateAttributeBody,
3147
3202
  zCreateAttributeHeaders,
@@ -3157,6 +3212,7 @@ export {
3157
3212
  zUpdateAttributePath,
3158
3213
  zUpdateAttributeResponse2,
3159
3214
  zListMetricsHeaders,
3215
+ zListMetricsQuery,
3160
3216
  zListMetricsResponse2,
3161
3217
  zCreateMetricBody,
3162
3218
  zCreateMetricHeaders,
@@ -3172,6 +3228,7 @@ export {
3172
3228
  zUpdateMetricPath,
3173
3229
  zUpdateMetricResponse,
3174
3230
  zListEventsHeaders,
3231
+ zListEventsQuery,
3175
3232
  zListEventsResponse2,
3176
3233
  zCreateEventBody,
3177
3234
  zCreateEventHeaders,
@@ -3213,6 +3270,7 @@ export {
3213
3270
  zListSlackChannelsHeaders,
3214
3271
  zListSlackChannelsResponse2,
3215
3272
  zListAlertRulesHeaders,
3273
+ zListAlertRulesQuery,
3216
3274
  zListAlertRulesResponse2,
3217
3275
  zCreateAlertRuleBody,
3218
3276
  zCreateAlertRuleHeaders,
@@ -3282,6 +3340,7 @@ export {
3282
3340
  zGetErrorSeriesPath,
3283
3341
  zGetErrorSeriesResponse,
3284
3342
  zListConnectorsHeaders,
3343
+ zListConnectorsQuery,
3285
3344
  zListConnectorsResponse2,
3286
3345
  zCreateConnectorBody,
3287
3346
  zCreateConnectorHeaders,
@@ -3323,4 +3382,4 @@ export {
3323
3382
  zSearchResourcesQuery,
3324
3383
  zSearchResourcesResponse
3325
3384
  };
3326
- //# sourceMappingURL=chunk-SPH5HWCD.js.map
3385
+ //# sourceMappingURL=chunk-MRW3DJ57.js.map