qube_sync 0.3.0 → 0.4.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +48 -0
- data/README.md +235 -75
- data/Rakefile +12 -0
- data/lib/qube_sync/client.rb +579 -0
- data/lib/qube_sync/operations/account.rb +337 -0
- data/lib/qube_sync/operations/account_tax_line_info.rb +30 -0
- data/lib/qube_sync/operations/aging_report.rb +160 -0
- data/lib/qube_sync/operations/alert.rb +91 -0
- data/lib/qube_sync/operations/ar_refund_credit_card.rb +399 -0
- data/lib/qube_sync/operations/bar_code.rb +37 -0
- data/lib/qube_sync/operations/bill.rb +1073 -0
- data/lib/qube_sync/operations/bill_payment_check.rb +413 -0
- data/lib/qube_sync/operations/bill_payment_credit_card.rb +315 -0
- data/lib/qube_sync/operations/bill_to_pay.rb +66 -0
- data/lib/qube_sync/operations/billing_rate.rb +172 -0
- data/lib/qube_sync/operations/budget_summary_report.rb +80 -0
- data/lib/qube_sync/operations/build_assembly.rb +318 -0
- data/lib/qube_sync/operations/charge.rb +452 -0
- data/lib/qube_sync/operations/check.rb +1055 -0
- data/lib/qube_sync/operations/class.rb +176 -0
- data/lib/qube_sync/operations/cleared_status.rb +39 -0
- data/lib/qube_sync/operations/company.rb +39 -0
- data/lib/qube_sync/operations/company_activity.rb +31 -0
- data/lib/qube_sync/operations/credit_card_charge.rb +1000 -0
- data/lib/qube_sync/operations/credit_card_credit.rb +1000 -0
- data/lib/qube_sync/operations/credit_memo.rb +1243 -0
- data/lib/qube_sync/operations/currency.rb +195 -0
- data/lib/qube_sync/operations/custom_detail_report.rb +176 -0
- data/lib/qube_sync/operations/custom_summary_report.rb +180 -0
- data/lib/qube_sync/operations/customer.rb +744 -0
- data/lib/qube_sync/operations/customer_msg.rb +117 -0
- data/lib/qube_sync/operations/customer_type.rb +133 -0
- data/lib/qube_sync/operations/data_event_recovery_info.rb +54 -0
- data/lib/qube_sync/operations/data_ext.rb +201 -0
- data/lib/qube_sync/operations/data_ext_def.rb +179 -0
- data/lib/qube_sync/operations/date_driven_terms.rb +131 -0
- data/lib/qube_sync/operations/deposit.rb +555 -0
- data/lib/qube_sync/operations/employee.rb +577 -0
- data/lib/qube_sync/operations/employee_default.rb +100 -0
- data/lib/qube_sync/operations/entity.rb +118 -0
- data/lib/qube_sync/operations/estimate.rb +1055 -0
- data/lib/qube_sync/operations/form1099_category_account_mapping.rb +90 -0
- data/lib/qube_sync/operations/general_detail_report.rb +185 -0
- data/lib/qube_sync/operations/general_summary_report.rb +180 -0
- data/lib/qube_sync/operations/host.rb +36 -0
- data/lib/qube_sync/operations/inventory_adjustment.rb +482 -0
- data/lib/qube_sync/operations/inventory_site.rb +214 -0
- data/lib/qube_sync/operations/invoice.rb +1208 -0
- data/lib/qube_sync/operations/item.rb +115 -0
- data/lib/qube_sync/operations/item_assemblies_can_build.rb +44 -0
- data/lib/qube_sync/operations/item_discount.rb +319 -0
- data/lib/qube_sync/operations/item_fixed_asset.rb +317 -0
- data/lib/qube_sync/operations/item_group.rb +253 -0
- data/lib/qube_sync/operations/item_inventory.rb +446 -0
- data/lib/qube_sync/operations/item_inventory_assembly.rb +483 -0
- data/lib/qube_sync/operations/item_non_inventory.rb +461 -0
- data/lib/qube_sync/operations/item_other_charge.rb +434 -0
- data/lib/qube_sync/operations/item_payment.rb +268 -0
- data/lib/qube_sync/operations/item_receipt.rb +1011 -0
- data/lib/qube_sync/operations/item_sales_tax.rb +270 -0
- data/lib/qube_sync/operations/item_sales_tax_group.rb +200 -0
- data/lib/qube_sync/operations/item_service.rb +455 -0
- data/lib/qube_sync/operations/item_sites.rb +96 -0
- data/lib/qube_sync/operations/item_subtotal.rb +182 -0
- data/lib/qube_sync/operations/job_report.rb +156 -0
- data/lib/qube_sync/operations/job_type.rb +131 -0
- data/lib/qube_sync/operations/journal_entry.rb +518 -0
- data/lib/qube_sync/operations/lead.rb +216 -0
- data/lib/qube_sync/operations/list.rb +42 -0
- data/lib/qube_sync/operations/list_deleted.rb +57 -0
- data/lib/qube_sync/operations/list_display.rb +59 -0
- data/lib/qube_sync/operations/list_merge.rb +55 -0
- data/lib/qube_sync/operations/other_name.rb +245 -0
- data/lib/qube_sync/operations/paycheck.rb +139 -0
- data/lib/qube_sync/operations/payment_method.rb +128 -0
- data/lib/qube_sync/operations/payroll_detail_report.rb +161 -0
- data/lib/qube_sync/operations/payroll_item.rb +75 -0
- data/lib/qube_sync/operations/payroll_item_addition.rb +98 -0
- data/lib/qube_sync/operations/payroll_item_company_contribution.rb +134 -0
- data/lib/qube_sync/operations/payroll_item_deduction.rb +124 -0
- data/lib/qube_sync/operations/payroll_item_direct_deposit.rb +70 -0
- data/lib/qube_sync/operations/payroll_item_non_wage.rb +93 -0
- data/lib/qube_sync/operations/payroll_item_tax.rb +123 -0
- data/lib/qube_sync/operations/payroll_item_wage.rb +168 -0
- data/lib/qube_sync/operations/payroll_item_workers_compensation.rb +108 -0
- data/lib/qube_sync/operations/payroll_last_period.rb +30 -0
- data/lib/qube_sync/operations/payroll_liability_adjustment.rb +204 -0
- data/lib/qube_sync/operations/payroll_liability_check.rb +137 -0
- data/lib/qube_sync/operations/payroll_prior_payment.rb +178 -0
- data/lib/qube_sync/operations/payroll_summary_report.rb +157 -0
- data/lib/qube_sync/operations/payroll_year_to_date_adjustment.rb +211 -0
- data/lib/qube_sync/operations/preferences.rb +61 -0
- data/lib/qube_sync/operations/price_level.rb +305 -0
- data/lib/qube_sync/operations/purchase_order.rb +1038 -0
- data/lib/qube_sync/operations/qb_command_exec.rb +37 -0
- data/lib/qube_sync/operations/receive_payment.rb +627 -0
- data/lib/qube_sync/operations/receive_payment_to_deposit.rb +38 -0
- data/lib/qube_sync/operations/sales_order.rb +1045 -0
- data/lib/qube_sync/operations/sales_receipt.rb +1337 -0
- data/lib/qube_sync/operations/sales_rep.rb +172 -0
- data/lib/qube_sync/operations/sales_tax_code.rb +205 -0
- data/lib/qube_sync/operations/sales_tax_payable.rb +37 -0
- data/lib/qube_sync/operations/sales_tax_payment_check.rb +375 -0
- data/lib/qube_sync/operations/sales_tax_return.rb +35 -0
- data/lib/qube_sync/operations/sales_tax_return_line.rb +43 -0
- data/lib/qube_sync/operations/ship_method.rb +116 -0
- data/lib/qube_sync/operations/special_account.rb +55 -0
- data/lib/qube_sync/operations/special_item.rb +44 -0
- data/lib/qube_sync/operations/standard_terms.rb +125 -0
- data/lib/qube_sync/operations/template.rb +36 -0
- data/lib/qube_sync/operations/terms.rb +91 -0
- data/lib/qube_sync/operations/time_report.rb +127 -0
- data/lib/qube_sync/operations/time_tracking.rb +303 -0
- data/lib/qube_sync/operations/to_do.rb +260 -0
- data/lib/qube_sync/operations/transaction.rb +356 -0
- data/lib/qube_sync/operations/transfer.rb +213 -0
- data/lib/qube_sync/operations/transfer_inventory.rb +384 -0
- data/lib/qube_sync/operations/txn.rb +38 -0
- data/lib/qube_sync/operations/txn_deleted.rb +54 -0
- data/lib/qube_sync/operations/txn_display.rb +76 -0
- data/lib/qube_sync/operations/txn_void.rb +36 -0
- data/lib/qube_sync/operations/unit_of_measure_set.rb +149 -0
- data/lib/qube_sync/operations/vehicle.rb +152 -0
- data/lib/qube_sync/operations/vehicle_mileage.rb +191 -0
- data/lib/qube_sync/operations/vendor.rb +661 -0
- data/lib/qube_sync/operations/vendor_credit.rb +1008 -0
- data/lib/qube_sync/operations/vendor_type.rb +131 -0
- data/lib/qube_sync/operations/workers_comp_code.rb +184 -0
- data/lib/qube_sync/operations.rb +1165 -0
- data/lib/qube_sync/version.rb +1 -1
- data/lib/qube_sync.rb +1 -0
- data/sig/qube_sync/client.rbs +82 -0
- data/sig/qube_sync/operations/account.rbs +65 -0
- data/sig/qube_sync/operations/account_tax_line_info.rbs +13 -0
- data/sig/qube_sync/operations/aging_report.rbs +29 -0
- data/sig/qube_sync/operations/alert.rbs +53 -0
- data/sig/qube_sync/operations/ar_refund_credit_card.rbs +53 -0
- data/sig/qube_sync/operations/bar_code.rbs +16 -0
- data/sig/qube_sync/operations/bill.rbs +78 -0
- data/sig/qube_sync/operations/bill_payment_check.rbs +62 -0
- data/sig/qube_sync/operations/bill_payment_credit_card.rbs +45 -0
- data/sig/qube_sync/operations/bill_to_pay.rbs +19 -0
- data/sig/qube_sync/operations/billing_rate.rbs +40 -0
- data/sig/qube_sync/operations/budget_summary_report.rbs +22 -0
- data/sig/qube_sync/operations/build_assembly.rbs +64 -0
- data/sig/qube_sync/operations/charge.rbs +80 -0
- data/sig/qube_sync/operations/check.rbs +81 -0
- data/sig/qube_sync/operations/class.rbs +43 -0
- data/sig/qube_sync/operations/cleared_status.rbs +16 -0
- data/sig/qube_sync/operations/company.rbs +15 -0
- data/sig/qube_sync/operations/company_activity.rbs +14 -0
- data/sig/qube_sync/operations/credit_card_charge.rbs +69 -0
- data/sig/qube_sync/operations/credit_card_credit.rbs +69 -0
- data/sig/qube_sync/operations/credit_memo.rbs +162 -0
- data/sig/qube_sync/operations/currency.rbs +52 -0
- data/sig/qube_sync/operations/custom_detail_report.rbs +31 -0
- data/sig/qube_sync/operations/custom_summary_report.rbs +33 -0
- data/sig/qube_sync/operations/customer.rbs +174 -0
- data/sig/qube_sync/operations/customer_msg.rbs +31 -0
- data/sig/qube_sync/operations/customer_type.rbs +32 -0
- data/sig/qube_sync/operations/data_event_recovery_info.rbs +20 -0
- data/sig/qube_sync/operations/data_ext.rbs +53 -0
- data/sig/qube_sync/operations/data_ext_def.rbs +51 -0
- data/sig/qube_sync/operations/date_driven_terms.rbs +35 -0
- data/sig/qube_sync/operations/deposit.rbs +100 -0
- data/sig/qube_sync/operations/employee.rbs +173 -0
- data/sig/qube_sync/operations/employee_default.rbs +68 -0
- data/sig/qube_sync/operations/entity.rbs +24 -0
- data/sig/qube_sync/operations/estimate.rbs +148 -0
- data/sig/qube_sync/operations/form1099_category_account_mapping.rbs +33 -0
- data/sig/qube_sync/operations/general_detail_report.rbs +31 -0
- data/sig/qube_sync/operations/general_summary_report.rbs +32 -0
- data/sig/qube_sync/operations/host.rbs +19 -0
- data/sig/qube_sync/operations/inventory_adjustment.rbs +105 -0
- data/sig/qube_sync/operations/inventory_site.rbs +66 -0
- data/sig/qube_sync/operations/invoice.rbs +144 -0
- data/sig/qube_sync/operations/item.rbs +25 -0
- data/sig/qube_sync/operations/item_assemblies_can_build.rbs +15 -0
- data/sig/qube_sync/operations/item_discount.rbs +62 -0
- data/sig/qube_sync/operations/item_fixed_asset.rbs +97 -0
- data/sig/qube_sync/operations/item_group.rbs +62 -0
- data/sig/qube_sync/operations/item_inventory.rbs +87 -0
- data/sig/qube_sync/operations/item_inventory_assembly.rbs +94 -0
- data/sig/qube_sync/operations/item_non_inventory.rbs +64 -0
- data/sig/qube_sync/operations/item_other_charge.rbs +59 -0
- data/sig/qube_sync/operations/item_payment.rbs +55 -0
- data/sig/qube_sync/operations/item_receipt.rbs +71 -0
- data/sig/qube_sync/operations/item_sales_tax.rbs +57 -0
- data/sig/qube_sync/operations/item_sales_tax_group.rbs +50 -0
- data/sig/qube_sync/operations/item_service.rbs +62 -0
- data/sig/qube_sync/operations/item_sites.rbs +26 -0
- data/sig/qube_sync/operations/item_subtotal.rbs +48 -0
- data/sig/qube_sync/operations/job_report.rbs +28 -0
- data/sig/qube_sync/operations/job_type.rbs +32 -0
- data/sig/qube_sync/operations/journal_entry.rbs +88 -0
- data/sig/qube_sync/operations/lead.rbs +91 -0
- data/sig/qube_sync/operations/list.rbs +15 -0
- data/sig/qube_sync/operations/list_deleted.rbs +17 -0
- data/sig/qube_sync/operations/list_display.rbs +21 -0
- data/sig/qube_sync/operations/list_merge.rbs +22 -0
- data/sig/qube_sync/operations/other_name.rbs +71 -0
- data/sig/qube_sync/operations/paycheck.rbs +27 -0
- data/sig/qube_sync/operations/payment_method.rbs +33 -0
- data/sig/qube_sync/operations/payroll_detail_report.rbs +29 -0
- data/sig/qube_sync/operations/payroll_item.rbs +23 -0
- data/sig/qube_sync/operations/payroll_item_addition.rbs +48 -0
- data/sig/qube_sync/operations/payroll_item_company_contribution.rbs +58 -0
- data/sig/qube_sync/operations/payroll_item_deduction.rbs +54 -0
- data/sig/qube_sync/operations/payroll_item_direct_deposit.rbs +30 -0
- data/sig/qube_sync/operations/payroll_item_non_wage.rbs +23 -0
- data/sig/qube_sync/operations/payroll_item_tax.rbs +58 -0
- data/sig/qube_sync/operations/payroll_item_wage.rbs +48 -0
- data/sig/qube_sync/operations/payroll_item_workers_compensation.rbs +42 -0
- data/sig/qube_sync/operations/payroll_last_period.rbs +13 -0
- data/sig/qube_sync/operations/payroll_liability_adjustment.rbs +59 -0
- data/sig/qube_sync/operations/payroll_liability_check.rbs +27 -0
- data/sig/qube_sync/operations/payroll_prior_payment.rbs +48 -0
- data/sig/qube_sync/operations/payroll_summary_report.rbs +30 -0
- data/sig/qube_sync/operations/payroll_year_to_date_adjustment.rbs +66 -0
- data/sig/qube_sync/operations/preferences.rbs +26 -0
- data/sig/qube_sync/operations/price_level.rbs +57 -0
- data/sig/qube_sync/operations/purchase_order.rbs +159 -0
- data/sig/qube_sync/operations/qb_command_exec.rbs +22 -0
- data/sig/qube_sync/operations/receive_payment.rbs +102 -0
- data/sig/qube_sync/operations/receive_payment_to_deposit.rbs +15 -0
- data/sig/qube_sync/operations/sales_order.rbs +153 -0
- data/sig/qube_sync/operations/sales_receipt.rbs +139 -0
- data/sig/qube_sync/operations/sales_rep.rbs +43 -0
- data/sig/qube_sync/operations/sales_tax_code.rbs +49 -0
- data/sig/qube_sync/operations/sales_tax_payable.rbs +16 -0
- data/sig/qube_sync/operations/sales_tax_payment_check.rbs +64 -0
- data/sig/qube_sync/operations/sales_tax_return.rbs +14 -0
- data/sig/qube_sync/operations/sales_tax_return_line.rbs +15 -0
- data/sig/qube_sync/operations/ship_method.rbs +31 -0
- data/sig/qube_sync/operations/special_account.rbs +16 -0
- data/sig/qube_sync/operations/special_item.rbs +17 -0
- data/sig/qube_sync/operations/standard_terms.rbs +34 -0
- data/sig/qube_sync/operations/template.rbs +15 -0
- data/sig/qube_sync/operations/terms.rbs +23 -0
- data/sig/qube_sync/operations/time_report.rbs +26 -0
- data/sig/qube_sync/operations/time_tracking.rbs +57 -0
- data/sig/qube_sync/operations/to_do.rbs +59 -0
- data/sig/qube_sync/operations/transaction.rbs +39 -0
- data/sig/qube_sync/operations/transfer.rbs +47 -0
- data/sig/qube_sync/operations/transfer_inventory.rbs +76 -0
- data/sig/qube_sync/operations/txn.rbs +15 -0
- data/sig/qube_sync/operations/txn_deleted.rbs +17 -0
- data/sig/qube_sync/operations/txn_display.rbs +22 -0
- data/sig/qube_sync/operations/txn_void.rbs +15 -0
- data/sig/qube_sync/operations/types.rbs +434 -0
- data/sig/qube_sync/operations/unit_of_measure_set.rbs +51 -0
- data/sig/qube_sync/operations/vehicle.rbs +43 -0
- data/sig/qube_sync/operations/vehicle_mileage.rbs +38 -0
- data/sig/qube_sync/operations/vendor.rbs +142 -0
- data/sig/qube_sync/operations/vendor_credit.rbs +70 -0
- data/sig/qube_sync/operations/vendor_type.rbs +32 -0
- data/sig/qube_sync/operations/workers_comp_code.rbs +52 -0
- data/sig/qube_sync/operations.rbs +147 -0
- metadata +255 -2
data/lib/qube_sync/version.rb
CHANGED
data/lib/qube_sync.rb
CHANGED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
module QubeSync
|
|
2
|
+
class Error < StandardError
|
|
3
|
+
end
|
|
4
|
+
|
|
5
|
+
class APIError < Error
|
|
6
|
+
MAX_RAW: Integer
|
|
7
|
+
|
|
8
|
+
attr_reader status: Integer
|
|
9
|
+
attr_reader errors: untyped
|
|
10
|
+
attr_reader code: String?
|
|
11
|
+
attr_reader body: String
|
|
12
|
+
attr_reader request_id: String?
|
|
13
|
+
|
|
14
|
+
def initialize: (status: Integer, ?body: String?, ?request_id: String?) -> void
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
class Client
|
|
18
|
+
type data = Hash[String, untyped]
|
|
19
|
+
type retry_info = {
|
|
20
|
+
attempt: Integer,
|
|
21
|
+
max_retries: Integer,
|
|
22
|
+
delay: Float,
|
|
23
|
+
elapsed: Float,
|
|
24
|
+
method: String,
|
|
25
|
+
url: String,
|
|
26
|
+
status: Integer?,
|
|
27
|
+
error: Exception?
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
DEFAULT_BASE_URL: String
|
|
31
|
+
|
|
32
|
+
attr_reader base_url: String
|
|
33
|
+
attr_reader open_timeout: Numeric
|
|
34
|
+
attr_reader read_timeout: Numeric
|
|
35
|
+
attr_reader max_retries: Integer
|
|
36
|
+
attr_reader total_timeout: Numeric
|
|
37
|
+
|
|
38
|
+
def initialize: (
|
|
39
|
+
api_key: String,
|
|
40
|
+
?base_url: String,
|
|
41
|
+
?open_timeout: Numeric,
|
|
42
|
+
?read_timeout: Numeric,
|
|
43
|
+
?max_retries: Integer,
|
|
44
|
+
?total_timeout: Numeric,
|
|
45
|
+
?on_retry: (^(retry_info) -> void)?,
|
|
46
|
+
?sleep: (^(Numeric) -> void)?,
|
|
47
|
+
?clock: (^() -> Numeric)?
|
|
48
|
+
) -> void
|
|
49
|
+
|
|
50
|
+
def inspect: () -> String
|
|
51
|
+
def to_s: () -> String
|
|
52
|
+
|
|
53
|
+
def create_connection: (webhook_url: String, ?name: String?) -> data
|
|
54
|
+
def get_connection: (String id) -> data
|
|
55
|
+
def list_connections: () -> Array[data]
|
|
56
|
+
def update_connection: (String id, ?webhook_url: String?, ?name: String?) -> data
|
|
57
|
+
def delete_connection: (String id) -> nil
|
|
58
|
+
def regenerate_onboarding: (String id) -> data
|
|
59
|
+
def set_password: (String id, ?password: String?) -> data
|
|
60
|
+
def get_qwc: (String id) -> String?
|
|
61
|
+
|
|
62
|
+
def start_run: (String connection_id, String workflow, Hash[untyped, untyped]? input, reference: String, webhook_url: String, ?version: Integer?) -> data
|
|
63
|
+
def get_run: (String run_url_or_connection_id, ?String? run_id) -> data
|
|
64
|
+
def list_runs: (String connection_id, ?reference: String?, ?state: String?, ?outcome: String?) -> Array[data]
|
|
65
|
+
def cancel_run: (String cancel_url, ?reason: String?) -> data
|
|
66
|
+
def run_events: (String connection_id, String run_id, ?after: Integer?, ?limit: Integer?) -> data
|
|
67
|
+
|
|
68
|
+
def answer: (String decisions_url, choice: String, ?data: Hash[untyped, untyped]?) -> data
|
|
69
|
+
def search: (String search_url, field: String, q: String) -> Array[data]
|
|
70
|
+
|
|
71
|
+
def queue: (String operation_id, String connection_id, ?Hash[Symbol | String, untyped]? params, webhook_url: String, ?idempotency_key: String?, ?method: (Symbol | String)?, ?path: String?) -> data
|
|
72
|
+
def queue_qbxml: (String connection_id, String request_xml, webhook_url: String, ?idempotency_key: String?) -> data
|
|
73
|
+
def get_request: (String connection_id, String id) -> data
|
|
74
|
+
def request_pages: (String connection_id, String id) -> Array[data]
|
|
75
|
+
def list_requests: (String connection_id, ?page: Integer?, ?page_size: Integer?, ?state: String?, ?webhook_state: String?, ?sort: String?, ?sort_direction: String?, ?search_phrase: String?) -> data
|
|
76
|
+
def each_request: (String connection_id, **untyped filters) { (data) -> void } -> nil
|
|
77
|
+
| (String connection_id, **untyped filters) -> Enumerator[data, nil]
|
|
78
|
+
def discard_request: (String connection_id, String id) -> data
|
|
79
|
+
|
|
80
|
+
def request: (Symbol | String method, String path_or_url, ?untyped body, ?query: Hash[Symbol | String, untyped], ?headers: Hash[String, String]) -> untyped
|
|
81
|
+
end
|
|
82
|
+
end
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Account < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?account_number: String,
|
|
8
|
+
account_type: "AccountsPayable" | "AccountsReceivable" | "Bank" | "CostOfGoodsSold" | "CreditCard" | "Equity" | "Expense" | "FixedAsset" | "Income" | "LongTermLiability" | "NonPosting" | "OtherAsset" | "OtherCurrentAsset" | "OtherCurrentLiability" | "OtherExpense" | "OtherIncome",
|
|
9
|
+
?bank_number: String,
|
|
10
|
+
?currency_ref: Types::ref,
|
|
11
|
+
?desc: String,
|
|
12
|
+
?detail_account_type: "AP" | "AR" | "AccumulatedAdjustment" | "AccumulatedAmortization" | "AccumulatedAmortizationOfOtherAssets" | "AccumulatedDepletion" | "AccumulatedDepreciation" | "AdvertisingOrPromotional" | "AllowanceForBadDebts" | "Amortization" | "Auto" | "BadDebts" | "BankCharges" | "Buildings" | "CashOnHand" | "CharitableContributions" | "Checking" | "CommonStock" | "CostOfLabor" | "CostOfLaborCOS" | "CreditCard" | "DepletableAssets" | "Depreciation" | "DevelopmentCosts" | "DiscountsOrRefundsGiven" | "DividendIncome" | "DuesAndSubscriptions" | "EmployeeCashAdvances" | "Entertainment" | "EntertainmentMeals" | "EquipmentRental" | "EquipmentRentalCOS" | "FederalIncomeTaxPayable" | "FurnitureAndFixtures" | "Goodwill" | "Insurance" | "InsurancePayable" | "IntangibleAssets" | "InterestEarned" | "InterestPaid" | "Inventory" | "InvestmentMortgageOrRealEstateLoans" | "InvestmentOther" | "InvestmentTaxExemptSecurities" | "InvestmentUSGovObligations" | "Land" | "LeaseBuyout" | "LeaseholdImprovements" | "LegalAndProfessionalFees" | "Licenses" | "LineOfCredit" | "LoanPayable" | "LoansToOfficers" | "LoansToOthers" | "LoansToStockholders" | "MachineryAndEquipment" | "MoneyMarket" | "NonProfitIncome" | "NotesPayable" | "OfficeOrGeneralAdministrativeExpenses" | "OpeningBalanceEquity" | "OrganizationalCosts" | "OtherCostsOfServiceCOS" | "OtherCurrentAssets" | "OtherCurrentLiab" | "OtherFixedAssets" | "OtherInvestmentIncome" | "OtherLongTermAssets" | "OtherLongTermLiab" | "OtherMiscExpense" | "OtherMiscIncome" | "OtherMiscServiceCost" | "OtherPrimaryIncome" | "OwnersEquity" | "PaidInCapitalOrSurplus" | "PartnerContributions" | "PartnerDistributions" | "PartnersEquity" | "PayrollClearing" | "PayrollExpenses" | "PayrollTaxPayable" | "PenaltiesAndSettlements" | "PreferredStock" | "PrepaidExpenses" | "PrepaidExpensesPayable" | "PromotionalMeals" | "RentOrLeaseOfBuildings" | "RentsHeldInTrust" | "RentsInTrustLiab" | "RepairAndMaintenance" | "Retainage" | "RetainedEarnings" | "SalesOfProductIncome" | "SalesTaxPayable" | "Savings" | "SecurityDeposits" | "ServiceOrFeeIncome" | "ShareholderNotesPayable" | "ShippingFreightAndDelivery" | "ShippingFreightAndDeliveryCOS" | "StateOrLocalIncomeTaxPayable" | "SuppliesAndMaterials" | "SuppliesAndMaterialsCOGS" | "TaxExemptInterest" | "TaxesPaid" | "Travel" | "TravelMeals" | "TreasuryStock" | "TrustAccounts" | "TrustAccountsLiab" | "UndepositedFunds" | "Utilities" | "Vehicles",
|
|
13
|
+
?include_ret_element: Array["AccountNumber" | "AccountType" | "Balance" | "BankNumber" | "CashFlowClassification" | "CurrencyRef" | "DataExtRet" | "Desc" | "DetailAccountType" | "EditSequence" | "ExternalGUID" | "FullName" | "IsActive" | "IsTaxAccount" | "LastCheckNumber" | "ListID" | "Name" | "OwnerID" | "ParentRef" | "SalesTaxCodeRef" | "SpecialAccountType" | "Sublevel" | "TaxLineInfoRet" | "TimeCreated" | "TimeModified" | "TotalBalance" | "TxnID" | "TxnNumber"],
|
|
14
|
+
?is_active: bool,
|
|
15
|
+
name: String,
|
|
16
|
+
?open_balance: Numeric,
|
|
17
|
+
?open_balance_date: String,
|
|
18
|
+
?parent_ref: Types::ref,
|
|
19
|
+
?request_id: String,
|
|
20
|
+
?sales_tax_code_ref: Types::ref,
|
|
21
|
+
?tax_line_id: Integer
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type query_params = {
|
|
25
|
+
?account_type: Array["AccountsPayable" | "AccountsReceivable" | "Bank" | "CostOfGoodsSold" | "CreditCard" | "Equity" | "Expense" | "FixedAsset" | "Income" | "LongTermLiability" | "NonPosting" | "OtherAsset" | "OtherCurrentAsset" | "OtherCurrentLiability" | "OtherExpense" | "OtherIncome"],
|
|
26
|
+
?active_status: "ActiveOnly" | "All" | "InactiveOnly",
|
|
27
|
+
?currency_filter: Types::currency_filter,
|
|
28
|
+
?from_modified_date: String,
|
|
29
|
+
?full_name: Array[String],
|
|
30
|
+
?include_ret_element: Array["AccountNumber" | "AccountType" | "Balance" | "BankNumber" | "CashFlowClassification" | "CurrencyRef" | "DataExtRet" | "Desc" | "DetailAccountType" | "EditSequence" | "FullName" | "IsActive" | "IsTaxAccount" | "LastCheckNumber" | "ListID" | "Name" | "ParentRef" | "SalesTaxCodeRef" | "SpecialAccountType" | "Sublevel" | "TaxLineInfoRet" | "TimeCreated" | "TimeModified" | "TotalBalance"],
|
|
31
|
+
?list_id: Array[String],
|
|
32
|
+
?max_returned: Integer,
|
|
33
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
34
|
+
?name_filter: Types::name_filter,
|
|
35
|
+
?name_range_filter: Types::name_range_filter,
|
|
36
|
+
?owner_id: Array[String],
|
|
37
|
+
?request_id: String,
|
|
38
|
+
?to_modified_date: String
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
type update_params = {
|
|
42
|
+
?account_number: String,
|
|
43
|
+
?account_type: "AccountsPayable" | "AccountsReceivable" | "Bank" | "CostOfGoodsSold" | "CreditCard" | "Equity" | "Expense" | "FixedAsset" | "Income" | "LongTermLiability" | "NonPosting" | "OtherAsset" | "OtherCurrentAsset" | "OtherCurrentLiability" | "OtherExpense" | "OtherIncome",
|
|
44
|
+
?bank_number: String,
|
|
45
|
+
?currency_ref: Types::ref,
|
|
46
|
+
?desc: String,
|
|
47
|
+
edit_sequence: String,
|
|
48
|
+
?include_ret_element: Array["AccountNumber" | "AccountType" | "Balance" | "BankNumber" | "CashFlowClassification" | "CurrencyRef" | "DataExtRet" | "Desc" | "DetailAccountType" | "EditSequence" | "ExternalGUID" | "FullName" | "IsActive" | "IsTaxAccount" | "LastCheckNumber" | "ListID" | "Name" | "OwnerID" | "ParentRef" | "SalesTaxCodeRef" | "SpecialAccountType" | "Sublevel" | "TaxLineInfoRet" | "TimeCreated" | "TimeModified" | "TotalBalance" | "TxnID" | "TxnNumber"],
|
|
49
|
+
?is_active: bool,
|
|
50
|
+
list_id: String,
|
|
51
|
+
?name: String,
|
|
52
|
+
?open_balance: Numeric,
|
|
53
|
+
?open_balance_date: String,
|
|
54
|
+
?parent_ref: Types::ref,
|
|
55
|
+
?request_id: String,
|
|
56
|
+
?sales_tax_code_ref: Types::ref,
|
|
57
|
+
?tax_line_id: Integer
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
61
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
62
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class AccountTaxLineInfo < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?request_id: String
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class AgingReport < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
aging_report_type: "APAgingDetail" | "APAgingSummary" | "ARAgingDetail" | "ARAgingSummary" | "CollectionsReport",
|
|
8
|
+
?display_report: bool,
|
|
9
|
+
?include_accounts: "All" | "InUse",
|
|
10
|
+
?include_column: Array["Account" | "Aging" | "Amount" | "AmountDifference" | "AverageCost" | "BilledDate" | "BillingStatus" | "CalculatedAmount" | "Class" | "ClearedStatus" | "CostPrice" | "Credit" | "Currency" | "Date" | "Debit" | "DeliveryDate" | "DueDate" | "EstimateActive" | "ExchangeRate" | "FOB" | "IncomeSubjectToTax" | "Invoiced" | "Item" | "ItemDesc" | "LastModifiedBy" | "LatestOrPriorState" | "Memo" | "ModifiedTime" | "Name" | "NameAccountNumber" | "NameAddress" | "NameCity" | "NameContact" | "NameEmail" | "NameFax" | "NamePhone" | "NameState" | "NameZip" | "OpenBalance" | "OriginalAmount" | "PONumber" | "PaidAmount" | "PaidStatus" | "PaidThroughDate" | "PaymentMethod" | "PayrollItem" | "PrintStatus" | "ProgressAmount" | "ProgressPercent" | "Quantity" | "QuantityAvailable" | "QuantityOnHand" | "QuantityOnSalesOrder" | "ReceivedQuantity" | "RefNumber" | "RunningBalance" | "SSNOrTaxID" | "SalesRep" | "SalesTaxCode" | "SerialOrLotNumber" | "ShipDate" | "ShipMethod" | "SourceName" | "SplitAccount" | "TaxLine" | "TaxTableVersion" | "Terms" | "TxnID" | "TxnNumber" | "TxnType" | "UnitPrice" | "UserEdit" | "ValueOnHand" | "WageBase" | "WageBaseTips"],
|
|
11
|
+
?report_account_filter: Types::account_filter,
|
|
12
|
+
?report_aging_as_of: "ReportEndDate" | "Today",
|
|
13
|
+
?report_class_filter: Types::entity_filter,
|
|
14
|
+
?report_date_macro: "All" | "LastMonth" | "LastMonthToDate" | "LastQuarter" | "LastQuarterToDate" | "LastWeek" | "LastWeekToDate" | "LastYear" | "LastYearToDate" | "NextFourWeeks" | "NextMonth" | "NextQuarter" | "NextWeek" | "NextYear" | "ThisMonth" | "ThisMonthToDate" | "ThisQuarter" | "ThisQuarterToDate" | "ThisWeek" | "ThisWeekToDate" | "ThisYear" | "ThisYearToDate" | "Today" | "Yesterday",
|
|
15
|
+
?report_detail_level_filter: "All" | "AllExceptSummary" | "SummaryOnly",
|
|
16
|
+
?report_entity_filter: Types::entity_filter_aging_report,
|
|
17
|
+
?report_item_filter: Types::item_filter,
|
|
18
|
+
?report_modified_date_range_filter: Types::report_modified_date_range_filter,
|
|
19
|
+
?report_modified_date_range_macro: "All" | "LastMonth" | "LastMonthToDate" | "LastQuarter" | "LastQuarterToDate" | "LastWeek" | "LastWeekToDate" | "LastYear" | "LastYearToDate" | "NextFourWeeks" | "NextMonth" | "NextQuarter" | "NextWeek" | "NextYear" | "ThisMonth" | "ThisMonthToDate" | "ThisQuarter" | "ThisQuarterToDate" | "ThisWeek" | "ThisWeekToDate" | "ThisYear" | "ThisYearToDate" | "Today" | "Yesterday",
|
|
20
|
+
?report_period: Types::report_period,
|
|
21
|
+
?report_posting_status_filter: "Either" | "NonPosting" | "Posting",
|
|
22
|
+
?report_txn_type_filter: Types::type_filter,
|
|
23
|
+
?request_id: String
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Alert < Base
|
|
6
|
+
type alert_permission = {
|
|
7
|
+
permission_level: Array["AccountsPayable" | "AccountsReceivable" | "Banking" | "Finance" | "Inventory" | "TimeTracking"],
|
|
8
|
+
permission_needed: "All" | "Any"
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
type com_callback_info = {
|
|
12
|
+
app_name: String,
|
|
13
|
+
?clsid: String,
|
|
14
|
+
?prog_id: String
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type http_callback_info = {
|
|
18
|
+
url: String
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
type create_params = {
|
|
22
|
+
?activation_date: String,
|
|
23
|
+
?alert_permission: alert_permission,
|
|
24
|
+
alert_tag: String,
|
|
25
|
+
?com_callback_info: com_callback_info,
|
|
26
|
+
desc: String,
|
|
27
|
+
?expiration_date: String,
|
|
28
|
+
help_text: String,
|
|
29
|
+
?http_callback_info: http_callback_info,
|
|
30
|
+
message_text: String,
|
|
31
|
+
owner_id: String,
|
|
32
|
+
?request_id: String,
|
|
33
|
+
?ui_context: Array["AlertsManager" | "CompanyNavigator"]
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
type delete_params = {
|
|
37
|
+
alert_tag: String,
|
|
38
|
+
owner_id: String,
|
|
39
|
+
?request_id: String
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
type query_params = {
|
|
43
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
44
|
+
owner_id: Array[String],
|
|
45
|
+
?request_id: String
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
49
|
+
def delete: (String connection_id, ?delete_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
50
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class ArRefundCreditCard < Base
|
|
6
|
+
type refund_applied_to_txn_add = {
|
|
7
|
+
refund_amount: Numeric,
|
|
8
|
+
txn_id: String
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
type create_params = {
|
|
12
|
+
?address: Types::address,
|
|
13
|
+
?ar_account_ref: Types::ref,
|
|
14
|
+
?credit_card_txn_info: Types::credit_card_txn_info,
|
|
15
|
+
customer_ref: Types::ref,
|
|
16
|
+
?def_macro: String,
|
|
17
|
+
?exchange_rate: Numeric,
|
|
18
|
+
?external_guid: String,
|
|
19
|
+
?include_ret_element: Array["ARAccountRef" | "Address" | "AddressBlock" | "CreditCardTxnInfo" | "CurrencyRef" | "CustomerRef" | "DataExtRet" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "ListID" | "Memo" | "OwnerID" | "PaymentMethodRef" | "RefNumber" | "RefundAppliedToTxnRet" | "RefundFromAccountRef" | "TimeCreated" | "TimeModified" | "TotalAmount" | "TotalAmountInHomeCurrency" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
20
|
+
?memo: String,
|
|
21
|
+
?payment_method_ref: Types::ref,
|
|
22
|
+
?ref_number: String,
|
|
23
|
+
refund_applied_to_txn_add: Array[refund_applied_to_txn_add],
|
|
24
|
+
?refund_from_account_ref: Types::ref,
|
|
25
|
+
?request_id: String,
|
|
26
|
+
?txn_date: String
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type query_params = {
|
|
30
|
+
?account_filter: Types::entity_filter,
|
|
31
|
+
?currency_filter: Types::currency_filter,
|
|
32
|
+
?entity_filter: Types::entity_filter,
|
|
33
|
+
?include_line_items: bool,
|
|
34
|
+
?include_ret_element: Array["ARAccountRef" | "Address" | "AddressBlock" | "CreditCardTxnInfo" | "CurrencyRef" | "CustomerRef" | "DataExtRet" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "Memo" | "PaymentMethodRef" | "RefNumber" | "RefundAppliedToTxnRet" | "RefundFromAccountRef" | "TimeCreated" | "TimeModified" | "TotalAmount" | "TotalAmountInHomeCurrency" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
35
|
+
?iterator: bool,
|
|
36
|
+
?max_returned: Integer,
|
|
37
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
38
|
+
?modified_date_range_filter: Types::modified_date_range_filter,
|
|
39
|
+
?owner_id: Array[String],
|
|
40
|
+
?ref_number: Array[String],
|
|
41
|
+
?ref_number_case_sensitive: Array[String],
|
|
42
|
+
?ref_number_filter: Types::ref_number_filter,
|
|
43
|
+
?ref_number_range_filter: Types::ref_number_range_filter,
|
|
44
|
+
?request_id: String,
|
|
45
|
+
?txn_date_range_filter: Types::date_range_filter,
|
|
46
|
+
?txn_id: Array[String]
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
50
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class BarCode < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?bar_code_value: Array[String],
|
|
8
|
+
?iterator: bool,
|
|
9
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
10
|
+
?request_id: String
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Bill < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?ap_account_ref: Types::ref,
|
|
8
|
+
?def_macro: String,
|
|
9
|
+
?due_date: String,
|
|
10
|
+
?exchange_rate: Numeric,
|
|
11
|
+
?expense_line_add: Array[Types::expense_line_add],
|
|
12
|
+
?external_guid: String,
|
|
13
|
+
?include_ret_element: Array["APAccountRef" | "AmountDue" | "AmountDueInHomeCurrency" | "ClassRef" | "CurrencyRef" | "DataExtRet" | "DueDate" | "EditSequence" | "ExchangeRate" | "ExpenseLineRet" | "ExternalGUID" | "IsPaid" | "IsPending" | "IsTaxIncluded" | "ItemGroupLineRet" | "ItemLineRet" | "LinkedTxn" | "ListID" | "Memo" | "OpenAmount" | "OwnerID" | "RefNumber" | "SalesTaxCodeRef" | "TermsRef" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber" | "VendorAddress" | "VendorRef"],
|
|
14
|
+
?is_tax_included: bool,
|
|
15
|
+
?item_group_line_add: Array[Types::item_group_line_add],
|
|
16
|
+
?item_line_add: Array[Types::item_line_add],
|
|
17
|
+
?link_to_txn_id: Array[String],
|
|
18
|
+
?memo: String,
|
|
19
|
+
?ref_number: String,
|
|
20
|
+
?request_id: String,
|
|
21
|
+
?sales_tax_code_ref: Types::ref,
|
|
22
|
+
?terms_ref: Types::ref,
|
|
23
|
+
?txn_date: String,
|
|
24
|
+
?vendor_address: Types::address,
|
|
25
|
+
vendor_ref: Types::ref
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
type query_params = {
|
|
29
|
+
?account_filter: Types::entity_filter,
|
|
30
|
+
?currency_filter: Types::currency_filter,
|
|
31
|
+
?entity_filter: Types::entity_filter,
|
|
32
|
+
?include_line_items: bool,
|
|
33
|
+
?include_linked_txns: bool,
|
|
34
|
+
?include_ret_element: Array["APAccountRef" | "AmountDue" | "AmountDueInHomeCurrency" | "ClassRef" | "CurrencyRef" | "DataExtRet" | "DueDate" | "EditSequence" | "ExchangeRate" | "ExpenseLineRet" | "ExternalGUID" | "IsPaid" | "IsPending" | "IsTaxIncluded" | "ItemGroupLineRet" | "ItemLineRet" | "LinkedTxn" | "Memo" | "OpenAmount" | "RefNumber" | "SalesTaxCodeRef" | "TermsRef" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber" | "VendorAddress" | "VendorRef"],
|
|
35
|
+
?iterator: bool,
|
|
36
|
+
?max_returned: Integer,
|
|
37
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
38
|
+
?modified_date_range_filter: Types::modified_date_range_filter,
|
|
39
|
+
?owner_id: Array[String],
|
|
40
|
+
?paid_status: "All" | "NotPaidOnly" | "PaidOnly",
|
|
41
|
+
?ref_number: Array[String],
|
|
42
|
+
?ref_number_case_sensitive: Array[String],
|
|
43
|
+
?ref_number_filter: Types::ref_number_filter,
|
|
44
|
+
?ref_number_range_filter: Types::ref_number_range_filter,
|
|
45
|
+
?request_id: String,
|
|
46
|
+
?txn_date_range_filter: Types::date_range_filter,
|
|
47
|
+
?txn_id: Array[String]
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
type update_params = {
|
|
51
|
+
?ap_account_ref: Types::ref,
|
|
52
|
+
?clear_expense_lines: bool,
|
|
53
|
+
?clear_item_lines: bool,
|
|
54
|
+
?due_date: String,
|
|
55
|
+
edit_sequence: String,
|
|
56
|
+
?exchange_rate: Numeric,
|
|
57
|
+
?expense_line_mod: Array[Types::expense_line_mod],
|
|
58
|
+
?include_ret_element: Array["APAccountRef" | "AmountDue" | "AmountDueInHomeCurrency" | "ClassRef" | "CurrencyRef" | "DataExtRet" | "DueDate" | "EditSequence" | "ExchangeRate" | "ExpenseLineRet" | "ExternalGUID" | "IsPaid" | "IsPending" | "IsTaxIncluded" | "ItemGroupLineRet" | "ItemLineRet" | "LinkedTxn" | "ListID" | "Memo" | "OpenAmount" | "OwnerID" | "RefNumber" | "SalesTaxCodeRef" | "TermsRef" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber" | "VendorAddress" | "VendorRef"],
|
|
59
|
+
?is_tax_included: bool,
|
|
60
|
+
?item_group_line_mod: Array[Types::item_group_line_mod],
|
|
61
|
+
?item_line_mod: Array[Types::item_line_mod],
|
|
62
|
+
?memo: String,
|
|
63
|
+
?ref_number: String,
|
|
64
|
+
?request_id: String,
|
|
65
|
+
?sales_tax_code_ref: Types::ref,
|
|
66
|
+
?terms_ref: Types::ref,
|
|
67
|
+
?txn_date: String,
|
|
68
|
+
txn_id: String,
|
|
69
|
+
?vendor_address: Types::address,
|
|
70
|
+
?vendor_ref: Types::ref
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
74
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
75
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class BillPaymentCheck < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?ap_account_ref: Types::ref,
|
|
8
|
+
applied_to_txn_add: Array[Types::applied_to_txn_add],
|
|
9
|
+
bank_account_ref: Types::ref,
|
|
10
|
+
?def_macro: String,
|
|
11
|
+
?exchange_rate: Numeric,
|
|
12
|
+
?external_guid: String,
|
|
13
|
+
?include_ret_element: Array["APAccountRef" | "Address" | "AddressBlock" | "Amount" | "AmountInHomeCurrency" | "AppliedToTxnRet" | "BankAccountRef" | "CurrencyRef" | "DataExtRet" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "IsToBePrinted" | "ListID" | "Memo" | "OwnerID" | "PayeeEntityRef" | "RefNumber" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
14
|
+
?is_to_be_printed: bool,
|
|
15
|
+
?memo: String,
|
|
16
|
+
payee_entity_ref: Types::ref,
|
|
17
|
+
?ref_number: String,
|
|
18
|
+
?request_id: String,
|
|
19
|
+
?txn_date: String
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
type query_params = {
|
|
23
|
+
?account_filter: Types::entity_filter,
|
|
24
|
+
?currency_filter: Types::currency_filter,
|
|
25
|
+
?entity_filter: Types::entity_filter,
|
|
26
|
+
?include_line_items: bool,
|
|
27
|
+
?include_ret_element: Array["APAccountRef" | "Address" | "AddressBlock" | "Amount" | "AmountInHomeCurrency" | "AppliedToTxnRet" | "BankAccountRef" | "CurrencyRef" | "DataExtRet" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "IsToBePrinted" | "Memo" | "PayeeEntityRef" | "RefNumber" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
28
|
+
?iterator: bool,
|
|
29
|
+
?max_returned: Integer,
|
|
30
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
31
|
+
?modified_date_range_filter: Types::modified_date_range_filter,
|
|
32
|
+
?owner_id: Array[String],
|
|
33
|
+
?ref_number: Array[String],
|
|
34
|
+
?ref_number_case_sensitive: Array[String],
|
|
35
|
+
?ref_number_filter: Types::ref_number_filter,
|
|
36
|
+
?ref_number_range_filter: Types::ref_number_range_filter,
|
|
37
|
+
?request_id: String,
|
|
38
|
+
?txn_date_range_filter: Types::date_range_filter,
|
|
39
|
+
?txn_id: Array[String]
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
type update_params = {
|
|
43
|
+
?amount: Numeric,
|
|
44
|
+
?applied_to_txn_mod: Array[Types::applied_to_txn_mod],
|
|
45
|
+
?bank_account_ref: Types::ref,
|
|
46
|
+
edit_sequence: String,
|
|
47
|
+
?exchange_rate: Numeric,
|
|
48
|
+
?include_ret_element: Array["APAccountRef" | "Address" | "AddressBlock" | "Amount" | "AmountInHomeCurrency" | "AppliedToTxnRet" | "BankAccountRef" | "CurrencyRef" | "DataExtRet" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "IsToBePrinted" | "ListID" | "Memo" | "OwnerID" | "PayeeEntityRef" | "RefNumber" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
49
|
+
?is_to_be_printed: bool,
|
|
50
|
+
?memo: String,
|
|
51
|
+
?ref_number: String,
|
|
52
|
+
?request_id: String,
|
|
53
|
+
?txn_date: String,
|
|
54
|
+
txn_id: String
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
58
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
59
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class BillPaymentCreditCard < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?ap_account_ref: Types::ref,
|
|
8
|
+
applied_to_txn_add: Array[Types::applied_to_txn_add],
|
|
9
|
+
credit_card_account_ref: Types::ref,
|
|
10
|
+
?def_macro: String,
|
|
11
|
+
?exchange_rate: Numeric,
|
|
12
|
+
?external_guid: String,
|
|
13
|
+
?include_ret_element: Array["APAccountRef" | "Amount" | "AmountInHomeCurrency" | "AppliedToTxnRet" | "CreditCardAccountRef" | "CurrencyRef" | "DataExtRet" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "ListID" | "Memo" | "OwnerID" | "PayeeEntityRef" | "RefNumber" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
14
|
+
?memo: String,
|
|
15
|
+
payee_entity_ref: Types::ref,
|
|
16
|
+
?ref_number: String,
|
|
17
|
+
?request_id: String,
|
|
18
|
+
?txn_date: String
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
type query_params = {
|
|
22
|
+
?account_filter: Types::entity_filter,
|
|
23
|
+
?currency_filter: Types::currency_filter,
|
|
24
|
+
?entity_filter: Types::entity_filter,
|
|
25
|
+
?include_line_items: bool,
|
|
26
|
+
?include_ret_element: Array["APAccountRef" | "Amount" | "AmountInHomeCurrency" | "AppliedToTxnRet" | "CreditCardAccountRef" | "CurrencyRef" | "DataExtRet" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "Memo" | "PayeeEntityRef" | "RefNumber" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
27
|
+
?iterator: bool,
|
|
28
|
+
?max_returned: Integer,
|
|
29
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
30
|
+
?modified_date_range_filter: Types::modified_date_range_filter,
|
|
31
|
+
?owner_id: Array[String],
|
|
32
|
+
?ref_number: Array[String],
|
|
33
|
+
?ref_number_case_sensitive: Array[String],
|
|
34
|
+
?ref_number_filter: Types::ref_number_filter,
|
|
35
|
+
?ref_number_range_filter: Types::ref_number_range_filter,
|
|
36
|
+
?request_id: String,
|
|
37
|
+
?txn_date_range_filter: Types::date_range_filter,
|
|
38
|
+
?txn_id: Array[String]
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
42
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class BillToPay < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?ap_account_ref: Types::ref,
|
|
8
|
+
?currency_filter: Types::currency_filter,
|
|
9
|
+
?due_date: String,
|
|
10
|
+
?include_ret_element: Array["BillToPay" | "CreditToApply"],
|
|
11
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
12
|
+
payee_entity_ref: Types::ref,
|
|
13
|
+
?request_id: String
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class BillingRate < Base
|
|
6
|
+
type billing_rate_per_item = {
|
|
7
|
+
?adjust_billing_rate_relative_to: "CurrentCustomRate" | "StandardRate",
|
|
8
|
+
?adjust_percentage: Numeric,
|
|
9
|
+
?custom_rate: Numeric,
|
|
10
|
+
?custom_rate_percent: Numeric,
|
|
11
|
+
item_ref: Types::ref
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
type create_params = {
|
|
15
|
+
?billing_rate_per_item: Array[billing_rate_per_item],
|
|
16
|
+
?fixed_billing_rate: Numeric,
|
|
17
|
+
?include_ret_element: Array["BillingRatePerItemRet" | "BillingRateType" | "EditSequence" | "ExternalGUID" | "FixedBillingRate" | "ListID" | "Name" | "OwnerID" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber"],
|
|
18
|
+
name: String,
|
|
19
|
+
?request_id: String
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
type query_params = {
|
|
23
|
+
?from_modified_date: String,
|
|
24
|
+
?full_name: Array[String],
|
|
25
|
+
?include_ret_element: Array["BillingRatePerItemRet" | "BillingRateType" | "EditSequence" | "FixedBillingRate" | "ListID" | "Name" | "TimeCreated" | "TimeModified"],
|
|
26
|
+
?item_ref: Types::ref,
|
|
27
|
+
?list_id: Array[String],
|
|
28
|
+
?max_returned: Integer,
|
|
29
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
30
|
+
?name_filter: Types::name_filter,
|
|
31
|
+
?name_range_filter: Types::name_range_filter,
|
|
32
|
+
?request_id: String,
|
|
33
|
+
?to_modified_date: String
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
37
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class BudgetSummaryReport < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?budget_criterion: "Accounts" | "AccountsAndClasses" | "AccountsAndCustomers",
|
|
8
|
+
budget_summary_report_type: "BalanceSheetBudgetOverview" | "BalanceSheetBudgetVsActual" | "ProfitAndLossBudgetOverview" | "ProfitAndLossBudgetPerformance" | "ProfitAndLossBudgetVsActual",
|
|
9
|
+
?display_report: bool,
|
|
10
|
+
fiscal_year: Integer,
|
|
11
|
+
?report_class_filter: Types::entity_filter,
|
|
12
|
+
?report_date_macro: "All" | "LastMonth" | "LastMonthToDate" | "LastQuarter" | "LastQuarterToDate" | "LastWeek" | "LastWeekToDate" | "LastYear" | "LastYearToDate" | "NextFourWeeks" | "NextMonth" | "NextQuarter" | "NextWeek" | "NextYear" | "ThisMonth" | "ThisMonthToDate" | "ThisQuarter" | "ThisQuarterToDate" | "ThisWeek" | "ThisWeekToDate" | "ThisYear" | "ThisYearToDate" | "Today" | "Yesterday",
|
|
13
|
+
?report_period: Types::report_period,
|
|
14
|
+
?request_id: String,
|
|
15
|
+
?summarize_budget_columns_by: "Class" | "Customer" | "Date",
|
|
16
|
+
?summarize_budget_rows_by: "Account" | "Class" | "Customer"
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|