Skip to content

Commit b6d8ade

Browse files
author
github-actions
committed
Generated v8.0.0
1 parent dd4e232 commit b6d8ade

File tree

91 files changed

+663
-13535
lines changed

Some content is hidden

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

91 files changed

+663
-13535
lines changed

CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Changelog
22

3+
## [v8.0.0](https://github.com/fastly/fastly-php/releases/tag/release/v8.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(historical): Added new metrics: `ngwaf_requests_total_count`, `ngwaf_requests_unknown_count`,
25+
`ngwaf_requests_allowed_count`, `ngwaf_requests_logged_count`, `ngwaf_requests_blocked_count`,
26+
`ngwaf_requests_timeout_count`, and `ngwaf_requests_challenged_count`.
27+
- feat(tls_bulk_certificates): Added `not_before` and `not_after` filter parameters to allow for filtering of bulk TLS
28+
certificates by expiry.
29+
30+
31+
**Documentation:**
32+
33+
- doc(billing_usage_metrics): Correct documentation of pagination limits.
34+
- doc(billing_usage_metrics): Correct documentation of api conditions for product_id and usage_type_name filters.
35+
- doc(logging_azureblob): Mention Azure Block size limits.
36+
37+
338
## [v7.0.0](https://github.com/fastly/fastly-php/releases/tag/release/v7.0.0) (2025-02-26)
439

540
**Breaking Changes:**

README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,14 @@ Class | Method | Description
117117
[*BackendApi*](docs/Api/BackendApi.md) | [**getBackend**](docs/Api/BackendApi.md#getbackend) | Describe a backend
118118
[*BackendApi*](docs/Api/BackendApi.md) | [**listBackends**](docs/Api/BackendApi.md#listbackends) | List backends
119119
[*BackendApi*](docs/Api/BackendApi.md) | [**updateBackend**](docs/Api/BackendApi.md#updatebackend) | Update a backend
120-
[*BillingApi*](docs/Api/BillingApi.md) | [**getInvoice**](docs/Api/BillingApi.md#getinvoice) | Get an invoice
121-
[*BillingApi*](docs/Api/BillingApi.md) | [**getInvoiceById**](docs/Api/BillingApi.md#getinvoicebyid) | Get an invoice
122-
[*BillingApi*](docs/Api/BillingApi.md) | [**getInvoiceMtd**](docs/Api/BillingApi.md#getinvoicemtd) | Get month-to-date billing estimate
123120
[*BillingAddressApi*](docs/Api/BillingAddressApi.md) | [**addBillingAddr**](docs/Api/BillingAddressApi.md#addbillingaddr) | Add a billing address to a customer
124121
[*BillingAddressApi*](docs/Api/BillingAddressApi.md) | [**deleteBillingAddr**](docs/Api/BillingAddressApi.md#deletebillingaddr) | Delete a billing address
125122
[*BillingAddressApi*](docs/Api/BillingAddressApi.md) | [**getBillingAddr**](docs/Api/BillingAddressApi.md#getbillingaddr) | Get a billing address
126123
[*BillingAddressApi*](docs/Api/BillingAddressApi.md) | [**updateBillingAddr**](docs/Api/BillingAddressApi.md#updatebillingaddr) | Update a billing address
127124
[*BillingInvoicesApi*](docs/Api/BillingInvoicesApi.md) | [**getInvoiceByInvoiceId**](docs/Api/BillingInvoicesApi.md#getinvoicebyinvoiceid) | Get invoice by ID.
128125
[*BillingInvoicesApi*](docs/Api/BillingInvoicesApi.md) | [**getMonthToDateInvoice**](docs/Api/BillingInvoicesApi.md#getmonthtodateinvoice) | Get month-to-date invoice.
129126
[*BillingInvoicesApi*](docs/Api/BillingInvoicesApi.md) | [**listInvoices**](docs/Api/BillingInvoicesApi.md#listinvoices) | List of invoices.
130-
[*BillingUsageMetricsApi*](docs/Api/BillingUsageMetricsApi.md) | [**getServiceLevelUsage**](docs/Api/BillingUsageMetricsApi.md#getservicelevelusage) | Retrieve service-level usage metrics for a product.
127+
[*BillingUsageMetricsApi*](docs/Api/BillingUsageMetricsApi.md) | [**getServiceLevelUsage**](docs/Api/BillingUsageMetricsApi.md#getservicelevelusage) | Retrieve service-level usage metrics for services with non-zero usage units.
131128
[*BillingUsageMetricsApi*](docs/Api/BillingUsageMetricsApi.md) | [**getUsageMetrics**](docs/Api/BillingUsageMetricsApi.md#getusagemetrics) | Get monthly usage metrics
132129
[*CacheSettingsApi*](docs/Api/CacheSettingsApi.md) | [**createCacheSettings**](docs/Api/CacheSettingsApi.md#createcachesettings) | Create a cache settings object
133130
[*CacheSettingsApi*](docs/Api/CacheSettingsApi.md) | [**deleteCacheSettings**](docs/Api/CacheSettingsApi.md#deletecachesettings) | Delete a cache settings object

docs/Api/BillingApi.md

-133
This file was deleted.

docs/Api/BillingUsageMetricsApi.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,26 @@ $apiInstance = new Fastly\Api\BillingUsageMetricsApi(
1717
1818
Method | HTTP request | Description
1919
------ | ------------ | -----------
20-
[**getServiceLevelUsage()**](BillingUsageMetricsApi.md#getServiceLevelUsage) | **GET** /billing/v3/service-usage-metrics | Retrieve service-level usage metrics for a product.
20+
[**getServiceLevelUsage()**](BillingUsageMetricsApi.md#getServiceLevelUsage) | **GET** /billing/v3/service-usage-metrics | Retrieve service-level usage metrics for services with non-zero usage units.
2121
[**getUsageMetrics()**](BillingUsageMetricsApi.md#getUsageMetrics) | **GET** /billing/v3/usage-metrics | Get monthly usage metrics
2222

2323

2424
## `getServiceLevelUsage()`
2525

2626
```php
27-
getServiceLevelUsage($options): \Fastly\Model\Serviceusagemetrics // Retrieve service-level usage metrics for a product.
27+
getServiceLevelUsage($options): \Fastly\Model\Serviceusagemetrics // Retrieve service-level usage metrics for services with non-zero usage units.
2828
```
2929

3030
Returns product usage, broken down by service.
3131

3232
### Example
3333
```php
34-
$options['product_id'] = 'product_id_example'; // string | The product identifier for the metrics returned (e.g., `cdn_usage`).
35-
$options['usage_type_name'] = 'usage_type_name_example'; // string | The usage type name for the metrics returned (e.g., `North America Requests`).
34+
$options['product_id'] = 'product_id_example'; // string | The product identifier for the metrics returned (e.g., `cdn_usage`). This should be used along with `usage_type_name`.
35+
$options['service'] = 'service_example'; // string | The service identifier for the metrics being requested.
36+
$options['usage_type_name'] = 'usage_type_name_example'; // string | The usage type name for the metrics returned (e.g., `North America Requests`). This should be used along with `product_id`.
3637
$options['start_month'] = 2023-01; // string
3738
$options['end_month'] = 2023-03; // string
38-
$options['limit'] = '5'; // string | Number of results per page. The maximum is 100.
39+
$options['limit'] = '1000'; // string | Number of results per page. The maximum is 10000.
3940
$options['cursor'] = 'cursor_example'; // string | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
4041

4142
try {
@@ -51,11 +52,12 @@ Note: the input parameter is an associative array with the keys listed below.
5152

5253
Name | Type | Description | Notes
5354
------------- | ------------- | ------------- | -------------
54-
**product_id** | **string** | The product identifier for the metrics returned (e.g., `cdn_usage`). | [optional]
55-
**usage_type_name** | **string** | The usage type name for the metrics returned (e.g., `North America Requests`). | [optional]
55+
**product_id** | **string** | The product identifier for the metrics returned (e.g., `cdn_usage`). This should be used along with `usage_type_name`. | [optional]
56+
**service** | **string** | The service identifier for the metrics being requested. | [optional]
57+
**usage_type_name** | **string** | The usage type name for the metrics returned (e.g., `North America Requests`). This should be used along with `product_id`. | [optional]
5658
**start_month** | **string** | | [optional]
5759
**end_month** | **string** | | [optional]
58-
**limit** | **string** | Number of results per page. The maximum is 100. | [optional] [defaults to '5']
60+
**limit** | **string** | Number of results per page. The maximum is 10000. | [optional] [defaults to '1000']
5961
**cursor** | **string** | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty. | [optional]
6062

6163
### Return type

docs/Api/HeaderApi.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ $options['response_condition'] = 'response_condition_example'; // string | Optio
4646
$options['src'] = 'src_example'; // string | Variable to be used as a source for the header content. Does not apply to `delete` action.
4747
$options['substitution'] = 'substitution_example'; // string | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions.
4848
$options['type'] = 'type_example'; // string | Accepts a string value.
49-
$options['ignore_if_set'] = 56; // int | Don't add the header if it is added already. Only applies to 'set' action.
50-
$options['priority'] = 100; // int | Priority determines execution order. Lower numbers execute first.
49+
$options['ignore_if_set'] = 'ignore_if_set_example'; // string | Don't add the header if it is added already. Only applies to 'set' action. Numerical value (\\\"0\\\" = false, \\\"1\\\" = true)
50+
$options['priority'] = '100'; // string | Priority determines execution order. Lower numbers execute first.
5151

5252
try {
5353
$result = $apiInstance->createHeaderObject($options);
@@ -74,8 +74,8 @@ Name | Type | Description | Notes
7474
**src** | **string** | Variable to be used as a source for the header content. Does not apply to `delete` action. | [optional]
7575
**substitution** | **string** | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. | [optional]
7676
**type** | **string** | Accepts a string value. | [optional] [one of: 'request', 'cache', 'response']
77-
**ignore_if_set** | **int** | Don't add the header if it is added already. Only applies to 'set' action. | [optional]
78-
**priority** | **int** | Priority determines execution order. Lower numbers execute first. | [optional] [defaults to 100]
77+
**ignore_if_set** | **string** | Don't add the header if it is added already. Only applies to 'set' action. Numerical value (\\\"0\\\" = false, \\\"1\\\" = true) | [optional]
78+
**priority** | **string** | Priority determines execution order. Lower numbers execute first. | [optional] [defaults to '100']
7979

8080
### Return type
8181

@@ -219,8 +219,8 @@ $options['response_condition'] = 'response_condition_example'; // string | Optio
219219
$options['src'] = 'src_example'; // string | Variable to be used as a source for the header content. Does not apply to `delete` action.
220220
$options['substitution'] = 'substitution_example'; // string | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions.
221221
$options['type'] = 'type_example'; // string | Accepts a string value.
222-
$options['ignore_if_set'] = 56; // int | Don't add the header if it is added already. Only applies to 'set' action.
223-
$options['priority'] = 100; // int | Priority determines execution order. Lower numbers execute first.
222+
$options['ignore_if_set'] = 'ignore_if_set_example'; // string | Don't add the header if it is added already. Only applies to 'set' action. Numerical value (\\\"0\\\" = false, \\\"1\\\" = true)
223+
$options['priority'] = '100'; // string | Priority determines execution order. Lower numbers execute first.
224224

225225
try {
226226
$result = $apiInstance->updateHeaderObject($options);
@@ -248,8 +248,8 @@ Name | Type | Description | Notes
248248
**src** | **string** | Variable to be used as a source for the header content. Does not apply to `delete` action. | [optional]
249249
**substitution** | **string** | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. | [optional]
250250
**type** | **string** | Accepts a string value. | [optional] [one of: 'request', 'cache', 'response']
251-
**ignore_if_set** | **int** | Don't add the header if it is added already. Only applies to 'set' action. | [optional]
252-
**priority** | **int** | Priority determines execution order. Lower numbers execute first. | [optional] [defaults to 100]
251+
**ignore_if_set** | **string** | Don't add the header if it is added already. Only applies to 'set' action. Numerical value (\\\"0\\\" = false, \\\"1\\\" = true) | [optional]
252+
**priority** | **string** | Priority determines execution order. Lower numbers execute first. | [optional] [defaults to '100']
253253

254254
### Return type
255255

docs/Api/KvStoreItemApi.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void (empty response body)
6666
## `kvStoreGetItem()`
6767

6868
```php
69-
kvStoreGetItem($options): \SplFileObject // Get an item.
69+
kvStoreGetItem($options): string // Get an item.
7070
```
7171

7272
Get an item, including its value, metadata (if any), and generation marker.
@@ -94,7 +94,7 @@ Name | Type | Description | Notes
9494

9595
### Return type
9696

97-
**\SplFileObject**
97+
**string**
9898

9999
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
100100
[[Back to README]](../../README.md)
@@ -160,7 +160,7 @@ $options['add'] = false; // bool
160160
$options['append'] = false; // bool
161161
$options['prepend'] = false; // bool
162162
$options['background_fetch'] = false; // bool
163-
$options['body'] = "/path/to/file.txt"; // \SplFileObject
163+
$options['body'] = 'body_example'; // string
164164

165165
try {
166166
$apiInstance->kvStoreUpsertItem($options);
@@ -184,7 +184,7 @@ Name | Type | Description | Notes
184184
**append** | **bool** | | [optional] [defaults to false]
185185
**prepend** | **bool** | | [optional] [defaults to false]
186186
**background_fetch** | **bool** | | [optional] [defaults to false]
187-
**body** | **\SplFileObject****\SplFileObject** | | [optional]
187+
**body** | **string** | | [optional]
188188

189189
### Return type
190190

0 commit comments

Comments
 (0)