vercel-api-js 1.7.2 → 1.8.1
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 +611 -208
- package/dist/index.d.ts +1065 -231
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +587 -188
- package/dist/schemas.cjs +378 -63
- package/dist/schemas.d.mts +326 -29
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +358 -43
- package/dist/types.cjs +106 -2
- package/dist/types.d.mts +622 -73
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +103 -3
- package/package.json +1 -1
package/dist/effect.mjs
CHANGED
|
@@ -2135,14 +2135,14 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2135
2135
|
return data;
|
|
2136
2136
|
}
|
|
2137
2137
|
/**
|
|
2138
|
-
* @summary Get
|
|
2139
|
-
* @description Returns all
|
|
2140
|
-
* @link /v1/
|
|
2138
|
+
* @summary Get Global Configs
|
|
2139
|
+
* @description Returns all Global Configs.
|
|
2140
|
+
* @link /v1/global-config
|
|
2141
2141
|
*/ async function getEdgeConfigs({ queryParams, config } = {}) {
|
|
2142
2142
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2143
2143
|
const data = await request({
|
|
2144
2144
|
method: "GET",
|
|
2145
|
-
url: `/v1/
|
|
2145
|
+
url: `/v1/global-config`,
|
|
2146
2146
|
queryParams,
|
|
2147
2147
|
...requestConfig,
|
|
2148
2148
|
headers: {
|
|
@@ -2152,14 +2152,14 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2152
2152
|
return data;
|
|
2153
2153
|
}
|
|
2154
2154
|
/**
|
|
2155
|
-
* @summary Create
|
|
2156
|
-
* @description Creates
|
|
2157
|
-
* @link /v1/
|
|
2155
|
+
* @summary Create a Global Config
|
|
2156
|
+
* @description Creates a Global Config.
|
|
2157
|
+
* @link /v1/global-config
|
|
2158
2158
|
*/ async function createEdgeConfig({ queryParams, config } = {}) {
|
|
2159
2159
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2160
2160
|
const data = await request({
|
|
2161
2161
|
method: "POST",
|
|
2162
|
-
url: `/v1/
|
|
2162
|
+
url: `/v1/global-config`,
|
|
2163
2163
|
queryParams,
|
|
2164
2164
|
...requestConfig,
|
|
2165
2165
|
headers: {
|
|
@@ -2169,9 +2169,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2169
2169
|
return data;
|
|
2170
2170
|
}
|
|
2171
2171
|
/**
|
|
2172
|
-
* @summary Get
|
|
2173
|
-
* @description Returns
|
|
2174
|
-
* @link /v1/
|
|
2172
|
+
* @summary Get a Global Config
|
|
2173
|
+
* @description Returns a Global Config.
|
|
2174
|
+
* @link /v1/global-config/{edgeConfigId}
|
|
2175
2175
|
*/ async function getEdgeConfig({ pathParams, queryParams, config } = {}) {
|
|
2176
2176
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2177
2177
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2179,7 +2179,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2179
2179
|
}
|
|
2180
2180
|
const data = await request({
|
|
2181
2181
|
method: "GET",
|
|
2182
|
-
url: `/v1/
|
|
2182
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}`,
|
|
2183
2183
|
queryParams,
|
|
2184
2184
|
...requestConfig,
|
|
2185
2185
|
headers: {
|
|
@@ -2189,9 +2189,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2189
2189
|
return data;
|
|
2190
2190
|
}
|
|
2191
2191
|
/**
|
|
2192
|
-
* @summary Update
|
|
2193
|
-
* @description Updates
|
|
2194
|
-
* @link /v1/
|
|
2192
|
+
* @summary Update a Global Config
|
|
2193
|
+
* @description Updates a Global Config.
|
|
2194
|
+
* @link /v1/global-config/{edgeConfigId}
|
|
2195
2195
|
*/ async function updateEdgeConfig({ pathParams, queryParams, config } = {}) {
|
|
2196
2196
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2197
2197
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2199,7 +2199,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2199
2199
|
}
|
|
2200
2200
|
const data = await request({
|
|
2201
2201
|
method: "PUT",
|
|
2202
|
-
url: `/v1/
|
|
2202
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}`,
|
|
2203
2203
|
queryParams,
|
|
2204
2204
|
...requestConfig,
|
|
2205
2205
|
headers: {
|
|
@@ -2209,9 +2209,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2209
2209
|
return data;
|
|
2210
2210
|
}
|
|
2211
2211
|
/**
|
|
2212
|
-
* @summary Delete
|
|
2213
|
-
* @description Delete
|
|
2214
|
-
* @link /v1/
|
|
2212
|
+
* @summary Delete a Global Config
|
|
2213
|
+
* @description Delete a Global Config by id.
|
|
2214
|
+
* @link /v1/global-config/{edgeConfigId}
|
|
2215
2215
|
*/ async function deleteEdgeConfig({ pathParams, queryParams, config } = {}) {
|
|
2216
2216
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2217
2217
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2219,7 +2219,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2219
2219
|
}
|
|
2220
2220
|
const data = await request({
|
|
2221
2221
|
method: "DELETE",
|
|
2222
|
-
url: `/v1/
|
|
2222
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}`,
|
|
2223
2223
|
queryParams,
|
|
2224
2224
|
...requestConfig,
|
|
2225
2225
|
headers: {
|
|
@@ -2229,9 +2229,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2229
2229
|
return data;
|
|
2230
2230
|
}
|
|
2231
2231
|
/**
|
|
2232
|
-
* @summary Get
|
|
2233
|
-
* @description Returns all items of
|
|
2234
|
-
* @link /v1/
|
|
2232
|
+
* @summary Get Global Config items
|
|
2233
|
+
* @description Returns all items of a Global Config.
|
|
2234
|
+
* @link /v1/global-config/{edgeConfigId}/items
|
|
2235
2235
|
*/ async function getEdgeConfigItems({ pathParams, queryParams, config } = {}) {
|
|
2236
2236
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2237
2237
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2239,7 +2239,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2239
2239
|
}
|
|
2240
2240
|
const data = await request({
|
|
2241
2241
|
method: "GET",
|
|
2242
|
-
url: `/v1/
|
|
2242
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/items`,
|
|
2243
2243
|
queryParams,
|
|
2244
2244
|
...requestConfig,
|
|
2245
2245
|
headers: {
|
|
@@ -2249,9 +2249,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2249
2249
|
return data;
|
|
2250
2250
|
}
|
|
2251
2251
|
/**
|
|
2252
|
-
* @summary Update
|
|
2253
|
-
* @description Update multiple
|
|
2254
|
-
* @link /v1/
|
|
2252
|
+
* @summary Update Global Config items in batch
|
|
2253
|
+
* @description Update multiple Global Config Items in batch.
|
|
2254
|
+
* @link /v1/global-config/{edgeConfigId}/items
|
|
2255
2255
|
*/ async function patchEdgeConfigItems({ pathParams, queryParams, config } = {}) {
|
|
2256
2256
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2257
2257
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2259,7 +2259,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2259
2259
|
}
|
|
2260
2260
|
const data = await request({
|
|
2261
2261
|
method: "PATCH",
|
|
2262
|
-
url: `/v1/
|
|
2262
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/items`,
|
|
2263
2263
|
queryParams,
|
|
2264
2264
|
...requestConfig,
|
|
2265
2265
|
headers: {
|
|
@@ -2269,9 +2269,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2269
2269
|
return data;
|
|
2270
2270
|
}
|
|
2271
2271
|
/**
|
|
2272
|
-
* @summary Get
|
|
2273
|
-
* @description Returns the schema of
|
|
2274
|
-
* @link /v1/
|
|
2272
|
+
* @summary Get Global Config schema
|
|
2273
|
+
* @description Returns the schema of a Global Config.
|
|
2274
|
+
* @link /v1/global-config/{edgeConfigId}/schema
|
|
2275
2275
|
*/ async function getEdgeConfigSchema({ pathParams, queryParams, config } = {}) {
|
|
2276
2276
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2277
2277
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2279,7 +2279,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2279
2279
|
}
|
|
2280
2280
|
const data = await request({
|
|
2281
2281
|
method: "GET",
|
|
2282
|
-
url: `/v1/
|
|
2282
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/schema`,
|
|
2283
2283
|
queryParams,
|
|
2284
2284
|
...requestConfig,
|
|
2285
2285
|
headers: {
|
|
@@ -2289,9 +2289,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2289
2289
|
return data;
|
|
2290
2290
|
}
|
|
2291
2291
|
/**
|
|
2292
|
-
* @summary Update
|
|
2293
|
-
* @description Update
|
|
2294
|
-
* @link /v1/
|
|
2292
|
+
* @summary Update Global Config schema
|
|
2293
|
+
* @description Update a Global Config's schema.
|
|
2294
|
+
* @link /v1/global-config/{edgeConfigId}/schema
|
|
2295
2295
|
*/ async function patchEdgeConfigSchema({ pathParams, queryParams, config } = {}) {
|
|
2296
2296
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2297
2297
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2299,7 +2299,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2299
2299
|
}
|
|
2300
2300
|
const data = await request({
|
|
2301
2301
|
method: "POST",
|
|
2302
|
-
url: `/v1/
|
|
2302
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/schema`,
|
|
2303
2303
|
queryParams,
|
|
2304
2304
|
...requestConfig,
|
|
2305
2305
|
headers: {
|
|
@@ -2309,9 +2309,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2309
2309
|
return data;
|
|
2310
2310
|
}
|
|
2311
2311
|
/**
|
|
2312
|
-
* @summary Delete
|
|
2313
|
-
* @description Deletes the schema of existing
|
|
2314
|
-
* @link /v1/
|
|
2312
|
+
* @summary Delete a Global Config's schema
|
|
2313
|
+
* @description Deletes the schema of existing Global Config.
|
|
2314
|
+
* @link /v1/global-config/{edgeConfigId}/schema
|
|
2315
2315
|
*/ async function deleteEdgeConfigSchema({ pathParams, queryParams, config } = {}) {
|
|
2316
2316
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2317
2317
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2319,7 +2319,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2319
2319
|
}
|
|
2320
2320
|
const data = await request({
|
|
2321
2321
|
method: "DELETE",
|
|
2322
|
-
url: `/v1/
|
|
2322
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/schema`,
|
|
2323
2323
|
queryParams,
|
|
2324
2324
|
...requestConfig,
|
|
2325
2325
|
headers: {
|
|
@@ -2329,9 +2329,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2329
2329
|
return data;
|
|
2330
2330
|
}
|
|
2331
2331
|
/**
|
|
2332
|
-
* @summary Get
|
|
2333
|
-
* @description Returns a specific
|
|
2334
|
-
* @link /v1/
|
|
2332
|
+
* @summary Get a Global Config item
|
|
2333
|
+
* @description Returns a specific Global Config Item.
|
|
2334
|
+
* @link /v1/global-config/{edgeConfigId}/item/{edgeConfigItemKey}
|
|
2335
2335
|
*/ async function getEdgeConfigItem({ pathParams, queryParams, config } = {}) {
|
|
2336
2336
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2337
2337
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2342,7 +2342,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2342
2342
|
}
|
|
2343
2343
|
const data = await request({
|
|
2344
2344
|
method: "GET",
|
|
2345
|
-
url: `/v1/
|
|
2345
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/item/${pathParams.edgeConfigItemKey}`,
|
|
2346
2346
|
queryParams,
|
|
2347
2347
|
...requestConfig,
|
|
2348
2348
|
headers: {
|
|
@@ -2352,9 +2352,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2352
2352
|
return data;
|
|
2353
2353
|
}
|
|
2354
2354
|
/**
|
|
2355
|
-
* @summary Get all tokens of
|
|
2356
|
-
* @description Returns all tokens of
|
|
2357
|
-
* @link /v1/
|
|
2355
|
+
* @summary Get all tokens of a Global Config
|
|
2356
|
+
* @description Returns all tokens of a Global Config.
|
|
2357
|
+
* @link /v1/global-config/{edgeConfigId}/tokens
|
|
2358
2358
|
*/ async function getEdgeConfigTokens({ pathParams, queryParams, config } = {}) {
|
|
2359
2359
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2360
2360
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2362,7 +2362,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2362
2362
|
}
|
|
2363
2363
|
const data = await request({
|
|
2364
2364
|
method: "GET",
|
|
2365
|
-
url: `/v1/
|
|
2365
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/tokens`,
|
|
2366
2366
|
queryParams,
|
|
2367
2367
|
...requestConfig,
|
|
2368
2368
|
headers: {
|
|
@@ -2372,9 +2372,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2372
2372
|
return data;
|
|
2373
2373
|
}
|
|
2374
2374
|
/**
|
|
2375
|
-
* @summary Delete one or more
|
|
2376
|
-
* @description Deletes one or more tokens of an existing
|
|
2377
|
-
* @link /v1/
|
|
2375
|
+
* @summary Delete one or more Global Config tokens
|
|
2376
|
+
* @description Deletes one or more tokens of an existing Global Config.
|
|
2377
|
+
* @link /v1/global-config/{edgeConfigId}/tokens
|
|
2378
2378
|
*/ async function deleteEdgeConfigTokens({ pathParams, queryParams, config } = {}) {
|
|
2379
2379
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2380
2380
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2382,7 +2382,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2382
2382
|
}
|
|
2383
2383
|
const data = await request({
|
|
2384
2384
|
method: "DELETE",
|
|
2385
|
-
url: `/v1/
|
|
2385
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/tokens`,
|
|
2386
2386
|
queryParams,
|
|
2387
2387
|
...requestConfig,
|
|
2388
2388
|
headers: {
|
|
@@ -2392,9 +2392,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2392
2392
|
return data;
|
|
2393
2393
|
}
|
|
2394
2394
|
/**
|
|
2395
|
-
* @summary Get
|
|
2396
|
-
* @description Return meta data about
|
|
2397
|
-
* @link /v1/
|
|
2395
|
+
* @summary Get Global Config token meta data
|
|
2396
|
+
* @description Return meta data about a Global Config token.
|
|
2397
|
+
* @link /v1/global-config/{edgeConfigId}/token/{token}
|
|
2398
2398
|
*/ async function getEdgeConfigToken({ pathParams, queryParams, config } = {}) {
|
|
2399
2399
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2400
2400
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2405,7 +2405,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2405
2405
|
}
|
|
2406
2406
|
const data = await request({
|
|
2407
2407
|
method: "GET",
|
|
2408
|
-
url: `/v1/
|
|
2408
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/token/${pathParams.token}`,
|
|
2409
2409
|
queryParams,
|
|
2410
2410
|
...requestConfig,
|
|
2411
2411
|
headers: {
|
|
@@ -2415,9 +2415,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2415
2415
|
return data;
|
|
2416
2416
|
}
|
|
2417
2417
|
/**
|
|
2418
|
-
* @summary Create
|
|
2419
|
-
* @description Adds a token to an existing
|
|
2420
|
-
* @link /v1/
|
|
2418
|
+
* @summary Create a Global Config token
|
|
2419
|
+
* @description Adds a token to an existing Global Config.
|
|
2420
|
+
* @link /v1/global-config/{edgeConfigId}/token
|
|
2421
2421
|
*/ async function createEdgeConfigToken({ pathParams, queryParams, config } = {}) {
|
|
2422
2422
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2423
2423
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2425,7 +2425,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2425
2425
|
}
|
|
2426
2426
|
const data = await request({
|
|
2427
2427
|
method: "POST",
|
|
2428
|
-
url: `/v1/
|
|
2428
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/token`,
|
|
2429
2429
|
queryParams,
|
|
2430
2430
|
...requestConfig,
|
|
2431
2431
|
headers: {
|
|
@@ -2435,9 +2435,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2435
2435
|
return data;
|
|
2436
2436
|
}
|
|
2437
2437
|
/**
|
|
2438
|
-
* @summary Get
|
|
2439
|
-
* @description Retrieves a specific version of
|
|
2440
|
-
* @link /v1/
|
|
2438
|
+
* @summary Get Global Config backup
|
|
2439
|
+
* @description Retrieves a specific version of a Global Config from backup storage.
|
|
2440
|
+
* @link /v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}
|
|
2441
2441
|
*/ async function getEdgeConfigBackup({ pathParams, queryParams, config } = {}) {
|
|
2442
2442
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2443
2443
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2448,7 +2448,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2448
2448
|
}
|
|
2449
2449
|
const data = await request({
|
|
2450
2450
|
method: "GET",
|
|
2451
|
-
url: `/v1/
|
|
2451
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/backups/${pathParams.edgeConfigBackupVersionId}`,
|
|
2452
2452
|
queryParams,
|
|
2453
2453
|
...requestConfig,
|
|
2454
2454
|
headers: {
|
|
@@ -2458,9 +2458,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2458
2458
|
return data;
|
|
2459
2459
|
}
|
|
2460
2460
|
/**
|
|
2461
|
-
* @summary Restore
|
|
2462
|
-
* @description Restores
|
|
2463
|
-
* @link /v1/
|
|
2461
|
+
* @summary Restore Global Config backup
|
|
2462
|
+
* @description Restores a Global Config backup.
|
|
2463
|
+
* @link /v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}/restore
|
|
2464
2464
|
*/ async function restoreEdgeConfigBackup({ pathParams, queryParams, config } = {}) {
|
|
2465
2465
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2466
2466
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2471,7 +2471,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2471
2471
|
}
|
|
2472
2472
|
const data = await request({
|
|
2473
2473
|
method: "POST",
|
|
2474
|
-
url: `/v1/
|
|
2474
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/backups/${pathParams.edgeConfigBackupVersionId}/restore`,
|
|
2475
2475
|
queryParams,
|
|
2476
2476
|
...requestConfig,
|
|
2477
2477
|
headers: {
|
|
@@ -2481,9 +2481,9 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2481
2481
|
return data;
|
|
2482
2482
|
}
|
|
2483
2483
|
/**
|
|
2484
|
-
* @summary Get
|
|
2485
|
-
* @description Returns backups of
|
|
2486
|
-
* @link /v1/
|
|
2484
|
+
* @summary Get Global Config backups
|
|
2485
|
+
* @description Returns backups of a Global Config.
|
|
2486
|
+
* @link /v1/global-config/{edgeConfigId}/backups
|
|
2487
2487
|
*/ async function getEdgeConfigBackups({ pathParams, queryParams, config } = {}) {
|
|
2488
2488
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
2489
2489
|
if (!pathParams.edgeConfigId) {
|
|
@@ -2491,7 +2491,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
2491
2491
|
}
|
|
2492
2492
|
const data = await request({
|
|
2493
2493
|
method: "GET",
|
|
2494
|
-
url: `/v1/
|
|
2494
|
+
url: `/v1/global-config/${pathParams.edgeConfigId}/backups`,
|
|
2495
2495
|
queryParams,
|
|
2496
2496
|
...requestConfig,
|
|
2497
2497
|
headers: {
|
|
@@ -3780,10 +3780,10 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3780
3780
|
return data;
|
|
3781
3781
|
}
|
|
3782
3782
|
/**
|
|
3783
|
-
* @summary Get the data of a user-provided
|
|
3784
|
-
* @description When the user enabled
|
|
3785
|
-
* @link /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/
|
|
3786
|
-
*/ async function
|
|
3783
|
+
* @summary Get the data of a user-provided Global Config
|
|
3784
|
+
* @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.
|
|
3785
|
+
* @link /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config
|
|
3786
|
+
*/ async function getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig({ pathParams, config } = {}) {
|
|
3787
3787
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3788
3788
|
if (!pathParams.integrationConfigurationId) {
|
|
3789
3789
|
throw new Error(`Missing required path parameter: integrationConfigurationId`);
|
|
@@ -3793,7 +3793,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3793
3793
|
}
|
|
3794
3794
|
const data = await request({
|
|
3795
3795
|
method: "GET",
|
|
3796
|
-
url: `/v1/installations/${pathParams.integrationConfigurationId}/resources/${pathParams.resourceId}/experimentation/
|
|
3796
|
+
url: `/v1/installations/${pathParams.integrationConfigurationId}/resources/${pathParams.resourceId}/experimentation/global-config`,
|
|
3797
3797
|
...requestConfig,
|
|
3798
3798
|
headers: {
|
|
3799
3799
|
...requestConfig.headers
|
|
@@ -3802,10 +3802,10 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3802
3802
|
return data;
|
|
3803
3803
|
}
|
|
3804
3804
|
/**
|
|
3805
|
-
* @summary Push data into a user-provided
|
|
3806
|
-
* @description When the user enabled
|
|
3807
|
-
* @link /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/
|
|
3808
|
-
*/ async function
|
|
3805
|
+
* @summary Push data into a user-provided Global Config
|
|
3806
|
+
* @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.
|
|
3807
|
+
* @link /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config
|
|
3808
|
+
*/ async function replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig({ pathParams, config } = {}) {
|
|
3809
3809
|
const { client: request = client, ...requestConfig } = config ?? {};
|
|
3810
3810
|
if (!pathParams.integrationConfigurationId) {
|
|
3811
3811
|
throw new Error(`Missing required path parameter: integrationConfigurationId`);
|
|
@@ -3815,7 +3815,7 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
3815
3815
|
}
|
|
3816
3816
|
const data = await request({
|
|
3817
3817
|
method: "PUT",
|
|
3818
|
-
url: `/v1/installations/${pathParams.integrationConfigurationId}/resources/${pathParams.resourceId}/experimentation/
|
|
3818
|
+
url: `/v1/installations/${pathParams.integrationConfigurationId}/resources/${pathParams.resourceId}/experimentation/global-config`,
|
|
3819
3819
|
...requestConfig,
|
|
3820
3820
|
headers: {
|
|
3821
3821
|
...requestConfig.headers
|
|
@@ -7180,24 +7180,24 @@ const operationsByPath = {
|
|
|
7180
7180
|
"POST /v1/edge-cache/dangerously-delete-by-tags": dangerouslyDeleteByTags,
|
|
7181
7181
|
"POST /v1/edge-cache/invalidate-by-src-images": invalidateBySrcImages,
|
|
7182
7182
|
"POST /v1/edge-cache/dangerously-delete-by-src-images": dangerouslyDeleteBySrcImages,
|
|
7183
|
-
"GET /v1/
|
|
7184
|
-
"POST /v1/
|
|
7185
|
-
"GET /v1/
|
|
7186
|
-
"PUT /v1/
|
|
7187
|
-
"DELETE /v1/
|
|
7188
|
-
"GET /v1/
|
|
7189
|
-
"PATCH /v1/
|
|
7190
|
-
"GET /v1/
|
|
7191
|
-
"POST /v1/
|
|
7192
|
-
"DELETE /v1/
|
|
7193
|
-
"GET /v1/
|
|
7194
|
-
"GET /v1/
|
|
7195
|
-
"DELETE /v1/
|
|
7196
|
-
"GET /v1/
|
|
7197
|
-
"POST /v1/
|
|
7198
|
-
"GET /v1/
|
|
7199
|
-
"POST /v1/
|
|
7200
|
-
"GET /v1/
|
|
7183
|
+
"GET /v1/global-config": getEdgeConfigs,
|
|
7184
|
+
"POST /v1/global-config": createEdgeConfig,
|
|
7185
|
+
"GET /v1/global-config/{edgeConfigId}": getEdgeConfig,
|
|
7186
|
+
"PUT /v1/global-config/{edgeConfigId}": updateEdgeConfig,
|
|
7187
|
+
"DELETE /v1/global-config/{edgeConfigId}": deleteEdgeConfig,
|
|
7188
|
+
"GET /v1/global-config/{edgeConfigId}/items": getEdgeConfigItems,
|
|
7189
|
+
"PATCH /v1/global-config/{edgeConfigId}/items": patchEdgeConfigItems,
|
|
7190
|
+
"GET /v1/global-config/{edgeConfigId}/schema": getEdgeConfigSchema,
|
|
7191
|
+
"POST /v1/global-config/{edgeConfigId}/schema": patchEdgeConfigSchema,
|
|
7192
|
+
"DELETE /v1/global-config/{edgeConfigId}/schema": deleteEdgeConfigSchema,
|
|
7193
|
+
"GET /v1/global-config/{edgeConfigId}/item/{edgeConfigItemKey}": getEdgeConfigItem,
|
|
7194
|
+
"GET /v1/global-config/{edgeConfigId}/tokens": getEdgeConfigTokens,
|
|
7195
|
+
"DELETE /v1/global-config/{edgeConfigId}/tokens": deleteEdgeConfigTokens,
|
|
7196
|
+
"GET /v1/global-config/{edgeConfigId}/token/{token}": getEdgeConfigToken,
|
|
7197
|
+
"POST /v1/global-config/{edgeConfigId}/token": createEdgeConfigToken,
|
|
7198
|
+
"GET /v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}": getEdgeConfigBackup,
|
|
7199
|
+
"POST /v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}/restore": restoreEdgeConfigBackup,
|
|
7200
|
+
"GET /v1/global-config/{edgeConfigId}/backups": getEdgeConfigBackups,
|
|
7201
7201
|
"POST /v1/env": createSharedEnvVariable,
|
|
7202
7202
|
"GET /v1/env": listSharedEnvVariable,
|
|
7203
7203
|
"PATCH /v1/env": updateSharedEnvVariable,
|
|
@@ -7261,8 +7261,8 @@ const operationsByPath = {
|
|
|
7261
7261
|
"POST /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items": createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItems,
|
|
7262
7262
|
"PATCH /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}": updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
7263
7263
|
"DELETE /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}": deleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
7264
|
-
"GET /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/
|
|
7265
|
-
"PUT /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/
|
|
7264
|
+
"GET /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config": getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig,
|
|
7265
|
+
"PUT /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config": replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig,
|
|
7266
7266
|
"GET /v1/microfrontends/groups": getMicrofrontendsGroups,
|
|
7267
7267
|
"GET /v1/microfrontends/groups/{groupId}/projects": getMicrofrontendsInGroup,
|
|
7268
7268
|
"GET /v1/microfrontends/{deploymentId}/config": getMicrofrontendsConfig,
|
|
@@ -7445,7 +7445,7 @@ const operationsByTag = {
|
|
|
7445
7445
|
updateAccessGroupProject,
|
|
7446
7446
|
deleteAccessGroupProject
|
|
7447
7447
|
},
|
|
7448
|
-
|
|
7448
|
+
aiGateway: {
|
|
7449
7449
|
createAiGatewayRule,
|
|
7450
7450
|
listAiGatewayRules,
|
|
7451
7451
|
updateAiGatewayRule,
|
|
@@ -7590,7 +7590,7 @@ const operationsByTag = {
|
|
|
7590
7590
|
invalidateBySrcImages,
|
|
7591
7591
|
dangerouslyDeleteBySrcImages
|
|
7592
7592
|
},
|
|
7593
|
-
|
|
7593
|
+
globalConfig: {
|
|
7594
7594
|
getEdgeConfigs,
|
|
7595
7595
|
createEdgeConfig,
|
|
7596
7596
|
getEdgeConfig,
|
|
@@ -7674,8 +7674,8 @@ const operationsByTag = {
|
|
|
7674
7674
|
createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItems,
|
|
7675
7675
|
updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
7676
7676
|
deleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId,
|
|
7677
|
-
|
|
7678
|
-
|
|
7677
|
+
getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig,
|
|
7678
|
+
replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig
|
|
7679
7679
|
},
|
|
7680
7680
|
authentication: {
|
|
7681
7681
|
exchangeSsoToken,
|
|
@@ -7694,7 +7694,7 @@ const operationsByTag = {
|
|
|
7694
7694
|
getMicrofrontendsConfigForProject,
|
|
7695
7695
|
createMicrofrontendsGroupWithApplications
|
|
7696
7696
|
},
|
|
7697
|
-
|
|
7697
|
+
observability: {
|
|
7698
7698
|
getObservabilityConfigurationProjects,
|
|
7699
7699
|
updateObservabilityConfigurationProject
|
|
7700
7700
|
},
|
|
@@ -7790,21 +7790,17 @@ const operationsByTag = {
|
|
|
7790
7790
|
},
|
|
7791
7791
|
security: {
|
|
7792
7792
|
updateAttackChallengeMode,
|
|
7793
|
+
getSecurityFirewallConfig,
|
|
7793
7794
|
putFirewallConfig,
|
|
7794
7795
|
updateFirewallConfig,
|
|
7795
7796
|
getFirewallConfig,
|
|
7797
|
+
deleteSecurityFirewallConfigByConfigVersion,
|
|
7798
|
+
createSecurityFirewallConfigByConfigVersionActivate,
|
|
7796
7799
|
getActiveAttackStatus,
|
|
7797
7800
|
getBypassIp,
|
|
7798
7801
|
addBypassIp,
|
|
7799
7802
|
removeBypassIp,
|
|
7800
|
-
getSecurityFirewallEvents
|
|
7801
|
-
},
|
|
7802
|
-
apiSecurity: {
|
|
7803
|
-
getSecurityFirewallConfig,
|
|
7804
|
-
deleteSecurityFirewallConfigByConfigVersion,
|
|
7805
|
-
createSecurityFirewallConfigByConfigVersionActivate
|
|
7806
|
-
},
|
|
7807
|
-
firewall: {
|
|
7803
|
+
getSecurityFirewallEvents,
|
|
7808
7804
|
generateFirewallRule
|
|
7809
7805
|
},
|
|
7810
7806
|
teams: {
|