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,17 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class TxnDeleted < Base
|
|
6
|
+
type query_params = {
|
|
7
|
+
?deleted_date_range_filter: Types::deleted_date_range_filter,
|
|
8
|
+
?include_ret_element: Array["RefNumber" | "TimeCreated" | "TimeDeleted" | "TxnDelType" | "TxnID"],
|
|
9
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
10
|
+
?request_id: String,
|
|
11
|
+
txn_del_type: Array["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"]
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class TxnDisplay < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?entity_ref: Types::ref,
|
|
8
|
+
?request_id: String,
|
|
9
|
+
txn_display_add_type: "Bill" | "BillPayment" | "BuildAssembly" | "Charge" | "Check" | "CreditCardCharge" | "CreditCardCredit" | "CreditMemo" | "Deposit" | "Estimate" | "InventoryAdjustment" | "Invoice" | "ItemReceipt" | "JournalEntry" | "PurchaseOrder" | "ReceivePayment" | "SalesOrder" | "SalesReceipt" | "SalesTaxPaymentCheck" | "VendorCredit"
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type update_params = {
|
|
13
|
+
?request_id: String,
|
|
14
|
+
txn_display_mod_type: "Bill" | "BillPaymentCheck" | "BillPaymentCreditCard" | "BuildAssembly" | "Charge" | "Check" | "CreditCardCharge" | "CreditCardCredit" | "CreditMemo" | "Deposit" | "Estimate" | "InventoryAdjustment" | "Invoice" | "ItemReceipt" | "JournalEntry" | "PurchaseOrder" | "ReceivePayment" | "SalesOrder" | "SalesReceipt" | "SalesTaxPaymentCheck" | "VendorCredit",
|
|
15
|
+
txn_id: String
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
19
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
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 TxnVoid < Base
|
|
6
|
+
type execute_params = {
|
|
7
|
+
?request_id: String,
|
|
8
|
+
txn_id: String,
|
|
9
|
+
txn_void_type: "ARRefundCreditCard" | "Bill" | "BillPaymentCheck" | "BillPaymentCreditCard" | "Charge" | "Check" | "CreditCardCharge" | "CreditCardCredit" | "CreditMemo" | "Deposit" | "InventoryAdjustment" | "Invoice" | "ItemReceipt" | "JournalEntry" | "SalesReceipt" | "VendorCredit"
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
def execute: (String connection_id, ?execute_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
# Nested params records used by more than one entity.
|
|
6
|
+
module Types
|
|
7
|
+
type account_filter = {
|
|
8
|
+
?account_type_filter: "APAndSalesTax" | "APOrCreditCard" | "ARAndAP" | "AccountsPayable" | "AccountsReceivable" | "AllowedFor1099" | "Asset" | "BalanceSheet" | "Bank" | "BankAndARAndAPAndUF" | "BankAndUF" | "CostOfSales" | "CreditCard" | "CurrentAsset" | "CurrentAssetAndExpense" | "CurrentLiability" | "Equity" | "EquityAndIncomeAndExpense" | "ExpenseAndOtherExpense" | "FixedAsset" | "IncomeAndExpense" | "IncomeAndOtherIncome" | "Liability" | "LiabilityAndEquity" | "LongTermLiability" | "NonPosting" | "OrdinaryExpense" | "OrdinaryIncome" | "OrdinaryIncomeAndCOGS" | "OrdinaryIncomeAndExpense" | "OtherAsset" | "OtherCurrentAsset" | "OtherCurrentLiability" | "OtherExpense" | "OtherIncome" | "OtherIncomeOrExpense",
|
|
9
|
+
?full_name: Array[String],
|
|
10
|
+
?full_name_with_children: String,
|
|
11
|
+
?list_id: Array[String],
|
|
12
|
+
?list_id_with_children: String
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
type additional_contact_ref = {
|
|
16
|
+
contact_name: String,
|
|
17
|
+
contact_value: String
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
type additional_notes = {
|
|
21
|
+
note: String
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type additional_notes_mod = {
|
|
25
|
+
note: String,
|
|
26
|
+
note_id: Integer
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type address = {
|
|
30
|
+
?addr1: String,
|
|
31
|
+
?addr2: String,
|
|
32
|
+
?addr3: String,
|
|
33
|
+
?addr4: String,
|
|
34
|
+
?addr5: String,
|
|
35
|
+
?city: String,
|
|
36
|
+
?country: String,
|
|
37
|
+
?note: String,
|
|
38
|
+
?postal_code: String,
|
|
39
|
+
?state: String
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
type applied_to_txn_add = {
|
|
43
|
+
?discount_account_ref: Types::ref,
|
|
44
|
+
?discount_amount: Numeric,
|
|
45
|
+
?discount_class_ref: Types::ref,
|
|
46
|
+
?payment_amount: Numeric,
|
|
47
|
+
?set_credit: Array[Types::set_credit],
|
|
48
|
+
txn_id: String,
|
|
49
|
+
?txn_line_detail: Array[Types::txn_line_detail]
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
type applied_to_txn_mod = {
|
|
53
|
+
?discount_account_ref: Types::ref,
|
|
54
|
+
?discount_amount: Numeric,
|
|
55
|
+
?discount_class_ref: Types::ref,
|
|
56
|
+
?payment_amount: Numeric,
|
|
57
|
+
?set_credit: Array[Types::set_credit],
|
|
58
|
+
txn_id: String
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
type bar_code = {
|
|
62
|
+
?allow_override: bool,
|
|
63
|
+
?assign_even_if_used: bool,
|
|
64
|
+
?bar_code_value: String
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
type contacts = {
|
|
68
|
+
?additional_contact_ref: Array[Types::additional_contact_ref],
|
|
69
|
+
first_name: String,
|
|
70
|
+
?job_title: String,
|
|
71
|
+
?last_name: String,
|
|
72
|
+
?middle_name: String,
|
|
73
|
+
?salutation: String
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
type contacts_mod = {
|
|
77
|
+
?additional_contact_ref: Array[Types::additional_contact_ref],
|
|
78
|
+
?edit_sequence: String,
|
|
79
|
+
first_name: String,
|
|
80
|
+
?job_title: String,
|
|
81
|
+
?last_name: String,
|
|
82
|
+
?list_id: String,
|
|
83
|
+
?middle_name: String,
|
|
84
|
+
?salutation: String
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
type credit_card_txn_info = {
|
|
88
|
+
credit_card_txn_input_info: Types::credit_card_txn_input_info,
|
|
89
|
+
credit_card_txn_result_info: Types::credit_card_txn_result_info
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
type credit_card_txn_input_info = {
|
|
93
|
+
?commercial_card_code: String,
|
|
94
|
+
?credit_card_address: String,
|
|
95
|
+
credit_card_number: String,
|
|
96
|
+
?credit_card_postal_code: String,
|
|
97
|
+
?credit_card_txn_type: "Authorization" | "Capture" | "Charge" | "Refund" | "VoiceAuthorization",
|
|
98
|
+
expiration_month: Integer,
|
|
99
|
+
expiration_year: Integer,
|
|
100
|
+
name_on_card: String,
|
|
101
|
+
?transaction_mode: "CardNotPresent" | "CardPresent"
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
type credit_card_txn_result_info = {
|
|
105
|
+
?authorization_code: String,
|
|
106
|
+
?avs_street: "Fail" | "NotAvailable" | "Pass",
|
|
107
|
+
?avs_zip: "Fail" | "NotAvailable" | "Pass",
|
|
108
|
+
?card_security_code_match: "Fail" | "NotAvailable" | "Pass",
|
|
109
|
+
?client_trans_id: String,
|
|
110
|
+
credit_card_trans_id: String,
|
|
111
|
+
merchant_account_number: String,
|
|
112
|
+
?payment_grouping_code: Integer,
|
|
113
|
+
payment_status: "Completed" | "Unknown",
|
|
114
|
+
?recon_batch_id: String,
|
|
115
|
+
result_code: Integer,
|
|
116
|
+
result_message: String,
|
|
117
|
+
?txn_authorization_stamp: Integer,
|
|
118
|
+
txn_authorization_time: String
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
type currency_filter = {
|
|
122
|
+
?full_name: Array[String],
|
|
123
|
+
?list_id: Array[String]
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
type data_ext = {
|
|
127
|
+
data_ext_name: String,
|
|
128
|
+
data_ext_value: String,
|
|
129
|
+
owner_id: String
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
type date_range_filter = {
|
|
133
|
+
?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",
|
|
134
|
+
?from_txn_date: String,
|
|
135
|
+
?to_txn_date: String
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
type deleted_date_range_filter = {
|
|
139
|
+
?from_deleted_date: String,
|
|
140
|
+
?to_deleted_date: String
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
type discount_line_add = {
|
|
144
|
+
?account_ref: Types::ref,
|
|
145
|
+
?amount: Numeric,
|
|
146
|
+
?is_taxable: bool,
|
|
147
|
+
?rate_percent: Numeric
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
type earnings = {
|
|
151
|
+
payroll_item_wage_ref: Types::ref,
|
|
152
|
+
?rate: Numeric,
|
|
153
|
+
?rate_percent: Numeric
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
type entity_filter = {
|
|
157
|
+
?full_name: Array[String],
|
|
158
|
+
?full_name_with_children: String,
|
|
159
|
+
?list_id: Array[String],
|
|
160
|
+
?list_id_with_children: String
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
type entity_filter_aging_report = {
|
|
164
|
+
?entity_type_filter: "Customer" | "Employee" | "OtherName" | "Vendor",
|
|
165
|
+
?full_name: Array[String],
|
|
166
|
+
?full_name_with_children: String,
|
|
167
|
+
?list_id: Array[String],
|
|
168
|
+
?list_id_with_children: String
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
type expense_line_add = {
|
|
172
|
+
?account_ref: Types::ref,
|
|
173
|
+
?amount: Numeric,
|
|
174
|
+
?billable_status: "Billable" | "HasBeenBilled" | "NotBillable",
|
|
175
|
+
?class_ref: Types::ref,
|
|
176
|
+
?customer_ref: Types::ref,
|
|
177
|
+
?data_ext: Array[Types::data_ext],
|
|
178
|
+
?def_macro: String,
|
|
179
|
+
?memo: String,
|
|
180
|
+
?sales_rep_ref: Types::ref,
|
|
181
|
+
?sales_tax_code_ref: Types::ref,
|
|
182
|
+
?tax_amount: Numeric
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
type expense_line_mod = {
|
|
186
|
+
?account_ref: Types::ref,
|
|
187
|
+
?amount: Numeric,
|
|
188
|
+
?billable_status: "Billable" | "HasBeenBilled" | "NotBillable",
|
|
189
|
+
?class_ref: Types::ref,
|
|
190
|
+
?customer_ref: Types::ref,
|
|
191
|
+
?memo: String,
|
|
192
|
+
?sales_rep_ref: Types::ref,
|
|
193
|
+
?sales_tax_code_ref: Types::ref,
|
|
194
|
+
?tax_amount: Numeric,
|
|
195
|
+
txn_line_id: String
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
type item_filter = {
|
|
199
|
+
?full_name: Array[String],
|
|
200
|
+
?full_name_with_children: String,
|
|
201
|
+
?item_type_filter: "AllExceptFixedAsset" | "Assembly" | "Discount" | "FixedAsset" | "Inventory" | "InventoryAndAssembly" | "NonInventory" | "OtherCharge" | "Payment" | "Sales" | "SalesTax" | "Service",
|
|
202
|
+
?list_id: Array[String],
|
|
203
|
+
?list_id_with_children: String
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
type item_group_line_add = {
|
|
207
|
+
?data_ext: Array[Types::data_ext],
|
|
208
|
+
?desc: String,
|
|
209
|
+
?inventory_site_location_ref: Types::ref,
|
|
210
|
+
?inventory_site_ref: Types::ref,
|
|
211
|
+
item_group_ref: Types::ref,
|
|
212
|
+
?quantity: Numeric,
|
|
213
|
+
?unit_of_measure: String
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
type item_group_line_mod = {
|
|
217
|
+
?item_group_ref: Types::ref,
|
|
218
|
+
?item_line_mod: Array[Types::item_line_mod],
|
|
219
|
+
?override_uom_set_ref: Types::ref,
|
|
220
|
+
?quantity: Numeric,
|
|
221
|
+
txn_line_id: String,
|
|
222
|
+
?unit_of_measure: String
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
type item_line_add = {
|
|
226
|
+
?amount: Numeric,
|
|
227
|
+
?billable_status: "Billable" | "HasBeenBilled" | "NotBillable",
|
|
228
|
+
?class_ref: Types::ref,
|
|
229
|
+
?cost: Numeric,
|
|
230
|
+
?customer_ref: Types::ref,
|
|
231
|
+
?data_ext: Array[Types::data_ext],
|
|
232
|
+
?desc: String,
|
|
233
|
+
?inventory_site_location_ref: Types::ref,
|
|
234
|
+
?inventory_site_ref: Types::ref,
|
|
235
|
+
?item_ref: Types::ref,
|
|
236
|
+
?link_to_txn: Types::link_to_txn,
|
|
237
|
+
?lot_number: String,
|
|
238
|
+
?override_item_account_ref: Types::ref,
|
|
239
|
+
?quantity: Numeric,
|
|
240
|
+
?sales_rep_ref: Types::ref,
|
|
241
|
+
?sales_tax_code_ref: Types::ref,
|
|
242
|
+
?serial_number: String,
|
|
243
|
+
?tax_amount: Numeric,
|
|
244
|
+
?unit_of_measure: String
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
type item_line_mod = {
|
|
248
|
+
?amount: Numeric,
|
|
249
|
+
?billable_status: "Billable" | "HasBeenBilled" | "NotBillable",
|
|
250
|
+
?class_ref: Types::ref,
|
|
251
|
+
?cost: Numeric,
|
|
252
|
+
?customer_ref: Types::ref,
|
|
253
|
+
?desc: String,
|
|
254
|
+
?inventory_site_location_ref: Types::ref,
|
|
255
|
+
?inventory_site_ref: Types::ref,
|
|
256
|
+
?item_ref: Types::ref,
|
|
257
|
+
?lot_number: String,
|
|
258
|
+
?override_item_account_ref: Types::ref,
|
|
259
|
+
?override_uom_set_ref: Types::ref,
|
|
260
|
+
?quantity: Numeric,
|
|
261
|
+
?sales_rep_ref: Types::ref,
|
|
262
|
+
?sales_tax_code_ref: Types::ref,
|
|
263
|
+
?serial_number: String,
|
|
264
|
+
?tax_amount: Numeric,
|
|
265
|
+
txn_line_id: String,
|
|
266
|
+
?unit_of_measure: String
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
type liability_payment_schedule = {
|
|
270
|
+
?payment_due_date: String,
|
|
271
|
+
?payment_due_num_days_after: Integer,
|
|
272
|
+
payment_schedule_type: "Empty" | "FederalMonthly" | "FederalNextDay" | "FederalQuarterly" | "FederalSemiweekly" | "Monthly" | "Quarterly" | "Semiweekly" | "Weekly" | "Yearly"
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
type line_group_add = {
|
|
276
|
+
?data_ext: Array[Types::data_ext],
|
|
277
|
+
?desc: String,
|
|
278
|
+
?inventory_site_location_ref: Types::ref,
|
|
279
|
+
?inventory_site_ref: Types::ref,
|
|
280
|
+
item_group_ref: Types::ref,
|
|
281
|
+
?quantity: Numeric,
|
|
282
|
+
?service_date: String,
|
|
283
|
+
?unit_of_measure: String
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
type line_mod = {
|
|
287
|
+
?amount: Numeric,
|
|
288
|
+
?class_ref: Types::ref,
|
|
289
|
+
?desc: String,
|
|
290
|
+
?inventory_site_location_ref: Types::ref,
|
|
291
|
+
?inventory_site_ref: Types::ref,
|
|
292
|
+
?item_ref: Types::ref,
|
|
293
|
+
?lot_number: String,
|
|
294
|
+
?option_for_price_rule_conflict: "BasePrice" | "Zero",
|
|
295
|
+
?other1: String,
|
|
296
|
+
?other2: String,
|
|
297
|
+
?override_item_account_ref: Types::ref,
|
|
298
|
+
?override_uom_set_ref: Types::ref,
|
|
299
|
+
?price_level_ref: Types::ref,
|
|
300
|
+
?quantity: Numeric,
|
|
301
|
+
?rate: Numeric,
|
|
302
|
+
?rate_percent: Numeric,
|
|
303
|
+
?sales_tax_code_ref: Types::ref,
|
|
304
|
+
?serial_number: String,
|
|
305
|
+
?service_date: String,
|
|
306
|
+
?tax_amount: Numeric,
|
|
307
|
+
txn_line_id: String,
|
|
308
|
+
?unit_of_measure: String
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
type link_to_txn = {
|
|
312
|
+
txn_id: String,
|
|
313
|
+
txn_line_id: String
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
type modified_date_range_filter = {
|
|
317
|
+
?from_modified_date: String,
|
|
318
|
+
?to_modified_date: String
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
type name_filter = {
|
|
322
|
+
match_criterion: "Contains" | "EndsWith" | "StartsWith",
|
|
323
|
+
name: String
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
type name_range_filter = {
|
|
327
|
+
?from_name: String,
|
|
328
|
+
?to_name: String
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
type payroll_date_range_filter = {
|
|
332
|
+
?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",
|
|
333
|
+
?from_payroll_date: String,
|
|
334
|
+
?to_payroll_date: String
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
type ref = {
|
|
338
|
+
?full_name: String,
|
|
339
|
+
?list_id: String
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
type ref_number_filter = {
|
|
343
|
+
match_criterion: "Contains" | "EndsWith" | "StartsWith",
|
|
344
|
+
ref_number: String
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
type ref_number_range_filter = {
|
|
348
|
+
?from_ref_number: String,
|
|
349
|
+
?to_ref_number: String
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
type report_modified_date_range_filter = {
|
|
353
|
+
?from_report_modified_date: String,
|
|
354
|
+
?to_report_modified_date: String
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
type report_period = {
|
|
358
|
+
?from_report_date: String,
|
|
359
|
+
?to_report_date: String
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
type sales_and_purchase = {
|
|
363
|
+
?expense_account_ref: Types::ref,
|
|
364
|
+
?income_account_ref: Types::ref,
|
|
365
|
+
?pref_vendor_ref: Types::ref,
|
|
366
|
+
?purchase_cost: Numeric,
|
|
367
|
+
?purchase_desc: String,
|
|
368
|
+
?purchase_tax_code_ref: Types::ref,
|
|
369
|
+
?sales_desc: String,
|
|
370
|
+
?sales_price: Numeric
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
type sales_and_purchase_mod = {
|
|
374
|
+
?apply_expense_account_ref_to_existing_txns: bool,
|
|
375
|
+
?apply_income_account_ref_to_existing_txns: bool,
|
|
376
|
+
?expense_account_ref: Types::ref,
|
|
377
|
+
?income_account_ref: Types::ref,
|
|
378
|
+
?pref_vendor_ref: Types::ref,
|
|
379
|
+
?purchase_cost: Numeric,
|
|
380
|
+
?purchase_desc: String,
|
|
381
|
+
?purchase_tax_code_ref: Types::ref,
|
|
382
|
+
?sales_desc: String,
|
|
383
|
+
?sales_price: Numeric
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
type sales_or_purchase = {
|
|
387
|
+
?account_ref: Types::ref,
|
|
388
|
+
?desc: String,
|
|
389
|
+
?price: Numeric,
|
|
390
|
+
?price_percent: Numeric
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
type sales_or_purchase_mod = {
|
|
394
|
+
?account_ref: Types::ref,
|
|
395
|
+
?apply_account_ref_to_existing_txns: bool,
|
|
396
|
+
?desc: String,
|
|
397
|
+
?price: Numeric,
|
|
398
|
+
?price_percent: Numeric
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
type sales_tax_line_add = {
|
|
402
|
+
?account_ref: Types::ref,
|
|
403
|
+
?amount: Numeric,
|
|
404
|
+
?rate_percent: Numeric
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
type set_credit = {
|
|
408
|
+
applied_amount: Numeric,
|
|
409
|
+
credit_txn_id: String,
|
|
410
|
+
?override: bool,
|
|
411
|
+
?txn_line_id: String
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
type shipping_line_add = {
|
|
415
|
+
?account_ref: Types::ref,
|
|
416
|
+
amount: Numeric
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
type taxability = {
|
|
420
|
+
is_tax_applied: bool,
|
|
421
|
+
payroll_item_tax_ref: Types::ref
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
type txn_line_detail = {
|
|
425
|
+
amount: Numeric,
|
|
426
|
+
txn_line_id: String
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
type type_filter = {
|
|
430
|
+
txn_type_filter: Array["ARRefundCreditCard" | "All" | "Bill" | "BillPaymentCheck" | "BillPaymentCreditCard" | "BuildAssembly" | "Charge" | "Check" | "CreditCardCharge" | "CreditCardCredit" | "CreditMemo" | "Deposit" | "Estimate" | "InventoryAdjustment" | "Invoice" | "ItemReceipt" | "JournalEntry" | "LiabilityAdjustment" | "Paycheck" | "PayrollLiabilityCheck" | "PurchaseOrder" | "ReceivePayment" | "SalesOrder" | "SalesReceipt" | "SalesTaxPaymentCheck" | "Transfer" | "VendorCredit" | "YTDAdjustment"]
|
|
431
|
+
}
|
|
432
|
+
end
|
|
433
|
+
end
|
|
434
|
+
end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class UnitOfMeasureSet < Base
|
|
6
|
+
type base_unit = {
|
|
7
|
+
abbreviation: String,
|
|
8
|
+
name: String
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
type default_unit = {
|
|
12
|
+
unit: String,
|
|
13
|
+
unit_used_for: "Purchase" | "Sales" | "Shipping"
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type related_unit = {
|
|
17
|
+
abbreviation: String,
|
|
18
|
+
conversion_ratio: Numeric,
|
|
19
|
+
name: String
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
type create_params = {
|
|
23
|
+
base_unit: base_unit,
|
|
24
|
+
?default_unit: Array[default_unit],
|
|
25
|
+
?include_ret_element: Array["BaseUnit" | "DefaultUnit" | "EditSequence" | "ExternalGUID" | "IsActive" | "ListID" | "Name" | "OwnerID" | "RelatedUnit" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber" | "UnitOfMeasureType"],
|
|
26
|
+
?is_active: bool,
|
|
27
|
+
name: String,
|
|
28
|
+
?related_unit: Array[related_unit],
|
|
29
|
+
?request_id: String,
|
|
30
|
+
unit_of_measure_type: "Area" | "Count" | "Length" | "Other" | "Time" | "Volume" | "Weight"
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
type query_params = {
|
|
34
|
+
?active_status: "ActiveOnly" | "All" | "InactiveOnly",
|
|
35
|
+
?from_modified_date: String,
|
|
36
|
+
?full_name: Array[String],
|
|
37
|
+
?include_ret_element: Array["BaseUnit" | "DefaultUnit" | "EditSequence" | "IsActive" | "ListID" | "Name" | "RelatedUnit" | "TimeCreated" | "TimeModified" | "UnitOfMeasureType"],
|
|
38
|
+
?list_id: Array[String],
|
|
39
|
+
?max_returned: Integer,
|
|
40
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
41
|
+
?name_filter: Types::name_filter,
|
|
42
|
+
?name_range_filter: Types::name_range_filter,
|
|
43
|
+
?request_id: String,
|
|
44
|
+
?to_modified_date: String
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
48
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Vehicle < Base
|
|
6
|
+
type create_params = {
|
|
7
|
+
?desc: String,
|
|
8
|
+
?include_ret_element: Array["Desc" | "EditSequence" | "ExternalGUID" | "IsActive" | "ListID" | "Name" | "OwnerID" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber"],
|
|
9
|
+
?is_active: bool,
|
|
10
|
+
name: String,
|
|
11
|
+
?request_id: String
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
type query_params = {
|
|
15
|
+
?active_status: "ActiveOnly" | "All" | "InactiveOnly",
|
|
16
|
+
?from_modified_date: String,
|
|
17
|
+
?full_name: Array[String],
|
|
18
|
+
?include_ret_element: Array["Desc" | "EditSequence" | "IsActive" | "ListID" | "Name" | "TimeCreated" | "TimeModified"],
|
|
19
|
+
?list_id: Array[String],
|
|
20
|
+
?max_returned: Integer,
|
|
21
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
22
|
+
?name_filter: Types::name_filter,
|
|
23
|
+
?name_range_filter: Types::name_range_filter,
|
|
24
|
+
?request_id: String,
|
|
25
|
+
?to_modified_date: String
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
type update_params = {
|
|
29
|
+
?desc: String,
|
|
30
|
+
edit_sequence: String,
|
|
31
|
+
?include_ret_element: Array["Desc" | "EditSequence" | "ExternalGUID" | "IsActive" | "ListID" | "Name" | "OwnerID" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber"],
|
|
32
|
+
?is_active: bool,
|
|
33
|
+
list_id: String,
|
|
34
|
+
?name: String,
|
|
35
|
+
?request_id: String
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
39
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
40
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class VehicleMileage < 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
|
+
?include_ret_element: Array["BillableAmount" | "BillableRate" | "BillableStatus" | "ClassRef" | "CustomerRef" | "EditSequence" | "ExternalGUID" | "ItemRef" | "ListID" | "Notes" | "OdometerEnd" | "OdometerStart" | "OwnerID" | "StandardMileageRate" | "StandardMileageTotalAmount" | "TimeCreated" | "TimeModified" | "TotalMiles" | "TripEndDate" | "TripStartDate" | "TxnID" | "TxnNumber" | "VehicleRef"],
|
|
12
|
+
?item_ref: Types::ref,
|
|
13
|
+
?notes: String,
|
|
14
|
+
?odometer_end: Numeric,
|
|
15
|
+
?odometer_start: Numeric,
|
|
16
|
+
?request_id: String,
|
|
17
|
+
?total_miles: Numeric,
|
|
18
|
+
?trip_end_date: String,
|
|
19
|
+
?trip_start_date: String,
|
|
20
|
+
vehicle_ref: Types::ref
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
type query_params = {
|
|
24
|
+
?include_ret_element: Array["BillableAmount" | "BillableRate" | "BillableStatus" | "ClassRef" | "CustomerRef" | "EditSequence" | "ItemRef" | "Notes" | "OdometerEnd" | "OdometerStart" | "StandardMileageRate" | "StandardMileageTotalAmount" | "TimeCreated" | "TimeModified" | "TotalMiles" | "TripEndDate" | "TripStartDate" | "TxnID" | "VehicleRef"],
|
|
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
|
+
?txn_date_range_filter: Types::date_range_filter,
|
|
31
|
+
?txn_id: Array[String]
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
35
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|