Skip to content

Commit

Permalink
Generated v3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jul 12, 2023
1 parent 99adcfe commit d42a115
Show file tree
Hide file tree
Showing 39 changed files with 736 additions and 167 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [v3.0.1](https://github.com/fastly/fastly-py/releases/tag/release/v3.0.1) (2023-07-12)

**Bug fixes:**

- fix(billing): rename response field 'lines' to 'line_items'.
- fix(billing): restructure response models like 'aria_invoice_id'.
- fix(billing): make 'sent_at', 'locked', 'require_new_password', 'two_factor_auth_enabled' nullable.

## [v3.0.0](https://github.com/fastly/fastly-py/releases/tag/release/v3.0.0) (2023-07-06)

Substantial changes were made to the underlying OpenAPI specification that produces this API client. These changes have resulted in multiple new endpoints being supported as well as multiple breaking type changes and so we're publishing these changes as a new major release.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# BillingEstimateResponseAllOf
# BillingEstimateLines


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**lines** | [**[BillingEstimateResponseAllOfLines]**](BillingEstimateResponseAllOfLines.md) | | [optional]
**line_items** | [**[BillingEstimateLinesLineItems]**](BillingEstimateLinesLineItems.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BillingEstimateResponseAllOfLine
# BillingEstimateLinesLineItems


## Properties
Expand Down
2 changes: 1 addition & 1 deletion docs/BillingEstimateResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**status** | [**BillingStatus**](BillingStatus.md) | | [optional]
**total** | [**BillingTotal**](BillingTotal.md) | | [optional]
**regions** | **{str: ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)},)}** | Breakdown of regional data for products that are region based. | [optional]
**lines** | [**[BillingEstimateResponseAllOfLines]**](BillingEstimateResponseAllOfLines.md) | | [optional]
**line_items** | [**[BillingEstimateLinesLineItems]**](BillingEstimateLinesLineItems.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/BillingResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**status** | [**BillingStatus**](BillingStatus.md) | | [optional]
**total** | [**BillingTotal**](BillingTotal.md) | | [optional]
**regions** | **{str: ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)},)}** | Breakdown of regional data for products that are region based. | [optional]
**line_items** | [**[BillingResponseLineItem]**](BillingResponseLineItem.md) | | [optional]
**line_items** | [**BillingResponseLineItems**](BillingResponseLineItems.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# BillingResponseAllOf
# BillingResponseItemItemsData


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**line_items** | [**[BillingResponseLineItem]**](BillingResponseLineItem.md) | | [optional]
**line_items** | [**BillingResponseLineItems**](BillingResponseLineItems.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
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** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
**updated_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
**amount** | **float** | | [optional]
**aria_invoice_id** | **str** | | [optional] [readonly]
**aria_invoice_id** | [**LineItemDataReadOnlyInvoiceId**](LineItemDataReadOnlyInvoiceId.md) | | [optional]
**client_service_id** | **str** | | [optional]
**credit_coupon_code** | **str, none_type** | | [optional]
**description** | **str** | | [optional]
Expand Down
11 changes: 11 additions & 0 deletions docs/BillingResponseLineItems.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# BillingResponseLineItems


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | [**[BillingResponseLineItem]**](BillingResponseLineItem.md) | |

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


2 changes: 1 addition & 1 deletion docs/BillingStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status** | **str** | What the current status of this invoice can be. | [optional]
**sent_at** | **str** | | [optional]
**sent_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
4 changes: 2 additions & 2 deletions docs/BillingResponseLineItemAllOf.md → docs/LineItemData.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# BillingResponseLineItemAllOf
# LineItemData


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**amount** | **float** | | [optional]
**aria_invoice_id** | **str** | | [optional] [readonly]
**aria_invoice_id** | [**LineItemDataReadOnlyInvoiceId**](LineItemDataReadOnlyInvoiceId.md) | | [optional]
**client_service_id** | **str** | | [optional]
**credit_coupon_code** | **str, none_type** | | [optional]
**description** | **str** | | [optional]
Expand Down
10 changes: 10 additions & 0 deletions docs/LineItemDataReadOnlyInvoiceId.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# LineItemDataReadOnlyInvoiceId


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

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


6 changes: 3 additions & 3 deletions docs/SchemasUserResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Name | Type | Description | Notes
**login** | **str** | | [optional] [readonly]
**name** | **str** | The real life name of the user. | [optional]
**limit_services** | **bool** | Indicates that the user has limited access to the customer's services. | [optional]
**locked** | **bool** | Indicates whether the is account is locked for editing or not. | [optional]
**require_new_password** | **bool** | Indicates if a new password is required at next login. | [optional]
**locked** | **bool, none_type** | Indicates whether the is account is locked for editing or not. | [optional]
**require_new_password** | **bool, none_type** | Indicates if a new password is required at next login. | [optional]
**role** | [**RoleUser**](RoleUser.md) | | [optional]
**two_factor_auth_enabled** | **bool** | Indicates if 2FA is enabled on the user. | [optional]
**two_factor_auth_enabled** | **bool, none_type** | Indicates if 2FA is enabled on the user. | [optional]
**two_factor_setup_required** | **bool** | Indicates if 2FA is required by the user's customer account. | [optional]
**created_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
**deleted_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# BillingEstimateResponseAllOfLines
# SchemasUserResponseReadOnly


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**line** | [**BillingEstimateResponseAllOfLine**](BillingEstimateResponseAllOfLine.md) | | [optional]
**id** | **str** | | [optional] [readonly]
**email_hash** | **str** | The alphanumeric string identifying a email login. | [optional] [readonly]
**customer_id** | **str** | | [optional] [readonly]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/User.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Name | Type | Description | Notes
**login** | **str** | | [optional] [readonly]
**name** | **str** | The real life name of the user. | [optional]
**limit_services** | **bool** | Indicates that the user has limited access to the customer's services. | [optional]
**locked** | **bool** | Indicates whether the is account is locked for editing or not. | [optional]
**require_new_password** | **bool** | Indicates if a new password is required at next login. | [optional]
**locked** | **bool, none_type** | Indicates whether the is account is locked for editing or not. | [optional]
**require_new_password** | **bool, none_type** | Indicates if a new password is required at next login. | [optional]
**role** | [**RoleUser**](RoleUser.md) | | [optional]
**two_factor_auth_enabled** | **bool** | Indicates if 2FA is enabled on the user. | [optional]
**two_factor_auth_enabled** | **bool, none_type** | Indicates if 2FA is enabled on the user. | [optional]
**two_factor_setup_required** | **bool** | Indicates if 2FA is required by the user's customer account. | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

Expand Down
24 changes: 12 additions & 12 deletions docs/UserApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ with fastly.ApiClient(configuration) as api_client:
login = "login_example" # str | (optional)
name = "name_example" # str | The real life name of the user. (optional)
limit_services = True # bool | Indicates that the user has limited access to the customer's services. (optional)
locked = True # bool | Indicates whether the is account is locked for editing or not. (optional)
require_new_password = True # bool | Indicates if a new password is required at next login. (optional)
locked = True # bool, none_type | Indicates whether the is account is locked for editing or not. (optional)
require_new_password = True # bool, none_type | Indicates if a new password is required at next login. (optional)
role = RoleUser("user") # RoleUser | (optional)
two_factor_auth_enabled = True # bool | Indicates if 2FA is enabled on the user. (optional)
two_factor_auth_enabled = True # bool, none_type | Indicates if 2FA is enabled on the user. (optional)
two_factor_setup_required = True # bool | Indicates if 2FA is required by the user's customer account. (optional)

# example passing only required values which don't have defaults set
Expand All @@ -79,10 +79,10 @@ Name | Type | Description | Notes
**login** | **str**| | [optional]
**name** | **str**| The real life name of the user. | [optional]
**limit_services** | **bool**| Indicates that the user has limited access to the customer's services. | [optional]
**locked** | **bool**| Indicates whether the is account is locked for editing or not. | [optional]
**require_new_password** | **bool**| Indicates if a new password is required at next login. | [optional]
**locked** | **bool, none_type**| Indicates whether the is account is locked for editing or not. | [optional]
**require_new_password** | **bool, none_type**| Indicates if a new password is required at next login. | [optional]
**role** | [**RoleUser**](RoleUser.md)| | [optional]
**two_factor_auth_enabled** | **bool**| Indicates if 2FA is enabled on the user. | [optional]
**two_factor_auth_enabled** | **bool, none_type**| Indicates if 2FA is enabled on the user. | [optional]
**two_factor_setup_required** | **bool**| Indicates if 2FA is required by the user's customer account. | [optional]

### Return type
Expand Down Expand Up @@ -458,10 +458,10 @@ with fastly.ApiClient(configuration) as api_client:
login = "login_example" # str | (optional)
name = "name_example" # str | The real life name of the user. (optional)
limit_services = True # bool | Indicates that the user has limited access to the customer's services. (optional)
locked = True # bool | Indicates whether the is account is locked for editing or not. (optional)
require_new_password = True # bool | Indicates if a new password is required at next login. (optional)
locked = True # bool, none_type | Indicates whether the is account is locked for editing or not. (optional)
require_new_password = True # bool, none_type | Indicates if a new password is required at next login. (optional)
role = RoleUser("user") # RoleUser | (optional)
two_factor_auth_enabled = True # bool | Indicates if 2FA is enabled on the user. (optional)
two_factor_auth_enabled = True # bool, none_type | Indicates if 2FA is enabled on the user. (optional)
two_factor_setup_required = True # bool | Indicates if 2FA is required by the user's customer account. (optional)

# example passing only required values which don't have defaults set
Expand Down Expand Up @@ -491,10 +491,10 @@ Name | Type | Description | Notes
**login** | **str**| | [optional]
**name** | **str**| The real life name of the user. | [optional]
**limit_services** | **bool**| Indicates that the user has limited access to the customer's services. | [optional]
**locked** | **bool**| Indicates whether the is account is locked for editing or not. | [optional]
**require_new_password** | **bool**| Indicates if a new password is required at next login. | [optional]
**locked** | **bool, none_type**| Indicates whether the is account is locked for editing or not. | [optional]
**require_new_password** | **bool, none_type**| Indicates if a new password is required at next login. | [optional]
**role** | [**RoleUser**](RoleUser.md)| | [optional]
**two_factor_auth_enabled** | **bool**| Indicates if 2FA is enabled on the user. | [optional]
**two_factor_auth_enabled** | **bool, none_type**| Indicates if 2FA is enabled on the user. | [optional]
**two_factor_setup_required** | **bool**| Indicates if 2FA is required by the user's customer account. | [optional]

### Return type
Expand Down
6 changes: 3 additions & 3 deletions docs/UserResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Name | Type | Description | Notes
**login** | **str** | | [optional] [readonly]
**name** | **str** | The real life name of the user. | [optional]
**limit_services** | **bool** | Indicates that the user has limited access to the customer's services. | [optional]
**locked** | **bool** | Indicates whether the is account is locked for editing or not. | [optional]
**require_new_password** | **bool** | Indicates if a new password is required at next login. | [optional]
**locked** | **bool, none_type** | Indicates whether the is account is locked for editing or not. | [optional]
**require_new_password** | **bool, none_type** | Indicates if a new password is required at next login. | [optional]
**role** | [**RoleUser**](RoleUser.md) | | [optional]
**two_factor_auth_enabled** | **bool** | Indicates if 2FA is enabled on the user. | [optional]
**two_factor_auth_enabled** | **bool, none_type** | Indicates if 2FA is enabled on the user. | [optional]
**two_factor_setup_required** | **bool** | Indicates if 2FA is required by the user's customer account. | [optional]
**created_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
**deleted_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
Expand Down
2 changes: 1 addition & 1 deletion docs/UserResponseAllOf.md → docs/UserResponseReadOnly.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# UserResponseAllOf
# UserResponseReadOnly


## Properties
Expand Down
2 changes: 1 addition & 1 deletion fastly/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"""


__version__ = "3.0.0"
__version__ = "3.0.1"

# import ApiClient
from fastly.api_client import ApiClient
Expand Down
Loading

0 comments on commit d42a115

Please sign in to comment.