Skip to content

Commit

Permalink
Automated update by SDK Generator (#81)
Browse files Browse the repository at this point in the history
* Automated update by SDK Generator version:1.4.0 commit:a1b0fd8

* Automated update by SDK Generator version:1.4.0 commit:734542f

* Automated update by SDK Generator version:1.4.0 commit:b34042b

* Automated update by SDK Generator version:1.4.0 commit:a91ef06

* Automated update by SDK Generator version:1.4.0 commit:2182a36

* Automated update by SDK Generator version:1.4.0 commit:0adefac

* Automated update by SDK Generator version:1.4.3 commit:a658547

* Automated update by SDK Generator version:1.4.3 commit:cfda8be

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Geiser Menoia <gmenoiaa@gmail.com>
  • Loading branch information
3 people authored Aug 29, 2024
1 parent eb6d1af commit d49ca26
Show file tree
Hide file tree
Showing 1,380 changed files with 1,435 additions and 1,384 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ jobs:
uses: ncipollo/release-action@v1
with:
commit: main
tag: 1.4.2

tag: 1.4.3
9 changes: 9 additions & 0 deletions docs/apis/AccountingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,7 @@ with apideck.ApiClient(configuration) as api_client:
],
},
]),
accounting_period="01-24",
) # Bill |
raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False
consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional)
Expand Down Expand Up @@ -1398,6 +1399,7 @@ with apideck.ApiClient(configuration) as api_client:
],
},
]),
accounting_period="01-24",
) # Bill |
consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional)
app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional)
Expand Down Expand Up @@ -5532,6 +5534,7 @@ with apideck.ApiClient(configuration) as api_client:
row_version="1-12345",
),
),
line_number=1,
),
],
memo="Thank you for your business and have a great day!",
Expand All @@ -5546,6 +5549,7 @@ with apideck.ApiClient(configuration) as api_client:
name="New York",
),
]),
accounting_period="01-24",
row_version="1-12345",
pass_through=PassThroughBody([
{
Expand Down Expand Up @@ -6069,6 +6073,7 @@ with apideck.ApiClient(configuration) as api_client:
row_version="1-12345",
),
),
line_number=1,
),
],
memo="Thank you for your business and have a great day!",
Expand All @@ -6083,6 +6088,7 @@ with apideck.ApiClient(configuration) as api_client:
name="New York",
),
]),
accounting_period="01-24",
row_version="1-12345",
pass_through=PassThroughBody([
{
Expand Down Expand Up @@ -8648,6 +8654,7 @@ with apideck.ApiClient(configuration) as api_client:
limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20
filter = PurchaseOrdersFilter(
updated_since=dateutil_parser('2020-09-30T07:43:32Z'),
supplier_id="1234",
) # PurchaseOrdersFilter | Apply filters (optional)
sort = PurchaseOrdersSort(
by="updated_at",
Expand Down Expand Up @@ -11195,6 +11202,7 @@ with apideck.ApiClient(configuration) as api_client:
tracking_category = TrackingCategory(
parent_id="12345",
name="Department",
code="100",
status="active",
row_version="1-12345",
pass_through=PassThroughBody([
Expand Down Expand Up @@ -11644,6 +11652,7 @@ with apideck.ApiClient(configuration) as api_client:
tracking_category = TrackingCategory(
parent_id="12345",
name="Department",
code="100",
status="active",
row_version="1-12345",
pass_through=PassThroughBody([
Expand Down
3 changes: 3 additions & 0 deletions docs/apis/CrmApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ with apideck.ApiClient(configuration) as api_client:
owner_id="1234",
contact_id="1234",
updated_since=dateutil_parser('2020-09-30T07:43:32Z'),
type="Task",
) # ActivitiesFilter | Apply filters (optional)
sort = ActivitiesSort(
by="created_at",
Expand Down Expand Up @@ -2424,6 +2425,7 @@ with apideck.ApiClient(configuration) as api_client:
name="Elon Musk",
company_name="Spacex",
owner_id="54321",
owner_name="John Doe",
company_id="2",
lead_id="2",
lead_source="Cold Call",
Expand Down Expand Up @@ -2967,6 +2969,7 @@ with apideck.ApiClient(configuration) as api_client:
name="Elon Musk",
company_name="Spacex",
owner_id="54321",
owner_name="John Doe",
company_id="2",
lead_id="2",
lead_source="Cold Call",
Expand Down
2 changes: 2 additions & 0 deletions docs/apis/LeadApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ with apideck.ApiClient(configuration) as api_client:
name="Elon Musk",
company_name="Spacex",
owner_id="54321",
owner_name="John Doe",
company_id="2",
lead_id="2",
lead_source="Cold Call",
Expand Down Expand Up @@ -600,6 +601,7 @@ with apideck.ApiClient(configuration) as api_client:
name="Elon Musk",
company_name="Spacex",
owner_id="54321",
owner_name="John Doe",
company_id="2",
lead_id="2",
lead_source="Cold Call",
Expand Down
1 change: 1 addition & 0 deletions docs/models/ActivitiesFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**owner_id** | **str** | Owner ID to filter on | [optional]
**contact_id** | **str** | Primary contact ID to filter on | [optional]
**updated_since** | **datetime** | | [optional]
**type** | **str** | Type to filter on | [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: 1 addition & 0 deletions docs/models/Bill.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Name | Type | Description | Notes
**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional]
**custom_mappings** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | When custom mappings are configured on the resource, the result is included here. | [optional] [readonly]
**pass_through** | [**PassThroughBody**](PassThroughBody.md) | | [optional]
**accounting_period** | **str, none_type** | Accounting period | [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/Employee.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str, none_type** | A unique identifier for an object. |
**id** | **str, none_type** | A unique identifier for an object. | [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]
**middle_name** | **str, none_type** | Middle name of the person. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/models/InvoiceLineItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**id** | **str, none_type** | A unique identifier for an object. | [optional]
**row_id** | **str** | Row ID | [optional]
**code** | **str, none_type** | User defined item code | [optional]
**line_number** | **int, none_type** | Line number in the invoice | [optional]
**line_number** | **int, none_type** | Line number of the resource | [optional]
**description** | **str, none_type** | User defined description | [optional]
**type** | **str, none_type** | Item type | [optional]
**tax_amount** | **float, none_type** | Tax amount | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/models/JournalEntry.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Name | Type | Description | Notes
**tax_code** | **str, none_type** | Applicable tax id/code override if tax is not supplied on a line item basis. | [optional]
**number** | **str, none_type** | Journal entry number. | [optional]
**tracking_categories** | [**LinkedTrackingCategories**](LinkedTrackingCategories.md) | | [optional]
**accounting_period** | **str, none_type** | Accounting period | [optional]
**custom_mappings** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | When custom mappings are configured on the resource, the result is included here. | [optional] [readonly]
**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly]
**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly]
Expand Down
1 change: 1 addition & 0 deletions docs/models/JournalEntryLineItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Name | Type | Description | Notes
**supplier** | [**LinkedSupplier**](LinkedSupplier.md) | | [optional]
**department_id** | **str** | A unique identifier for an object. | [optional] [readonly]
**location_id** | **str** | A unique identifier for an object. | [optional] [readonly]
**line_number** | **int, none_type** | Line number of the resource | [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: 1 addition & 0 deletions docs/models/Lead.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**company_name** | **str, none_type** | The name of the company the lead is associated with. |
**id** | **str** | Unique identifier for the contact. | [optional] [readonly]
**owner_id** | **str, none_type** | The owner of the lead. | [optional]
**owner_name** | **str, none_type** | The name of the owner of the lead. | [optional]
**company_id** | **str, none_type** | The company the lead is associated with. | [optional]
**lead_id** | **str, none_type** | The identifier of the lead. | [optional]
**lead_source** | **str, none_type** | The source of the lead. | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/models/PurchaseOrdersFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**updated_since** | **datetime** | | [optional]
**supplier_id** | **str** | | [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: 1 addition & 0 deletions docs/models/TrackingCategory.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**id** | **str** | A unique identifier for an object. | [optional] [readonly]
**parent_id** | **str, none_type** | A unique identifier for an object. | [optional]
**name** | **str** | The name of the tracking category. | [optional]
**code** | **str, none_type** | The code of the tracking category. | [optional]
**status** | **str** | Based on the status some functionality is enabled or disabled. | [optional]
**custom_mappings** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | When custom mappings are configured on the resource, the result is included here. | [optional] [readonly]
**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [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.4.2",
"version": "1.4.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.4.2"
version = "1.4.3"
authors = [
{ name="Apideck", email="support@apideck.com" },
]
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.7.0
The version of the OpenAPI document: 10.7.1
Generated by: https://openapi-generator.tech
"""


__version__ = "1.4.2"
__version__ = "1.4.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.7.0
The version of the OpenAPI document: 10.7.1
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.7.0
The version of the OpenAPI document: 10.7.1
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.7.0
The version of the OpenAPI document: 10.7.1
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.7.0
The version of the OpenAPI document: 10.7.1
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.7.0
The version of the OpenAPI document: 10.7.1
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.7.0
The version of the OpenAPI document: 10.7.1
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.7.0
The version of the OpenAPI document: 10.7.1
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.7.0
The version of the OpenAPI document: 10.7.1
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.7.0
The version of the OpenAPI document: 10.7.1
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.7.0
The version of the OpenAPI document: 10.7.1
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/sms_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.7.0
The version of the OpenAPI document: 10.7.1
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/vault_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.7.0
The version of the OpenAPI document: 10.7.1
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/webhook_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.7.0
The version of the OpenAPI document: 10.7.1
Generated by: https://openapi-generator.tech
"""

Expand Down
10 changes: 7 additions & 3 deletions src/apideck/api_client.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.7.0
The version of the OpenAPI document: 10.7.1
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/1.4.2/python'
self.user_agent = 'OpenAPI-Generator/1.4.3/python'

def __enter__(self):
return self
Expand Down Expand Up @@ -208,10 +208,14 @@ def transform_tuples(tuple_list):
elif tup[0] == 'sort':
for key, value in tup[1].items():
new_list.append(('sort[' + key + ']', value))
# if the tuple's first element is 'pass_through',
elif tup[0] == 'pass_through':
for key, value in tup[1].items():
new_list.append(('pass_through[' + key + ']', value))
# if the tuple's first element is 'raw',
elif tup[0] == 'raw':
new_list.append((tup[0], str(tup[1]).lower()))

# then simply append it to the new list
else:
new_list.append(tup)
Expand Down
6 changes: 3 additions & 3 deletions src/apideck/configuration.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.7.0
The version of the OpenAPI document: 10.7.1
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -426,8 +426,8 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 10.7.0\n"\
"SDK Package Version: 1.4.2".\
"Version of the API: 10.7.1\n"\
"SDK Package Version: 1.4.3".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
Loading

0 comments on commit d49ca26

Please sign in to comment.