Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated update by SDK Generator #71

Merged
merged 17 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
3515669
Automated update by SDK Generator version:1.2.0 commit:4a43274
github-actions[bot] Apr 18, 2024
b96e7ae
Automated update by SDK Generator version:1.2.0 commit:cf6bac0
github-actions[bot] Apr 30, 2024
e415645
Automated update by SDK Generator version:1.2.0 commit:b0eeb2c
github-actions[bot] May 2, 2024
1edc40d
Automated update by SDK Generator version:1.2.0 commit:c781517
github-actions[bot] May 6, 2024
b1a8f33
Automated update by SDK Generator version:1.2.1 commit:d4ea776
github-actions[bot] May 6, 2024
eeed5be
Automated update by SDK Generator version:1.2.1 commit:6c06d9a
github-actions[bot] May 7, 2024
4b36f68
Merge branch 'main' into generator-update
gmenoiaa May 8, 2024
1cb0594
Automated update by SDK Generator version:1.2.1 commit:115003a
github-actions[bot] May 8, 2024
9a9e2d7
Automated update by SDK Generator version:1.2.1 commit:4dadef8
github-actions[bot] May 9, 2024
e26bc45
Merge branch 'main' into generator-update
gmenoiaa May 9, 2024
61351e3
Automated update by SDK Generator version:1.2.3 commit:10ed67c
github-actions[bot] May 10, 2024
c928f69
Automated update by SDK Generator version:1.2.3 commit:fe4f560
github-actions[bot] May 14, 2024
7be8369
Automated update by SDK Generator version:1.2.3 commit:c1184fc
github-actions[bot] May 16, 2024
efafd1a
Automated update by SDK Generator version:1.2.3 commit:a35573d
github-actions[bot] May 24, 2024
8680973
Automated update by SDK Generator version:1.2.3 commit:93fb615
github-actions[bot] May 27, 2024
00e371f
Merge branch 'main' of github.com:apideck-libraries/python-sdk into g…
gmenoiaa May 27, 2024
666533d
Automated update by SDK Generator version:1.2.3 commit:229169b
github-actions[bot] May 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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="[email protected]",
),
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="[email protected]",
),
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="[email protected]",
),
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="[email protected]",
),
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="[email protected]",
),
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="[email protected]",
),
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="[email protected]",
),
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="[email protected]",
),
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
1 change: 1 addition & 0 deletions docs/models/BalanceSheetAccount.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# BalanceSheetAccount

A balance sheet account represents the financial position of a company at a specific point in time.

## Properties
Name | Type | Description | Notes
Expand Down
1 change: 1 addition & 0 deletions docs/models/BalanceSheetReports.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Name | Type | Description | Notes
**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly]
**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly]
**created_at** | **datetime, none_type** | The date and time when the object was created. | [optional] [readonly]
**uncategorized_items** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Items that are not categorized in the balance sheet | [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/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="[email protected]" },
]
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
Loading
Loading