Skip to content

Commit c14d17a

Browse files
author
github-actions
committed
Generated v7.0.0
1 parent 74afa26 commit c14d17a

File tree

69 files changed

+198
-672
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+198
-672
lines changed

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Changelog
22

3+
## [v7.0.0](https://github.com/fastly/fastly-rust/releases/tag/release/v7.0.0) (2025-03-13)
4+
5+
**Breaking Changes:**
6+
7+
- fix(automation_tokens): Response content types corrected.
8+
- fix(automation_tokens): Removed timestamp fields.
9+
- removed(billing): Billing v2 API has been removed.
10+
11+
- fix(acls_in_compute): Corrected `meta.limit` field type from string to integer.
12+
13+
- fix(condition): Condition responses now always have a string value for the priority field.
14+
- fix(header): Header responses now always have a string value for the priority field.
15+
- fix(snippet): Snippet responses now always have string values for the priority and dynamic fields.
16+
17+
- fix(kv_store_item): `kv-store-get-item` returns an inline object instead of a File object.
18+
19+
20+
**Enhancements:**
21+
22+
- fix(automation_tokens): Added tls_access, creator_id fields to responses.
23+
- feat(billing_usage_metrics): Added filter by service identifier for service-usage-metrics endpoint.
24+
- feat(tls_bulk_certificates): Added `not_before` and `not_after` filter parameters to allow for filtering of bulk TLS
25+
certificates by expiry.
26+
27+
28+
**Documentation:**
29+
30+
- doc(billing_usage_metrics): Correct documentation of pagination limits.
31+
- doc(billing_usage_metrics): Correct documentation of api conditions for product_id and usage_type_name filters.
32+
- doc(logging_azureblob): Mention Azure Block size limits.
33+
34+
335
## [v6.0.0](https://github.com/fastly/fastly-rust/releases/tag/release/v6.0.0) (2025-02-26)
436

537
**Breaking Changes:**

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fastly-api"
3-
version = "6.0.0"
3+
version = "7.0.0"
44
authors = ["Fastly <oss@fastly.com>"]
55
edition = "2021"
66
description = "Fastly API client"

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Rust 2021 Edition
1515
Add the following to `Cargo.toml` under `[dependencies]`:
1616

1717
```toml
18-
fastly-api = "6.0.0"
18+
fastly-api = "7.0.0"
1919
```
2020

2121
## Usage
@@ -115,17 +115,14 @@ Class | Method | Description
115115
*BackendApi* | [**get_backend**](docs/BackendApi.md#get_backend) | Describe a backend
116116
*BackendApi* | [**list_backends**](docs/BackendApi.md#list_backends) | List backends
117117
*BackendApi* | [**update_backend**](docs/BackendApi.md#update_backend) | Update a backend
118-
*BillingApi* | [**get_invoice**](docs/BillingApi.md#get_invoice) | Get an invoice
119-
*BillingApi* | [**get_invoice_by_id**](docs/BillingApi.md#get_invoice_by_id) | Get an invoice
120-
*BillingApi* | [**get_invoice_mtd**](docs/BillingApi.md#get_invoice_mtd) | Get month-to-date billing estimate
121118
*BillingAddressApi* | [**add_billing_addr**](docs/BillingAddressApi.md#add_billing_addr) | Add a billing address to a customer
122119
*BillingAddressApi* | [**delete_billing_addr**](docs/BillingAddressApi.md#delete_billing_addr) | Delete a billing address
123120
*BillingAddressApi* | [**get_billing_addr**](docs/BillingAddressApi.md#get_billing_addr) | Get a billing address
124121
*BillingAddressApi* | [**update_billing_addr**](docs/BillingAddressApi.md#update_billing_addr) | Update a billing address
125122
*BillingInvoicesApi* | [**get_invoice_by_invoice_id**](docs/BillingInvoicesApi.md#get_invoice_by_invoice_id) | Get invoice by ID.
126123
*BillingInvoicesApi* | [**get_month_to_date_invoice**](docs/BillingInvoicesApi.md#get_month_to_date_invoice) | Get month-to-date invoice.
127124
*BillingInvoicesApi* | [**list_invoices**](docs/BillingInvoicesApi.md#list_invoices) | List of invoices.
128-
*BillingUsageMetricsApi* | [**get_service_level_usage**](docs/BillingUsageMetricsApi.md#get_service_level_usage) | Retrieve service-level usage metrics for a product.
125+
*BillingUsageMetricsApi* | [**get_service_level_usage**](docs/BillingUsageMetricsApi.md#get_service_level_usage) | Retrieve service-level usage metrics for services with non-zero usage units.
129126
*BillingUsageMetricsApi* | [**get_usage_metrics**](docs/BillingUsageMetricsApi.md#get_usage_metrics) | Get monthly usage metrics
130127
*CacheSettingsApi* | [**create_cache_settings**](docs/CacheSettingsApi.md#create_cache_settings) | Create a cache settings object
131128
*CacheSettingsApi* | [**delete_cache_settings**](docs/CacheSettingsApi.md#delete_cache_settings) | Delete a cache settings object

docs/AutomationToken.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**role** | Option<**String**> | The role on the token. |
99
**services** | Option<**Vec<String>**> | (Optional) The service IDs of the services the token will have access to. Separate service IDs with a space. If no services are specified, the token will have access to all services on the account. |
1010
**scope** | Option<**String**> | A space-delimited list of authorization scope. | [default to Scope_Global]
11-
**expires_at** | Option<**String**> | A UTC time-stamp of when the token expires. |
11+
**expires_at** | Option<**String**> | A UTC timestamp of when the token expires. |
1212

1313
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1414

docs/AutomationTokenCreateRequestAttributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**role** | Option<**String**> | |
99
**services** | Option<**Vec<String>**> | List of service ids to limit the token |
1010
**scope** | Option<**String**> | | [default to Scope_Global]
11-
**expires_at** | Option<**String**> | A UTC time-stamp of when the token will expire. |
11+
**expires_at** | Option<**String**> | A UTC timestamp of when the token will expire. |
1212
**tls_access** | Option<**bool**> | Indicates whether TLS access is enabled for the token. |
1313

1414
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/AutomationTokenCreateResponse.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@ Name | Type | Description | Notes
88
**role** | Option<**String**> | The role on the token. |
99
**services** | Option<**Vec<String>**> | (Optional) The service IDs of the services the token will have access to. Separate service IDs with a space. If no services are specified, the token will have access to all services on the account. |
1010
**scope** | Option<**String**> | A space-delimited list of authorization scope. | [default to Scope_Global]
11-
**expires_at** | Option<**String**> | A UTC time-stamp of when the token expires. |
12-
**created_at** | Option<**String**> | A UTC time-stamp of when the token was created. | [readonly]
13-
**deleted_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
14-
**updated_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
11+
**expires_at** | Option<**String**> | A UTC timestamp of when the token expires. |
1512
**id** | Option<[**crate::models::ReadOnlyId**](ReadOnlyId.md)> | |
1613
**user_id** | Option<[**crate::models::ReadOnlyUserId**](ReadOnlyUserId.md)> | |
1714
**customer_id** | Option<[**crate::models::ReadOnlyCustomerId**](ReadOnlyCustomerId.md)> | |
18-
**sudo_expires_at** | Option<**String**> | | [readonly]
15+
**created_at** | Option<**String**> | A UTC timestamp of when the token was created. | [readonly]
1916
**access_token** | Option<**String**> | | [readonly]
20-
**last_used_at** | Option<**String**> | A UTC time-stamp of when the token was last used. | [readonly]
17+
**tls_access** | Option<**bool**> | Indicates whether TLS access is enabled for the token. |
18+
**last_used_at** | Option<**String**> | A UTC timestamp of when the token was last used. | [readonly]
2119
**user_agent** | Option<**String**> | The User-Agent header of the client that last used the token. |
2220

2321
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/AutomationTokenCreateResponseAllOf.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Name | Type | Description | Notes
77
**id** | Option<[**crate::models::ReadOnlyId**](ReadOnlyId.md)> | |
88
**user_id** | Option<[**crate::models::ReadOnlyUserId**](ReadOnlyUserId.md)> | |
99
**customer_id** | Option<[**crate::models::ReadOnlyCustomerId**](ReadOnlyCustomerId.md)> | |
10-
**sudo_expires_at** | Option<**String**> | | [readonly]
11-
**created_at** | Option<**String**> | A UTC time-stamp of when the token was created. | [readonly]
10+
**created_at** | Option<**String**> | A UTC timestamp of when the token was created. | [readonly]
1211
**access_token** | Option<**String**> | | [readonly]
13-
**last_used_at** | Option<**String**> | A UTC time-stamp of when the token was last used. | [readonly]
12+
**tls_access** | Option<**bool**> | Indicates whether TLS access is enabled for the token. |
13+
**last_used_at** | Option<**String**> | A UTC timestamp of when the token was last used. | [readonly]
1414
**user_agent** | Option<**String**> | The User-Agent header of the client that last used the token. |
1515

1616
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/AutomationTokenResponse.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@ Name | Type | Description | Notes
88
**role** | Option<**String**> | |
99
**services** | Option<**Vec<String>**> | (Optional) The service IDs of the services the token will have access to. Separate service IDs with a space. If no services are specified, the token will have access to all services on the account. |
1010
**scope** | Option<**String**> | A space-delimited list of authorization scope. | [default to Scope_Global]
11-
**expires_at** | Option<**String**> | (optional) A UTC time-stamp of when the token will expire. |
12-
**created_at** | Option<**String**> | A UTC time-stamp of when the token was created. |
13-
**deleted_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
14-
**updated_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
11+
**expires_at** | Option<**String**> | (optional) A UTC timestamp of when the token will expire. |
1512
**id** | Option<[**crate::models::ReadOnlyId**](ReadOnlyId.md)> | |
1613
**customer_id** | Option<[**crate::models::ReadOnlyCustomerId**](ReadOnlyCustomerId.md)> | |
1714
**ip** | Option<**String**> | The IP address of the client that last used the token. |
1815
**user_agent** | Option<**String**> | The User-Agent header of the client that last used the token. |
19-
**sudo_expires_at** | Option<**String**> | | [readonly]
20-
**last_used_at** | Option<**String**> | A UTC time-stamp of when the token was last used. | [readonly]
16+
**tls_access** | Option<**bool**> | Indicates whether TLS access is enabled for the token. |
17+
**last_used_at** | Option<**String**> | A UTC timestamp of when the token was last used. | [readonly]
18+
**created_at** | Option<**String**> | A UTC timestamp of when the token was created. |
2119

2220
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2321

docs/AutomationTokenResponseAllOf.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Name | Type | Description | Notes
99
**role** | Option<**String**> | |
1010
**ip** | Option<**String**> | The IP address of the client that last used the token. |
1111
**user_agent** | Option<**String**> | The User-Agent header of the client that last used the token. |
12-
**sudo_expires_at** | Option<**String**> | | [readonly]
13-
**last_used_at** | Option<**String**> | A UTC time-stamp of when the token was last used. | [readonly]
14-
**created_at** | Option<**String**> | A UTC time-stamp of when the token was created. |
15-
**expires_at** | Option<**String**> | (optional) A UTC time-stamp of when the token will expire. |
12+
**tls_access** | Option<**bool**> | Indicates whether TLS access is enabled for the token. |
13+
**last_used_at** | Option<**String**> | A UTC timestamp of when the token was last used. | [readonly]
14+
**created_at** | Option<**String**> | A UTC timestamp of when the token was created. |
15+
**expires_at** | Option<**String**> | (optional) A UTC timestamp of when the token will expire. |
1616

1717
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1818

docs/AutomationTokensApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ Name | Type | Description | Required | Notes
4242

4343
### HTTP request headers
4444

45-
- **Content-Type**: application/vnd.api+json
46-
- **Accept**: application/vnd.api+json
45+
- **Content-Type**: application/json
46+
- **Accept**: application/json
4747

4848
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
4949

@@ -78,7 +78,7 @@ Name | Type | Description | Required | Notes
7878
### HTTP request headers
7979

8080
- **Content-Type**: Not defined
81-
- **Accept**: application/vnd.api+json, application/problem+json
81+
- **Accept**: application/json, application/problem+json
8282

8383
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
8484

@@ -115,7 +115,7 @@ Name | Type | Description | Required | Notes
115115
### HTTP request headers
116116

117117
- **Content-Type**: Not defined
118-
- **Accept**: application/vnd.api+json, application/problem+json
118+
- **Accept**: application/json, application/problem+json
119119

120120
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
121121

@@ -151,7 +151,7 @@ Name | Type | Description | Required | Notes
151151
### HTTP request headers
152152

153153
- **Content-Type**: Not defined
154-
- **Accept**: application/vnd.api+json, application/problem+json
154+
- **Accept**: application/json, application/problem+json
155155

156156
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
157157

@@ -186,7 +186,7 @@ Name | Type | Description | Required | Notes
186186
### HTTP request headers
187187

188188
- **Content-Type**: Not defined
189-
- **Accept**: application/vnd.api+json, application/problem+json
189+
- **Accept**: application/json, application/problem+json
190190

191191
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
192192

docs/Billing.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/BillingApi.md

Lines changed: 0 additions & 121 deletions
This file was deleted.

docs/BillingBandwidth.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/BillingBandwidthTiers.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/BillingEstimateInvoiceId.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)