qube_sync 0.3.0 → 0.5.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 +84 -0
- data/README.md +291 -75
- data/Rakefile +12 -0
- data/exe/qube_sync +11 -0
- data/lib/qube_sync/client.rb +614 -0
- data/lib/qube_sync/operations/account.rb +338 -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 +402 -0
- data/lib/qube_sync/operations/bar_code.rb +37 -0
- data/lib/qube_sync/operations/bill.rb +1117 -0
- data/lib/qube_sync/operations/bill_payment_check.rb +420 -0
- data/lib/qube_sync/operations/bill_payment_credit_card.rb +320 -0
- data/lib/qube_sync/operations/bill_to_pay.rb +67 -0
- data/lib/qube_sync/operations/billing_rate.rb +173 -0
- data/lib/qube_sync/operations/budget_summary_report.rb +80 -0
- data/lib/qube_sync/operations/build_assembly.rb +319 -0
- data/lib/qube_sync/operations/charge.rb +454 -0
- data/lib/qube_sync/operations/check.rb +1099 -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 +1044 -0
- data/lib/qube_sync/operations/credit_card_credit.rb +1044 -0
- data/lib/qube_sync/operations/credit_memo.rb +1277 -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 +745 -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 +202 -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 +570 -0
- data/lib/qube_sync/operations/employee.rb +581 -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 +1084 -0
- data/lib/qube_sync/operations/fields.rb +4058 -0
- data/lib/qube_sync/operations/form1099_category_account_mapping.rb +91 -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 +491 -0
- data/lib/qube_sync/operations/inventory_site.rb +214 -0
- data/lib/qube_sync/operations/invoice.rb +1242 -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 +320 -0
- data/lib/qube_sync/operations/item_fixed_asset.rb +318 -0
- data/lib/qube_sync/operations/item_group.rb +255 -0
- data/lib/qube_sync/operations/item_inventory.rb +447 -0
- data/lib/qube_sync/operations/item_inventory_assembly.rb +486 -0
- data/lib/qube_sync/operations/item_non_inventory.rb +472 -0
- data/lib/qube_sync/operations/item_other_charge.rb +445 -0
- data/lib/qube_sync/operations/item_payment.rb +269 -0
- data/lib/qube_sync/operations/item_receipt.rb +1055 -0
- data/lib/qube_sync/operations/item_sales_tax.rb +271 -0
- data/lib/qube_sync/operations/item_sales_tax_group.rb +200 -0
- data/lib/qube_sync/operations/item_service.rb +466 -0
- data/lib/qube_sync/operations/item_sites.rb +98 -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 +533 -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 +57 -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 +129 -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 +309 -0
- data/lib/qube_sync/operations/purchase_order.rb +1065 -0
- data/lib/qube_sync/operations/qb_command_exec.rb +37 -0
- data/lib/qube_sync/operations/receive_payment.rb +634 -0
- data/lib/qube_sync/operations/receive_payment_to_deposit.rb +38 -0
- data/lib/qube_sync/operations/sales_order.rb +1072 -0
- data/lib/qube_sync/operations/sales_receipt.rb +1371 -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 +379 -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 +304 -0
- data/lib/qube_sync/operations/to_do.rb +260 -0
- data/lib/qube_sync/operations/transaction.rb +361 -0
- data/lib/qube_sync/operations/transfer.rb +213 -0
- data/lib/qube_sync/operations/transfer_inventory.rb +393 -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 +663 -0
- data/lib/qube_sync/operations/vendor_credit.rb +1052 -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 +1169 -0
- data/lib/qube_sync/version.rb +1 -1
- data/lib/qube_sync/workflow_types/cli.rb +120 -0
- data/lib/qube_sync/workflow_types/rbs_renderer.rb +290 -0
- data/lib/qube_sync/workflow_types/ruby_renderer.rb +391 -0
- data/lib/qube_sync/workflow_types/workflow.rb +153 -0
- data/lib/qube_sync/workflow_types.rb +219 -0
- data/lib/qube_sync.rb +1 -0
- data/sig/qube_sync/client.rbs +85 -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 +148 -0
- data/sig/qube_sync/workflow_types.rbs +59 -0
- metadata +265 -3
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Estimate < Base
|
|
6
|
+
type estimate_line_add = {
|
|
7
|
+
?amount: Numeric,
|
|
8
|
+
?class_ref: Types::ref,
|
|
9
|
+
?data_ext: Array[Types::data_ext],
|
|
10
|
+
?desc: String,
|
|
11
|
+
?inventory_site_location_ref: Types::ref,
|
|
12
|
+
?inventory_site_ref: Types::ref,
|
|
13
|
+
?item_ref: Types::ref,
|
|
14
|
+
?markup_rate: Numeric,
|
|
15
|
+
?markup_rate_percent: Numeric,
|
|
16
|
+
?option_for_price_rule_conflict: "BasePrice" | "Zero",
|
|
17
|
+
?other1: String,
|
|
18
|
+
?other2: String,
|
|
19
|
+
?override_item_account_ref: Types::ref,
|
|
20
|
+
?price_level_ref: Types::ref,
|
|
21
|
+
?quantity: Numeric,
|
|
22
|
+
?rate: Numeric,
|
|
23
|
+
?rate_percent: Numeric,
|
|
24
|
+
?sales_tax_code_ref: Types::ref,
|
|
25
|
+
?tax_amount: Numeric,
|
|
26
|
+
?unit_of_measure: String
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type estimate_line_group_mod = {
|
|
30
|
+
?estimate_line_mod: Array[estimate_line_mod],
|
|
31
|
+
?item_group_ref: Types::ref,
|
|
32
|
+
?override_uom_set_ref: Types::ref,
|
|
33
|
+
?quantity: Numeric,
|
|
34
|
+
txn_line_id: String,
|
|
35
|
+
?unit_of_measure: String
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
type estimate_line_mod = {
|
|
39
|
+
?amount: Numeric,
|
|
40
|
+
?class_ref: Types::ref,
|
|
41
|
+
?desc: String,
|
|
42
|
+
?inventory_site_location_ref: Types::ref,
|
|
43
|
+
?inventory_site_ref: Types::ref,
|
|
44
|
+
?item_ref: Types::ref,
|
|
45
|
+
?markup_rate: Numeric,
|
|
46
|
+
?markup_rate_percent: Numeric,
|
|
47
|
+
?option_for_price_rule_conflict: "BasePrice" | "Zero",
|
|
48
|
+
?other1: String,
|
|
49
|
+
?other2: String,
|
|
50
|
+
?override_uom_set_ref: Types::ref,
|
|
51
|
+
?price_level_ref: Types::ref,
|
|
52
|
+
?quantity: Numeric,
|
|
53
|
+
?rate: Numeric,
|
|
54
|
+
?rate_percent: Numeric,
|
|
55
|
+
?sales_tax_code_ref: Types::ref,
|
|
56
|
+
?tax_amount: Numeric,
|
|
57
|
+
txn_line_id: String,
|
|
58
|
+
?unit_of_measure: String
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
type create_params = {
|
|
62
|
+
?bill_address: Types::address,
|
|
63
|
+
?class_ref: Types::ref,
|
|
64
|
+
?customer_msg_ref: Types::ref,
|
|
65
|
+
customer_ref: Types::ref,
|
|
66
|
+
?customer_sales_tax_code_ref: Types::ref,
|
|
67
|
+
?def_macro: String,
|
|
68
|
+
?due_date: String,
|
|
69
|
+
?estimate_line_add: Array[estimate_line_add],
|
|
70
|
+
?estimate_line_group_add: Array[Types::item_group_line_add],
|
|
71
|
+
?exchange_rate: Numeric,
|
|
72
|
+
?external_guid: String,
|
|
73
|
+
?fob: String,
|
|
74
|
+
?include_ret_element: Array["BillAddress" | "BillAddressBlock" | "ClassRef" | "CurrencyRef" | "CustomerMsgRef" | "CustomerRef" | "CustomerSalesTaxCodeRef" | "DataExtRet" | "DueDate" | "EditSequence" | "EstimateLineGroupRet" | "EstimateLineRet" | "ExchangeRate" | "ExternalGUID" | "FOB" | "IsActive" | "IsTaxIncluded" | "IsToBeEmailed" | "ItemSalesTaxRef" | "LinkedTxn" | "ListID" | "Memo" | "Other" | "OwnerID" | "PONumber" | "RefNumber" | "SalesRepRef" | "SalesTaxPercentage" | "SalesTaxTotal" | "ShipAddress" | "ShipAddressBlock" | "Subtotal" | "TemplateRef" | "TermsRef" | "TimeCreated" | "TimeModified" | "TotalAmount" | "TotalAmountInHomeCurrency" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
75
|
+
?is_active: bool,
|
|
76
|
+
?is_tax_included: bool,
|
|
77
|
+
?is_to_be_emailed: bool,
|
|
78
|
+
?item_sales_tax_ref: Types::ref,
|
|
79
|
+
?memo: String,
|
|
80
|
+
?other: String,
|
|
81
|
+
?po_number: String,
|
|
82
|
+
?ref_number: String,
|
|
83
|
+
?request_id: String,
|
|
84
|
+
?sales_rep_ref: Types::ref,
|
|
85
|
+
?ship_address: Types::address,
|
|
86
|
+
?template_ref: Types::ref,
|
|
87
|
+
?terms_ref: Types::ref,
|
|
88
|
+
?txn_date: String
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
type query_params = {
|
|
92
|
+
?account_filter: Types::entity_filter,
|
|
93
|
+
?currency_filter: Types::currency_filter,
|
|
94
|
+
?entity_filter: Types::entity_filter,
|
|
95
|
+
?include_line_items: bool,
|
|
96
|
+
?include_linked_txns: bool,
|
|
97
|
+
?include_ret_element: Array["BillAddress" | "BillAddressBlock" | "ClassRef" | "CurrencyRef" | "CustomerMsgRef" | "CustomerRef" | "CustomerSalesTaxCodeRef" | "DataExtRet" | "DueDate" | "EditSequence" | "EstimateLineGroupRet" | "EstimateLineRet" | "ExchangeRate" | "ExternalGUID" | "FOB" | "IsActive" | "IsTaxIncluded" | "IsToBeEmailed" | "ItemSalesTaxRef" | "LinkedTxn" | "Memo" | "Other" | "PONumber" | "RefNumber" | "SalesRepRef" | "SalesTaxPercentage" | "SalesTaxTotal" | "ShipAddress" | "ShipAddressBlock" | "Subtotal" | "TemplateRef" | "TermsRef" | "TimeCreated" | "TimeModified" | "TotalAmount" | "TotalAmountInHomeCurrency" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
98
|
+
?iterator: bool,
|
|
99
|
+
?max_returned: Integer,
|
|
100
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
101
|
+
?modified_date_range_filter: Types::modified_date_range_filter,
|
|
102
|
+
?owner_id: Array[String],
|
|
103
|
+
?ref_number: Array[String],
|
|
104
|
+
?ref_number_case_sensitive: Array[String],
|
|
105
|
+
?ref_number_filter: Types::ref_number_filter,
|
|
106
|
+
?ref_number_range_filter: Types::ref_number_range_filter,
|
|
107
|
+
?request_id: String,
|
|
108
|
+
?txn_date_range_filter: Types::date_range_filter,
|
|
109
|
+
?txn_id: Array[String]
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
type update_params = {
|
|
113
|
+
?bill_address: Types::address,
|
|
114
|
+
?class_ref: Types::ref,
|
|
115
|
+
?create_change_order: bool,
|
|
116
|
+
?customer_msg_ref: Types::ref,
|
|
117
|
+
?customer_ref: Types::ref,
|
|
118
|
+
?customer_sales_tax_code_ref: Types::ref,
|
|
119
|
+
?due_date: String,
|
|
120
|
+
edit_sequence: String,
|
|
121
|
+
?estimate_line_group_mod: Array[estimate_line_group_mod],
|
|
122
|
+
?estimate_line_mod: Array[estimate_line_mod],
|
|
123
|
+
?exchange_rate: Numeric,
|
|
124
|
+
?fob: String,
|
|
125
|
+
?include_ret_element: Array["BillAddress" | "BillAddressBlock" | "ClassRef" | "CurrencyRef" | "CustomerMsgRef" | "CustomerRef" | "CustomerSalesTaxCodeRef" | "DataExtRet" | "DueDate" | "EditSequence" | "EstimateLineGroupRet" | "EstimateLineRet" | "ExchangeRate" | "ExternalGUID" | "FOB" | "IsActive" | "IsTaxIncluded" | "IsToBeEmailed" | "ItemSalesTaxRef" | "LinkedTxn" | "ListID" | "Memo" | "Other" | "OwnerID" | "PONumber" | "RefNumber" | "SalesRepRef" | "SalesTaxPercentage" | "SalesTaxTotal" | "ShipAddress" | "ShipAddressBlock" | "Subtotal" | "TemplateRef" | "TermsRef" | "TimeCreated" | "TimeModified" | "TotalAmount" | "TotalAmountInHomeCurrency" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
126
|
+
?is_active: bool,
|
|
127
|
+
?is_tax_included: bool,
|
|
128
|
+
?is_to_be_emailed: bool,
|
|
129
|
+
?item_sales_tax_ref: Types::ref,
|
|
130
|
+
?memo: String,
|
|
131
|
+
?other: String,
|
|
132
|
+
?po_number: String,
|
|
133
|
+
?ref_number: String,
|
|
134
|
+
?request_id: String,
|
|
135
|
+
?sales_rep_ref: Types::ref,
|
|
136
|
+
?ship_address: Types::address,
|
|
137
|
+
?template_ref: Types::ref,
|
|
138
|
+
?terms_ref: Types::ref,
|
|
139
|
+
?txn_date: String,
|
|
140
|
+
txn_id: String
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
144
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
145
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Form1099CategoryAccountMapping < Base
|
|
6
|
+
type category_account_mapping_mod = {
|
|
7
|
+
?mapping_account: Array[mapping_account],
|
|
8
|
+
mapping_category: "BOX1" | "BOX10" | "BOX13" | "BOX14" | "BOX2" | "BOX3" | "BOX4" | "BOX5" | "BOX6" | "BOX7" | "BOX8" | "BOX9",
|
|
9
|
+
?threshold: Numeric
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type mapping_account = {
|
|
13
|
+
account_ref: Types::ref,
|
|
14
|
+
?force_mapping: bool
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type query_params = {
|
|
18
|
+
?form_type: String,
|
|
19
|
+
?mapping_category: Array["BOX1" | "BOX10" | "BOX13" | "BOX14" | "BOX2" | "BOX3" | "BOX4" | "BOX5" | "BOX6" | "BOX7" | "BOX8" | "BOX9"],
|
|
20
|
+
?request_id: String
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
type update_params = {
|
|
24
|
+
?category_account_mapping_mod: Array[category_account_mapping_mod],
|
|
25
|
+
?is_filing1099_misc: bool,
|
|
26
|
+
?request_id: String
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
30
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
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 GeneralDetailReport < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?display_report: bool,
|
|
8
|
+
general_detail_report_type: "1099Detail" | "AuditTrail" | "BalanceSheetDetail" | "CheckDetail" | "CustomerBalanceDetail" | "DepositDetail" | "EstimatesByJob" | "ExpenseByVendorDetail" | "GeneralLedger" | "IncomeByCustomerDetail" | "IncomeTaxDetail" | "InventoryValuationDetail" | "JobProgressInvoicesVsEstimates" | "Journal" | "MissingChecks" | "OpenInvoices" | "OpenPOs" | "OpenPOsByJob" | "OpenSalesOrderByCustomer" | "OpenSalesOrderByItem" | "PendingSales" | "ProfitAndLossDetail" | "PurchaseByItemDetail" | "PurchaseByVendorDetail" | "SalesByCustomerDetail" | "SalesByItemDetail" | "SalesByRepDetail" | "TxnDetailByAccount" | "TxnListByCustomer" | "TxnListByDate" | "TxnListByVendor" | "UnbilledCostsByJob" | "UnpaidBillsDetail" | "VendorBalanceDetail",
|
|
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_basis: "Accrual" | "Cash" | "None",
|
|
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_open_balance_as_of: "ReportEndDate" | "Today",
|
|
21
|
+
?report_period: Types::report_period,
|
|
22
|
+
?report_posting_status_filter: "Either" | "NonPosting" | "Posting",
|
|
23
|
+
?report_txn_type_filter: Types::type_filter,
|
|
24
|
+
?request_id: String,
|
|
25
|
+
?summarize_rows_by: "Account" | "BalanceSheet" | "Class" | "Customer" | "CustomerType" | "Day" | "Employee" | "FourWeek" | "HalfMonth" | "IncomeStatement" | "ItemDetail" | "ItemType" | "Month" | "Payee" | "PaymentMethod" | "PayrollItemDetail" | "PayrollYtdDetail" | "Quarter" | "SalesRep" | "SalesTaxCode" | "ShipMethod" | "TaxLine" | "Terms" | "TotalOnly" | "TwoWeek" | "Vendor" | "VendorType" | "Week" | "Year"
|
|
26
|
+
}
|
|
27
|
+
|
|
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,32 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class GeneralSummaryReport < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?display_report: bool,
|
|
8
|
+
general_summary_report_type: "BalanceSheetByClass" | "BalanceSheetPrevYearComp" | "BalanceSheetStandard" | "BalanceSheetSummary" | "CustomerBalanceSummary" | "ExpenseByVendorSummary" | "IncomeByCustomerSummary" | "IncomeTaxSummary" | "InventoryStockStatusByItem" | "InventoryStockStatusByVendor" | "InventoryValuationSummary" | "InventoryValuationSummaryBySite" | "LotNumberInStockBySite" | "PhysicalInventoryWorksheet" | "ProfitAndLossByClass" | "ProfitAndLossByJob" | "ProfitAndLossPrevYearComp" | "ProfitAndLossStandard" | "ProfitAndLossYTDComp" | "PurchaseByItemSummary" | "PurchaseByVendorSummary" | "SalesByCustomerSummary" | "SalesByItemSummary" | "SalesByRepSummary" | "SalesTaxLiability" | "SalesTaxRevenueSummary" | "SerialNumberInStockBySite" | "TrialBalance" | "VendorBalanceSummary",
|
|
9
|
+
?include_subcolumns: bool,
|
|
10
|
+
?report_account_filter: Types::account_filter,
|
|
11
|
+
?report_basis: "Accrual" | "Cash" | "None",
|
|
12
|
+
?report_calendar: "CalendarYear" | "FiscalYear" | "TaxYear",
|
|
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
|
+
?return_columns: "ActiveOnly" | "All" | "NonZero",
|
|
25
|
+
?return_rows: "ActiveOnly" | "All" | "NonZero",
|
|
26
|
+
?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"
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
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 Host < Base
|
|
6
|
+
type include_list_meta_data = {
|
|
7
|
+
include_max_capacity: bool
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type query_params = {
|
|
11
|
+
?include_list_meta_data: include_list_meta_data,
|
|
12
|
+
?include_ret_element: Array["Country" | "IsAutomaticLogin" | "ListMetaData" | "MajorVersion" | "MinorVersion" | "ProductName" | "QBFileMode" | "SupportedQBXMLVersion"],
|
|
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,105 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class InventoryAdjustment < Base
|
|
6
|
+
type inventory_adjustment_line_add = {
|
|
7
|
+
item_ref: Types::ref,
|
|
8
|
+
?lot_number_adjustment: lot_number_adjustment,
|
|
9
|
+
?quantity_adjustment: quantity_adjustment,
|
|
10
|
+
?serial_number_adjustment: serial_number_adjustment,
|
|
11
|
+
?value_adjustment: value_adjustment
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
type inventory_adjustment_line_mod = {
|
|
15
|
+
?count_adjustment: Integer,
|
|
16
|
+
?inventory_site_location_ref: Types::ref,
|
|
17
|
+
?item_ref: Types::ref,
|
|
18
|
+
?lot_number: String,
|
|
19
|
+
?quantity_difference: Numeric,
|
|
20
|
+
?serial_number: String,
|
|
21
|
+
txn_line_id: String,
|
|
22
|
+
?value_difference: Numeric
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
type lot_number_adjustment = {
|
|
26
|
+
?count_adjustment: Integer,
|
|
27
|
+
?inventory_site_location_ref: Types::ref,
|
|
28
|
+
?lot_number: String
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
type quantity_adjustment = {
|
|
32
|
+
?inventory_site_location_ref: Types::ref,
|
|
33
|
+
?lot_number: String,
|
|
34
|
+
?new_quantity: Numeric,
|
|
35
|
+
?quantity_difference: Numeric,
|
|
36
|
+
?serial_number: String
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
type serial_number_adjustment = {
|
|
40
|
+
?add_serial_number: String,
|
|
41
|
+
?inventory_site_location_ref: Types::ref,
|
|
42
|
+
?remove_serial_number: String
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
type value_adjustment = {
|
|
46
|
+
?new_quantity: Numeric,
|
|
47
|
+
?quantity_difference: Numeric
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
type create_params = {
|
|
51
|
+
account_ref: Types::ref,
|
|
52
|
+
?class_ref: Types::ref,
|
|
53
|
+
?customer_ref: Types::ref,
|
|
54
|
+
?def_macro: String,
|
|
55
|
+
?external_guid: String,
|
|
56
|
+
?include_ret_element: Array["AccountRef" | "ClassRef" | "CustomerRef" | "DataExtRet" | "EditSequence" | "ExternalGUID" | "InventoryAdjustmentLineRet" | "InventorySiteRef" | "ListID" | "Memo" | "OwnerID" | "RefNumber" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
57
|
+
inventory_adjustment_line_add: Array[inventory_adjustment_line_add],
|
|
58
|
+
?inventory_site_ref: Types::ref,
|
|
59
|
+
?memo: String,
|
|
60
|
+
?ref_number: String,
|
|
61
|
+
?request_id: String,
|
|
62
|
+
?txn_date: String
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
type query_params = {
|
|
66
|
+
?account_filter: Types::entity_filter,
|
|
67
|
+
?entity_filter: Types::entity_filter,
|
|
68
|
+
?include_line_items: bool,
|
|
69
|
+
?include_ret_element: Array["AccountRef" | "ClassRef" | "CustomerRef" | "DataExtRet" | "EditSequence" | "ExternalGUID" | "InventoryAdjustmentLineRet" | "InventorySiteRef" | "Memo" | "RefNumber" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
70
|
+
?item_filter: Types::entity_filter,
|
|
71
|
+
?iterator: bool,
|
|
72
|
+
?max_returned: Integer,
|
|
73
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
74
|
+
?modified_date_range_filter: Types::modified_date_range_filter,
|
|
75
|
+
?owner_id: Array[String],
|
|
76
|
+
?ref_number: Array[String],
|
|
77
|
+
?ref_number_case_sensitive: Array[String],
|
|
78
|
+
?ref_number_filter: Types::ref_number_filter,
|
|
79
|
+
?ref_number_range_filter: Types::ref_number_range_filter,
|
|
80
|
+
?request_id: String,
|
|
81
|
+
?txn_date_range_filter: Types::date_range_filter,
|
|
82
|
+
?txn_id: Array[String]
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
type update_params = {
|
|
86
|
+
?account_ref: Types::ref,
|
|
87
|
+
?class_ref: Types::ref,
|
|
88
|
+
?customer_ref: Types::ref,
|
|
89
|
+
edit_sequence: String,
|
|
90
|
+
?include_ret_element: Array["AccountRef" | "ClassRef" | "CustomerRef" | "DataExtRet" | "EditSequence" | "ExternalGUID" | "InventoryAdjustmentLineRet" | "InventorySiteRef" | "ListID" | "Memo" | "OwnerID" | "RefNumber" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
91
|
+
?inventory_adjustment_line_mod: Array[inventory_adjustment_line_mod],
|
|
92
|
+
?inventory_site_ref: Types::ref,
|
|
93
|
+
?memo: String,
|
|
94
|
+
?ref_number: String,
|
|
95
|
+
?request_id: String,
|
|
96
|
+
?txn_date: String,
|
|
97
|
+
txn_id: String
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
101
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
102
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class InventorySite < Base
|
|
6
|
+
type site_address = {
|
|
7
|
+
?addr1: String,
|
|
8
|
+
?addr2: String,
|
|
9
|
+
?addr3: String,
|
|
10
|
+
?addr4: String,
|
|
11
|
+
?addr5: String,
|
|
12
|
+
?city: String,
|
|
13
|
+
?country: String,
|
|
14
|
+
?postal_code: String,
|
|
15
|
+
?state: String
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
type create_params = {
|
|
19
|
+
?contact: String,
|
|
20
|
+
?email: String,
|
|
21
|
+
?fax: String,
|
|
22
|
+
?include_ret_element: Array["Contact" | "EditSequence" | "Email" | "ExternalGUID" | "Fax" | "IsActive" | "IsDefaultSite" | "ListID" | "Name" | "OwnerID" | "ParentSiteRef" | "Phone" | "SiteAddress" | "SiteAddressBlock" | "SiteDesc" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber"],
|
|
23
|
+
?is_active: bool,
|
|
24
|
+
name: String,
|
|
25
|
+
?parent_site_ref: Types::ref,
|
|
26
|
+
?phone: String,
|
|
27
|
+
?request_id: String,
|
|
28
|
+
?site_address: site_address,
|
|
29
|
+
?site_desc: String
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
type query_params = {
|
|
33
|
+
?active_status: "ActiveOnly" | "All" | "InactiveOnly",
|
|
34
|
+
?from_modified_date: String,
|
|
35
|
+
?full_name: Array[String],
|
|
36
|
+
?include_ret_element: Array["Contact" | "EditSequence" | "Email" | "Fax" | "IsActive" | "IsDefaultSite" | "ListID" | "Name" | "ParentSiteRef" | "Phone" | "SiteAddress" | "SiteAddressBlock" | "SiteDesc" | "TimeCreated" | "TimeModified"],
|
|
37
|
+
?list_id: Array[String],
|
|
38
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
39
|
+
?name_filter: Types::name_filter,
|
|
40
|
+
?name_range_filter: Types::name_range_filter,
|
|
41
|
+
?request_id: String,
|
|
42
|
+
?to_modified_date: String
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
type update_params = {
|
|
46
|
+
?contact: String,
|
|
47
|
+
edit_sequence: String,
|
|
48
|
+
?email: String,
|
|
49
|
+
?fax: String,
|
|
50
|
+
?include_ret_element: Array["Contact" | "EditSequence" | "Email" | "ExternalGUID" | "Fax" | "IsActive" | "IsDefaultSite" | "ListID" | "Name" | "OwnerID" | "ParentSiteRef" | "Phone" | "SiteAddress" | "SiteAddressBlock" | "SiteDesc" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber"],
|
|
51
|
+
?is_active: bool,
|
|
52
|
+
list_id: String,
|
|
53
|
+
?name: String,
|
|
54
|
+
?parent_site_ref: Types::ref,
|
|
55
|
+
?phone: String,
|
|
56
|
+
?request_id: String,
|
|
57
|
+
?site_address: site_address,
|
|
58
|
+
?site_desc: String
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
62
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
63
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Invoice < Base
|
|
6
|
+
type invoice_line_add = {
|
|
7
|
+
?amount: Numeric,
|
|
8
|
+
?class_ref: Types::ref,
|
|
9
|
+
?data_ext: Array[Types::data_ext],
|
|
10
|
+
?def_macro: String,
|
|
11
|
+
?desc: String,
|
|
12
|
+
?inventory_site_location_ref: Types::ref,
|
|
13
|
+
?inventory_site_ref: Types::ref,
|
|
14
|
+
?is_taxable: bool,
|
|
15
|
+
?item_ref: Types::ref,
|
|
16
|
+
?link_to_txn: Types::link_to_txn,
|
|
17
|
+
?lot_number: String,
|
|
18
|
+
?option_for_price_rule_conflict: "BasePrice" | "Zero",
|
|
19
|
+
?other1: String,
|
|
20
|
+
?other2: String,
|
|
21
|
+
?override_item_account_ref: Types::ref,
|
|
22
|
+
?price_level_ref: Types::ref,
|
|
23
|
+
?quantity: Numeric,
|
|
24
|
+
?rate: Numeric,
|
|
25
|
+
?rate_percent: Numeric,
|
|
26
|
+
?sales_tax_code_ref: Types::ref,
|
|
27
|
+
?serial_number: String,
|
|
28
|
+
?service_date: String,
|
|
29
|
+
?tax_amount: Numeric,
|
|
30
|
+
?unit_of_measure: String
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
type invoice_line_group_mod = {
|
|
34
|
+
?invoice_line_mod: Array[Types::line_mod],
|
|
35
|
+
?item_group_ref: Types::ref,
|
|
36
|
+
?override_uom_set_ref: Types::ref,
|
|
37
|
+
?quantity: Numeric,
|
|
38
|
+
txn_line_id: String,
|
|
39
|
+
?unit_of_measure: String
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
type create_params = {
|
|
43
|
+
?ar_account_ref: Types::ref,
|
|
44
|
+
?bill_address: Types::address,
|
|
45
|
+
?class_ref: Types::ref,
|
|
46
|
+
?customer_msg_ref: Types::ref,
|
|
47
|
+
customer_ref: Types::ref,
|
|
48
|
+
?customer_sales_tax_code_ref: Types::ref,
|
|
49
|
+
?def_macro: String,
|
|
50
|
+
?discount_line_add: Types::discount_line_add,
|
|
51
|
+
?due_date: String,
|
|
52
|
+
?exchange_rate: Numeric,
|
|
53
|
+
?external_guid: String,
|
|
54
|
+
?fob: String,
|
|
55
|
+
?include_ret_element: Array["ARAccountRef" | "AppliedAmount" | "BalanceRemaining" | "BalanceRemainingInHomeCurrency" | "BillAddress" | "BillAddressBlock" | "ClassRef" | "CurrencyRef" | "CustomerMsgRef" | "CustomerRef" | "CustomerSalesTaxCodeRef" | "DataExtRet" | "DiscountLineRet" | "DueDate" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "FOB" | "InvoiceLineGroupRet" | "InvoiceLineRet" | "IsFinanceCharge" | "IsPaid" | "IsPending" | "IsTaxIncluded" | "IsToBeEmailed" | "IsToBePrinted" | "ItemSalesTaxRef" | "LinkedTxn" | "ListID" | "Memo" | "Other" | "OwnerID" | "PONumber" | "RefNumber" | "SalesRepRef" | "SalesTaxLineRet" | "SalesTaxPercentage" | "SalesTaxTotal" | "ShipAddress" | "ShipAddressBlock" | "ShipDate" | "ShipMethodRef" | "ShippingLineRet" | "Subtotal" | "SuggestedDiscountAmount" | "SuggestedDiscountDate" | "TemplateRef" | "TermsRef" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
56
|
+
?invoice_line_add: Array[invoice_line_add],
|
|
57
|
+
?invoice_line_group_add: Array[Types::line_group_add],
|
|
58
|
+
?is_finance_charge: bool,
|
|
59
|
+
?is_pending: bool,
|
|
60
|
+
?is_tax_included: bool,
|
|
61
|
+
?is_to_be_emailed: bool,
|
|
62
|
+
?is_to_be_printed: bool,
|
|
63
|
+
?item_sales_tax_ref: Types::ref,
|
|
64
|
+
?link_to_txn_id: Array[String],
|
|
65
|
+
?memo: String,
|
|
66
|
+
?other: String,
|
|
67
|
+
?po_number: String,
|
|
68
|
+
?ref_number: String,
|
|
69
|
+
?request_id: String,
|
|
70
|
+
?sales_rep_ref: Types::ref,
|
|
71
|
+
?sales_tax_line_add: Types::sales_tax_line_add,
|
|
72
|
+
?set_credit: Array[Types::set_credit],
|
|
73
|
+
?ship_address: Types::address,
|
|
74
|
+
?ship_date: String,
|
|
75
|
+
?ship_method_ref: Types::ref,
|
|
76
|
+
?shipping_line_add: Types::shipping_line_add,
|
|
77
|
+
?template_ref: Types::ref,
|
|
78
|
+
?terms_ref: Types::ref,
|
|
79
|
+
?txn_date: String
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
type query_params = {
|
|
83
|
+
?account_filter: Types::entity_filter,
|
|
84
|
+
?currency_filter: Types::currency_filter,
|
|
85
|
+
?entity_filter: Types::entity_filter,
|
|
86
|
+
?include_line_items: bool,
|
|
87
|
+
?include_linked_txns: bool,
|
|
88
|
+
?include_ret_element: Array["ARAccountRef" | "AppliedAmount" | "BalanceRemaining" | "BalanceRemainingInHomeCurrency" | "BillAddress" | "BillAddressBlock" | "ClassRef" | "CurrencyRef" | "CustomerMsgRef" | "CustomerRef" | "CustomerSalesTaxCodeRef" | "DataExtRet" | "DiscountLineRet" | "DueDate" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "FOB" | "InvoiceLineGroupRet" | "InvoiceLineRet" | "IsFinanceCharge" | "IsPaid" | "IsPending" | "IsTaxIncluded" | "IsToBeEmailed" | "IsToBePrinted" | "ItemSalesTaxRef" | "LinkedTxn" | "Memo" | "Other" | "PONumber" | "RefNumber" | "SalesRepRef" | "SalesTaxLineRet" | "SalesTaxPercentage" | "SalesTaxTotal" | "ShipAddress" | "ShipAddressBlock" | "ShipDate" | "ShipMethodRef" | "ShippingLineRet" | "Subtotal" | "SuggestedDiscountAmount" | "SuggestedDiscountDate" | "TemplateRef" | "TermsRef" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
89
|
+
?iterator: bool,
|
|
90
|
+
?max_returned: Integer,
|
|
91
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
92
|
+
?modified_date_range_filter: Types::modified_date_range_filter,
|
|
93
|
+
?owner_id: Array[String],
|
|
94
|
+
?paid_status: "All" | "NotPaidOnly" | "PaidOnly",
|
|
95
|
+
?ref_number: Array[String],
|
|
96
|
+
?ref_number_case_sensitive: Array[String],
|
|
97
|
+
?ref_number_filter: Types::ref_number_filter,
|
|
98
|
+
?ref_number_range_filter: Types::ref_number_range_filter,
|
|
99
|
+
?request_id: String,
|
|
100
|
+
?txn_date_range_filter: Types::date_range_filter,
|
|
101
|
+
?txn_id: Array[String]
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
type update_params = {
|
|
105
|
+
?ar_account_ref: Types::ref,
|
|
106
|
+
?bill_address: Types::address,
|
|
107
|
+
?class_ref: Types::ref,
|
|
108
|
+
?customer_msg_ref: Types::ref,
|
|
109
|
+
?customer_ref: Types::ref,
|
|
110
|
+
?customer_sales_tax_code_ref: Types::ref,
|
|
111
|
+
?due_date: String,
|
|
112
|
+
edit_sequence: String,
|
|
113
|
+
?exchange_rate: Numeric,
|
|
114
|
+
?fob: String,
|
|
115
|
+
?include_ret_element: Array["ARAccountRef" | "AppliedAmount" | "BalanceRemaining" | "BalanceRemainingInHomeCurrency" | "BillAddress" | "BillAddressBlock" | "ClassRef" | "CurrencyRef" | "CustomerMsgRef" | "CustomerRef" | "CustomerSalesTaxCodeRef" | "DataExtRet" | "DiscountLineRet" | "DueDate" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "FOB" | "InvoiceLineGroupRet" | "InvoiceLineRet" | "IsFinanceCharge" | "IsPaid" | "IsPending" | "IsTaxIncluded" | "IsToBeEmailed" | "IsToBePrinted" | "ItemSalesTaxRef" | "LinkedTxn" | "ListID" | "Memo" | "Other" | "OwnerID" | "PONumber" | "RefNumber" | "SalesRepRef" | "SalesTaxLineRet" | "SalesTaxPercentage" | "SalesTaxTotal" | "ShipAddress" | "ShipAddressBlock" | "ShipDate" | "ShipMethodRef" | "ShippingLineRet" | "Subtotal" | "SuggestedDiscountAmount" | "SuggestedDiscountDate" | "TemplateRef" | "TermsRef" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
|
|
116
|
+
?invoice_line_group_mod: Array[invoice_line_group_mod],
|
|
117
|
+
?invoice_line_mod: Array[Types::line_mod],
|
|
118
|
+
?is_pending: bool,
|
|
119
|
+
?is_tax_included: bool,
|
|
120
|
+
?is_to_be_emailed: bool,
|
|
121
|
+
?is_to_be_printed: bool,
|
|
122
|
+
?item_sales_tax_ref: Types::ref,
|
|
123
|
+
?memo: String,
|
|
124
|
+
?other: String,
|
|
125
|
+
?po_number: String,
|
|
126
|
+
?ref_number: String,
|
|
127
|
+
?request_id: String,
|
|
128
|
+
?sales_rep_ref: Types::ref,
|
|
129
|
+
?set_credit: Array[Types::set_credit],
|
|
130
|
+
?ship_address: Types::address,
|
|
131
|
+
?ship_date: String,
|
|
132
|
+
?ship_method_ref: Types::ref,
|
|
133
|
+
?template_ref: Types::ref,
|
|
134
|
+
?terms_ref: Types::ref,
|
|
135
|
+
?txn_date: String,
|
|
136
|
+
txn_id: String
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
140
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
141
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
142
|
+
end
|
|
143
|
+
end
|
|
144
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Item < 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["AccountRef" | "AcquiredAs" | "AssetAccountRef" | "AssetDesc" | "AssetNumber" | "AverageCost" | "BarCodeValue" | "BuildPoint" | "COGSAccountRef" | "ClassRef" | "CostBasis" | "DataExtRet" | "DepositToAccountRef" | "DiscountRate" | "DiscountRatePercent" | "EditSequence" | "ExternalGUID" | "FixedAssetSalesInfo" | "FullName" | "IncomeAccountRef" | "IsActive" | "IsPrintItemsInGroup" | "IsTaxIncluded" | "ItemDesc" | "ItemGroupLine" | "ItemInventoryAssemblyLine" | "ItemSalesTaxRef" | "ListID" | "Location" | "ManufacturerPartNumber" | "Max" | "Name" | "Notes" | "PONumber" | "ParentRef" | "PaymentMethodRef" | "PrefVendorRef" | "PurchaseCost" | "PurchaseDate" | "PurchaseDesc" | "PurchaseTaxCodeRef" | "QuantityOnHand" | "QuantityOnOrder" | "QuantityOnSalesOrder" | "ReorderPoint" | "SalesAndPurchase" | "SalesDesc" | "SalesOrPurchase" | "SalesPrice" | "SalesTaxCodeRef" | "SalesTaxReturnLineRef" | "SerialNumber" | "SpecialItemType" | "Sublevel" | "TaxRate" | "TaxVendorRef" | "TimeCreated" | "TimeModified" | "UnitOfMeasureSetRef" | "VendorOrPayeeName" | "WarrantyExpDate" | "YearEndAccumulatedDepreciation" | "YearEndBookValue"],
|
|
11
|
+
?iterator: bool,
|
|
12
|
+
?list_id: Array[String],
|
|
13
|
+
?max_returned: Integer,
|
|
14
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
15
|
+
?name_filter: Types::name_filter,
|
|
16
|
+
?name_range_filter: Types::name_range_filter,
|
|
17
|
+
?owner_id: Array[String],
|
|
18
|
+
?request_id: String,
|
|
19
|
+
?to_modified_date: String
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
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 ItemAssembliesCanBuild < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
item_inventory_assembly_ref: Types::ref,
|
|
8
|
+
?request_id: String,
|
|
9
|
+
txn_date: 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
|