qube_sync 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +84 -0
  3. data/README.md +291 -75
  4. data/Rakefile +12 -0
  5. data/exe/qube_sync +11 -0
  6. data/lib/qube_sync/client.rb +614 -0
  7. data/lib/qube_sync/operations/account.rb +338 -0
  8. data/lib/qube_sync/operations/account_tax_line_info.rb +30 -0
  9. data/lib/qube_sync/operations/aging_report.rb +160 -0
  10. data/lib/qube_sync/operations/alert.rb +91 -0
  11. data/lib/qube_sync/operations/ar_refund_credit_card.rb +402 -0
  12. data/lib/qube_sync/operations/bar_code.rb +37 -0
  13. data/lib/qube_sync/operations/bill.rb +1117 -0
  14. data/lib/qube_sync/operations/bill_payment_check.rb +420 -0
  15. data/lib/qube_sync/operations/bill_payment_credit_card.rb +320 -0
  16. data/lib/qube_sync/operations/bill_to_pay.rb +67 -0
  17. data/lib/qube_sync/operations/billing_rate.rb +173 -0
  18. data/lib/qube_sync/operations/budget_summary_report.rb +80 -0
  19. data/lib/qube_sync/operations/build_assembly.rb +319 -0
  20. data/lib/qube_sync/operations/charge.rb +454 -0
  21. data/lib/qube_sync/operations/check.rb +1099 -0
  22. data/lib/qube_sync/operations/class.rb +176 -0
  23. data/lib/qube_sync/operations/cleared_status.rb +39 -0
  24. data/lib/qube_sync/operations/company.rb +39 -0
  25. data/lib/qube_sync/operations/company_activity.rb +31 -0
  26. data/lib/qube_sync/operations/credit_card_charge.rb +1044 -0
  27. data/lib/qube_sync/operations/credit_card_credit.rb +1044 -0
  28. data/lib/qube_sync/operations/credit_memo.rb +1277 -0
  29. data/lib/qube_sync/operations/currency.rb +195 -0
  30. data/lib/qube_sync/operations/custom_detail_report.rb +176 -0
  31. data/lib/qube_sync/operations/custom_summary_report.rb +180 -0
  32. data/lib/qube_sync/operations/customer.rb +745 -0
  33. data/lib/qube_sync/operations/customer_msg.rb +117 -0
  34. data/lib/qube_sync/operations/customer_type.rb +133 -0
  35. data/lib/qube_sync/operations/data_event_recovery_info.rb +54 -0
  36. data/lib/qube_sync/operations/data_ext.rb +202 -0
  37. data/lib/qube_sync/operations/data_ext_def.rb +179 -0
  38. data/lib/qube_sync/operations/date_driven_terms.rb +131 -0
  39. data/lib/qube_sync/operations/deposit.rb +570 -0
  40. data/lib/qube_sync/operations/employee.rb +581 -0
  41. data/lib/qube_sync/operations/employee_default.rb +100 -0
  42. data/lib/qube_sync/operations/entity.rb +118 -0
  43. data/lib/qube_sync/operations/estimate.rb +1084 -0
  44. data/lib/qube_sync/operations/fields.rb +4058 -0
  45. data/lib/qube_sync/operations/form1099_category_account_mapping.rb +91 -0
  46. data/lib/qube_sync/operations/general_detail_report.rb +185 -0
  47. data/lib/qube_sync/operations/general_summary_report.rb +180 -0
  48. data/lib/qube_sync/operations/host.rb +36 -0
  49. data/lib/qube_sync/operations/inventory_adjustment.rb +491 -0
  50. data/lib/qube_sync/operations/inventory_site.rb +214 -0
  51. data/lib/qube_sync/operations/invoice.rb +1242 -0
  52. data/lib/qube_sync/operations/item.rb +115 -0
  53. data/lib/qube_sync/operations/item_assemblies_can_build.rb +44 -0
  54. data/lib/qube_sync/operations/item_discount.rb +320 -0
  55. data/lib/qube_sync/operations/item_fixed_asset.rb +318 -0
  56. data/lib/qube_sync/operations/item_group.rb +255 -0
  57. data/lib/qube_sync/operations/item_inventory.rb +447 -0
  58. data/lib/qube_sync/operations/item_inventory_assembly.rb +486 -0
  59. data/lib/qube_sync/operations/item_non_inventory.rb +472 -0
  60. data/lib/qube_sync/operations/item_other_charge.rb +445 -0
  61. data/lib/qube_sync/operations/item_payment.rb +269 -0
  62. data/lib/qube_sync/operations/item_receipt.rb +1055 -0
  63. data/lib/qube_sync/operations/item_sales_tax.rb +271 -0
  64. data/lib/qube_sync/operations/item_sales_tax_group.rb +200 -0
  65. data/lib/qube_sync/operations/item_service.rb +466 -0
  66. data/lib/qube_sync/operations/item_sites.rb +98 -0
  67. data/lib/qube_sync/operations/item_subtotal.rb +182 -0
  68. data/lib/qube_sync/operations/job_report.rb +156 -0
  69. data/lib/qube_sync/operations/job_type.rb +131 -0
  70. data/lib/qube_sync/operations/journal_entry.rb +533 -0
  71. data/lib/qube_sync/operations/lead.rb +216 -0
  72. data/lib/qube_sync/operations/list.rb +42 -0
  73. data/lib/qube_sync/operations/list_deleted.rb +57 -0
  74. data/lib/qube_sync/operations/list_display.rb +59 -0
  75. data/lib/qube_sync/operations/list_merge.rb +57 -0
  76. data/lib/qube_sync/operations/other_name.rb +245 -0
  77. data/lib/qube_sync/operations/paycheck.rb +139 -0
  78. data/lib/qube_sync/operations/payment_method.rb +129 -0
  79. data/lib/qube_sync/operations/payroll_detail_report.rb +161 -0
  80. data/lib/qube_sync/operations/payroll_item.rb +75 -0
  81. data/lib/qube_sync/operations/payroll_item_addition.rb +98 -0
  82. data/lib/qube_sync/operations/payroll_item_company_contribution.rb +134 -0
  83. data/lib/qube_sync/operations/payroll_item_deduction.rb +124 -0
  84. data/lib/qube_sync/operations/payroll_item_direct_deposit.rb +70 -0
  85. data/lib/qube_sync/operations/payroll_item_non_wage.rb +93 -0
  86. data/lib/qube_sync/operations/payroll_item_tax.rb +123 -0
  87. data/lib/qube_sync/operations/payroll_item_wage.rb +168 -0
  88. data/lib/qube_sync/operations/payroll_item_workers_compensation.rb +108 -0
  89. data/lib/qube_sync/operations/payroll_last_period.rb +30 -0
  90. data/lib/qube_sync/operations/payroll_liability_adjustment.rb +204 -0
  91. data/lib/qube_sync/operations/payroll_liability_check.rb +137 -0
  92. data/lib/qube_sync/operations/payroll_prior_payment.rb +178 -0
  93. data/lib/qube_sync/operations/payroll_summary_report.rb +157 -0
  94. data/lib/qube_sync/operations/payroll_year_to_date_adjustment.rb +211 -0
  95. data/lib/qube_sync/operations/preferences.rb +61 -0
  96. data/lib/qube_sync/operations/price_level.rb +309 -0
  97. data/lib/qube_sync/operations/purchase_order.rb +1065 -0
  98. data/lib/qube_sync/operations/qb_command_exec.rb +37 -0
  99. data/lib/qube_sync/operations/receive_payment.rb +634 -0
  100. data/lib/qube_sync/operations/receive_payment_to_deposit.rb +38 -0
  101. data/lib/qube_sync/operations/sales_order.rb +1072 -0
  102. data/lib/qube_sync/operations/sales_receipt.rb +1371 -0
  103. data/lib/qube_sync/operations/sales_rep.rb +172 -0
  104. data/lib/qube_sync/operations/sales_tax_code.rb +205 -0
  105. data/lib/qube_sync/operations/sales_tax_payable.rb +37 -0
  106. data/lib/qube_sync/operations/sales_tax_payment_check.rb +379 -0
  107. data/lib/qube_sync/operations/sales_tax_return.rb +35 -0
  108. data/lib/qube_sync/operations/sales_tax_return_line.rb +43 -0
  109. data/lib/qube_sync/operations/ship_method.rb +116 -0
  110. data/lib/qube_sync/operations/special_account.rb +55 -0
  111. data/lib/qube_sync/operations/special_item.rb +44 -0
  112. data/lib/qube_sync/operations/standard_terms.rb +125 -0
  113. data/lib/qube_sync/operations/template.rb +36 -0
  114. data/lib/qube_sync/operations/terms.rb +91 -0
  115. data/lib/qube_sync/operations/time_report.rb +127 -0
  116. data/lib/qube_sync/operations/time_tracking.rb +304 -0
  117. data/lib/qube_sync/operations/to_do.rb +260 -0
  118. data/lib/qube_sync/operations/transaction.rb +361 -0
  119. data/lib/qube_sync/operations/transfer.rb +213 -0
  120. data/lib/qube_sync/operations/transfer_inventory.rb +393 -0
  121. data/lib/qube_sync/operations/txn.rb +38 -0
  122. data/lib/qube_sync/operations/txn_deleted.rb +54 -0
  123. data/lib/qube_sync/operations/txn_display.rb +76 -0
  124. data/lib/qube_sync/operations/txn_void.rb +36 -0
  125. data/lib/qube_sync/operations/unit_of_measure_set.rb +149 -0
  126. data/lib/qube_sync/operations/vehicle.rb +152 -0
  127. data/lib/qube_sync/operations/vehicle_mileage.rb +191 -0
  128. data/lib/qube_sync/operations/vendor.rb +663 -0
  129. data/lib/qube_sync/operations/vendor_credit.rb +1052 -0
  130. data/lib/qube_sync/operations/vendor_type.rb +131 -0
  131. data/lib/qube_sync/operations/workers_comp_code.rb +184 -0
  132. data/lib/qube_sync/operations.rb +1169 -0
  133. data/lib/qube_sync/version.rb +1 -1
  134. data/lib/qube_sync/workflow_types/cli.rb +120 -0
  135. data/lib/qube_sync/workflow_types/rbs_renderer.rb +290 -0
  136. data/lib/qube_sync/workflow_types/ruby_renderer.rb +391 -0
  137. data/lib/qube_sync/workflow_types/workflow.rb +153 -0
  138. data/lib/qube_sync/workflow_types.rb +219 -0
  139. data/lib/qube_sync.rb +1 -0
  140. data/sig/qube_sync/client.rbs +85 -0
  141. data/sig/qube_sync/operations/account.rbs +65 -0
  142. data/sig/qube_sync/operations/account_tax_line_info.rbs +13 -0
  143. data/sig/qube_sync/operations/aging_report.rbs +29 -0
  144. data/sig/qube_sync/operations/alert.rbs +53 -0
  145. data/sig/qube_sync/operations/ar_refund_credit_card.rbs +53 -0
  146. data/sig/qube_sync/operations/bar_code.rbs +16 -0
  147. data/sig/qube_sync/operations/bill.rbs +78 -0
  148. data/sig/qube_sync/operations/bill_payment_check.rbs +62 -0
  149. data/sig/qube_sync/operations/bill_payment_credit_card.rbs +45 -0
  150. data/sig/qube_sync/operations/bill_to_pay.rbs +19 -0
  151. data/sig/qube_sync/operations/billing_rate.rbs +40 -0
  152. data/sig/qube_sync/operations/budget_summary_report.rbs +22 -0
  153. data/sig/qube_sync/operations/build_assembly.rbs +64 -0
  154. data/sig/qube_sync/operations/charge.rbs +80 -0
  155. data/sig/qube_sync/operations/check.rbs +81 -0
  156. data/sig/qube_sync/operations/class.rbs +43 -0
  157. data/sig/qube_sync/operations/cleared_status.rbs +16 -0
  158. data/sig/qube_sync/operations/company.rbs +15 -0
  159. data/sig/qube_sync/operations/company_activity.rbs +14 -0
  160. data/sig/qube_sync/operations/credit_card_charge.rbs +69 -0
  161. data/sig/qube_sync/operations/credit_card_credit.rbs +69 -0
  162. data/sig/qube_sync/operations/credit_memo.rbs +162 -0
  163. data/sig/qube_sync/operations/currency.rbs +52 -0
  164. data/sig/qube_sync/operations/custom_detail_report.rbs +31 -0
  165. data/sig/qube_sync/operations/custom_summary_report.rbs +33 -0
  166. data/sig/qube_sync/operations/customer.rbs +174 -0
  167. data/sig/qube_sync/operations/customer_msg.rbs +31 -0
  168. data/sig/qube_sync/operations/customer_type.rbs +32 -0
  169. data/sig/qube_sync/operations/data_event_recovery_info.rbs +20 -0
  170. data/sig/qube_sync/operations/data_ext.rbs +53 -0
  171. data/sig/qube_sync/operations/data_ext_def.rbs +51 -0
  172. data/sig/qube_sync/operations/date_driven_terms.rbs +35 -0
  173. data/sig/qube_sync/operations/deposit.rbs +100 -0
  174. data/sig/qube_sync/operations/employee.rbs +173 -0
  175. data/sig/qube_sync/operations/employee_default.rbs +68 -0
  176. data/sig/qube_sync/operations/entity.rbs +24 -0
  177. data/sig/qube_sync/operations/estimate.rbs +148 -0
  178. data/sig/qube_sync/operations/form1099_category_account_mapping.rbs +33 -0
  179. data/sig/qube_sync/operations/general_detail_report.rbs +31 -0
  180. data/sig/qube_sync/operations/general_summary_report.rbs +32 -0
  181. data/sig/qube_sync/operations/host.rbs +19 -0
  182. data/sig/qube_sync/operations/inventory_adjustment.rbs +105 -0
  183. data/sig/qube_sync/operations/inventory_site.rbs +66 -0
  184. data/sig/qube_sync/operations/invoice.rbs +144 -0
  185. data/sig/qube_sync/operations/item.rbs +25 -0
  186. data/sig/qube_sync/operations/item_assemblies_can_build.rbs +15 -0
  187. data/sig/qube_sync/operations/item_discount.rbs +62 -0
  188. data/sig/qube_sync/operations/item_fixed_asset.rbs +97 -0
  189. data/sig/qube_sync/operations/item_group.rbs +62 -0
  190. data/sig/qube_sync/operations/item_inventory.rbs +87 -0
  191. data/sig/qube_sync/operations/item_inventory_assembly.rbs +94 -0
  192. data/sig/qube_sync/operations/item_non_inventory.rbs +64 -0
  193. data/sig/qube_sync/operations/item_other_charge.rbs +59 -0
  194. data/sig/qube_sync/operations/item_payment.rbs +55 -0
  195. data/sig/qube_sync/operations/item_receipt.rbs +71 -0
  196. data/sig/qube_sync/operations/item_sales_tax.rbs +57 -0
  197. data/sig/qube_sync/operations/item_sales_tax_group.rbs +50 -0
  198. data/sig/qube_sync/operations/item_service.rbs +62 -0
  199. data/sig/qube_sync/operations/item_sites.rbs +26 -0
  200. data/sig/qube_sync/operations/item_subtotal.rbs +48 -0
  201. data/sig/qube_sync/operations/job_report.rbs +28 -0
  202. data/sig/qube_sync/operations/job_type.rbs +32 -0
  203. data/sig/qube_sync/operations/journal_entry.rbs +88 -0
  204. data/sig/qube_sync/operations/lead.rbs +91 -0
  205. data/sig/qube_sync/operations/list.rbs +15 -0
  206. data/sig/qube_sync/operations/list_deleted.rbs +17 -0
  207. data/sig/qube_sync/operations/list_display.rbs +21 -0
  208. data/sig/qube_sync/operations/list_merge.rbs +22 -0
  209. data/sig/qube_sync/operations/other_name.rbs +71 -0
  210. data/sig/qube_sync/operations/paycheck.rbs +27 -0
  211. data/sig/qube_sync/operations/payment_method.rbs +33 -0
  212. data/sig/qube_sync/operations/payroll_detail_report.rbs +29 -0
  213. data/sig/qube_sync/operations/payroll_item.rbs +23 -0
  214. data/sig/qube_sync/operations/payroll_item_addition.rbs +48 -0
  215. data/sig/qube_sync/operations/payroll_item_company_contribution.rbs +58 -0
  216. data/sig/qube_sync/operations/payroll_item_deduction.rbs +54 -0
  217. data/sig/qube_sync/operations/payroll_item_direct_deposit.rbs +30 -0
  218. data/sig/qube_sync/operations/payroll_item_non_wage.rbs +23 -0
  219. data/sig/qube_sync/operations/payroll_item_tax.rbs +58 -0
  220. data/sig/qube_sync/operations/payroll_item_wage.rbs +48 -0
  221. data/sig/qube_sync/operations/payroll_item_workers_compensation.rbs +42 -0
  222. data/sig/qube_sync/operations/payroll_last_period.rbs +13 -0
  223. data/sig/qube_sync/operations/payroll_liability_adjustment.rbs +59 -0
  224. data/sig/qube_sync/operations/payroll_liability_check.rbs +27 -0
  225. data/sig/qube_sync/operations/payroll_prior_payment.rbs +48 -0
  226. data/sig/qube_sync/operations/payroll_summary_report.rbs +30 -0
  227. data/sig/qube_sync/operations/payroll_year_to_date_adjustment.rbs +66 -0
  228. data/sig/qube_sync/operations/preferences.rbs +26 -0
  229. data/sig/qube_sync/operations/price_level.rbs +57 -0
  230. data/sig/qube_sync/operations/purchase_order.rbs +159 -0
  231. data/sig/qube_sync/operations/qb_command_exec.rbs +22 -0
  232. data/sig/qube_sync/operations/receive_payment.rbs +102 -0
  233. data/sig/qube_sync/operations/receive_payment_to_deposit.rbs +15 -0
  234. data/sig/qube_sync/operations/sales_order.rbs +153 -0
  235. data/sig/qube_sync/operations/sales_receipt.rbs +139 -0
  236. data/sig/qube_sync/operations/sales_rep.rbs +43 -0
  237. data/sig/qube_sync/operations/sales_tax_code.rbs +49 -0
  238. data/sig/qube_sync/operations/sales_tax_payable.rbs +16 -0
  239. data/sig/qube_sync/operations/sales_tax_payment_check.rbs +64 -0
  240. data/sig/qube_sync/operations/sales_tax_return.rbs +14 -0
  241. data/sig/qube_sync/operations/sales_tax_return_line.rbs +15 -0
  242. data/sig/qube_sync/operations/ship_method.rbs +31 -0
  243. data/sig/qube_sync/operations/special_account.rbs +16 -0
  244. data/sig/qube_sync/operations/special_item.rbs +17 -0
  245. data/sig/qube_sync/operations/standard_terms.rbs +34 -0
  246. data/sig/qube_sync/operations/template.rbs +15 -0
  247. data/sig/qube_sync/operations/terms.rbs +23 -0
  248. data/sig/qube_sync/operations/time_report.rbs +26 -0
  249. data/sig/qube_sync/operations/time_tracking.rbs +57 -0
  250. data/sig/qube_sync/operations/to_do.rbs +59 -0
  251. data/sig/qube_sync/operations/transaction.rbs +39 -0
  252. data/sig/qube_sync/operations/transfer.rbs +47 -0
  253. data/sig/qube_sync/operations/transfer_inventory.rbs +76 -0
  254. data/sig/qube_sync/operations/txn.rbs +15 -0
  255. data/sig/qube_sync/operations/txn_deleted.rbs +17 -0
  256. data/sig/qube_sync/operations/txn_display.rbs +22 -0
  257. data/sig/qube_sync/operations/txn_void.rbs +15 -0
  258. data/sig/qube_sync/operations/types.rbs +434 -0
  259. data/sig/qube_sync/operations/unit_of_measure_set.rbs +51 -0
  260. data/sig/qube_sync/operations/vehicle.rbs +43 -0
  261. data/sig/qube_sync/operations/vehicle_mileage.rbs +38 -0
  262. data/sig/qube_sync/operations/vendor.rbs +142 -0
  263. data/sig/qube_sync/operations/vendor_credit.rbs +70 -0
  264. data/sig/qube_sync/operations/vendor_type.rbs +32 -0
  265. data/sig/qube_sync/operations/workers_comp_code.rbs +52 -0
  266. data/sig/qube_sync/operations.rbs +148 -0
  267. data/sig/qube_sync/workflow_types.rbs +59 -0
  268. metadata +265 -3
@@ -0,0 +1,53 @@
1
+ # Generated from operations.json by bin/generate-operations: don't edit.
2
+
3
+ module QubeSync
4
+ module Operations
5
+ class DataExt < Base
6
+ type data_ext_del = {
7
+ data_ext_name: String,
8
+ ?list_data_ext_type: "Account" | "Customer" | "Employee" | "Item" | "OtherName" | "Vendor",
9
+ ?list_obj_ref: Types::ref,
10
+ ?other_data_ext_type: "Company",
11
+ owner_id: String,
12
+ ?txn_data_ext_type: "ARRefundCreditCard" | "Bill" | "BillPaymentCheck" | "BillPaymentCreditCard" | "BuildAssembly" | "Charge" | "Check" | "CreditCardCharge" | "CreditCardCredit" | "CreditMemo" | "Deposit" | "Estimate" | "InventoryAdjustment" | "Invoice" | "ItemReceipt" | "JournalEntry" | "PurchaseOrder" | "ReceivePayment" | "SalesOrder" | "SalesReceipt" | "SalesTaxPaymentCheck" | "VendorCredit",
13
+ ?txn_id: String,
14
+ ?txn_line_id: String
15
+ }
16
+
17
+ type create_params = {
18
+ data_ext_name: String,
19
+ data_ext_value: String,
20
+ ?list_data_ext_type: "Account" | "Customer" | "Employee" | "Item" | "OtherName" | "Vendor",
21
+ ?list_obj_ref: Types::ref,
22
+ ?other_data_ext_type: "Company",
23
+ owner_id: String,
24
+ ?request_id: String,
25
+ ?txn_data_ext_type: "ARRefundCreditCard" | "Bill" | "BillPaymentCheck" | "BillPaymentCreditCard" | "BuildAssembly" | "Charge" | "Check" | "CreditCardCharge" | "CreditCardCredit" | "CreditMemo" | "Deposit" | "Estimate" | "InventoryAdjustment" | "Invoice" | "ItemReceipt" | "JournalEntry" | "PurchaseOrder" | "ReceivePayment" | "SalesOrder" | "SalesReceipt" | "SalesTaxPaymentCheck" | "VendorCredit",
26
+ ?txn_id: String,
27
+ ?txn_line_id: String
28
+ }
29
+
30
+ type delete_params = {
31
+ data_ext_del: data_ext_del,
32
+ ?request_id: String
33
+ }
34
+
35
+ type update_params = {
36
+ data_ext_name: String,
37
+ data_ext_value: String,
38
+ ?list_data_ext_type: "Account" | "Customer" | "Employee" | "Item" | "OtherName" | "Vendor",
39
+ ?list_obj_ref: Types::ref,
40
+ ?other_data_ext_type: "Company",
41
+ owner_id: String,
42
+ ?request_id: String,
43
+ ?txn_data_ext_type: "ARRefundCreditCard" | "Bill" | "BillPaymentCheck" | "BillPaymentCreditCard" | "BuildAssembly" | "Charge" | "Check" | "CreditCardCharge" | "CreditCardCredit" | "CreditMemo" | "Deposit" | "Estimate" | "InventoryAdjustment" | "Invoice" | "ItemReceipt" | "JournalEntry" | "PurchaseOrder" | "ReceivePayment" | "SalesOrder" | "SalesReceipt" | "SalesTaxPaymentCheck" | "VendorCredit",
44
+ ?txn_id: String,
45
+ ?txn_line_id: String
46
+ }
47
+
48
+ def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
49
+ def delete: (String connection_id, ?delete_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
50
+ def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
51
+ end
52
+ end
53
+ 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 DataExtDef < Base
6
+ type create_params = {
7
+ ?assign_to_object: Array["ARRefundCreditCard" | "Account" | "Bill" | "BillPaymentCheck" | "BillPaymentCreditCard" | "BuildAssembly" | "Charge" | "Check" | "Company" | "CreditCardCharge" | "CreditCardCredit" | "CreditMemo" | "Customer" | "Deposit" | "Employee" | "Estimate" | "InventoryAdjustment" | "Invoice" | "Item" | "ItemReceipt" | "JournalEntry" | "OtherName" | "PurchaseOrder" | "ReceivePayment" | "SalesOrder" | "SalesReceipt" | "SalesTaxPaymentCheck" | "Vendor" | "VendorCredit"],
8
+ ?data_ext_format_string: String,
9
+ ?data_ext_list_require: bool,
10
+ data_ext_name: String,
11
+ ?data_ext_txn_require: bool,
12
+ data_ext_type: "AMTTYPE" | "DATETIMETYPE" | "INTTYPE" | "PERCENTTYPE" | "PRICETYPE" | "QUANTYPE" | "STR1024TYPE" | "STR255TYPE",
13
+ ?include_ret_element: Array["AssignToObject" | "DataExtFormatString" | "DataExtID" | "DataExtListRequire" | "DataExtName" | "DataExtTxnRequire" | "DataExtType" | "EditSequence" | "ExternalGUID" | "ListID" | "OwnerID" | "TxnID" | "TxnNumber"],
14
+ owner_id: String,
15
+ ?request_id: String
16
+ }
17
+
18
+ type delete_params = {
19
+ data_ext_name: String,
20
+ owner_id: String,
21
+ ?request_id: String
22
+ }
23
+
24
+ type query_params = {
25
+ ?assign_to_object: Array["ARRefundCreditCard" | "Account" | "Bill" | "BillPaymentCheck" | "BillPaymentCreditCard" | "BuildAssembly" | "Charge" | "Check" | "Company" | "CreditCardCharge" | "CreditCardCredit" | "CreditMemo" | "Customer" | "Deposit" | "Employee" | "Estimate" | "InventoryAdjustment" | "Invoice" | "Item" | "ItemReceipt" | "JournalEntry" | "OtherName" | "PurchaseOrder" | "ReceivePayment" | "SalesOrder" | "SalesReceipt" | "SalesTaxPaymentCheck" | "Vendor" | "VendorCredit"],
26
+ ?include_ret_element: Array["AssignToObject" | "DataExtFormatString" | "DataExtID" | "DataExtListRequire" | "DataExtName" | "DataExtTxnRequire" | "DataExtType" | "OwnerID"],
27
+ ?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
28
+ ?owner_id: Array[String],
29
+ ?request_id: String
30
+ }
31
+
32
+ type update_params = {
33
+ ?assign_to_object: Array["ARRefundCreditCard" | "Account" | "Bill" | "BillPaymentCheck" | "BillPaymentCreditCard" | "BuildAssembly" | "Charge" | "Check" | "Company" | "CreditCardCharge" | "CreditCardCredit" | "CreditMemo" | "Customer" | "Deposit" | "Employee" | "Estimate" | "InventoryAdjustment" | "Invoice" | "Item" | "ItemReceipt" | "JournalEntry" | "OtherName" | "PurchaseOrder" | "ReceivePayment" | "SalesOrder" | "SalesReceipt" | "SalesTaxPaymentCheck" | "Vendor" | "VendorCredit"],
34
+ ?data_ext_format_string: String,
35
+ ?data_ext_list_require: bool,
36
+ data_ext_name: String,
37
+ ?data_ext_new_name: String,
38
+ ?data_ext_txn_require: bool,
39
+ ?include_ret_element: Array["AssignToObject" | "DataExtFormatString" | "DataExtID" | "DataExtListRequire" | "DataExtName" | "DataExtTxnRequire" | "DataExtType" | "EditSequence" | "ExternalGUID" | "ListID" | "OwnerID" | "TxnID" | "TxnNumber"],
40
+ owner_id: String,
41
+ ?remove_from_object: Array["ARRefundCreditCard" | "Account" | "Bill" | "BillPaymentCheck" | "BillPaymentCreditCard" | "BuildAssembly" | "Charge" | "Check" | "Company" | "CreditCardCharge" | "CreditCardCredit" | "CreditMemo" | "Customer" | "Deposit" | "Employee" | "Estimate" | "InventoryAdjustment" | "Invoice" | "Item" | "ItemReceipt" | "JournalEntry" | "OtherName" | "PurchaseOrder" | "ReceivePayment" | "SalesOrder" | "SalesReceipt" | "SalesTaxPaymentCheck" | "Vendor" | "VendorCredit"],
42
+ ?request_id: String
43
+ }
44
+
45
+ def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
46
+ def delete: (String connection_id, ?delete_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
47
+ def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
48
+ def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,35 @@
1
+ # Generated from operations.json by bin/generate-operations: don't edit.
2
+
3
+ module QubeSync
4
+ module Operations
5
+ class DateDrivenTerms < Base
6
+ type create_params = {
7
+ day_of_month_due: Integer,
8
+ ?discount_day_of_month: Integer,
9
+ ?discount_pct: Numeric,
10
+ ?due_next_month_days: Integer,
11
+ ?include_ret_element: Array["DayOfMonthDue" | "DiscountDayOfMonth" | "DiscountPct" | "DueNextMonthDays" | "EditSequence" | "ExternalGUID" | "IsActive" | "ListID" | "Name" | "OwnerID" | "TimeCreated" | "TimeModified" | "TxnID" | "TxnNumber"],
12
+ ?is_active: bool,
13
+ name: String,
14
+ ?request_id: String
15
+ }
16
+
17
+ type query_params = {
18
+ ?active_status: "ActiveOnly" | "All" | "InactiveOnly",
19
+ ?from_modified_date: String,
20
+ ?full_name: Array[String],
21
+ ?include_ret_element: Array["DayOfMonthDue" | "DiscountDayOfMonth" | "DiscountPct" | "DueNextMonthDays" | "EditSequence" | "IsActive" | "ListID" | "Name" | "TimeCreated" | "TimeModified"],
22
+ ?list_id: Array[String],
23
+ ?max_returned: Integer,
24
+ ?meta_data: "MetaDataAndResponseData" | "MetaDataOnly" | "NoMetaData",
25
+ ?name_filter: Types::name_filter,
26
+ ?name_range_filter: Types::name_range_filter,
27
+ ?request_id: String,
28
+ ?to_modified_date: String
29
+ }
30
+
31
+ def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
32
+ def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,100 @@
1
+ # Generated from operations.json by bin/generate-operations: don't edit.
2
+
3
+ module QubeSync
4
+ module Operations
5
+ class Deposit < Base
6
+ type cash_back_info_add = {
7
+ account_ref: Types::ref,
8
+ ?amount: Numeric,
9
+ ?def_macro: String,
10
+ ?memo: String
11
+ }
12
+
13
+ type cash_back_info_mod = {
14
+ ?account_ref: Types::ref,
15
+ ?amount: Numeric,
16
+ ?memo: String
17
+ }
18
+
19
+ type deposit_line_add = {
20
+ ?account_ref: Types::ref,
21
+ ?amount: Numeric,
22
+ ?check_number: String,
23
+ ?class_ref: Types::ref,
24
+ ?def_macro: String,
25
+ ?entity_ref: Types::ref,
26
+ ?memo: String,
27
+ ?override_check_number: String,
28
+ ?override_class_ref: Types::ref,
29
+ ?override_memo: String,
30
+ ?payment_method_ref: Types::ref,
31
+ ?payment_txn_id: String,
32
+ ?payment_txn_line_id: String
33
+ }
34
+
35
+ type deposit_line_mod = {
36
+ ?account_ref: Types::ref,
37
+ ?amount: Numeric,
38
+ ?check_number: String,
39
+ ?class_ref: Types::ref,
40
+ ?entity_ref: Types::ref,
41
+ ?memo: String,
42
+ ?override_check_number: String,
43
+ ?override_class_ref: Types::ref,
44
+ ?override_memo: String,
45
+ ?payment_method_ref: Types::ref,
46
+ ?payment_txn_id: String,
47
+ ?payment_txn_line_id: String,
48
+ txn_line_id: String
49
+ }
50
+
51
+ type create_params = {
52
+ ?cash_back_info_add: cash_back_info_add,
53
+ ?currency_ref: Types::ref,
54
+ ?def_macro: String,
55
+ ?deposit_line_add: Array[deposit_line_add],
56
+ deposit_to_account_ref: Types::ref,
57
+ ?exchange_rate: Numeric,
58
+ ?external_guid: String,
59
+ ?include_ret_element: Array["CashBackInfoRet" | "CurrencyRef" | "DataExtRet" | "DepositLineRet" | "DepositToAccountRef" | "DepositTotal" | "DepositTotalInHomeCurrency" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "ListID" | "Memo" | "OwnerID" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
60
+ ?memo: String,
61
+ ?request_id: String,
62
+ ?txn_date: String
63
+ }
64
+
65
+ type query_params = {
66
+ ?account_filter: Types::entity_filter,
67
+ ?currency_filter: Types::currency_filter,
68
+ ?entity_filter: Types::entity_filter,
69
+ ?include_line_items: bool,
70
+ ?include_ret_element: Array["CashBackInfoRet" | "CurrencyRef" | "DataExtRet" | "DepositLineRet" | "DepositToAccountRef" | "DepositTotal" | "DepositTotalInHomeCurrency" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "Memo" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
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
+ ?request_id: String,
77
+ ?txn_date_range_filter: Types::date_range_filter,
78
+ ?txn_id: Array[String]
79
+ }
80
+
81
+ type update_params = {
82
+ ?cash_back_info_mod: cash_back_info_mod,
83
+ ?currency_ref: Types::ref,
84
+ ?deposit_line_mod: Array[deposit_line_mod],
85
+ ?deposit_to_account_ref: Types::ref,
86
+ edit_sequence: String,
87
+ ?exchange_rate: Numeric,
88
+ ?include_ret_element: Array["CashBackInfoRet" | "CurrencyRef" | "DataExtRet" | "DepositLineRet" | "DepositToAccountRef" | "DepositTotal" | "DepositTotalInHomeCurrency" | "EditSequence" | "ExchangeRate" | "ExternalGUID" | "ListID" | "Memo" | "OwnerID" | "TimeCreated" | "TimeModified" | "TxnDate" | "TxnID" | "TxnNumber"],
89
+ ?memo: String,
90
+ ?request_id: String,
91
+ ?txn_date: String,
92
+ txn_id: String
93
+ }
94
+
95
+ def create: (String connection_id, ?create_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
96
+ def query: (String connection_id, ?query_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
97
+ def update: (String connection_id, ?update_params params, webhook_url: String, ?idempotency_key: String?) -> Hash[String, untyped]
98
+ end
99
+ end
100
+ end
@@ -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