vercel-api-js 1.13.0 → 1.14.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.
- package/dist/{components-j923ydcw.cjs → components-l5748yis.cjs} +364 -52
- package/dist/{components-eqgrkxe2.js → components-nvgbng8u.js} +351 -51
- package/dist/components.cjs +15 -3
- package/dist/components.d.mts +278 -37
- package/dist/components.d.mts.map +1 -1
- package/dist/components.mjs +1 -1
- package/dist/effect.cjs +1 -1
- package/dist/effect.d.mts +31 -5
- package/dist/effect.d.mts.map +1 -1
- package/dist/effect.mjs +1 -1
- package/dist/index.cjs +789 -159
- package/dist/index.d.ts +16560 -37080
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{schemas-kwntyl9n.js → schemas-bz496bmo.js} +7517 -2016
- package/dist/{schemas-nxmmau12.cjs → schemas-rypj5lzu.cjs} +8068 -2033
- package/dist/schemas.cjs +553 -19
- package/dist/schemas.d.mts +1723 -684
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.cjs +1814 -460
- package/dist/types.d.mts +14781 -36593
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +1580 -322
- package/package.json +7 -8
|
@@ -1146,13 +1146,14 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
1146
1146
|
}
|
|
1147
1147
|
/**
|
|
1148
1148
|
* @summary Create a connector
|
|
1149
|
-
* @description Create a connector
|
|
1149
|
+
* @description Create a connector and optionally link it to a project. Use `type` with complete provider data, or use `service` with `connectionMethod` so Connect can supply the type, endpoints, templates, and defaults.
|
|
1150
1150
|
* @link /v1/connect/connectors
|
|
1151
|
-
*/ async function createConnector({ config } = {}) {
|
|
1151
|
+
*/ async function createConnector({ queryParams, config } = {}) {
|
|
1152
1152
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
1153
1153
|
const data = await request({
|
|
1154
1154
|
method: "POST",
|
|
1155
1155
|
url: `/v1/connect/connectors`,
|
|
1156
|
+
queryParams,
|
|
1156
1157
|
...requestConfig,
|
|
1157
1158
|
headers: {
|
|
1158
1159
|
...requestConfig.headers
|
|
@@ -1179,25 +1180,6 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
1179
1180
|
});
|
|
1180
1181
|
return data;
|
|
1181
1182
|
}
|
|
1182
|
-
/**
|
|
1183
|
-
* @summary Import Connect tokens
|
|
1184
|
-
* @description Import access and refresh tokens for a connector identified by the path parameter.
|
|
1185
|
-
* @link /v1/connect/token/{connector}/import
|
|
1186
|
-
*/ async function importConnectorTokens({ pathParams, config } = {}) {
|
|
1187
|
-
const { client: request = client, ...requestConfig } = config ?? {};
|
|
1188
|
-
if (!pathParams.connector) {
|
|
1189
|
-
throw new Error(`Missing required path parameter: connector`);
|
|
1190
|
-
}
|
|
1191
|
-
const data = await request({
|
|
1192
|
-
method: "POST",
|
|
1193
|
-
url: `/v1/connect/token/${pathParams.connector}/import`,
|
|
1194
|
-
...requestConfig,
|
|
1195
|
-
headers: {
|
|
1196
|
-
...requestConfig.headers
|
|
1197
|
-
}
|
|
1198
|
-
});
|
|
1199
|
-
return data;
|
|
1200
|
-
}
|
|
1201
1183
|
/**
|
|
1202
1184
|
* @summary Create a Connect authorization request
|
|
1203
1185
|
* @description Create an authorization request for a connector and return the URL and verifier details needed to complete the flow.
|
|
@@ -1217,25 +1199,6 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
1217
1199
|
});
|
|
1218
1200
|
return data;
|
|
1219
1201
|
}
|
|
1220
|
-
/**
|
|
1221
|
-
* @summary Create a Connect installation request
|
|
1222
|
-
* @description Create an installation request for a connector and return the URL and verifier details needed to complete the flow.
|
|
1223
|
-
* @link /v1/connect/install/{connector}
|
|
1224
|
-
*/ async function createConnectorInstallationRequest({ pathParams, config } = {}) {
|
|
1225
|
-
const { client: request = client, ...requestConfig } = config ?? {};
|
|
1226
|
-
if (!pathParams.connector) {
|
|
1227
|
-
throw new Error(`Missing required path parameter: connector`);
|
|
1228
|
-
}
|
|
1229
|
-
const data = await request({
|
|
1230
|
-
method: "POST",
|
|
1231
|
-
url: `/v1/connect/install/${pathParams.connector}`,
|
|
1232
|
-
...requestConfig,
|
|
1233
|
-
headers: {
|
|
1234
|
-
...requestConfig.headers
|
|
1235
|
-
}
|
|
1236
|
-
});
|
|
1237
|
-
return data;
|
|
1238
|
-
}
|
|
1239
1202
|
/**
|
|
1240
1203
|
* @summary Get deployment events
|
|
1241
1204
|
* @description Get the build logs of a deployment by deployment ID and build ID. It can work as an infinite stream of logs or as a JSON endpoint depending on the input parameters.
|
|
@@ -3330,6 +3293,25 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3330
3293
|
});
|
|
3331
3294
|
return data;
|
|
3332
3295
|
}
|
|
3296
|
+
/**
|
|
3297
|
+
* @summary Revoke Installation Credential
|
|
3298
|
+
* @description Retires a superseded installation credential, so a partner can complete a rotation it started with `POST /credentials/rotate` — the leaked credential stops working without the customer having to reinstall. Authenticated by a live installation credential plus the integration's client secret. The credential to retire is named in the body rather than being the one that authenticates, so the ordinary flow is: rotate, store the replacement, then authenticate with the replacement and revoke the old one. Refuses to retire an installation's last live credential. Rotation exists so remediation is not customer-visible; revoking the only credential would undo that and leave the install needing a reinstall.
|
|
3299
|
+
* @link /v1/installations/{integrationConfigurationId}/credentials/revoke
|
|
3300
|
+
*/ async function revokeInstallationCredential({ pathParams, config } = {}) {
|
|
3301
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3302
|
+
if (!pathParams.integrationConfigurationId) {
|
|
3303
|
+
throw new Error(`Missing required path parameter: integrationConfigurationId`);
|
|
3304
|
+
}
|
|
3305
|
+
const data = await request({
|
|
3306
|
+
method: "POST",
|
|
3307
|
+
url: `/v1/installations/${pathParams.integrationConfigurationId}/credentials/revoke`,
|
|
3308
|
+
...requestConfig,
|
|
3309
|
+
headers: {
|
|
3310
|
+
...requestConfig.headers
|
|
3311
|
+
}
|
|
3312
|
+
});
|
|
3313
|
+
return data;
|
|
3314
|
+
}
|
|
3333
3315
|
/**
|
|
3334
3316
|
* @summary Create Event
|
|
3335
3317
|
* @description Partner notifies Vercel of any changes made to an Installation or a Resource. Vercel is expected to use `list-resources` and other read APIs to get the new state.<br/> <br/> `resource.updated` event should be dispatched when any state of a resource linked to Vercel is modified by the partner.<br/> `installation.updated` event should be dispatched when an installation's billing plan is changed via the provider instead of Vercel.<br/> <br/> Resource update use cases: <br/> <br/> - The user renames a database in the partner’s application. The partner should dispatch a `resource.updated` event to notify Vercel to update the resource in Vercel’s datastores.<br/> - A resource has been suspended due to a lack of use. The partner should dispatch a `resource.updated` event to notify Vercel to update the resource's status in Vercel's datastores.<br/>
|
|
@@ -3785,6 +3767,276 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3785
3767
|
});
|
|
3786
3768
|
return data;
|
|
3787
3769
|
}
|
|
3770
|
+
/**
|
|
3771
|
+
* @summary List issuers
|
|
3772
|
+
* @description Retrieve the list of KMS issuers that belong to the authenticated team. The results are paginated.
|
|
3773
|
+
* @link /v1/kms/issuers
|
|
3774
|
+
*/ async function listKmsIssuers({ queryParams, config } = {}) {
|
|
3775
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3776
|
+
const data = await request({
|
|
3777
|
+
method: "GET",
|
|
3778
|
+
url: `/v1/kms/issuers`,
|
|
3779
|
+
queryParams,
|
|
3780
|
+
...requestConfig,
|
|
3781
|
+
headers: {
|
|
3782
|
+
...requestConfig.headers
|
|
3783
|
+
}
|
|
3784
|
+
});
|
|
3785
|
+
return data;
|
|
3786
|
+
}
|
|
3787
|
+
/**
|
|
3788
|
+
* @summary Create an issuer
|
|
3789
|
+
* @description Create a new KMS issuer for the authenticated team. An issuer owns the asymmetric signing keys that are used to sign tokens and messages.
|
|
3790
|
+
* @link /v1/kms/issuers
|
|
3791
|
+
*/ async function createKmsIssuer({ queryParams, config } = {}) {
|
|
3792
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3793
|
+
const data = await request({
|
|
3794
|
+
method: "POST",
|
|
3795
|
+
url: `/v1/kms/issuers`,
|
|
3796
|
+
queryParams,
|
|
3797
|
+
...requestConfig,
|
|
3798
|
+
headers: {
|
|
3799
|
+
...requestConfig.headers
|
|
3800
|
+
}
|
|
3801
|
+
});
|
|
3802
|
+
return data;
|
|
3803
|
+
}
|
|
3804
|
+
/**
|
|
3805
|
+
* @summary Sign a message
|
|
3806
|
+
* @description Sign a raw message with a KMS issuer's active signing key. Authenticate the request with a Vercel OIDC token in the `Authorization: Bearer` header; the issuer's policies decide which workloads are allowed to sign.
|
|
3807
|
+
* @link /v1/kms/issuers/{issuerId}/sign/message
|
|
3808
|
+
*/ async function signKmsMessage({ pathParams, config } = {}) {
|
|
3809
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3810
|
+
if (!pathParams.issuerId) {
|
|
3811
|
+
throw new Error(`Missing required path parameter: issuerId`);
|
|
3812
|
+
}
|
|
3813
|
+
const data = await request({
|
|
3814
|
+
method: "POST",
|
|
3815
|
+
url: `/v1/kms/issuers/${pathParams.issuerId}/sign/message`,
|
|
3816
|
+
...requestConfig,
|
|
3817
|
+
headers: {
|
|
3818
|
+
...requestConfig.headers
|
|
3819
|
+
}
|
|
3820
|
+
});
|
|
3821
|
+
return data;
|
|
3822
|
+
}
|
|
3823
|
+
/**
|
|
3824
|
+
* @summary Sign a token
|
|
3825
|
+
* @description Sign a JWT with a KMS issuer's active signing key. Authenticate the request with a Vercel OIDC token in the `Authorization: Bearer` header; the issuer's policies decide which workloads are allowed to sign.
|
|
3826
|
+
* @link /v1/kms/issuers/{issuerId}/sign/token
|
|
3827
|
+
*/ async function signKmsToken({ pathParams, config } = {}) {
|
|
3828
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3829
|
+
if (!pathParams.issuerId) {
|
|
3830
|
+
throw new Error(`Missing required path parameter: issuerId`);
|
|
3831
|
+
}
|
|
3832
|
+
const data = await request({
|
|
3833
|
+
method: "POST",
|
|
3834
|
+
url: `/v1/kms/issuers/${pathParams.issuerId}/sign/token`,
|
|
3835
|
+
...requestConfig,
|
|
3836
|
+
headers: {
|
|
3837
|
+
...requestConfig.headers
|
|
3838
|
+
}
|
|
3839
|
+
});
|
|
3840
|
+
return data;
|
|
3841
|
+
}
|
|
3842
|
+
/**
|
|
3843
|
+
* @summary Create a signing key
|
|
3844
|
+
* @description Create a new signing key for a KMS issuer. Depending on the activation mode, the key is activated automatically once its public key has propagated, or manually via the activate endpoint.
|
|
3845
|
+
* @link /v1/kms/issuers/{issuerId}/keys
|
|
3846
|
+
*/ async function createKmsSigningKey({ pathParams, queryParams, config } = {}) {
|
|
3847
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3848
|
+
if (!pathParams.issuerId) {
|
|
3849
|
+
throw new Error(`Missing required path parameter: issuerId`);
|
|
3850
|
+
}
|
|
3851
|
+
const data = await request({
|
|
3852
|
+
method: "POST",
|
|
3853
|
+
url: `/v1/kms/issuers/${pathParams.issuerId}/keys`,
|
|
3854
|
+
queryParams,
|
|
3855
|
+
...requestConfig,
|
|
3856
|
+
headers: {
|
|
3857
|
+
...requestConfig.headers
|
|
3858
|
+
}
|
|
3859
|
+
});
|
|
3860
|
+
return data;
|
|
3861
|
+
}
|
|
3862
|
+
/**
|
|
3863
|
+
* @summary Activate a signing key
|
|
3864
|
+
* @description Activate a pending signing key so the issuer starts signing with it.
|
|
3865
|
+
* @link /v1/kms/issuers/{issuerId}/keys/{keyId}/activate
|
|
3866
|
+
*/ async function activateKmsSigningKey({ pathParams, queryParams, config } = {}) {
|
|
3867
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3868
|
+
if (!pathParams.issuerId) {
|
|
3869
|
+
throw new Error(`Missing required path parameter: issuerId`);
|
|
3870
|
+
}
|
|
3871
|
+
if (!pathParams.keyId) {
|
|
3872
|
+
throw new Error(`Missing required path parameter: keyId`);
|
|
3873
|
+
}
|
|
3874
|
+
const data = await request({
|
|
3875
|
+
method: "POST",
|
|
3876
|
+
url: `/v1/kms/issuers/${pathParams.issuerId}/keys/${pathParams.keyId}/activate`,
|
|
3877
|
+
queryParams,
|
|
3878
|
+
...requestConfig,
|
|
3879
|
+
headers: {
|
|
3880
|
+
...requestConfig.headers
|
|
3881
|
+
}
|
|
3882
|
+
});
|
|
3883
|
+
return data;
|
|
3884
|
+
}
|
|
3885
|
+
/**
|
|
3886
|
+
* @summary Revoke a signing key
|
|
3887
|
+
* @description Immediately revoke a signing key that is already scheduled for revocation.
|
|
3888
|
+
* @link /v1/kms/issuers/{issuerId}/keys/{keyId}/revoke
|
|
3889
|
+
*/ async function revokeKmsSigningKey({ pathParams, queryParams, config } = {}) {
|
|
3890
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3891
|
+
if (!pathParams.issuerId) {
|
|
3892
|
+
throw new Error(`Missing required path parameter: issuerId`);
|
|
3893
|
+
}
|
|
3894
|
+
if (!pathParams.keyId) {
|
|
3895
|
+
throw new Error(`Missing required path parameter: keyId`);
|
|
3896
|
+
}
|
|
3897
|
+
const data = await request({
|
|
3898
|
+
method: "POST",
|
|
3899
|
+
url: `/v1/kms/issuers/${pathParams.issuerId}/keys/${pathParams.keyId}/revoke`,
|
|
3900
|
+
queryParams,
|
|
3901
|
+
...requestConfig,
|
|
3902
|
+
headers: {
|
|
3903
|
+
...requestConfig.headers
|
|
3904
|
+
}
|
|
3905
|
+
});
|
|
3906
|
+
return data;
|
|
3907
|
+
}
|
|
3908
|
+
/**
|
|
3909
|
+
* @summary Get an issuer
|
|
3910
|
+
* @description Retrieve a single KMS issuer by its ID. Accepts either a team bearer token (existing path) or an OIDC token authorized by one of the issuer's policies (e.g. a connex-grant token). The OIDC path returns the issuer without policies, since a policy token only proves signing access, not management access.
|
|
3911
|
+
* @link /v1/kms/issuers/{issuerId}
|
|
3912
|
+
*/ async function getKmsIssuer({ pathParams, queryParams, config } = {}) {
|
|
3913
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3914
|
+
if (!pathParams.issuerId) {
|
|
3915
|
+
throw new Error(`Missing required path parameter: issuerId`);
|
|
3916
|
+
}
|
|
3917
|
+
const data = await request({
|
|
3918
|
+
method: "GET",
|
|
3919
|
+
url: `/v1/kms/issuers/${pathParams.issuerId}`,
|
|
3920
|
+
queryParams,
|
|
3921
|
+
...requestConfig,
|
|
3922
|
+
headers: {
|
|
3923
|
+
...requestConfig.headers
|
|
3924
|
+
}
|
|
3925
|
+
});
|
|
3926
|
+
return data;
|
|
3927
|
+
}
|
|
3928
|
+
/**
|
|
3929
|
+
* @summary Update an issuer
|
|
3930
|
+
* @description Update a KMS issuer's name or claims schema.
|
|
3931
|
+
* @link /v1/kms/issuers/{issuerId}
|
|
3932
|
+
*/ async function updateKmsIssuer({ pathParams, queryParams, config } = {}) {
|
|
3933
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3934
|
+
if (!pathParams.issuerId) {
|
|
3935
|
+
throw new Error(`Missing required path parameter: issuerId`);
|
|
3936
|
+
}
|
|
3937
|
+
const data = await request({
|
|
3938
|
+
method: "PATCH",
|
|
3939
|
+
url: `/v1/kms/issuers/${pathParams.issuerId}`,
|
|
3940
|
+
queryParams,
|
|
3941
|
+
...requestConfig,
|
|
3942
|
+
headers: {
|
|
3943
|
+
...requestConfig.headers
|
|
3944
|
+
}
|
|
3945
|
+
});
|
|
3946
|
+
return data;
|
|
3947
|
+
}
|
|
3948
|
+
/**
|
|
3949
|
+
* @summary Delete an issuer
|
|
3950
|
+
* @description Delete a KMS issuer and its signing keys.
|
|
3951
|
+
* @link /v1/kms/issuers/{issuerId}
|
|
3952
|
+
*/ async function deleteKmsIssuer({ pathParams, queryParams, config } = {}) {
|
|
3953
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3954
|
+
if (!pathParams.issuerId) {
|
|
3955
|
+
throw new Error(`Missing required path parameter: issuerId`);
|
|
3956
|
+
}
|
|
3957
|
+
const data = await request({
|
|
3958
|
+
method: "DELETE",
|
|
3959
|
+
url: `/v1/kms/issuers/${pathParams.issuerId}`,
|
|
3960
|
+
queryParams,
|
|
3961
|
+
...requestConfig,
|
|
3962
|
+
headers: {
|
|
3963
|
+
...requestConfig.headers
|
|
3964
|
+
}
|
|
3965
|
+
});
|
|
3966
|
+
return data;
|
|
3967
|
+
}
|
|
3968
|
+
/**
|
|
3969
|
+
* @summary Create an issuer policy
|
|
3970
|
+
* @description Attach a policy to a KMS issuer that grants a project's deployments permission to sign with it.
|
|
3971
|
+
* @link /v1/kms/issuers/{issuerId}/policies
|
|
3972
|
+
*/ async function createKmsIssuerPolicy({ pathParams, queryParams, config } = {}) {
|
|
3973
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3974
|
+
if (!pathParams.issuerId) {
|
|
3975
|
+
throw new Error(`Missing required path parameter: issuerId`);
|
|
3976
|
+
}
|
|
3977
|
+
const data = await request({
|
|
3978
|
+
method: "POST",
|
|
3979
|
+
url: `/v1/kms/issuers/${pathParams.issuerId}/policies`,
|
|
3980
|
+
queryParams,
|
|
3981
|
+
...requestConfig,
|
|
3982
|
+
headers: {
|
|
3983
|
+
...requestConfig.headers
|
|
3984
|
+
}
|
|
3985
|
+
});
|
|
3986
|
+
return data;
|
|
3987
|
+
}
|
|
3988
|
+
/**
|
|
3989
|
+
* @summary Update an issuer policy
|
|
3990
|
+
* @description Update an existing KMS issuer policy's environments or token claims.
|
|
3991
|
+
* @link /v1/kms/issuers/{issuerId}/policies/{kind}/{policyKey}
|
|
3992
|
+
*/ async function updateKmsIssuerPolicy({ pathParams, queryParams, config } = {}) {
|
|
3993
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3994
|
+
if (!pathParams.issuerId) {
|
|
3995
|
+
throw new Error(`Missing required path parameter: issuerId`);
|
|
3996
|
+
}
|
|
3997
|
+
if (!pathParams.kind) {
|
|
3998
|
+
throw new Error(`Missing required path parameter: kind`);
|
|
3999
|
+
}
|
|
4000
|
+
if (!pathParams.policyKey) {
|
|
4001
|
+
throw new Error(`Missing required path parameter: policyKey`);
|
|
4002
|
+
}
|
|
4003
|
+
const data = await request({
|
|
4004
|
+
method: "PATCH",
|
|
4005
|
+
url: `/v1/kms/issuers/${pathParams.issuerId}/policies/${pathParams.kind}/${pathParams.policyKey}`,
|
|
4006
|
+
queryParams,
|
|
4007
|
+
...requestConfig,
|
|
4008
|
+
headers: {
|
|
4009
|
+
...requestConfig.headers
|
|
4010
|
+
}
|
|
4011
|
+
});
|
|
4012
|
+
return data;
|
|
4013
|
+
}
|
|
4014
|
+
/**
|
|
4015
|
+
* @summary Delete an issuer policy
|
|
4016
|
+
* @description Remove a policy from a KMS issuer.
|
|
4017
|
+
* @link /v1/kms/issuers/{issuerId}/policies/{kind}/{policyKey}
|
|
4018
|
+
*/ async function deleteKmsIssuerPolicy({ pathParams, queryParams, config } = {}) {
|
|
4019
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
4020
|
+
if (!pathParams.issuerId) {
|
|
4021
|
+
throw new Error(`Missing required path parameter: issuerId`);
|
|
4022
|
+
}
|
|
4023
|
+
if (!pathParams.kind) {
|
|
4024
|
+
throw new Error(`Missing required path parameter: kind`);
|
|
4025
|
+
}
|
|
4026
|
+
if (!pathParams.policyKey) {
|
|
4027
|
+
throw new Error(`Missing required path parameter: policyKey`);
|
|
4028
|
+
}
|
|
4029
|
+
const data = await request({
|
|
4030
|
+
method: "DELETE",
|
|
4031
|
+
url: `/v1/kms/issuers/${pathParams.issuerId}/policies/${pathParams.kind}/${pathParams.policyKey}`,
|
|
4032
|
+
queryParams,
|
|
4033
|
+
...requestConfig,
|
|
4034
|
+
headers: {
|
|
4035
|
+
...requestConfig.headers
|
|
4036
|
+
}
|
|
4037
|
+
});
|
|
4038
|
+
return data;
|
|
4039
|
+
}
|
|
3788
4040
|
/**
|
|
3789
4041
|
* @summary Get logs for a deployment
|
|
3790
4042
|
* @description Returns a stream of logs for a given deployment.
|
|
@@ -6059,7 +6311,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
6059
6311
|
}
|
|
6060
6312
|
/**
|
|
6061
6313
|
* @summary Read Firewall Actions by Project
|
|
6062
|
-
* @description Retrieve firewall actions for a project
|
|
6314
|
+
* @description Retrieve firewall actions for a project Rule names are resolved against the project's *current* active firewall configuration and the team's active rulesets, so a rule that has since been renamed reports its new name and one that has been deleted reports `null`. System rules such as `sys_dos_mitigation` and `ip_blocking` have no configured name and always report `null`.
|
|
6063
6315
|
* @link /v1/security/firewall/events
|
|
6064
6316
|
*/ async function getSecurityFirewallEvents({ queryParams, config } = {}) {
|
|
6065
6317
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
@@ -6457,7 +6709,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
6457
6709
|
}
|
|
6458
6710
|
/**
|
|
6459
6711
|
* @summary Update a microfrontends group
|
|
6460
|
-
* @description Updates
|
|
6712
|
+
* @description Updates a microfrontends group's settings.
|
|
6461
6713
|
* @link /v1/teams/{teamId}/microfrontends/{groupId}
|
|
6462
6714
|
*/ async function updateMicrofrontendsGroup({ pathParams, queryParams, config } = {}) {
|
|
6463
6715
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
@@ -7710,9 +7962,7 @@ const operationsByPath = {
|
|
|
7710
7962
|
"GET /v1/connect/networks/{networkId}": readNetwork,
|
|
7711
7963
|
"POST /v1/connect/connectors": createConnector,
|
|
7712
7964
|
"POST /v1/connect/token/{connector}": getConnectorToken,
|
|
7713
|
-
"POST /v1/connect/token/{connector}/import": importConnectorTokens,
|
|
7714
7965
|
"POST /v1/connect/authorize/{connector}": createConnectorAuthorizationRequest,
|
|
7715
|
-
"POST /v1/connect/install/{connector}": createConnectorInstallationRequest,
|
|
7716
7966
|
"GET /v3/deployments/{idOrUrl}/events": getDeploymentEvents,
|
|
7717
7967
|
"PATCH /v1/deployments/{deploymentId}/integrations/{integrationConfigurationId}/resources/{resourceId}/actions/{action}": updateIntegrationDeploymentAction,
|
|
7718
7968
|
"GET /v13/deployments/{idOrUrl}": getDeployment,
|
|
@@ -7819,6 +8069,7 @@ const operationsByPath = {
|
|
|
7819
8069
|
"GET /v1/installations/{integrationConfigurationId}/account": getAccountInfo,
|
|
7820
8070
|
"GET /v1/installations/{integrationConfigurationId}/member/{memberId}": getMember,
|
|
7821
8071
|
"POST /v1/installations/{integrationConfigurationId}/credentials/rotate": rotateInstallationCredential,
|
|
8072
|
+
"POST /v1/installations/{integrationConfigurationId}/credentials/revoke": revokeInstallationCredential,
|
|
7822
8073
|
"POST /v1/installations/{integrationConfigurationId}/events": createEvent,
|
|
7823
8074
|
"GET /v1/installations/{integrationConfigurationId}/resources": getIntegrationResources,
|
|
7824
8075
|
"GET /v1/installations/{integrationConfigurationId}/resources/{resourceId}": getIntegrationResource,
|
|
@@ -7842,6 +8093,19 @@ const operationsByPath = {
|
|
|
7842
8093
|
"POST /v2/integrations/log-drains": createLogDrain,
|
|
7843
8094
|
"DELETE /v1/integrations/log-drains/{id}": deleteIntegrationLogDrain,
|
|
7844
8095
|
"POST /api-keys": createApiKeys,
|
|
8096
|
+
"GET /v1/kms/issuers": listKmsIssuers,
|
|
8097
|
+
"POST /v1/kms/issuers": createKmsIssuer,
|
|
8098
|
+
"POST /v1/kms/issuers/{issuerId}/sign/message": signKmsMessage,
|
|
8099
|
+
"POST /v1/kms/issuers/{issuerId}/sign/token": signKmsToken,
|
|
8100
|
+
"POST /v1/kms/issuers/{issuerId}/keys": createKmsSigningKey,
|
|
8101
|
+
"POST /v1/kms/issuers/{issuerId}/keys/{keyId}/activate": activateKmsSigningKey,
|
|
8102
|
+
"POST /v1/kms/issuers/{issuerId}/keys/{keyId}/revoke": revokeKmsSigningKey,
|
|
8103
|
+
"GET /v1/kms/issuers/{issuerId}": getKmsIssuer,
|
|
8104
|
+
"PATCH /v1/kms/issuers/{issuerId}": updateKmsIssuer,
|
|
8105
|
+
"DELETE /v1/kms/issuers/{issuerId}": deleteKmsIssuer,
|
|
8106
|
+
"POST /v1/kms/issuers/{issuerId}/policies": createKmsIssuerPolicy,
|
|
8107
|
+
"PATCH /v1/kms/issuers/{issuerId}/policies/{kind}/{policyKey}": updateKmsIssuerPolicy,
|
|
8108
|
+
"DELETE /v1/kms/issuers/{issuerId}/policies/{kind}/{policyKey}": deleteKmsIssuerPolicy,
|
|
7845
8109
|
"GET /v1/projects/{projectId}/deployments/{deploymentId}/runtime-logs": getRuntimeLogs,
|
|
7846
8110
|
"POST /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items": createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItems,
|
|
7847
8111
|
"PATCH /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}": updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
@@ -8115,9 +8379,7 @@ const operationsByTag = {
|
|
|
8115
8379
|
connect: {
|
|
8116
8380
|
createConnector,
|
|
8117
8381
|
getConnectorToken,
|
|
8118
|
-
|
|
8119
|
-
createConnectorAuthorizationRequest,
|
|
8120
|
-
createConnectorInstallationRequest
|
|
8382
|
+
createConnectorAuthorizationRequest
|
|
8121
8383
|
},
|
|
8122
8384
|
deployments: {
|
|
8123
8385
|
getDeploymentEvents,
|
|
@@ -8269,6 +8531,7 @@ const operationsByTag = {
|
|
|
8269
8531
|
getAccountInfo,
|
|
8270
8532
|
getMember,
|
|
8271
8533
|
rotateInstallationCredential,
|
|
8534
|
+
revokeInstallationCredential,
|
|
8272
8535
|
createEvent,
|
|
8273
8536
|
getIntegrationResources,
|
|
8274
8537
|
getIntegrationResource,
|
|
@@ -8297,6 +8560,21 @@ const operationsByTag = {
|
|
|
8297
8560
|
getAuthToken,
|
|
8298
8561
|
deleteAuthToken
|
|
8299
8562
|
},
|
|
8563
|
+
kms: {
|
|
8564
|
+
listKmsIssuers,
|
|
8565
|
+
createKmsIssuer,
|
|
8566
|
+
signKmsMessage,
|
|
8567
|
+
signKmsToken,
|
|
8568
|
+
createKmsSigningKey,
|
|
8569
|
+
activateKmsSigningKey,
|
|
8570
|
+
revokeKmsSigningKey,
|
|
8571
|
+
getKmsIssuer,
|
|
8572
|
+
updateKmsIssuer,
|
|
8573
|
+
deleteKmsIssuer,
|
|
8574
|
+
createKmsIssuerPolicy,
|
|
8575
|
+
updateKmsIssuerPolicy,
|
|
8576
|
+
deleteKmsIssuerPolicy
|
|
8577
|
+
},
|
|
8300
8578
|
logs: {
|
|
8301
8579
|
getRuntimeLogs
|
|
8302
8580
|
},
|
|
@@ -8646,9 +8924,7 @@ const tagDictionary = {
|
|
|
8646
8924
|
POST: [
|
|
8647
8925
|
"createConnector",
|
|
8648
8926
|
"getConnectorToken",
|
|
8649
|
-
"
|
|
8650
|
-
"createConnectorAuthorizationRequest",
|
|
8651
|
-
"createConnectorInstallationRequest"
|
|
8927
|
+
"createConnectorAuthorizationRequest"
|
|
8652
8928
|
]
|
|
8653
8929
|
},
|
|
8654
8930
|
deployments: {
|
|
@@ -8896,6 +9172,7 @@ const tagDictionary = {
|
|
|
8896
9172
|
],
|
|
8897
9173
|
POST: [
|
|
8898
9174
|
"rotateInstallationCredential",
|
|
9175
|
+
"revokeInstallationCredential",
|
|
8899
9176
|
"createEvent",
|
|
8900
9177
|
"submitBillingData",
|
|
8901
9178
|
"submitInvoice",
|
|
@@ -8929,6 +9206,29 @@ const tagDictionary = {
|
|
|
8929
9206
|
"deleteAuthToken"
|
|
8930
9207
|
]
|
|
8931
9208
|
},
|
|
9209
|
+
kms: {
|
|
9210
|
+
GET: [
|
|
9211
|
+
"listKmsIssuers",
|
|
9212
|
+
"getKmsIssuer"
|
|
9213
|
+
],
|
|
9214
|
+
POST: [
|
|
9215
|
+
"createKmsIssuer",
|
|
9216
|
+
"signKmsMessage",
|
|
9217
|
+
"signKmsToken",
|
|
9218
|
+
"createKmsSigningKey",
|
|
9219
|
+
"activateKmsSigningKey",
|
|
9220
|
+
"revokeKmsSigningKey",
|
|
9221
|
+
"createKmsIssuerPolicy"
|
|
9222
|
+
],
|
|
9223
|
+
PATCH: [
|
|
9224
|
+
"updateKmsIssuer",
|
|
9225
|
+
"updateKmsIssuerPolicy"
|
|
9226
|
+
],
|
|
9227
|
+
DELETE: [
|
|
9228
|
+
"deleteKmsIssuer",
|
|
9229
|
+
"deleteKmsIssuerPolicy"
|
|
9230
|
+
]
|
|
9231
|
+
},
|
|
8932
9232
|
logs: {
|
|
8933
9233
|
GET: [
|
|
8934
9234
|
"getRuntimeLogs"
|
|
@@ -9244,6 +9544,7 @@ const tagDictionary = {
|
|
|
9244
9544
|
};
|
|
9245
9545
|
|
|
9246
9546
|
exports.acceptProjectTransferRequest = acceptProjectTransferRequest;
|
|
9547
|
+
exports.activateKmsSigningKey = activateKmsSigningKey;
|
|
9247
9548
|
exports.addBypassIp = addBypassIp;
|
|
9248
9549
|
exports.addProjectDomain = addProjectDomain;
|
|
9249
9550
|
exports.addProjectMember = addProjectMember;
|
|
@@ -9277,7 +9578,6 @@ exports.createCheck = createCheck;
|
|
|
9277
9578
|
exports.createConfigurableLogDrain = createConfigurableLogDrain;
|
|
9278
9579
|
exports.createConnector = createConnector;
|
|
9279
9580
|
exports.createConnectorAuthorizationRequest = createConnectorAuthorizationRequest;
|
|
9280
|
-
exports.createConnectorInstallationRequest = createConnectorInstallationRequest;
|
|
9281
9581
|
exports.createCustomEnvironment = createCustomEnvironment;
|
|
9282
9582
|
exports.createDeployment = createDeployment;
|
|
9283
9583
|
exports.createDeploymentCheckRun = createDeploymentCheckRun;
|
|
@@ -9289,6 +9589,9 @@ exports.createFlag = createFlag;
|
|
|
9289
9589
|
exports.createFlagSegment = createFlagSegment;
|
|
9290
9590
|
exports.createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItems = createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItems;
|
|
9291
9591
|
exports.createIntegrationStoreDirect = createIntegrationStoreDirect;
|
|
9592
|
+
exports.createKmsIssuer = createKmsIssuer;
|
|
9593
|
+
exports.createKmsIssuerPolicy = createKmsIssuerPolicy;
|
|
9594
|
+
exports.createKmsSigningKey = createKmsSigningKey;
|
|
9292
9595
|
exports.createLogDrain = createLogDrain;
|
|
9293
9596
|
exports.createMicrofrontendsGroupWithApplications = createMicrofrontendsGroupWithApplications;
|
|
9294
9597
|
exports.createNetwork = createNetwork;
|
|
@@ -9343,6 +9646,8 @@ exports.deleteFlagSegment = deleteFlagSegment;
|
|
|
9343
9646
|
exports.deleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId = deleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId;
|
|
9344
9647
|
exports.deleteIntegrationLogDrain = deleteIntegrationLogDrain;
|
|
9345
9648
|
exports.deleteIntegrationResource = deleteIntegrationResource;
|
|
9649
|
+
exports.deleteKmsIssuer = deleteKmsIssuer;
|
|
9650
|
+
exports.deleteKmsIssuerPolicy = deleteKmsIssuerPolicy;
|
|
9346
9651
|
exports.deleteMicrofrontendsGroup = deleteMicrofrontendsGroup;
|
|
9347
9652
|
exports.deleteNetwork = deleteNetwork;
|
|
9348
9653
|
exports.deleteProject = deleteProject;
|
|
@@ -9433,6 +9738,7 @@ exports.getIntegrationLogDrains = getIntegrationLogDrains;
|
|
|
9433
9738
|
exports.getIntegrationResource = getIntegrationResource;
|
|
9434
9739
|
exports.getIntegrationResources = getIntegrationResources;
|
|
9435
9740
|
exports.getInvoice = getInvoice;
|
|
9741
|
+
exports.getKmsIssuer = getKmsIssuer;
|
|
9436
9742
|
exports.getMember = getMember;
|
|
9437
9743
|
exports.getMicrofrontendsConfig = getMicrofrontendsConfig;
|
|
9438
9744
|
exports.getMicrofrontendsConfigForProject = getMicrofrontendsConfigForProject;
|
|
@@ -9486,7 +9792,6 @@ exports.getVersions = getVersions;
|
|
|
9486
9792
|
exports.getWebhook = getWebhook;
|
|
9487
9793
|
exports.getWebhooks = getWebhooks;
|
|
9488
9794
|
exports.gitNamespaces = gitNamespaces;
|
|
9489
|
-
exports.importConnectorTokens = importConnectorTokens;
|
|
9490
9795
|
exports.importResource = importResource;
|
|
9491
9796
|
exports.invalidateBySrcImages = invalidateBySrcImages;
|
|
9492
9797
|
exports.invalidateByTags = invalidateByTags;
|
|
@@ -9513,6 +9818,7 @@ exports.listFlagSegments = listFlagSegments;
|
|
|
9513
9818
|
exports.listFlagVersions = listFlagVersions;
|
|
9514
9819
|
exports.listFlags = listFlags;
|
|
9515
9820
|
exports.listFlagsV2 = listFlagsV2;
|
|
9821
|
+
exports.listKmsIssuers = listKmsIssuers;
|
|
9516
9822
|
exports.listNetworks = listNetworks;
|
|
9517
9823
|
exports.listProjectChecks = listProjectChecks;
|
|
9518
9824
|
exports.listPromoteAliases = listPromoteAliases;
|
|
@@ -9566,9 +9872,13 @@ exports.requestRollback = requestRollback;
|
|
|
9566
9872
|
exports.rerequestCheck = rerequestCheck;
|
|
9567
9873
|
exports.restoreEdgeConfigBackup = restoreEdgeConfigBackup;
|
|
9568
9874
|
exports.restoreRedirects = restoreRedirects;
|
|
9875
|
+
exports.revokeInstallationCredential = revokeInstallationCredential;
|
|
9876
|
+
exports.revokeKmsSigningKey = revokeKmsSigningKey;
|
|
9569
9877
|
exports.rotateInstallationCredential = rotateInstallationCredential;
|
|
9570
9878
|
exports.runSessionCommand = runSessionCommand;
|
|
9571
9879
|
exports.searchRepo = searchRepo;
|
|
9880
|
+
exports.signKmsMessage = signKmsMessage;
|
|
9881
|
+
exports.signKmsToken = signKmsToken;
|
|
9572
9882
|
exports.stageRedirects = stageRedirects;
|
|
9573
9883
|
exports.stageRoutes = stageRoutes;
|
|
9574
9884
|
exports.startRollingRelease = startRollingRelease;
|
|
@@ -9603,6 +9913,8 @@ exports.updateInstallation = updateInstallation;
|
|
|
9603
9913
|
exports.updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId = updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId;
|
|
9604
9914
|
exports.updateIntegrationDeploymentAction = updateIntegrationDeploymentAction;
|
|
9605
9915
|
exports.updateInvoice = updateInvoice;
|
|
9916
|
+
exports.updateKmsIssuer = updateKmsIssuer;
|
|
9917
|
+
exports.updateKmsIssuerPolicy = updateKmsIssuerPolicy;
|
|
9606
9918
|
exports.updateMicrofrontends = updateMicrofrontends;
|
|
9607
9919
|
exports.updateMicrofrontendsGroup = updateMicrofrontendsGroup;
|
|
9608
9920
|
exports.updateNetwork = updateNetwork;
|