mergepythonclient 1.0.8__py3-none-any.whl → 1.0.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- merge/client.py +2 -2
- merge/core/client_wrapper.py +1 -1
- merge/resources/accounting/__init__.py +10 -20
- merge/resources/accounting/client.py +0 -3
- merge/resources/accounting/resources/__init__.py +0 -2
- merge/resources/accounting/resources/audit_trail/client.py +2 -2
- merge/resources/accounting/resources/field_mapping/client.py +0 -4
- merge/resources/accounting/resources/link_token/client.py +10 -0
- merge/resources/accounting/types/__init__.py +10 -18
- merge/resources/accounting/types/account.py +4 -2
- merge/resources/accounting/types/accounting_attachment.py +4 -2
- merge/resources/accounting/types/accounting_period.py +4 -2
- merge/resources/accounting/types/accounting_phone_number.py +4 -2
- merge/resources/accounting/types/address.py +4 -2
- merge/resources/accounting/types/audit_log_event.py +3 -0
- merge/resources/accounting/types/balance_sheet.py +4 -2
- merge/resources/accounting/types/cash_flow_statement.py +4 -2
- merge/resources/accounting/types/company_info.py +4 -2
- merge/resources/accounting/types/contact.py +4 -2
- merge/resources/accounting/types/credit_note.py +4 -2
- merge/resources/accounting/types/credit_note_line_item.py +4 -3
- merge/resources/accounting/types/currency_enum.py +2 -2
- merge/resources/accounting/types/event_type_enum.py +15 -0
- merge/resources/accounting/types/expense.py +4 -2
- merge/resources/accounting/types/expense_line.py +4 -2
- merge/resources/accounting/types/income_statement.py +4 -2
- merge/resources/accounting/types/invoice.py +4 -2
- merge/resources/accounting/types/invoice_line_item.py +4 -2
- merge/resources/accounting/types/item.py +4 -2
- merge/resources/accounting/types/journal_entry.py +4 -2
- merge/resources/accounting/types/journal_line.py +4 -2
- merge/resources/accounting/types/patched_payment_request.py +9 -0
- merge/resources/accounting/types/patched_payment_request_type.py +7 -0
- merge/resources/accounting/types/payment.py +13 -2
- merge/resources/accounting/types/payment_line_item.py +4 -2
- merge/resources/accounting/types/payment_request.py +9 -0
- merge/resources/accounting/types/payment_request_type.py +7 -0
- merge/resources/accounting/types/payment_type.py +7 -0
- merge/resources/accounting/types/payment_type_enum.py +24 -0
- merge/resources/accounting/types/purchase_order.py +4 -2
- merge/resources/accounting/types/purchase_order_line_item.py +4 -2
- merge/resources/accounting/types/remote_field_api.py +2 -0
- merge/resources/accounting/{resources/selective_sync/__init__.py → types/remote_field_api_coverage.py} +3 -0
- merge/resources/accounting/types/report_item.py +4 -2
- merge/resources/accounting/types/tax_rate.py +13 -5
- merge/resources/accounting/types/tracking_category.py +4 -2
- merge/resources/accounting/types/transaction.py +4 -2
- merge/resources/accounting/types/transaction_line_item.py +5 -3
- merge/resources/accounting/types/vendor_credit.py +4 -2
- merge/resources/accounting/types/vendor_credit_line.py +4 -2
- merge/resources/ats/__init__.py +2 -20
- merge/resources/ats/client.py +0 -3
- merge/resources/ats/resources/__init__.py +0 -2
- merge/resources/ats/resources/audit_trail/client.py +2 -2
- merge/resources/ats/resources/candidates/client.py +0 -2
- merge/resources/ats/resources/field_mapping/client.py +0 -4
- merge/resources/ats/resources/job_postings/client.py +16 -0
- merge/resources/ats/resources/link_token/client.py +10 -0
- merge/resources/ats/types/__init__.py +2 -18
- merge/resources/ats/types/activity.py +4 -2
- merge/resources/ats/types/application.py +4 -2
- merge/resources/ats/types/attachment.py +4 -2
- merge/resources/ats/types/audit_log_event.py +3 -0
- merge/resources/ats/types/candidate.py +4 -2
- merge/resources/ats/types/department.py +4 -2
- merge/resources/ats/types/eeoc.py +4 -2
- merge/resources/ats/types/email_address.py +4 -2
- merge/resources/ats/types/event_type_enum.py +15 -0
- merge/resources/ats/types/job.py +4 -2
- merge/resources/ats/types/job_interview_stage.py +4 -2
- merge/resources/ats/types/job_posting.py +4 -2
- merge/resources/ats/types/offer.py +4 -2
- merge/resources/ats/types/office.py +4 -2
- merge/resources/ats/types/phone_number.py +4 -2
- merge/resources/ats/types/reject_reason.py +4 -2
- merge/resources/ats/types/remote_field_api.py +2 -0
- merge/resources/ats/{resources/selective_sync/__init__.py → types/remote_field_api_coverage.py} +3 -0
- merge/resources/ats/types/remote_user.py +4 -2
- merge/resources/ats/types/scheduled_interview.py +4 -2
- merge/resources/ats/types/scorecard.py +4 -2
- merge/resources/ats/types/screening_question.py +4 -2
- merge/resources/ats/types/screening_question_option.py +4 -2
- merge/resources/ats/types/tag.py +4 -2
- merge/resources/ats/types/url.py +4 -2
- merge/resources/crm/__init__.py +2 -20
- merge/resources/crm/client.py +0 -3
- merge/resources/crm/resources/__init__.py +0 -2
- merge/resources/crm/resources/audit_trail/client.py +2 -2
- merge/resources/crm/resources/contacts/client.py +0 -2
- merge/resources/crm/resources/field_mapping/client.py +0 -4
- merge/resources/crm/resources/link_token/client.py +10 -0
- merge/resources/crm/resources/users/client.py +0 -2
- merge/resources/crm/types/__init__.py +2 -18
- merge/resources/crm/types/account.py +4 -2
- merge/resources/crm/types/account_request.py +2 -0
- merge/resources/crm/types/address.py +4 -2
- merge/resources/crm/types/association.py +7 -3
- merge/resources/crm/types/association_sub_type.py +4 -2
- merge/resources/crm/types/association_type.py +7 -3
- merge/resources/crm/types/audit_log_event.py +3 -0
- merge/resources/crm/types/contact.py +4 -2
- merge/resources/crm/types/custom_object.py +10 -4
- merge/resources/crm/types/custom_object_class.py +8 -4
- merge/resources/crm/types/email_address.py +4 -2
- merge/resources/crm/types/engagement.py +4 -2
- merge/resources/crm/types/engagement_type.py +4 -2
- merge/resources/crm/types/event_type_enum.py +15 -0
- merge/resources/crm/types/field_format_enum.py +4 -4
- merge/resources/crm/types/field_type_enum.py +4 -4
- merge/resources/crm/types/item_format_enum.py +4 -4
- merge/resources/crm/types/item_type_enum.py +4 -4
- merge/resources/crm/types/lead.py +4 -2
- merge/resources/crm/types/note.py +4 -2
- merge/resources/crm/types/opportunity.py +4 -2
- merge/resources/crm/types/patched_account_request.py +2 -0
- merge/resources/crm/types/phone_number.py +4 -2
- merge/resources/crm/types/remote_field_api.py +2 -0
- merge/resources/crm/{resources/selective_sync/__init__.py → types/remote_field_api_coverage.py} +3 -0
- merge/resources/crm/types/remote_field_class_for_custom_object_class.py +4 -2
- merge/resources/crm/types/stage.py +4 -2
- merge/resources/crm/types/task.py +4 -2
- merge/resources/crm/types/user.py +4 -2
- merge/resources/filestorage/__init__.py +2 -20
- merge/resources/filestorage/client.py +0 -3
- merge/resources/filestorage/resources/__init__.py +0 -2
- merge/resources/filestorage/resources/audit_trail/client.py +2 -2
- merge/resources/filestorage/resources/field_mapping/client.py +0 -4
- merge/resources/filestorage/resources/link_token/client.py +10 -0
- merge/resources/filestorage/types/__init__.py +2 -18
- merge/resources/filestorage/types/audit_log_event.py +3 -0
- merge/resources/filestorage/types/drive.py +4 -2
- merge/resources/filestorage/types/event_type_enum.py +15 -0
- merge/resources/filestorage/types/file.py +4 -2
- merge/resources/filestorage/types/folder.py +4 -2
- merge/resources/filestorage/types/group.py +4 -2
- merge/resources/filestorage/types/permission.py +4 -2
- merge/resources/filestorage/types/remote_field_api.py +2 -0
- merge/resources/filestorage/{resources/selective_sync/__init__.py → types/remote_field_api_coverage.py} +3 -0
- merge/resources/filestorage/types/user.py +4 -2
- merge/resources/hris/__init__.py +2 -20
- merge/resources/hris/client.py +0 -3
- merge/resources/hris/resources/__init__.py +0 -2
- merge/resources/hris/resources/audit_trail/client.py +2 -2
- merge/resources/hris/resources/employees/client.py +0 -2
- merge/resources/hris/resources/field_mapping/client.py +0 -4
- merge/resources/hris/resources/groups/client.py +8 -0
- merge/resources/hris/resources/link_token/client.py +10 -0
- merge/resources/hris/types/__init__.py +2 -18
- merge/resources/hris/types/audit_log_event.py +3 -0
- merge/resources/hris/types/bank_info.py +4 -2
- merge/resources/hris/types/benefit.py +4 -2
- merge/resources/hris/types/company.py +4 -2
- merge/resources/hris/types/deduction.py +4 -2
- merge/resources/hris/types/dependent.py +4 -2
- merge/resources/hris/types/earning.py +4 -2
- merge/resources/hris/types/employee.py +4 -2
- merge/resources/hris/types/employee_payroll_run.py +4 -2
- merge/resources/hris/types/employer_benefit.py +4 -2
- merge/resources/hris/types/employment.py +4 -2
- merge/resources/hris/types/event_type_enum.py +15 -0
- merge/resources/hris/types/group.py +7 -2
- merge/resources/hris/types/location.py +4 -2
- merge/resources/hris/types/pay_currency_enum.py +2 -2
- merge/resources/hris/types/pay_group.py +4 -2
- merge/resources/hris/types/payroll_run.py +4 -2
- merge/resources/hris/types/remote_field_api.py +2 -0
- merge/resources/hris/types/remote_field_api_coverage.py +5 -0
- merge/resources/hris/types/tax.py +4 -2
- merge/resources/hris/types/team.py +4 -2
- merge/resources/hris/types/time_off.py +4 -2
- merge/resources/hris/types/time_off_balance.py +4 -2
- merge/resources/hris/types/timesheet_entry.py +4 -2
- merge/resources/ticketing/__init__.py +8 -20
- merge/resources/ticketing/client.py +0 -3
- merge/resources/ticketing/resources/__init__.py +0 -2
- merge/resources/ticketing/resources/audit_trail/client.py +2 -2
- merge/resources/ticketing/resources/contacts/client.py +234 -0
- merge/resources/ticketing/resources/field_mapping/client.py +0 -4
- merge/resources/ticketing/resources/link_token/client.py +10 -0
- merge/resources/ticketing/types/__init__.py +8 -18
- merge/resources/ticketing/types/account.py +4 -2
- merge/resources/ticketing/types/attachment.py +4 -2
- merge/resources/ticketing/types/audit_log_event.py +3 -0
- merge/resources/ticketing/types/collection.py +4 -2
- merge/resources/ticketing/types/collection_type_enum.py +2 -2
- merge/resources/ticketing/types/comment.py +4 -2
- merge/resources/ticketing/types/contact.py +4 -2
- merge/resources/ticketing/types/contact_request.py +47 -0
- merge/resources/ticketing/types/contact_request_account.py +7 -0
- merge/resources/ticketing/types/event_type_enum.py +15 -0
- merge/resources/ticketing/types/field_format_enum.py +4 -4
- merge/resources/ticketing/types/field_type_enum.py +4 -4
- merge/resources/ticketing/types/item_format_enum.py +4 -4
- merge/resources/ticketing/types/item_type_enum.py +4 -4
- merge/resources/ticketing/types/project.py +4 -2
- merge/resources/ticketing/types/remote_field_api.py +2 -0
- merge/resources/ticketing/types/remote_field_api_coverage.py +5 -0
- merge/resources/ticketing/types/role.py +4 -2
- merge/resources/ticketing/types/tag.py +4 -2
- merge/resources/ticketing/types/team.py +4 -2
- merge/resources/ticketing/types/ticket.py +4 -2
- merge/resources/ticketing/types/ticket_access_enum.py +2 -2
- merge/resources/{accounting/types/linked_account_selective_sync_configuration.py → ticketing/types/ticketing_contact_response.py} +9 -5
- merge/resources/ticketing/types/user.py +4 -2
- {mergepythonclient-1.0.8.dist-info → mergepythonclient-1.0.9.dist-info}/METADATA +31 -7
- {mergepythonclient-1.0.8.dist-info → mergepythonclient-1.0.9.dist-info}/RECORD +208 -261
- merge/resources/accounting/resources/selective_sync/client.py +0 -382
- merge/resources/accounting/types/condition_schema.py +0 -56
- merge/resources/accounting/types/condition_schema_condition_type.py +0 -7
- merge/resources/accounting/types/condition_type_enum.py +0 -51
- merge/resources/accounting/types/linked_account_condition.py +0 -35
- merge/resources/accounting/types/linked_account_condition_request.py +0 -33
- merge/resources/accounting/types/linked_account_selective_sync_configuration_request.py +0 -31
- merge/resources/accounting/types/operator_schema.py +0 -31
- merge/resources/accounting/types/paginated_condition_schema_list.py +0 -31
- merge/resources/ats/resources/selective_sync/client.py +0 -370
- merge/resources/ats/types/condition_schema.py +0 -56
- merge/resources/ats/types/condition_schema_condition_type.py +0 -7
- merge/resources/ats/types/condition_type_enum.py +0 -51
- merge/resources/ats/types/linked_account_condition.py +0 -35
- merge/resources/ats/types/linked_account_condition_request.py +0 -33
- merge/resources/ats/types/linked_account_selective_sync_configuration.py +0 -31
- merge/resources/ats/types/linked_account_selective_sync_configuration_request.py +0 -31
- merge/resources/ats/types/operator_schema.py +0 -31
- merge/resources/ats/types/paginated_condition_schema_list.py +0 -31
- merge/resources/crm/resources/selective_sync/client.py +0 -370
- merge/resources/crm/types/condition_schema.py +0 -56
- merge/resources/crm/types/condition_schema_condition_type.py +0 -7
- merge/resources/crm/types/condition_type_enum.py +0 -51
- merge/resources/crm/types/linked_account_condition.py +0 -35
- merge/resources/crm/types/linked_account_condition_request.py +0 -33
- merge/resources/crm/types/linked_account_selective_sync_configuration.py +0 -31
- merge/resources/crm/types/linked_account_selective_sync_configuration_request.py +0 -31
- merge/resources/crm/types/operator_schema.py +0 -31
- merge/resources/crm/types/paginated_condition_schema_list.py +0 -31
- merge/resources/filestorage/resources/selective_sync/client.py +0 -382
- merge/resources/filestorage/types/condition_schema.py +0 -56
- merge/resources/filestorage/types/condition_schema_condition_type.py +0 -7
- merge/resources/filestorage/types/condition_type_enum.py +0 -51
- merge/resources/filestorage/types/linked_account_condition.py +0 -35
- merge/resources/filestorage/types/linked_account_condition_request.py +0 -33
- merge/resources/filestorage/types/linked_account_selective_sync_configuration.py +0 -31
- merge/resources/filestorage/types/linked_account_selective_sync_configuration_request.py +0 -31
- merge/resources/filestorage/types/operator_schema.py +0 -31
- merge/resources/filestorage/types/paginated_condition_schema_list.py +0 -31
- merge/resources/hris/resources/selective_sync/__init__.py +0 -2
- merge/resources/hris/resources/selective_sync/client.py +0 -370
- merge/resources/hris/types/condition_schema.py +0 -56
- merge/resources/hris/types/condition_schema_condition_type.py +0 -7
- merge/resources/hris/types/condition_type_enum.py +0 -51
- merge/resources/hris/types/linked_account_condition.py +0 -35
- merge/resources/hris/types/linked_account_condition_request.py +0 -33
- merge/resources/hris/types/linked_account_selective_sync_configuration.py +0 -31
- merge/resources/hris/types/linked_account_selective_sync_configuration_request.py +0 -31
- merge/resources/hris/types/operator_schema.py +0 -31
- merge/resources/hris/types/paginated_condition_schema_list.py +0 -31
- merge/resources/ticketing/resources/selective_sync/__init__.py +0 -2
- merge/resources/ticketing/resources/selective_sync/client.py +0 -382
- merge/resources/ticketing/types/condition_schema.py +0 -56
- merge/resources/ticketing/types/condition_schema_condition_type.py +0 -7
- merge/resources/ticketing/types/condition_type_enum.py +0 -51
- merge/resources/ticketing/types/linked_account_condition.py +0 -35
- merge/resources/ticketing/types/linked_account_condition_request.py +0 -33
- merge/resources/ticketing/types/linked_account_selective_sync_configuration.py +0 -31
- merge/resources/ticketing/types/linked_account_selective_sync_configuration_request.py +0 -31
- merge/resources/ticketing/types/operator_schema.py +0 -31
- merge/resources/ticketing/types/paginated_condition_schema_list.py +0 -31
- {mergepythonclient-1.0.8.dist-info → mergepythonclient-1.0.9.dist-info}/LICENSE.md +0 -0
- {mergepythonclient-1.0.8.dist-info → mergepythonclient-1.0.9.dist-info}/WHEEL +0 -0
merge/client.py
CHANGED
|
@@ -34,8 +34,8 @@ class Merge:
|
|
|
34
34
|
self.ats = AtsClient(client_wrapper=self._client_wrapper)
|
|
35
35
|
self.crm = CrmClient(client_wrapper=self._client_wrapper)
|
|
36
36
|
self.filestorage = FilestorageClient(client_wrapper=self._client_wrapper)
|
|
37
|
-
self.hris = HrisClient(client_wrapper=self._client_wrapper)
|
|
38
37
|
self.ticketing = TicketingClient(client_wrapper=self._client_wrapper)
|
|
38
|
+
self.hris = HrisClient(client_wrapper=self._client_wrapper)
|
|
39
39
|
self.accounting = AccountingClient(client_wrapper=self._client_wrapper)
|
|
40
40
|
|
|
41
41
|
|
|
@@ -59,8 +59,8 @@ class AsyncMerge:
|
|
|
59
59
|
self.ats = AsyncAtsClient(client_wrapper=self._client_wrapper)
|
|
60
60
|
self.crm = AsyncCrmClient(client_wrapper=self._client_wrapper)
|
|
61
61
|
self.filestorage = AsyncFilestorageClient(client_wrapper=self._client_wrapper)
|
|
62
|
-
self.hris = AsyncHrisClient(client_wrapper=self._client_wrapper)
|
|
63
62
|
self.ticketing = AsyncTicketingClient(client_wrapper=self._client_wrapper)
|
|
63
|
+
self.hris = AsyncHrisClient(client_wrapper=self._client_wrapper)
|
|
64
64
|
self.accounting = AsyncAccountingClient(client_wrapper=self._client_wrapper)
|
|
65
65
|
|
|
66
66
|
|
merge/core/client_wrapper.py
CHANGED
|
@@ -21,7 +21,7 @@ class BaseClientWrapper:
|
|
|
21
21
|
headers: typing.Dict[str, str] = {
|
|
22
22
|
"X-Fern-Language": "Python",
|
|
23
23
|
"X-Fern-SDK-Name": "MergePythonClient",
|
|
24
|
-
"X-Fern-SDK-Version": "1.0.
|
|
24
|
+
"X-Fern-SDK-Version": "1.0.9",
|
|
25
25
|
}
|
|
26
26
|
if self._account_token is not None:
|
|
27
27
|
headers["X-Account-Token"] = self._account_token
|
|
@@ -52,9 +52,6 @@ from .types import (
|
|
|
52
52
|
CommonModelScopesBodyRequest,
|
|
53
53
|
CompanyInfo,
|
|
54
54
|
CompanyInfoCurrency,
|
|
55
|
-
ConditionSchema,
|
|
56
|
-
ConditionSchemaConditionType,
|
|
57
|
-
ConditionTypeEnum,
|
|
58
55
|
Contact,
|
|
59
56
|
ContactAddressesItem,
|
|
60
57
|
ContactRequest,
|
|
@@ -197,10 +194,6 @@ from .types import (
|
|
|
197
194
|
JournalLineTrackingCategoriesItem,
|
|
198
195
|
JournalLineTrackingCategory,
|
|
199
196
|
LinkToken,
|
|
200
|
-
LinkedAccountCondition,
|
|
201
|
-
LinkedAccountConditionRequest,
|
|
202
|
-
LinkedAccountSelectiveSyncConfiguration,
|
|
203
|
-
LinkedAccountSelectiveSyncConfigurationRequest,
|
|
204
197
|
LinkedAccountStatus,
|
|
205
198
|
MetaResponse,
|
|
206
199
|
MethodEnum,
|
|
@@ -209,7 +202,6 @@ from .types import (
|
|
|
209
202
|
ModelPermissionDeserializerRequest,
|
|
210
203
|
MultipartFormFieldRequest,
|
|
211
204
|
MultipartFormFieldRequestEncoding,
|
|
212
|
-
OperatorSchema,
|
|
213
205
|
PaginatedAccountDetailsAndActionsList,
|
|
214
206
|
PaginatedAccountList,
|
|
215
207
|
PaginatedAccountingAttachmentList,
|
|
@@ -218,7 +210,6 @@ from .types import (
|
|
|
218
210
|
PaginatedBalanceSheetList,
|
|
219
211
|
PaginatedCashFlowStatementList,
|
|
220
212
|
PaginatedCompanyInfoList,
|
|
221
|
-
PaginatedConditionSchemaList,
|
|
222
213
|
PaginatedContactList,
|
|
223
214
|
PaginatedCreditNoteList,
|
|
224
215
|
PaginatedExpenseList,
|
|
@@ -242,6 +233,7 @@ from .types import (
|
|
|
242
233
|
PatchedPaymentRequestContact,
|
|
243
234
|
PatchedPaymentRequestCurrency,
|
|
244
235
|
PatchedPaymentRequestTrackingCategoriesItem,
|
|
236
|
+
PatchedPaymentRequestType,
|
|
245
237
|
Payment,
|
|
246
238
|
PaymentAccount,
|
|
247
239
|
PaymentAccountingPeriod,
|
|
@@ -259,8 +251,11 @@ from .types import (
|
|
|
259
251
|
PaymentRequestContact,
|
|
260
252
|
PaymentRequestCurrency,
|
|
261
253
|
PaymentRequestTrackingCategoriesItem,
|
|
254
|
+
PaymentRequestType,
|
|
262
255
|
PaymentResponse,
|
|
263
256
|
PaymentTrackingCategoriesItem,
|
|
257
|
+
PaymentType,
|
|
258
|
+
PaymentTypeEnum,
|
|
264
259
|
PostingStatusEnum,
|
|
265
260
|
PurchaseOrder,
|
|
266
261
|
PurchaseOrderAccountingPeriod,
|
|
@@ -288,6 +283,7 @@ from .types import (
|
|
|
288
283
|
RemoteData,
|
|
289
284
|
RemoteEndpointInfo,
|
|
290
285
|
RemoteFieldApi,
|
|
286
|
+
RemoteFieldApiCoverage,
|
|
291
287
|
RemoteFieldApiResponse,
|
|
292
288
|
RemoteKey,
|
|
293
289
|
RemoteResponse,
|
|
@@ -392,7 +388,6 @@ from .resources import (
|
|
|
392
388
|
purchase_orders,
|
|
393
389
|
regenerate_key,
|
|
394
390
|
scopes,
|
|
395
|
-
selective_sync,
|
|
396
391
|
sync_status,
|
|
397
392
|
tax_rates,
|
|
398
393
|
tracking_categories,
|
|
@@ -459,9 +454,6 @@ __all__ = [
|
|
|
459
454
|
"CompanyInfoCurrency",
|
|
460
455
|
"CompanyInfoListRequestExpand",
|
|
461
456
|
"CompanyInfoRetrieveRequestExpand",
|
|
462
|
-
"ConditionSchema",
|
|
463
|
-
"ConditionSchemaConditionType",
|
|
464
|
-
"ConditionTypeEnum",
|
|
465
457
|
"Contact",
|
|
466
458
|
"ContactAddressesItem",
|
|
467
459
|
"ContactRequest",
|
|
@@ -622,10 +614,6 @@ __all__ = [
|
|
|
622
614
|
"JournalLineTrackingCategoriesItem",
|
|
623
615
|
"JournalLineTrackingCategory",
|
|
624
616
|
"LinkToken",
|
|
625
|
-
"LinkedAccountCondition",
|
|
626
|
-
"LinkedAccountConditionRequest",
|
|
627
|
-
"LinkedAccountSelectiveSyncConfiguration",
|
|
628
|
-
"LinkedAccountSelectiveSyncConfigurationRequest",
|
|
629
617
|
"LinkedAccountStatus",
|
|
630
618
|
"LinkedAccountsListRequestCategory",
|
|
631
619
|
"MetaResponse",
|
|
@@ -635,7 +623,6 @@ __all__ = [
|
|
|
635
623
|
"ModelPermissionDeserializerRequest",
|
|
636
624
|
"MultipartFormFieldRequest",
|
|
637
625
|
"MultipartFormFieldRequestEncoding",
|
|
638
|
-
"OperatorSchema",
|
|
639
626
|
"PaginatedAccountDetailsAndActionsList",
|
|
640
627
|
"PaginatedAccountList",
|
|
641
628
|
"PaginatedAccountingAttachmentList",
|
|
@@ -644,7 +631,6 @@ __all__ = [
|
|
|
644
631
|
"PaginatedBalanceSheetList",
|
|
645
632
|
"PaginatedCashFlowStatementList",
|
|
646
633
|
"PaginatedCompanyInfoList",
|
|
647
|
-
"PaginatedConditionSchemaList",
|
|
648
634
|
"PaginatedContactList",
|
|
649
635
|
"PaginatedCreditNoteList",
|
|
650
636
|
"PaginatedExpenseList",
|
|
@@ -668,6 +654,7 @@ __all__ = [
|
|
|
668
654
|
"PatchedPaymentRequestContact",
|
|
669
655
|
"PatchedPaymentRequestCurrency",
|
|
670
656
|
"PatchedPaymentRequestTrackingCategoriesItem",
|
|
657
|
+
"PatchedPaymentRequestType",
|
|
671
658
|
"Payment",
|
|
672
659
|
"PaymentAccount",
|
|
673
660
|
"PaymentAccountingPeriod",
|
|
@@ -685,8 +672,11 @@ __all__ = [
|
|
|
685
672
|
"PaymentRequestContact",
|
|
686
673
|
"PaymentRequestCurrency",
|
|
687
674
|
"PaymentRequestTrackingCategoriesItem",
|
|
675
|
+
"PaymentRequestType",
|
|
688
676
|
"PaymentResponse",
|
|
689
677
|
"PaymentTrackingCategoriesItem",
|
|
678
|
+
"PaymentType",
|
|
679
|
+
"PaymentTypeEnum",
|
|
690
680
|
"PaymentsListRequestExpand",
|
|
691
681
|
"PaymentsRetrieveRequestExpand",
|
|
692
682
|
"PostingStatusEnum",
|
|
@@ -718,6 +708,7 @@ __all__ = [
|
|
|
718
708
|
"RemoteData",
|
|
719
709
|
"RemoteEndpointInfo",
|
|
720
710
|
"RemoteFieldApi",
|
|
711
|
+
"RemoteFieldApiCoverage",
|
|
721
712
|
"RemoteFieldApiResponse",
|
|
722
713
|
"RemoteKey",
|
|
723
714
|
"RemoteResponse",
|
|
@@ -791,7 +782,6 @@ __all__ = [
|
|
|
791
782
|
"purchase_orders",
|
|
792
783
|
"regenerate_key",
|
|
793
784
|
"scopes",
|
|
794
|
-
"selective_sync",
|
|
795
785
|
"sync_status",
|
|
796
786
|
"tax_rates",
|
|
797
787
|
"tracking_categories",
|
|
@@ -39,7 +39,6 @@ from .resources.phone_numbers.client import AsyncPhoneNumbersClient, PhoneNumber
|
|
|
39
39
|
from .resources.purchase_orders.client import AsyncPurchaseOrdersClient, PurchaseOrdersClient
|
|
40
40
|
from .resources.regenerate_key.client import AsyncRegenerateKeyClient, RegenerateKeyClient
|
|
41
41
|
from .resources.scopes.client import AsyncScopesClient, ScopesClient
|
|
42
|
-
from .resources.selective_sync.client import AsyncSelectiveSyncClient, SelectiveSyncClient
|
|
43
42
|
from .resources.sync_status.client import AsyncSyncStatusClient, SyncStatusClient
|
|
44
43
|
from .resources.tax_rates.client import AsyncTaxRatesClient, TaxRatesClient
|
|
45
44
|
from .resources.tracking_categories.client import AsyncTrackingCategoriesClient, TrackingCategoriesClient
|
|
@@ -84,7 +83,6 @@ class AccountingClient:
|
|
|
84
83
|
self.phone_numbers = PhoneNumbersClient(client_wrapper=self._client_wrapper)
|
|
85
84
|
self.purchase_orders = PurchaseOrdersClient(client_wrapper=self._client_wrapper)
|
|
86
85
|
self.regenerate_key = RegenerateKeyClient(client_wrapper=self._client_wrapper)
|
|
87
|
-
self.selective_sync = SelectiveSyncClient(client_wrapper=self._client_wrapper)
|
|
88
86
|
self.sync_status = SyncStatusClient(client_wrapper=self._client_wrapper)
|
|
89
87
|
self.force_resync = ForceResyncClient(client_wrapper=self._client_wrapper)
|
|
90
88
|
self.tax_rates = TaxRatesClient(client_wrapper=self._client_wrapper)
|
|
@@ -130,7 +128,6 @@ class AsyncAccountingClient:
|
|
|
130
128
|
self.phone_numbers = AsyncPhoneNumbersClient(client_wrapper=self._client_wrapper)
|
|
131
129
|
self.purchase_orders = AsyncPurchaseOrdersClient(client_wrapper=self._client_wrapper)
|
|
132
130
|
self.regenerate_key = AsyncRegenerateKeyClient(client_wrapper=self._client_wrapper)
|
|
133
|
-
self.selective_sync = AsyncSelectiveSyncClient(client_wrapper=self._client_wrapper)
|
|
134
131
|
self.sync_status = AsyncSyncStatusClient(client_wrapper=self._client_wrapper)
|
|
135
132
|
self.force_resync = AsyncForceResyncClient(client_wrapper=self._client_wrapper)
|
|
136
133
|
self.tax_rates = AsyncTaxRatesClient(client_wrapper=self._client_wrapper)
|
|
@@ -33,7 +33,6 @@ from . import (
|
|
|
33
33
|
purchase_orders,
|
|
34
34
|
regenerate_key,
|
|
35
35
|
scopes,
|
|
36
|
-
selective_sync,
|
|
37
36
|
sync_status,
|
|
38
37
|
tax_rates,
|
|
39
38
|
tracking_categories,
|
|
@@ -134,7 +133,6 @@ __all__ = [
|
|
|
134
133
|
"purchase_orders",
|
|
135
134
|
"regenerate_key",
|
|
136
135
|
"scopes",
|
|
137
|
-
"selective_sync",
|
|
138
136
|
"sync_status",
|
|
139
137
|
"tax_rates",
|
|
140
138
|
"tracking_categories",
|
|
@@ -40,7 +40,7 @@ class AuditTrailClient:
|
|
|
40
40
|
|
|
41
41
|
- end_date: typing.Optional[str]. If included, will only include audit trail events that occurred before this time
|
|
42
42
|
|
|
43
|
-
- event_type: typing.Optional[str]. If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`
|
|
43
|
+
- event_type: typing.Optional[str]. If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`
|
|
44
44
|
|
|
45
45
|
- page_size: typing.Optional[int]. Number of results to return per page.
|
|
46
46
|
|
|
@@ -122,7 +122,7 @@ class AsyncAuditTrailClient:
|
|
|
122
122
|
|
|
123
123
|
- end_date: typing.Optional[str]. If included, will only include audit trail events that occurred before this time
|
|
124
124
|
|
|
125
|
-
- event_type: typing.Optional[str]. If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`
|
|
125
|
+
- event_type: typing.Optional[str]. If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`
|
|
126
126
|
|
|
127
127
|
- page_size: typing.Optional[int]. Number of results to return per page.
|
|
128
128
|
|
|
@@ -244,8 +244,6 @@ class FieldMappingClient:
|
|
|
244
244
|
)
|
|
245
245
|
client.accounting.field_mapping.field_mappings_partial_update(
|
|
246
246
|
field_mapping_id="field_mapping_id",
|
|
247
|
-
remote_method="GET",
|
|
248
|
-
remote_url_path="/example-url-path",
|
|
249
247
|
)
|
|
250
248
|
"""
|
|
251
249
|
_request: typing.Dict[str, typing.Any] = {}
|
|
@@ -615,8 +613,6 @@ class AsyncFieldMappingClient:
|
|
|
615
613
|
)
|
|
616
614
|
await client.accounting.field_mapping.field_mappings_partial_update(
|
|
617
615
|
field_mapping_id="field_mapping_id",
|
|
618
|
-
remote_method="GET",
|
|
619
|
-
remote_url_path="/example-url-path",
|
|
620
616
|
)
|
|
621
617
|
"""
|
|
622
618
|
_request: typing.Dict[str, typing.Any] = {}
|
|
@@ -42,6 +42,7 @@ class LinkTokenClient:
|
|
|
42
42
|
typing.Dict[str, typing.Optional[typing.List[IndividualCommonModelScopeDeserializerRequest]]]
|
|
43
43
|
] = OMIT,
|
|
44
44
|
language: typing.Optional[str] = OMIT,
|
|
45
|
+
integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT,
|
|
45
46
|
request_options: typing.Optional[RequestOptions] = None,
|
|
46
47
|
) -> LinkToken:
|
|
47
48
|
"""
|
|
@@ -68,6 +69,8 @@ class LinkTokenClient:
|
|
|
68
69
|
|
|
69
70
|
- language: typing.Optional[str]. The language code for the language to localize Merge Link to.
|
|
70
71
|
|
|
72
|
+
- integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]]. A JSON object containing integration-specific configuration options.
|
|
73
|
+
|
|
71
74
|
- request_options: typing.Optional[RequestOptions]. Request-specific configuration.
|
|
72
75
|
---
|
|
73
76
|
from merge.client import Merge
|
|
@@ -102,6 +105,8 @@ class LinkTokenClient:
|
|
|
102
105
|
_request["category_common_model_scopes"] = category_common_model_scopes
|
|
103
106
|
if language is not OMIT:
|
|
104
107
|
_request["language"] = language
|
|
108
|
+
if integration_specific_config is not OMIT:
|
|
109
|
+
_request["integration_specific_config"] = integration_specific_config
|
|
105
110
|
_response = self._client_wrapper.httpx_client.request(
|
|
106
111
|
"POST",
|
|
107
112
|
urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "accounting/v1/link-token"),
|
|
@@ -154,6 +159,7 @@ class AsyncLinkTokenClient:
|
|
|
154
159
|
typing.Dict[str, typing.Optional[typing.List[IndividualCommonModelScopeDeserializerRequest]]]
|
|
155
160
|
] = OMIT,
|
|
156
161
|
language: typing.Optional[str] = OMIT,
|
|
162
|
+
integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT,
|
|
157
163
|
request_options: typing.Optional[RequestOptions] = None,
|
|
158
164
|
) -> LinkToken:
|
|
159
165
|
"""
|
|
@@ -180,6 +186,8 @@ class AsyncLinkTokenClient:
|
|
|
180
186
|
|
|
181
187
|
- language: typing.Optional[str]. The language code for the language to localize Merge Link to.
|
|
182
188
|
|
|
189
|
+
- integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]]. A JSON object containing integration-specific configuration options.
|
|
190
|
+
|
|
183
191
|
- request_options: typing.Optional[RequestOptions]. Request-specific configuration.
|
|
184
192
|
---
|
|
185
193
|
from merge.client import AsyncMerge
|
|
@@ -214,6 +222,8 @@ class AsyncLinkTokenClient:
|
|
|
214
222
|
_request["category_common_model_scopes"] = category_common_model_scopes
|
|
215
223
|
if language is not OMIT:
|
|
216
224
|
_request["language"] = language
|
|
225
|
+
if integration_specific_config is not OMIT:
|
|
226
|
+
_request["integration_specific_config"] = integration_specific_config
|
|
217
227
|
_response = await self._client_wrapper.httpx_client.request(
|
|
218
228
|
"POST",
|
|
219
229
|
urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "accounting/v1/link-token"),
|
|
@@ -51,9 +51,6 @@ from .common_model_scope_api import CommonModelScopeApi
|
|
|
51
51
|
from .common_model_scopes_body_request import CommonModelScopesBodyRequest
|
|
52
52
|
from .company_info import CompanyInfo
|
|
53
53
|
from .company_info_currency import CompanyInfoCurrency
|
|
54
|
-
from .condition_schema import ConditionSchema
|
|
55
|
-
from .condition_schema_condition_type import ConditionSchemaConditionType
|
|
56
|
-
from .condition_type_enum import ConditionTypeEnum
|
|
57
54
|
from .contact import Contact
|
|
58
55
|
from .contact_addresses_item import ContactAddressesItem
|
|
59
56
|
from .contact_request import ContactRequest
|
|
@@ -198,10 +195,6 @@ from .journal_line_request_tracking_category import JournalLineRequestTrackingCa
|
|
|
198
195
|
from .journal_line_tracking_categories_item import JournalLineTrackingCategoriesItem
|
|
199
196
|
from .journal_line_tracking_category import JournalLineTrackingCategory
|
|
200
197
|
from .link_token import LinkToken
|
|
201
|
-
from .linked_account_condition import LinkedAccountCondition
|
|
202
|
-
from .linked_account_condition_request import LinkedAccountConditionRequest
|
|
203
|
-
from .linked_account_selective_sync_configuration import LinkedAccountSelectiveSyncConfiguration
|
|
204
|
-
from .linked_account_selective_sync_configuration_request import LinkedAccountSelectiveSyncConfigurationRequest
|
|
205
198
|
from .linked_account_status import LinkedAccountStatus
|
|
206
199
|
from .meta_response import MetaResponse
|
|
207
200
|
from .method_enum import MethodEnum
|
|
@@ -210,7 +203,6 @@ from .model_permission_deserializer import ModelPermissionDeserializer
|
|
|
210
203
|
from .model_permission_deserializer_request import ModelPermissionDeserializerRequest
|
|
211
204
|
from .multipart_form_field_request import MultipartFormFieldRequest
|
|
212
205
|
from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding
|
|
213
|
-
from .operator_schema import OperatorSchema
|
|
214
206
|
from .paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList
|
|
215
207
|
from .paginated_account_list import PaginatedAccountList
|
|
216
208
|
from .paginated_accounting_attachment_list import PaginatedAccountingAttachmentList
|
|
@@ -219,7 +211,6 @@ from .paginated_audit_log_event_list import PaginatedAuditLogEventList
|
|
|
219
211
|
from .paginated_balance_sheet_list import PaginatedBalanceSheetList
|
|
220
212
|
from .paginated_cash_flow_statement_list import PaginatedCashFlowStatementList
|
|
221
213
|
from .paginated_company_info_list import PaginatedCompanyInfoList
|
|
222
|
-
from .paginated_condition_schema_list import PaginatedConditionSchemaList
|
|
223
214
|
from .paginated_contact_list import PaginatedContactList
|
|
224
215
|
from .paginated_credit_note_list import PaginatedCreditNoteList
|
|
225
216
|
from .paginated_expense_list import PaginatedExpenseList
|
|
@@ -243,6 +234,7 @@ from .patched_payment_request_company import PatchedPaymentRequestCompany
|
|
|
243
234
|
from .patched_payment_request_contact import PatchedPaymentRequestContact
|
|
244
235
|
from .patched_payment_request_currency import PatchedPaymentRequestCurrency
|
|
245
236
|
from .patched_payment_request_tracking_categories_item import PatchedPaymentRequestTrackingCategoriesItem
|
|
237
|
+
from .patched_payment_request_type import PatchedPaymentRequestType
|
|
246
238
|
from .payment import Payment
|
|
247
239
|
from .payment_account import PaymentAccount
|
|
248
240
|
from .payment_accounting_period import PaymentAccountingPeriod
|
|
@@ -260,8 +252,11 @@ from .payment_request_company import PaymentRequestCompany
|
|
|
260
252
|
from .payment_request_contact import PaymentRequestContact
|
|
261
253
|
from .payment_request_currency import PaymentRequestCurrency
|
|
262
254
|
from .payment_request_tracking_categories_item import PaymentRequestTrackingCategoriesItem
|
|
255
|
+
from .payment_request_type import PaymentRequestType
|
|
263
256
|
from .payment_response import PaymentResponse
|
|
264
257
|
from .payment_tracking_categories_item import PaymentTrackingCategoriesItem
|
|
258
|
+
from .payment_type import PaymentType
|
|
259
|
+
from .payment_type_enum import PaymentTypeEnum
|
|
265
260
|
from .posting_status_enum import PostingStatusEnum
|
|
266
261
|
from .purchase_order import PurchaseOrder
|
|
267
262
|
from .purchase_order_accounting_period import PurchaseOrderAccountingPeriod
|
|
@@ -289,6 +284,7 @@ from .purchase_order_vendor import PurchaseOrderVendor
|
|
|
289
284
|
from .remote_data import RemoteData
|
|
290
285
|
from .remote_endpoint_info import RemoteEndpointInfo
|
|
291
286
|
from .remote_field_api import RemoteFieldApi
|
|
287
|
+
from .remote_field_api_coverage import RemoteFieldApiCoverage
|
|
292
288
|
from .remote_field_api_response import RemoteFieldApiResponse
|
|
293
289
|
from .remote_key import RemoteKey
|
|
294
290
|
from .remote_response import RemoteResponse
|
|
@@ -379,9 +375,6 @@ __all__ = [
|
|
|
379
375
|
"CommonModelScopesBodyRequest",
|
|
380
376
|
"CompanyInfo",
|
|
381
377
|
"CompanyInfoCurrency",
|
|
382
|
-
"ConditionSchema",
|
|
383
|
-
"ConditionSchemaConditionType",
|
|
384
|
-
"ConditionTypeEnum",
|
|
385
378
|
"Contact",
|
|
386
379
|
"ContactAddressesItem",
|
|
387
380
|
"ContactRequest",
|
|
@@ -524,10 +517,6 @@ __all__ = [
|
|
|
524
517
|
"JournalLineTrackingCategoriesItem",
|
|
525
518
|
"JournalLineTrackingCategory",
|
|
526
519
|
"LinkToken",
|
|
527
|
-
"LinkedAccountCondition",
|
|
528
|
-
"LinkedAccountConditionRequest",
|
|
529
|
-
"LinkedAccountSelectiveSyncConfiguration",
|
|
530
|
-
"LinkedAccountSelectiveSyncConfigurationRequest",
|
|
531
520
|
"LinkedAccountStatus",
|
|
532
521
|
"MetaResponse",
|
|
533
522
|
"MethodEnum",
|
|
@@ -536,7 +525,6 @@ __all__ = [
|
|
|
536
525
|
"ModelPermissionDeserializerRequest",
|
|
537
526
|
"MultipartFormFieldRequest",
|
|
538
527
|
"MultipartFormFieldRequestEncoding",
|
|
539
|
-
"OperatorSchema",
|
|
540
528
|
"PaginatedAccountDetailsAndActionsList",
|
|
541
529
|
"PaginatedAccountList",
|
|
542
530
|
"PaginatedAccountingAttachmentList",
|
|
@@ -545,7 +533,6 @@ __all__ = [
|
|
|
545
533
|
"PaginatedBalanceSheetList",
|
|
546
534
|
"PaginatedCashFlowStatementList",
|
|
547
535
|
"PaginatedCompanyInfoList",
|
|
548
|
-
"PaginatedConditionSchemaList",
|
|
549
536
|
"PaginatedContactList",
|
|
550
537
|
"PaginatedCreditNoteList",
|
|
551
538
|
"PaginatedExpenseList",
|
|
@@ -569,6 +556,7 @@ __all__ = [
|
|
|
569
556
|
"PatchedPaymentRequestContact",
|
|
570
557
|
"PatchedPaymentRequestCurrency",
|
|
571
558
|
"PatchedPaymentRequestTrackingCategoriesItem",
|
|
559
|
+
"PatchedPaymentRequestType",
|
|
572
560
|
"Payment",
|
|
573
561
|
"PaymentAccount",
|
|
574
562
|
"PaymentAccountingPeriod",
|
|
@@ -586,8 +574,11 @@ __all__ = [
|
|
|
586
574
|
"PaymentRequestContact",
|
|
587
575
|
"PaymentRequestCurrency",
|
|
588
576
|
"PaymentRequestTrackingCategoriesItem",
|
|
577
|
+
"PaymentRequestType",
|
|
589
578
|
"PaymentResponse",
|
|
590
579
|
"PaymentTrackingCategoriesItem",
|
|
580
|
+
"PaymentType",
|
|
581
|
+
"PaymentTypeEnum",
|
|
591
582
|
"PostingStatusEnum",
|
|
592
583
|
"PurchaseOrder",
|
|
593
584
|
"PurchaseOrderAccountingPeriod",
|
|
@@ -615,6 +606,7 @@ __all__ = [
|
|
|
615
606
|
"RemoteData",
|
|
616
607
|
"RemoteEndpointInfo",
|
|
617
608
|
"RemoteFieldApi",
|
|
609
|
+
"RemoteFieldApiCoverage",
|
|
618
610
|
"RemoteFieldApiResponse",
|
|
619
611
|
"RemoteKey",
|
|
620
612
|
"RemoteResponse",
|
|
@@ -38,9 +38,11 @@ class Account(pydantic.BaseModel):
|
|
|
38
38
|
|
|
39
39
|
id: typing.Optional[str]
|
|
40
40
|
remote_id: typing.Optional[str] = pydantic.Field(description="The third-party API ID of the matching object.")
|
|
41
|
-
created_at: typing.Optional[dt.datetime]
|
|
41
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
42
|
+
description="The datetime that this object was created by Merge."
|
|
43
|
+
)
|
|
42
44
|
modified_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
43
|
-
description="
|
|
45
|
+
description="The datetime that this object was modified by Merge."
|
|
44
46
|
)
|
|
45
47
|
name: typing.Optional[str] = pydantic.Field(description="The account's name.")
|
|
46
48
|
description: typing.Optional[str] = pydantic.Field(description="The account's description.")
|
|
@@ -27,9 +27,11 @@ class AccountingAttachment(pydantic.BaseModel):
|
|
|
27
27
|
|
|
28
28
|
id: typing.Optional[str]
|
|
29
29
|
remote_id: typing.Optional[str] = pydantic.Field(description="The third-party API ID of the matching object.")
|
|
30
|
-
created_at: typing.Optional[dt.datetime]
|
|
30
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
31
|
+
description="The datetime that this object was created by Merge."
|
|
32
|
+
)
|
|
31
33
|
modified_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
32
|
-
description="
|
|
34
|
+
description="The datetime that this object was modified by Merge."
|
|
33
35
|
)
|
|
34
36
|
file_name: typing.Optional[str] = pydantic.Field(description="The attachment's name.")
|
|
35
37
|
file_url: typing.Optional[str] = pydantic.Field(description="The attachment's url.")
|
|
@@ -26,9 +26,11 @@ class AccountingPeriod(pydantic.BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
id: typing.Optional[str]
|
|
29
|
-
created_at: typing.Optional[dt.datetime]
|
|
29
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
30
|
+
description="The datetime that this object was created by Merge."
|
|
31
|
+
)
|
|
30
32
|
modified_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
31
|
-
description="
|
|
33
|
+
description="The datetime that this object was modified by Merge."
|
|
32
34
|
)
|
|
33
35
|
start_date: typing.Optional[dt.datetime] = pydantic.Field(description="Beginning date of the period")
|
|
34
36
|
end_date: typing.Optional[dt.datetime] = pydantic.Field(description="End date of the period")
|
|
@@ -24,9 +24,11 @@ class AccountingPhoneNumber(pydantic.BaseModel):
|
|
|
24
24
|
Fetch from the `GET CompanyInfo` endpoint and view the company's phone numbers.
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
|
-
created_at: typing.Optional[dt.datetime]
|
|
27
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
28
|
+
description="The datetime that this object was created by Merge."
|
|
29
|
+
)
|
|
28
30
|
modified_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
29
|
-
description="
|
|
31
|
+
description="The datetime that this object was modified by Merge."
|
|
30
32
|
)
|
|
31
33
|
number: typing.Optional[str] = pydantic.Field(description="The phone number.")
|
|
32
34
|
type: typing.Optional[str] = pydantic.Field(description="The phone number's type.")
|
|
@@ -26,9 +26,11 @@ class Address(pydantic.BaseModel):
|
|
|
26
26
|
Fetch from the `GET CompanyInfo` endpoint and view the company's addresses.
|
|
27
27
|
"""
|
|
28
28
|
|
|
29
|
-
created_at: typing.Optional[dt.datetime]
|
|
29
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
30
|
+
description="The datetime that this object was created by Merge."
|
|
31
|
+
)
|
|
30
32
|
modified_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
31
|
-
description="
|
|
33
|
+
description="The datetime that this object was modified by Merge."
|
|
32
34
|
)
|
|
33
35
|
type: typing.Optional[AddressType] = pydantic.Field(
|
|
34
36
|
description=("The address type.\n" "\n" "- `BILLING` - BILLING\n" "- `SHIPPING` - SHIPPING\n")
|
|
@@ -72,6 +72,9 @@ class AuditLogEvent(pydantic.BaseModel):
|
|
|
72
72
|
"- `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC\n"
|
|
73
73
|
"- `MUTED_ISSUE` - MUTED_ISSUE\n"
|
|
74
74
|
"- `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK\n"
|
|
75
|
+
"- `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK\n"
|
|
76
|
+
"- `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK\n"
|
|
77
|
+
"- `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED\n"
|
|
75
78
|
)
|
|
76
79
|
)
|
|
77
80
|
event_description: str
|
|
@@ -30,9 +30,11 @@ class BalanceSheet(pydantic.BaseModel):
|
|
|
30
30
|
|
|
31
31
|
id: typing.Optional[str]
|
|
32
32
|
remote_id: typing.Optional[str] = pydantic.Field(description="The third-party API ID of the matching object.")
|
|
33
|
-
created_at: typing.Optional[dt.datetime]
|
|
33
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
34
|
+
description="The datetime that this object was created by Merge."
|
|
35
|
+
)
|
|
34
36
|
modified_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
35
|
-
description="
|
|
37
|
+
description="The datetime that this object was modified by Merge."
|
|
36
38
|
)
|
|
37
39
|
name: typing.Optional[str] = pydantic.Field(description="The balance sheet's name.")
|
|
38
40
|
currency: typing.Optional[BalanceSheetCurrency] = pydantic.Field(
|
|
@@ -30,9 +30,11 @@ class CashFlowStatement(pydantic.BaseModel):
|
|
|
30
30
|
|
|
31
31
|
id: typing.Optional[str]
|
|
32
32
|
remote_id: typing.Optional[str] = pydantic.Field(description="The third-party API ID of the matching object.")
|
|
33
|
-
created_at: typing.Optional[dt.datetime]
|
|
33
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
34
|
+
description="The datetime that this object was created by Merge."
|
|
35
|
+
)
|
|
34
36
|
modified_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
35
|
-
description="
|
|
37
|
+
description="The datetime that this object was modified by Merge."
|
|
36
38
|
)
|
|
37
39
|
name: typing.Optional[str] = pydantic.Field(description="The cash flow statement's name.")
|
|
38
40
|
currency: typing.Optional[CashFlowStatementCurrency] = pydantic.Field(
|
|
@@ -30,9 +30,11 @@ class CompanyInfo(pydantic.BaseModel):
|
|
|
30
30
|
|
|
31
31
|
id: typing.Optional[str]
|
|
32
32
|
remote_id: typing.Optional[str] = pydantic.Field(description="The third-party API ID of the matching object.")
|
|
33
|
-
created_at: typing.Optional[dt.datetime]
|
|
33
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
34
|
+
description="The datetime that this object was created by Merge."
|
|
35
|
+
)
|
|
34
36
|
modified_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
35
|
-
description="
|
|
37
|
+
description="The datetime that this object was modified by Merge."
|
|
36
38
|
)
|
|
37
39
|
name: typing.Optional[str] = pydantic.Field(description="The company's name.")
|
|
38
40
|
legal_name: typing.Optional[str] = pydantic.Field(description="The company's legal name.")
|
|
@@ -33,9 +33,11 @@ class Contact(pydantic.BaseModel):
|
|
|
33
33
|
|
|
34
34
|
id: typing.Optional[str]
|
|
35
35
|
remote_id: typing.Optional[str] = pydantic.Field(description="The third-party API ID of the matching object.")
|
|
36
|
-
created_at: typing.Optional[dt.datetime]
|
|
36
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
37
|
+
description="The datetime that this object was created by Merge."
|
|
38
|
+
)
|
|
37
39
|
modified_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
38
|
-
description="
|
|
40
|
+
description="The datetime that this object was modified by Merge."
|
|
39
41
|
)
|
|
40
42
|
name: typing.Optional[str] = pydantic.Field(description="The contact's name.")
|
|
41
43
|
is_supplier: typing.Optional[bool] = pydantic.Field(description="Whether the contact is a supplier.")
|
|
@@ -36,9 +36,11 @@ class CreditNote(pydantic.BaseModel):
|
|
|
36
36
|
|
|
37
37
|
id: typing.Optional[str]
|
|
38
38
|
remote_id: typing.Optional[str] = pydantic.Field(description="The third-party API ID of the matching object.")
|
|
39
|
-
created_at: typing.Optional[dt.datetime]
|
|
39
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
40
|
+
description="The datetime that this object was created by Merge."
|
|
41
|
+
)
|
|
40
42
|
modified_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
41
|
-
description="
|
|
43
|
+
description="The datetime that this object was modified by Merge."
|
|
42
44
|
)
|
|
43
45
|
transaction_date: typing.Optional[dt.datetime] = pydantic.Field(description="The credit note's transaction date.")
|
|
44
46
|
status: typing.Optional[CreditNoteStatus] = pydantic.Field(
|
|
@@ -16,9 +16,11 @@ except ImportError:
|
|
|
16
16
|
class CreditNoteLineItem(pydantic.BaseModel):
|
|
17
17
|
id: typing.Optional[str]
|
|
18
18
|
remote_id: typing.Optional[str] = pydantic.Field(description="The third-party API ID of the matching object.")
|
|
19
|
-
created_at: typing.Optional[dt.datetime]
|
|
19
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
20
|
+
description="The datetime that this object was created by Merge."
|
|
21
|
+
)
|
|
20
22
|
modified_at: typing.Optional[dt.datetime] = pydantic.Field(
|
|
21
|
-
description="
|
|
23
|
+
description="The datetime that this object was modified by Merge."
|
|
22
24
|
)
|
|
23
25
|
item: typing.Optional[CreditNoteLineItemItem]
|
|
24
26
|
name: typing.Optional[str] = pydantic.Field(description="The credit note line item's name.")
|
|
@@ -26,7 +28,6 @@ class CreditNoteLineItem(pydantic.BaseModel):
|
|
|
26
28
|
quantity: typing.Optional[str] = pydantic.Field(description="The credit note line item's quantity.")
|
|
27
29
|
memo: typing.Optional[str] = pydantic.Field(description="The credit note line item's memo.")
|
|
28
30
|
unit_price: typing.Optional[str] = pydantic.Field(description="The credit note line item's unit price.")
|
|
29
|
-
tax_rate: typing.Optional[str] = pydantic.Field(description="The credit note line item's tax rate.")
|
|
30
31
|
total_line_amount: typing.Optional[str] = pydantic.Field(description="The credit note line item's total.")
|
|
31
32
|
tracking_category: typing.Optional[str] = pydantic.Field(
|
|
32
33
|
description="The credit note line item's associated tracking category."
|
|
@@ -628,7 +628,7 @@ class CurrencyEnum(str, enum.Enum):
|
|
|
628
628
|
xua: typing.Callable[[], T_Result],
|
|
629
629
|
afn: typing.Callable[[], T_Result],
|
|
630
630
|
afa: typing.Callable[[], T_Result],
|
|
631
|
-
|
|
631
|
+
all_: typing.Callable[[], T_Result],
|
|
632
632
|
alk: typing.Callable[[], T_Result],
|
|
633
633
|
dzd: typing.Callable[[], T_Result],
|
|
634
634
|
adp: typing.Callable[[], T_Result],
|
|
@@ -939,7 +939,7 @@ class CurrencyEnum(str, enum.Enum):
|
|
|
939
939
|
if self is CurrencyEnum.AFA:
|
|
940
940
|
return afa()
|
|
941
941
|
if self is CurrencyEnum.ALL:
|
|
942
|
-
return
|
|
942
|
+
return all_()
|
|
943
943
|
if self is CurrencyEnum.ALK:
|
|
944
944
|
return alk()
|
|
945
945
|
if self is CurrencyEnum.DZD:
|