Skip to content

Commit

Permalink
Generated v7.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 19, 2024
1 parent 50121b1 commit b9f984b
Show file tree
Hide file tree
Showing 761 changed files with 933 additions and 769 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [v7.0.1](https://github.com/fastly/fastly-js/releases/tag/release/v7.0.1) (2024-02-19)

**Bug fixes:**

- fix(response_object): strongly type response_object create_update requests
- fix(tls_configurations): fix `tls_protocols` field to be a string array type

## [v7.0.0](https://github.com/fastly/fastly-js/releases/tag/release/v7.0.0) (2023-11-29)

**Breaking:**
Expand Down
16 changes: 16 additions & 0 deletions docs/CreateResponseObjectRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Fastly.CreateResponseObjectRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | The name of the response object to create. | [optional]
**status** | **String** | The status code the response will have. Defaults to 200. | [optional]
**response** | **String** | The status text the response will have. Defaults to 'OK'. | [optional]
**content** | **String** | The content the response will deliver. | [optional]
**content_type** | **String** | The MIME type of your response content. | [optional]
**request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional]
**cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional]


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

```javascript
createResponseObject({ service_id, version_id })
createResponseObject({ service_id, version_id, [create_response_object_request] })
```

Creates a new Response Object.
Expand All @@ -28,6 +28,7 @@ Creates a new Response Object.
const options = {
service_id: "service_id_example", // required
version_id: 56, // required
create_response_object_request: new Fastly.CreateResponseObjectRequest(),
};

apiInstance.createResponseObject(options)
Expand All @@ -45,6 +46,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**service_id** | **String** | Alphanumeric string identifying the service. |
**version_id** | **Number** | Integer identifying a service version. |
**create_response_object_request** | [**CreateResponseObjectRequest**](CreateResponseObjectRequest.md) | | [optional]

### Return type

Expand Down Expand Up @@ -169,7 +171,7 @@ Name | Type | Description | Notes
## `updateResponseObject`

```javascript
updateResponseObject({ service_id, version_id, response_object_name })
updateResponseObject({ service_id, version_id, response_object_name, [create_response_object_request] })
```

Updates the specified Response Object.
Expand All @@ -181,6 +183,7 @@ const options = {
service_id: "service_id_example", // required
version_id: 56, // required
response_object_name: "response_object_name_example", // required
create_response_object_request: new Fastly.CreateResponseObjectRequest(),
};

apiInstance.updateResponseObject(options)
Expand All @@ -199,6 +202,7 @@ Name | Type | Description | Notes
**service_id** | **String** | Alphanumeric string identifying the service. |
**version_id** | **Number** | Integer identifying a service version. |
**response_object_name** | **String** | Name for the request settings. |
**create_response_object_request** | [**CreateResponseObjectRequest**](CreateResponseObjectRequest.md) | | [optional]

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/TlsConfigurationResponseAttributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly]
**_default** | **Boolean** | Signifies whether or not Fastly will use this configuration as a default when creating a new [TLS Activation](/reference/api/tls/custom-certs/activations/). | [optional] [readonly]
**http_protocols** | **[String]** | HTTP protocols available on your configuration. | [optional] [readonly]
**tls_protocols** | **[Number]** | TLS protocols available on your configuration. | [optional] [readonly]
**tls_protocols** | **[String]** | TLS protocols available on your configuration. | [optional] [readonly]
**bulk** | **Boolean** | Signifies whether the configuration is used for Platform TLS or not. | [optional] [readonly]


Expand Down
2 changes: 1 addition & 1 deletion docs/TlsConfigurationResponseAttributesAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_default** | **Boolean** | Signifies whether or not Fastly will use this configuration as a default when creating a new [TLS Activation](/reference/api/tls/custom-certs/activations/). | [optional] [readonly]
**http_protocols** | **[String]** | HTTP protocols available on your configuration. | [optional] [readonly]
**tls_protocols** | **[Number]** | TLS protocols available on your configuration. | [optional] [readonly]
**tls_protocols** | **[String]** | TLS protocols available on your configuration. | [optional] [readonly]
**bulk** | **Boolean** | Signifies whether the configuration is used for Platform TLS or not. | [optional] [readonly]


Expand Down
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.0.0",
"version": "7.0.1",
"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": "4ae2b660", "D": "2452c3f1"}
{"G": "40613202", "D": "01d08f3f"}
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.0.0
* @version 7.0.1
*/

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

/**
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
export default class BillingApi {

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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
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.0.0
* @version 7.0.1
*/
export default class EventsApi {

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

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

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

Expand Down
2 changes: 1 addition & 1 deletion src/api/HistoricalApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import HistoricalUsageServiceResponse from '../model/HistoricalUsageServiceRespo
/**
* Historical service.
* @module api/HistoricalApi
* @version 7.0.0
* @version 7.0.1
*/
export default class HistoricalApi {

Expand Down
Loading

0 comments on commit b9f984b

Please sign in to comment.