@distilled.cloud/xata 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.
@@ -13,6 +13,19 @@ const __s: any[] = [];
13
13
 
14
14
  export type { XataOpError, XataOpContext };
15
15
 
16
+ /** Span facts shared by every operation (com.distilled.telemetry#service). */
17
+ const TELEMETRY = {
18
+ system: "xata-api",
19
+ responseHeaders: [
20
+ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
21
+ { header: "request-id", name: "http.response.header.request-id", transform: "list" },
22
+ ],
23
+ prefix: "Xata",
24
+ service: "Xata",
25
+ labels: "xata",
26
+ propagate: "w3c",
27
+ } as const;
28
+
16
29
  export class BadRequest
17
30
  extends /*@__PURE__*/ T.applyErrorMatchers(
18
31
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
@@ -1793,6 +1806,8 @@ export const branchLogs2: API.OperationMethod<
1793
1806
  errors: [BadRequest, NotFound, UnknownXataError],
1794
1807
  protocol: XataProtocol,
1795
1808
  retry: Retry.Retry,
1809
+ telemetry: TELEMETRY,
1810
+ span: "BranchLogs2",
1796
1811
  }));
1797
1812
 
1798
1813
  export type BranchMetrics2Error = BadRequest | NotFound | XataOpError;
@@ -1808,6 +1823,8 @@ export const branchMetrics2: API.OperationMethod<
1808
1823
  errors: [BadRequest, NotFound, UnknownXataError],
1809
1824
  protocol: XataProtocol,
1810
1825
  retry: Retry.Retry,
1826
+ telemetry: TELEMETRY,
1827
+ span: "BranchMetrics2",
1811
1828
  }));
1812
1829
 
1813
1830
  export type ClaimOrganizationSSODomainError = BadRequest | Forbidden | Conflict | XataOpError;
@@ -1823,6 +1840,8 @@ export const claimOrganizationSSODomain: API.OperationMethod<
1823
1840
  errors: [BadRequest, Forbidden, Conflict, UnknownXataError],
1824
1841
  protocol: XataProtocol,
1825
1842
  retry: Retry.Retry,
1843
+ telemetry: TELEMETRY,
1844
+ span: "ClaimOrganizationSSODomain",
1826
1845
  }));
1827
1846
 
1828
1847
  export type CreateBillingCheckoutSessionError = BadRequest | Forbidden | XataOpError;
@@ -1838,6 +1857,8 @@ export const createBillingCheckoutSession: API.OperationMethod<
1838
1857
  errors: [BadRequest, Forbidden, UnknownXataError],
1839
1858
  protocol: XataProtocol,
1840
1859
  retry: Retry.Retry,
1860
+ telemetry: TELEMETRY,
1861
+ span: "CreateBillingCheckoutSession",
1841
1862
  }));
1842
1863
 
1843
1864
  export type CreateBillingPaymentMethodSessionError = BadRequest | Forbidden | XataOpError;
@@ -1853,6 +1874,8 @@ export const createBillingPaymentMethodSession: API.OperationMethod<
1853
1874
  errors: [BadRequest, Forbidden, UnknownXataError],
1854
1875
  protocol: XataProtocol,
1855
1876
  retry: Retry.Retry,
1877
+ telemetry: TELEMETRY,
1878
+ span: "CreateBillingPaymentMethodSession",
1856
1879
  }));
1857
1880
 
1858
1881
  export type CreateBranchError = BadRequest | NotFound | XataOpError;
@@ -1868,6 +1891,8 @@ export const createBranch: API.OperationMethod<
1868
1891
  errors: [BadRequest, NotFound, UnknownXataError],
1869
1892
  protocol: XataProtocol,
1870
1893
  retry: Retry.Retry,
1894
+ telemetry: TELEMETRY,
1895
+ span: "CreateBranch",
1871
1896
  }));
1872
1897
 
1873
1898
  export type CreateGithubAppInstallationError = BadRequest | Conflict | XataOpError;
@@ -1883,6 +1908,8 @@ export const createGithubAppInstallation: API.OperationMethod<
1883
1908
  errors: [BadRequest, Conflict, UnknownXataError],
1884
1909
  protocol: XataProtocol,
1885
1910
  retry: Retry.Retry,
1911
+ telemetry: TELEMETRY,
1912
+ span: "CreateGithubAppInstallation",
1886
1913
  }));
1887
1914
 
1888
1915
  export type CreateGithubRepositoryError = BadRequest | Conflict | XataOpError;
@@ -1898,6 +1925,8 @@ export const createGithubRepository: API.OperationMethod<
1898
1925
  errors: [BadRequest, Conflict, UnknownXataError],
1899
1926
  protocol: XataProtocol,
1900
1927
  retry: Retry.Retry,
1928
+ telemetry: TELEMETRY,
1929
+ span: "CreateGithubRepository",
1901
1930
  }));
1902
1931
 
1903
1932
  export type CreateOrganizationError = BadRequest | NotFound | XataOpError;
@@ -1913,6 +1942,8 @@ export const createOrganization: API.OperationMethod<
1913
1942
  errors: [BadRequest, NotFound, UnknownXataError],
1914
1943
  protocol: XataProtocol,
1915
1944
  retry: Retry.Retry,
1945
+ telemetry: TELEMETRY,
1946
+ span: "CreateOrganization",
1916
1947
  }));
1917
1948
 
1918
1949
  export type CreateOrganizationAPIKeyError = BadRequest | XataOpError;
@@ -1928,6 +1959,8 @@ export const createOrganizationAPIKey: API.OperationMethod<
1928
1959
  errors: [BadRequest, UnknownXataError],
1929
1960
  protocol: XataProtocol,
1930
1961
  retry: Retry.Retry,
1962
+ telemetry: TELEMETRY,
1963
+ span: "CreateOrganizationAPIKey",
1931
1964
  }));
1932
1965
 
1933
1966
  export type CreateOrganizationInvitationError =
@@ -1948,6 +1981,8 @@ export const createOrganizationInvitation: API.OperationMethod<
1948
1981
  errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownXataError],
1949
1982
  protocol: XataProtocol,
1950
1983
  retry: Retry.Retry,
1984
+ telemetry: TELEMETRY,
1985
+ span: "CreateOrganizationInvitation",
1951
1986
  }));
1952
1987
 
1953
1988
  export type CreateOrganizationSSOProviderError = BadRequest | Forbidden | Conflict | XataOpError;
@@ -1963,6 +1998,8 @@ export const createOrganizationSSOProvider: API.OperationMethod<
1963
1998
  errors: [BadRequest, Forbidden, Conflict, UnknownXataError],
1964
1999
  protocol: XataProtocol,
1965
2000
  retry: Retry.Retry,
2001
+ telemetry: TELEMETRY,
2002
+ span: "CreateOrganizationSSOProvider",
1966
2003
  }));
1967
2004
 
1968
2005
  export type CreateProjectError = BadRequest | XataOpError;
@@ -1978,6 +2015,8 @@ export const createProject: API.OperationMethod<
1978
2015
  errors: [BadRequest, UnknownXataError],
1979
2016
  protocol: XataProtocol,
1980
2017
  retry: Retry.Retry,
2018
+ telemetry: TELEMETRY,
2019
+ span: "CreateProject",
1981
2020
  }));
1982
2021
 
1983
2022
  export type CreateUserAPIKeyError = BadRequest | XataOpError;
@@ -1993,6 +2032,8 @@ export const createUserAPIKey: API.OperationMethod<
1993
2032
  errors: [BadRequest, UnknownXataError],
1994
2033
  protocol: XataProtocol,
1995
2034
  retry: Retry.Retry,
2035
+ telemetry: TELEMETRY,
2036
+ span: "CreateUserAPIKey",
1996
2037
  }));
1997
2038
 
1998
2039
  export type DeleteBranchError = BadRequest | NotFound | XataOpError;
@@ -2008,6 +2049,8 @@ export const deleteBranch: API.OperationMethod<
2008
2049
  errors: [BadRequest, NotFound, UnknownXataError],
2009
2050
  protocol: XataProtocol,
2010
2051
  retry: Retry.Retry,
2052
+ telemetry: TELEMETRY,
2053
+ span: "DeleteBranch",
2011
2054
  }));
2012
2055
 
2013
2056
  export type DeleteGithubRepositoryError = BadRequest | NotFound | XataOpError;
@@ -2023,6 +2066,8 @@ export const deleteGithubRepository: API.OperationMethod<
2023
2066
  errors: [BadRequest, NotFound, UnknownXataError],
2024
2067
  protocol: XataProtocol,
2025
2068
  retry: Retry.Retry,
2069
+ telemetry: TELEMETRY,
2070
+ span: "DeleteGithubRepository",
2026
2071
  }));
2027
2072
 
2028
2073
  export type DeleteInstallationError = Forbidden | Conflict | XataOpError;
@@ -2038,6 +2083,8 @@ export const deleteInstallation: API.OperationMethod<
2038
2083
  errors: [Forbidden, Conflict, UnknownXataError],
2039
2084
  protocol: XataProtocol,
2040
2085
  retry: Retry.Retry,
2086
+ telemetry: TELEMETRY,
2087
+ span: "DeleteInstallation",
2041
2088
  }));
2042
2089
 
2043
2090
  export type DeleteOrganizationError = BadRequest | Forbidden | NotFound | XataOpError;
@@ -2053,6 +2100,8 @@ export const deleteOrganization: API.OperationMethod<
2053
2100
  errors: [BadRequest, Forbidden, NotFound, UnknownXataError],
2054
2101
  protocol: XataProtocol,
2055
2102
  retry: Retry.Retry,
2103
+ telemetry: TELEMETRY,
2104
+ span: "DeleteOrganization",
2056
2105
  }));
2057
2106
 
2058
2107
  export type DeleteOrganizationAPIKeysError = BadRequest | NotFound | XataOpError;
@@ -2068,6 +2117,8 @@ export const deleteOrganizationAPIKeys: API.OperationMethod<
2068
2117
  errors: [BadRequest, NotFound, UnknownXataError],
2069
2118
  protocol: XataProtocol,
2070
2119
  retry: Retry.Retry,
2120
+ telemetry: TELEMETRY,
2121
+ span: "DeleteOrganizationAPIKeys",
2071
2122
  }));
2072
2123
 
2073
2124
  export type DeleteOrganizationInvitationError = BadRequest | Forbidden | NotFound | XataOpError;
@@ -2083,6 +2134,8 @@ export const deleteOrganizationInvitation: API.OperationMethod<
2083
2134
  errors: [BadRequest, Forbidden, NotFound, UnknownXataError],
2084
2135
  protocol: XataProtocol,
2085
2136
  retry: Retry.Retry,
2137
+ telemetry: TELEMETRY,
2138
+ span: "DeleteOrganizationInvitation",
2086
2139
  }));
2087
2140
 
2088
2141
  export type DeleteOrganizationSSODomainError = Forbidden | Conflict | XataOpError;
@@ -2098,6 +2151,8 @@ export const deleteOrganizationSSODomain: API.OperationMethod<
2098
2151
  errors: [Forbidden, Conflict, UnknownXataError],
2099
2152
  protocol: XataProtocol,
2100
2153
  retry: Retry.Retry,
2154
+ telemetry: TELEMETRY,
2155
+ span: "DeleteOrganizationSSODomain",
2101
2156
  }));
2102
2157
 
2103
2158
  export type DeleteOrganizationSSOProviderError = Forbidden | XataOpError;
@@ -2113,6 +2168,8 @@ export const deleteOrganizationSSOProvider: API.OperationMethod<
2113
2168
  errors: [Forbidden, UnknownXataError],
2114
2169
  protocol: XataProtocol,
2115
2170
  retry: Retry.Retry,
2171
+ telemetry: TELEMETRY,
2172
+ span: "DeleteOrganizationSSOProvider",
2116
2173
  }));
2117
2174
 
2118
2175
  export type DeleteProjectError = BadRequest | NotFound | XataOpError;
@@ -2128,6 +2185,8 @@ export const deleteProject: API.OperationMethod<
2128
2185
  errors: [BadRequest, NotFound, UnknownXataError],
2129
2186
  protocol: XataProtocol,
2130
2187
  retry: Retry.Retry,
2188
+ telemetry: TELEMETRY,
2189
+ span: "DeleteProject",
2131
2190
  }));
2132
2191
 
2133
2192
  export type DeleteResourceError = Forbidden | NotFound | XataOpError;
@@ -2143,6 +2202,8 @@ export const deleteResource: API.OperationMethod<
2143
2202
  errors: [Forbidden, NotFound, UnknownXataError],
2144
2203
  protocol: XataProtocol,
2145
2204
  retry: Retry.Retry,
2205
+ telemetry: TELEMETRY,
2206
+ span: "DeleteResource",
2146
2207
  }));
2147
2208
 
2148
2209
  export type DeleteUserAPIKeysError = BadRequest | NotFound | XataOpError;
@@ -2158,6 +2219,8 @@ export const deleteUserAPIKeys: API.OperationMethod<
2158
2219
  errors: [BadRequest, NotFound, UnknownXataError],
2159
2220
  protocol: XataProtocol,
2160
2221
  retry: Retry.Retry,
2222
+ telemetry: TELEMETRY,
2223
+ span: "DeleteUserAPIKeys",
2161
2224
  }));
2162
2225
 
2163
2226
  export type DescribeBranchError = BadRequest | NotFound | XataOpError;
@@ -2173,6 +2236,8 @@ export const describeBranch: API.OperationMethod<
2173
2236
  errors: [BadRequest, NotFound, UnknownXataError],
2174
2237
  protocol: XataProtocol,
2175
2238
  retry: Retry.Retry,
2239
+ telemetry: TELEMETRY,
2240
+ span: "DescribeBranch",
2176
2241
  }));
2177
2242
 
2178
2243
  export type GetBackupError = BadRequest | NotFound | XataOpError;
@@ -2188,6 +2253,8 @@ export const getBackup: API.OperationMethod<
2188
2253
  errors: [BadRequest, NotFound, UnknownXataError],
2189
2254
  protocol: XataProtocol,
2190
2255
  retry: Retry.Retry,
2256
+ telemetry: TELEMETRY,
2257
+ span: "GetBackup",
2191
2258
  }));
2192
2259
 
2193
2260
  export type GetBillingCustomerError = Forbidden | NotFound | XataOpError;
@@ -2203,6 +2270,8 @@ export const getBillingCustomer: API.OperationMethod<
2203
2270
  errors: [Forbidden, NotFound, UnknownXataError],
2204
2271
  protocol: XataProtocol,
2205
2272
  retry: Retry.Retry,
2273
+ telemetry: TELEMETRY,
2274
+ span: "GetBillingCustomer",
2206
2275
  }));
2207
2276
 
2208
2277
  export type GetBillingInvoicesError = BadRequest | Forbidden | NotFound | XataOpError;
@@ -2218,6 +2287,8 @@ export const getBillingInvoices: API.OperationMethod<
2218
2287
  errors: [BadRequest, Forbidden, NotFound, UnknownXataError],
2219
2288
  protocol: XataProtocol,
2220
2289
  retry: Retry.Retry,
2290
+ telemetry: TELEMETRY,
2291
+ span: "GetBillingInvoices",
2221
2292
  }));
2222
2293
 
2223
2294
  export type GetBillingUpcomingInvoiceError = Forbidden | NotFound | XataOpError;
@@ -2233,6 +2304,8 @@ export const getBillingUpcomingInvoice: API.OperationMethod<
2233
2304
  errors: [Forbidden, NotFound, UnknownXataError],
2234
2305
  protocol: XataProtocol,
2235
2306
  retry: Retry.Retry,
2307
+ telemetry: TELEMETRY,
2308
+ span: "GetBillingUpcomingInvoice",
2236
2309
  }));
2237
2310
 
2238
2311
  export type GetBranchCredentialsError = BadRequest | NotFound | XataOpError;
@@ -2248,6 +2321,8 @@ export const getBranchCredentials: API.OperationMethod<
2248
2321
  errors: [BadRequest, NotFound, UnknownXataError],
2249
2322
  protocol: XataProtocol,
2250
2323
  retry: Retry.Retry,
2324
+ telemetry: TELEMETRY,
2325
+ span: "GetBranchCredentials",
2251
2326
  }));
2252
2327
 
2253
2328
  export type GetBranchPostgresConfigError = BadRequest | NotFound | XataOpError;
@@ -2263,6 +2338,8 @@ export const getBranchPostgresConfig: API.OperationMethod<
2263
2338
  errors: [BadRequest, NotFound, UnknownXataError],
2264
2339
  protocol: XataProtocol,
2265
2340
  retry: Retry.Retry,
2341
+ telemetry: TELEMETRY,
2342
+ span: "GetBranchPostgresConfig",
2266
2343
  }));
2267
2344
 
2268
2345
  export type GetGithubRepositoryError = BadRequest | XataOpError;
@@ -2278,6 +2355,8 @@ export const getGithubRepository: API.OperationMethod<
2278
2355
  errors: [BadRequest, UnknownXataError],
2279
2356
  protocol: XataProtocol,
2280
2357
  retry: Retry.Retry,
2358
+ telemetry: TELEMETRY,
2359
+ span: "GetGithubRepository",
2281
2360
  }));
2282
2361
 
2283
2362
  export type GetOrganizationError = BadRequest | Forbidden | NotFound | XataOpError;
@@ -2293,6 +2372,8 @@ export const getOrganization: API.OperationMethod<
2293
2372
  errors: [BadRequest, Forbidden, NotFound, UnknownXataError],
2294
2373
  protocol: XataProtocol,
2295
2374
  retry: Retry.Retry,
2375
+ telemetry: TELEMETRY,
2376
+ span: "GetOrganization",
2296
2377
  }));
2297
2378
 
2298
2379
  export type GetOrganizationInvitationError = BadRequest | Forbidden | NotFound | XataOpError;
@@ -2308,6 +2389,8 @@ export const getOrganizationInvitation: API.OperationMethod<
2308
2389
  errors: [BadRequest, Forbidden, NotFound, UnknownXataError],
2309
2390
  protocol: XataProtocol,
2310
2391
  retry: Retry.Retry,
2392
+ telemetry: TELEMETRY,
2393
+ span: "GetOrganizationInvitation",
2311
2394
  }));
2312
2395
 
2313
2396
  export type GetOrganizationLimitsError = Forbidden | XataOpError;
@@ -2323,6 +2406,8 @@ export const getOrganizationLimits: API.OperationMethod<
2323
2406
  errors: [Forbidden, UnknownXataError],
2324
2407
  protocol: XataProtocol,
2325
2408
  retry: Retry.Retry,
2409
+ telemetry: TELEMETRY,
2410
+ span: "GetOrganizationLimits",
2326
2411
  }));
2327
2412
 
2328
2413
  export type GetOrganizationMembershipLimitsError = Forbidden | XataOpError;
@@ -2338,6 +2423,8 @@ export const getOrganizationMembershipLimits: API.OperationMethod<
2338
2423
  errors: [Forbidden, UnknownXataError],
2339
2424
  protocol: XataProtocol,
2340
2425
  retry: Retry.Retry,
2426
+ telemetry: TELEMETRY,
2427
+ span: "GetOrganizationMembershipLimits",
2341
2428
  }));
2342
2429
 
2343
2430
  export type GetOrganizationsListError = BadRequest | NotFound | XataOpError;
@@ -2353,6 +2440,8 @@ export const getOrganizationsList: API.OperationMethod<
2353
2440
  errors: [BadRequest, NotFound, UnknownXataError],
2354
2441
  protocol: XataProtocol,
2355
2442
  retry: Retry.Retry,
2443
+ telemetry: TELEMETRY,
2444
+ span: "GetOrganizationsList",
2356
2445
  }));
2357
2446
 
2358
2447
  export type GetOrganizationSSOError = Forbidden | XataOpError;
@@ -2368,6 +2457,8 @@ export const getOrganizationSSO: API.OperationMethod<
2368
2457
  errors: [Forbidden, UnknownXataError],
2369
2458
  protocol: XataProtocol,
2370
2459
  retry: Retry.Retry,
2460
+ telemetry: TELEMETRY,
2461
+ span: "GetOrganizationSSO",
2371
2462
  }));
2372
2463
 
2373
2464
  export type GetProjectError = BadRequest | NotFound | XataOpError;
@@ -2383,6 +2474,8 @@ export const getProject: API.OperationMethod<
2383
2474
  errors: [BadRequest, NotFound, UnknownXataError],
2384
2475
  protocol: XataProtocol,
2385
2476
  retry: Retry.Retry,
2477
+ telemetry: TELEMETRY,
2478
+ span: "GetProject",
2386
2479
  }));
2387
2480
 
2388
2481
  export type GetProjectLimitsError = XataOpError;
@@ -2398,6 +2491,8 @@ export const getProjectLimits: API.OperationMethod<
2398
2491
  errors: [UnknownXataError],
2399
2492
  protocol: XataProtocol,
2400
2493
  retry: Retry.Retry,
2494
+ telemetry: TELEMETRY,
2495
+ span: "GetProjectLimits",
2401
2496
  }));
2402
2497
 
2403
2498
  export type GetResourceError = Forbidden | NotFound | XataOpError;
@@ -2413,6 +2508,8 @@ export const getResource: API.OperationMethod<
2413
2508
  errors: [Forbidden, NotFound, UnknownXataError],
2414
2509
  protocol: XataProtocol,
2415
2510
  retry: Retry.Retry,
2511
+ telemetry: TELEMETRY,
2512
+ span: "GetResource",
2416
2513
  }));
2417
2514
 
2418
2515
  export type GithubWebhookError = BadRequest | XataOpError;
@@ -2428,6 +2525,8 @@ export const githubWebhook: API.OperationMethod<
2428
2525
  errors: [BadRequest, UnknownXataError],
2429
2526
  protocol: XataProtocol,
2430
2527
  retry: Retry.Retry,
2528
+ telemetry: TELEMETRY,
2529
+ span: "GithubWebhook",
2431
2530
  }));
2432
2531
 
2433
2532
  export type ListBackupsError = BadRequest | NotFound | XataOpError;
@@ -2443,6 +2542,8 @@ export const listBackups: API.OperationMethod<
2443
2542
  errors: [BadRequest, NotFound, UnknownXataError],
2444
2543
  protocol: XataProtocol,
2445
2544
  retry: Retry.Retry,
2545
+ telemetry: TELEMETRY,
2546
+ span: "ListBackups",
2446
2547
  }));
2447
2548
 
2448
2549
  export type ListBillingPlansForProductError = BadRequest | Forbidden | NotFound | XataOpError;
@@ -2458,6 +2559,8 @@ export const listBillingPlansForProduct: API.OperationMethod<
2458
2559
  errors: [BadRequest, Forbidden, NotFound, UnknownXataError],
2459
2560
  protocol: XataProtocol,
2460
2561
  retry: Retry.Retry,
2562
+ telemetry: TELEMETRY,
2563
+ span: "ListBillingPlansForProduct",
2461
2564
  }));
2462
2565
 
2463
2566
  export type ListBranchesError = BadRequest | NotFound | XataOpError;
@@ -2473,6 +2576,8 @@ export const listBranches: API.OperationMethod<
2473
2576
  errors: [BadRequest, NotFound, UnknownXataError],
2474
2577
  protocol: XataProtocol,
2475
2578
  retry: Retry.Retry,
2579
+ telemetry: TELEMETRY,
2580
+ span: "ListBranches",
2476
2581
  }));
2477
2582
 
2478
2583
  export type ListExtensionsError = BadRequest | XataOpError;
@@ -2488,6 +2593,8 @@ export const listExtensions: API.OperationMethod<
2488
2593
  errors: [BadRequest, UnknownXataError],
2489
2594
  protocol: XataProtocol,
2490
2595
  retry: Retry.Retry,
2596
+ telemetry: TELEMETRY,
2597
+ span: "ListExtensions",
2491
2598
  }));
2492
2599
 
2493
2600
  export type ListGithubAppInstallationsError = BadRequest | XataOpError;
@@ -2503,6 +2610,8 @@ export const listGithubAppInstallations: API.OperationMethod<
2503
2610
  errors: [BadRequest, UnknownXataError],
2504
2611
  protocol: XataProtocol,
2505
2612
  retry: Retry.Retry,
2613
+ telemetry: TELEMETRY,
2614
+ span: "ListGithubAppInstallations",
2506
2615
  }));
2507
2616
 
2508
2617
  export type ListImagesError = BadRequest | XataOpError;
@@ -2518,6 +2627,8 @@ export const listImages: API.OperationMethod<
2518
2627
  errors: [BadRequest, UnknownXataError],
2519
2628
  protocol: XataProtocol,
2520
2629
  retry: Retry.Retry,
2630
+ telemetry: TELEMETRY,
2631
+ span: "ListImages",
2521
2632
  }));
2522
2633
 
2523
2634
  export type ListInstanceTypesError = BadRequest | XataOpError;
@@ -2533,6 +2644,8 @@ export const listInstanceTypes: API.OperationMethod<
2533
2644
  errors: [BadRequest, UnknownXataError],
2534
2645
  protocol: XataProtocol,
2535
2646
  retry: Retry.Retry,
2647
+ telemetry: TELEMETRY,
2648
+ span: "ListInstanceTypes",
2536
2649
  }));
2537
2650
 
2538
2651
  export type ListOrganizationAPIKeysError = BadRequest | Forbidden | NotFound | XataOpError;
@@ -2548,6 +2661,8 @@ export const listOrganizationAPIKeys: API.OperationMethod<
2548
2661
  errors: [BadRequest, Forbidden, NotFound, UnknownXataError],
2549
2662
  protocol: XataProtocol,
2550
2663
  retry: Retry.Retry,
2664
+ telemetry: TELEMETRY,
2665
+ span: "ListOrganizationAPIKeys",
2551
2666
  }));
2552
2667
 
2553
2668
  export type ListOrganizationInvitationsError = BadRequest | Forbidden | NotFound | XataOpError;
@@ -2563,6 +2678,8 @@ export const listOrganizationInvitations: API.OperationMethod<
2563
2678
  errors: [BadRequest, Forbidden, NotFound, UnknownXataError],
2564
2679
  protocol: XataProtocol,
2565
2680
  retry: Retry.Retry,
2681
+ telemetry: TELEMETRY,
2682
+ span: "ListOrganizationInvitations",
2566
2683
  }));
2567
2684
 
2568
2685
  export type ListOrganizationMembersError = XataOpError;
@@ -2578,6 +2695,8 @@ export const listOrganizationMembers: API.OperationMethod<
2578
2695
  errors: [UnknownXataError],
2579
2696
  protocol: XataProtocol,
2580
2697
  retry: Retry.Retry,
2698
+ telemetry: TELEMETRY,
2699
+ span: "ListOrganizationMembers",
2581
2700
  }));
2582
2701
 
2583
2702
  export type ListOrganizationRolesError = Forbidden | NotFound | XataOpError;
@@ -2593,6 +2712,8 @@ export const listOrganizationRoles: API.OperationMethod<
2593
2712
  errors: [Forbidden, NotFound, UnknownXataError],
2594
2713
  protocol: XataProtocol,
2595
2714
  retry: Retry.Retry,
2715
+ telemetry: TELEMETRY,
2716
+ span: "ListOrganizationRoles",
2596
2717
  }));
2597
2718
 
2598
2719
  export type ListProjectsError = BadRequest | XataOpError;
@@ -2608,6 +2729,8 @@ export const listProjects: API.OperationMethod<
2608
2729
  errors: [BadRequest, UnknownXataError],
2609
2730
  protocol: XataProtocol,
2610
2731
  retry: Retry.Retry,
2732
+ telemetry: TELEMETRY,
2733
+ span: "ListProjects",
2611
2734
  }));
2612
2735
 
2613
2736
  export type ListRegionsError = BadRequest | XataOpError;
@@ -2623,6 +2746,8 @@ export const listRegions: API.OperationMethod<
2623
2746
  errors: [BadRequest, UnknownXataError],
2624
2747
  protocol: XataProtocol,
2625
2748
  retry: Retry.Retry,
2749
+ telemetry: TELEMETRY,
2750
+ span: "ListRegions",
2626
2751
  }));
2627
2752
 
2628
2753
  export type ListUserAPIKeysError = BadRequest | XataOpError;
@@ -2638,6 +2763,8 @@ export const listUserAPIKeys: API.OperationMethod<
2638
2763
  errors: [BadRequest, UnknownXataError],
2639
2764
  protocol: XataProtocol,
2640
2765
  retry: Retry.Retry,
2766
+ telemetry: TELEMETRY,
2767
+ span: "ListUserAPIKeys",
2641
2768
  }));
2642
2769
 
2643
2770
  export type OrbWebhookError = BadRequest | XataOpError;
@@ -2653,6 +2780,8 @@ export const orbWebhook: API.OperationMethod<
2653
2780
  errors: [BadRequest, UnknownXataError],
2654
2781
  protocol: XataProtocol,
2655
2782
  retry: Retry.Retry,
2783
+ telemetry: TELEMETRY,
2784
+ span: "OrbWebhook",
2656
2785
  }));
2657
2786
 
2658
2787
  export type ProvisionResourceError = BadRequest | Forbidden | NotFound | Conflict | XataOpError;
@@ -2668,6 +2797,8 @@ export const provisionResource: API.OperationMethod<
2668
2797
  errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownXataError],
2669
2798
  protocol: XataProtocol,
2670
2799
  retry: Retry.Retry,
2800
+ telemetry: TELEMETRY,
2801
+ span: "ProvisionResource",
2671
2802
  }));
2672
2803
 
2673
2804
  export type QueryError = BadRequest | Forbidden | NotFound | Conflict | XataOpError;
@@ -2679,6 +2810,8 @@ export const query: API.OperationMethod<QueryRequest, QueryResponse, QueryError,
2679
2810
  errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownXataError],
2680
2811
  protocol: XataProtocol,
2681
2812
  retry: Retry.Retry,
2813
+ telemetry: TELEMETRY,
2814
+ span: "Query",
2682
2815
  }));
2683
2816
 
2684
2817
  export type RegisterMarketplaceError = BadRequest | Conflict | XataOpError;
@@ -2694,6 +2827,8 @@ export const registerMarketplace: API.OperationMethod<
2694
2827
  errors: [BadRequest, Conflict, UnknownXataError],
2695
2828
  protocol: XataProtocol,
2696
2829
  retry: Retry.Retry,
2830
+ telemetry: TELEMETRY,
2831
+ span: "RegisterMarketplace",
2697
2832
  }));
2698
2833
 
2699
2834
  export type RemoveOrganizationMemberError = BadRequest | Conflict | XataOpError;
@@ -2709,6 +2844,8 @@ export const removeOrganizationMember: API.OperationMethod<
2709
2844
  errors: [BadRequest, Conflict, UnknownXataError],
2710
2845
  protocol: XataProtocol,
2711
2846
  retry: Retry.Retry,
2847
+ telemetry: TELEMETRY,
2848
+ span: "RemoveOrganizationMember",
2712
2849
  }));
2713
2850
 
2714
2851
  export type RequestOrganizationDeletionError = BadRequest | Forbidden | Conflict | XataOpError;
@@ -2724,6 +2861,8 @@ export const requestOrganizationDeletion: API.OperationMethod<
2724
2861
  errors: [BadRequest, Forbidden, Conflict, UnknownXataError],
2725
2862
  protocol: XataProtocol,
2726
2863
  retry: Retry.Retry,
2864
+ telemetry: TELEMETRY,
2865
+ span: "RequestOrganizationDeletion",
2727
2866
  }));
2728
2867
 
2729
2868
  export type ResendOrganizationInvitationError = BadRequest | Forbidden | NotFound | XataOpError;
@@ -2739,6 +2878,8 @@ export const resendOrganizationInvitation: API.OperationMethod<
2739
2878
  errors: [BadRequest, Forbidden, NotFound, UnknownXataError],
2740
2879
  protocol: XataProtocol,
2741
2880
  retry: Retry.Retry,
2881
+ telemetry: TELEMETRY,
2882
+ span: "ResendOrganizationInvitation",
2742
2883
  }));
2743
2884
 
2744
2885
  export type RestoreFromBackupError = BadRequest | NotFound | XataOpError;
@@ -2754,6 +2895,8 @@ export const restoreFromBackup: API.OperationMethod<
2754
2895
  errors: [BadRequest, NotFound, UnknownXataError],
2755
2896
  protocol: XataProtocol,
2756
2897
  retry: Retry.Retry,
2898
+ telemetry: TELEMETRY,
2899
+ span: "RestoreFromBackup",
2757
2900
  }));
2758
2901
 
2759
2902
  export type RotateBranchCredentialsError = BadRequest | NotFound | XataOpError;
@@ -2769,6 +2912,8 @@ export const rotateBranchCredentials: API.OperationMethod<
2769
2912
  errors: [BadRequest, NotFound, UnknownXataError],
2770
2913
  protocol: XataProtocol,
2771
2914
  retry: Retry.Retry,
2915
+ telemetry: TELEMETRY,
2916
+ span: "RotateBranchCredentials",
2772
2917
  }));
2773
2918
 
2774
2919
  export type SendMcpRequestError = BadRequest | XataOpError;
@@ -2784,6 +2929,8 @@ export const sendMcpRequest: API.OperationMethod<
2784
2929
  errors: [BadRequest, UnknownXataError],
2785
2930
  protocol: XataProtocol,
2786
2931
  retry: Retry.Retry,
2932
+ telemetry: TELEMETRY,
2933
+ span: "SendMcpRequest",
2787
2934
  }));
2788
2935
 
2789
2936
  export type SetOrganizationMemberRoleError =
@@ -2804,6 +2951,8 @@ export const setOrganizationMemberRole: API.OperationMethod<
2804
2951
  errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownXataError],
2805
2952
  protocol: XataProtocol,
2806
2953
  retry: Retry.Retry,
2954
+ telemetry: TELEMETRY,
2955
+ span: "SetOrganizationMemberRole",
2807
2956
  }));
2808
2957
 
2809
2958
  export type SetOrganizationSSOProviderEnforcementError =
@@ -2823,6 +2972,8 @@ export const setOrganizationSSOProviderEnforcement: API.OperationMethod<
2823
2972
  errors: [Forbidden, NotFound, Conflict, UnknownXataError],
2824
2973
  protocol: XataProtocol,
2825
2974
  retry: Retry.Retry,
2975
+ telemetry: TELEMETRY,
2976
+ span: "SetOrganizationSSOProviderEnforcement",
2826
2977
  }));
2827
2978
 
2828
2979
  export type StripeWebhookError = BadRequest | XataOpError;
@@ -2838,6 +2989,8 @@ export const stripeWebhook: API.OperationMethod<
2838
2989
  errors: [BadRequest, UnknownXataError],
2839
2990
  protocol: XataProtocol,
2840
2991
  retry: Retry.Retry,
2992
+ telemetry: TELEMETRY,
2993
+ span: "StripeWebhook",
2841
2994
  }));
2842
2995
 
2843
2996
  export type UpdateBillingCustomerError = BadRequest | Forbidden | NotFound | XataOpError;
@@ -2853,6 +3006,8 @@ export const updateBillingCustomer: API.OperationMethod<
2853
3006
  errors: [BadRequest, Forbidden, NotFound, UnknownXataError],
2854
3007
  protocol: XataProtocol,
2855
3008
  retry: Retry.Retry,
3009
+ telemetry: TELEMETRY,
3010
+ span: "UpdateBillingCustomer",
2856
3011
  }));
2857
3012
 
2858
3013
  export type UpdateBranchError = BadRequest | NotFound | XataOpError;
@@ -2868,6 +3023,8 @@ export const updateBranch: API.OperationMethod<
2868
3023
  errors: [BadRequest, NotFound, UnknownXataError],
2869
3024
  protocol: XataProtocol,
2870
3025
  retry: Retry.Retry,
3026
+ telemetry: TELEMETRY,
3027
+ span: "UpdateBranch",
2871
3028
  }));
2872
3029
 
2873
3030
  export type UpdateGithubAppInstallationError = BadRequest | NotFound | Conflict | XataOpError;
@@ -2883,6 +3040,8 @@ export const updateGithubAppInstallation: API.OperationMethod<
2883
3040
  errors: [BadRequest, NotFound, Conflict, UnknownXataError],
2884
3041
  protocol: XataProtocol,
2885
3042
  retry: Retry.Retry,
3043
+ telemetry: TELEMETRY,
3044
+ span: "UpdateGithubAppInstallation",
2886
3045
  }));
2887
3046
 
2888
3047
  export type UpdateGithubRepositoryError = BadRequest | NotFound | XataOpError;
@@ -2898,6 +3057,8 @@ export const updateGithubRepository: API.OperationMethod<
2898
3057
  errors: [BadRequest, NotFound, UnknownXataError],
2899
3058
  protocol: XataProtocol,
2900
3059
  retry: Retry.Retry,
3060
+ telemetry: TELEMETRY,
3061
+ span: "UpdateGithubRepository",
2901
3062
  }));
2902
3063
 
2903
3064
  export type UpdateOrganizationError = BadRequest | Forbidden | NotFound | XataOpError;
@@ -2913,6 +3074,8 @@ export const updateOrganization: API.OperationMethod<
2913
3074
  errors: [BadRequest, Forbidden, NotFound, UnknownXataError],
2914
3075
  protocol: XataProtocol,
2915
3076
  retry: Retry.Retry,
3077
+ telemetry: TELEMETRY,
3078
+ span: "UpdateOrganization",
2916
3079
  }));
2917
3080
 
2918
3081
  export type UpdateOrganizationSSOProviderError =
@@ -2933,6 +3096,8 @@ export const updateOrganizationSSOProvider: API.OperationMethod<
2933
3096
  errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownXataError],
2934
3097
  protocol: XataProtocol,
2935
3098
  retry: Retry.Retry,
3099
+ telemetry: TELEMETRY,
3100
+ span: "UpdateOrganizationSSOProvider",
2936
3101
  }));
2937
3102
 
2938
3103
  export type UpdateProjectError = BadRequest | NotFound | XataOpError;
@@ -2948,6 +3113,8 @@ export const updateProject: API.OperationMethod<
2948
3113
  errors: [BadRequest, NotFound, UnknownXataError],
2949
3114
  protocol: XataProtocol,
2950
3115
  retry: Retry.Retry,
3116
+ telemetry: TELEMETRY,
3117
+ span: "UpdateProject",
2951
3118
  }));
2952
3119
 
2953
3120
  export type UpsertInstallationError = BadRequest | Forbidden | Conflict | XataOpError;
@@ -2963,6 +3130,8 @@ export const upsertInstallation: API.OperationMethod<
2963
3130
  errors: [BadRequest, Forbidden, Conflict, UnknownXataError],
2964
3131
  protocol: XataProtocol,
2965
3132
  retry: Retry.Retry,
3133
+ telemetry: TELEMETRY,
3134
+ span: "UpsertInstallation",
2966
3135
  }));
2967
3136
 
2968
3137
  export type VerifyOrganizationSSODomainError = Forbidden | NotFound | Conflict | XataOpError;
@@ -2978,6 +3147,8 @@ export const verifyOrganizationSSODomain: API.OperationMethod<
2978
3147
  errors: [Forbidden, NotFound, Conflict, UnknownXataError],
2979
3148
  protocol: XataProtocol,
2980
3149
  retry: Retry.Retry,
3150
+ telemetry: TELEMETRY,
3151
+ span: "VerifyOrganizationSSODomain",
2981
3152
  }));
2982
3153
 
2983
3154
  export type WebsocketError = BadRequest | XataOpError;
@@ -2993,6 +3164,8 @@ export const websocket: API.OperationMethod<
2993
3164
  errors: [BadRequest, UnknownXataError],
2994
3165
  protocol: XataProtocol,
2995
3166
  retry: Retry.Retry,
3167
+ telemetry: TELEMETRY,
3168
+ span: "Websocket",
2996
3169
  }));
2997
3170
 
2998
3171
  // Schema builders: each runs one schema initializer, on that schema's first use.