conductor-node 11.0.2 → 11.0.4

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.
@@ -6,6 +6,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const BaseIntegration_1 = __importDefault(require("../../integrations/BaseIntegration"));
7
7
  const error_1 = require("../../utils/error");
8
8
  class QbdIntegration extends BaseIntegration_1.default {
9
+ /**
10
+ * An account represents a financial account, allowing customization like
11
+ * sub-accounting, account numbering, and initial balance setting.
12
+ */
9
13
  account = {
10
14
  /**
11
15
  * Perform the same activities as a user does in the QB New Account form,
@@ -33,6 +37,10 @@ class QbdIntegration extends BaseIntegration_1.default {
33
37
  */
34
38
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { AccountQueryRq: params }, "AccountQueryRs", "AccountRet"),
35
39
  };
40
+ /**
41
+ * A bill is a transaction that represents a request-for-payment from a vendor
42
+ * for goods or services that it has provided.
43
+ */
36
44
  bill = {
37
45
  /**
38
46
  * This API provides the functionality of the QuickBooks “Enter Bills” form,
@@ -168,6 +176,42 @@ class QbdIntegration extends BaseIntegration_1.default {
168
176
  */
169
177
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { BillQueryRq: params }, "BillQueryRs", "BillRet"),
170
178
  };
179
+ /**
180
+ * A billing rate is a predefined cost rate assigned to vendors or employees.
181
+ */
182
+ billingRate = {
183
+ /**
184
+ * Adds a billing rate to the billing rate level list.
185
+ *
186
+ * After a billing rate is created, it can be assigned to an employee or
187
+ * vendor (`VendorAdd`/`VendorMod`, `EmployeeAdd`/`EmployeeMod`) via the
188
+ * `BillingRateRef` element in the appropriate request. Then, once the
189
+ * billing rate is assigned to an employee or vendor, if you use that
190
+ * employee or vendor in a time transaction (`TimeTrackingAdd`), then the
191
+ * billing rate will override the rate specified by the service item used in
192
+ * the time transaction.
193
+ *
194
+ * Use `FixedBillingRate` to override all service items with a fixed rate.
195
+ * Use `BillingRatePerItem` to override a specific service item. If you want
196
+ * to specify more than one service item, you’ll need to use one
197
+ * `BillingRatePerItem` aggregate for each service item.
198
+ *
199
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BillingRateAdd
200
+ */
201
+ add: async (endUserId, params) => this.sendRequestWrapper(endUserId, { BillingRateAddRq: { BillingRateAdd: params } }, "BillingRateAddRs", "BillingRateRet"),
202
+ /**
203
+ * Returns all billing rates, or billing rates filtered by modified date, or
204
+ * filtered by billing rate name, or filtered by the service item referenced
205
+ * in the billing rate.
206
+ *
207
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BillingRateQuery
208
+ */
209
+ query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { BillingRateQueryRq: params }, "BillingRateQueryRs", "BillingRateRet"),
210
+ };
211
+ /**
212
+ * A bill payment check is a transaction that represents a payment by check
213
+ * for a bill.
214
+ */
171
215
  billPaymentCheck = {
172
216
  /**
173
217
  * A `BillPaymentCheckAdd` request must include either `PaymentAmount`,
@@ -274,9 +318,9 @@ class QbdIntegration extends BaseIntegration_1.default {
274
318
  * you can filter on the `RefNumber` or `RefNumber` range. Notice that all
275
319
  * of these filters can be used together (ANDed) if desired.
276
320
  *
277
- * To prevent the return of too much data, you can use `MaxReturned` to limit
278
- * the total number of bills returned from the query. In addition, you can
279
- * limit the type of data that is returned for each bill, using
321
+ * To prevent the return of too much data, you can use `MaxReturned` to
322
+ * limit the total number of bills returned from the query. In addition, you
323
+ * can limit the type of data that is returned for each bill, using
280
324
  * `IncludeRetElement`. Finally, you can specify whether each bill contains
281
325
  * line items using the `IncludeLineItems`, which by default is `False` (no
282
326
  * line item data).
@@ -285,35 +329,46 @@ class QbdIntegration extends BaseIntegration_1.default {
285
329
  */
286
330
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { BillPaymentCheckQueryRq: params }, "BillPaymentCheckQueryRs", "BillPaymentCheckRet"),
287
331
  };
288
- billingRate = {
332
+ /**
333
+ * A build assembly represents an inventory item created from other inventory
334
+ * items or assemblies.
335
+ */
336
+ buildAssembly = {
289
337
  /**
290
- * Adds a billing rate to the billing rate level list.
338
+ * Adds a build assembly transaction to QuickBooks, where the specified
339
+ * quantity of the specified inventory assembly item is built. If there are
340
+ * insufficient quantities of items required for the build, you can have the
341
+ * build marked as a pending build by using setting `MarkPendingIfRequired`
342
+ * to `True`. (If you don’t and there aren’t enough quantities on hand for
343
+ * the build, this request will fail.) If successful, this request results
344
+ * in the decrementing of the quantities on hand amounts of each item used
345
+ * in the build, and the incrementing of the on hand quantities of the built
346
+ * assembly item.
291
347
  *
292
- * After a billing rate is created, it can be assigned to an employee or
293
- * vendor (`VendorAdd`/`VendorMod`, `EmployeeAdd`/`EmployeeMod`) via the
294
- * `BillingRateRef` element in the appropriate request. Then, once the
295
- * billing rate is assigned to an employee or vendor, if you use that
296
- * employee or vendor in a time transaction (`TimeTrackingAdd`), then the
297
- * billing rate will override the rate specified by the service item used in
298
- * the time transaction.
348
+ * This request is supported only in Premier and Enterprise.
299
349
  *
300
- * Use `FixedBillingRate` to override all service items with a fixed rate.
301
- * Use `BillingRatePerItem` to override a specific service item. If you want
302
- * to specify more than one service item, you’ll need to use one
303
- * `BillingRatePerItem` aggregate for each service item.
350
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BuildAssemblyAdd
351
+ */
352
+ add: async (endUserId, params) => this.sendRequestWrapper(endUserId, { BuildAssemblyAddRq: { BuildAssemblyAdd: params } }, "BuildAssemblyAddRs", "BuildAssemblyRet"),
353
+ /**
354
+ * Modifies an existing build assembly transaction in the QuickBooks
355
+ * company.
304
356
  *
305
- * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BillingRateAdd
357
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BuildAssemblyMod
306
358
  */
307
- add: async (endUserId, params) => this.sendRequestWrapper(endUserId, { BillingRateAddRq: { BillingRateAdd: params } }, "BillingRateAddRs", "BillingRateRet"),
359
+ mod: async (endUserId, params) => this.sendRequestWrapper(endUserId, { BuildAssemblyModRq: { BuildAssemblyMod: params } }, "BuildAssemblyModRs", "BuildAssemblyRet"),
308
360
  /**
309
- * Returns all billing rates, or billing rates filtered by modified date, or
310
- * filtered by billing rate name, or filtered by the service item referenced
311
- * in the billing rate.
361
+ * Filters build assembly transactions by the specified filter criteria.
312
362
  *
313
- * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BillingRateQuery
363
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BuildAssemblyQuery
314
364
  */
315
- query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { BillingRateQueryRq: params }, "BillingRateQueryRs", "BillingRateRet"),
365
+ query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { BuildAssemblyQueryRq: params }, "BuildAssemblyQueryRs", "BuildAssemblyRet"),
316
366
  };
367
+ /**
368
+ * A charge contains information about a statement charge. (A credit card
369
+ * charge, on the other hand, refers to a credit card charge incurred by the
370
+ * QuickBooks user.)
371
+ */
317
372
  charge = {
318
373
  /**
319
374
  * Adds a customer charge. A `Charge` contains information about a statement
@@ -348,36 +403,9 @@ class QbdIntegration extends BaseIntegration_1.default {
348
403
  */
349
404
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ChargeQueryRq: params }, "ChargeQueryRs", "ChargeRet"),
350
405
  };
351
- buildAssembly = {
352
- /**
353
- * Adds a build assembly transaction to QuickBooks, where the specified
354
- * quantity of the specified inventory assembly item is built. If there are
355
- * insufficient quantities of items required for the build, you can have the
356
- * build marked as a pending build by using setting `MarkPendingIfRequired`
357
- * to `True`. (If you don’t and there aren’t enough quantities on hand for
358
- * the build, this request will fail.) If successful, this request results
359
- * in the decrementing of the quantities on hand amounts of each item used
360
- * in the build, and the incrementing of the on hand quantities of the built
361
- * assembly item.
362
- *
363
- * This request is supported only in Premier and Enterprise.
364
- *
365
- * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BuildAssemblyAdd
366
- */
367
- add: async (endUserId, params) => this.sendRequestWrapper(endUserId, { BuildAssemblyAddRq: { BuildAssemblyAdd: params } }, "BuildAssemblyAddRs", "BuildAssemblyRet"),
368
- /**
369
- * Modifies an existing build assembly transaction in the QuickBooks company.
370
- *
371
- * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BuildAssemblyMod
372
- */
373
- mod: async (endUserId, params) => this.sendRequestWrapper(endUserId, { BuildAssemblyModRq: { BuildAssemblyMod: params } }, "BuildAssemblyModRs", "BuildAssemblyRet"),
374
- /**
375
- * Filters build assembly transactions by the specified filter criteria.
376
- *
377
- * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BuildAssemblyQuery
378
- */
379
- query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { BuildAssemblyQueryRq: params }, "BuildAssemblyQueryRs", "BuildAssemblyRet"),
380
- };
406
+ /**
407
+ * A check is a transaction that represents a paper check.
408
+ */
381
409
  check = {
382
410
  /**
383
411
  * The amount of a check is the total of the amounts assigned to expense
@@ -399,7 +427,8 @@ class QbdIntegration extends BaseIntegration_1.default {
399
427
  */
400
428
  add: async (endUserId, params) => this.sendRequestWrapper(endUserId, { CheckAddRq: { CheckAdd: params } }, "CheckAddRs", "CheckRet"),
401
429
  /**
402
- * Modifies an existing Check. Notice that you cannot use this to modify BillPaymentChecks.
430
+ * Modifies an existing Check. Notice that you cannot use this to modify
431
+ * BillPaymentChecks.
403
432
  *
404
433
  * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/CheckMod
405
434
  */
@@ -413,6 +442,11 @@ class QbdIntegration extends BaseIntegration_1.default {
413
442
  */
414
443
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { CheckQueryRq: params }, "CheckQueryRs", "CheckRet"),
415
444
  };
445
+ /**
446
+ * Classes can be used to separate transactions into meaningful categories.
447
+ * (For example, transactions could be classified according to department,
448
+ * business location, or type of work.)
449
+ */
416
450
  class = {
417
451
  /**
418
452
  * Classes can be used to separate transactions into meaningful categories.
@@ -447,6 +481,10 @@ class QbdIntegration extends BaseIntegration_1.default {
447
481
  */
448
482
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ClassQueryRq: params }, "ClassQueryRs", "ClassRet"),
449
483
  };
484
+ /**
485
+ * The company refers to the end-user's business entity within QuickBooks
486
+ * Desktop.
487
+ */
450
488
  company = {
451
489
  /**
452
490
  * Returns detailed information about a QuickBooks company file, such as the
@@ -461,6 +499,11 @@ class QbdIntegration extends BaseIntegration_1.default {
461
499
  */
462
500
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { CompanyQueryRq: params }, "CompanyQueryRs", "CompanyRet"),
463
501
  };
502
+ /**
503
+ * A credit card charge is a general charge incurred when a QuickBooks user
504
+ * makes a purchase using a credit card. Credit card charges for purchases can
505
+ * be tracked as expenses (in expense accounts) or as items.
506
+ */
464
507
  creditCardCharge = {
465
508
  /**
466
509
  * A credit card charge is a general charge incurred when a QuickBooks user
@@ -509,6 +552,9 @@ class QbdIntegration extends BaseIntegration_1.default {
509
552
  */
510
553
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { CreditCardChargeQueryRq: params }, "CreditCardChargeQueryRs", "CreditCardChargeRet"),
511
554
  };
555
+ /**
556
+ * A credit card credit is a credit card refund issued to a customer.
557
+ */
512
558
  creditCardCredit = {
513
559
  /**
514
560
  * If a QuickBooks user returns merchandise and receives credit, the credit
@@ -556,6 +602,14 @@ class QbdIntegration extends BaseIntegration_1.default {
556
602
  */
557
603
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { CreditCardCreditQueryRq: params }, "CreditCardCreditQueryRs", "CreditCardCreditRet"),
558
604
  };
605
+ /**
606
+ * A credit memo specifies an amount that you owe your customer for some
607
+ * reason, such as overpayment against an invoice, returned merchandise, or
608
+ * for some pre-payment. It reduces a customer’s outstanding balance.
609
+ *
610
+ * Do not confuse a credit memo with a vendor credit, which specifies an
611
+ * amount that a vendor owes you.
612
+ */
559
613
  creditMemo = {
560
614
  /**
561
615
  * Adds a credit memo. A credit memo specifies an amount that you owe your
@@ -605,10 +659,12 @@ class QbdIntegration extends BaseIntegration_1.default {
605
659
  */
606
660
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { CreditMemoQueryRq: params }, "CreditMemoQueryRs", "CreditMemoRet"),
607
661
  };
662
+ /**
663
+ * A currency is custom currency defined by the user.
664
+ */
608
665
  currency = {
609
666
  /**
610
- * Adds a user-defined currency with the specified name and currency
611
- * code.
667
+ * Adds a user-defined currency with the specified name and currency code.
612
668
  *
613
669
  * Currencies created by users are distinguished from the built-in QB
614
670
  * currencies in the `CurrencyRet` object: they are identified as
@@ -641,6 +697,10 @@ class QbdIntegration extends BaseIntegration_1.default {
641
697
  */
642
698
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { CurrencyQueryRq: params }, "CurrencyQueryRs", "CurrencyRet"),
643
699
  };
700
+ /**
701
+ * Customers refer to both the QuickBooks user’s customers and the individual
702
+ * jobs that are being performed for them.
703
+ */
644
704
  customer = {
645
705
  /**
646
706
  * The customer list includes information about the QuickBooks user’s
@@ -685,6 +745,12 @@ class QbdIntegration extends BaseIntegration_1.default {
685
745
  */
686
746
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { CustomerQueryRq: params }, "CustomerQueryRs", "CustomerRet"),
687
747
  };
748
+ /**
749
+ * Customer types allow business owners to categorize customers in ways that
750
+ * are meaningful for their businesses. For example, a customer type might
751
+ * indicate which industry a customer represents, or which part of the country
752
+ * a customer is in.
753
+ */
688
754
  customerType = {
689
755
  /**
690
756
  * Customer types allow business owners to categorize customers in ways that
@@ -706,6 +772,11 @@ class QbdIntegration extends BaseIntegration_1.default {
706
772
  */
707
773
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { CustomerTypeQueryRq: params }, "CustomerTypeQueryRs", "CustomerTypeRet"),
708
774
  };
775
+ /**
776
+ * Date-driven terms show the day of the month by which payment is due and can
777
+ * include a discount for early payment. Payments with standard terms, on the
778
+ * other hand, are due within a certain number of days.
779
+ */
709
780
  dateDrivenTerms = {
710
781
  /**
711
782
  * Date-driven terms show the day of the month by which payment is due and
@@ -726,6 +797,11 @@ class QbdIntegration extends BaseIntegration_1.default {
726
797
  */
727
798
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { DateDrivenTermsQueryRq: params }, "DateDrivenTermsQueryRs", "DateDrivenTermsRet"),
728
799
  };
800
+ /**
801
+ * A deposit is a non-posting transaction that you can use to group payments
802
+ * together. You can also use a deposit to deposit payments directly into a
803
+ * QuickBooks bank account.
804
+ */
729
805
  deposit = {
730
806
  /**
731
807
  * After you receive payments from customers (see `ReceivePayment`), you can
@@ -749,6 +825,11 @@ class QbdIntegration extends BaseIntegration_1.default {
749
825
  */
750
826
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { DepositQueryRq: params }, "DepositQueryRs", "DepositRet"),
751
827
  };
828
+ /**
829
+ * An employee is a person who works for a company. An employee can be a
830
+ * salaried employee, an hourly employee, or a contractor. An employee can
831
+ * also be a vendor.
832
+ */
752
833
  employee = {
753
834
  /**
754
835
  * Adds an employee with personal data about the employee as well as certain
@@ -770,6 +851,16 @@ class QbdIntegration extends BaseIntegration_1.default {
770
851
  */
771
852
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { EmployeeQueryRq: params }, "EmployeeQueryRs", "EmployeeRet"),
772
853
  };
854
+ /**
855
+ * A QuickBooks estimate is a description of a sale that the QuickBooks user
856
+ * proposes to make to a current or prospective customer. An estimate might
857
+ * also be called a “bid” or a “proposal.” In QuickBooks, estimates and
858
+ * invoices use similar fields, and an estimate can be converted into an
859
+ * invoice after the customer accepts the estimate.
860
+ *
861
+ * An estimate is a non-posting transaction, so it does not affect a company’s
862
+ * balance sheet or income statement.
863
+ */
773
864
  estimate = {
774
865
  /**
775
866
  * Adds an estimate. A QuickBooks estimate is a description of a sale that
@@ -816,6 +907,10 @@ class QbdIntegration extends BaseIntegration_1.default {
816
907
  */
817
908
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { EstimateQueryRq: params }, "EstimateQueryRs", "EstimateRet"),
818
909
  };
910
+ /**
911
+ * An inventory adjustment is a non-posting transaction that you can use to
912
+ * adjust the quantity or value of an inventory item
913
+ */
819
914
  inventoryAdjustment = {
820
915
  /**
821
916
  * Adds an inventory adjustment.
@@ -850,6 +945,11 @@ class QbdIntegration extends BaseIntegration_1.default {
850
945
  */
851
946
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { InventoryAdjustmentQueryRq: params }, "InventoryAdjustmentQueryRs", "InventoryAdjustmentRet"),
852
947
  };
948
+ /**
949
+ * An inventory site is a location where inventory is stored. For example, a
950
+ * company might have a warehouse, a stockroom, and a showroom, each of which
951
+ * is an inventory site.
952
+ */
853
953
  inventorySite = {
854
954
  /**
855
955
  * Adds an inventory site.
@@ -870,6 +970,17 @@ class QbdIntegration extends BaseIntegration_1.default {
870
970
  */
871
971
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { InventorySiteQueryRq: params }, "InventorySiteQueryRs", "InventorySiteRet"),
872
972
  };
973
+ /**
974
+ * An invoice records the amount owed by a customer who purchased goods or
975
+ * services but did not pay in full at the time of the sale. If full payment
976
+ * is received at the time of the sale, it is recorded as a sales receipt, not
977
+ * an invoice.
978
+ *
979
+ * In QuickBooks, invoices and estimates use similar fields, and an estimate
980
+ * can be converted into an invoice after the customer accepts the estimate.
981
+ * However, in the SDK, there is currently no ability to create an invoice
982
+ * directly from an estimate (you cannot link an invoice to an estimate).
983
+ */
873
984
  invoice = {
874
985
  /**
875
986
  * Adds an invoice.
@@ -932,6 +1043,10 @@ class QbdIntegration extends BaseIntegration_1.default {
932
1043
  */
933
1044
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { InvoiceQueryRq: params }, "InvoiceQueryRs", "InvoiceRet"),
934
1045
  };
1046
+ /**
1047
+ * A discount item is a percentage or a fixed amount that will be subtracted
1048
+ * from a total or subtotal.
1049
+ */
935
1050
  itemDiscount = {
936
1051
  /**
937
1052
  * Adds a discount item. A discount item is a percentage or a fixed amount
@@ -1007,6 +1122,12 @@ class QbdIntegration extends BaseIntegration_1.default {
1007
1122
  */
1008
1123
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemDiscountQueryRq: params }, "ItemDiscountQueryRs", "ItemDiscountRet"),
1009
1124
  };
1125
+ /**
1126
+ * Fixed-asset items represent assets that will benefit a business for longer
1127
+ * than one year. The purchase price of these fixed assets is typically
1128
+ * expensed over a period of years, rather than in the year the purchase was
1129
+ * made.
1130
+ */
1010
1131
  itemFixedAsset = {
1011
1132
  /**
1012
1133
  * Adds a fixed-asset item. Fixed-asset items represent assets that will
@@ -1033,6 +1154,9 @@ class QbdIntegration extends BaseIntegration_1.default {
1033
1154
  */
1034
1155
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemFixedAssetQueryRq: params }, "ItemFixedAssetQueryRs", "ItemFixedAssetRet"),
1035
1156
  };
1157
+ /**
1158
+ * An item group represents items that are grouped together for fast entry.
1159
+ */
1036
1160
  itemGroup = {
1037
1161
  /**
1038
1162
  * Adds an item group. `ItemGroup` objects represent items that are grouped
@@ -1059,6 +1183,10 @@ class QbdIntegration extends BaseIntegration_1.default {
1059
1183
  */
1060
1184
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemGroupQueryRq: params }, "ItemGroupQueryRs", "ItemGroupRet"),
1061
1185
  };
1186
+ /**
1187
+ * An inventory item is any merchandise or part that a business purchases,
1188
+ * tracks as inventory, and then resells.
1189
+ */
1062
1190
  itemInventory = {
1063
1191
  /**
1064
1192
  * Adds an inventory item. An inventory item is any merchandise or part that
@@ -1106,6 +1234,11 @@ class QbdIntegration extends BaseIntegration_1.default {
1106
1234
  */
1107
1235
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemInventoryQueryRq: params }, "ItemInventoryQueryRs", "ItemInventoryRet"),
1108
1236
  };
1237
+ /**
1238
+ * An inventory assembly item is an item that is assembled or manufactured
1239
+ * from other inventory items. The items and/or assemblies that make up the
1240
+ * assembly are called components.
1241
+ */
1109
1242
  itemInventoryAssembly = {
1110
1243
  /**
1111
1244
  * Adds an inventory assembly item, which is an item that is assembled or
@@ -1146,6 +1279,14 @@ class QbdIntegration extends BaseIntegration_1.default {
1146
1279
  */
1147
1280
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemInventoryAssemblyQueryRq: params }, "ItemInventoryAssemblyQueryRs", "ItemInventoryAssemblyRet"),
1148
1281
  };
1282
+ /**
1283
+ * A non-inventory item is any material or part that a business buys but does
1284
+ * not keep on hand as inventory. There are two types of non-inventory items:
1285
+ * 1. Materials or parts that are part of the business’s overhead (for
1286
+ * example, office supplies
1287
+ * 2. Materials or parts that the business buys to finish a specific job and
1288
+ * then charges back to the customer.
1289
+ */
1149
1290
  itemNonInventory = {
1150
1291
  /**
1151
1292
  * Adds a non-inventory item, which is any material or part that a business
@@ -1178,13 +1319,13 @@ class QbdIntegration extends BaseIntegration_1.default {
1178
1319
  * the change should apply to existing transactions or not. Specifying True
1179
1320
  * for the boolean basically dismisses this with a “Yes” answer, allowing
1180
1321
  * your changes to be made and changes any existing transactions that use
1181
- * the item with that `AccountRef`. Specifying “False” means that the mod will
1182
- * not take affect if there are existing transactions. Setting this to
1322
+ * the item with that `AccountRef`. Specifying “False” means that the mod
1323
+ * will not take affect if there are existing transactions. Setting this to
1183
1324
  * “True” should be used with caution and normally only after some user has
1184
1325
  * indicated that they want those changes made to all those existing
1185
1326
  * transactions! If any affected transactions are protected by a closing
1186
- * date and password, the `AccountRef` changes will not be made and so the Mod
1187
- * request will return an error without making the requested Mod.
1327
+ * date and password, the `AccountRef` changes will not be made and so the
1328
+ * Mod request will return an error without making the requested Mod.
1188
1329
  *
1189
1330
  * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/ItemNonInventoryMod
1190
1331
  */
@@ -1196,6 +1337,11 @@ class QbdIntegration extends BaseIntegration_1.default {
1196
1337
  */
1197
1338
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemNonInventoryQueryRq: params }, "ItemNonInventoryQueryRs", "ItemNonInventoryRet"),
1198
1339
  };
1340
+ /**
1341
+ * An other charge item are miscellaneous charges that do not fall into the
1342
+ * categories of service, labor, materials, or parts. Examples include
1343
+ * delivery charges, setup fees, and service charges.
1344
+ */
1199
1345
  itemOtherCharge = {
1200
1346
  /**
1201
1347
  * Adds an other charge item, which are miscellaneous charges that do not
@@ -1242,6 +1388,10 @@ class QbdIntegration extends BaseIntegration_1.default {
1242
1388
  */
1243
1389
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemOtherChargeQueryRq: params }, "ItemOtherChargeQueryRs", "ItemOtherChargeRet"),
1244
1390
  };
1391
+ /**
1392
+ * A payment item is a type of item that is used to record a payment that is
1393
+ * received from a customer.
1394
+ */
1245
1395
  itemPayment = {
1246
1396
  /**
1247
1397
  * Adds an item payment or set of payments. You can use this request to
@@ -1273,6 +1423,10 @@ class QbdIntegration extends BaseIntegration_1.default {
1273
1423
  */
1274
1424
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemPaymentQueryRq: params }, "ItemPaymentQueryRs", "ItemPaymentRet"),
1275
1425
  };
1426
+ /**
1427
+ * An item receipt transaction is a transaction entered in QuickBooks when a
1428
+ * shipment is received from a vendor.
1429
+ */
1276
1430
  itemReceipt = {
1277
1431
  /**
1278
1432
  * Adds an item receipt transaction, which is a transaction entered in
@@ -1301,6 +1455,10 @@ class QbdIntegration extends BaseIntegration_1.default {
1301
1455
  */
1302
1456
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemReceiptQueryRq: params }, "ItemReceiptQueryRs", "ItemReceiptRet"),
1303
1457
  };
1458
+ /**
1459
+ * A sales-tax item is an item used to calculate a single sales tax that is
1460
+ * collected at a specified rate and paid to a single agency.
1461
+ */
1304
1462
  itemSalesTax = {
1305
1463
  /**
1306
1464
  * Adds a sales-tax item, which is an item used to calculate a single sales
@@ -1356,6 +1514,11 @@ class QbdIntegration extends BaseIntegration_1.default {
1356
1514
  */
1357
1515
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemSalesTaxQueryRq: params }, "ItemSalesTaxQueryRs", "ItemSalesTaxRet"),
1358
1516
  };
1517
+ /**
1518
+ * A sales-tax group item is an item used for calculating two or more sales
1519
+ * taxes grouped together and applied to the same sale. For example, local and
1520
+ * state taxes could be tracked separately but applied to a sale as one tax.
1521
+ */
1359
1522
  itemSalesTaxGroup = {
1360
1523
  /**
1361
1524
  * Adds a sales-tax group item, which is an item used for calculating two or
@@ -1408,6 +1571,11 @@ class QbdIntegration extends BaseIntegration_1.default {
1408
1571
  */
1409
1572
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemSalesTaxGroupQueryRq: params }, "ItemSalesTaxGroupQueryRs", "ItemSalesTaxGroupRet"),
1410
1573
  };
1574
+ /**
1575
+ * A service item is an item that refers to services that a business charges
1576
+ * for or purchases. Examples include specialized labor, consulting hours, and
1577
+ * professional fees.
1578
+ */
1411
1579
  itemService = {
1412
1580
  /**
1413
1581
  * Adds a service item, which is an item that refers to services that a
@@ -1420,8 +1588,8 @@ class QbdIntegration extends BaseIntegration_1.default {
1420
1588
  * In a `TimeTracking` message, `ItemServiceRef` refers to the type of work.
1421
1589
  * If no `CustomerRef` is specified, then `ItemServiceRef` is not needed. If
1422
1590
  * `IsBillable` is set to true, then `TimeTrackingAdd` must include both
1423
- * `ItemServiceRef` and `CustomerRef`.
1424
- * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/ItemServiceAdd
1591
+ * `ItemServiceRef` and `CustomerRef`. See more:
1592
+ * https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/ItemServiceAdd
1425
1593
  */
1426
1594
  add: async (endUserId, params) => this.sendRequestWrapper(endUserId, { ItemServiceAddRq: { ItemServiceAdd: params } }, "ItemServiceAddRs", "ItemServiceRet"),
1427
1595
  /**
@@ -1463,6 +1631,10 @@ class QbdIntegration extends BaseIntegration_1.default {
1463
1631
  */
1464
1632
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemServiceQueryRq: params }, "ItemServiceQueryRs", "ItemServiceRet"),
1465
1633
  };
1634
+ /**
1635
+ * A subtotal item is used on a sales form to add up the amounts of the item
1636
+ * lines above it, up to the previous subtotal.
1637
+ */
1466
1638
  itemSubtotal = {
1467
1639
  /**
1468
1640
  * Adds a subtotal item. On a sales form, a subtotal item will add up the
@@ -1486,6 +1658,10 @@ class QbdIntegration extends BaseIntegration_1.default {
1486
1658
  */
1487
1659
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ItemSubtotalQueryRq: params }, "ItemSubtotalQueryRs", "ItemSubtotalRet"),
1488
1660
  };
1661
+ /**
1662
+ * A job type can be used to separate jobs into any categories that are
1663
+ * meaningful to the business.
1664
+ */
1489
1665
  jobType = {
1490
1666
  /**
1491
1667
  * Adds a job type. A job type can be used to separate jobs into any
@@ -1505,6 +1681,11 @@ class QbdIntegration extends BaseIntegration_1.default {
1505
1681
  */
1506
1682
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { JobTypeQueryRq: params }, "JobTypeQueryRs", "JobTypeRet"),
1507
1683
  };
1684
+ /**
1685
+ * A journal entry is used for recording transactions directly in the general
1686
+ * journal, particularly for activities like depreciation. It requires paired
1687
+ * credit and debit lines in one request to balance the monetary amounts.
1688
+ */
1508
1689
  journalEntry = {
1509
1690
  /**
1510
1691
  * The debit and credit lines can be intermingled. A credit line can legally
@@ -1574,6 +1755,10 @@ class QbdIntegration extends BaseIntegration_1.default {
1574
1755
  */
1575
1756
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { JournalEntryQueryRq: params }, "JournalEntryQueryRs", "JournalEntryRet"),
1576
1757
  };
1758
+ /**
1759
+ * A lead is a potential customer or sales opportunity that a business might
1760
+ * have.
1761
+ */
1577
1762
  lead = {
1578
1763
  /**
1579
1764
  * Adds a lead.
@@ -1594,6 +1779,10 @@ class QbdIntegration extends BaseIntegration_1.default {
1594
1779
  */
1595
1780
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { LeadQueryRq: params }, "LeadQueryRs", "LeadRet"),
1596
1781
  };
1782
+ /**
1783
+ * The “other names” list contains any names that do not appear on customer,
1784
+ * vendor, or employee lists.
1785
+ */
1597
1786
  otherName = {
1598
1787
  /**
1599
1788
  * Adds an other name. In QuickBooks, the “other names” list contains any
@@ -1615,6 +1804,12 @@ class QbdIntegration extends BaseIntegration_1.default {
1615
1804
  */
1616
1805
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { OtherNameQueryRq: params }, "OtherNameQueryRs", "OtherNameRet"),
1617
1806
  };
1807
+ /**
1808
+ * A price level is used to specify custom pricing for specific customers.
1809
+ * Once you create a price level for a customer, QuickBooks will automatically
1810
+ * use the custom price in new invoices, sales receipts, sales orders or
1811
+ * credit memos for that customer.
1812
+ */
1618
1813
  priceLevel = {
1619
1814
  /**
1620
1815
  * Adds a price level. You can use price levels to specify custom pricing
@@ -1649,6 +1844,9 @@ class QbdIntegration extends BaseIntegration_1.default {
1649
1844
  */
1650
1845
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { PriceLevelQueryRq: params }, "PriceLevelQueryRs", "PriceLevelRet"),
1651
1846
  };
1847
+ /**
1848
+ * A purchase order is an order submitted to a vendor.
1849
+ */
1652
1850
  purchaseOrder = {
1653
1851
  /**
1654
1852
  * Adds a purchase order, which is an order submitted to a vendor. You can
@@ -1690,6 +1888,15 @@ class QbdIntegration extends BaseIntegration_1.default {
1690
1888
  */
1691
1889
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { PurchaseOrderQueryRq: params }, "PurchaseOrderQueryRs", "PurchaseOrderRet"),
1692
1890
  };
1891
+ /**
1892
+ * A receive payment transaction is used for one or more of these purposes:
1893
+ * 1. To record a customer’s payment against an invoice for one or more jobs,
1894
+ * 2. To set a discount (for early payment, for example),
1895
+ * 3. To set a credit (from previously returned merchandise, for example).
1896
+ *
1897
+ * If full payment is received at the time of sale, it is recorded using a
1898
+ * sales receipt transaction, not a receive payments transaction.
1899
+ */
1693
1900
  receivePayment = {
1694
1901
  /**
1695
1902
  * Receives a customer payment into QuickBooks. A receive payment
@@ -1782,6 +1989,12 @@ class QbdIntegration extends BaseIntegration_1.default {
1782
1989
  */
1783
1990
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { ReceivePaymentQueryRq: params }, "ReceivePaymentQueryRs", "ReceivePaymentRet"),
1784
1991
  };
1992
+ /**
1993
+ * A report in QuickBooks Desktop is a tool that allows users to generate
1994
+ * detailed financial statements and overviews, such as Profit and Loss
1995
+ * statements or General Ledger detail reports, tailored to their specific
1996
+ * needs.
1997
+ */
1785
1998
  report = {
1786
1999
  /**
1787
2000
  * Generates budget reports similar to the budget report functionality that
@@ -1983,6 +2196,12 @@ class QbdIntegration extends BaseIntegration_1.default {
1983
2196
  */
1984
2197
  time: async (endUserId, params) => this.sendRequestWrapper(endUserId, { TimeReportQueryRq: params }, "TimeReportQueryRs", "ReportRet"),
1985
2198
  };
2199
+ /**
2200
+ * A sales order tracks inventory that is on back order for a customer. In
2201
+ * QuickBooks, sales orders and invoices use similar fields, and a sales order
2202
+ * can be “converted” into an invoice (by linking the invoice to the sales
2203
+ * order) once the inventory is in stock.
2204
+ */
1986
2205
  salesOrder = {
1987
2206
  /**
1988
2207
  * Adds a sales order.
@@ -2028,6 +2247,9 @@ class QbdIntegration extends BaseIntegration_1.default {
2028
2247
  */
2029
2248
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { SalesOrderQueryRq: params }, "SalesOrderQueryRs", "SalesOrderRet"),
2030
2249
  };
2250
+ /**
2251
+ * Sales receipts include payments by cash, check, or credit card.
2252
+ */
2031
2253
  salesReceipt = {
2032
2254
  /**
2033
2255
  * Adds a sales receipt to QuickBooks.
@@ -2070,6 +2292,9 @@ class QbdIntegration extends BaseIntegration_1.default {
2070
2292
  */
2071
2293
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { SalesReceiptQueryRq: params }, "SalesReceiptQueryRs", "SalesReceiptRet"),
2072
2294
  };
2295
+ /**
2296
+ * A sales rep is a sales representative listed on sales forms.
2297
+ */
2073
2298
  salesRep = {
2074
2299
  /**
2075
2300
  * Adds a sales rep.
@@ -2098,6 +2323,11 @@ class QbdIntegration extends BaseIntegration_1.default {
2098
2323
  */
2099
2324
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { SalesRepQueryRq: params }, "SalesRepQueryRs", "SalesRepRet"),
2100
2325
  };
2326
+ /**
2327
+ * A sales tax code helps categorize items on a sales form as taxable or
2328
+ * non-taxable, detailing reasons and associating tax codes with customers,
2329
+ * items, or transactions.
2330
+ */
2101
2331
  salesTaxCode = {
2102
2332
  /**
2103
2333
  * Adds a sales tax code.
@@ -2114,13 +2344,14 @@ class QbdIntegration extends BaseIntegration_1.default {
2114
2344
  * preference within QuickBooks is set to No, QuickBooks will assign the
2115
2345
  * default non-taxable sales-tax code to all sales.
2116
2346
  *
2117
- * A `SalesTaxCodeRef` aggregate refers to a sales-tax code on the list. In a
2118
- * request, if a `SalesTaxCodeRef` aggregate includes both `FullName` and
2119
- * `ListID`, `FullName` will be ignored. In a Customer message, `SalesTaxCodeRef`
2120
- * refers to the sales-tax code that will be used for items related to this
2121
- * customer. In an ItemInventory message, `SalesTaxCodeRef` refers to the type
2122
- * of sales tax that will be charged for this item, if it is a taxable item
2123
- * and if sales tax is set up within QuickBooks.
2347
+ * A `SalesTaxCodeRef` aggregate refers to a sales-tax code on the list. In
2348
+ * a request, if a `SalesTaxCodeRef` aggregate includes both `FullName` and
2349
+ * `ListID`, `FullName` will be ignored. In a Customer message,
2350
+ * `SalesTaxCodeRef` refers to the sales-tax code that will be used for
2351
+ * items related to this customer. In an ItemInventory message,
2352
+ * `SalesTaxCodeRef` refers to the type of sales tax that will be charged
2353
+ * for this item, if it is a taxable item and if sales tax is set up within
2354
+ * QuickBooks.
2124
2355
  *
2125
2356
  * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/SalesTaxCodeAdd
2126
2357
  */
@@ -2142,9 +2373,14 @@ class QbdIntegration extends BaseIntegration_1.default {
2142
2373
  */
2143
2374
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { SalesTaxCodeQueryRq: params }, "SalesTaxCodeQueryRs", "SalesTaxCodeRet"),
2144
2375
  };
2376
+ /**
2377
+ * A sales tax payment check is a payment made for sales tax owed (for
2378
+ * example, to a state sales tax authority).
2379
+ */
2145
2380
  salesTaxPaymentCheck = {
2146
2381
  /**
2147
- * Adds a payment made for sales tax owed (for example, to a state sales tax authority).
2382
+ * Adds a payment made for sales tax owed (for example, to a state sales tax
2383
+ * authority).
2148
2384
  *
2149
2385
  * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/SalesTaxPaymentCheckAdd
2150
2386
  */
@@ -2156,12 +2392,18 @@ class QbdIntegration extends BaseIntegration_1.default {
2156
2392
  */
2157
2393
  mod: async (endUserId, params) => this.sendRequestWrapper(endUserId, { SalesTaxPaymentCheckModRq: { SalesTaxPaymentCheckMod: params } }, "SalesTaxPaymentCheckModRs", "SalesTaxPaymentCheckRet"),
2158
2394
  /**
2159
- * Queries for payments that have been made for sales tax owed (for example, to a state sales tax authority).
2395
+ * Queries for payments that have been made for sales tax owed (for example,
2396
+ * to a state sales tax authority).
2160
2397
  *
2161
2398
  * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/SalesTaxPaymentCheckQuery
2162
2399
  */
2163
2400
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { SalesTaxPaymentCheckQueryRq: params }, "SalesTaxPaymentCheckQueryRs", "SalesTaxPaymentCheckRet"),
2164
2401
  };
2402
+ /**
2403
+ * Standard terms show the number of days within which payment is due and can
2404
+ * include a discount for early payment. Payments with date-driven terms, on
2405
+ * the other hand, are due by a certain date.
2406
+ */
2165
2407
  standardTerms = {
2166
2408
  /**
2167
2409
  * Adds a standard term. Standard terms show the number of days within which
@@ -2169,7 +2411,8 @@ class QbdIntegration extends BaseIntegration_1.default {
2169
2411
  * the following standard term means that payment is due in 30 days, with a
2170
2412
  * 1% discount if payment is made within 10 days: "1% 10 Net 30".
2171
2413
  *
2172
- * Payments with date-driven terms, on the other hand, are due by a certain date.
2414
+ * Payments with date-driven terms, on the other hand, are due by a certain
2415
+ * date.
2173
2416
  *
2174
2417
  * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/StandardTermsAdd
2175
2418
  */
@@ -2181,6 +2424,10 @@ class QbdIntegration extends BaseIntegration_1.default {
2181
2424
  */
2182
2425
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { StandardTermsQueryRq: params }, "StandardTermsQueryRs", "StandardTermsRet"),
2183
2426
  };
2427
+ /**
2428
+ * The time-tracking object facilitates payroll and invoicing based on work
2429
+ * hours, assignable to vendors, employees, or others.
2430
+ */
2184
2431
  timeTracking = {
2185
2432
  /**
2186
2433
  * The time-tracking transactions that are returned in this query include
@@ -2232,6 +2479,10 @@ class QbdIntegration extends BaseIntegration_1.default {
2232
2479
  */
2233
2480
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { TimeTrackingQueryRq: params }, "TimeTrackingQueryRs", "TimeTrackingRet"),
2234
2481
  };
2482
+ /**
2483
+ * A transfer is a transaction that moves money from one account to another
2484
+ * account.
2485
+ */
2235
2486
  transfer = {
2236
2487
  /**
2237
2488
  * Adds a transfer transaction.
@@ -2252,6 +2503,10 @@ class QbdIntegration extends BaseIntegration_1.default {
2252
2503
  */
2253
2504
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { TransferQueryRq: params }, "TransferQueryRs", "TransferRet"),
2254
2505
  };
2506
+ /**
2507
+ * An inventory transfer is the movement of inventory between two inventory
2508
+ * sites.
2509
+ */
2255
2510
  transferInventory = {
2256
2511
  /**
2257
2512
  * Adds a transfer inventory transaction.
@@ -2273,9 +2528,14 @@ class QbdIntegration extends BaseIntegration_1.default {
2273
2528
  */
2274
2529
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { TransferInventoryQueryRq: params }, "TransferInventoryQueryRs", "TransferInventoryRet"),
2275
2530
  };
2531
+ /**
2532
+ * A vehicle is used to add, select, and manage vehicles for tracking and
2533
+ * billing mileage.
2534
+ */
2276
2535
  vehicle = {
2277
2536
  /**
2278
- * Adds a vehicle to the vehicle list for use in `VehicleMileage` transactions. Each vehicle name must be unique.
2537
+ * Adds a vehicle to the vehicle list for use in `VehicleMileage`
2538
+ * transactions. Each vehicle name must be unique.
2279
2539
  *
2280
2540
  * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/VehicleAdd
2281
2541
  */
@@ -2295,6 +2555,10 @@ class QbdIntegration extends BaseIntegration_1.default {
2295
2555
  */
2296
2556
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { VehicleQueryRq: params }, "VehicleQueryRs", "VehicleRet"),
2297
2557
  };
2558
+ /**
2559
+ * Vehicle mileage records a mileage transaction for a specified vehicle,
2560
+ * using provided or calculated miles.
2561
+ */
2298
2562
  vehicleMileage = {
2299
2563
  /**
2300
2564
  * Adds a vehicle mileage transaction. involving the specified vehicle for
@@ -2312,6 +2576,12 @@ class QbdIntegration extends BaseIntegration_1.default {
2312
2576
  */
2313
2577
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { VehicleMileageQueryRq: params }, "VehicleMileageQueryRs", "VehicleMileageRet"),
2314
2578
  };
2579
+ /**
2580
+ * A vendor is any person or company from whom a small business owner buys
2581
+ * goods and services. (Banks and tax agencies usually are included on the
2582
+ * vendor list.) A company’s vendor list contains information such as account
2583
+ * balance and contact information about each vendor.
2584
+ */
2315
2585
  vendor = {
2316
2586
  /**
2317
2587
  * Adds a vendor.
@@ -2340,6 +2610,11 @@ class QbdIntegration extends BaseIntegration_1.default {
2340
2610
  */
2341
2611
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { VendorQueryRq: params }, "VendorQueryRs", "VendorRet"),
2342
2612
  };
2613
+ /**
2614
+ * A vendor credit is also known as a “bill credit”. That is, it is a credit
2615
+ * that a vendor owes you because you overpaid your bill, returned
2616
+ * merchandise, or for some other reason.
2617
+ */
2343
2618
  vendorCredit = {
2344
2619
  /**
2345
2620
  * Adds a vendor credit.
@@ -2382,6 +2657,12 @@ class QbdIntegration extends BaseIntegration_1.default {
2382
2657
  */
2383
2658
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { VendorCreditQueryRq: params }, "VendorCreditQueryRs", "VendorCreditRet"),
2384
2659
  };
2660
+ /**
2661
+ * A vendor type allows business owners to categorize vendors in ways that are
2662
+ * meaningful for their businesses. For example, a vendor type might indicate
2663
+ * which industry a vendor represents, or which part of the country a vendor
2664
+ * is in.
2665
+ */
2385
2666
  vendorType = {
2386
2667
  /**
2387
2668
  * Adds a vendor type. A vendor type allows business owners to categorize
@@ -2403,6 +2684,10 @@ class QbdIntegration extends BaseIntegration_1.default {
2403
2684
  */
2404
2685
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { VendorTypeQueryRq: params }, "VendorTypeQueryRs", "VendorTypeRet"),
2405
2686
  };
2687
+ /**
2688
+ * A workers comp code categorizes occupations based on risk, determining
2689
+ * insurance premiums for workers' compensation coverage.
2690
+ */
2406
2691
  workersCompCode = {
2407
2692
  /**
2408
2693
  * Adds a workers’ compensation code with one or more rate entries (each