vercel-api-js 1.7.2 → 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 +429 -206
- package/dist/index.d.ts +618 -229
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +406 -186
- package/dist/schemas.cjs +236 -63
- package/dist/schemas.d.mts +198 -29
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +216 -43
- package/dist/types.cjs +66 -0
- package/dist/types.d.mts +303 -71
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +64 -1
- package/package.json +1 -1
package/dist/components.cjs
CHANGED
|
@@ -2134,14 +2134,14 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2134
2134
|
return data;
|
|
2135
2135
|
}
|
|
2136
2136
|
/**
|
|
2137
|
-
* @summary Get
|
|
2138
|
-
* @description Returns all
|
|
2139
|
-
* @link /v1/
|
|
2137
|
+
* @summary Get Global Configs
|
|
2138
|
+
* @description Returns all Global Configs.
|
|
2139
|
+
* @link /v1/global-config
|
|
2140
2140
|
*/ async function getEdgeConfigs({ queryParams, config } = {}) {
|
|
2141
2141
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2142
2142
|
const data = await request({
|
|
2143
2143
|
method: "GET",
|
|
2144
|
-
url: `/v1/
|
|
2144
|
+
url: `/v1/global-config`,
|
|
2145
2145
|
queryParams,
|
|
2146
2146
|
...requestConfig,
|
|
2147
2147
|
headers: {
|
|
@@ -2151,14 +2151,14 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2151
2151
|
return data;
|
|
2152
2152
|
}
|
|
2153
2153
|
/**
|
|
2154
|
-
* @summary Create
|
|
2155
|
-
* @description Creates
|
|
2156
|
-
* @link /v1/
|
|
2154
|
+
* @summary Create a Global Config
|
|
2155
|
+
* @description Creates a Global Config.
|
|
2156
|
+
* @link /v1/global-config
|
|
2157
2157
|
*/ async function createEdgeConfig({ queryParams, config } = {}) {
|
|
2158
2158
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2159
2159
|
const data = await request({
|
|
2160
2160
|
method: "POST",
|
|
2161
|
-
url: `/v1/
|
|
2161
|
+
url: `/v1/global-config`,
|
|
2162
2162
|
queryParams,
|
|
2163
2163
|
...requestConfig,
|
|
2164
2164
|
headers: {
|
|
@@ -2168,9 +2168,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2168
2168
|
return data;
|
|
2169
2169
|
}
|
|
2170
2170
|
/**
|
|
2171
|
-
* @summary Get
|
|
2172
|
-
* @description Returns
|
|
2173
|
-
* @link /v1/
|
|
2171
|
+
* @summary Get a Global Config
|
|
2172
|
+
* @description Returns a Global Config.
|
|
2173
|
+
* @link /v1/global-config/{edgeConfigId}
|
|
2174
2174
|
*/ async function getEdgeConfig({ pathParams, queryParams, config } = {}) {
|
|
2175
2175
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2176
2176
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2178,7 +2178,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2178
2178
|
}
|
|
2179
2179
|
const data = await request({
|
|
2180
2180
|
method: "GET",
|
|
2181
|
-
url: `/v1/
|
|
2181
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}`,
|
|
2182
2182
|
queryParams,
|
|
2183
2183
|
...requestConfig,
|
|
2184
2184
|
headers: {
|
|
@@ -2188,9 +2188,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2188
2188
|
return data;
|
|
2189
2189
|
}
|
|
2190
2190
|
/**
|
|
2191
|
-
* @summary Update
|
|
2192
|
-
* @description Updates
|
|
2193
|
-
* @link /v1/
|
|
2191
|
+
* @summary Update a Global Config
|
|
2192
|
+
* @description Updates a Global Config.
|
|
2193
|
+
* @link /v1/global-config/{edgeConfigId}
|
|
2194
2194
|
*/ async function updateEdgeConfig({ pathParams, queryParams, config } = {}) {
|
|
2195
2195
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2196
2196
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2198,7 +2198,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2198
2198
|
}
|
|
2199
2199
|
const data = await request({
|
|
2200
2200
|
method: "PUT",
|
|
2201
|
-
url: `/v1/
|
|
2201
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}`,
|
|
2202
2202
|
queryParams,
|
|
2203
2203
|
...requestConfig,
|
|
2204
2204
|
headers: {
|
|
@@ -2208,9 +2208,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2208
2208
|
return data;
|
|
2209
2209
|
}
|
|
2210
2210
|
/**
|
|
2211
|
-
* @summary Delete
|
|
2212
|
-
* @description Delete
|
|
2213
|
-
* @link /v1/
|
|
2211
|
+
* @summary Delete a Global Config
|
|
2212
|
+
* @description Delete a Global Config by id.
|
|
2213
|
+
* @link /v1/global-config/{edgeConfigId}
|
|
2214
2214
|
*/ async function deleteEdgeConfig({ pathParams, queryParams, config } = {}) {
|
|
2215
2215
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2216
2216
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2218,7 +2218,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2218
2218
|
}
|
|
2219
2219
|
const data = await request({
|
|
2220
2220
|
method: "DELETE",
|
|
2221
|
-
url: `/v1/
|
|
2221
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}`,
|
|
2222
2222
|
queryParams,
|
|
2223
2223
|
...requestConfig,
|
|
2224
2224
|
headers: {
|
|
@@ -2228,9 +2228,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2228
2228
|
return data;
|
|
2229
2229
|
}
|
|
2230
2230
|
/**
|
|
2231
|
-
* @summary Get
|
|
2232
|
-
* @description Returns all items of
|
|
2233
|
-
* @link /v1/
|
|
2231
|
+
* @summary Get Global Config items
|
|
2232
|
+
* @description Returns all items of a Global Config.
|
|
2233
|
+
* @link /v1/global-config/{edgeConfigId}/items
|
|
2234
2234
|
*/ async function getEdgeConfigItems({ pathParams, queryParams, config } = {}) {
|
|
2235
2235
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2236
2236
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2238,7 +2238,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2238
2238
|
}
|
|
2239
2239
|
const data = await request({
|
|
2240
2240
|
method: "GET",
|
|
2241
|
-
url: `/v1/
|
|
2241
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/items`,
|
|
2242
2242
|
queryParams,
|
|
2243
2243
|
...requestConfig,
|
|
2244
2244
|
headers: {
|
|
@@ -2248,9 +2248,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2248
2248
|
return data;
|
|
2249
2249
|
}
|
|
2250
2250
|
/**
|
|
2251
|
-
* @summary Update
|
|
2252
|
-
* @description Update multiple
|
|
2253
|
-
* @link /v1/
|
|
2251
|
+
* @summary Update Global Config items in batch
|
|
2252
|
+
* @description Update multiple Global Config Items in batch.
|
|
2253
|
+
* @link /v1/global-config/{edgeConfigId}/items
|
|
2254
2254
|
*/ async function patchEdgeConfigItems({ pathParams, queryParams, config } = {}) {
|
|
2255
2255
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2256
2256
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2258,7 +2258,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2258
2258
|
}
|
|
2259
2259
|
const data = await request({
|
|
2260
2260
|
method: "PATCH",
|
|
2261
|
-
url: `/v1/
|
|
2261
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/items`,
|
|
2262
2262
|
queryParams,
|
|
2263
2263
|
...requestConfig,
|
|
2264
2264
|
headers: {
|
|
@@ -2268,9 +2268,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2268
2268
|
return data;
|
|
2269
2269
|
}
|
|
2270
2270
|
/**
|
|
2271
|
-
* @summary Get
|
|
2272
|
-
* @description Returns the schema of
|
|
2273
|
-
* @link /v1/
|
|
2271
|
+
* @summary Get Global Config schema
|
|
2272
|
+
* @description Returns the schema of a Global Config.
|
|
2273
|
+
* @link /v1/global-config/{edgeConfigId}/schema
|
|
2274
2274
|
*/ async function getEdgeConfigSchema({ pathParams, queryParams, config } = {}) {
|
|
2275
2275
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2276
2276
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2278,7 +2278,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2278
2278
|
}
|
|
2279
2279
|
const data = await request({
|
|
2280
2280
|
method: "GET",
|
|
2281
|
-
url: `/v1/
|
|
2281
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/schema`,
|
|
2282
2282
|
queryParams,
|
|
2283
2283
|
...requestConfig,
|
|
2284
2284
|
headers: {
|
|
@@ -2288,9 +2288,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2288
2288
|
return data;
|
|
2289
2289
|
}
|
|
2290
2290
|
/**
|
|
2291
|
-
* @summary Update
|
|
2292
|
-
* @description Update
|
|
2293
|
-
* @link /v1/
|
|
2291
|
+
* @summary Update Global Config schema
|
|
2292
|
+
* @description Update a Global Config's schema.
|
|
2293
|
+
* @link /v1/global-config/{edgeConfigId}/schema
|
|
2294
2294
|
*/ async function patchEdgeConfigSchema({ pathParams, queryParams, config } = {}) {
|
|
2295
2295
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2296
2296
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2298,7 +2298,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2298
2298
|
}
|
|
2299
2299
|
const data = await request({
|
|
2300
2300
|
method: "POST",
|
|
2301
|
-
url: `/v1/
|
|
2301
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/schema`,
|
|
2302
2302
|
queryParams,
|
|
2303
2303
|
...requestConfig,
|
|
2304
2304
|
headers: {
|
|
@@ -2308,9 +2308,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2308
2308
|
return data;
|
|
2309
2309
|
}
|
|
2310
2310
|
/**
|
|
2311
|
-
* @summary Delete
|
|
2312
|
-
* @description Deletes the schema of existing
|
|
2313
|
-
* @link /v1/
|
|
2311
|
+
* @summary Delete a Global Config's schema
|
|
2312
|
+
* @description Deletes the schema of existing Global Config.
|
|
2313
|
+
* @link /v1/global-config/{edgeConfigId}/schema
|
|
2314
2314
|
*/ async function deleteEdgeConfigSchema({ pathParams, queryParams, config } = {}) {
|
|
2315
2315
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2316
2316
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2318,7 +2318,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2318
2318
|
}
|
|
2319
2319
|
const data = await request({
|
|
2320
2320
|
method: "DELETE",
|
|
2321
|
-
url: `/v1/
|
|
2321
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/schema`,
|
|
2322
2322
|
queryParams,
|
|
2323
2323
|
...requestConfig,
|
|
2324
2324
|
headers: {
|
|
@@ -2328,9 +2328,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2328
2328
|
return data;
|
|
2329
2329
|
}
|
|
2330
2330
|
/**
|
|
2331
|
-
* @summary Get
|
|
2332
|
-
* @description Returns a specific
|
|
2333
|
-
* @link /v1/
|
|
2331
|
+
* @summary Get a Global Config item
|
|
2332
|
+
* @description Returns a specific Global Config Item.
|
|
2333
|
+
* @link /v1/global-config/{edgeConfigId}/item/{edgeConfigItemKey}
|
|
2334
2334
|
*/ async function getEdgeConfigItem({ pathParams, queryParams, config } = {}) {
|
|
2335
2335
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2336
2336
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2341,7 +2341,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2341
2341
|
}
|
|
2342
2342
|
const data = await request({
|
|
2343
2343
|
method: "GET",
|
|
2344
|
-
url: `/v1/
|
|
2344
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/item/${pathParams.edgeConfigItemKey}`,
|
|
2345
2345
|
queryParams,
|
|
2346
2346
|
...requestConfig,
|
|
2347
2347
|
headers: {
|
|
@@ -2351,9 +2351,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2351
2351
|
return data;
|
|
2352
2352
|
}
|
|
2353
2353
|
/**
|
|
2354
|
-
* @summary Get all tokens of
|
|
2355
|
-
* @description Returns all tokens of
|
|
2356
|
-
* @link /v1/
|
|
2354
|
+
* @summary Get all tokens of a Global Config
|
|
2355
|
+
* @description Returns all tokens of a Global Config.
|
|
2356
|
+
* @link /v1/global-config/{edgeConfigId}/tokens
|
|
2357
2357
|
*/ async function getEdgeConfigTokens({ pathParams, queryParams, config } = {}) {
|
|
2358
2358
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2359
2359
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2361,7 +2361,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2361
2361
|
}
|
|
2362
2362
|
const data = await request({
|
|
2363
2363
|
method: "GET",
|
|
2364
|
-
url: `/v1/
|
|
2364
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/tokens`,
|
|
2365
2365
|
queryParams,
|
|
2366
2366
|
...requestConfig,
|
|
2367
2367
|
headers: {
|
|
@@ -2371,9 +2371,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2371
2371
|
return data;
|
|
2372
2372
|
}
|
|
2373
2373
|
/**
|
|
2374
|
-
* @summary Delete one or more
|
|
2375
|
-
* @description Deletes one or more tokens of an existing
|
|
2376
|
-
* @link /v1/
|
|
2374
|
+
* @summary Delete one or more Global Config tokens
|
|
2375
|
+
* @description Deletes one or more tokens of an existing Global Config.
|
|
2376
|
+
* @link /v1/global-config/{edgeConfigId}/tokens
|
|
2377
2377
|
*/ async function deleteEdgeConfigTokens({ pathParams, queryParams, config } = {}) {
|
|
2378
2378
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2379
2379
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2381,7 +2381,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2381
2381
|
}
|
|
2382
2382
|
const data = await request({
|
|
2383
2383
|
method: "DELETE",
|
|
2384
|
-
url: `/v1/
|
|
2384
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/tokens`,
|
|
2385
2385
|
queryParams,
|
|
2386
2386
|
...requestConfig,
|
|
2387
2387
|
headers: {
|
|
@@ -2391,9 +2391,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2391
2391
|
return data;
|
|
2392
2392
|
}
|
|
2393
2393
|
/**
|
|
2394
|
-
* @summary Get
|
|
2395
|
-
* @description Return meta data about
|
|
2396
|
-
* @link /v1/
|
|
2394
|
+
* @summary Get Global Config token meta data
|
|
2395
|
+
* @description Return meta data about a Global Config token.
|
|
2396
|
+
* @link /v1/global-config/{edgeConfigId}/token/{token}
|
|
2397
2397
|
*/ async function getEdgeConfigToken({ pathParams, queryParams, config } = {}) {
|
|
2398
2398
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2399
2399
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2404,7 +2404,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2404
2404
|
}
|
|
2405
2405
|
const data = await request({
|
|
2406
2406
|
method: "GET",
|
|
2407
|
-
url: `/v1/
|
|
2407
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/token/${pathParams.token}`,
|
|
2408
2408
|
queryParams,
|
|
2409
2409
|
...requestConfig,
|
|
2410
2410
|
headers: {
|
|
@@ -2414,9 +2414,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2414
2414
|
return data;
|
|
2415
2415
|
}
|
|
2416
2416
|
/**
|
|
2417
|
-
* @summary Create
|
|
2418
|
-
* @description Adds a token to an existing
|
|
2419
|
-
* @link /v1/
|
|
2417
|
+
* @summary Create a Global Config token
|
|
2418
|
+
* @description Adds a token to an existing Global Config.
|
|
2419
|
+
* @link /v1/global-config/{edgeConfigId}/token
|
|
2420
2420
|
*/ async function createEdgeConfigToken({ pathParams, queryParams, config } = {}) {
|
|
2421
2421
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2422
2422
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2424,7 +2424,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2424
2424
|
}
|
|
2425
2425
|
const data = await request({
|
|
2426
2426
|
method: "POST",
|
|
2427
|
-
url: `/v1/
|
|
2427
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/token`,
|
|
2428
2428
|
queryParams,
|
|
2429
2429
|
...requestConfig,
|
|
2430
2430
|
headers: {
|
|
@@ -2434,9 +2434,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2434
2434
|
return data;
|
|
2435
2435
|
}
|
|
2436
2436
|
/**
|
|
2437
|
-
* @summary Get
|
|
2438
|
-
* @description Retrieves a specific version of
|
|
2439
|
-
* @link /v1/
|
|
2437
|
+
* @summary Get Global Config backup
|
|
2438
|
+
* @description Retrieves a specific version of a Global Config from backup storage.
|
|
2439
|
+
* @link /v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}
|
|
2440
2440
|
*/ async function getEdgeConfigBackup({ pathParams, queryParams, config } = {}) {
|
|
2441
2441
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2442
2442
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2447,7 +2447,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2447
2447
|
}
|
|
2448
2448
|
const data = await request({
|
|
2449
2449
|
method: "GET",
|
|
2450
|
-
url: `/v1/
|
|
2450
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/backups/${pathParams.edgeConfigBackupVersionId}`,
|
|
2451
2451
|
queryParams,
|
|
2452
2452
|
...requestConfig,
|
|
2453
2453
|
headers: {
|
|
@@ -2457,9 +2457,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2457
2457
|
return data;
|
|
2458
2458
|
}
|
|
2459
2459
|
/**
|
|
2460
|
-
* @summary Restore
|
|
2461
|
-
* @description Restores
|
|
2462
|
-
* @link /v1/
|
|
2460
|
+
* @summary Restore Global Config backup
|
|
2461
|
+
* @description Restores a Global Config backup.
|
|
2462
|
+
* @link /v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}/restore
|
|
2463
2463
|
*/ async function restoreEdgeConfigBackup({ pathParams, queryParams, config } = {}) {
|
|
2464
2464
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2465
2465
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2470,7 +2470,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2470
2470
|
}
|
|
2471
2471
|
const data = await request({
|
|
2472
2472
|
method: "POST",
|
|
2473
|
-
url: `/v1/
|
|
2473
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/backups/${pathParams.edgeConfigBackupVersionId}/restore`,
|
|
2474
2474
|
queryParams,
|
|
2475
2475
|
...requestConfig,
|
|
2476
2476
|
headers: {
|
|
@@ -2480,9 +2480,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2480
2480
|
return data;
|
|
2481
2481
|
}
|
|
2482
2482
|
/**
|
|
2483
|
-
* @summary Get
|
|
2484
|
-
* @description Returns backups of
|
|
2485
|
-
* @link /v1/
|
|
2483
|
+
* @summary Get Global Config backups
|
|
2484
|
+
* @description Returns backups of a Global Config.
|
|
2485
|
+
* @link /v1/global-config/{edgeConfigId}/backups
|
|
2486
2486
|
*/ async function getEdgeConfigBackups({ pathParams, queryParams, config } = {}) {
|
|
2487
2487
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2488
2488
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2490,7 +2490,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2490
2490
|
}
|
|
2491
2491
|
const data = await request({
|
|
2492
2492
|
method: "GET",
|
|
2493
|
-
url: `/v1/
|
|
2493
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/backups`,
|
|
2494
2494
|
queryParams,
|
|
2495
2495
|
...requestConfig,
|
|
2496
2496
|
headers: {
|
|
@@ -3779,10 +3779,10 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3779
3779
|
return data;
|
|
3780
3780
|
}
|
|
3781
3781
|
/**
|
|
3782
|
-
* @summary Get the data of a user-provided
|
|
3783
|
-
* @description When the user enabled
|
|
3784
|
-
* @link /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/
|
|
3785
|
-
*/ async function
|
|
3782
|
+
* @summary Get the data of a user-provided Global Config
|
|
3783
|
+
* @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.
|
|
3784
|
+
* @link /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config
|
|
3785
|
+
*/ async function getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig({ pathParams, config } = {}) {
|
|
3786
3786
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3787
3787
|
if (!pathParams.integrationConfigurationId) {
|
|
3788
3788
|
throw new Error(`Missing required path parameter: integrationConfigurationId`);
|
|
@@ -3792,7 +3792,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3792
3792
|
}
|
|
3793
3793
|
const data = await request({
|
|
3794
3794
|
method: "GET",
|
|
3795
|
-
url: `/v1/installations/${pathParams.integrationConfigurationId}/resources/${pathParams.resourceId}/experimentation/
|
|
3795
|
+
url: `/v1/installations/${pathParams.integrationConfigurationId}/resources/${pathParams.resourceId}/experimentation/global-config`,
|
|
3796
3796
|
...requestConfig,
|
|
3797
3797
|
headers: {
|
|
3798
3798
|
...requestConfig.headers
|
|
@@ -3801,10 +3801,10 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3801
3801
|
return data;
|
|
3802
3802
|
}
|
|
3803
3803
|
/**
|
|
3804
|
-
* @summary Push data into a user-provided
|
|
3805
|
-
* @description When the user enabled
|
|
3806
|
-
* @link /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/
|
|
3807
|
-
*/ async function
|
|
3804
|
+
* @summary Push data into a user-provided Global Config
|
|
3805
|
+
* @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.
|
|
3806
|
+
* @link /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config
|
|
3807
|
+
*/ async function replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig({ pathParams, config } = {}) {
|
|
3808
3808
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3809
3809
|
if (!pathParams.integrationConfigurationId) {
|
|
3810
3810
|
throw new Error(`Missing required path parameter: integrationConfigurationId`);
|
|
@@ -3814,7 +3814,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3814
3814
|
}
|
|
3815
3815
|
const data = await request({
|
|
3816
3816
|
method: "PUT",
|
|
3817
|
-
url: `/v1/installations/${pathParams.integrationConfigurationId}/resources/${pathParams.resourceId}/experimentation/
|
|
3817
|
+
url: `/v1/installations/${pathParams.integrationConfigurationId}/resources/${pathParams.resourceId}/experimentation/global-config`,
|
|
3818
3818
|
...requestConfig,
|
|
3819
3819
|
headers: {
|
|
3820
3820
|
...requestConfig.headers
|
|
@@ -7179,24 +7179,24 @@ const operationsByPath = {
|
|
|
7179
7179
|
"POST /v1/edge-cache/dangerously-delete-by-tags": dangerouslyDeleteByTags,
|
|
7180
7180
|
"POST /v1/edge-cache/invalidate-by-src-images": invalidateBySrcImages,
|
|
7181
7181
|
"POST /v1/edge-cache/dangerously-delete-by-src-images": dangerouslyDeleteBySrcImages,
|
|
7182
|
-
"GET /v1/
|
|
7183
|
-
"POST /v1/
|
|
7184
|
-
"GET /v1/
|
|
7185
|
-
"PUT /v1/
|
|
7186
|
-
"DELETE /v1/
|
|
7187
|
-
"GET /v1/
|
|
7188
|
-
"PATCH /v1/
|
|
7189
|
-
"GET /v1/
|
|
7190
|
-
"POST /v1/
|
|
7191
|
-
"DELETE /v1/
|
|
7192
|
-
"GET /v1/
|
|
7193
|
-
"GET /v1/
|
|
7194
|
-
"DELETE /v1/
|
|
7195
|
-
"GET /v1/
|
|
7196
|
-
"POST /v1/
|
|
7197
|
-
"GET /v1/
|
|
7198
|
-
"POST /v1/
|
|
7199
|
-
"GET /v1/
|
|
7182
|
+
"GET /v1/global-config": getEdgeConfigs,
|
|
7183
|
+
"POST /v1/global-config": createEdgeConfig,
|
|
7184
|
+
"GET /v1/global-config/{edgeConfigId}": getEdgeConfig,
|
|
7185
|
+
"PUT /v1/global-config/{edgeConfigId}": updateEdgeConfig,
|
|
7186
|
+
"DELETE /v1/global-config/{edgeConfigId}": deleteEdgeConfig,
|
|
7187
|
+
"GET /v1/global-config/{edgeConfigId}/items": getEdgeConfigItems,
|
|
7188
|
+
"PATCH /v1/global-config/{edgeConfigId}/items": patchEdgeConfigItems,
|
|
7189
|
+
"GET /v1/global-config/{edgeConfigId}/schema": getEdgeConfigSchema,
|
|
7190
|
+
"POST /v1/global-config/{edgeConfigId}/schema": patchEdgeConfigSchema,
|
|
7191
|
+
"DELETE /v1/global-config/{edgeConfigId}/schema": deleteEdgeConfigSchema,
|
|
7192
|
+
"GET /v1/global-config/{edgeConfigId}/item/{edgeConfigItemKey}": getEdgeConfigItem,
|
|
7193
|
+
"GET /v1/global-config/{edgeConfigId}/tokens": getEdgeConfigTokens,
|
|
7194
|
+
"DELETE /v1/global-config/{edgeConfigId}/tokens": deleteEdgeConfigTokens,
|
|
7195
|
+
"GET /v1/global-config/{edgeConfigId}/token/{token}": getEdgeConfigToken,
|
|
7196
|
+
"POST /v1/global-config/{edgeConfigId}/token": createEdgeConfigToken,
|
|
7197
|
+
"GET /v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}": getEdgeConfigBackup,
|
|
7198
|
+
"POST /v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}/restore": restoreEdgeConfigBackup,
|
|
7199
|
+
"GET /v1/global-config/{edgeConfigId}/backups": getEdgeConfigBackups,
|
|
7200
7200
|
"POST /v1/env": createSharedEnvVariable,
|
|
7201
7201
|
"GET /v1/env": listSharedEnvVariable,
|
|
7202
7202
|
"PATCH /v1/env": updateSharedEnvVariable,
|
|
@@ -7260,8 +7260,8 @@ const operationsByPath = {
|
|
|
7260
7260
|
"POST /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items": createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItems,
|
|
7261
7261
|
"PATCH /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}": updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
7262
7262
|
"DELETE /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}": deleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
7263
|
-
"GET /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/
|
|
7264
|
-
"PUT /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/
|
|
7263
|
+
"GET /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config": getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig,
|
|
7264
|
+
"PUT /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config": replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig,
|
|
7265
7265
|
"GET /v1/microfrontends/groups": getMicrofrontendsGroups,
|
|
7266
7266
|
"GET /v1/microfrontends/groups/{groupId}/projects": getMicrofrontendsInGroup,
|
|
7267
7267
|
"GET /v1/microfrontends/{deploymentId}/config": getMicrofrontendsConfig,
|
|
@@ -7444,7 +7444,7 @@ const operationsByTag = {
|
|
|
7444
7444
|
updateAccessGroupProject,
|
|
7445
7445
|
deleteAccessGroupProject
|
|
7446
7446
|
},
|
|
7447
|
-
|
|
7447
|
+
aiGateway: {
|
|
7448
7448
|
createAiGatewayRule,
|
|
7449
7449
|
listAiGatewayRules,
|
|
7450
7450
|
updateAiGatewayRule,
|
|
@@ -7589,7 +7589,7 @@ const operationsByTag = {
|
|
|
7589
7589
|
invalidateBySrcImages,
|
|
7590
7590
|
dangerouslyDeleteBySrcImages
|
|
7591
7591
|
},
|
|
7592
|
-
|
|
7592
|
+
globalConfig: {
|
|
7593
7593
|
getEdgeConfigs,
|
|
7594
7594
|
createEdgeConfig,
|
|
7595
7595
|
getEdgeConfig,
|
|
@@ -7673,8 +7673,8 @@ const operationsByTag = {
|
|
|
7673
7673
|
createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItems,
|
|
7674
7674
|
updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
7675
7675
|
deleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
7676
|
-
|
|
7677
|
-
|
|
7676
|
+
getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig,
|
|
7677
|
+
replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig
|
|
7678
7678
|
},
|
|
7679
7679
|
authentication: {
|
|
7680
7680
|
exchangeSsoToken,
|
|
@@ -7693,7 +7693,7 @@ const operationsByTag = {
|
|
|
7693
7693
|
getMicrofrontendsConfigForProject,
|
|
7694
7694
|
createMicrofrontendsGroupWithApplications
|
|
7695
7695
|
},
|
|
7696
|
-
|
|
7696
|
+
observability: {
|
|
7697
7697
|
getObservabilityConfigurationProjects,
|
|
7698
7698
|
updateObservabilityConfigurationProject
|
|
7699
7699
|
},
|
|
@@ -7789,21 +7789,17 @@ const operationsByTag = {
|
|
|
7789
7789
|
},
|
|
7790
7790
|
security: {
|
|
7791
7791
|
updateAttackChallengeMode,
|
|
7792
|
+
getSecurityFirewallConfig,
|
|
7792
7793
|
putFirewallConfig,
|
|
7793
7794
|
updateFirewallConfig,
|
|
7794
7795
|
getFirewallConfig,
|
|
7796
|
+
deleteSecurityFirewallConfigByConfigVersion,
|
|
7797
|
+
createSecurityFirewallConfigByConfigVersionActivate,
|
|
7795
7798
|
getActiveAttackStatus,
|
|
7796
7799
|
getBypassIp,
|
|
7797
7800
|
addBypassIp,
|
|
7798
7801
|
removeBypassIp,
|
|
7799
|
-
getSecurityFirewallEvents
|
|
7800
|
-
},
|
|
7801
|
-
apiSecurity: {
|
|
7802
|
-
getSecurityFirewallConfig,
|
|
7803
|
-
deleteSecurityFirewallConfigByConfigVersion,
|
|
7804
|
-
createSecurityFirewallConfigByConfigVersionActivate
|
|
7805
|
-
},
|
|
7806
|
-
firewall: {
|
|
7802
|
+
getSecurityFirewallEvents,
|
|
7807
7803
|
generateFirewallRule
|
|
7808
7804
|
},
|
|
7809
7805
|
teams: {
|
|
@@ -7885,7 +7881,7 @@ const tagDictionary = {
|
|
|
7885
7881
|
"updateAccessGroupProject"
|
|
7886
7882
|
]
|
|
7887
7883
|
},
|
|
7888
|
-
|
|
7884
|
+
aiGateway: {
|
|
7889
7885
|
POST: [
|
|
7890
7886
|
"createAiGatewayRule"
|
|
7891
7887
|
],
|
|
@@ -8138,7 +8134,7 @@ const tagDictionary = {
|
|
|
8138
8134
|
"dangerouslyDeleteBySrcImages"
|
|
8139
8135
|
]
|
|
8140
8136
|
},
|
|
8141
|
-
|
|
8137
|
+
globalConfig: {
|
|
8142
8138
|
GET: [
|
|
8143
8139
|
"getEdgeConfigs",
|
|
8144
8140
|
"getEdgeConfig",
|
|
@@ -8242,7 +8238,7 @@ const tagDictionary = {
|
|
|
8242
8238
|
"getIntegrationResources",
|
|
8243
8239
|
"getIntegrationResource",
|
|
8244
8240
|
"getInvoice",
|
|
8245
|
-
"
|
|
8241
|
+
"getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig"
|
|
8246
8242
|
],
|
|
8247
8243
|
POST: [
|
|
8248
8244
|
"createEvent",
|
|
@@ -8262,7 +8258,7 @@ const tagDictionary = {
|
|
|
8262
8258
|
"importResource",
|
|
8263
8259
|
"updateResourceSecrets",
|
|
8264
8260
|
"updateResourceSecretsById",
|
|
8265
|
-
"
|
|
8261
|
+
"replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig"
|
|
8266
8262
|
]
|
|
8267
8263
|
},
|
|
8268
8264
|
authentication: {
|
|
@@ -8294,7 +8290,7 @@ const tagDictionary = {
|
|
|
8294
8290
|
"createMicrofrontendsGroupWithApplications"
|
|
8295
8291
|
]
|
|
8296
8292
|
},
|
|
8297
|
-
|
|
8293
|
+
observability: {
|
|
8298
8294
|
GET: [
|
|
8299
8295
|
"getObservabilityConfigurationProjects"
|
|
8300
8296
|
],
|
|
@@ -8439,38 +8435,26 @@ const tagDictionary = {
|
|
|
8439
8435
|
security: {
|
|
8440
8436
|
POST: [
|
|
8441
8437
|
"updateAttackChallengeMode",
|
|
8442
|
-
"
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
"putFirewallConfig"
|
|
8446
|
-
],
|
|
8447
|
-
PATCH: [
|
|
8448
|
-
"updateFirewallConfig"
|
|
8438
|
+
"createSecurityFirewallConfigByConfigVersionActivate",
|
|
8439
|
+
"addBypassIp",
|
|
8440
|
+
"generateFirewallRule"
|
|
8449
8441
|
],
|
|
8450
8442
|
GET: [
|
|
8443
|
+
"getSecurityFirewallConfig",
|
|
8451
8444
|
"getFirewallConfig",
|
|
8452
8445
|
"getActiveAttackStatus",
|
|
8453
8446
|
"getBypassIp",
|
|
8454
8447
|
"getSecurityFirewallEvents"
|
|
8455
8448
|
],
|
|
8456
|
-
|
|
8457
|
-
"
|
|
8458
|
-
]
|
|
8459
|
-
},
|
|
8460
|
-
apiSecurity: {
|
|
8461
|
-
GET: [
|
|
8462
|
-
"getSecurityFirewallConfig"
|
|
8449
|
+
PUT: [
|
|
8450
|
+
"putFirewallConfig"
|
|
8463
8451
|
],
|
|
8464
|
-
|
|
8465
|
-
"
|
|
8452
|
+
PATCH: [
|
|
8453
|
+
"updateFirewallConfig"
|
|
8466
8454
|
],
|
|
8467
|
-
|
|
8468
|
-
"
|
|
8469
|
-
|
|
8470
|
-
},
|
|
8471
|
-
firewall: {
|
|
8472
|
-
POST: [
|
|
8473
|
-
"generateFirewallRule"
|
|
8455
|
+
DELETE: [
|
|
8456
|
+
"deleteSecurityFirewallConfigByConfigVersion",
|
|
8457
|
+
"removeBypassIp"
|
|
8474
8458
|
]
|
|
8475
8459
|
},
|
|
8476
8460
|
teams: {
|
|
@@ -8736,7 +8720,7 @@ exports.getFirewallConfig = getFirewallConfig;
|
|
|
8736
8720
|
exports.getFlag = getFlag;
|
|
8737
8721
|
exports.getFlagSegment = getFlagSegment;
|
|
8738
8722
|
exports.getFlagSettings = getFlagSettings;
|
|
8739
|
-
exports.
|
|
8723
|
+
exports.getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig = getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig;
|
|
8740
8724
|
exports.getIntegrationLogDrains = getIntegrationLogDrains;
|
|
8741
8725
|
exports.getIntegrationResource = getIntegrationResource;
|
|
8742
8726
|
exports.getIntegrationResources = getIntegrationResources;
|
|
@@ -8860,7 +8844,7 @@ exports.removeRecord = removeRecord;
|
|
|
8860
8844
|
exports.removeTeamMember = removeTeamMember;
|
|
8861
8845
|
exports.renewDomain = renewDomain;
|
|
8862
8846
|
exports.replaceDomainsByDomainRecords = replaceDomainsByDomainRecords;
|
|
8863
|
-
exports.
|
|
8847
|
+
exports.replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig = replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig;
|
|
8864
8848
|
exports.requestAccessToTeam = requestAccessToTeam;
|
|
8865
8849
|
exports.requestDelete = requestDelete;
|
|
8866
8850
|
exports.requestPromote = requestPromote;
|