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
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class SalesTaxCode < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?desc: String,
|
|
8
|
+
?include_ret_element: Array["Desc" | "EditSequence" | "ExternalGUID" | "IsActive" | "IsTaxable" | "ItemPurchaseTaxRef" | "ItemSalesTaxRef" | "ListID" | "Name" | "OwnerID" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber"],
|
|
9
|
+
?is_active: bool,
|
|
10
|
+
is_taxable: bool,
|
|
11
|
+
?item_purchase_tax_ref: Types::ref,
|
|
12
|
+
?item_sales_tax_ref: Types::ref,
|
|
13
|
+
name: String,
|
|
14
|
+
?request_id: String
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type query_params = {
|
|
18
|
+
?active_status: "ActiveOnly" | "All" | "InactiveOnly",
|
|
19
|
+
?from_modified_date: String,
|
|
20
|
+
?full_name: Array[String],
|
|
21
|
+
?include_ret_element: Array["Desc" | "EditSequence" | "IsActive" | "IsTaxable" | "ItemPurchaseTaxRef" | "ItemSalesTaxRef" | "ListID" | "Name" | "TimeCreated" | "TimeModified"],
|
|
22
|
+
?list_id: Array[String],
|
|
23
|
+
?max_returned: Integer,
|
|
24
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
25
|
+
?name_filter: Types::name_filter,
|
|
26
|
+
?name_range_filter: Types::name_range_filter,
|
|
27
|
+
?request_id: String,
|
|
28
|
+
?to_modified_date: String
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
type update_params = {
|
|
32
|
+
?desc: String,
|
|
33
|
+
edit_sequence: String,
|
|
34
|
+
?include_ret_element: Array["Desc" | "EditSequence" | "ExternalGUID" | "IsActive" | "IsTaxable" | "ItemPurchaseTaxRef" | "ItemSalesTaxRef" | "ListID" | "Name" | "OwnerID" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber"],
|
|
35
|
+
?is_active: bool,
|
|
36
|
+
?is_taxable: bool,
|
|
37
|
+
?item_purchase_tax_ref: Types::ref,
|
|
38
|
+
?item_sales_tax_ref: Types::ref,
|
|
39
|
+
list_id: String,
|
|
40
|
+
?name: String,
|
|
41
|
+
?request_id: String
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
45
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
46
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
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 SalesTaxPayable < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?as_of_date: String,
|
|
8
|
+
?include_ret_element: Array["Amount" | "PayeeEntityRef" | "SalesTaxPayableLineRet"],
|
|
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,64 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class SalesTaxPaymentCheck < Base
|
|
6
|
+
type sales_tax_payment_check_line_add = {
|
|
7
|
+
amount: Numeric,
|
|
8
|
+
?item_sales_tax_ref: Types::ref
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
type create_params = {
|
|
12
|
+
?address: Types::address,
|
|
13
|
+
bank_account_ref: Types::ref,
|
|
14
|
+
?def_macro: String,
|
|
15
|
+
?external_guid: String,
|
|
16
|
+
?include_ret_element: Array["Address" | "AddressBlock" | "Amount" | "BankAccountRef" | "DataExtRet" | "EditSequence" | "ExternalGUID" | "IsToBePrinted" | "ListID" | "Memo" | "OwnerID" | "PayeeEntityRef" | "RefNumber" | "SalesTaxPaymentCheckLineRet" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
17
|
+
?is_to_be_printed: bool,
|
|
18
|
+
?memo: String,
|
|
19
|
+
payee_entity_ref: Types::ref,
|
|
20
|
+
?ref_number: String,
|
|
21
|
+
?request_id: String,
|
|
22
|
+
sales_tax_payment_check_line_add: Array[sales_tax_payment_check_line_add],
|
|
23
|
+
txn_date: String
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
type query_params = {
|
|
27
|
+
?account_filter: Types::entity_filter,
|
|
28
|
+
?entity_filter: Types::entity_filter,
|
|
29
|
+
?include_line_items: bool,
|
|
30
|
+
?include_ret_element: Array["Address" | "AddressBlock" | "Amount" | "BankAccountRef" | "DataExtRet" | "EditSequence" | "ExternalGUID" | "IsToBePrinted" | "Memo" | "PayeeEntityRef" | "RefNumber" | "SalesTaxPaymentCheckLineRet" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
31
|
+
?item_filter: Types::entity_filter,
|
|
32
|
+
?iterator: bool,
|
|
33
|
+
?max_returned: Integer,
|
|
34
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
35
|
+
?modified_date_range_filter: Types::modified_date_range_filter,
|
|
36
|
+
?owner_id: Array[String],
|
|
37
|
+
?ref_number: Array[String],
|
|
38
|
+
?ref_number_case_sensitive: Array[String],
|
|
39
|
+
?ref_number_filter: Types::ref_number_filter,
|
|
40
|
+
?ref_number_range_filter: Types::ref_number_range_filter,
|
|
41
|
+
?request_id: String,
|
|
42
|
+
?txn_date_range_filter: Types::date_range_filter,
|
|
43
|
+
?txn_id: Array[String]
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
type update_params = {
|
|
47
|
+
?address: Types::address,
|
|
48
|
+
?bank_account_ref: Types::ref,
|
|
49
|
+
edit_sequence: String,
|
|
50
|
+
?include_ret_element: Array["Address" | "AddressBlock" | "Amount" | "BankAccountRef" | "DataExtRet" | "EditSequence" | "ExternalGUID" | "IsToBePrinted" | "ListID" | "Memo" | "OwnerID" | "PayeeEntityRef" | "RefNumber" | "SalesTaxPaymentCheckLineRet" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
51
|
+
?is_to_be_printed: bool,
|
|
52
|
+
?memo: String,
|
|
53
|
+
?ref_number: String,
|
|
54
|
+
?request_id: String,
|
|
55
|
+
?txn_date: String,
|
|
56
|
+
txn_id: String
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
60
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
61
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class SalesTaxReturn < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
8
|
+
?request_id: String
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class SalesTaxReturnLine < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
8
|
+
?request_id: String,
|
|
9
|
+
tax_agency_vendor_ref: Array[Types::ref]
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class ShipMethod < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?include_ret_element: Array["EditSequence" | "ExternalGUID" | "IsActive" | "ListID" | "Name" | "OwnerID" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber"],
|
|
8
|
+
?is_active: bool,
|
|
9
|
+
name: String,
|
|
10
|
+
?request_id: String
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
type query_params = {
|
|
14
|
+
?active_status: "ActiveOnly" | "All" | "InactiveOnly",
|
|
15
|
+
?from_modified_date: String,
|
|
16
|
+
?full_name: Array[String],
|
|
17
|
+
?include_ret_element: Array["EditSequence" | "IsActive" | "ListID" | "Name" | "TimeCreated" | "TimeModified"],
|
|
18
|
+
?list_id: Array[String],
|
|
19
|
+
?max_returned: Integer,
|
|
20
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
21
|
+
?name_filter: Types::name_filter,
|
|
22
|
+
?name_range_filter: Types::name_range_filter,
|
|
23
|
+
?request_id: String,
|
|
24
|
+
?to_modified_date: String
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
28
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
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 SpecialAccount < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?currency_ref: Types::ref,
|
|
8
|
+
?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"],
|
|
9
|
+
?request_id: String,
|
|
10
|
+
special_account_type: "AccountsPayable" | "AccountsReceivable" | "CondenseItemAdjustmentExpenses" | "CostOfGoodsSold" | "DirectDepositLiabilities" | "Estimates" | "ExchangeGainLoss" | "InventoryAssets" | "ItemReceiptAccount" | "OpeningBalanceEquity" | "PayrollExpenses" | "PayrollLiabilities" | "PettyCash" | "PurchaseOrders" | "ReconciliationDifferences" | "RetainedEarnings" | "SalesOrders" | "SalesTaxPayable" | "UncategorizedExpenses" | "UncategorizedIncome" | "UndepositedFunds"
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class SpecialItem < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?bar_code: Types::bar_code,
|
|
8
|
+
?external_guid: String,
|
|
9
|
+
?include_ret_element: Array["BarCodeValue" | "ClassRef" | "DataExtRet" | "EditSequence" | "ExternalGUID" | "FullName" | "IsActive" | "IsPrintItemsInGroup" | "IsTaxIncluded" | "ItemDesc" | "ItemGroupLine" | "ListID" | "Name" | "ParentRef" | "SalesAndPurchase" | "SalesOrPurchase" | "SalesTaxCodeRef" | "SpecialItemType" | "Sublevel" | "TimeCreated" | "TimeModified" | "UnitOfMeasureSetRef"],
|
|
10
|
+
?request_id: String,
|
|
11
|
+
special_item_type: "FinanceCharge" | "ReimbursableExpenseGroup" | "ReimbursableExpenseSubtotal"
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class StandardTerms < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?discount_pct: Numeric,
|
|
8
|
+
?include_ret_element: Array["DiscountPct" | "EditSequence" | "ExternalGUID" | "IsActive" | "ListID" | "Name" | "OwnerID" | "StdDiscountDays" | "StdDueDays" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber"],
|
|
9
|
+
?is_active: bool,
|
|
10
|
+
name: String,
|
|
11
|
+
?request_id: String,
|
|
12
|
+
?std_discount_days: Integer,
|
|
13
|
+
?std_due_days: Integer
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type query_params = {
|
|
17
|
+
?active_status: "ActiveOnly" | "All" | "InactiveOnly",
|
|
18
|
+
?from_modified_date: String,
|
|
19
|
+
?full_name: Array[String],
|
|
20
|
+
?include_ret_element: Array["DiscountPct" | "EditSequence" | "IsActive" | "ListID" | "Name" | "StdDiscountDays" | "StdDueDays" | "TimeCreated" | "TimeModified"],
|
|
21
|
+
?list_id: Array[String],
|
|
22
|
+
?max_returned: Integer,
|
|
23
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
24
|
+
?name_filter: Types::name_filter,
|
|
25
|
+
?name_range_filter: Types::name_range_filter,
|
|
26
|
+
?request_id: String,
|
|
27
|
+
?to_modified_date: String
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
31
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Template < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?include_ret_element: Array["EditSequence" | "IsActive" | "ListID" | "Name" | "TemplateType" | "TimeCreated" | "TimeModified"],
|
|
8
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
9
|
+
?request_id: String
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Terms < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?active_status: "ActiveOnly" | "All" | "InactiveOnly",
|
|
8
|
+
?from_modified_date: String,
|
|
9
|
+
?full_name: Array[String],
|
|
10
|
+
?include_ret_element: Array["DayOfMonthDue" | "DiscountDayOfMonth" | "DiscountPct" | "DueNextMonthDays" | "EditSequence" | "IsActive" | "ListID" | "Name" | "StdDiscountDays" | "StdDueDays" | "TimeCreated" | "TimeModified"],
|
|
11
|
+
?list_id: Array[String],
|
|
12
|
+
?max_returned: Integer,
|
|
13
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
14
|
+
?name_filter: Types::name_filter,
|
|
15
|
+
?name_range_filter: Types::name_range_filter,
|
|
16
|
+
?request_id: String,
|
|
17
|
+
?to_modified_date: String
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class TimeReport < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?display_report: bool,
|
|
8
|
+
?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"],
|
|
9
|
+
?include_subcolumns: bool,
|
|
10
|
+
?report_calendar: "CalendarYear" | "FiscalYear" | "TaxYear",
|
|
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_entity_filter: Types::entity_filter_aging_report,
|
|
14
|
+
?report_item_filter: Types::item_filter,
|
|
15
|
+
?report_period: Types::report_period,
|
|
16
|
+
?request_id: String,
|
|
17
|
+
?return_columns: "ActiveOnly" | "All" | "NonZero",
|
|
18
|
+
?return_rows: "ActiveOnly" | "All" | "NonZero",
|
|
19
|
+
?summarize_columns_by: "Account" | "BalanceSheet" | "Class" | "Customer" | "CustomerType" | "Day" | "Employee" | "FourWeek" | "HalfMonth" | "IncomeStatement" | "ItemDetail" | "ItemType" | "Month" | "Payee" | "PaymentMethod" | "PayrollItemDetail" | "PayrollYtdDetail" | "Quarter" | "SalesRep" | "SalesTaxCode" | "ShipMethod" | "Terms" | "TotalOnly" | "TwoWeek" | "Vendor" | "VendorType" | "Week" | "Year",
|
|
20
|
+
time_report_type: "TimeByItem" | "TimeByJobDetail" | "TimeByJobSummary" | "TimeByName"
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class TimeTracking < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?billable_status: "Billable" | "HasBeenBilled" | "NotBillable",
|
|
8
|
+
?class_ref: Types::ref,
|
|
9
|
+
?customer_ref: Types::ref,
|
|
10
|
+
?def_macro: String,
|
|
11
|
+
duration: String,
|
|
12
|
+
entity_ref: Types::ref,
|
|
13
|
+
?external_guid: String,
|
|
14
|
+
?include_ret_element: Array["BillableStatus" | "ClassRef" | "CustomerRef" | "Duration" | "EditSequence" | "EntityRef" | "ExternalGUID" | "ItemServiceRef" | "ListID" | "Notes" | "OwnerID" | "PayrollItemWageRef" | "Rate" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
15
|
+
?item_service_ref: Types::ref,
|
|
16
|
+
?notes: String,
|
|
17
|
+
?payroll_item_wage_ref: Types::ref,
|
|
18
|
+
?rate: Numeric,
|
|
19
|
+
?request_id: String,
|
|
20
|
+
?txn_date: String
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
type query_params = {
|
|
24
|
+
?include_ret_element: Array["BillableStatus" | "ClassRef" | "CustomerRef" | "Duration" | "EditSequence" | "EntityRef" | "ExternalGUID" | "ItemServiceRef" | "Notes" | "PayrollItemWageRef" | "Rate" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
25
|
+
?iterator: bool,
|
|
26
|
+
?max_returned: Integer,
|
|
27
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
28
|
+
?modified_date_range_filter: Types::modified_date_range_filter,
|
|
29
|
+
?request_id: String,
|
|
30
|
+
?time_tracking_entity_filter: Types::currency_filter,
|
|
31
|
+
?txn_date_range_filter: Types::date_range_filter,
|
|
32
|
+
?txn_id: Array[String]
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
type update_params = {
|
|
36
|
+
?billable_status: "Billable" | "HasBeenBilled" | "NotBillable",
|
|
37
|
+
?class_ref: Types::ref,
|
|
38
|
+
?customer_ref: Types::ref,
|
|
39
|
+
duration: String,
|
|
40
|
+
edit_sequence: String,
|
|
41
|
+
entity_ref: Types::ref,
|
|
42
|
+
?include_ret_element: Array["BillableStatus" | "ClassRef" | "CustomerRef" | "Duration" | "EditSequence" | "EntityRef" | "ExternalGUID" | "ItemServiceRef" | "ListID" | "Notes" | "OwnerID" | "PayrollItemWageRef" | "Rate" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
43
|
+
?item_service_ref: Types::ref,
|
|
44
|
+
?notes: String,
|
|
45
|
+
?payroll_item_wage_ref: Types::ref,
|
|
46
|
+
?rate: Numeric,
|
|
47
|
+
?request_id: String,
|
|
48
|
+
?txn_date: String,
|
|
49
|
+
txn_id: String
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
53
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
54
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class ToDo < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?customer_ref: Types::ref,
|
|
8
|
+
?employee_ref: Types::ref,
|
|
9
|
+
?include_ret_element: Array["CustomerRef" | "EditSequence" | "EmployeeRef" | "ExternalGUID" | "IsActive" | "IsDone" | "LeadRef" | "ListID" | "Notes" | "OwnerID" | "Priority" | "ReminderDate" | "ReminderTime" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber" | "Type" | "VendorRef"],
|
|
10
|
+
?is_active: bool,
|
|
11
|
+
?is_done: bool,
|
|
12
|
+
?lead_ref: Types::ref,
|
|
13
|
+
notes: String,
|
|
14
|
+
?priority: "High" | "Low" | "Medium",
|
|
15
|
+
?reminder_date: String,
|
|
16
|
+
?reminder_time: String,
|
|
17
|
+
?request_id: String,
|
|
18
|
+
?type: "Appointment" | "Call" | "Email" | "Fax" | "Meeting" | "Task",
|
|
19
|
+
?vendor_ref: Types::ref
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
type query_params = {
|
|
23
|
+
?active_status: "ActiveOnly" | "All" | "InactiveOnly",
|
|
24
|
+
?done_status: "All" | "DoneOnly" | "NotDoneOnly",
|
|
25
|
+
?from_modified_date: String,
|
|
26
|
+
?include_ret_element: Array["CustomerRef" | "EditSequence" | "EmployeeRef" | "IsActive" | "IsDone" | "LeadRef" | "ListID" | "Notes" | "Priority" | "ReminderDate" | "ReminderTime" | "TimeCreated" | "TimeModified" | "Type" | "VendorRef"],
|
|
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
|
+
type update_params = {
|
|
37
|
+
?customer_ref: Types::ref,
|
|
38
|
+
edit_sequence: String,
|
|
39
|
+
?employee_ref: Types::ref,
|
|
40
|
+
?include_ret_element: Array["CustomerRef" | "EditSequence" | "EmployeeRef" | "ExternalGUID" | "IsActive" | "IsDone" | "LeadRef" | "ListID" | "Notes" | "OwnerID" | "Priority" | "ReminderDate" | "ReminderTime" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber" | "Type" | "VendorRef"],
|
|
41
|
+
?is_active: bool,
|
|
42
|
+
?is_done: bool,
|
|
43
|
+
?lead_ref: Types::ref,
|
|
44
|
+
list_id: String,
|
|
45
|
+
?notes: String,
|
|
46
|
+
?priority: "High" | "Low" | "Medium",
|
|
47
|
+
?reminder_date: String,
|
|
48
|
+
?reminder_time: String,
|
|
49
|
+
?request_id: String,
|
|
50
|
+
?type: "Appointment" | "Call" | "Email" | "Fax" | "Meeting" | "Task",
|
|
51
|
+
?vendor_ref: Types::ref
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
55
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
56
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Transaction < Base
|
|
6
|
+
type transaction_modified_date_range_filter = {
|
|
7
|
+
?date_macro: "All" | "LastCalendarQuarter" | "LastCalendarQuarterToDate" | "LastCalendarYear" | "LastCalendarYearToDate" | "LastFiscalQuarter" | "LastFiscalQuarterToDate" | "LastFiscalYear" | "LastFiscalYearToDate" | "LastMonth" | "LastMonthToDate" | "LastWeek" | "LastWeekToDate" | "NextCalendarQuarter" | "NextCalendarYear" | "NextFiscalQuarter" | "NextFiscalYear" | "NextFourWeeks" | "NextMonth" | "NextWeek" | "ThisCalendarQuarter" | "ThisCalendarQuarterToDate" | "ThisCalendarYear" | "ThisCalendarYearToDate" | "ThisFiscalQuarter" | "ThisFiscalQuarterToDate" | "ThisFiscalYear" | "ThisFiscalYearToDate" | "ThisMonth" | "ThisMonthToDate" | "ThisWeek" | "ThisWeekToDate" | "Today" | "Yesterday",
|
|
8
|
+
?from_modified_date: String,
|
|
9
|
+
?to_modified_date: String
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type query_params = {
|
|
13
|
+
?currency_filter: Types::currency_filter,
|
|
14
|
+
?include_ret_element: Array["AccountRef" | "Amount" | "AmountInHomeCurrency" | "CurrencyRef" | "EntityRef" | "ExchangeRate" | "Memo" | "RefNumber" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnLineID" | "TxnType"],
|
|
15
|
+
?iterator: bool,
|
|
16
|
+
?max_returned: Integer,
|
|
17
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
18
|
+
?ref_number: Array[String],
|
|
19
|
+
?ref_number_case_sensitive: Array[String],
|
|
20
|
+
?ref_number_filter: Types::ref_number_filter,
|
|
21
|
+
?ref_number_range_filter: Types::ref_number_range_filter,
|
|
22
|
+
?request_id: String,
|
|
23
|
+
?transaction_account_filter: Types::account_filter,
|
|
24
|
+
?transaction_class_filter: Types::entity_filter,
|
|
25
|
+
?transaction_date_range_filter: Types::date_range_filter,
|
|
26
|
+
?transaction_detail_level_filter: "All" | "AllExceptSummary" | "SummaryOnly",
|
|
27
|
+
?transaction_entity_filter: Types::entity_filter_aging_report,
|
|
28
|
+
?transaction_item_filter: Types::item_filter,
|
|
29
|
+
?transaction_modified_date_range_filter: transaction_modified_date_range_filter,
|
|
30
|
+
?transaction_paid_status_filter: "Closed" | "Either" | "Open",
|
|
31
|
+
?transaction_posting_status_filter: "Either" | "NonPosting" | "Posting",
|
|
32
|
+
?transaction_type_filter: Types::type_filter,
|
|
33
|
+
?txn_id: Array[String]
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Transfer < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?amount: Numeric,
|
|
8
|
+
?class_ref: Types::ref,
|
|
9
|
+
?def_macro: String,
|
|
10
|
+
?include_ret_element: Array["Amount" | "ClassRef" | "EditSequence" | "FromAccountBalance" | "Memo" | "TimeCreated" | "TimeModified" | "ToAccountBalance" | "TransferFromAccountRef" | "TransferToAccountRef" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
11
|
+
?memo: String,
|
|
12
|
+
?request_id: String,
|
|
13
|
+
?transfer_from_account_ref: Types::ref,
|
|
14
|
+
?transfer_to_account_ref: Types::ref,
|
|
15
|
+
?txn_date: String
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
type query_params = {
|
|
19
|
+
?include_ret_element: Array["Amount" | "ClassRef" | "EditSequence" | "FromAccountBalance" | "Memo" | "TimeCreated" | "TimeModified" | "ToAccountBalance" | "TransferFromAccountRef" | "TransferToAccountRef" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
20
|
+
?iterator: bool,
|
|
21
|
+
?max_returned: Integer,
|
|
22
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
23
|
+
?modified_date_range_filter: Types::modified_date_range_filter,
|
|
24
|
+
?request_id: String,
|
|
25
|
+
?txn_date_range_filter: Types::date_range_filter,
|
|
26
|
+
?txn_id: Array[String]
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type update_params = {
|
|
30
|
+
?amount: Numeric,
|
|
31
|
+
?class_ref: Types::ref,
|
|
32
|
+
edit_sequence: String,
|
|
33
|
+
?include_ret_element: Array["Amount" | "ClassRef" | "EditSequence" | "FromAccountBalance" | "Memo" | "TimeCreated" | "TimeModified" | "ToAccountBalance" | "TransferFromAccountRef" | "TransferToAccountRef" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
34
|
+
?memo: String,
|
|
35
|
+
?request_id: String,
|
|
36
|
+
?transfer_from_account_ref: Types::ref,
|
|
37
|
+
?transfer_to_account_ref: Types::ref,
|
|
38
|
+
?txn_date: String,
|
|
39
|
+
txn_id: String
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
43
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
44
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class TransferInventory < Base
|
|
6
|
+
type transfer_inventory_line_add = {
|
|
7
|
+
?def_macro: String,
|
|
8
|
+
?from_inventory_site_location_ref: Types::ref,
|
|
9
|
+
?item_ref: Types::ref,
|
|
10
|
+
?lot_number: String,
|
|
11
|
+
?quantity_to_transfer: Numeric,
|
|
12
|
+
?serial_number: String,
|
|
13
|
+
?to_inventory_site_location_ref: Types::ref
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type transfer_inventory_line_mod = {
|
|
17
|
+
?from_inventory_site_location_ref: Types::ref,
|
|
18
|
+
?item_ref: Types::ref,
|
|
19
|
+
?lot_number: String,
|
|
20
|
+
?quantity_to_transfer: Numeric,
|
|
21
|
+
?serial_number: String,
|
|
22
|
+
?to_inventory_site_location_ref: Types::ref,
|
|
23
|
+
txn_line_id: String
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
type create_params = {
|
|
27
|
+
?def_macro: String,
|
|
28
|
+
?external_guid: String,
|
|
29
|
+
from_inventory_site_ref: Types::ref,
|
|
30
|
+
?include_ret_element: Array["EditSequence" | "ExternalGUID" | "FromInventorySiteRef" | "ListID" | "Memo" | "OwnerID" | "RefNumber" | "TimeCreated" | "TimeModified" | "ToInventorySiteRef" | "TransferInventoryLineRet" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
31
|
+
?memo: String,
|
|
32
|
+
?ref_number: String,
|
|
33
|
+
?request_id: String,
|
|
34
|
+
to_inventory_site_ref: Types::ref,
|
|
35
|
+
?transfer_inventory_line_add: Array[transfer_inventory_line_add],
|
|
36
|
+
?txn_date: String
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
type query_params = {
|
|
40
|
+
?account_filter: Types::entity_filter,
|
|
41
|
+
?entity_filter: Types::entity_filter,
|
|
42
|
+
?include_line_items: bool,
|
|
43
|
+
?include_ret_element: Array["EditSequence" | "ExternalGUID" | "FromInventorySiteRef" | "Memo" | "RefNumber" | "TimeCreated" | "TimeModified" | "ToInventorySiteRef" | "TransferInventoryLineRet" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
44
|
+
?iterator: bool,
|
|
45
|
+
?max_returned: Integer,
|
|
46
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
47
|
+
?modified_date_range_filter: Types::modified_date_range_filter,
|
|
48
|
+
?ref_number: Array[String],
|
|
49
|
+
?ref_number_case_sensitive: Array[String],
|
|
50
|
+
?ref_number_filter: Types::ref_number_filter,
|
|
51
|
+
?ref_number_range_filter: Types::ref_number_range_filter,
|
|
52
|
+
?request_id: String,
|
|
53
|
+
?site_filter: Types::currency_filter,
|
|
54
|
+
?txn_date_range_filter: Types::date_range_filter,
|
|
55
|
+
?txn_id: Array[String]
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
type update_params = {
|
|
59
|
+
edit_sequence: String,
|
|
60
|
+
?from_inventory_site_ref: Types::ref,
|
|
61
|
+
?include_ret_element: Array["EditSequence" | "ExternalGUID" | "FromInventorySiteRef" | "ListID" | "Memo" | "OwnerID" | "RefNumber" | "TimeCreated" | "TimeModified" | "ToInventorySiteRef" | "TransferInventoryLineRet" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
62
|
+
?memo: String,
|
|
63
|
+
?ref_number: String,
|
|
64
|
+
?request_id: String,
|
|
65
|
+
?to_inventory_site_ref: Types::ref,
|
|
66
|
+
?transfer_inventory_line_mod: Array[transfer_inventory_line_mod],
|
|
67
|
+
?txn_date: String,
|
|
68
|
+
txn_id: String
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
72
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
73
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Txn < Base
|
|
6
|
+
type delete_params = {
|
|
7
|
+
?request_id: String,
|
|
8
|
+
txn_del_type: "ARRefundCreditCard" | "Bill" | "BillPaymentCheck" | "BillPaymentCreditCard" | "BuildAssembly" | "Charge" | "Check" | "CreditCardCharge" | "CreditCardCredit" | "CreditMemo" | "Deposit" | "Estimate" | "InventoryAdjustment" | "Invoice" | "ItemReceipt" | "JournalEntry" | "PurchaseOrder" | "ReceivePayment" | "SalesOrder" | "SalesReceipt" | "SalesTaxPaymentCheck" | "TimeTracking" | "TransferInventory" | "VehicleMileage" | "VendorCredit",
|
|
9
|
+
txn_id: String
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
def delete: (String connection_id, ?delete_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|