Skip to content

Commit

Permalink
Generated v7.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 13, 2024
1 parent 4fb0348 commit 12f2669
Show file tree
Hide file tree
Showing 879 changed files with 4,251 additions and 961 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

## [v7.9.0](https://github.com/fastly/fastly-js/releases/tag/release/v7.9.0) (2024-09-13)

**Bug fixes:**

- bugfix(rust): Implement std::fmt::Display instead of std::string::ToString for enum models.
- fix(contact): Corrected endpoint called by `delete-contact` operation
- fix(origin-inspector, domain-inspector): Use integer type for Timestamp.
- fix(billing): Make all fields on billing list item data nullable

**Enhancements:**

- feat(acls-in-compute): Add ACLs in Compute API
- feat(enabled-products): Updated to use `v1` versioned endpoints.
- feat(enabled-products): Added `get-product-configuration`, `set-product-configuration` operations.
- feat(realtime, historical): Added `request_denied_get_head_body` metric.
- feat(tls): Add definitions for values of sort parameter
- feat(staging): Add activate/deactivate endpoints for staging
- feat(customer-addresses): Add Customer Addresses API

**Documentation:**

- doc(enabled-products): Added support for product IDs `bot_management` and `ngwaf`.

## [v7.8.0](https://github.com/fastly/fastly-js/releases/tag/release/v7.8.0) (2024-08-21)

**Bug fixes:**
Expand Down
31 changes: 29 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ Class | Method | Description
*Fastly.AclEntryApi* | [**getAclEntry**](docs/AclEntryApi.md#getAclEntry) | Describe an ACL entry
*Fastly.AclEntryApi* | [**listAclEntries**](docs/AclEntryApi.md#listAclEntries) | List ACL entries
*Fastly.AclEntryApi* | [**updateAclEntry**](docs/AclEntryApi.md#updateAclEntry) | Update an ACL entry
*Fastly.AclsInComputeApi* | [**computeAclCreateAcls**](docs/AclsInComputeApi.md#computeAclCreateAcls) | Create a new ACL
*Fastly.AclsInComputeApi* | [**computeAclDeleteSAclId**](docs/AclsInComputeApi.md#computeAclDeleteSAclId) | Delete an ACL
*Fastly.AclsInComputeApi* | [**computeAclListAclEntries**](docs/AclsInComputeApi.md#computeAclListAclEntries) | List an ACL
*Fastly.AclsInComputeApi* | [**computeAclListAcls**](docs/AclsInComputeApi.md#computeAclListAcls) | List ACLs
*Fastly.AclsInComputeApi* | [**computeAclListAclsSAclId**](docs/AclsInComputeApi.md#computeAclListAclsSAclId) | Describe an ACL
*Fastly.AclsInComputeApi* | [**computeAclLookupAcls**](docs/AclsInComputeApi.md#computeAclLookupAcls) | Lookup an ACL
*Fastly.AclsInComputeApi* | [**computeAclUpdateAcls**](docs/AclsInComputeApi.md#computeAclUpdateAcls) | Update an ACL
*Fastly.ApexRedirectApi* | [**createApexRedirect**](docs/ApexRedirectApi.md#createApexRedirect) | Create an apex redirect
*Fastly.ApexRedirectApi* | [**deleteApexRedirect**](docs/ApexRedirectApi.md#deleteApexRedirect) | Delete an apex redirect
*Fastly.ApexRedirectApi* | [**getApexRedirect**](docs/ApexRedirectApi.md#getApexRedirect) | Get an apex redirect
Expand Down Expand Up @@ -127,6 +134,9 @@ Class | Method | Description
*Fastly.CustomerApi* | [**getLoggedInCustomer**](docs/CustomerApi.md#getLoggedInCustomer) | Get the logged in customer
*Fastly.CustomerApi* | [**listUsers**](docs/CustomerApi.md#listUsers) | List users
*Fastly.CustomerApi* | [**updateCustomer**](docs/CustomerApi.md#updateCustomer) | Update a customer
*Fastly.CustomerAddressesApi* | [**createCustomerAddress**](docs/CustomerAddressesApi.md#createCustomerAddress) | Creates an address associated with a customer account.
*Fastly.CustomerAddressesApi* | [**listCustomerAddresses**](docs/CustomerAddressesApi.md#listCustomerAddresses) | Return the list of addresses associated with a customer account.
*Fastly.CustomerAddressesApi* | [**updateCustomerAddress**](docs/CustomerAddressesApi.md#updateCustomerAddress) | Updates an address associated with a customer account.
*Fastly.DictionaryApi* | [**createDictionary**](docs/DictionaryApi.md#createDictionary) | Create an edge dictionary
*Fastly.DictionaryApi* | [**deleteDictionary**](docs/DictionaryApi.md#deleteDictionary) | Delete an edge dictionary
*Fastly.DictionaryApi* | [**getDictionary**](docs/DictionaryApi.md#getDictionary) | Get an edge dictionary
Expand Down Expand Up @@ -164,6 +174,8 @@ Class | Method | Description
*Fastly.EnabledProductsApi* | [**disableProduct**](docs/EnabledProductsApi.md#disableProduct) | Disable a product
*Fastly.EnabledProductsApi* | [**enableProduct**](docs/EnabledProductsApi.md#enableProduct) | Enable a product
*Fastly.EnabledProductsApi* | [**getEnabledProduct**](docs/EnabledProductsApi.md#getEnabledProduct) | Get enabled product
*Fastly.EnabledProductsApi* | [**getProductConfiguration**](docs/EnabledProductsApi.md#getProductConfiguration) | Get configuration for a product
*Fastly.EnabledProductsApi* | [**setProductConfiguration**](docs/EnabledProductsApi.md#setProductConfiguration) | Update configuration for a product
*Fastly.EventsApi* | [**getEvent**](docs/EventsApi.md#getEvent) | Get an event
*Fastly.EventsApi* | [**listEvents**](docs/EventsApi.md#listEvents) | List events
*Fastly.GzipApi* | [**createGzipConfig**](docs/GzipApi.md#createGzipConfig) | Create a gzip configuration
Expand Down Expand Up @@ -560,9 +572,11 @@ Class | Method | Description
*Fastly.VclApi* | [**updateCustomVcl**](docs/VclApi.md#updateCustomVcl) | Update a custom VCL file
*Fastly.VclDiffApi* | [**vclDiffServiceVersions**](docs/VclDiffApi.md#vclDiffServiceVersions) | Get a comparison of the VCL changes between two service versions
*Fastly.VersionApi* | [**activateServiceVersion**](docs/VersionApi.md#activateServiceVersion) | Activate a service version
*Fastly.VersionApi* | [**activateServiceVersionEnvironment**](docs/VersionApi.md#activateServiceVersionEnvironment) | Activate a service version on the specified environment
*Fastly.VersionApi* | [**cloneServiceVersion**](docs/VersionApi.md#cloneServiceVersion) | Clone a service version
*Fastly.VersionApi* | [**createServiceVersion**](docs/VersionApi.md#createServiceVersion) | Create a service version
*Fastly.VersionApi* | [**deactivateServiceVersion**](docs/VersionApi.md#deactivateServiceVersion) | Deactivate a service version
*Fastly.VersionApi* | [**deactivateServiceVersionEnvironment**](docs/VersionApi.md#deactivateServiceVersionEnvironment) | Deactivate a service version on an environment
*Fastly.VersionApi* | [**getServiceVersion**](docs/VersionApi.md#getServiceVersion) | Get a version of a service
*Fastly.VersionApi* | [**listServiceVersions**](docs/VersionApi.md#listServiceVersions) | List versions of a service
*Fastly.VersionApi* | [**lockServiceVersion**](docs/VersionApi.md#lockServiceVersion) | Lock a service version
Expand Down Expand Up @@ -611,19 +625,32 @@ The fastly-js API client currently does not support the following endpoints:
- [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
- [`/dns/configurations/{dns_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
- [`/dns/configurations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
- [`/domains/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
- [`/domains`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
- [`/notifications/integration-types`](https://developer.fastly.com/reference/api/observability/notification) (GET)
- [`/notifications/integrations/{integration_id}/rotateSigningKey`](https://developer.fastly.com/reference/api/observability/notification) (POST)
- [`/notifications/integrations/{integration_id}/signingKey`](https://developer.fastly.com/reference/api/observability/notification) (GET)
- [`/notifications/integrations/{integration_id}`](https://developer.fastly.com/reference/api/observability/notification) (DELETE, GET, PATCH)
- [`/notifications/integrations`](https://developer.fastly.com/reference/api/observability/notification) (GET, POST)
- [`/notifications/mailinglist-confirmations`](https://developer.fastly.com/reference/api/observability/notification) (POST)
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
- [`/security/workspaces/{workspace_id}/events/{event_id}`](https://docs.fastly.com/en/ngwaf/) (GET, PATCH)
- [`/security/workspaces/{workspace_id}/events`](https://docs.fastly.com/en/ngwaf/) (GET)
- [`/security/workspaces/{workspace_id}/redactions/{redaction_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
- [`/security/workspaces/{workspace_id}/redactions`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
- [`/security/workspaces/{workspace_id}/requests/{request_id}`](https://docs.fastly.com/en/ngwaf/) (GET)
- [`/security/workspaces/{workspace_id}/requests`](https://docs.fastly.com/en/ngwaf/) (GET)
- [`/security/workspaces/{workspace_id}/rules/{rule_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
- [`/security/workspaces/{workspace_id}/rules`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
- [`/security/workspaces/{workspace_id}/timeseries`](https://docs.fastly.com/en/ngwaf/) (GET)
- [`/security/workspaces/{workspace_id}/virtual-patches/{virtual_patch_id}`](https://docs.fastly.com/en/ngwaf/) (GET, PATCH)
- [`/security/workspaces/{workspace_id}/virtual-patches`](https://docs.fastly.com/en/ngwaf/) (GET)
- [`/security/workspaces/{workspace_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
- [`/security/workspaces`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
- [`/tls/activations/{tls_activation_id}`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET, PATCH)
- [`/tls/activations`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET)
- [`/tls/configurations/{tls_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
- [`/tls/configurations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
- [`/tls/preview/domains/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (GET, PATCH)
- [`/tls/preview/domains`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
- [`/v1/channel/{service_id}/ts/h/limit/{max_entries}`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
- [`/v1/channel/{service_id}/ts/h`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
- [`/v1/channel/{service_id}/ts/{start_timestamp}`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
Expand Down
270 changes: 270 additions & 0 deletions docs/AclsInComputeApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,270 @@
# Fastly.AclsInComputeApi

```javascript
const apiInstance = new Fastly.AclsInComputeApi();
```
## Methods

> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------ | ------------ | -----------
[**computeAclCreateAcls**](AclsInComputeApi.md#computeAclCreateAcls) | **POST** /resources/acls | Create a new ACL
[**computeAclDeleteSAclId**](AclsInComputeApi.md#computeAclDeleteSAclId) | **DELETE** /resources/acls/{acl_id} | Delete an ACL
[**computeAclListAclEntries**](AclsInComputeApi.md#computeAclListAclEntries) | **GET** /resources/acls/{acl_id}/entries | List an ACL
[**computeAclListAcls**](AclsInComputeApi.md#computeAclListAcls) | **GET** /resources/acls | List ACLs
[**computeAclListAclsSAclId**](AclsInComputeApi.md#computeAclListAclsSAclId) | **GET** /resources/acls/{acl_id} | Describe an ACL
[**computeAclLookupAcls**](AclsInComputeApi.md#computeAclLookupAcls) | **GET** /resources/acls/{acl_id}/entry/{acl_ip} | Lookup an ACL
[**computeAclUpdateAcls**](AclsInComputeApi.md#computeAclUpdateAcls) | **PATCH** /resources/acls/{acl_id}/entries | Update an ACL


## `computeAclCreateAcls`

```javascript
computeAclCreateAcls({ , [compute_acl_create_acls_request] })
```

Create a new ACL.

### Example

```javascript
const options = {
compute_acl_create_acls_request: new Fastly.ComputeAclCreateAclsRequest(),
};

apiInstance.computeAclCreateAcls(options)
.then((data) => {
console.log(data, "API called successfully.");
})
.catch((error) => {
console.error(error);
});
```

### Options

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**compute_acl_create_acls_request** | [**ComputeAclCreateAclsRequest**](ComputeAclCreateAclsRequest.md) | | [optional]

### Return type

[**ComputeAclCreateAclsResponse**](ComputeAclCreateAclsResponse.md)


## `computeAclDeleteSAclId`

```javascript
computeAclDeleteSAclId({ acl_id })
```

Delete an ACL.

### Example

```javascript
const options = {
acl_id: "acl_id_example", // required
};

apiInstance.computeAclDeleteSAclId(options)
.then(() => {
console.log('API called successfully.');
})
.catch((error) => {
console.error(error);
});
```

### Options

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**acl_id** | **String** | |

### Return type

null (empty response body)


## `computeAclListAclEntries`

```javascript
computeAclListAclEntries({ acl_id, [cursor, ][limit] })
```

List an ACL.

### Example

```javascript
const options = {
acl_id: "acl_id_example", // required
cursor: "cursor_example",
limit: 100,
};

apiInstance.computeAclListAclEntries(options)
.then((data) => {
console.log(data, "API called successfully.");
})
.catch((error) => {
console.error(error);
});
```

### Options

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**acl_id** | **String** | |
**cursor** | **String** | | [optional]
**limit** | **Number** | | [optional] [defaults to 100]

### Return type

[**ComputeAclListEntries**](ComputeAclListEntries.md)


## `computeAclListAcls`

```javascript
computeAclListAcls()
```

List all ACLs.

### Example

```javascript
apiInstance.computeAclListAcls()
.then((data) => {
console.log(data, "API called successfully.");
})
.catch((error) => {
console.error(error);
});
```

### Options

This endpoint does not need any parameters.

### Return type

[**[ComputeAclCreateAclsResponse]**](ComputeAclCreateAclsResponse.md)


## `computeAclListAclsSAclId`

```javascript
computeAclListAclsSAclId({ acl_id })
```

Describe an ACL.

### Example

```javascript
const options = {
acl_id: "acl_id_example", // required
};

apiInstance.computeAclListAclsSAclId(options)
.then((data) => {
console.log(data, "API called successfully.");
})
.catch((error) => {
console.error(error);
});
```

### Options

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**acl_id** | **String** | |

### Return type

[**ComputeAclCreateAclsResponse**](ComputeAclCreateAclsResponse.md)


## `computeAclLookupAcls`

```javascript
computeAclLookupAcls({ acl_id, acl_ip })
```

Find a matching ACL entry for an IP address.

### Example

```javascript
const options = {
acl_id: "acl_id_example", // required
acl_ip: "acl_ip_example", // required
};

apiInstance.computeAclLookupAcls(options)
.then((data) => {
console.log(data, "API called successfully.");
})
.catch((error) => {
console.error(error);
});
```

### Options

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**acl_id** | **String** | |
**acl_ip** | **String** | |

### Return type

[**ComputeAclLookup**](ComputeAclLookup.md)


## `computeAclUpdateAcls`

```javascript
computeAclUpdateAcls({ acl_id, [compute_acl_update_entry] })
```

Update an ACL.

### Example

```javascript
const options = {
acl_id: "acl_id_example", // required
compute_acl_update_entry: [new Fastly.ComputeAclUpdateEntry()],
};

apiInstance.computeAclUpdateAcls(options)
.then(() => {
console.log('API called successfully.');
})
.catch((error) => {
console.error(error);
});
```

### Options

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**acl_id** | **String** | |
**compute_acl_update_entry** | [**[ComputeAclUpdateEntry]**](ComputeAclUpdateEntry.md) | | [optional]

### Return type

null (empty response body)


[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to README]](../../README.md)
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Fastly.OriginInspectorRealtimeEntryRecorded
# Fastly.ComputeAclCreateAclsRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | Human readable name of store | [optional]


[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
Loading

0 comments on commit 12f2669

Please sign in to comment.