Skip to content

Commit

Permalink
Generated v7.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jun 28, 2024
1 parent ba52a92 commit 50d514a
Show file tree
Hide file tree
Showing 784 changed files with 855 additions and 784 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## [v7.4.0](https://github.com/fastly/fastly-js/releases/tag/release/v7.4.0) (2024-06-27)

**Bug fixes:**

- bugfix(alerts-definitions): For Origin derived metrics, correct `all_bandwidth` type to `integer`

**Enhancements:**

- feat(logging-s3): Add `file_max_bytes` configuration field
- feat(alerts-definitions): Add `integration_id` parameter to the List Alert Definitions endpoint
- feat(alerts-definitions): For Origin derived metrics, add `all_status_4xx_excl_404_rate` and `all_status_404_rate` properties
- feat(alerts-definitions): For Domain derived metrics, add `status_4xx_excl_404_rate` and `status_404_rate` properties
- feat(alerts-definitions): For Stats derived metrics, add `status_4xx_excl_404_rate`, `status_404_rate`, `all_status_5xx_rate`,
`all_status_4xx_rate`, `all_status_gte_400_rate`, and `all_status_lt_500_rate` properties
- feat(billing-invoices): For invoice line items, added `ProductLine` property

**Documentation:**

- doc(billing-invoices): "Billing Invoices API" relabeled to "Invoices API"
- doc(billing-invoices): Updated documentation of `billing_start_date` and `billing_end_date` query parameters of
List of invoices endpoint
- doc(alerts-definitions): Updated documentation of several fields
- doc(notification-service): Updated documentation examples for several fields

## [v7.3.0](https://github.com/fastly/fastly-js/releases/tag/release/v7.3.0) (2024-05-24)

**Bug fixes:**
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,8 @@ The fastly-js API client currently does not support the following endpoints:
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
- [`/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/preview/domains/{tls_preview_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
4 changes: 2 additions & 2 deletions docs/BillingInvoicesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Returns the list of invoices, sorted by billing start date (newest to oldest).

```javascript
const options = {
billing_start_date: 2023-01-01T00:00:00Z,
billing_end_date: 2023-01-31T00:00:00Z,
billing_start_date: 2023-01-01,
billing_end_date: 2023-01-31,
limit: "'100'",
cursor: "cursor_example",
};
Expand Down
1 change: 1 addition & 0 deletions docs/Invoicelineitems.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**units** | **Number** | Total number of units of usage. | [optional]
**product_name** | **String** | The name of the product. | [optional]
**product_group** | **String** | The broader classification of the product (e.g., `Compute` or `Full-Site Delivery`). | [optional]
**product_line** | **String** | The broader classification of the product (e.g., `Network Services` or `Security`). | [optional]
**region** | **String** | The geographical area applicable for regionally based products. | [optional]
**usage_type** | **String** | The unit of measure (e.g., `requests` or `bandwidth`). | [optional]

Expand Down
1 change: 1 addition & 0 deletions docs/LoggingS3Additional.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Name | Type | Description | Notes
**secret_key** | **String** | The secret key for your S3 account. Not required if `iam_role` is provided. | [optional]
**server_side_encryption_kms_key_id** | **String** | Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`. | [optional] [defaults to 'null']
**server_side_encryption** | **String** | Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption. | [optional] [defaults to 'null']
**file_max_bytes** | **Number** | The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.) | [optional]


[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
8 changes: 6 additions & 2 deletions docs/LoggingS3Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Method | HTTP request | Description
## `createLogAwsS3`

```javascript
createLogAwsS3({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][access_key, ][acl, ][bucket_name, ][domain, ][iam_role, ][path, ][public_key, ][redundancy, ][secret_key, ][server_side_encryption_kms_key_id, ][server_side_encryption] })
createLogAwsS3({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][access_key, ][acl, ][bucket_name, ][domain, ][iam_role, ][path, ][public_key, ][redundancy, ][secret_key, ][server_side_encryption_kms_key_id, ][server_side_encryption, ][file_max_bytes] })
```

Create a S3 for a particular service and version.
Expand Down Expand Up @@ -52,6 +52,7 @@ const options = {
secret_key: "secret_key_example",
server_side_encryption_kms_key_id: "'null'",
server_side_encryption: "'null'",
file_max_bytes: 56,
};

apiInstance.createLogAwsS3(options)
Expand Down Expand Up @@ -90,6 +91,7 @@ Name | Type | Description | Notes
**secret_key** | **String** | The secret key for your S3 account. Not required if `iam_role` is provided. | [optional]
**server_side_encryption_kms_key_id** | **String** | Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`. | [optional] [defaults to 'null']
**server_side_encryption** | **String** | Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption. | [optional] [defaults to 'null']
**file_max_bytes** | **Number** | The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.) | [optional]

### Return type

Expand Down Expand Up @@ -214,7 +216,7 @@ Name | Type | Description | Notes
## `updateLogAwsS3`

```javascript
updateLogAwsS3({ service_id, version_id, logging_s3_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][access_key, ][acl, ][bucket_name, ][domain, ][iam_role, ][path, ][public_key, ][redundancy, ][secret_key, ][server_side_encryption_kms_key_id, ][server_side_encryption] })
updateLogAwsS3({ service_id, version_id, logging_s3_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][access_key, ][acl, ][bucket_name, ][domain, ][iam_role, ][path, ][public_key, ][redundancy, ][secret_key, ][server_side_encryption_kms_key_id, ][server_side_encryption, ][file_max_bytes] })
```

Update the S3 for a particular service and version.
Expand Down Expand Up @@ -247,6 +249,7 @@ const options = {
secret_key: "secret_key_example",
server_side_encryption_kms_key_id: "'null'",
server_side_encryption: "'null'",
file_max_bytes: 56,
};

apiInstance.updateLogAwsS3(options)
Expand Down Expand Up @@ -286,6 +289,7 @@ Name | Type | Description | Notes
**secret_key** | **String** | The secret key for your S3 account. Not required if `iam_role` is provided. | [optional]
**server_side_encryption_kms_key_id** | **String** | Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`. | [optional] [defaults to 'null']
**server_side_encryption** | **String** | Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption. | [optional] [defaults to 'null']
**file_max_bytes** | **Number** | The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.) | [optional]

### Return type

Expand Down
1 change: 1 addition & 0 deletions docs/LoggingS3Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Name | Type | Description | Notes
**secret_key** | **String** | The secret key for your S3 account. Not required if `iam_role` is provided. | [optional]
**server_side_encryption_kms_key_id** | **String** | Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`. | [optional] [defaults to 'null']
**server_side_encryption** | **String** | Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption. | [optional] [defaults to 'null']
**file_max_bytes** | **Number** | The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.) | [optional]


[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fastly",
"version": "7.3.0",
"version": "7.4.0",
"description": "A JavaScript client library for interacting with most facets of the Fastly API.",
"license": "MIT",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion sig.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"G": "12e42c04", "D": "dd010b17"}
{"G": "5a2ccc65", "D": "ec7f026b"}
4 changes: 2 additions & 2 deletions src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const DEFAULT_RATELIMIT = 1000;

/**
* @module ApiClient
* @version 7.3.0
* @version 7.4.0
*/

/**
Expand Down Expand Up @@ -66,7 +66,7 @@ class ApiClient {
* @default {}
*/
this.defaultHeaders = {
'User-Agent': 'fastly-js/7.3.0'
'User-Agent': 'fastly-js/7.4.0'
};

/**
Expand Down
2 changes: 1 addition & 1 deletion src/api/AclApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* Acl service.
* @module api/AclApi
* @version 7.3.0
* @version 7.4.0
*/
export default class AclApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/AclEntryApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* AclEntry service.
* @module api/AclEntryApi
* @version 7.3.0
* @version 7.4.0
*/
export default class AclEntryApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/ApexRedirectApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* ApexRedirect service.
* @module api/ApexRedirectApi
* @version 7.3.0
* @version 7.4.0
*/
export default class ApexRedirectApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/AutomationTokensApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import InlineResponse2001 from '../model/InlineResponse2001';
/**
* AutomationTokens service.
* @module api/AutomationTokensApi
* @version 7.3.0
* @version 7.4.0
*/
export default class AutomationTokensApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/BackendApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* Backend service.
* @module api/BackendApi
* @version 7.3.0
* @version 7.4.0
*/
export default class BackendApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/BillingAddressApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import UpdateBillingAddressRequest from '../model/UpdateBillingAddressRequest';
/**
* BillingAddress service.
* @module api/BillingAddressApi
* @version 7.3.0
* @version 7.4.0
*/
export default class BillingAddressApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/BillingApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import BillingResponse from '../model/BillingResponse';
/**
* Billing service.
* @module api/BillingApi
* @version 7.3.0
* @version 7.4.0
*/
export default class BillingApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/BillingInvoicesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import ListInvoicesResponse from '../model/ListInvoicesResponse';
/**
* BillingInvoices service.
* @module api/BillingInvoicesApi
* @version 7.3.0
* @version 7.4.0
*/
export default class BillingInvoicesApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/CacheSettingsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* CacheSettings service.
* @module api/CacheSettingsApi
* @version 7.3.0
* @version 7.4.0
*/
export default class CacheSettingsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/ConditionApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* Condition service.
* @module api/ConditionApi
* @version 7.3.0
* @version 7.4.0
*/
export default class ConditionApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/ConfigStoreApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* ConfigStore service.
* @module api/ConfigStoreApi
* @version 7.3.0
* @version 7.4.0
*/
export default class ConfigStoreApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/ConfigStoreItemApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* ConfigStoreItem service.
* @module api/ConfigStoreItemApi
* @version 7.3.0
* @version 7.4.0
*/
export default class ConfigStoreItemApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/ContactApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import SchemasContactResponse from '../model/SchemasContactResponse';
/**
* Contact service.
* @module api/ContactApi
* @version 7.3.0
* @version 7.4.0
*/
export default class ContactApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/ContentApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import Content from '../model/Content';
/**
* Content service.
* @module api/ContentApi
* @version 7.3.0
* @version 7.4.0
*/
export default class ContentApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/CustomerApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import SchemasUserResponse from '../model/SchemasUserResponse';
/**
* Customer service.
* @module api/CustomerApi
* @version 7.3.0
* @version 7.4.0
*/
export default class CustomerApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/DictionaryApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* Dictionary service.
* @module api/DictionaryApi
* @version 7.3.0
* @version 7.4.0
*/
export default class DictionaryApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/DictionaryInfoApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import DictionaryInfoResponse from '../model/DictionaryInfoResponse';
/**
* DictionaryInfo service.
* @module api/DictionaryInfoApi
* @version 7.3.0
* @version 7.4.0
*/
export default class DictionaryInfoApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/DictionaryItemApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* DictionaryItem service.
* @module api/DictionaryItemApi
* @version 7.3.0
* @version 7.4.0
*/
export default class DictionaryItemApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/DiffApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import DiffResponse from '../model/DiffResponse';
/**
* Diff service.
* @module api/DiffApi
* @version 7.3.0
* @version 7.4.0
*/
export default class DiffApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/DirectorApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* Director service.
* @module api/DirectorApi
* @version 7.3.0
* @version 7.4.0
*/
export default class DirectorApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/DirectorBackendApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* DirectorBackend service.
* @module api/DirectorBackendApi
* @version 7.3.0
* @version 7.4.0
*/
export default class DirectorBackendApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/DomainApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200';
/**
* Domain service.
* @module api/DomainApi
* @version 7.3.0
* @version 7.4.0
*/
export default class DomainApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/DomainInspectorHistoricalApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import HistoricalDomainsResponse from '../model/HistoricalDomainsResponse';
/**
* DomainInspectorHistorical service.
* @module api/DomainInspectorHistoricalApi
* @version 7.3.0
* @version 7.4.0
*/
export default class DomainInspectorHistoricalApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/DomainInspectorRealtimeApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import DomainInspector from '../model/DomainInspector';
/**
* DomainInspectorRealtime service.
* @module api/DomainInspectorRealtimeApi
* @version 7.3.0
* @version 7.4.0
*/
export default class DomainInspectorRealtimeApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/DomainOwnershipsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import InlineResponse2002 from '../model/InlineResponse2002';
/**
* DomainOwnerships service.
* @module api/DomainOwnershipsApi
* @version 7.3.0
* @version 7.4.0
*/
export default class DomainOwnershipsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/EnabledProductsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import EnabledProductResponse from '../model/EnabledProductResponse';
/**
* EnabledProducts service.
* @module api/EnabledProductsApi
* @version 7.3.0
* @version 7.4.0
*/
export default class EnabledProductsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/EventsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import EventsResponse from '../model/EventsResponse';
/**
* Events service.
* @module api/EventsApi
* @version 7.3.0
* @version 7.4.0
*/
export default class EventsApi {

Expand Down
Loading

0 comments on commit 50d514a

Please sign in to comment.