vercel-api-js 1.7.1 → 1.8.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.cjs +129 -145
- package/dist/components.d.mts +99 -111
- package/dist/components.d.mts.map +1 -1
- package/dist/components.mjs +128 -144
- package/dist/effect.cjs +111 -115
- package/dist/effect.d.mts +90 -94
- package/dist/effect.d.mts.map +1 -1
- package/dist/effect.mjs +111 -115
- package/dist/index.cjs +432 -206
- package/dist/index.d.ts +626 -231
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +408 -186
- package/dist/schemas.cjs +239 -63
- package/dist/schemas.d.mts +200 -30
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +218 -43
- package/dist/types.cjs +66 -0
- package/dist/types.d.mts +309 -72
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +64 -1
- package/package.json +1 -1
package/dist/effect.cjs
CHANGED
|
@@ -2136,14 +2136,14 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2136
2136
|
return data;
|
|
2137
2137
|
}
|
|
2138
2138
|
/**
|
|
2139
|
-
* @summary Get
|
|
2140
|
-
* @description Returns all
|
|
2141
|
-
* @link /v1/
|
|
2139
|
+
* @summary Get Global Configs
|
|
2140
|
+
* @description Returns all Global Configs.
|
|
2141
|
+
* @link /v1/global-config
|
|
2142
2142
|
*/ async function getEdgeConfigs({ queryParams, config } = {}) {
|
|
2143
2143
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2144
2144
|
const data = await request({
|
|
2145
2145
|
method: "GET",
|
|
2146
|
-
url: `/v1/
|
|
2146
|
+
url: `/v1/global-config`,
|
|
2147
2147
|
queryParams,
|
|
2148
2148
|
...requestConfig,
|
|
2149
2149
|
headers: {
|
|
@@ -2153,14 +2153,14 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2153
2153
|
return data;
|
|
2154
2154
|
}
|
|
2155
2155
|
/**
|
|
2156
|
-
* @summary Create
|
|
2157
|
-
* @description Creates
|
|
2158
|
-
* @link /v1/
|
|
2156
|
+
* @summary Create a Global Config
|
|
2157
|
+
* @description Creates a Global Config.
|
|
2158
|
+
* @link /v1/global-config
|
|
2159
2159
|
*/ async function createEdgeConfig({ queryParams, config } = {}) {
|
|
2160
2160
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2161
2161
|
const data = await request({
|
|
2162
2162
|
method: "POST",
|
|
2163
|
-
url: `/v1/
|
|
2163
|
+
url: `/v1/global-config`,
|
|
2164
2164
|
queryParams,
|
|
2165
2165
|
...requestConfig,
|
|
2166
2166
|
headers: {
|
|
@@ -2170,9 +2170,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2170
2170
|
return data;
|
|
2171
2171
|
}
|
|
2172
2172
|
/**
|
|
2173
|
-
* @summary Get
|
|
2174
|
-
* @description Returns
|
|
2175
|
-
* @link /v1/
|
|
2173
|
+
* @summary Get a Global Config
|
|
2174
|
+
* @description Returns a Global Config.
|
|
2175
|
+
* @link /v1/global-config/{edgeConfigId}
|
|
2176
2176
|
*/ async function getEdgeConfig({ pathParams, queryParams, config } = {}) {
|
|
2177
2177
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2178
2178
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2180,7 +2180,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2180
2180
|
}
|
|
2181
2181
|
const data = await request({
|
|
2182
2182
|
method: "GET",
|
|
2183
|
-
url: `/v1/
|
|
2183
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}`,
|
|
2184
2184
|
queryParams,
|
|
2185
2185
|
...requestConfig,
|
|
2186
2186
|
headers: {
|
|
@@ -2190,9 +2190,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2190
2190
|
return data;
|
|
2191
2191
|
}
|
|
2192
2192
|
/**
|
|
2193
|
-
* @summary Update
|
|
2194
|
-
* @description Updates
|
|
2195
|
-
* @link /v1/
|
|
2193
|
+
* @summary Update a Global Config
|
|
2194
|
+
* @description Updates a Global Config.
|
|
2195
|
+
* @link /v1/global-config/{edgeConfigId}
|
|
2196
2196
|
*/ async function updateEdgeConfig({ pathParams, queryParams, config } = {}) {
|
|
2197
2197
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2198
2198
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2200,7 +2200,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2200
2200
|
}
|
|
2201
2201
|
const data = await request({
|
|
2202
2202
|
method: "PUT",
|
|
2203
|
-
url: `/v1/
|
|
2203
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}`,
|
|
2204
2204
|
queryParams,
|
|
2205
2205
|
...requestConfig,
|
|
2206
2206
|
headers: {
|
|
@@ -2210,9 +2210,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2210
2210
|
return data;
|
|
2211
2211
|
}
|
|
2212
2212
|
/**
|
|
2213
|
-
* @summary Delete
|
|
2214
|
-
* @description Delete
|
|
2215
|
-
* @link /v1/
|
|
2213
|
+
* @summary Delete a Global Config
|
|
2214
|
+
* @description Delete a Global Config by id.
|
|
2215
|
+
* @link /v1/global-config/{edgeConfigId}
|
|
2216
2216
|
*/ async function deleteEdgeConfig({ pathParams, queryParams, config } = {}) {
|
|
2217
2217
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2218
2218
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2220,7 +2220,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2220
2220
|
}
|
|
2221
2221
|
const data = await request({
|
|
2222
2222
|
method: "DELETE",
|
|
2223
|
-
url: `/v1/
|
|
2223
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}`,
|
|
2224
2224
|
queryParams,
|
|
2225
2225
|
...requestConfig,
|
|
2226
2226
|
headers: {
|
|
@@ -2230,9 +2230,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2230
2230
|
return data;
|
|
2231
2231
|
}
|
|
2232
2232
|
/**
|
|
2233
|
-
* @summary Get
|
|
2234
|
-
* @description Returns all items of
|
|
2235
|
-
* @link /v1/
|
|
2233
|
+
* @summary Get Global Config items
|
|
2234
|
+
* @description Returns all items of a Global Config.
|
|
2235
|
+
* @link /v1/global-config/{edgeConfigId}/items
|
|
2236
2236
|
*/ async function getEdgeConfigItems({ pathParams, queryParams, config } = {}) {
|
|
2237
2237
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2238
2238
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2240,7 +2240,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2240
2240
|
}
|
|
2241
2241
|
const data = await request({
|
|
2242
2242
|
method: "GET",
|
|
2243
|
-
url: `/v1/
|
|
2243
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/items`,
|
|
2244
2244
|
queryParams,
|
|
2245
2245
|
...requestConfig,
|
|
2246
2246
|
headers: {
|
|
@@ -2250,9 +2250,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2250
2250
|
return data;
|
|
2251
2251
|
}
|
|
2252
2252
|
/**
|
|
2253
|
-
* @summary Update
|
|
2254
|
-
* @description Update multiple
|
|
2255
|
-
* @link /v1/
|
|
2253
|
+
* @summary Update Global Config items in batch
|
|
2254
|
+
* @description Update multiple Global Config Items in batch.
|
|
2255
|
+
* @link /v1/global-config/{edgeConfigId}/items
|
|
2256
2256
|
*/ async function patchEdgeConfigItems({ pathParams, queryParams, config } = {}) {
|
|
2257
2257
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2258
2258
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2260,7 +2260,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2260
2260
|
}
|
|
2261
2261
|
const data = await request({
|
|
2262
2262
|
method: "PATCH",
|
|
2263
|
-
url: `/v1/
|
|
2263
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/items`,
|
|
2264
2264
|
queryParams,
|
|
2265
2265
|
...requestConfig,
|
|
2266
2266
|
headers: {
|
|
@@ -2270,9 +2270,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2270
2270
|
return data;
|
|
2271
2271
|
}
|
|
2272
2272
|
/**
|
|
2273
|
-
* @summary Get
|
|
2274
|
-
* @description Returns the schema of
|
|
2275
|
-
* @link /v1/
|
|
2273
|
+
* @summary Get Global Config schema
|
|
2274
|
+
* @description Returns the schema of a Global Config.
|
|
2275
|
+
* @link /v1/global-config/{edgeConfigId}/schema
|
|
2276
2276
|
*/ async function getEdgeConfigSchema({ pathParams, queryParams, config } = {}) {
|
|
2277
2277
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2278
2278
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2280,7 +2280,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2280
2280
|
}
|
|
2281
2281
|
const data = await request({
|
|
2282
2282
|
method: "GET",
|
|
2283
|
-
url: `/v1/
|
|
2283
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/schema`,
|
|
2284
2284
|
queryParams,
|
|
2285
2285
|
...requestConfig,
|
|
2286
2286
|
headers: {
|
|
@@ -2290,9 +2290,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2290
2290
|
return data;
|
|
2291
2291
|
}
|
|
2292
2292
|
/**
|
|
2293
|
-
* @summary Update
|
|
2294
|
-
* @description Update
|
|
2295
|
-
* @link /v1/
|
|
2293
|
+
* @summary Update Global Config schema
|
|
2294
|
+
* @description Update a Global Config's schema.
|
|
2295
|
+
* @link /v1/global-config/{edgeConfigId}/schema
|
|
2296
2296
|
*/ async function patchEdgeConfigSchema({ pathParams, queryParams, config } = {}) {
|
|
2297
2297
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2298
2298
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2300,7 +2300,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2300
2300
|
}
|
|
2301
2301
|
const data = await request({
|
|
2302
2302
|
method: "POST",
|
|
2303
|
-
url: `/v1/
|
|
2303
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/schema`,
|
|
2304
2304
|
queryParams,
|
|
2305
2305
|
...requestConfig,
|
|
2306
2306
|
headers: {
|
|
@@ -2310,9 +2310,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2310
2310
|
return data;
|
|
2311
2311
|
}
|
|
2312
2312
|
/**
|
|
2313
|
-
* @summary Delete
|
|
2314
|
-
* @description Deletes the schema of existing
|
|
2315
|
-
* @link /v1/
|
|
2313
|
+
* @summary Delete a Global Config's schema
|
|
2314
|
+
* @description Deletes the schema of existing Global Config.
|
|
2315
|
+
* @link /v1/global-config/{edgeConfigId}/schema
|
|
2316
2316
|
*/ async function deleteEdgeConfigSchema({ pathParams, queryParams, config } = {}) {
|
|
2317
2317
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2318
2318
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2320,7 +2320,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2320
2320
|
}
|
|
2321
2321
|
const data = await request({
|
|
2322
2322
|
method: "DELETE",
|
|
2323
|
-
url: `/v1/
|
|
2323
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/schema`,
|
|
2324
2324
|
queryParams,
|
|
2325
2325
|
...requestConfig,
|
|
2326
2326
|
headers: {
|
|
@@ -2330,9 +2330,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2330
2330
|
return data;
|
|
2331
2331
|
}
|
|
2332
2332
|
/**
|
|
2333
|
-
* @summary Get
|
|
2334
|
-
* @description Returns a specific
|
|
2335
|
-
* @link /v1/
|
|
2333
|
+
* @summary Get a Global Config item
|
|
2334
|
+
* @description Returns a specific Global Config Item.
|
|
2335
|
+
* @link /v1/global-config/{edgeConfigId}/item/{edgeConfigItemKey}
|
|
2336
2336
|
*/ async function getEdgeConfigItem({ pathParams, queryParams, config } = {}) {
|
|
2337
2337
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2338
2338
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2343,7 +2343,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2343
2343
|
}
|
|
2344
2344
|
const data = await request({
|
|
2345
2345
|
method: "GET",
|
|
2346
|
-
url: `/v1/
|
|
2346
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/item/${pathParams.edgeConfigItemKey}`,
|
|
2347
2347
|
queryParams,
|
|
2348
2348
|
...requestConfig,
|
|
2349
2349
|
headers: {
|
|
@@ -2353,9 +2353,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2353
2353
|
return data;
|
|
2354
2354
|
}
|
|
2355
2355
|
/**
|
|
2356
|
-
* @summary Get all tokens of
|
|
2357
|
-
* @description Returns all tokens of
|
|
2358
|
-
* @link /v1/
|
|
2356
|
+
* @summary Get all tokens of a Global Config
|
|
2357
|
+
* @description Returns all tokens of a Global Config.
|
|
2358
|
+
* @link /v1/global-config/{edgeConfigId}/tokens
|
|
2359
2359
|
*/ async function getEdgeConfigTokens({ pathParams, queryParams, config } = {}) {
|
|
2360
2360
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2361
2361
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2363,7 +2363,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2363
2363
|
}
|
|
2364
2364
|
const data = await request({
|
|
2365
2365
|
method: "GET",
|
|
2366
|
-
url: `/v1/
|
|
2366
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/tokens`,
|
|
2367
2367
|
queryParams,
|
|
2368
2368
|
...requestConfig,
|
|
2369
2369
|
headers: {
|
|
@@ -2373,9 +2373,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2373
2373
|
return data;
|
|
2374
2374
|
}
|
|
2375
2375
|
/**
|
|
2376
|
-
* @summary Delete one or more
|
|
2377
|
-
* @description Deletes one or more tokens of an existing
|
|
2378
|
-
* @link /v1/
|
|
2376
|
+
* @summary Delete one or more Global Config tokens
|
|
2377
|
+
* @description Deletes one or more tokens of an existing Global Config.
|
|
2378
|
+
* @link /v1/global-config/{edgeConfigId}/tokens
|
|
2379
2379
|
*/ async function deleteEdgeConfigTokens({ pathParams, queryParams, config } = {}) {
|
|
2380
2380
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2381
2381
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2383,7 +2383,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2383
2383
|
}
|
|
2384
2384
|
const data = await request({
|
|
2385
2385
|
method: "DELETE",
|
|
2386
|
-
url: `/v1/
|
|
2386
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/tokens`,
|
|
2387
2387
|
queryParams,
|
|
2388
2388
|
...requestConfig,
|
|
2389
2389
|
headers: {
|
|
@@ -2393,9 +2393,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2393
2393
|
return data;
|
|
2394
2394
|
}
|
|
2395
2395
|
/**
|
|
2396
|
-
* @summary Get
|
|
2397
|
-
* @description Return meta data about
|
|
2398
|
-
* @link /v1/
|
|
2396
|
+
* @summary Get Global Config token meta data
|
|
2397
|
+
* @description Return meta data about a Global Config token.
|
|
2398
|
+
* @link /v1/global-config/{edgeConfigId}/token/{token}
|
|
2399
2399
|
*/ async function getEdgeConfigToken({ pathParams, queryParams, config } = {}) {
|
|
2400
2400
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2401
2401
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2406,7 +2406,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2406
2406
|
}
|
|
2407
2407
|
const data = await request({
|
|
2408
2408
|
method: "GET",
|
|
2409
|
-
url: `/v1/
|
|
2409
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/token/${pathParams.token}`,
|
|
2410
2410
|
queryParams,
|
|
2411
2411
|
...requestConfig,
|
|
2412
2412
|
headers: {
|
|
@@ -2416,9 +2416,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2416
2416
|
return data;
|
|
2417
2417
|
}
|
|
2418
2418
|
/**
|
|
2419
|
-
* @summary Create
|
|
2420
|
-
* @description Adds a token to an existing
|
|
2421
|
-
* @link /v1/
|
|
2419
|
+
* @summary Create a Global Config token
|
|
2420
|
+
* @description Adds a token to an existing Global Config.
|
|
2421
|
+
* @link /v1/global-config/{edgeConfigId}/token
|
|
2422
2422
|
*/ async function createEdgeConfigToken({ pathParams, queryParams, config } = {}) {
|
|
2423
2423
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2424
2424
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2426,7 +2426,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2426
2426
|
}
|
|
2427
2427
|
const data = await request({
|
|
2428
2428
|
method: "POST",
|
|
2429
|
-
url: `/v1/
|
|
2429
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/token`,
|
|
2430
2430
|
queryParams,
|
|
2431
2431
|
...requestConfig,
|
|
2432
2432
|
headers: {
|
|
@@ -2436,9 +2436,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2436
2436
|
return data;
|
|
2437
2437
|
}
|
|
2438
2438
|
/**
|
|
2439
|
-
* @summary Get
|
|
2440
|
-
* @description Retrieves a specific version of
|
|
2441
|
-
* @link /v1/
|
|
2439
|
+
* @summary Get Global Config backup
|
|
2440
|
+
* @description Retrieves a specific version of a Global Config from backup storage.
|
|
2441
|
+
* @link /v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}
|
|
2442
2442
|
*/ async function getEdgeConfigBackup({ pathParams, queryParams, config } = {}) {
|
|
2443
2443
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2444
2444
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2449,7 +2449,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2449
2449
|
}
|
|
2450
2450
|
const data = await request({
|
|
2451
2451
|
method: "GET",
|
|
2452
|
-
url: `/v1/
|
|
2452
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/backups/${pathParams.edgeConfigBackupVersionId}`,
|
|
2453
2453
|
queryParams,
|
|
2454
2454
|
...requestConfig,
|
|
2455
2455
|
headers: {
|
|
@@ -2459,9 +2459,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2459
2459
|
return data;
|
|
2460
2460
|
}
|
|
2461
2461
|
/**
|
|
2462
|
-
* @summary Restore
|
|
2463
|
-
* @description Restores
|
|
2464
|
-
* @link /v1/
|
|
2462
|
+
* @summary Restore Global Config backup
|
|
2463
|
+
* @description Restores a Global Config backup.
|
|
2464
|
+
* @link /v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}/restore
|
|
2465
2465
|
*/ async function restoreEdgeConfigBackup({ pathParams, queryParams, config } = {}) {
|
|
2466
2466
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2467
2467
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2472,7 +2472,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2472
2472
|
}
|
|
2473
2473
|
const data = await request({
|
|
2474
2474
|
method: "POST",
|
|
2475
|
-
url: `/v1/
|
|
2475
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/backups/${pathParams.edgeConfigBackupVersionId}/restore`,
|
|
2476
2476
|
queryParams,
|
|
2477
2477
|
...requestConfig,
|
|
2478
2478
|
headers: {
|
|
@@ -2482,9 +2482,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2482
2482
|
return data;
|
|
2483
2483
|
}
|
|
2484
2484
|
/**
|
|
2485
|
-
* @summary Get
|
|
2486
|
-
* @description Returns backups of
|
|
2487
|
-
* @link /v1/
|
|
2485
|
+
* @summary Get Global Config backups
|
|
2486
|
+
* @description Returns backups of a Global Config.
|
|
2487
|
+
* @link /v1/global-config/{edgeConfigId}/backups
|
|
2488
2488
|
*/ async function getEdgeConfigBackups({ pathParams, queryParams, config } = {}) {
|
|
2489
2489
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2490
2490
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2492,7 +2492,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2492
2492
|
}
|
|
2493
2493
|
const data = await request({
|
|
2494
2494
|
method: "GET",
|
|
2495
|
-
url: `/v1/
|
|
2495
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/backups`,
|
|
2496
2496
|
queryParams,
|
|
2497
2497
|
...requestConfig,
|
|
2498
2498
|
headers: {
|
|
@@ -3781,10 +3781,10 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3781
3781
|
return data;
|
|
3782
3782
|
}
|
|
3783
3783
|
/**
|
|
3784
|
-
* @summary Get the data of a user-provided
|
|
3785
|
-
* @description When the user enabled
|
|
3786
|
-
* @link /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/
|
|
3787
|
-
*/ async function
|
|
3784
|
+
* @summary Get the data of a user-provided Global Config
|
|
3785
|
+
* @description When the user enabled Global Config syncing, then this endpoint can be used by the partner to fetch the contents of the Global Config.
|
|
3786
|
+
* @link /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config
|
|
3787
|
+
*/ async function getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig({ pathParams, config } = {}) {
|
|
3788
3788
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3789
3789
|
if (!pathParams.integrationConfigurationId) {
|
|
3790
3790
|
throw new Error(`Missing required path parameter: integrationConfigurationId`);
|
|
@@ -3794,7 +3794,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3794
3794
|
}
|
|
3795
3795
|
const data = await request({
|
|
3796
3796
|
method: "GET",
|
|
3797
|
-
url: `/v1/installations/${pathParams.integrationConfigurationId}/resources/${pathParams.resourceId}/experimentation/
|
|
3797
|
+
url: `/v1/installations/${pathParams.integrationConfigurationId}/resources/${pathParams.resourceId}/experimentation/global-config`,
|
|
3798
3798
|
...requestConfig,
|
|
3799
3799
|
headers: {
|
|
3800
3800
|
...requestConfig.headers
|
|
@@ -3803,10 +3803,10 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3803
3803
|
return data;
|
|
3804
3804
|
}
|
|
3805
3805
|
/**
|
|
3806
|
-
* @summary Push data into a user-provided
|
|
3807
|
-
* @description When the user enabled
|
|
3808
|
-
* @link /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/
|
|
3809
|
-
*/ async function
|
|
3806
|
+
* @summary Push data into a user-provided Global Config
|
|
3807
|
+
* @description When the user enabled Global Config syncing, then this endpoint can be used by the partner to push their configuration data into the relevant Global Config.
|
|
3808
|
+
* @link /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config
|
|
3809
|
+
*/ async function replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig({ pathParams, config } = {}) {
|
|
3810
3810
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3811
3811
|
if (!pathParams.integrationConfigurationId) {
|
|
3812
3812
|
throw new Error(`Missing required path parameter: integrationConfigurationId`);
|
|
@@ -3816,7 +3816,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3816
3816
|
}
|
|
3817
3817
|
const data = await request({
|
|
3818
3818
|
method: "PUT",
|
|
3819
|
-
url: `/v1/installations/${pathParams.integrationConfigurationId}/resources/${pathParams.resourceId}/experimentation/
|
|
3819
|
+
url: `/v1/installations/${pathParams.integrationConfigurationId}/resources/${pathParams.resourceId}/experimentation/global-config`,
|
|
3820
3820
|
...requestConfig,
|
|
3821
3821
|
headers: {
|
|
3822
3822
|
...requestConfig.headers
|
|
@@ -7181,24 +7181,24 @@ const operationsByPath = {
|
|
|
7181
7181
|
"POST /v1/edge-cache/dangerously-delete-by-tags": dangerouslyDeleteByTags,
|
|
7182
7182
|
"POST /v1/edge-cache/invalidate-by-src-images": invalidateBySrcImages,
|
|
7183
7183
|
"POST /v1/edge-cache/dangerously-delete-by-src-images": dangerouslyDeleteBySrcImages,
|
|
7184
|
-
"GET /v1/
|
|
7185
|
-
"POST /v1/
|
|
7186
|
-
"GET /v1/
|
|
7187
|
-
"PUT /v1/
|
|
7188
|
-
"DELETE /v1/
|
|
7189
|
-
"GET /v1/
|
|
7190
|
-
"PATCH /v1/
|
|
7191
|
-
"GET /v1/
|
|
7192
|
-
"POST /v1/
|
|
7193
|
-
"DELETE /v1/
|
|
7194
|
-
"GET /v1/
|
|
7195
|
-
"GET /v1/
|
|
7196
|
-
"DELETE /v1/
|
|
7197
|
-
"GET /v1/
|
|
7198
|
-
"POST /v1/
|
|
7199
|
-
"GET /v1/
|
|
7200
|
-
"POST /v1/
|
|
7201
|
-
"GET /v1/
|
|
7184
|
+
"GET /v1/global-config": getEdgeConfigs,
|
|
7185
|
+
"POST /v1/global-config": createEdgeConfig,
|
|
7186
|
+
"GET /v1/global-config/{edgeConfigId}": getEdgeConfig,
|
|
7187
|
+
"PUT /v1/global-config/{edgeConfigId}": updateEdgeConfig,
|
|
7188
|
+
"DELETE /v1/global-config/{edgeConfigId}": deleteEdgeConfig,
|
|
7189
|
+
"GET /v1/global-config/{edgeConfigId}/items": getEdgeConfigItems,
|
|
7190
|
+
"PATCH /v1/global-config/{edgeConfigId}/items": patchEdgeConfigItems,
|
|
7191
|
+
"GET /v1/global-config/{edgeConfigId}/schema": getEdgeConfigSchema,
|
|
7192
|
+
"POST /v1/global-config/{edgeConfigId}/schema": patchEdgeConfigSchema,
|
|
7193
|
+
"DELETE /v1/global-config/{edgeConfigId}/schema": deleteEdgeConfigSchema,
|
|
7194
|
+
"GET /v1/global-config/{edgeConfigId}/item/{edgeConfigItemKey}": getEdgeConfigItem,
|
|
7195
|
+
"GET /v1/global-config/{edgeConfigId}/tokens": getEdgeConfigTokens,
|
|
7196
|
+
"DELETE /v1/global-config/{edgeConfigId}/tokens": deleteEdgeConfigTokens,
|
|
7197
|
+
"GET /v1/global-config/{edgeConfigId}/token/{token}": getEdgeConfigToken,
|
|
7198
|
+
"POST /v1/global-config/{edgeConfigId}/token": createEdgeConfigToken,
|
|
7199
|
+
"GET /v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}": getEdgeConfigBackup,
|
|
7200
|
+
"POST /v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}/restore": restoreEdgeConfigBackup,
|
|
7201
|
+
"GET /v1/global-config/{edgeConfigId}/backups": getEdgeConfigBackups,
|
|
7202
7202
|
"POST /v1/env": createSharedEnvVariable,
|
|
7203
7203
|
"GET /v1/env": listSharedEnvVariable,
|
|
7204
7204
|
"PATCH /v1/env": updateSharedEnvVariable,
|
|
@@ -7262,8 +7262,8 @@ const operationsByPath = {
|
|
|
7262
7262
|
"POST /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items": createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItems,
|
|
7263
7263
|
"PATCH /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}": updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
7264
7264
|
"DELETE /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}": deleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
7265
|
-
"GET /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/
|
|
7266
|
-
"PUT /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/
|
|
7265
|
+
"GET /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config": getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig,
|
|
7266
|
+
"PUT /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config": replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig,
|
|
7267
7267
|
"GET /v1/microfrontends/groups": getMicrofrontendsGroups,
|
|
7268
7268
|
"GET /v1/microfrontends/groups/{groupId}/projects": getMicrofrontendsInGroup,
|
|
7269
7269
|
"GET /v1/microfrontends/{deploymentId}/config": getMicrofrontendsConfig,
|
|
@@ -7446,7 +7446,7 @@ const operationsByTag = {
|
|
|
7446
7446
|
updateAccessGroupProject,
|
|
7447
7447
|
deleteAccessGroupProject
|
|
7448
7448
|
},
|
|
7449
|
-
|
|
7449
|
+
aiGateway: {
|
|
7450
7450
|
createAiGatewayRule,
|
|
7451
7451
|
listAiGatewayRules,
|
|
7452
7452
|
updateAiGatewayRule,
|
|
@@ -7591,7 +7591,7 @@ const operationsByTag = {
|
|
|
7591
7591
|
invalidateBySrcImages,
|
|
7592
7592
|
dangerouslyDeleteBySrcImages
|
|
7593
7593
|
},
|
|
7594
|
-
|
|
7594
|
+
globalConfig: {
|
|
7595
7595
|
getEdgeConfigs,
|
|
7596
7596
|
createEdgeConfig,
|
|
7597
7597
|
getEdgeConfig,
|
|
@@ -7675,8 +7675,8 @@ const operationsByTag = {
|
|
|
7675
7675
|
createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItems,
|
|
7676
7676
|
updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
7677
7677
|
deleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
7678
|
-
|
|
7679
|
-
|
|
7678
|
+
getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig,
|
|
7679
|
+
replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig
|
|
7680
7680
|
},
|
|
7681
7681
|
authentication: {
|
|
7682
7682
|
exchangeSsoToken,
|
|
@@ -7695,7 +7695,7 @@ const operationsByTag = {
|
|
|
7695
7695
|
getMicrofrontendsConfigForProject,
|
|
7696
7696
|
createMicrofrontendsGroupWithApplications
|
|
7697
7697
|
},
|
|
7698
|
-
|
|
7698
|
+
observability: {
|
|
7699
7699
|
getObservabilityConfigurationProjects,
|
|
7700
7700
|
updateObservabilityConfigurationProject
|
|
7701
7701
|
},
|
|
@@ -7791,21 +7791,17 @@ const operationsByTag = {
|
|
|
7791
7791
|
},
|
|
7792
7792
|
security: {
|
|
7793
7793
|
updateAttackChallengeMode,
|
|
7794
|
+
getSecurityFirewallConfig,
|
|
7794
7795
|
putFirewallConfig,
|
|
7795
7796
|
updateFirewallConfig,
|
|
7796
7797
|
getFirewallConfig,
|
|
7798
|
+
deleteSecurityFirewallConfigByConfigVersion,
|
|
7799
|
+
createSecurityFirewallConfigByConfigVersionActivate,
|
|
7797
7800
|
getActiveAttackStatus,
|
|
7798
7801
|
getBypassIp,
|
|
7799
7802
|
addBypassIp,
|
|
7800
7803
|
removeBypassIp,
|
|
7801
|
-
getSecurityFirewallEvents
|
|
7802
|
-
},
|
|
7803
|
-
apiSecurity: {
|
|
7804
|
-
getSecurityFirewallConfig,
|
|
7805
|
-
deleteSecurityFirewallConfigByConfigVersion,
|
|
7806
|
-
createSecurityFirewallConfigByConfigVersionActivate
|
|
7807
|
-
},
|
|
7808
|
-
firewall: {
|
|
7804
|
+
getSecurityFirewallEvents,
|
|
7809
7805
|
generateFirewallRule
|
|
7810
7806
|
},
|
|
7811
7807
|
teams: {
|