conductor-node 12.13.0 → 12.15.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 (51) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/core.d.ts +2 -2
  3. package/core.d.ts.map +1 -1
  4. package/core.js +5 -3
  5. package/core.js.map +1 -1
  6. package/core.mjs +5 -3
  7. package/core.mjs.map +1 -1
  8. package/index.d.mts +2 -0
  9. package/index.d.ts +2 -0
  10. package/index.d.ts.map +1 -1
  11. package/index.js.map +1 -1
  12. package/index.mjs.map +1 -1
  13. package/package.json +1 -1
  14. package/resources/qbd/build-assemblies.d.ts +674 -0
  15. package/resources/qbd/build-assemblies.d.ts.map +1 -0
  16. package/resources/qbd/build-assemblies.js +120 -0
  17. package/resources/qbd/build-assemblies.js.map +1 -0
  18. package/resources/qbd/build-assemblies.mjs +115 -0
  19. package/resources/qbd/build-assemblies.mjs.map +1 -0
  20. package/resources/qbd/index.d.ts +1 -0
  21. package/resources/qbd/index.d.ts.map +1 -1
  22. package/resources/qbd/index.js +5 -2
  23. package/resources/qbd/index.js.map +1 -1
  24. package/resources/qbd/index.mjs +1 -0
  25. package/resources/qbd/index.mjs.map +1 -1
  26. package/resources/qbd/inventory-adjustments.d.ts +5 -5
  27. package/resources/qbd/inventory-adjustments.d.ts.map +1 -1
  28. package/resources/qbd/item-sites.d.ts +1 -4
  29. package/resources/qbd/item-sites.d.ts.map +1 -1
  30. package/resources/qbd/item-sites.js.map +1 -1
  31. package/resources/qbd/item-sites.mjs.map +1 -1
  32. package/resources/qbd/price-levels.d.ts +15 -15
  33. package/resources/qbd/price-levels.d.ts.map +1 -1
  34. package/resources/qbd/qbd.d.ts +4 -0
  35. package/resources/qbd/qbd.d.ts.map +1 -1
  36. package/resources/qbd/qbd.js +5 -0
  37. package/resources/qbd/qbd.js.map +1 -1
  38. package/resources/qbd/qbd.mjs +5 -0
  39. package/resources/qbd/qbd.mjs.map +1 -1
  40. package/src/core.ts +6 -4
  41. package/src/index.ts +2 -0
  42. package/src/resources/qbd/build-assemblies.ts +842 -0
  43. package/src/resources/qbd/index.ts +11 -0
  44. package/src/resources/qbd/inventory-adjustments.ts +6 -6
  45. package/src/resources/qbd/item-sites.ts +1 -4
  46. package/src/resources/qbd/price-levels.ts +17 -17
  47. package/src/resources/qbd/qbd.ts +27 -0
  48. package/src/version.ts +1 -1
  49. package/version.d.ts +1 -1
  50. package/version.js +1 -1
  51. package/version.mjs +1 -1
@@ -47,6 +47,17 @@ export {
47
47
  type BillListParams,
48
48
  type BillDeleteParams,
49
49
  } from "./bills.js";
50
+ export {
51
+ BuildAssembliesCursorPage,
52
+ BuildAssemblies,
53
+ type BuildAssembly,
54
+ type BuildAssemblyDeleteResponse,
55
+ type BuildAssemblyCreateParams,
56
+ type BuildAssemblyRetrieveParams,
57
+ type BuildAssemblyUpdateParams,
58
+ type BuildAssemblyListParams,
59
+ type BuildAssemblyDeleteParams,
60
+ } from "./build-assemblies.js";
50
61
  export {
51
62
  ChecksCursorPage,
52
63
  Checks,
@@ -375,7 +375,7 @@ export namespace InventoryAdjustment {
375
375
  /**
376
376
  * The inventory item associated with this inventory adjustment line.
377
377
  */
378
- item: Line.Item | null;
378
+ item: Line.Item;
379
379
 
380
380
  /**
381
381
  * The lot number of the item associated with this inventory adjustment line. Used
@@ -572,6 +572,11 @@ export interface InventoryAdjustmentCreateParams {
572
572
 
573
573
  export namespace InventoryAdjustmentCreateParams {
574
574
  export interface Line {
575
+ /**
576
+ * The inventory item associated with this inventory adjustment line.
577
+ */
578
+ itemId: string;
579
+
575
580
  /**
576
581
  * Adjusts the lot number of this inventory adjustment line.
577
582
  */
@@ -594,11 +599,6 @@ export namespace InventoryAdjustmentCreateParams {
594
599
  * new monetary value, and optionally by setting a new quantity.
595
600
  */
596
601
  adjustValue?: Line.AdjustValue;
597
-
598
- /**
599
- * The inventory item associated with this inventory adjustment line.
600
- */
601
- itemId?: string;
602
602
  }
603
603
 
604
604
  export namespace Line {
@@ -108,10 +108,7 @@ export interface ItemSite {
108
108
  objectType: 'qbd_item_site';
109
109
 
110
110
  /**
111
- * The number of units of this item site currently in inventory. `quantityOnHand`
112
- * multiplied by `averageCost` equals `totalValue` for inventory item lists. To
113
- * change the `quantityOnHand` for an item site, you must use an
114
- * inventory-adjustment instead of updating the item site directly.
111
+ * The number of units of this item site currently in inventory.
115
112
  */
116
113
  quantityOnHand: number | null;
117
114
 
@@ -220,7 +220,7 @@ export namespace PriceLevel {
220
220
  * service item, inventory item, or special calculation item like a discount item
221
221
  * or sales-tax item.
222
222
  */
223
- item: PerItemPriceLevel.Item | null;
223
+ item: PerItemPriceLevel.Item;
224
224
  }
225
225
 
226
226
  export namespace PerItemPriceLevel {
@@ -338,6 +338,14 @@ export namespace PriceLevelCreateParams {
338
338
  */
339
339
  adjustRelativeTo: 'cost' | 'current_custom_price' | 'standard_price';
340
340
 
341
+ /**
342
+ * The item associated with this per-item price level. This can refer to any good
343
+ * or service that the business buys or sells, including item types such as a
344
+ * service item, inventory item, or special calculation item like a discount item
345
+ * or sales-tax item.
346
+ */
347
+ itemId: string;
348
+
341
349
  /**
342
350
  * The fixed amount custom price for this per-item price level that overrides the
343
351
  * standard price for the specified item. Used when setting an absolute price value
@@ -351,14 +359,6 @@ export namespace PriceLevelCreateParams {
351
359
  * discount specific to this item within this price level.
352
360
  */
353
361
  customPricePercent?: string;
354
-
355
- /**
356
- * The item associated with this per-item price level. This can refer to any good
357
- * or service that the business buys or sells, including item types such as a
358
- * service item, inventory item, or special calculation item like a discount item
359
- * or sales-tax item.
360
- */
361
- itemId?: string;
362
362
  }
363
363
  }
364
364
 
@@ -451,6 +451,14 @@ export namespace PriceLevelUpdateParams {
451
451
  */
452
452
  adjustRelativeTo: 'cost' | 'current_custom_price' | 'standard_price';
453
453
 
454
+ /**
455
+ * The item associated with this per-item price level. This can refer to any good
456
+ * or service that the business buys or sells, including item types such as a
457
+ * service item, inventory item, or special calculation item like a discount item
458
+ * or sales-tax item.
459
+ */
460
+ itemId: string;
461
+
454
462
  /**
455
463
  * The fixed amount custom price for this per-item price level that overrides the
456
464
  * standard price for the specified item. Used when setting an absolute price value
@@ -464,14 +472,6 @@ export namespace PriceLevelUpdateParams {
464
472
  * discount specific to this item within this price level.
465
473
  */
466
474
  customPricePercent?: string;
467
-
468
- /**
469
- * The item associated with this per-item price level. This can refer to any good
470
- * or service that the business buys or sells, including item types such as a
471
- * service item, inventory item, or special calculation item like a discount item
472
- * or sales-tax item.
473
- */
474
- itemId?: string;
475
475
  }
476
476
  }
477
477
 
@@ -54,6 +54,18 @@ import {
54
54
  Bills,
55
55
  BillsCursorPage,
56
56
  } from "./bills.js";
57
+ import * as BuildAssembliesAPI from "./build-assemblies.js";
58
+ import {
59
+ BuildAssemblies,
60
+ BuildAssembliesCursorPage,
61
+ BuildAssembly,
62
+ BuildAssemblyCreateParams,
63
+ BuildAssemblyDeleteParams,
64
+ BuildAssemblyDeleteResponse,
65
+ BuildAssemblyListParams,
66
+ BuildAssemblyRetrieveParams,
67
+ BuildAssemblyUpdateParams,
68
+ } from "./build-assemblies.js";
57
69
  import * as ChecksAPI from "./checks.js";
58
70
  import {
59
71
  Check,
@@ -480,6 +492,7 @@ export class Qbd extends APIResource {
480
492
  billCreditCardPayments: BillCreditCardPaymentsAPI.BillCreditCardPayments =
481
493
  new BillCreditCardPaymentsAPI.BillCreditCardPayments(this._client);
482
494
  bills: BillsAPI.Bills = new BillsAPI.Bills(this._client);
495
+ buildAssemblies: BuildAssembliesAPI.BuildAssemblies = new BuildAssembliesAPI.BuildAssemblies(this._client);
483
496
  checks: ChecksAPI.Checks = new ChecksAPI.Checks(this._client);
484
497
  classes: ClassesAPI.Classes = new ClassesAPI.Classes(this._client);
485
498
  company: CompanyAPI.CompanyResource = new CompanyAPI.CompanyResource(this._client);
@@ -589,6 +602,8 @@ Qbd.BillCreditCardPayments = BillCreditCardPayments;
589
602
  Qbd.BillCreditCardPaymentsCursorPage = BillCreditCardPaymentsCursorPage;
590
603
  Qbd.Bills = Bills;
591
604
  Qbd.BillsCursorPage = BillsCursorPage;
605
+ Qbd.BuildAssemblies = BuildAssemblies;
606
+ Qbd.BuildAssembliesCursorPage = BuildAssembliesCursorPage;
592
607
  Qbd.Checks = Checks;
593
608
  Qbd.ChecksCursorPage = ChecksCursorPage;
594
609
  Qbd.Classes = Classes;
@@ -717,6 +732,18 @@ export declare namespace Qbd {
717
732
  type BillDeleteParams as BillDeleteParams,
718
733
  };
719
734
 
735
+ export {
736
+ BuildAssemblies as BuildAssemblies,
737
+ type BuildAssembly as BuildAssembly,
738
+ type BuildAssemblyDeleteResponse as BuildAssemblyDeleteResponse,
739
+ BuildAssembliesCursorPage as BuildAssembliesCursorPage,
740
+ type BuildAssemblyCreateParams as BuildAssemblyCreateParams,
741
+ type BuildAssemblyRetrieveParams as BuildAssemblyRetrieveParams,
742
+ type BuildAssemblyUpdateParams as BuildAssemblyUpdateParams,
743
+ type BuildAssemblyListParams as BuildAssemblyListParams,
744
+ type BuildAssemblyDeleteParams as BuildAssemblyDeleteParams,
745
+ };
746
+
720
747
  export {
721
748
  Checks as Checks,
722
749
  type Check as Check,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '12.13.0'; // x-release-please-version
1
+ export const VERSION = '12.15.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "12.13.0";
1
+ export declare const VERSION = "12.15.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '12.13.0'; // x-release-please-version
4
+ exports.VERSION = '12.15.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '12.13.0'; // x-release-please-version
1
+ export const VERSION = '12.15.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map