Skip to content

Commit

Permalink
Automated update by SDK Generator (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklloyd authored May 27, 2024
1 parent 6234f3d commit bca5275
Show file tree
Hide file tree
Showing 1,356 changed files with 1,446 additions and 1,387 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:
uses: ncipollo/release-action@v1
with:
commit: main
tag: 1.2.2
tag: 1.2.3

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) |
- [Activity](docs/models/Activity.md)
- [ActivityAttendee](docs/models/ActivityAttendee.md)
- [Address](docs/models/Address.md)
- [Allocation](docs/models/Allocation.md)
- [Api](docs/models/Api.md)
- [ApiResource](docs/models/ApiResource.md)
- [ApiResourceCoverage](docs/models/ApiResourceCoverage.md)
Expand Down Expand Up @@ -1430,7 +1431,6 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) |
- [PaginationCoverage](docs/models/PaginationCoverage.md)
- [PassThroughQuery](docs/models/PassThroughQuery.md)
- [Payment](docs/models/Payment.md)
- [PaymentAllocations](docs/models/PaymentAllocations.md)
- [PaymentCard](docs/models/PaymentCard.md)
- [PaymentFrequency](docs/models/PaymentFrequency.md)
- [PaymentRequiredResponse](docs/models/PaymentRequiredResponse.md)
Expand Down
28 changes: 24 additions & 4 deletions docs/apis/AccountingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1557,6 +1557,7 @@ with apideck.ApiClient(configuration) as api_client:
id="12345",
display_name="Windsurf Shop",
name="Windsurf Shop",
email="boring@boring.com",
),
company_id="12345",
currency=Currency("USD"),
Expand Down Expand Up @@ -1620,7 +1621,12 @@ with apideck.ApiClient(configuration) as api_client:
),
],
allocations=[
None,
Allocation(
id="123456",
type="invoice",
amount=49.99,
allocation_id="123456",
),
],
note="Some notes about this credit note",
terms="Some terms about this credit note",
Expand Down Expand Up @@ -2133,6 +2139,7 @@ with apideck.ApiClient(configuration) as api_client:
id="12345",
display_name="Windsurf Shop",
name="Windsurf Shop",
email="boring@boring.com",
),
company_id="12345",
currency=Currency("USD"),
Expand Down Expand Up @@ -2196,7 +2203,12 @@ with apideck.ApiClient(configuration) as api_client:
),
],
allocations=[
None,
Allocation(
id="123456",
type="invoice",
amount=49.99,
allocation_id="123456",
),
],
note="Some notes about this credit note",
terms="Some terms about this credit note",
Expand Down Expand Up @@ -4341,6 +4353,7 @@ with apideck.ApiClient(configuration) as api_client:
id="12345",
display_name="Windsurf Shop",
name="Windsurf Shop",
email="boring@boring.com",
),
company_id="12345",
invoice_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
Expand Down Expand Up @@ -4942,6 +4955,7 @@ with apideck.ApiClient(configuration) as api_client:
id="12345",
display_name="Windsurf Shop",
name="Windsurf Shop",
email="boring@boring.com",
),
company_id="12345",
invoice_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
Expand Down Expand Up @@ -5231,6 +5245,7 @@ with apideck.ApiClient(configuration) as api_client:
id="12345",
display_name="Windsurf Shop",
name="Windsurf Shop",
email="boring@boring.com",
),
supplier=LinkedSupplier(
id="12345",
Expand Down Expand Up @@ -5742,6 +5757,7 @@ with apideck.ApiClient(configuration) as api_client:
id="12345",
display_name="Windsurf Shop",
name="Windsurf Shop",
email="boring@boring.com",
),
supplier=LinkedSupplier(
id="12345",
Expand Down Expand Up @@ -7168,6 +7184,7 @@ with apideck.ApiClient(configuration) as api_client:
id="12345",
display_name="Windsurf Shop",
name="Windsurf Shop",
email="boring@boring.com",
),
supplier=LinkedSupplier(
id="12345",
Expand Down Expand Up @@ -7204,10 +7221,11 @@ with apideck.ApiClient(configuration) as api_client:
status="authorised",
type="accounts_receivable",
allocations=[
PaymentAllocations(
Allocation(
id="123456",
type="invoice",
amount=49.99,
allocation_id="123456",
),
],
note="Some notes about this payment",
Expand Down Expand Up @@ -7684,6 +7702,7 @@ with apideck.ApiClient(configuration) as api_client:
id="12345",
display_name="Windsurf Shop",
name="Windsurf Shop",
email="boring@boring.com",
),
supplier=LinkedSupplier(
id="12345",
Expand Down Expand Up @@ -7720,10 +7739,11 @@ with apideck.ApiClient(configuration) as api_client:
status="authorised",
type="accounts_receivable",
allocations=[
PaymentAllocations(
Allocation(
id="123456",
type="invoice",
amount=49.99,
allocation_id="123456",
),
],
note="Some notes about this payment",
Expand Down
2 changes: 0 additions & 2 deletions docs/apis/AtsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ with apideck.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = ats_api.AtsApi(api_client)
applicant = Applicant(
position_id="123",
name="Elon Musk",
first_name="Elon",
last_name="Musk",
Expand Down Expand Up @@ -593,7 +592,6 @@ with apideck.ApiClient(configuration) as api_client:
api_instance = ats_api.AtsApi(api_client)
id = "id_example" # str | ID of the record you are acting upon.
applicant = Applicant(
position_id="123",
name="Elon Musk",
first_name="Elon",
last_name="Musk",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PaymentAllocations
# Allocation


## Properties
Expand All @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**type** | **str** | Type of entity this payment should be attributed to. | [optional]
**code** | **str** | | [optional] [readonly]
**amount** | **float, none_type** | Amount of payment that should be attributed to this allocation. If null, the total_amount will be used. | [optional]
**allocation_id** | **str** | Unique identifier of the allocation | [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
1 change: 0 additions & 1 deletion docs/models/Applicant.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | A unique identifier for an object. | [optional] [readonly]
**position_id** | **str** | The PositionId the applicant applied for. | [optional]
**name** | **str** | The name of an applicant. | [optional]
**first_name** | **str, none_type** | The first name of the person. | [optional]
**last_name** | **str, none_type** | The last name of the person. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/models/CreditNote.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Name | Type | Description | Notes
**type** | **str** | Type of payment | [optional]
**account** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional]
**line_items** | [**[InvoiceLineItem]**](InvoiceLineItem.md) | | [optional]
**allocations** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | | [optional]
**allocations** | [**[Allocation]**](Allocation.md) | | [optional]
**note** | **str, none_type** | Optional note to be associated with the credit note. | [optional]
**terms** | **str, none_type** | Optional terms to be associated with the credit note. | [optional]
**billing_address** | [**Address**](Address.md) | | [optional]
Expand Down
2 changes: 2 additions & 0 deletions docs/models/EcommerceOrder.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ Name | Type | Description | Notes
**discounts** | [**[EcommerceDiscount]**](EcommerceDiscount.md) | | [optional]
**sub_total** | **str, none_type** | Sub-total amount, normally before tax. | [optional]
**shipping_cost** | **str, none_type** | Shipping cost, if any. | [optional]
**coupon_discount** | **str, none_type** | Coupon discount, if any. | [optional]
**total_discount** | **str, none_type** | Total discount, if any. | [optional]
**total_tax** | **str, none_type** | Total tax, if any. | [optional]
**total_amount** | **str, none_type** | Total amount due. | [optional]
**refunded_amount** | **str, none_type** | Refunded amount, if any. | [optional]
**status** | [**EcommerceOrderStatus**](EcommerceOrderStatus.md) | | [optional]
**payment_status** | **str, none_type** | Current payment status of the order. | [optional]
**fulfillment_status** | **str, none_type** | Current fulfillment status of the order. | [optional]
Expand Down
4 changes: 4 additions & 0 deletions docs/models/EcommerceOrderLineItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Name | Type | Description | Notes
**unit_price** | **str, none_type** | The unit price of the product or variant associated with the line item. | [optional]
**tax_rate** | **str, none_type** | The tax rate applied to the product or variant associated with the line item. | [optional]
**tax_amount** | **str, none_type** | The total tax amount applied to the product or variant associated with the line item. | [optional]
**is_refunded** | **bool, none_type** | Whether the line item has been refunded. | [optional]
**refunded_amount** | **str, none_type** | The amount of the line item that has been refunded. | [optional]
**refunded_quantity** | **str, none_type** | The quantity of the line item that has been refunded. | [optional]
**sub_total** | **str, none_type** | The sub total for the product(s) or variant associated with the line item, excluding taxes and discounts. | [optional]
**discounts** | [**[EcommerceDiscount]**](EcommerceDiscount.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]

Expand Down
1 change: 1 addition & 0 deletions docs/models/LinkedCustomer.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**display_name** | **str, none_type** | The display name of the customer. | [optional]
**name** | **str** | The name of the customer. Deprecated, use display_name instead. | [optional]
**company_name** | **str, none_type** | The company name of the customer. | [optional] [readonly]
**email** | **str** | The email address of the customer. | [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/models/Payment.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Name | Type | Description | Notes
**reconciled** | **bool** | Payment has been reconciled | [optional]
**status** | **str** | Status of payment | [optional]
**type** | **str** | Type of payment | [optional]
**allocations** | [**[PaymentAllocations]**](PaymentAllocations.md) | | [optional]
**allocations** | [**[Allocation]**](Allocation.md) | | [optional]
**note** | **str, none_type** | Optional note to be associated with the payment. | [optional]
**number** | **str, none_type** | Payment number. | [optional]
**custom_fields** | [**[CustomField]**](CustomField.md) | | [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": "@apideck/python",
"version": "1.2.2",
"version": "1.2.3",
"description": "Apideck Python SDK",
"keywords": [
"apideck",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "apideck"
version = "1.2.2"
version = "1.2.3"
authors = [
{ name="Apideck", email="support@apideck.com" },
]
Expand Down
6 changes: 3 additions & 3 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ apideck/model/activities_sort.py
apideck/model/activity.py
apideck/model/activity_attendee.py
apideck/model/address.py
apideck/model/allocation.py
apideck/model/api.py
apideck/model/api_resource.py
apideck/model/api_resource_coverage.py
Expand Down Expand Up @@ -526,7 +527,6 @@ apideck/model/owner.py
apideck/model/pagination_coverage.py
apideck/model/pass_through_query.py
apideck/model/payment.py
apideck/model/payment_allocations.py
apideck/model/payment_card.py
apideck/model/payment_frequency.py
apideck/model/payment_required_response.py
Expand Down Expand Up @@ -700,6 +700,7 @@ docs/ActivitiesSort.md
docs/Activity.md
docs/ActivityAttendee.md
docs/Address.md
docs/Allocation.md
docs/Api.md
docs/ApiResource.md
docs/ApiResourceCoverage.md
Expand Down Expand Up @@ -1192,7 +1193,6 @@ docs/Owner.md
docs/PaginationCoverage.md
docs/PassThroughQuery.md
docs/Payment.md
docs/PaymentAllocations.md
docs/PaymentCard.md
docs/PaymentFrequency.md
docs/PaymentRequiredResponse.md
Expand Down Expand Up @@ -1373,6 +1373,7 @@ test/test_activities_sort.py
test/test_activity.py
test/test_activity_attendee.py
test/test_address.py
test/test_allocation.py
test/test_api.py
test/test_api_resource.py
test/test_api_resource_coverage.py
Expand Down Expand Up @@ -1865,7 +1866,6 @@ test/test_owner.py
test/test_pagination_coverage.py
test/test_pass_through_query.py
test/test_payment.py
test/test_payment_allocations.py
test/test_payment_card.py
test/test_payment_frequency.py
test/test_payment_required_response.py
Expand Down
4 changes: 2 additions & 2 deletions src/apideck/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
The Apideck OpenAPI Spec: SDK Optimized # noqa: E501
The version of the OpenAPI document: 10.4.1
The version of the OpenAPI document: 10.4.2
Generated by: https://openapi-generator.tech
"""


__version__ = "1.2.2"
__version__ = "1.2.3"

# import ApiClient
from apideck.api_client import ApiClient
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/accounting_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.4.1
The version of the OpenAPI document: 10.4.2
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/ats_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Apideck OpenAPI Spec: SDK Optimized # noqa: E501
The version of the OpenAPI document: 10.4.1
The version of the OpenAPI document: 10.4.2
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/connector_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Apideck OpenAPI Spec: SDK Optimized # noqa: E501
The version of the OpenAPI document: 10.4.1
The version of the OpenAPI document: 10.4.2
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/crm_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Apideck OpenAPI Spec: SDK Optimized # noqa: E501
The version of the OpenAPI document: 10.4.1
The version of the OpenAPI document: 10.4.2
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/ecommerce_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Apideck OpenAPI Spec: SDK Optimized # noqa: E501
The version of the OpenAPI document: 10.4.1
The version of the OpenAPI document: 10.4.2
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/file_storage_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Apideck OpenAPI Spec: SDK Optimized # noqa: E501
The version of the OpenAPI document: 10.4.1
The version of the OpenAPI document: 10.4.2
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/hris_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Apideck OpenAPI Spec: SDK Optimized # noqa: E501
The version of the OpenAPI document: 10.4.1
The version of the OpenAPI document: 10.4.2
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/issue_tracking_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Apideck OpenAPI Spec: SDK Optimized # noqa: E501
The version of the OpenAPI document: 10.4.1
The version of the OpenAPI document: 10.4.2
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/lead_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Apideck OpenAPI Spec: SDK Optimized # noqa: E501
The version of the OpenAPI document: 10.4.1
The version of the OpenAPI document: 10.4.2
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/pos_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Apideck OpenAPI Spec: SDK Optimized # noqa: E501
The version of the OpenAPI document: 10.4.1
The version of the OpenAPI document: 10.4.2
Generated by: https://openapi-generator.tech
"""

Expand Down
Loading

0 comments on commit bca5275

Please sign in to comment.