Skip to content

Commit 93ffabd

Browse files
authored
Merge pull request #61 from apideck-libraries/generator-update
manually gen sdk and rollup latest
2 parents 540e716 + 54db4bb commit 93ffabd

File tree

1,364 files changed

+1749
-1709
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,364 files changed

+1749
-1709
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ from apideck.model.bills_filter import BillsFilter
188188
from apideck.model.bills_sort import BillsSort
189189
from apideck.model.create_accounting_department_response import CreateAccountingDepartmentResponse
190190
from apideck.model.create_accounting_location_response import CreateAccountingLocationResponse
191-
from apideck.model.create_attachment_request import CreateAttachmentRequest
192-
from apideck.model.create_attachment_response import CreateAttachmentResponse
193191
from apideck.model.create_bill_response import CreateBillResponse
194192
from apideck.model.create_credit_note_response import CreateCreditNoteResponse
195193
from apideck.model.create_customer_response import CreateCustomerResponse
@@ -353,8 +351,6 @@ _AccountingApi_ | [**attachments_download**](docs/apis/AccountingApi.md#attachme
353351

354352
_AccountingApi_ | [**attachments_one**](docs/apis/AccountingApi.md#attachments_one) | **GET** /accounting/attachments/{reference_type}/{reference_id}/{id} | Get Attachment |
355353

356-
_AccountingApi_ | [**attachments_upload**](docs/apis/AccountingApi.md#attachments_upload) | **POST** /accounting/attachments/{reference_type}/{reference_id} | Upload attachment |
357-
358354
_AccountingApi_ | [**balance_sheet_one**](docs/apis/AccountingApi.md#balance_sheet_one) | **GET** /accounting/balance-sheet | Get BalanceSheet |
359355

360356
_AccountingApi_ | [**bills_add**](docs/apis/AccountingApi.md#bills_add) | **POST** /accounting/bills | Create Bill |
@@ -1435,6 +1431,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) |
14351431
- [OrderRefunds](docs/models/OrderRefunds.md)
14361432
- [OrderTenders](docs/models/OrderTenders.md)
14371433
- [OrderType](docs/models/OrderType.md)
1434+
- [OrdersSort](docs/models/OrdersSort.md)
14381435
- [Owner](docs/models/Owner.md)
14391436
- [PaginationCoverage](docs/models/PaginationCoverage.md)
14401437
- [PassThroughQuery](docs/models/PassThroughQuery.md)

docs/apis/AccountingApi.md

Lines changed: 22 additions & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Method | HTTP request | Description
88
[**attachments_delete**](AccountingApi.md#attachments_delete) | **DELETE** /accounting/attachments/{reference_type}/{reference_id}/{id} | Delete Attachment
99
[**attachments_download**](AccountingApi.md#attachments_download) | **GET** /accounting/attachments/{reference_type}/{reference_id}/{id}/download | Download Attachment
1010
[**attachments_one**](AccountingApi.md#attachments_one) | **GET** /accounting/attachments/{reference_type}/{reference_id}/{id} | Get Attachment
11-
[**attachments_upload**](AccountingApi.md#attachments_upload) | **POST** /accounting/attachments/{reference_type}/{reference_id} | Upload attachment
1211
[**balance_sheet_one**](AccountingApi.md#balance_sheet_one) | **GET** /accounting/balance-sheet | Get BalanceSheet
1312
[**bills_add**](AccountingApi.md#bills_add) | **POST** /accounting/bills | Create Bill
1413
[**bills_all**](AccountingApi.md#bills_all) | **GET** /accounting/bills | List Bills
@@ -537,121 +536,6 @@ Name | Type | Description | Notes
537536

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

540-
# **attachments_upload**
541-
> CreateAttachmentResponse attachments_upload(reference_type, reference_id)
542-
543-
Upload attachment
544-
545-
Upload attachment
546-
547-
### Example
548-
549-
* Api Key Authentication (apiKey):
550-
551-
```python
552-
import time
553-
import apideck
554-
from apideck.api import accounting_api
555-
from apideck.model.create_attachment_response import CreateAttachmentResponse
556-
from apideck.model.bad_request_response import BadRequestResponse
557-
from apideck.model.payment_required_response import PaymentRequiredResponse
558-
from apideck.model.unexpected_error_response import UnexpectedErrorResponse
559-
from apideck.model.attachment_reference_type import AttachmentReferenceType
560-
from apideck.model.unauthorized_response import UnauthorizedResponse
561-
from apideck.model.unprocessable_response import UnprocessableResponse
562-
from apideck.model.create_attachment_request import CreateAttachmentRequest
563-
from apideck.model.not_found_response import NotFoundResponse
564-
from pprint import pprint
565-
# Defining the host is optional and defaults to https://unify.apideck.com
566-
# See configuration.py for a list of all supported configuration parameters.
567-
configuration = apideck.Configuration(
568-
host = "https://unify.apideck.com"
569-
)
570-
571-
# The client must configure the authentication and authorization parameters
572-
# in accordance with the API server security policy.
573-
# Examples for each auth method are provided below, use the example that
574-
# satisfies your auth use case.
575-
576-
# Configure API key authorization: apiKey
577-
configuration.api_key['apiKey'] = 'YOUR_API_KEY'
578-
579-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
580-
# configuration.api_key_prefix['apiKey'] = 'Bearer'
581-
582-
# Enter a context with an instance of the API client
583-
with apideck.ApiClient(configuration) as api_client:
584-
# Create an instance of the API class
585-
api_instance = accounting_api.AccountingApi(api_client)
586-
reference_type = AttachmentReferenceType("invoice") # AttachmentReferenceType | The reference type of the document.
587-
reference_id = "123456" # str | The reference id of the object to retrieve.
588-
raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False
589-
x_apideck_metadata = # CreateAttachmentRequest | Metadata to attach to the attachment file (optional)
590-
consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional)
591-
app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional)
592-
service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
593-
body = open('/path/to/file', 'rb') # file_type | (optional)
594-
595-
# example passing only required values which don't have defaults set
596-
try:
597-
# Upload attachment
598-
api_response = api_instance.attachments_upload(reference_type, reference_id)
599-
pprint(api_response)
600-
except apideck.ApiException as e:
601-
print("Exception when calling AccountingApi->attachments_upload: %s\n" % e)
602-
603-
# example passing only required values which don't have defaults set
604-
# and optional values
605-
try:
606-
# Upload attachment
607-
api_response = api_instance.attachments_upload(reference_type, reference_id, raw=raw, x_apideck_metadata=x_apideck_metadata, consumer_id=consumer_id, app_id=app_id, service_id=service_id, body=body)
608-
pprint(api_response)
609-
except apideck.ApiException as e:
610-
print("Exception when calling AccountingApi->attachments_upload: %s\n" % e)
611-
```
612-
613-
614-
### Parameters
615-
616-
Name | Type | Description | Notes
617-
------------- | ------------- | ------------- | -------------
618-
**reference_type** | **AttachmentReferenceType**| The reference type of the document. |
619-
**reference_id** | **str**| The reference id of the object to retrieve. |
620-
**raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False
621-
**x_apideck_metadata** | **CreateAttachmentRequest**| Metadata to attach to the attachment file | [optional]
622-
**consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional]
623-
**app_id** | **str**| The ID of your Unify application | [optional]
624-
**service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional]
625-
**body** | **file_type**| | [optional]
626-
627-
### Return type
628-
629-
[**CreateAttachmentResponse**](CreateAttachmentResponse.md)
630-
631-
### Authorization
632-
633-
[apiKey](../../README.md#apiKey)
634-
635-
### HTTP request headers
636-
637-
- **Content-Type**: Not defined
638-
- **Accept**: application/json
639-
640-
641-
### HTTP response details
642-
643-
| Status code | Description | Response headers |
644-
|-------------|-------------|------------------|
645-
**201** | Attachments | - |
646-
**400** | Bad Request | - |
647-
**401** | Unauthorized | - |
648-
**402** | Payment Required | - |
649-
**404** | The specified resource was not found | - |
650-
**422** | Unprocessable | - |
651-
**0** | Unexpected error | - |
652-
653-
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
654-
655539
# **balance_sheet_one**
656540
> GetBalanceSheetResponse balance_sheet_one()
657541
@@ -839,9 +723,9 @@ with apideck.ApiClient(configuration) as api_client:
839723
currency=Currency("USD"),
840724
currency_rate=0.69,
841725
tax_inclusive=True,
842-
bill_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
843-
due_date=dateutil_parser('Fri Oct 30 00:00:00 UTC 2020').date(),
844-
paid_date=dateutil_parser('Fri Oct 30 00:00:00 UTC 2020').date(),
726+
bill_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
727+
due_date=dateutil_parser('Fri Oct 30 01:00:00 CET 2020').date(),
728+
paid_date=dateutil_parser('Fri Oct 30 01:00:00 CET 2020').date(),
845729
po_number="90000117",
846730
reference="123456",
847731
line_items=[
@@ -1388,9 +1272,9 @@ with apideck.ApiClient(configuration) as api_client:
13881272
currency=Currency("USD"),
13891273
currency_rate=0.69,
13901274
tax_inclusive=True,
1391-
bill_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
1392-
due_date=dateutil_parser('Fri Oct 30 00:00:00 UTC 2020').date(),
1393-
paid_date=dateutil_parser('Fri Oct 30 00:00:00 UTC 2020').date(),
1275+
bill_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
1276+
due_date=dateutil_parser('Fri Oct 30 01:00:00 CET 2020').date(),
1277+
paid_date=dateutil_parser('Fri Oct 30 01:00:00 CET 2020').date(),
13941278
po_number="90000117",
13951279
reference="123456",
13961280
line_items=[
@@ -3811,7 +3695,7 @@ with apideck.ApiClient(configuration) as api_client:
38113695
purchased=True,
38123696
tracked=True,
38133697
taxable=True,
3814-
inventory_date=dateutil_parser('Fri Oct 30 00:00:00 UTC 2020').date(),
3698+
inventory_date=dateutil_parser('Fri Oct 30 01:00:00 CET 2020').date(),
38153699
type="inventory",
38163700
sales_details=InvoiceItemSalesDetails(
38173701
unit_price=27500.5,
@@ -4298,7 +4182,7 @@ with apideck.ApiClient(configuration) as api_client:
42984182
purchased=True,
42994183
tracked=True,
43004184
taxable=True,
4301-
inventory_date=dateutil_parser('Fri Oct 30 00:00:00 UTC 2020').date(),
4185+
inventory_date=dateutil_parser('Fri Oct 30 01:00:00 CET 2020').date(),
43024186
type="inventory",
43034187
sales_details=InvoiceItemSalesDetails(
43044188
unit_price=27500.5,
@@ -4459,8 +4343,8 @@ with apideck.ApiClient(configuration) as api_client:
44594343
name="Windsurf Shop",
44604344
),
44614345
company_id="12345",
4462-
invoice_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
4463-
due_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
4346+
invoice_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
4347+
due_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
44644348
terms="Net 30 days",
44654349
po_number="90000117",
44664350
reference="123456",
@@ -5059,8 +4943,8 @@ with apideck.ApiClient(configuration) as api_client:
50594943
name="Windsurf Shop",
50604944
),
50614945
company_id="12345",
5062-
invoice_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
5063-
due_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
4946+
invoice_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
4947+
due_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
50644948
terms="Net 30 days",
50654949
po_number="90000117",
50664950
reference="123456",
@@ -6047,7 +5931,7 @@ with apideck.ApiClient(configuration) as api_client:
60475931
display_id="1-1100",
60485932
),
60495933
sub_account=False,
6050-
last_reconciliation_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
5934+
last_reconciliation_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
60515935
row_version="1-12345",
60525936
) # LedgerAccount |
60535937
raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False
@@ -6532,7 +6416,7 @@ with apideck.ApiClient(configuration) as api_client:
65326416
display_id="1-1100",
65336417
),
65346418
sub_account=False,
6535-
last_reconciliation_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
6419+
last_reconciliation_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
65366420
row_version="1-12345",
65376421
) # LedgerAccount |
65386422
consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional)
@@ -8106,9 +7990,9 @@ with apideck.ApiClient(configuration) as api_client:
81067990
),
81077991
company_id="12345",
81087992
status="open",
8109-
issued_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
8110-
delivery_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
8111-
expected_arrival_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
7993+
issued_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
7994+
delivery_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
7995+
expected_arrival_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
81127996
currency=Currency("USD"),
81137997
currency_rate=0.69,
81147998
sub_total=27500,
@@ -8203,7 +8087,7 @@ with apideck.ApiClient(configuration) as api_client:
82038087
currency=Currency("USD"),
82048088
),
82058089
accounting_by_row=False,
8206-
due_date=dateutil_parser('Fri Oct 30 00:00:00 UTC 2020').date(),
8090+
due_date=dateutil_parser('Fri Oct 30 01:00:00 CET 2020').date(),
82078091
payment_method="cash",
82088092
tax_code="1234",
82098093
channel="email",
@@ -8682,9 +8566,9 @@ with apideck.ApiClient(configuration) as api_client:
86828566
),
86838567
company_id="12345",
86848568
status="open",
8685-
issued_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
8686-
delivery_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
8687-
expected_arrival_date=dateutil_parser('Wed Sep 30 00:00:00 UTC 2020').date(),
8569+
issued_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
8570+
delivery_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
8571+
expected_arrival_date=dateutil_parser('Wed Sep 30 02:00:00 CEST 2020').date(),
86888572
currency=Currency("USD"),
86898573
currency_rate=0.69,
86908574
sub_total=27500,
@@ -8779,7 +8663,7 @@ with apideck.ApiClient(configuration) as api_client:
87798663
currency=Currency("USD"),
87808664
),
87818665
accounting_by_row=False,
8782-
due_date=dateutil_parser('Fri Oct 30 00:00:00 UTC 2020').date(),
8666+
due_date=dateutil_parser('Fri Oct 30 01:00:00 CET 2020').date(),
87838667
payment_method="cash",
87848668
tax_code="1234",
87858669
channel="email",

docs/apis/AtsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ with apideck.ApiClient(configuration) as api_client:
7070
last_name="Musk",
7171
middle_name="D.",
7272
initials="EM",
73-
birthday=dateutil_parser('Sat Aug 12 00:00:00 UTC 2000').date(),
73+
birthday=dateutil_parser('Sat Aug 12 02:00:00 CEST 2000').date(),
7474
cover_letter="I submit this application to express my sincere interest in the API developer position. In the previous role, I was responsible for leadership and ...",
7575
photo_url="https://unavatar.io/elon-musk",
7676
headline="PepsiCo, Inc, Central Perk",
@@ -599,7 +599,7 @@ with apideck.ApiClient(configuration) as api_client:
599599
last_name="Musk",
600600
middle_name="D.",
601601
initials="EM",
602-
birthday=dateutil_parser('Sat Aug 12 00:00:00 UTC 2000').date(),
602+
birthday=dateutil_parser('Sat Aug 12 02:00:00 CEST 2000').date(),
603603
cover_letter="I submit this application to express my sincere interest in the API developer position. In the previous role, I was responsible for leadership and ...",
604604
photo_url="https://unavatar.io/elon-musk",
605605
headline="PepsiCo, Inc, Central Perk",

docs/apis/CrmApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ with apideck.ApiClient(configuration) as api_client:
930930
tags=Tags(["New"]),
931931
read_only=False,
932932
salutation="Mr",
933-
birthday=dateutil_parser('Sat Aug 12 00:00:00 UTC 2000').date(),
933+
birthday=dateutil_parser('Sat Aug 12 02:00:00 CEST 2000').date(),
934934
) # Company |
935935
raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False
936936
consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional)
@@ -1482,7 +1482,7 @@ with apideck.ApiClient(configuration) as api_client:
14821482
tags=Tags(["New"]),
14831483
read_only=False,
14841484
salutation="Mr",
1485-
birthday=dateutil_parser('Sat Aug 12 00:00:00 UTC 2000').date(),
1485+
birthday=dateutil_parser('Sat Aug 12 02:00:00 CEST 2000').date(),
14861486
) # Company |
14871487
raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False
14881488
consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional)
@@ -3626,7 +3626,7 @@ with apideck.ApiClient(configuration) as api_client:
36263626
monetary_amount=75000,
36273627
currency=Currency("USD"),
36283628
win_probability=40,
3629-
close_date=dateutil_parser('Fri Oct 30 00:00:00 UTC 2020').date(),
3629+
close_date=dateutil_parser('Fri Oct 30 01:00:00 CET 2020').date(),
36303630
loss_reason_id="12345",
36313631
loss_reason="No budget",
36323632
won_reason_id="12345",
@@ -4112,7 +4112,7 @@ with apideck.ApiClient(configuration) as api_client:
41124112
monetary_amount=75000,
41134113
currency=Currency("USD"),
41144114
win_probability=40,
4115-
close_date=dateutil_parser('Fri Oct 30 00:00:00 UTC 2020').date(),
4115+
close_date=dateutil_parser('Fri Oct 30 01:00:00 CET 2020').date(),
41164116
loss_reason_id="12345",
41174117
loss_reason="No budget",
41184118
won_reason_id="12345",

0 commit comments

Comments
 (0)