@temps-sdk/api 0.1.0-beta.1 → 0.1.0-beta.64
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.
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +224 -15
- package/dist/index.js.map +1 -1
- package/dist/sdk.gen.d.ts +163 -18
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +340 -32
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1831 -174
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +140 -1
- package/src/sdk.gen.ts +655 -32
- package/src/types.gen.ts +1975 -175
package/src/sdk.gen.ts
CHANGED
|
@@ -108,6 +108,9 @@ import type {
|
|
|
108
108
|
AdminGetEnvironmentWorkloadModeData,
|
|
109
109
|
AdminGetEnvironmentWorkloadModeErrors,
|
|
110
110
|
AdminGetEnvironmentWorkloadModeResponses,
|
|
111
|
+
AdminGetNodeBuildLimitsData,
|
|
112
|
+
AdminGetNodeBuildLimitsErrors,
|
|
113
|
+
AdminGetNodeBuildLimitsResponses,
|
|
111
114
|
AdminGetNodeData,
|
|
112
115
|
AdminGetNodeErrors,
|
|
113
116
|
AdminGetNodePublicIngressSettingsData,
|
|
@@ -1382,9 +1385,12 @@ import type {
|
|
|
1382
1385
|
GetAnalyticsIdentitySettingsData,
|
|
1383
1386
|
GetAnalyticsIdentitySettingsErrors,
|
|
1384
1387
|
GetAnalyticsIdentitySettingsResponses,
|
|
1388
|
+
GetAnalyticsIngestKeyData,
|
|
1385
1389
|
GetAnalyticsIngestKeyEndpointData,
|
|
1386
1390
|
GetAnalyticsIngestKeyEndpointErrors,
|
|
1387
1391
|
GetAnalyticsIngestKeyEndpointResponses,
|
|
1392
|
+
GetAnalyticsIngestKeyErrors,
|
|
1393
|
+
GetAnalyticsIngestKeyResponses,
|
|
1388
1394
|
GetAnalyticsProjectsData,
|
|
1389
1395
|
GetAnalyticsProjectsErrors,
|
|
1390
1396
|
GetAnalyticsProjectsResponses,
|
|
@@ -1736,6 +1742,9 @@ import type {
|
|
|
1736
1742
|
GetErrorGroupSuspectCommitsData,
|
|
1737
1743
|
GetErrorGroupSuspectCommitsErrors,
|
|
1738
1744
|
GetErrorGroupSuspectCommitsResponses,
|
|
1745
|
+
GetErrorInboundFilterData,
|
|
1746
|
+
GetErrorInboundFilterErrors,
|
|
1747
|
+
GetErrorInboundFilterResponses,
|
|
1739
1748
|
GetErrorSavedSearchData,
|
|
1740
1749
|
GetErrorSavedSearchErrors,
|
|
1741
1750
|
GetErrorSavedSearchResponses,
|
|
@@ -1793,9 +1802,12 @@ import type {
|
|
|
1793
1802
|
GetFlagSnapshotData,
|
|
1794
1803
|
GetFlagSnapshotErrors,
|
|
1795
1804
|
GetFlagSnapshotResponses,
|
|
1805
|
+
GetFunnelData,
|
|
1806
|
+
GetFunnelErrors,
|
|
1796
1807
|
GetFunnelMetricsData,
|
|
1797
1808
|
GetFunnelMetricsErrors,
|
|
1798
1809
|
GetFunnelMetricsResponses,
|
|
1810
|
+
GetFunnelResponses,
|
|
1799
1811
|
GetGenaiTraceData,
|
|
1800
1812
|
GetGenaiTraceErrors,
|
|
1801
1813
|
GetGenaiTraceResponses,
|
|
@@ -1844,6 +1856,9 @@ import type {
|
|
|
1844
1856
|
GetGroupedPageMetricsData,
|
|
1845
1857
|
GetGroupedPageMetricsErrors,
|
|
1846
1858
|
GetGroupedPageMetricsResponses,
|
|
1859
|
+
GetGroupEnvVarData,
|
|
1860
|
+
GetGroupEnvVarErrors,
|
|
1861
|
+
GetGroupEnvVarResponses,
|
|
1847
1862
|
GetGroupRepositoryData,
|
|
1848
1863
|
GetGroupRepositoryErrors,
|
|
1849
1864
|
GetGroupRepositoryResponses,
|
|
@@ -1859,6 +1874,9 @@ import type {
|
|
|
1859
1874
|
GetHttpChallengeDebugData,
|
|
1860
1875
|
GetHttpChallengeDebugErrors,
|
|
1861
1876
|
GetHttpChallengeDebugResponses,
|
|
1877
|
+
GetHttpCheckData,
|
|
1878
|
+
GetHttpCheckErrors,
|
|
1879
|
+
GetHttpCheckResponses,
|
|
1862
1880
|
GetHttpChecksCapabilitiesData,
|
|
1863
1881
|
GetHttpChecksCapabilitiesErrors,
|
|
1864
1882
|
GetHttpChecksCapabilitiesResponses,
|
|
@@ -1955,6 +1973,9 @@ import type {
|
|
|
1955
1973
|
GetNotificationRouteData,
|
|
1956
1974
|
GetNotificationRouteErrors,
|
|
1957
1975
|
GetNotificationRouteResponses,
|
|
1976
|
+
GetOidcProviderData,
|
|
1977
|
+
GetOidcProviderErrors,
|
|
1978
|
+
GetOidcProviderResponses,
|
|
1958
1979
|
GetOnDemandCertStatusData,
|
|
1959
1980
|
GetOnDemandCertStatusErrors,
|
|
1960
1981
|
GetOnDemandCertStatusResponses,
|
|
@@ -2015,6 +2036,9 @@ import type {
|
|
|
2015
2036
|
GetPlatformInfoData,
|
|
2016
2037
|
GetPlatformInfoErrors,
|
|
2017
2038
|
GetPlatformInfoResponses,
|
|
2039
|
+
GetPlatformShieldEntryData,
|
|
2040
|
+
GetPlatformShieldEntryErrors,
|
|
2041
|
+
GetPlatformShieldEntryResponses,
|
|
2018
2042
|
GetPluginAiToolsData,
|
|
2019
2043
|
GetPluginAiToolsErrors,
|
|
2020
2044
|
GetPluginAiToolsResponses,
|
|
@@ -2090,6 +2114,9 @@ import type {
|
|
|
2090
2114
|
GetProjectRuntimeHealthErrors,
|
|
2091
2115
|
GetProjectRuntimeHealthResponses,
|
|
2092
2116
|
GetProjectsData,
|
|
2117
|
+
GetProjectSecretData,
|
|
2118
|
+
GetProjectSecretErrors,
|
|
2119
|
+
GetProjectSecretResponses,
|
|
2093
2120
|
GetProjectsErrors,
|
|
2094
2121
|
GetProjectServiceEnvironmentVariablesData,
|
|
2095
2122
|
GetProjectServiceEnvironmentVariablesErrors,
|
|
@@ -2103,6 +2130,9 @@ import type {
|
|
|
2103
2130
|
GetProjectsHealthData,
|
|
2104
2131
|
GetProjectsHealthErrors,
|
|
2105
2132
|
GetProjectsHealthResponses,
|
|
2133
|
+
GetProjectShieldEntryData,
|
|
2134
|
+
GetProjectShieldEntryErrors,
|
|
2135
|
+
GetProjectShieldEntryResponses,
|
|
2106
2136
|
GetProjectsMonitorHealthData,
|
|
2107
2137
|
GetProjectsMonitorHealthErrors,
|
|
2108
2138
|
GetProjectsMonitorHealthResponses,
|
|
@@ -2140,9 +2170,12 @@ import type {
|
|
|
2140
2170
|
GetProxyLogsData,
|
|
2141
2171
|
GetProxyLogsErrors,
|
|
2142
2172
|
GetProxyLogsResponses,
|
|
2173
|
+
GetPublicBranchData,
|
|
2174
|
+
GetPublicBranchErrors,
|
|
2143
2175
|
GetPublicBranchesData,
|
|
2144
2176
|
GetPublicBranchesErrors,
|
|
2145
2177
|
GetPublicBranchesResponses,
|
|
2178
|
+
GetPublicBranchResponses,
|
|
2146
2179
|
GetPublicComposePreviewData,
|
|
2147
2180
|
GetPublicComposePreviewErrors,
|
|
2148
2181
|
GetPublicComposePreviewResponses,
|
|
@@ -2191,9 +2224,12 @@ import type {
|
|
|
2191
2224
|
GetRemoteExternalImageData,
|
|
2192
2225
|
GetRemoteExternalImageErrors,
|
|
2193
2226
|
GetRemoteExternalImageResponses,
|
|
2227
|
+
GetRepositoryBranchData,
|
|
2228
|
+
GetRepositoryBranchErrors,
|
|
2194
2229
|
GetRepositoryBranchesData,
|
|
2195
2230
|
GetRepositoryBranchesErrors,
|
|
2196
2231
|
GetRepositoryBranchesResponses,
|
|
2232
|
+
GetRepositoryBranchResponses,
|
|
2197
2233
|
GetRepositoryByIdData,
|
|
2198
2234
|
GetRepositoryByIdErrors,
|
|
2199
2235
|
GetRepositoryByIdResponses,
|
|
@@ -2227,6 +2263,9 @@ import type {
|
|
|
2227
2263
|
GetRestoreCapabilitiesData,
|
|
2228
2264
|
GetRestoreCapabilitiesErrors,
|
|
2229
2265
|
GetRestoreCapabilitiesResponses,
|
|
2266
|
+
GetRestoredDatabasesData,
|
|
2267
|
+
GetRestoredDatabasesErrors,
|
|
2268
|
+
GetRestoredDatabasesResponses,
|
|
2230
2269
|
GetRestoreRunData,
|
|
2231
2270
|
GetRestoreRunErrors,
|
|
2232
2271
|
GetRestoreRunResponses,
|
|
@@ -2377,6 +2416,9 @@ import type {
|
|
|
2377
2416
|
GetStatusPageSubscriptionsData,
|
|
2378
2417
|
GetStatusPageSubscriptionsErrors,
|
|
2379
2418
|
GetStatusPageSubscriptionsResponses,
|
|
2419
|
+
GetStatusPageWebhookData,
|
|
2420
|
+
GetStatusPageWebhookErrors,
|
|
2421
|
+
GetStatusPageWebhookResponses,
|
|
2380
2422
|
GetSuggestionDefaultData,
|
|
2381
2423
|
GetSuggestionDefaultErrors,
|
|
2382
2424
|
GetSuggestionDefaultResponses,
|
|
@@ -2394,6 +2436,9 @@ import type {
|
|
|
2394
2436
|
GetTagsByRepositoryIdResponses,
|
|
2395
2437
|
GetTeamData,
|
|
2396
2438
|
GetTeamErrors,
|
|
2439
|
+
GetTeamMemberData,
|
|
2440
|
+
GetTeamMemberErrors,
|
|
2441
|
+
GetTeamMemberResponses,
|
|
2397
2442
|
GetTeamResponses,
|
|
2398
2443
|
GetTelemetrySettingsData,
|
|
2399
2444
|
GetTelemetrySettingsErrors,
|
|
@@ -2458,9 +2503,12 @@ import type {
|
|
|
2458
2503
|
GetUserConversationUsageData,
|
|
2459
2504
|
GetUserConversationUsageErrors,
|
|
2460
2505
|
GetUserConversationUsageResponses,
|
|
2506
|
+
GetUserData,
|
|
2507
|
+
GetUserErrors,
|
|
2461
2508
|
GetUserPendingActionData,
|
|
2462
2509
|
GetUserPendingActionErrors,
|
|
2463
2510
|
GetUserPendingActionResponses,
|
|
2511
|
+
GetUserResponses,
|
|
2464
2512
|
GetVaultEligibilityData,
|
|
2465
2513
|
GetVaultEligibilityErrors,
|
|
2466
2514
|
GetVaultEligibilityResponses,
|
|
@@ -3375,6 +3423,9 @@ import type {
|
|
|
3375
3423
|
NodeMetricsDeleteAlertRuleData,
|
|
3376
3424
|
NodeMetricsDeleteAlertRuleErrors,
|
|
3377
3425
|
NodeMetricsDeleteAlertRuleResponses,
|
|
3426
|
+
NodeMetricsGetAlertRuleData,
|
|
3427
|
+
NodeMetricsGetAlertRuleErrors,
|
|
3428
|
+
NodeMetricsGetAlertRuleResponses,
|
|
3378
3429
|
NodeMetricsGetAlertRulesData,
|
|
3379
3430
|
NodeMetricsGetAlertRulesErrors,
|
|
3380
3431
|
NodeMetricsGetAlertRulesResponses,
|
|
@@ -4494,9 +4545,15 @@ import type {
|
|
|
4494
4545
|
UpdateGitSettingsResponses,
|
|
4495
4546
|
UpdateGlobalMcpData,
|
|
4496
4547
|
UpdateGlobalMcpErrors,
|
|
4548
|
+
UpdateGlobalMcpPutData,
|
|
4549
|
+
UpdateGlobalMcpPutErrors,
|
|
4550
|
+
UpdateGlobalMcpPutResponses,
|
|
4497
4551
|
UpdateGlobalMcpResponses,
|
|
4498
4552
|
UpdateGlobalSkillData,
|
|
4499
4553
|
UpdateGlobalSkillErrors,
|
|
4554
|
+
UpdateGlobalSkillPutData,
|
|
4555
|
+
UpdateGlobalSkillPutErrors,
|
|
4556
|
+
UpdateGlobalSkillPutResponses,
|
|
4500
4557
|
UpdateGlobalSkillResponses,
|
|
4501
4558
|
UpdateGroupEnvVarData,
|
|
4502
4559
|
UpdateGroupEnvVarErrors,
|
|
@@ -4531,11 +4588,17 @@ import type {
|
|
|
4531
4588
|
UpdateIpAccessControlData,
|
|
4532
4589
|
UpdateIpAccessControlErrors,
|
|
4533
4590
|
UpdateIpAccessControlResponses,
|
|
4591
|
+
UpdateLinkDatabaseData,
|
|
4592
|
+
UpdateLinkDatabaseErrors,
|
|
4593
|
+
UpdateLinkDatabaseResponses,
|
|
4534
4594
|
UpdateManagedDomainData,
|
|
4535
4595
|
UpdateManagedDomainErrors,
|
|
4536
4596
|
UpdateManagedDomainResponses,
|
|
4537
4597
|
UpdateMcpData,
|
|
4538
4598
|
UpdateMcpErrors,
|
|
4599
|
+
UpdateMcpPutData,
|
|
4600
|
+
UpdateMcpPutErrors,
|
|
4601
|
+
UpdateMcpPutResponses,
|
|
4539
4602
|
UpdateMcpResponses,
|
|
4540
4603
|
UpdateModelCatalogSettingsData,
|
|
4541
4604
|
UpdateModelCatalogSettingsErrors,
|
|
@@ -4655,6 +4718,9 @@ import type {
|
|
|
4655
4718
|
UpdateShieldSettingsResponses,
|
|
4656
4719
|
UpdateSkillData,
|
|
4657
4720
|
UpdateSkillErrors,
|
|
4721
|
+
UpdateSkillPutData,
|
|
4722
|
+
UpdateSkillPutErrors,
|
|
4723
|
+
UpdateSkillPutResponses,
|
|
4658
4724
|
UpdateSkillResponses,
|
|
4659
4725
|
UpdateSlackProviderData,
|
|
4660
4726
|
UpdateSlackProviderErrors,
|
|
@@ -4797,6 +4863,9 @@ import type {
|
|
|
4797
4863
|
WebhookTriggerData,
|
|
4798
4864
|
WebhookTriggerErrors,
|
|
4799
4865
|
WebhookTriggerResponses,
|
|
4866
|
+
WireguardMeshDisableData,
|
|
4867
|
+
WireguardMeshDisableErrors,
|
|
4868
|
+
WireguardMeshDisableResponses,
|
|
4800
4869
|
WireguardMeshEnableData,
|
|
4801
4870
|
WireguardMeshEnableErrors,
|
|
4802
4871
|
WireguardMeshEnableResponses,
|
|
@@ -5842,6 +5911,26 @@ export const deleteOidcProvider = <ThrowOnError extends boolean = false>(
|
|
|
5842
5911
|
...options,
|
|
5843
5912
|
});
|
|
5844
5913
|
|
|
5914
|
+
/**
|
|
5915
|
+
* One OIDC provider, as listed; the client secret is masked.
|
|
5916
|
+
*/
|
|
5917
|
+
export const getOidcProvider = <ThrowOnError extends boolean = false>(
|
|
5918
|
+
options: Options<GetOidcProviderData, ThrowOnError>,
|
|
5919
|
+
): RequestResult<
|
|
5920
|
+
GetOidcProviderResponses,
|
|
5921
|
+
GetOidcProviderErrors,
|
|
5922
|
+
ThrowOnError
|
|
5923
|
+
> =>
|
|
5924
|
+
(options.client ?? client).get<
|
|
5925
|
+
GetOidcProviderResponses,
|
|
5926
|
+
GetOidcProviderErrors,
|
|
5927
|
+
ThrowOnError
|
|
5928
|
+
>({
|
|
5929
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
5930
|
+
url: "/admin/oidc/providers/{provider_id}",
|
|
5931
|
+
...options,
|
|
5932
|
+
});
|
|
5933
|
+
|
|
5845
5934
|
export const updateOidcProvider = <ThrowOnError extends boolean = false>(
|
|
5846
5935
|
options: Options<UpdateOidcProviderData, ThrowOnError>,
|
|
5847
5936
|
): RequestResult<UpdateOidcProviderResponses, unknown, ThrowOnError> =>
|
|
@@ -6789,7 +6878,7 @@ export const rejectBlueprintVersion = <ThrowOnError extends boolean = false>(
|
|
|
6789
6878
|
/**
|
|
6790
6879
|
* Start a chat with the Temps assistant.
|
|
6791
6880
|
*
|
|
6792
|
-
* The assistant runs on the AI gateway (
|
|
6881
|
+
* The assistant runs on the AI gateway (one provider key is enough), has no
|
|
6793
6882
|
* sandbox, and acts with the calling user's own permissions: every tool call
|
|
6794
6883
|
* is replayed through the real router with their auth, and every change is a
|
|
6795
6884
|
* proposal the user confirms in the UI. When no provider is configured this
|
|
@@ -14152,9 +14241,6 @@ export const promoteClusterMember = <ThrowOnError extends boolean = false>(
|
|
|
14152
14241
|
|
|
14153
14242
|
/**
|
|
14154
14243
|
* Fetch a time-series range for a single metric on an external service.
|
|
14155
|
-
*
|
|
14156
|
-
* Pass `percentile` to compute a histogram quantile instead of a plain
|
|
14157
|
-
* gauge/counter average.
|
|
14158
14244
|
*/
|
|
14159
14245
|
export const externalServiceMetricsGetRange = <
|
|
14160
14246
|
ThrowOnError extends boolean = false,
|
|
@@ -14519,6 +14605,30 @@ export const unlinkServiceFromProject = <ThrowOnError extends boolean = false>(
|
|
|
14519
14605
|
ThrowOnError
|
|
14520
14606
|
>({ url: "/external-services/{id}/projects/{project_id}", ...options });
|
|
14521
14607
|
|
|
14608
|
+
/**
|
|
14609
|
+
* Change the database a project's apps read from a service
|
|
14610
|
+
*/
|
|
14611
|
+
export const updateLinkDatabase = <ThrowOnError extends boolean = false>(
|
|
14612
|
+
options: Options<UpdateLinkDatabaseData, ThrowOnError>,
|
|
14613
|
+
): RequestResult<
|
|
14614
|
+
UpdateLinkDatabaseResponses,
|
|
14615
|
+
UpdateLinkDatabaseErrors,
|
|
14616
|
+
ThrowOnError
|
|
14617
|
+
> =>
|
|
14618
|
+
(options.client ?? client).put<
|
|
14619
|
+
UpdateLinkDatabaseResponses,
|
|
14620
|
+
UpdateLinkDatabaseErrors,
|
|
14621
|
+
ThrowOnError
|
|
14622
|
+
>({
|
|
14623
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
14624
|
+
url: "/external-services/{id}/projects/{project_id}/database",
|
|
14625
|
+
...options,
|
|
14626
|
+
headers: {
|
|
14627
|
+
"Content-Type": "application/json",
|
|
14628
|
+
...options.headers,
|
|
14629
|
+
},
|
|
14630
|
+
});
|
|
14631
|
+
|
|
14522
14632
|
/**
|
|
14523
14633
|
* Get all environment variables for a service-project pair
|
|
14524
14634
|
*
|
|
@@ -14705,6 +14815,31 @@ export const listRestoreRunsForService = <ThrowOnError extends boolean = false>(
|
|
|
14705
14815
|
...options,
|
|
14706
14816
|
});
|
|
14707
14817
|
|
|
14818
|
+
/**
|
|
14819
|
+
* What the latest restore of a PostgreSQL service brought back
|
|
14820
|
+
*
|
|
14821
|
+
* The databases and login roles the restore recorded, each restored database
|
|
14822
|
+
* with the linked projects that read it, and each linked database the backup
|
|
14823
|
+
* does not have while restored data sits unused, with a restored database the
|
|
14824
|
+
* link could read instead.
|
|
14825
|
+
*/
|
|
14826
|
+
export const getRestoredDatabases = <ThrowOnError extends boolean = false>(
|
|
14827
|
+
options: Options<GetRestoredDatabasesData, ThrowOnError>,
|
|
14828
|
+
): RequestResult<
|
|
14829
|
+
GetRestoredDatabasesResponses,
|
|
14830
|
+
GetRestoredDatabasesErrors,
|
|
14831
|
+
ThrowOnError
|
|
14832
|
+
> =>
|
|
14833
|
+
(options.client ?? client).get<
|
|
14834
|
+
GetRestoredDatabasesResponses,
|
|
14835
|
+
GetRestoredDatabasesErrors,
|
|
14836
|
+
ThrowOnError
|
|
14837
|
+
>({
|
|
14838
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
14839
|
+
url: "/external-services/{id}/restored-databases",
|
|
14840
|
+
...options,
|
|
14841
|
+
});
|
|
14842
|
+
|
|
14708
14843
|
/**
|
|
14709
14844
|
* Retry a failed cluster service initialization.
|
|
14710
14845
|
*
|
|
@@ -16163,8 +16298,12 @@ export const getProviderConnections = <ThrowOnError extends boolean = false>(
|
|
|
16163
16298
|
|
|
16164
16299
|
/**
|
|
16165
16300
|
* Partially update credentials for an existing git provider. Only the fields
|
|
16166
|
-
* you send are replaced; omitted fields keep their stored values.
|
|
16167
|
-
*
|
|
16301
|
+
* you send are replaced; omitted fields keep their stored values. Basic-auth
|
|
16302
|
+
* providers rotate `username`/`password`, SSH-key providers `private_key` and
|
|
16303
|
+
* `public_key` together; both refuse fields of another auth method. For the
|
|
16304
|
+
* other auth methods, fields that don't apply are ignored. A new token or
|
|
16305
|
+
* password is also written to the provider's connections. The response names
|
|
16306
|
+
* the replaced fields, never their values.
|
|
16168
16307
|
*/
|
|
16169
16308
|
export const updateGitProviderCredentials = <
|
|
16170
16309
|
ThrowOnError extends boolean = false,
|
|
@@ -16308,6 +16447,27 @@ export const getPublicRepository = <ThrowOnError extends boolean = false>(
|
|
|
16308
16447
|
ThrowOnError
|
|
16309
16448
|
>({ url: "/git/public/{provider}/{owner}/{repo}", ...options });
|
|
16310
16449
|
|
|
16450
|
+
/**
|
|
16451
|
+
* Look up one branch of a public repository by exact name
|
|
16452
|
+
*
|
|
16453
|
+
* Reads the branch by name (after the visibility check every public route
|
|
16454
|
+
* makes), so it is exact for repositories with more branches than
|
|
16455
|
+
* `.../branches` returns. A 404 here is the only sound basis for telling a
|
|
16456
|
+
* user a branch does not exist.
|
|
16457
|
+
*/
|
|
16458
|
+
export const getPublicBranch = <ThrowOnError extends boolean = false>(
|
|
16459
|
+
options: Options<GetPublicBranchData, ThrowOnError>,
|
|
16460
|
+
): RequestResult<
|
|
16461
|
+
GetPublicBranchResponses,
|
|
16462
|
+
GetPublicBranchErrors,
|
|
16463
|
+
ThrowOnError
|
|
16464
|
+
> =>
|
|
16465
|
+
(options.client ?? client).get<
|
|
16466
|
+
GetPublicBranchResponses,
|
|
16467
|
+
GetPublicBranchErrors,
|
|
16468
|
+
ThrowOnError
|
|
16469
|
+
>({ url: "/git/public/{provider}/{owner}/{repo}/branch", ...options });
|
|
16470
|
+
|
|
16311
16471
|
/**
|
|
16312
16472
|
* Get branches for a public repository (supports GitHub and GitLab)
|
|
16313
16473
|
*/
|
|
@@ -17638,6 +17798,28 @@ export const adminGetNode = <ThrowOnError extends boolean = false>(
|
|
|
17638
17798
|
...options,
|
|
17639
17799
|
});
|
|
17640
17800
|
|
|
17801
|
+
/**
|
|
17802
|
+
* Read a worker node's effective build limits, and whether they are the
|
|
17803
|
+
* defaults. The control plane (node 0) has no per-node build limits and is
|
|
17804
|
+
* answered with a 400 that says so.
|
|
17805
|
+
*/
|
|
17806
|
+
export const adminGetNodeBuildLimits = <ThrowOnError extends boolean = false>(
|
|
17807
|
+
options: Options<AdminGetNodeBuildLimitsData, ThrowOnError>,
|
|
17808
|
+
): RequestResult<
|
|
17809
|
+
AdminGetNodeBuildLimitsResponses,
|
|
17810
|
+
AdminGetNodeBuildLimitsErrors,
|
|
17811
|
+
ThrowOnError
|
|
17812
|
+
> =>
|
|
17813
|
+
(options.client ?? client).get<
|
|
17814
|
+
AdminGetNodeBuildLimitsResponses,
|
|
17815
|
+
AdminGetNodeBuildLimitsErrors,
|
|
17816
|
+
ThrowOnError
|
|
17817
|
+
>({
|
|
17818
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
17819
|
+
url: "/internal/nodes/{node_id}/build-limits",
|
|
17820
|
+
...options,
|
|
17821
|
+
});
|
|
17822
|
+
|
|
17641
17823
|
export const adminSetNodeBuildLimits = <ThrowOnError extends boolean = false>(
|
|
17642
17824
|
options: Options<AdminSetNodeBuildLimitsData, ThrowOnError>,
|
|
17643
17825
|
): RequestResult<
|
|
@@ -19211,6 +19393,33 @@ export const nodeSshHostKey = <ThrowOnError extends boolean = false>(
|
|
|
19211
19393
|
},
|
|
19212
19394
|
});
|
|
19213
19395
|
|
|
19396
|
+
/**
|
|
19397
|
+
* Turn the cluster's WireGuard mesh off (idempotent: an off mesh answers
|
|
19398
|
+
* with its status). Refused with 409 and the reason while anything depends
|
|
19399
|
+
* on it: nodes on the mesh, pairings in progress, or the control plane's
|
|
19400
|
+
* overlay running on its mesh address (`can_disable` / `disable_blocker` in
|
|
19401
|
+
* `GET /nodes/wireguard` say so in advance). This changes the cluster
|
|
19402
|
+
* setting: new joins and pairings over the mesh are refused and the control
|
|
19403
|
+
* plane stops tending its end; the control plane's kernel interface is left
|
|
19404
|
+
* in place until the host removes it or Temps restarts.
|
|
19405
|
+
*/
|
|
19406
|
+
export const wireguardMeshDisable = <ThrowOnError extends boolean = false>(
|
|
19407
|
+
options?: Options<WireguardMeshDisableData, ThrowOnError>,
|
|
19408
|
+
): RequestResult<
|
|
19409
|
+
WireguardMeshDisableResponses,
|
|
19410
|
+
WireguardMeshDisableErrors,
|
|
19411
|
+
ThrowOnError
|
|
19412
|
+
> =>
|
|
19413
|
+
(options?.client ?? client).delete<
|
|
19414
|
+
WireguardMeshDisableResponses,
|
|
19415
|
+
WireguardMeshDisableErrors,
|
|
19416
|
+
ThrowOnError
|
|
19417
|
+
>({
|
|
19418
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
19419
|
+
url: "/nodes/wireguard",
|
|
19420
|
+
...options,
|
|
19421
|
+
});
|
|
19422
|
+
|
|
19214
19423
|
/**
|
|
19215
19424
|
* Mesh state, per-node connection and join onboarding for the Worker Nodes
|
|
19216
19425
|
* page.
|
|
@@ -19234,8 +19443,8 @@ export const wireguardMeshStatusGet = <ThrowOnError extends boolean = false>(
|
|
|
19234
19443
|
|
|
19235
19444
|
/**
|
|
19236
19445
|
* Turn on the cluster's WireGuard mesh (idempotent). The running control
|
|
19237
|
-
* plane brings its end up within a minute and nodes follow
|
|
19238
|
-
*
|
|
19446
|
+
* plane brings its end up within a minute and nodes follow.
|
|
19447
|
+
* `DELETE /nodes/wireguard` turns it off while nothing depends on it.
|
|
19239
19448
|
*/
|
|
19240
19449
|
export const wireguardMeshEnable = <ThrowOnError extends boolean = false>(
|
|
19241
19450
|
options: Options<WireguardMeshEnableData, ThrowOnError>,
|
|
@@ -19385,6 +19594,26 @@ export const nodeMetricsDeleteAlertRule = <
|
|
|
19385
19594
|
...options,
|
|
19386
19595
|
});
|
|
19387
19596
|
|
|
19597
|
+
/**
|
|
19598
|
+
* One monitoring alert rule of a node, as listed.
|
|
19599
|
+
*/
|
|
19600
|
+
export const nodeMetricsGetAlertRule = <ThrowOnError extends boolean = false>(
|
|
19601
|
+
options: Options<NodeMetricsGetAlertRuleData, ThrowOnError>,
|
|
19602
|
+
): RequestResult<
|
|
19603
|
+
NodeMetricsGetAlertRuleResponses,
|
|
19604
|
+
NodeMetricsGetAlertRuleErrors,
|
|
19605
|
+
ThrowOnError
|
|
19606
|
+
> =>
|
|
19607
|
+
(options.client ?? client).get<
|
|
19608
|
+
NodeMetricsGetAlertRuleResponses,
|
|
19609
|
+
NodeMetricsGetAlertRuleErrors,
|
|
19610
|
+
ThrowOnError
|
|
19611
|
+
>({
|
|
19612
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
19613
|
+
url: "/nodes/{id}/metrics/alert-rules/{rule_id}",
|
|
19614
|
+
...options,
|
|
19615
|
+
});
|
|
19616
|
+
|
|
19388
19617
|
/**
|
|
19389
19618
|
* Update a node-scoped monitoring alert rule.
|
|
19390
19619
|
*
|
|
@@ -21874,6 +22103,23 @@ export const deleteGroupEnvVar = <ThrowOnError extends boolean = false>(
|
|
|
21874
22103
|
...options,
|
|
21875
22104
|
});
|
|
21876
22105
|
|
|
22106
|
+
/**
|
|
22107
|
+
* One variable every project in the group inherits, as listed: a plain
|
|
22108
|
+
* value is masked and a secret's value is never returned.
|
|
22109
|
+
*/
|
|
22110
|
+
export const getGroupEnvVar = <ThrowOnError extends boolean = false>(
|
|
22111
|
+
options: Options<GetGroupEnvVarData, ThrowOnError>,
|
|
22112
|
+
): RequestResult<GetGroupEnvVarResponses, GetGroupEnvVarErrors, ThrowOnError> =>
|
|
22113
|
+
(options.client ?? client).get<
|
|
22114
|
+
GetGroupEnvVarResponses,
|
|
22115
|
+
GetGroupEnvVarErrors,
|
|
22116
|
+
ThrowOnError
|
|
22117
|
+
>({
|
|
22118
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
22119
|
+
url: "/project-groups/{group_id}/env-vars/{var_id}",
|
|
22120
|
+
...options,
|
|
22121
|
+
});
|
|
22122
|
+
|
|
21877
22123
|
export const updateGroupEnvVar = <ThrowOnError extends boolean = false>(
|
|
21878
22124
|
options: Options<UpdateGroupEnvVarData, ThrowOnError>,
|
|
21879
22125
|
): RequestResult<
|
|
@@ -24034,6 +24280,29 @@ export const createAnalyticsIngestKey = <ThrowOnError extends boolean = false>(
|
|
|
24034
24280
|
},
|
|
24035
24281
|
});
|
|
24036
24282
|
|
|
24283
|
+
/**
|
|
24284
|
+
* One of a project's analytics ingest keys, active or revoked.
|
|
24285
|
+
*
|
|
24286
|
+
* The same shape as in the list; `public_key` is not a secret and is
|
|
24287
|
+
* returned unmasked, see [`create_analytics_ingest_key`].
|
|
24288
|
+
*/
|
|
24289
|
+
export const getAnalyticsIngestKey = <ThrowOnError extends boolean = false>(
|
|
24290
|
+
options: Options<GetAnalyticsIngestKeyData, ThrowOnError>,
|
|
24291
|
+
): RequestResult<
|
|
24292
|
+
GetAnalyticsIngestKeyResponses,
|
|
24293
|
+
GetAnalyticsIngestKeyErrors,
|
|
24294
|
+
ThrowOnError
|
|
24295
|
+
> =>
|
|
24296
|
+
(options.client ?? client).get<
|
|
24297
|
+
GetAnalyticsIngestKeyResponses,
|
|
24298
|
+
GetAnalyticsIngestKeyErrors,
|
|
24299
|
+
ThrowOnError
|
|
24300
|
+
>({
|
|
24301
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
24302
|
+
url: "/projects/{project_id}/analytics/ingest-keys/{key_id}",
|
|
24303
|
+
...options,
|
|
24304
|
+
});
|
|
24305
|
+
|
|
24037
24306
|
/**
|
|
24038
24307
|
* Update an ingest key's label, origin allowlist, or rate limit.
|
|
24039
24308
|
*
|
|
@@ -26000,7 +26269,11 @@ export const getEnvironmentVariables = <ThrowOnError extends boolean = false>(
|
|
|
26000
26269
|
GetEnvironmentVariablesResponses,
|
|
26001
26270
|
GetEnvironmentVariablesErrors,
|
|
26002
26271
|
ThrowOnError
|
|
26003
|
-
>({
|
|
26272
|
+
>({
|
|
26273
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26274
|
+
url: "/projects/{project_id}/env-vars",
|
|
26275
|
+
...options,
|
|
26276
|
+
});
|
|
26004
26277
|
|
|
26005
26278
|
/**
|
|
26006
26279
|
* Create a new environment variable
|
|
@@ -26017,6 +26290,7 @@ export const createEnvironmentVariable = <ThrowOnError extends boolean = false>(
|
|
|
26017
26290
|
CreateEnvironmentVariableErrors,
|
|
26018
26291
|
ThrowOnError
|
|
26019
26292
|
>({
|
|
26293
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26020
26294
|
url: "/projects/{project_id}/env-vars",
|
|
26021
26295
|
...options,
|
|
26022
26296
|
headers: {
|
|
@@ -26051,7 +26325,11 @@ export const getResolvedEnvironmentVariables = <
|
|
|
26051
26325
|
GetResolvedEnvironmentVariablesResponses,
|
|
26052
26326
|
GetResolvedEnvironmentVariablesErrors,
|
|
26053
26327
|
ThrowOnError
|
|
26054
|
-
>({
|
|
26328
|
+
>({
|
|
26329
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26330
|
+
url: "/projects/{project_id}/env-vars/resolved",
|
|
26331
|
+
...options,
|
|
26332
|
+
});
|
|
26055
26333
|
|
|
26056
26334
|
/**
|
|
26057
26335
|
* Reveal the plaintext value of a resolved environment variable.
|
|
@@ -26082,6 +26360,7 @@ export const getResolvedEnvironmentVariableValue = <
|
|
|
26082
26360
|
GetResolvedEnvironmentVariableValueErrors,
|
|
26083
26361
|
ThrowOnError
|
|
26084
26362
|
>({
|
|
26363
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26085
26364
|
url: "/projects/{project_id}/env-vars/resolved/{key}/value",
|
|
26086
26365
|
...options,
|
|
26087
26366
|
});
|
|
@@ -26136,7 +26415,11 @@ export const getEnvironmentVariableValue = <
|
|
|
26136
26415
|
GetEnvironmentVariableValueResponses,
|
|
26137
26416
|
GetEnvironmentVariableValueErrors,
|
|
26138
26417
|
ThrowOnError
|
|
26139
|
-
>({
|
|
26418
|
+
>({
|
|
26419
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26420
|
+
url: "/projects/{project_id}/env-vars/{key}/value",
|
|
26421
|
+
...options,
|
|
26422
|
+
});
|
|
26140
26423
|
|
|
26141
26424
|
/**
|
|
26142
26425
|
* Delete an environment variable
|
|
@@ -26152,7 +26435,11 @@ export const deleteEnvironmentVariable = <ThrowOnError extends boolean = false>(
|
|
|
26152
26435
|
DeleteEnvironmentVariableResponses,
|
|
26153
26436
|
DeleteEnvironmentVariableErrors,
|
|
26154
26437
|
ThrowOnError
|
|
26155
|
-
>({
|
|
26438
|
+
>({
|
|
26439
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26440
|
+
url: "/projects/{project_id}/env-vars/{var_id}",
|
|
26441
|
+
...options,
|
|
26442
|
+
});
|
|
26156
26443
|
|
|
26157
26444
|
/**
|
|
26158
26445
|
* Get one environment variable of a project by its ID
|
|
@@ -26194,6 +26481,7 @@ export const updateEnvironmentVariable = <ThrowOnError extends boolean = false>(
|
|
|
26194
26481
|
UpdateEnvironmentVariableErrors,
|
|
26195
26482
|
ThrowOnError
|
|
26196
26483
|
>({
|
|
26484
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26197
26485
|
url: "/projects/{project_id}/env-vars/{var_id}",
|
|
26198
26486
|
...options,
|
|
26199
26487
|
headers: {
|
|
@@ -26244,7 +26532,11 @@ export const getEnvironments = <ThrowOnError extends boolean = false>(
|
|
|
26244
26532
|
GetEnvironmentsResponses,
|
|
26245
26533
|
GetEnvironmentsErrors,
|
|
26246
26534
|
ThrowOnError
|
|
26247
|
-
>({
|
|
26535
|
+
>({
|
|
26536
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26537
|
+
url: "/projects/{project_id}/environments",
|
|
26538
|
+
...options,
|
|
26539
|
+
});
|
|
26248
26540
|
|
|
26249
26541
|
/**
|
|
26250
26542
|
* Create a new environment for a project
|
|
@@ -26261,6 +26553,7 @@ export const createEnvironment = <ThrowOnError extends boolean = false>(
|
|
|
26261
26553
|
CreateEnvironmentErrors,
|
|
26262
26554
|
ThrowOnError
|
|
26263
26555
|
>({
|
|
26556
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26264
26557
|
url: "/projects/{project_id}/environments",
|
|
26265
26558
|
...options,
|
|
26266
26559
|
headers: {
|
|
@@ -26289,7 +26582,11 @@ export const deleteEnvironment = <ThrowOnError extends boolean = false>(
|
|
|
26289
26582
|
DeleteEnvironmentResponses,
|
|
26290
26583
|
DeleteEnvironmentErrors,
|
|
26291
26584
|
ThrowOnError
|
|
26292
|
-
>({
|
|
26585
|
+
>({
|
|
26586
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26587
|
+
url: "/projects/{project_id}/environments/{env_id}",
|
|
26588
|
+
...options,
|
|
26589
|
+
});
|
|
26293
26590
|
|
|
26294
26591
|
/**
|
|
26295
26592
|
* Get a specific environment by ID or slug
|
|
@@ -26301,7 +26598,11 @@ export const getEnvironment = <ThrowOnError extends boolean = false>(
|
|
|
26301
26598
|
GetEnvironmentResponses,
|
|
26302
26599
|
GetEnvironmentErrors,
|
|
26303
26600
|
ThrowOnError
|
|
26304
|
-
>({
|
|
26601
|
+
>({
|
|
26602
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26603
|
+
url: "/projects/{project_id}/environments/{env_id}",
|
|
26604
|
+
...options,
|
|
26605
|
+
});
|
|
26305
26606
|
|
|
26306
26607
|
export const getEnvironmentCrons = <ThrowOnError extends boolean = false>(
|
|
26307
26608
|
options: Options<GetEnvironmentCronsData, ThrowOnError>,
|
|
@@ -26359,6 +26660,7 @@ export const getEnvironmentDomains = <ThrowOnError extends boolean = false>(
|
|
|
26359
26660
|
GetEnvironmentDomainsErrors,
|
|
26360
26661
|
ThrowOnError
|
|
26361
26662
|
>({
|
|
26663
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26362
26664
|
url: "/projects/{project_id}/environments/{env_id}/domains",
|
|
26363
26665
|
...options,
|
|
26364
26666
|
});
|
|
@@ -26378,6 +26680,7 @@ export const addEnvironmentDomain = <ThrowOnError extends boolean = false>(
|
|
|
26378
26680
|
AddEnvironmentDomainErrors,
|
|
26379
26681
|
ThrowOnError
|
|
26380
26682
|
>({
|
|
26683
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26381
26684
|
url: "/projects/{project_id}/environments/{env_id}/domains",
|
|
26382
26685
|
...options,
|
|
26383
26686
|
headers: {
|
|
@@ -26401,6 +26704,7 @@ export const deleteEnvironmentDomain = <ThrowOnError extends boolean = false>(
|
|
|
26401
26704
|
DeleteEnvironmentDomainErrors,
|
|
26402
26705
|
ThrowOnError
|
|
26403
26706
|
>({
|
|
26707
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26404
26708
|
url: "/projects/{project_id}/environments/{env_id}/domains/{domain_id}",
|
|
26405
26709
|
...options,
|
|
26406
26710
|
});
|
|
@@ -26455,6 +26759,7 @@ export const updateEnvironmentSettings = <ThrowOnError extends boolean = false>(
|
|
|
26455
26759
|
UpdateEnvironmentSettingsErrors,
|
|
26456
26760
|
ThrowOnError
|
|
26457
26761
|
>({
|
|
26762
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26458
26763
|
url: "/projects/{project_id}/environments/{env_id}/settings",
|
|
26459
26764
|
...options,
|
|
26460
26765
|
headers: {
|
|
@@ -26480,7 +26785,11 @@ export const sleepEnvironment = <ThrowOnError extends boolean = false>(
|
|
|
26480
26785
|
SleepEnvironmentResponses,
|
|
26481
26786
|
SleepEnvironmentErrors,
|
|
26482
26787
|
ThrowOnError
|
|
26483
|
-
>({
|
|
26788
|
+
>({
|
|
26789
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26790
|
+
url: "/projects/{project_id}/environments/{env_id}/sleep",
|
|
26791
|
+
...options,
|
|
26792
|
+
});
|
|
26484
26793
|
|
|
26485
26794
|
/**
|
|
26486
26795
|
* Rename the auto-managed subdomain for an environment.
|
|
@@ -26503,6 +26812,7 @@ export const updateEnvironmentSubdomain = <
|
|
|
26503
26812
|
UpdateEnvironmentSubdomainErrors,
|
|
26504
26813
|
ThrowOnError
|
|
26505
26814
|
>({
|
|
26815
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26506
26816
|
url: "/projects/{project_id}/environments/{env_id}/subdomain",
|
|
26507
26817
|
...options,
|
|
26508
26818
|
headers: {
|
|
@@ -26549,7 +26859,11 @@ export const wakeEnvironment = <ThrowOnError extends boolean = false>(
|
|
|
26549
26859
|
WakeEnvironmentResponses,
|
|
26550
26860
|
WakeEnvironmentErrors,
|
|
26551
26861
|
ThrowOnError
|
|
26552
|
-
>({
|
|
26862
|
+
>({
|
|
26863
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
26864
|
+
url: "/projects/{project_id}/environments/{env_id}/wake",
|
|
26865
|
+
...options,
|
|
26866
|
+
});
|
|
26553
26867
|
|
|
26554
26868
|
/**
|
|
26555
26869
|
* Purge cached static assets for a specific environment.
|
|
@@ -27429,7 +27743,8 @@ export const getShieldSummary = <ThrowOnError extends boolean = false>(
|
|
|
27429
27743
|
* List bypass tokens for an environment
|
|
27430
27744
|
*
|
|
27431
27745
|
* The active tokens valid here: the environment's own and the project-wide
|
|
27432
|
-
* ones. Secrets are never returned.
|
|
27746
|
+
* ones. Secrets are never returned. Not paginated: bounded by design, a
|
|
27747
|
+
* project holds at most 100 active tokens (minting more answers 409).
|
|
27433
27748
|
*/
|
|
27434
27749
|
export const listShieldTokens = <ThrowOnError extends boolean = false>(
|
|
27435
27750
|
options: Options<ListShieldTokensData, ThrowOnError>,
|
|
@@ -28706,6 +29021,26 @@ export const deleteErrorInboundFilter = <ThrowOnError extends boolean = false>(
|
|
|
28706
29021
|
...options,
|
|
28707
29022
|
});
|
|
28708
29023
|
|
|
29024
|
+
/**
|
|
29025
|
+
* Get one inbound filter and how many events it dropped.
|
|
29026
|
+
*/
|
|
29027
|
+
export const getErrorInboundFilter = <ThrowOnError extends boolean = false>(
|
|
29028
|
+
options: Options<GetErrorInboundFilterData, ThrowOnError>,
|
|
29029
|
+
): RequestResult<
|
|
29030
|
+
GetErrorInboundFilterResponses,
|
|
29031
|
+
GetErrorInboundFilterErrors,
|
|
29032
|
+
ThrowOnError
|
|
29033
|
+
> =>
|
|
29034
|
+
(options.client ?? client).get<
|
|
29035
|
+
GetErrorInboundFilterResponses,
|
|
29036
|
+
GetErrorInboundFilterErrors,
|
|
29037
|
+
ThrowOnError
|
|
29038
|
+
>({
|
|
29039
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
29040
|
+
url: "/projects/{project_id}/error-inbound-filters/{filter_id}",
|
|
29041
|
+
...options,
|
|
29042
|
+
});
|
|
29043
|
+
|
|
28709
29044
|
/**
|
|
28710
29045
|
* Change an inbound filter's pattern or switch it on or off.
|
|
28711
29046
|
*/
|
|
@@ -29430,7 +29765,7 @@ export const restoreFlag = <ThrowOnError extends boolean = false>(
|
|
|
29430
29765
|
});
|
|
29431
29766
|
|
|
29432
29767
|
/**
|
|
29433
|
-
* List
|
|
29768
|
+
* List a project's active funnels, newest first, with their steps
|
|
29434
29769
|
*/
|
|
29435
29770
|
export const listFunnels = <ThrowOnError extends boolean = false>(
|
|
29436
29771
|
options: Options<ListFunnelsData, ThrowOnError>,
|
|
@@ -29512,8 +29847,26 @@ export const deleteFunnel = <ThrowOnError extends boolean = false>(
|
|
|
29512
29847
|
...options,
|
|
29513
29848
|
});
|
|
29514
29849
|
|
|
29850
|
+
/**
|
|
29851
|
+
* Get one funnel with its steps
|
|
29852
|
+
*/
|
|
29853
|
+
export const getFunnel = <ThrowOnError extends boolean = false>(
|
|
29854
|
+
options: Options<GetFunnelData, ThrowOnError>,
|
|
29855
|
+
): RequestResult<GetFunnelResponses, GetFunnelErrors, ThrowOnError> =>
|
|
29856
|
+
(options.client ?? client).get<
|
|
29857
|
+
GetFunnelResponses,
|
|
29858
|
+
GetFunnelErrors,
|
|
29859
|
+
ThrowOnError
|
|
29860
|
+
>({
|
|
29861
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
29862
|
+
url: "/projects/{project_id}/funnels/{funnel_id}",
|
|
29863
|
+
...options,
|
|
29864
|
+
});
|
|
29865
|
+
|
|
29515
29866
|
/**
|
|
29516
29867
|
* Update a funnel
|
|
29868
|
+
*
|
|
29869
|
+
* Replaces the funnel's name, description and steps.
|
|
29517
29870
|
*/
|
|
29518
29871
|
export const updateFunnel = <ThrowOnError extends boolean = false>(
|
|
29519
29872
|
options: Options<UpdateFunnelData, ThrowOnError>,
|
|
@@ -29803,6 +30156,19 @@ export const deleteHttpCheck = <ThrowOnError extends boolean = false>(
|
|
|
29803
30156
|
...options,
|
|
29804
30157
|
});
|
|
29805
30158
|
|
|
30159
|
+
export const getHttpCheck = <ThrowOnError extends boolean = false>(
|
|
30160
|
+
options: Options<GetHttpCheckData, ThrowOnError>,
|
|
30161
|
+
): RequestResult<GetHttpCheckResponses, GetHttpCheckErrors, ThrowOnError> =>
|
|
30162
|
+
(options.client ?? client).get<
|
|
30163
|
+
GetHttpCheckResponses,
|
|
30164
|
+
GetHttpCheckErrors,
|
|
30165
|
+
ThrowOnError
|
|
30166
|
+
>({
|
|
30167
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
30168
|
+
url: "/projects/{project_id}/http-checks/{check_id}",
|
|
30169
|
+
...options,
|
|
30170
|
+
});
|
|
30171
|
+
|
|
29806
30172
|
export const setHttpCheckEnabled = <ThrowOnError extends boolean = false>(
|
|
29807
30173
|
options: Options<SetHttpCheckEnabledData, ThrowOnError>,
|
|
29808
30174
|
): RequestResult<
|
|
@@ -30562,7 +30928,7 @@ export const getMcp = <ThrowOnError extends boolean = false>(
|
|
|
30562
30928
|
export const updateMcp = <ThrowOnError extends boolean = false>(
|
|
30563
30929
|
options: Options<UpdateMcpData, ThrowOnError>,
|
|
30564
30930
|
): RequestResult<UpdateMcpResponses, UpdateMcpErrors, ThrowOnError> =>
|
|
30565
|
-
(options.client ?? client).
|
|
30931
|
+
(options.client ?? client).patch<
|
|
30566
30932
|
UpdateMcpResponses,
|
|
30567
30933
|
UpdateMcpErrors,
|
|
30568
30934
|
ThrowOnError
|
|
@@ -30576,6 +30942,29 @@ export const updateMcp = <ThrowOnError extends boolean = false>(
|
|
|
30576
30942
|
},
|
|
30577
30943
|
});
|
|
30578
30944
|
|
|
30945
|
+
/**
|
|
30946
|
+
* Deprecated alias of `PATCH /projects/{project_id}/mcp-servers/{slug}`: a partial update, where omitted
|
|
30947
|
+
* or `null` fields keep their current value.
|
|
30948
|
+
*
|
|
30949
|
+
* @deprecated
|
|
30950
|
+
*/
|
|
30951
|
+
export const updateMcpPut = <ThrowOnError extends boolean = false>(
|
|
30952
|
+
options: Options<UpdateMcpPutData, ThrowOnError>,
|
|
30953
|
+
): RequestResult<UpdateMcpPutResponses, UpdateMcpPutErrors, ThrowOnError> =>
|
|
30954
|
+
(options.client ?? client).put<
|
|
30955
|
+
UpdateMcpPutResponses,
|
|
30956
|
+
UpdateMcpPutErrors,
|
|
30957
|
+
ThrowOnError
|
|
30958
|
+
>({
|
|
30959
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
30960
|
+
url: "/projects/{project_id}/mcp-servers/{slug}",
|
|
30961
|
+
...options,
|
|
30962
|
+
headers: {
|
|
30963
|
+
"Content-Type": "application/json",
|
|
30964
|
+
...options.headers,
|
|
30965
|
+
},
|
|
30966
|
+
});
|
|
30967
|
+
|
|
30579
30968
|
export const revealMcpConfig = <ThrowOnError extends boolean = false>(
|
|
30580
30969
|
options: Options<RevealMcpConfigData, ThrowOnError>,
|
|
30581
30970
|
): RequestResult<
|
|
@@ -31372,7 +31761,7 @@ export const revokeSandboxService = <ThrowOnError extends boolean = false>(
|
|
|
31372
31761
|
});
|
|
31373
31762
|
|
|
31374
31763
|
/**
|
|
31375
|
-
* List project secrets (metadata only — values never returned).
|
|
31764
|
+
* List project secrets (metadata only — values never returned), newest first.
|
|
31376
31765
|
*/
|
|
31377
31766
|
export const listProjectSecrets = <ThrowOnError extends boolean = false>(
|
|
31378
31767
|
options: Options<ListProjectSecretsData, ThrowOnError>,
|
|
@@ -31385,7 +31774,11 @@ export const listProjectSecrets = <ThrowOnError extends boolean = false>(
|
|
|
31385
31774
|
ListProjectSecretsResponses,
|
|
31386
31775
|
ListProjectSecretsErrors,
|
|
31387
31776
|
ThrowOnError
|
|
31388
|
-
>({
|
|
31777
|
+
>({
|
|
31778
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
31779
|
+
url: "/projects/{project_id}/secrets",
|
|
31780
|
+
...options,
|
|
31781
|
+
});
|
|
31389
31782
|
|
|
31390
31783
|
/**
|
|
31391
31784
|
* Create a new secret. The value is encrypted before storage and will be
|
|
@@ -31404,6 +31797,7 @@ export const createProjectSecret = <ThrowOnError extends boolean = false>(
|
|
|
31404
31797
|
CreateProjectSecretErrors,
|
|
31405
31798
|
ThrowOnError
|
|
31406
31799
|
>({
|
|
31800
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
31407
31801
|
url: "/projects/{project_id}/secrets",
|
|
31408
31802
|
...options,
|
|
31409
31803
|
headers: {
|
|
@@ -31427,12 +31821,38 @@ export const deleteProjectSecret = <ThrowOnError extends boolean = false>(
|
|
|
31427
31821
|
DeleteProjectSecretResponses,
|
|
31428
31822
|
DeleteProjectSecretErrors,
|
|
31429
31823
|
ThrowOnError
|
|
31430
|
-
>({
|
|
31824
|
+
>({
|
|
31825
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
31826
|
+
url: "/projects/{project_id}/secrets/{secret_id}",
|
|
31827
|
+
...options,
|
|
31828
|
+
});
|
|
31431
31829
|
|
|
31432
31830
|
/**
|
|
31433
|
-
*
|
|
31434
|
-
|
|
31435
|
-
|
|
31831
|
+
* Get one project secret (metadata only — the value is never returned).
|
|
31832
|
+
*/
|
|
31833
|
+
export const getProjectSecret = <ThrowOnError extends boolean = false>(
|
|
31834
|
+
options: Options<GetProjectSecretData, ThrowOnError>,
|
|
31835
|
+
): RequestResult<
|
|
31836
|
+
GetProjectSecretResponses,
|
|
31837
|
+
GetProjectSecretErrors,
|
|
31838
|
+
ThrowOnError
|
|
31839
|
+
> =>
|
|
31840
|
+
(options.client ?? client).get<
|
|
31841
|
+
GetProjectSecretResponses,
|
|
31842
|
+
GetProjectSecretErrors,
|
|
31843
|
+
ThrowOnError
|
|
31844
|
+
>({
|
|
31845
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
31846
|
+
url: "/projects/{project_id}/secrets/{secret_id}",
|
|
31847
|
+
...options,
|
|
31848
|
+
});
|
|
31849
|
+
|
|
31850
|
+
/**
|
|
31851
|
+
* Update a project secret. Only the fields in the body change: a field left
|
|
31852
|
+
* out keeps its stored value, so rotating the value alone keeps the secret's
|
|
31853
|
+
* environments, preview flag and compose services. Value rotation requires a
|
|
31854
|
+
* redeploy to take effect — running containers keep their currently-mounted
|
|
31855
|
+
* values until the next deployment.
|
|
31436
31856
|
*/
|
|
31437
31857
|
export const updateProjectSecret = <ThrowOnError extends boolean = false>(
|
|
31438
31858
|
options: Options<UpdateProjectSecretData, ThrowOnError>,
|
|
@@ -31446,6 +31866,7 @@ export const updateProjectSecret = <ThrowOnError extends boolean = false>(
|
|
|
31446
31866
|
UpdateProjectSecretErrors,
|
|
31447
31867
|
ThrowOnError
|
|
31448
31868
|
>({
|
|
31869
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
31449
31870
|
url: "/projects/{project_id}/secrets/{secret_id}",
|
|
31450
31871
|
...options,
|
|
31451
31872
|
headers: {
|
|
@@ -31600,7 +32021,8 @@ export const updateProjectSettings = <ThrowOnError extends boolean = false>(
|
|
|
31600
32021
|
* List a project's Shield entries
|
|
31601
32022
|
*
|
|
31602
32023
|
* Address ranges and fingerprints this project allows, logs, challenges or
|
|
31603
|
-
* blocks, whatever the lists say.
|
|
32024
|
+
* blocks, whatever the lists say. Not paginated: bounded by design, a project
|
|
32025
|
+
* holds at most 500 entries (creating more answers 409), all returned here.
|
|
31604
32026
|
*/
|
|
31605
32027
|
export const listProjectShieldEntries = <ThrowOnError extends boolean = false>(
|
|
31606
32028
|
options: Options<ListProjectShieldEntriesData, ThrowOnError>,
|
|
@@ -31666,6 +32088,26 @@ export const deleteProjectShieldEntry = <ThrowOnError extends boolean = false>(
|
|
|
31666
32088
|
...options,
|
|
31667
32089
|
});
|
|
31668
32090
|
|
|
32091
|
+
/**
|
|
32092
|
+
* Get one of a project's Shield entries
|
|
32093
|
+
*/
|
|
32094
|
+
export const getProjectShieldEntry = <ThrowOnError extends boolean = false>(
|
|
32095
|
+
options: Options<GetProjectShieldEntryData, ThrowOnError>,
|
|
32096
|
+
): RequestResult<
|
|
32097
|
+
GetProjectShieldEntryResponses,
|
|
32098
|
+
GetProjectShieldEntryErrors,
|
|
32099
|
+
ThrowOnError
|
|
32100
|
+
> =>
|
|
32101
|
+
(options.client ?? client).get<
|
|
32102
|
+
GetProjectShieldEntryResponses,
|
|
32103
|
+
GetProjectShieldEntryErrors,
|
|
32104
|
+
ThrowOnError
|
|
32105
|
+
>({
|
|
32106
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
32107
|
+
url: "/projects/{project_id}/shield/entries/{entry_id}",
|
|
32108
|
+
...options,
|
|
32109
|
+
});
|
|
32110
|
+
|
|
31669
32111
|
/**
|
|
31670
32112
|
* Change a project's Shield entry
|
|
31671
32113
|
*/
|
|
@@ -31770,7 +32212,7 @@ export const getSkill = <ThrowOnError extends boolean = false>(
|
|
|
31770
32212
|
export const updateSkill = <ThrowOnError extends boolean = false>(
|
|
31771
32213
|
options: Options<UpdateSkillData, ThrowOnError>,
|
|
31772
32214
|
): RequestResult<UpdateSkillResponses, UpdateSkillErrors, ThrowOnError> =>
|
|
31773
|
-
(options.client ?? client).
|
|
32215
|
+
(options.client ?? client).patch<
|
|
31774
32216
|
UpdateSkillResponses,
|
|
31775
32217
|
UpdateSkillErrors,
|
|
31776
32218
|
ThrowOnError
|
|
@@ -31784,6 +32226,29 @@ export const updateSkill = <ThrowOnError extends boolean = false>(
|
|
|
31784
32226
|
},
|
|
31785
32227
|
});
|
|
31786
32228
|
|
|
32229
|
+
/**
|
|
32230
|
+
* Deprecated alias of `PATCH /projects/{project_id}/skills/{slug}`: a partial update, where omitted
|
|
32231
|
+
* or `null` fields keep their current value.
|
|
32232
|
+
*
|
|
32233
|
+
* @deprecated
|
|
32234
|
+
*/
|
|
32235
|
+
export const updateSkillPut = <ThrowOnError extends boolean = false>(
|
|
32236
|
+
options: Options<UpdateSkillPutData, ThrowOnError>,
|
|
32237
|
+
): RequestResult<UpdateSkillPutResponses, UpdateSkillPutErrors, ThrowOnError> =>
|
|
32238
|
+
(options.client ?? client).put<
|
|
32239
|
+
UpdateSkillPutResponses,
|
|
32240
|
+
UpdateSkillPutErrors,
|
|
32241
|
+
ThrowOnError
|
|
32242
|
+
>({
|
|
32243
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
32244
|
+
url: "/projects/{project_id}/skills/{slug}",
|
|
32245
|
+
...options,
|
|
32246
|
+
headers: {
|
|
32247
|
+
"Content-Type": "application/json",
|
|
32248
|
+
...options.headers,
|
|
32249
|
+
},
|
|
32250
|
+
});
|
|
32251
|
+
|
|
31787
32252
|
/**
|
|
31788
32253
|
* Download a skill's archive (tar.gz) — project-scoped.
|
|
31789
32254
|
*/
|
|
@@ -32703,6 +33168,34 @@ export const getRepositoryPresetByName = <ThrowOnError extends boolean = false>(
|
|
|
32703
33168
|
...options,
|
|
32704
33169
|
});
|
|
32705
33170
|
|
|
33171
|
+
/**
|
|
33172
|
+
* Look up one branch of a repository by exact name
|
|
33173
|
+
*
|
|
33174
|
+
* Reads the branch by name, so it is exact for repositories with more
|
|
33175
|
+
* branches than `GET repositories/{owner}/{repo}/branches` returns. A 404
|
|
33176
|
+
* is only returned once the repository itself has been read through the
|
|
33177
|
+
* same connection: a provider answers 404 for every branch of a private
|
|
33178
|
+
* repository the credential can no longer see, and that is reported as a
|
|
33179
|
+
* failed lookup, not a missing branch. A 404 here is the only sound basis
|
|
33180
|
+
* for telling a user a branch does not exist.
|
|
33181
|
+
*/
|
|
33182
|
+
export const getRepositoryBranch = <ThrowOnError extends boolean = false>(
|
|
33183
|
+
options: Options<GetRepositoryBranchData, ThrowOnError>,
|
|
33184
|
+
): RequestResult<
|
|
33185
|
+
GetRepositoryBranchResponses,
|
|
33186
|
+
GetRepositoryBranchErrors,
|
|
33187
|
+
ThrowOnError
|
|
33188
|
+
> =>
|
|
33189
|
+
(options.client ?? client).get<
|
|
33190
|
+
GetRepositoryBranchResponses,
|
|
33191
|
+
GetRepositoryBranchErrors,
|
|
33192
|
+
ThrowOnError
|
|
33193
|
+
>({
|
|
33194
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
33195
|
+
url: "/repositories/{owner}/{repo}/branch",
|
|
33196
|
+
...options,
|
|
33197
|
+
});
|
|
33198
|
+
|
|
32706
33199
|
/**
|
|
32707
33200
|
* Get repository branches
|
|
32708
33201
|
*/
|
|
@@ -33929,7 +34422,7 @@ export const updateGlobalMcp = <ThrowOnError extends boolean = false>(
|
|
|
33929
34422
|
UpdateGlobalMcpErrors,
|
|
33930
34423
|
ThrowOnError
|
|
33931
34424
|
> =>
|
|
33932
|
-
(options.client ?? client).
|
|
34425
|
+
(options.client ?? client).patch<
|
|
33933
34426
|
UpdateGlobalMcpResponses,
|
|
33934
34427
|
UpdateGlobalMcpErrors,
|
|
33935
34428
|
ThrowOnError
|
|
@@ -33943,6 +34436,33 @@ export const updateGlobalMcp = <ThrowOnError extends boolean = false>(
|
|
|
33943
34436
|
},
|
|
33944
34437
|
});
|
|
33945
34438
|
|
|
34439
|
+
/**
|
|
34440
|
+
* Deprecated alias of `PATCH /settings/mcp-servers/{slug}`: a partial update, where omitted
|
|
34441
|
+
* or `null` fields keep their current value.
|
|
34442
|
+
*
|
|
34443
|
+
* @deprecated
|
|
34444
|
+
*/
|
|
34445
|
+
export const updateGlobalMcpPut = <ThrowOnError extends boolean = false>(
|
|
34446
|
+
options: Options<UpdateGlobalMcpPutData, ThrowOnError>,
|
|
34447
|
+
): RequestResult<
|
|
34448
|
+
UpdateGlobalMcpPutResponses,
|
|
34449
|
+
UpdateGlobalMcpPutErrors,
|
|
34450
|
+
ThrowOnError
|
|
34451
|
+
> =>
|
|
34452
|
+
(options.client ?? client).put<
|
|
34453
|
+
UpdateGlobalMcpPutResponses,
|
|
34454
|
+
UpdateGlobalMcpPutErrors,
|
|
34455
|
+
ThrowOnError
|
|
34456
|
+
>({
|
|
34457
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
34458
|
+
url: "/settings/mcp-servers/{slug}",
|
|
34459
|
+
...options,
|
|
34460
|
+
headers: {
|
|
34461
|
+
"Content-Type": "application/json",
|
|
34462
|
+
...options.headers,
|
|
34463
|
+
},
|
|
34464
|
+
});
|
|
34465
|
+
|
|
33946
34466
|
export const revealGlobalMcpConfig = <ThrowOnError extends boolean = false>(
|
|
33947
34467
|
options: Options<RevealGlobalMcpConfigData, ThrowOnError>,
|
|
33948
34468
|
): RequestResult<
|
|
@@ -34156,7 +34676,9 @@ export const updateShieldSettings = <ThrowOnError extends boolean = false>(
|
|
|
34156
34676
|
/**
|
|
34157
34677
|
* List platform Shield entries
|
|
34158
34678
|
*
|
|
34159
|
-
* Entries that apply to every project.
|
|
34679
|
+
* Entries that apply to every project. Not paginated: bounded by design, the
|
|
34680
|
+
* platform holds at most 500 entries (creating more answers 409), all
|
|
34681
|
+
* returned here.
|
|
34160
34682
|
*/
|
|
34161
34683
|
export const listPlatformShieldEntries = <ThrowOnError extends boolean = false>(
|
|
34162
34684
|
options?: Options<ListPlatformShieldEntriesData, ThrowOnError>,
|
|
@@ -34219,6 +34741,26 @@ export const deletePlatformShieldEntry = <ThrowOnError extends boolean = false>(
|
|
|
34219
34741
|
...options,
|
|
34220
34742
|
});
|
|
34221
34743
|
|
|
34744
|
+
/**
|
|
34745
|
+
* Get one platform Shield entry
|
|
34746
|
+
*/
|
|
34747
|
+
export const getPlatformShieldEntry = <ThrowOnError extends boolean = false>(
|
|
34748
|
+
options: Options<GetPlatformShieldEntryData, ThrowOnError>,
|
|
34749
|
+
): RequestResult<
|
|
34750
|
+
GetPlatformShieldEntryResponses,
|
|
34751
|
+
GetPlatformShieldEntryErrors,
|
|
34752
|
+
ThrowOnError
|
|
34753
|
+
> =>
|
|
34754
|
+
(options.client ?? client).get<
|
|
34755
|
+
GetPlatformShieldEntryResponses,
|
|
34756
|
+
GetPlatformShieldEntryErrors,
|
|
34757
|
+
ThrowOnError
|
|
34758
|
+
>({
|
|
34759
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
34760
|
+
url: "/settings/shield/entries/{entry_id}",
|
|
34761
|
+
...options,
|
|
34762
|
+
});
|
|
34763
|
+
|
|
34222
34764
|
/**
|
|
34223
34765
|
* Change a platform Shield entry
|
|
34224
34766
|
*/
|
|
@@ -34412,7 +34954,7 @@ export const updateGlobalSkill = <ThrowOnError extends boolean = false>(
|
|
|
34412
34954
|
UpdateGlobalSkillErrors,
|
|
34413
34955
|
ThrowOnError
|
|
34414
34956
|
> =>
|
|
34415
|
-
(options.client ?? client).
|
|
34957
|
+
(options.client ?? client).patch<
|
|
34416
34958
|
UpdateGlobalSkillResponses,
|
|
34417
34959
|
UpdateGlobalSkillErrors,
|
|
34418
34960
|
ThrowOnError
|
|
@@ -34426,6 +34968,33 @@ export const updateGlobalSkill = <ThrowOnError extends boolean = false>(
|
|
|
34426
34968
|
},
|
|
34427
34969
|
});
|
|
34428
34970
|
|
|
34971
|
+
/**
|
|
34972
|
+
* Deprecated alias of `PATCH /settings/skills/{slug}`: a partial update, where omitted
|
|
34973
|
+
* or `null` fields keep their current value.
|
|
34974
|
+
*
|
|
34975
|
+
* @deprecated
|
|
34976
|
+
*/
|
|
34977
|
+
export const updateGlobalSkillPut = <ThrowOnError extends boolean = false>(
|
|
34978
|
+
options: Options<UpdateGlobalSkillPutData, ThrowOnError>,
|
|
34979
|
+
): RequestResult<
|
|
34980
|
+
UpdateGlobalSkillPutResponses,
|
|
34981
|
+
UpdateGlobalSkillPutErrors,
|
|
34982
|
+
ThrowOnError
|
|
34983
|
+
> =>
|
|
34984
|
+
(options.client ?? client).put<
|
|
34985
|
+
UpdateGlobalSkillPutResponses,
|
|
34986
|
+
UpdateGlobalSkillPutErrors,
|
|
34987
|
+
ThrowOnError
|
|
34988
|
+
>({
|
|
34989
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
34990
|
+
url: "/settings/skills/{slug}",
|
|
34991
|
+
...options,
|
|
34992
|
+
headers: {
|
|
34993
|
+
"Content-Type": "application/json",
|
|
34994
|
+
...options.headers,
|
|
34995
|
+
},
|
|
34996
|
+
});
|
|
34997
|
+
|
|
34429
34998
|
/**
|
|
34430
34999
|
* Download a skill's archive (tar.gz) — global.
|
|
34431
35000
|
*/
|
|
@@ -35218,7 +35787,7 @@ export const listStatusPageWebhooks = <ThrowOnError extends boolean = false>(
|
|
|
35218
35787
|
* Each new public event of the page (an incident update or resolution, a
|
|
35219
35788
|
* scheduled maintenance window) is posted to the URL as JSON, signed in
|
|
35220
35789
|
* `X-Temps-Signature` with the secret returned here, once. The URL must be
|
|
35221
|
-
* `https://` and resolve to a public address.
|
|
35790
|
+
* `https://` and resolve to a public address. `enabled` defaults to `true`.
|
|
35222
35791
|
*/
|
|
35223
35792
|
export const createStatusPageWebhook = <ThrowOnError extends boolean = false>(
|
|
35224
35793
|
options: Options<CreateStatusPageWebhookData, ThrowOnError>,
|
|
@@ -35263,6 +35832,29 @@ export const deleteStatusPageWebhook = <ThrowOnError extends boolean = false>(
|
|
|
35263
35832
|
...options,
|
|
35264
35833
|
});
|
|
35265
35834
|
|
|
35835
|
+
/**
|
|
35836
|
+
* One webhook of a status page
|
|
35837
|
+
*
|
|
35838
|
+
* The same shape as in the list, with the outcome of its last delivery.
|
|
35839
|
+
* The signing secret is never returned again.
|
|
35840
|
+
*/
|
|
35841
|
+
export const getStatusPageWebhook = <ThrowOnError extends boolean = false>(
|
|
35842
|
+
options: Options<GetStatusPageWebhookData, ThrowOnError>,
|
|
35843
|
+
): RequestResult<
|
|
35844
|
+
GetStatusPageWebhookResponses,
|
|
35845
|
+
GetStatusPageWebhookErrors,
|
|
35846
|
+
ThrowOnError
|
|
35847
|
+
> =>
|
|
35848
|
+
(options.client ?? client).get<
|
|
35849
|
+
GetStatusPageWebhookResponses,
|
|
35850
|
+
GetStatusPageWebhookErrors,
|
|
35851
|
+
ThrowOnError
|
|
35852
|
+
>({
|
|
35853
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35854
|
+
url: "/status-pages/{status_page_id}/webhooks/{webhook_id}",
|
|
35855
|
+
...options,
|
|
35856
|
+
});
|
|
35857
|
+
|
|
35266
35858
|
/**
|
|
35267
35859
|
* Change a webhook's URL or switch it on or off
|
|
35268
35860
|
*/
|
|
@@ -35723,6 +36315,22 @@ export const removeTeamMember = <ThrowOnError extends boolean = false>(
|
|
|
35723
36315
|
...options,
|
|
35724
36316
|
});
|
|
35725
36317
|
|
|
36318
|
+
/**
|
|
36319
|
+
* One member of a team, as listed.
|
|
36320
|
+
*/
|
|
36321
|
+
export const getTeamMember = <ThrowOnError extends boolean = false>(
|
|
36322
|
+
options: Options<GetTeamMemberData, ThrowOnError>,
|
|
36323
|
+
): RequestResult<GetTeamMemberResponses, GetTeamMemberErrors, ThrowOnError> =>
|
|
36324
|
+
(options.client ?? client).get<
|
|
36325
|
+
GetTeamMemberResponses,
|
|
36326
|
+
GetTeamMemberErrors,
|
|
36327
|
+
ThrowOnError
|
|
36328
|
+
>({
|
|
36329
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36330
|
+
url: "/teams/{team_id}/members/{user_id}",
|
|
36331
|
+
...options,
|
|
36332
|
+
});
|
|
36333
|
+
|
|
35726
36334
|
export const updateTeamMemberRole = <ThrowOnError extends boolean = false>(
|
|
35727
36335
|
options: Options<UpdateTeamMemberRoleData, ThrowOnError>,
|
|
35728
36336
|
): RequestResult<
|
|
@@ -36182,6 +36790,21 @@ export const deleteUser = <ThrowOnError extends boolean = false>(
|
|
|
36182
36790
|
...options,
|
|
36183
36791
|
});
|
|
36184
36792
|
|
|
36793
|
+
/**
|
|
36794
|
+
* One user with their roles, as listed (deleted users included, with
|
|
36795
|
+
* `deleted_at` set).
|
|
36796
|
+
*/
|
|
36797
|
+
export const getUser = <ThrowOnError extends boolean = false>(
|
|
36798
|
+
options: Options<GetUserData, ThrowOnError>,
|
|
36799
|
+
): RequestResult<GetUserResponses, GetUserErrors, ThrowOnError> =>
|
|
36800
|
+
(options.client ?? client).get<GetUserResponses, GetUserErrors, ThrowOnError>(
|
|
36801
|
+
{
|
|
36802
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36803
|
+
url: "/users/{user_id}",
|
|
36804
|
+
...options,
|
|
36805
|
+
},
|
|
36806
|
+
);
|
|
36807
|
+
|
|
36185
36808
|
/**
|
|
36186
36809
|
* Update user information (admin only)
|
|
36187
36810
|
*/
|