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,173 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Employee < Base
|
|
6
|
+
type contact = {
|
|
7
|
+
contact_name: String,
|
|
8
|
+
contact_value: String,
|
|
9
|
+
?relation: "Brother" | "Daughter" | "Father" | "Friend" | "Mother" | "Other" | "Partner" | "Sister" | "Son" | "Spouse"
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type emergency_contacts = {
|
|
13
|
+
?primary_contact: contact,
|
|
14
|
+
?secondary_contact: contact
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type employee_address = {
|
|
18
|
+
?addr1: String,
|
|
19
|
+
?addr2: String,
|
|
20
|
+
?addr3: String,
|
|
21
|
+
?addr4: String,
|
|
22
|
+
?city: String,
|
|
23
|
+
?country: String,
|
|
24
|
+
?postal_code: String,
|
|
25
|
+
?state: String
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
type employee_payroll_info_mod = {
|
|
29
|
+
?class_ref: Types::ref,
|
|
30
|
+
?clear_earnings: bool,
|
|
31
|
+
?earnings: Array[Types::earnings],
|
|
32
|
+
?pay_period: "Biweekly" | "Daily" | "Monthly" | "Quarterly" | "Semimonthly" | "Weekly" | "Yearly",
|
|
33
|
+
?sick_hours: hours,
|
|
34
|
+
?use_time_data_to_create_paychecks: "DoNotUseTimeData" | "NotSet" | "UseTimeData",
|
|
35
|
+
?vacation_hours: hours
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
type hours = {
|
|
39
|
+
?accrual_period: "BeginningOfYear" | "EveryHourOnPaycheck" | "EveryPaycheck",
|
|
40
|
+
?accrual_start_date: String,
|
|
41
|
+
?hours_accrued: String,
|
|
42
|
+
?hours_available: String,
|
|
43
|
+
?hours_used: String,
|
|
44
|
+
?is_resetting_hours_each_new_year: bool,
|
|
45
|
+
?maximum_hours: String
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
type create_params = {
|
|
49
|
+
?account_number: String,
|
|
50
|
+
?additional_contact_ref: Array[Types::additional_contact_ref],
|
|
51
|
+
?additional_notes: Array[Types::additional_notes],
|
|
52
|
+
?adjusted_service_date: String,
|
|
53
|
+
?alt_phone: String,
|
|
54
|
+
?billing_rate_ref: Types::ref,
|
|
55
|
+
?birth_date: String,
|
|
56
|
+
?department: String,
|
|
57
|
+
?description: String,
|
|
58
|
+
?disability_desc: String,
|
|
59
|
+
?disabled: "No" | "Yes",
|
|
60
|
+
?email: String,
|
|
61
|
+
?emergency_contacts: emergency_contacts,
|
|
62
|
+
?employee_address: employee_address,
|
|
63
|
+
?employee_payroll_info: employee_payroll_info_mod,
|
|
64
|
+
?employee_type: "Officer" | "Owner" | "Regular" | "Statutory",
|
|
65
|
+
?ethnicity: "AmericianIndian" | "Asian" | "Black" | "Hawaiian" | "Hispanic" | "TwoOrMoreRaces" | "White",
|
|
66
|
+
?exempt: "Exempt" | "NonExempt",
|
|
67
|
+
?external_guid: String,
|
|
68
|
+
?fax: String,
|
|
69
|
+
?first_name: String,
|
|
70
|
+
?gender: "Female" | "Male",
|
|
71
|
+
?hired_date: String,
|
|
72
|
+
?include_ret_element: Array["AccountNumber" | "AdditionalContactRef" | "AdditionalNotesRet" | "AdjustedServiceDate" | "AltPhone" | "BillingRateRef" | "BirthDate" | "DataExtRet" | "Department" | "Description" | "DisabilityDesc" | "Disabled" | "EditSequence" | "Email" | "EmergencyContacts" | "EmployeeAddress" | "EmployeePayrollInfo" | "EmployeeType" | "Ethnicity" | "Exempt" | "ExternalGUID" | "Fax" | "FirstName" | "Gender" | "HiredDate" | "IsActive" | "JobTitle" | "KeyEmployee" | "LastName" | "ListID" | "MiddleName" | "MilitaryStatus" | "Mobile" | "Name" | "Notes" | "OnFile" | "OriginalHireDate" | "OwnerID" | "Pager" | "PagerPIN" | "PartOrFullTime" | "Phone" | "PrintAs" | "ReleasedDate" | "SSN" | "Salutation" | "Suffix" | "SupervisorRef" | "TargetBonus" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber" | "USCitizen" | "USVeteran" | "WorkAuthExpireDate"],
|
|
73
|
+
?is_active: bool,
|
|
74
|
+
?job_title: String,
|
|
75
|
+
?key_employee: "No" | "Yes",
|
|
76
|
+
?last_name: String,
|
|
77
|
+
?middle_name: String,
|
|
78
|
+
?military_status: "Active" | "Reserve",
|
|
79
|
+
?mobile: String,
|
|
80
|
+
?name: String,
|
|
81
|
+
?notes: String,
|
|
82
|
+
?on_file: "No" | "Yes",
|
|
83
|
+
?original_hire_date: String,
|
|
84
|
+
?pager: String,
|
|
85
|
+
?pager_pin: String,
|
|
86
|
+
?part_or_full_time: "FullTime" | "PartTime",
|
|
87
|
+
?phone: String,
|
|
88
|
+
?print_as: String,
|
|
89
|
+
?released_date: String,
|
|
90
|
+
?request_id: String,
|
|
91
|
+
?salutation: String,
|
|
92
|
+
?ssn: String,
|
|
93
|
+
?suffix: String,
|
|
94
|
+
?supervisor_ref: Types::ref,
|
|
95
|
+
?target_bonus: Numeric,
|
|
96
|
+
?us_citizen: "No" | "Yes",
|
|
97
|
+
?us_veteran: "No" | "Yes",
|
|
98
|
+
?work_auth_expire_date: String
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
type query_params = {
|
|
102
|
+
?active_status: "ActiveOnly" | "All" | "InactiveOnly",
|
|
103
|
+
?from_modified_date: String,
|
|
104
|
+
?full_name: Array[String],
|
|
105
|
+
?include_ret_element: Array["AccountNumber" | "AdditionalContactRef" | "AdditionalNotesRet" | "AdjustedServiceDate" | "AltPhone" | "BillingRateRef" | "BirthDate" | "DataExtRet" | "Department" | "Description" | "DisabilityDesc" | "Disabled" | "EditSequence" | "Email" | "EmergencyContacts" | "EmployeeAddress" | "EmployeePayrollInfo" | "EmployeeType" | "Ethnicity" | "Exempt" | "ExternalGUID" | "Fax" | "FirstName" | "Gender" | "HiredDate" | "IsActive" | "JobTitle" | "KeyEmployee" | "LastName" | "ListID" | "MiddleName" | "MilitaryStatus" | "Mobile" | "Name" | "Notes" | "OnFile" | "OriginalHireDate" | "Pager" | "PagerPIN" | "PartOrFullTime" | "Phone" | "PrintAs" | "ReleasedDate" | "SSN" | "Salutation" | "Suffix" | "SupervisorRef" | "TargetBonus" | "TimeCreated" | "TimeModified" | "USCitizen" | "USVeteran" | "WorkAuthExpireDate"],
|
|
106
|
+
?list_id: Array[String],
|
|
107
|
+
?max_returned: Integer,
|
|
108
|
+
?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
|
|
109
|
+
?name_filter: Types::name_filter,
|
|
110
|
+
?name_range_filter: Types::name_range_filter,
|
|
111
|
+
?owner_id: Array[String],
|
|
112
|
+
?request_id: String,
|
|
113
|
+
?to_modified_date: String
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
type update_params = {
|
|
117
|
+
?account_number: String,
|
|
118
|
+
?additional_contact_ref: Array[Types::additional_contact_ref],
|
|
119
|
+
?additional_notes_mod: Array[Types::additional_notes_mod],
|
|
120
|
+
?adjusted_service_date: String,
|
|
121
|
+
?alt_phone: String,
|
|
122
|
+
?billing_rate_ref: Types::ref,
|
|
123
|
+
?birth_date: String,
|
|
124
|
+
?department: String,
|
|
125
|
+
?description: String,
|
|
126
|
+
?disability_desc: String,
|
|
127
|
+
?disabled: "No" | "Yes",
|
|
128
|
+
edit_sequence: String,
|
|
129
|
+
?email: String,
|
|
130
|
+
?emergency_contacts: emergency_contacts,
|
|
131
|
+
?employee_address: employee_address,
|
|
132
|
+
?employee_payroll_info_mod: employee_payroll_info_mod,
|
|
133
|
+
?employee_type: "Officer" | "Owner" | "Regular" | "Statutory",
|
|
134
|
+
?ethnicity: "AmericianIndian" | "Asian" | "Black" | "Hawaiian" | "Hispanic" | "TwoOrMoreRaces" | "White",
|
|
135
|
+
?exempt: "Exempt" | "NonExempt",
|
|
136
|
+
?fax: String,
|
|
137
|
+
?first_name: String,
|
|
138
|
+
?hired_date: String,
|
|
139
|
+
?include_ret_element: Array["AccountNumber" | "AdditionalContactRef" | "AdditionalNotesRet" | "AdjustedServiceDate" | "AltPhone" | "BillingRateRef" | "BirthDate" | "DataExtRet" | "Department" | "Description" | "DisabilityDesc" | "Disabled" | "EditSequence" | "Email" | "EmergencyContacts" | "EmployeeAddress" | "EmployeePayrollInfo" | "EmployeeType" | "Ethnicity" | "Exempt" | "ExternalGUID" | "Fax" | "FirstName" | "Gender" | "HiredDate" | "IsActive" | "JobTitle" | "KeyEmployee" | "LastName" | "ListID" | "MiddleName" | "MilitaryStatus" | "Mobile" | "Name" | "Notes" | "OnFile" | "OriginalHireDate" | "OwnerID" | "Pager" | "PagerPIN" | "PartOrFullTime" | "Phone" | "PrintAs" | "ReleasedDate" | "SSN" | "Salutation" | "Suffix" | "SupervisorRef" | "TargetBonus" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber" | "USCitizen" | "USVeteran" | "WorkAuthExpireDate"],
|
|
140
|
+
?is_active: bool,
|
|
141
|
+
?job_title: String,
|
|
142
|
+
?key_employee: "No" | "Yes",
|
|
143
|
+
?last_name: String,
|
|
144
|
+
list_id: String,
|
|
145
|
+
?middle_name: String,
|
|
146
|
+
?military_status: "Active" | "Reserve",
|
|
147
|
+
?mobile: String,
|
|
148
|
+
?name: String,
|
|
149
|
+
?notes: String,
|
|
150
|
+
?on_file: "No" | "Yes",
|
|
151
|
+
?original_hire_date: String,
|
|
152
|
+
?pager: String,
|
|
153
|
+
?pager_pin: String,
|
|
154
|
+
?part_or_full_time: "FullTime" | "PartTime",
|
|
155
|
+
?phone: String,
|
|
156
|
+
?print_as: String,
|
|
157
|
+
?released_date: String,
|
|
158
|
+
?request_id: String,
|
|
159
|
+
?salutation: String,
|
|
160
|
+
?suffix: String,
|
|
161
|
+
?supervisor_ref: Types::ref,
|
|
162
|
+
?target_bonus: Numeric,
|
|
163
|
+
?us_citizen: "No" | "Yes",
|
|
164
|
+
?us_veteran: "No" | "Yes",
|
|
165
|
+
?work_auth_expire_date: String
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
169
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
170
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
end
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class EmployeeDefault < Base
|
|
6
|
+
type employee_default_payroll_info_mod = {
|
|
7
|
+
?class_ref: Types::ref,
|
|
8
|
+
?clear_earnings: bool,
|
|
9
|
+
?clear_non_earnings: bool,
|
|
10
|
+
?earnings: Array[Types::earnings],
|
|
11
|
+
?employee_tax_info: employee_tax_info,
|
|
12
|
+
?is_covered_by_qualified_pension_plan: bool,
|
|
13
|
+
?non_earnings: Array[non_earnings],
|
|
14
|
+
?pay_period: "Biweekly" | "Daily" | "Monthly" | "Quarterly" | "Semimonthly" | "Weekly" | "Yearly",
|
|
15
|
+
?sick_hours_default: hours_default,
|
|
16
|
+
?use_time_data_to_create_paychecks: "DoNotUseTimeData" | "NotSet" | "UseTimeData",
|
|
17
|
+
?vacation_hours_default: hours_default
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
type employee_tax = {
|
|
21
|
+
?is_subject_to_tax: bool,
|
|
22
|
+
payroll_item_tax_ref: Types::ref,
|
|
23
|
+
?tax_info: Array[tax_info],
|
|
24
|
+
?tax_law_version: Integer
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
type employee_tax_info = {
|
|
28
|
+
?employee_tax: Array[employee_tax],
|
|
29
|
+
?is_standard_taxation_required: bool,
|
|
30
|
+
?state_lived: String,
|
|
31
|
+
?state_worked: String
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
type hours_default = {
|
|
35
|
+
?accrual_period: "BeginningOfYear" | "EveryHourOnPaycheck" | "EveryPaycheck",
|
|
36
|
+
?hours_accrued: String,
|
|
37
|
+
?is_resetting_hours_each_new_year: bool,
|
|
38
|
+
?maximum_hours: String
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
type non_earnings = {
|
|
42
|
+
?amount: Numeric,
|
|
43
|
+
?limit: Numeric,
|
|
44
|
+
payroll_item_non_wage_ref: Types::ref,
|
|
45
|
+
?rate_percent: Numeric
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
type tax_info = {
|
|
49
|
+
tax_info_category: String,
|
|
50
|
+
tax_info_value: String
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
type query_params = {
|
|
54
|
+
?include_ret_element: Array["EmployeeDefaultPayrollInfo"],
|
|
55
|
+
?request_id: String
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
type update_params = {
|
|
59
|
+
?employee_default_payroll_info_mod: employee_default_payroll_info_mod,
|
|
60
|
+
?include_ret_element: Array["EmployeeDefaultPayrollInfo"],
|
|
61
|
+
?request_id: String
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
65
|
+
def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated from operations.json by bin/generate-operations: don't edit.
|
|
2
|
+
|
|
3
|
+
module QubeSync
|
|
4
|
+
module Operations
|
|
5
|
+
class Entity < 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["AccountNumber" | "AdditionalContactRef" | "AdditionalNotesRet" | "AdjustedServiceDate" | "AltContact" | "AltPhone" | "Balance" | "BillAddress" | "BillAddressBlock" | "BillingRateRef" | "BirthDate" | "Cc" | "ClassRef" | "CompanyName" | "Contact" | "ContactsRet" | "CreditCardInfo" | "CreditLimit" | "CurrencyRef" | "CustomerTypeRef" | "DataExtRet" | "DeliveryMethod" | "Department" | "Description" | "DisabilityDesc" | "Disabled" | "EditSequence" | "Email" | "EmergencyContacts" | "EmployeeAddress" | "EmployeePayrollInfo" | "EmployeeType" | "Ethnicity" | "Exempt" | "ExternalGUID" | "Fax" | "FirstName" | "FullName" | "Gender" | "HiredDate" | "IsActive" | "IsSalesTaxAgency" | "IsStatementWithParent" | "IsTaxAgency" | "IsTaxOnTax" | "IsTaxTrackedOnPurchases" | "IsTaxTrackedOnSales" | "IsVendorEligibleFor1099" | "ItemSalesTaxRef" | "JobDesc" | "JobEndDate" | "JobProjectedEndDate" | "JobStartDate" | "JobStatus" | "JobTitle" | "JobTypeRef" | "KeyEmployee" | "LastName" | "ListID" | "MiddleName" | "MilitaryStatus" | "Mobile" | "Name" | "NameOnCheck" | "Notes" | "OnFile" | "OriginalHireDate" | "OtherNameAddress" | "OtherNameAddressBlock" | "Pager" | "PagerPIN" | "ParentRef" | "PartOrFullTime" | "Phone" | "PreferredDeliveryMethod" | "PreferredPaymentMethodRef" | "PrefillAccountRef" | "PriceLevelRef" | "PrintAs" | "ReleasedDate" | "ReportingPeriod" | "ResaleNumber" | "SSN" | "SalesRepRef" | "SalesTaxCodeRef" | "SalesTaxCountry" | "SalesTaxReturnRef" | "Salutation" | "ShipAddress" | "ShipAddressBlock" | "ShipToAddress" | "Sublevel" | "Suffix" | "SupervisorRef" | "TargetBonus" | "TaxOnPurchasesAccountRef" | "TaxOnSalesAccountRef" | "TaxRegistrationNumber" | "TermsRef" | "TimeCreated" | "TimeModified" | "TotalBalance" | "USCitizen" | "USVeteran" | "VendorAddress" | "VendorAddressBlock" | "VendorTaxIdent" | "VendorTypeRef" | "WorkAuthExpireDate"],
|
|
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
|
+
?request_id: String,
|
|
18
|
+
?to_modified_date: String
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -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
|