Skip to content

Commit

Permalink
Generated v7.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 8, 2024
1 parent 8282280 commit 8934fae
Show file tree
Hide file tree
Showing 831 changed files with 1,343 additions and 902 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.7.0](https://github.com/fastly/fastly-js/releases/tag/release/v7.7.0) (2024-08-08)

**Bug fixes:**

- fix(billing): Adjust type of regional data to help the generator
- fix(billing): Correct type of invoice_id field

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

**Enhancements:**
Expand Down
3 changes: 1 addition & 2 deletions docs/Billing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**end_time** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly]
**start_time** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly]
**invoice_id** | **String** | | [optional] [readonly]
**customer_id** | **String** | | [optional] [readonly]
**vendor_state** | **String** | The current state of our third-party billing vendor. One of `up` or `down`. | [optional] [readonly]
**status** | [**BillingStatus**](BillingStatus.md) | | [optional]
**total** | [**BillingTotal**](BillingTotal.md) | | [optional]
**regions** | **{String: {String: Object}}** | Breakdown of regional data for products that are region based. | [optional]
**regions** | [**{String: BillingRegions}**](BillingRegions.md) | Breakdown of regional data for products that are region based. | [optional]


[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
4 changes: 2 additions & 2 deletions docs/BillingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Get the invoice for the given invoice_id.
```javascript
const options = {
customer_id: "customer_id_example", // required
invoice_id: "invoice_id_example", // required
invoice_id: 4183280, // required
};

apiInstance.getInvoiceById(options)
Expand All @@ -82,7 +82,7 @@ apiInstance.getInvoiceById(options)
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**customer_id** | **String** | Alphanumeric string identifying the customer. |
**invoice_id** | **String** | Alphanumeric string identifying the invoice. |
**invoice_id** | **Number** | |

### Return type

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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**total** | **Number** | | [optional]
**tiers** | [**[BillingBandwidthTiers]**](BillingBandwidthTiers.md) | | [optional]


[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
14 changes: 14 additions & 0 deletions docs/BillingBandwidthTiers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Fastly.BillingBandwidthTiers

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | | [optional]
**units** | **Number** | | [optional]
**price** | **Number** | | [optional]
**discounted_price** | **Number** | | [optional]
**total** | **Number** | | [optional]


[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10 changes: 10 additions & 0 deletions docs/BillingEstimateInvoiceId.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Fastly.BillingEstimateInvoiceId

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**invoice_id** | **String** | | [optional] [readonly]


[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
4 changes: 2 additions & 2 deletions docs/BillingEstimateResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**end_time** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly]
**start_time** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly]
**invoice_id** | **String** | | [optional] [readonly]
**customer_id** | **String** | | [optional] [readonly]
**vendor_state** | **String** | The current state of our third-party billing vendor. One of `up` or `down`. | [optional] [readonly]
**status** | [**BillingStatus**](BillingStatus.md) | | [optional]
**total** | [**BillingTotal**](BillingTotal.md) | | [optional]
**regions** | **{String: {String: Object}}** | Breakdown of regional data for products that are region based. | [optional]
**regions** | [**{String: BillingRegions}**](BillingRegions.md) | Breakdown of regional data for products that are region based. | [optional]
**invoice_id** | **String** | | [optional] [readonly]
**line_items** | [**[BillingEstimateLinesLineItems]**](BillingEstimateLinesLineItems.md) | | [optional]


Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Fastly.LineItemDataReadOnlyInvoiceId
# Fastly.BillingInvoiceId

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**invoice_id** | **Number** | | [optional] [readonly]


[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
4 changes: 2 additions & 2 deletions docs/BillingInvoicesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Returns invoice associated with the invoice id.

```javascript
const options = {
invoice_id: "invoice_id_example", // required
invoice_id: 4183280, // required
};

apiInstance.getInvoiceByInvoiceId(options)
Expand All @@ -43,7 +43,7 @@ apiInstance.getInvoiceByInvoiceId(options)

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**invoice_id** | **String** | Alphanumeric string identifying the invoice. |
**invoice_id** | **Number** | |

### Return type

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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cost** | **Number** | | [optional]
**bandwidth** | [**BillingBandwidth**](BillingBandwidth.md) | | [optional]
**percentile** | [**BillingBandwidth**](BillingBandwidth.md) | | [optional]
**requests** | [**BillingBandwidth**](BillingBandwidth.md) | | [optional]


[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
4 changes: 2 additions & 2 deletions docs/BillingResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**end_time** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly]
**start_time** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly]
**invoice_id** | **String** | | [optional] [readonly]
**customer_id** | **String** | | [optional] [readonly]
**vendor_state** | **String** | The current state of our third-party billing vendor. One of `up` or `down`. | [optional] [readonly]
**status** | [**BillingStatus**](BillingStatus.md) | | [optional]
**total** | [**BillingTotal**](BillingTotal.md) | | [optional]
**regions** | **{String: {String: Object}}** | Breakdown of regional data for products that are region based. | [optional]
**regions** | [**{String: BillingRegions}**](BillingRegions.md) | Breakdown of regional data for products that are region based. | [optional]
**invoice_id** | **Number** | | [optional] [readonly]
**line_items** | [**[BillingResponseLineItem]**](BillingResponseLineItem.md) | | [optional]


Expand Down
2 changes: 1 addition & 1 deletion docs/BillingResponseLineItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly]
**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly]
**amount** | **Number** | | [optional]
**aria_invoice_id** | [**LineItemDataReadOnlyInvoiceId**](LineItemDataReadOnlyInvoiceId.md) | | [optional]
**aria_invoice_id** | **String** | An alphanumeric string identifying the invoice. | [optional] [readonly]
**client_service_id** | **String** | | [optional]
**credit_coupon_code** | **String** | | [optional]
**description** | **String** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/EomInvoiceResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**customer_id** | **String** | Customer ID associated with the invoice. | [optional]
**invoice_id** | **String** | Alphanumeric string identifying the invoice. | [optional]
**invoice_id** | **String** | Numeric string identifying the invoice. | [optional]
**invoice_posted_on** | **Date** | Date and time invoice was posted on, in ISO 8601 format. | [optional]
**billing_start_date** | **Date** | Date and time (in ISO 8601 format) for initiation point of a billing cycle, signifying the start of charges for a service or subscription. | [optional]
**billing_end_date** | **Date** | Date and time (in ISO 8601 format) for termination point of a billing cycle, signifying the end of charges for a service or subscription. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/Invoice.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**customer_id** | **String** | Customer ID associated with the invoice. | [optional]
**invoice_id** | **String** | Alphanumeric string identifying the invoice. | [optional]
**invoice_id** | **String** | Numeric string identifying the invoice. | [optional]
**invoice_posted_on** | **Date** | Date and time invoice was posted on, in ISO 8601 format. | [optional]
**billing_start_date** | **Date** | Date and time (in ISO 8601 format) for initiation point of a billing cycle, signifying the start of charges for a service or subscription. | [optional]
**billing_end_date** | **Date** | Date and time (in ISO 8601 format) for termination point of a billing cycle, signifying the end of charges for a service or subscription. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/LineItemData.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**amount** | **Number** | | [optional]
**aria_invoice_id** | [**LineItemDataReadOnlyInvoiceId**](LineItemDataReadOnlyInvoiceId.md) | | [optional]
**aria_invoice_id** | **String** | An alphanumeric string identifying the invoice. | [optional] [readonly]
**client_service_id** | **String** | | [optional]
**credit_coupon_code** | **String** | | [optional]
**description** | **String** | | [optional]
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.6.0",
"version": "7.7.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": "01161630", "D": "e05af2db"}
{"G": "01161630", "D": "80b361d0"}
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.6.0
* @version 7.7.0
*/

/**
Expand Down Expand Up @@ -66,7 +66,7 @@ class ApiClient {
* @default {}
*/
this.defaultHeaders = {
'User-Agent': 'fastly-js/7.6.0'
'User-Agent': 'fastly-js/7.7.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.6.0
* @version 7.7.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.6.0
* @version 7.7.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.6.0
* @version 7.7.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.6.0
* @version 7.7.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.6.0
* @version 7.7.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.6.0
* @version 7.7.0
*/
export default class BillingAddressApi {

Expand Down
6 changes: 3 additions & 3 deletions 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.6.0
* @version 7.7.0
*/
export default class BillingApi {

Expand Down Expand Up @@ -107,7 +107,7 @@ export default class BillingApi {
* Get the invoice for the given invoice_id.
* @param {Object} options
* @param {String} options.customer_id - Alphanumeric string identifying the customer.
* @param {String} options.invoice_id - Alphanumeric string identifying the invoice.
* @param {Number} options.invoice_id
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BillingResponse} and HTTP response
*/
getInvoiceByIdWithHttpInfo(options = {}) {
Expand Down Expand Up @@ -158,7 +158,7 @@ export default class BillingApi {
* Get the invoice for the given invoice_id.
* @param {Object} options
* @param {String} options.customer_id - Alphanumeric string identifying the customer.
* @param {String} options.invoice_id - Alphanumeric string identifying the invoice.
* @param {Number} options.invoice_id
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BillingResponse}
*/
getInvoiceById(options = {}) {
Expand Down
6 changes: 3 additions & 3 deletions src/api/BillingInvoicesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import MtdInvoiceResponse from '../model/MtdInvoiceResponse';
/**
* BillingInvoices service.
* @module api/BillingInvoicesApi
* @version 7.6.0
* @version 7.7.0
*/
export default class BillingInvoicesApi {

Expand All @@ -44,7 +44,7 @@ export default class BillingInvoicesApi {
/**
* Returns invoice associated with the invoice id.
* @param {Object} options
* @param {String} options.invoice_id - Alphanumeric string identifying the invoice.
* @param {Number} options.invoice_id
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EomInvoiceResponse} and HTTP response
*/
getInvoiceByInvoiceIdWithHttpInfo(options = {}) {
Expand Down Expand Up @@ -89,7 +89,7 @@ export default class BillingInvoicesApi {
/**
* Returns invoice associated with the invoice id.
* @param {Object} options
* @param {String} options.invoice_id - Alphanumeric string identifying the invoice.
* @param {Number} options.invoice_id
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EomInvoiceResponse}
*/
getInvoiceByInvoiceId(options = {}) {
Expand Down
2 changes: 1 addition & 1 deletion src/api/BillingUsageMetricsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Serviceusagetypes from '../model/Serviceusagetypes';
/**
* BillingUsageMetrics service.
* @module api/BillingUsageMetricsApi
* @version 7.6.0
* @version 7.7.0
*/
export default class BillingUsageMetricsApi {

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.6.0
* @version 7.7.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.6.0
* @version 7.7.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.6.0
* @version 7.7.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.6.0
* @version 7.7.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.6.0
* @version 7.7.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.6.0
* @version 7.7.0
*/
export default class ContentApi {

Expand Down
Loading

0 comments on commit 8934fae

Please sign in to comment.