conductor-node 12.0.2 → 12.2.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.
- package/CHANGELOG.md +16 -0
- package/package.json +1 -1
- package/resources/qbd/bills.d.ts +45 -45
- package/resources/qbd/checks.d.ts +45 -45
- package/resources/qbd/credit-card-charges.d.ts +45 -45
- package/resources/qbd/credit-card-credits.d.ts +45 -45
- package/resources/qbd/index.d.ts +2 -0
- package/resources/qbd/index.d.ts.map +1 -1
- package/resources/qbd/index.js +8 -2
- package/resources/qbd/index.js.map +1 -1
- package/resources/qbd/index.mjs +2 -0
- package/resources/qbd/index.mjs.map +1 -1
- package/resources/qbd/inventory-assembly-items.d.ts +10 -7
- package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
- package/resources/qbd/inventory-assembly-items.js.map +1 -1
- package/resources/qbd/inventory-assembly-items.mjs.map +1 -1
- package/resources/qbd/inventory-items.d.ts +8 -6
- package/resources/qbd/inventory-items.d.ts.map +1 -1
- package/resources/qbd/inventory-items.js.map +1 -1
- package/resources/qbd/inventory-items.mjs.map +1 -1
- package/resources/qbd/item-groups.d.ts +490 -0
- package/resources/qbd/item-groups.d.ts.map +1 -0
- package/resources/qbd/item-groups.js +58 -0
- package/resources/qbd/item-groups.js.map +1 -0
- package/resources/qbd/item-groups.mjs +53 -0
- package/resources/qbd/item-groups.mjs.map +1 -0
- package/resources/qbd/item-receipts.d.ts +45 -45
- package/resources/qbd/item-sites.d.ts +227 -0
- package/resources/qbd/item-sites.d.ts.map +1 -0
- package/resources/qbd/item-sites.js +36 -0
- package/resources/qbd/item-sites.js.map +1 -0
- package/resources/qbd/item-sites.mjs +31 -0
- package/resources/qbd/item-sites.mjs.map +1 -0
- package/resources/qbd/qbd.d.ts +8 -0
- package/resources/qbd/qbd.d.ts.map +1 -1
- package/resources/qbd/qbd.js +10 -0
- package/resources/qbd/qbd.js.map +1 -1
- package/resources/qbd/qbd.mjs +10 -0
- package/resources/qbd/qbd.mjs.map +1 -1
- package/resources/qbd/vendor-credits.d.ts +45 -45
- package/src/resources/qbd/bills.ts +45 -45
- package/src/resources/qbd/checks.ts +45 -45
- package/src/resources/qbd/credit-card-charges.ts +45 -45
- package/src/resources/qbd/credit-card-credits.ts +45 -45
- package/src/resources/qbd/index.ts +16 -0
- package/src/resources/qbd/inventory-assembly-items.ts +10 -7
- package/src/resources/qbd/inventory-items.ts +8 -6
- package/src/resources/qbd/item-groups.ts +621 -0
- package/src/resources/qbd/item-receipts.ts +45 -45
- package/src/resources/qbd/item-sites.ts +302 -0
- package/src/resources/qbd/qbd.ts +42 -0
- package/src/resources/qbd/vendor-credits.ts +45 -45
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -151,7 +151,7 @@ export interface Bill {
|
|
|
151
151
|
* together because they are commonly purchased together or grouped for faster
|
|
152
152
|
* entry.
|
|
153
153
|
*/
|
|
154
|
-
|
|
154
|
+
itemGroupLines: Array<Bill.ItemGroupLine>;
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* The bill's item lines, each representing the purchase of a specific item or
|
|
@@ -539,54 +539,54 @@ export namespace Bill {
|
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
|
|
542
|
-
export interface
|
|
542
|
+
export interface ItemGroupLine {
|
|
543
543
|
/**
|
|
544
|
-
* The unique identifier assigned by QuickBooks to this item line
|
|
544
|
+
* The unique identifier assigned by QuickBooks to this item group line. This ID is
|
|
545
545
|
* unique across all transaction line types.
|
|
546
546
|
*/
|
|
547
547
|
id: string;
|
|
548
548
|
|
|
549
549
|
/**
|
|
550
|
-
* The custom fields for the item line
|
|
550
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
551
551
|
* extensions, not included in the standard QuickBooks object.
|
|
552
552
|
*/
|
|
553
|
-
customFields: Array<
|
|
553
|
+
customFields: Array<ItemGroupLine.CustomField>;
|
|
554
554
|
|
|
555
555
|
/**
|
|
556
|
-
* A description of this item line
|
|
556
|
+
* A description of this item group line.
|
|
557
557
|
*/
|
|
558
558
|
description: string | null;
|
|
559
559
|
|
|
560
560
|
/**
|
|
561
|
-
* The item line
|
|
561
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
562
562
|
* because they are commonly purchased together or grouped for faster entry.
|
|
563
563
|
*/
|
|
564
|
-
itemGroup:
|
|
564
|
+
itemGroup: ItemGroupLine.ItemGroup;
|
|
565
565
|
|
|
566
566
|
/**
|
|
567
|
-
* The item line
|
|
567
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
568
568
|
* item or service.
|
|
569
569
|
*/
|
|
570
|
-
itemLines: Array<
|
|
570
|
+
itemLines: Array<ItemGroupLine.ItemLine>;
|
|
571
571
|
|
|
572
572
|
/**
|
|
573
|
-
* The type of object. This value is always `"
|
|
573
|
+
* The type of object. This value is always `"qbd_item_group_line"`.
|
|
574
574
|
*/
|
|
575
|
-
objectType: '
|
|
575
|
+
objectType: 'qbd_item_group_line';
|
|
576
576
|
|
|
577
577
|
/**
|
|
578
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
579
|
-
*
|
|
578
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
579
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
580
580
|
* select units from a different set than the item's default unit-of-measure set,
|
|
581
581
|
* which remains unchanged on the item itself. The override applies only to this
|
|
582
582
|
* specific line. For example, you can sell an item typically measured in volume
|
|
583
583
|
* units using weight units in a specific transaction by specifying a different
|
|
584
584
|
* unit-of-measure set with this field.
|
|
585
585
|
*/
|
|
586
|
-
overrideUnitOfMeasureSet:
|
|
586
|
+
overrideUnitOfMeasureSet: ItemGroupLine.OverrideUnitOfMeasureSet | null;
|
|
587
587
|
|
|
588
588
|
/**
|
|
589
|
-
* The quantity of the item group associated with this item line
|
|
589
|
+
* The quantity of the item group associated with this item group line. This field
|
|
590
590
|
* cannot be cleared.
|
|
591
591
|
*
|
|
592
592
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -595,19 +595,19 @@ export namespace Bill {
|
|
|
595
595
|
quantity: number | null;
|
|
596
596
|
|
|
597
597
|
/**
|
|
598
|
-
* The total monetary amount of this item line
|
|
598
|
+
* The total monetary amount of this item group line, equivalent to the sum of the
|
|
599
599
|
* amounts in `lines`, represented as a decimal string.
|
|
600
600
|
*/
|
|
601
601
|
totalAmount: string;
|
|
602
602
|
|
|
603
603
|
/**
|
|
604
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
604
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
605
605
|
* valid unit within the item's available units of measure.
|
|
606
606
|
*/
|
|
607
607
|
unitOfMeasure: string | null;
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
export namespace
|
|
610
|
+
export namespace ItemGroupLine {
|
|
611
611
|
export interface CustomField {
|
|
612
612
|
/**
|
|
613
613
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -647,7 +647,7 @@ export namespace Bill {
|
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
/**
|
|
650
|
-
* The item line
|
|
650
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
651
651
|
* because they are commonly purchased together or grouped for faster entry.
|
|
652
652
|
*/
|
|
653
653
|
export interface ItemGroup {
|
|
@@ -1024,8 +1024,8 @@ export namespace Bill {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
1026
|
/**
|
|
1027
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
1028
|
-
*
|
|
1027
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
1028
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
1029
1029
|
* select units from a different set than the item's default unit-of-measure set,
|
|
1030
1030
|
* which remains unchanged on the item itself. The override applies only to this
|
|
1031
1031
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -1696,7 +1696,7 @@ export interface BillCreateParams {
|
|
|
1696
1696
|
* items bundled together because they are commonly purchased together or grouped
|
|
1697
1697
|
* for faster entry.
|
|
1698
1698
|
*/
|
|
1699
|
-
|
|
1699
|
+
itemGroupLines?: Array<BillCreateParams.ItemGroupLine>;
|
|
1700
1700
|
|
|
1701
1701
|
/**
|
|
1702
1702
|
* Body param: The bill's item lines, each representing the purchase of a specific
|
|
@@ -1870,33 +1870,33 @@ export namespace BillCreateParams {
|
|
|
1870
1870
|
}
|
|
1871
1871
|
}
|
|
1872
1872
|
|
|
1873
|
-
export interface
|
|
1873
|
+
export interface ItemGroupLine {
|
|
1874
1874
|
/**
|
|
1875
|
-
* The item line
|
|
1875
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
1876
1876
|
* because they are commonly purchased together or grouped for faster entry.
|
|
1877
1877
|
*/
|
|
1878
1878
|
itemGroupId: string;
|
|
1879
1879
|
|
|
1880
1880
|
/**
|
|
1881
|
-
* The custom fields for the item line
|
|
1881
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
1882
1882
|
* extensions, not included in the standard QuickBooks object.
|
|
1883
1883
|
*/
|
|
1884
|
-
customFields?: Array<
|
|
1884
|
+
customFields?: Array<ItemGroupLine.CustomField>;
|
|
1885
1885
|
|
|
1886
1886
|
/**
|
|
1887
1887
|
* The site location where inventory for the item group associated with this item
|
|
1888
|
-
* line
|
|
1888
|
+
* group line is stored.
|
|
1889
1889
|
*/
|
|
1890
1890
|
inventorySiteId?: string;
|
|
1891
1891
|
|
|
1892
1892
|
/**
|
|
1893
1893
|
* The specific location (e.g., bin or shelf) within the inventory site where the
|
|
1894
|
-
* item group associated with this item line
|
|
1894
|
+
* item group associated with this item group line is stored.
|
|
1895
1895
|
*/
|
|
1896
1896
|
inventorySiteLocationId?: string;
|
|
1897
1897
|
|
|
1898
1898
|
/**
|
|
1899
|
-
* The quantity of the item group associated with this item line
|
|
1899
|
+
* The quantity of the item group associated with this item group line. This field
|
|
1900
1900
|
* cannot be cleared.
|
|
1901
1901
|
*
|
|
1902
1902
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -1905,13 +1905,13 @@ export namespace BillCreateParams {
|
|
|
1905
1905
|
quantity?: number;
|
|
1906
1906
|
|
|
1907
1907
|
/**
|
|
1908
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
1908
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
1909
1909
|
* valid unit within the item's available units of measure.
|
|
1910
1910
|
*/
|
|
1911
1911
|
unitOfMeasure?: string;
|
|
1912
1912
|
}
|
|
1913
1913
|
|
|
1914
|
-
export namespace
|
|
1914
|
+
export namespace ItemGroupLine {
|
|
1915
1915
|
export interface CustomField {
|
|
1916
1916
|
/**
|
|
1917
1917
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -2328,7 +2328,7 @@ export interface BillUpdateParams {
|
|
|
2328
2328
|
* 3. If you do not wish to modify any item group lines, omit this field entirely
|
|
2329
2329
|
* to keep them unchanged.
|
|
2330
2330
|
*/
|
|
2331
|
-
|
|
2331
|
+
itemGroupLines?: Array<BillUpdateParams.ItemGroupLine>;
|
|
2332
2332
|
|
|
2333
2333
|
/**
|
|
2334
2334
|
* Body param: The bill's item lines, each representing the purchase of a specific
|
|
@@ -2473,29 +2473,29 @@ export namespace BillUpdateParams {
|
|
|
2473
2473
|
salesTaxCodeId?: string;
|
|
2474
2474
|
}
|
|
2475
2475
|
|
|
2476
|
-
export interface
|
|
2476
|
+
export interface ItemGroupLine {
|
|
2477
2477
|
/**
|
|
2478
|
-
* The QuickBooks-assigned unique identifier of an existing item line
|
|
2478
|
+
* The QuickBooks-assigned unique identifier of an existing item group line you
|
|
2479
2479
|
* wish to retain or update.
|
|
2480
2480
|
*
|
|
2481
|
-
* **IMPORTANT**: Set this field to `-1` for new item
|
|
2481
|
+
* **IMPORTANT**: Set this field to `-1` for new item group lines you wish to add.
|
|
2482
2482
|
*/
|
|
2483
2483
|
id: string;
|
|
2484
2484
|
|
|
2485
2485
|
/**
|
|
2486
|
-
* The item line
|
|
2486
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
2487
2487
|
* because they are commonly purchased together or grouped for faster entry.
|
|
2488
2488
|
*/
|
|
2489
2489
|
itemGroupId?: string;
|
|
2490
2490
|
|
|
2491
2491
|
/**
|
|
2492
|
-
* The item line
|
|
2492
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
2493
2493
|
* item or service.
|
|
2494
2494
|
*
|
|
2495
2495
|
* **IMPORTANT**:
|
|
2496
2496
|
*
|
|
2497
2497
|
* 1. Including this array in your update request will **REPLACE** all existing
|
|
2498
|
-
* item lines for the item line
|
|
2498
|
+
* item lines for the item group line with this array. To keep any existing item
|
|
2499
2499
|
* lines, you must include them in this array even if they have not changed.
|
|
2500
2500
|
* **Any item lines not included will be removed.**
|
|
2501
2501
|
*
|
|
@@ -2504,11 +2504,11 @@ export namespace BillUpdateParams {
|
|
|
2504
2504
|
* 3. If you do not wish to modify any item lines, omit this field entirely to keep
|
|
2505
2505
|
* them unchanged.
|
|
2506
2506
|
*/
|
|
2507
|
-
itemLines?: Array<
|
|
2507
|
+
itemLines?: Array<ItemGroupLine.ItemLine>;
|
|
2508
2508
|
|
|
2509
2509
|
/**
|
|
2510
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
2511
|
-
*
|
|
2510
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
2511
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
2512
2512
|
* select units from a different set than the item's default unit-of-measure set,
|
|
2513
2513
|
* which remains unchanged on the item itself. The override applies only to this
|
|
2514
2514
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -2518,7 +2518,7 @@ export namespace BillUpdateParams {
|
|
|
2518
2518
|
overrideUnitOfMeasureSetId?: string;
|
|
2519
2519
|
|
|
2520
2520
|
/**
|
|
2521
|
-
* The quantity of the item group associated with this item line
|
|
2521
|
+
* The quantity of the item group associated with this item group line. This field
|
|
2522
2522
|
* cannot be cleared.
|
|
2523
2523
|
*
|
|
2524
2524
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -2527,13 +2527,13 @@ export namespace BillUpdateParams {
|
|
|
2527
2527
|
quantity?: number;
|
|
2528
2528
|
|
|
2529
2529
|
/**
|
|
2530
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
2530
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
2531
2531
|
* valid unit within the item's available units of measure.
|
|
2532
2532
|
*/
|
|
2533
2533
|
unitOfMeasure?: string;
|
|
2534
2534
|
}
|
|
2535
2535
|
|
|
2536
|
-
export namespace
|
|
2536
|
+
export namespace ItemGroupLine {
|
|
2537
2537
|
export interface ItemLine {
|
|
2538
2538
|
/**
|
|
2539
2539
|
* The QuickBooks-assigned unique identifier of an existing item line you wish to
|
|
@@ -157,7 +157,7 @@ export interface Check {
|
|
|
157
157
|
* bundled together because they are commonly purchased together or grouped for
|
|
158
158
|
* faster entry.
|
|
159
159
|
*/
|
|
160
|
-
|
|
160
|
+
itemGroupLines: Array<Check.ItemGroupLine>;
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* The check's item lines, each representing the purchase of a specific item or
|
|
@@ -596,54 +596,54 @@ export namespace Check {
|
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
|
|
599
|
-
export interface
|
|
599
|
+
export interface ItemGroupLine {
|
|
600
600
|
/**
|
|
601
|
-
* The unique identifier assigned by QuickBooks to this item line
|
|
601
|
+
* The unique identifier assigned by QuickBooks to this item group line. This ID is
|
|
602
602
|
* unique across all transaction line types.
|
|
603
603
|
*/
|
|
604
604
|
id: string;
|
|
605
605
|
|
|
606
606
|
/**
|
|
607
|
-
* The custom fields for the item line
|
|
607
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
608
608
|
* extensions, not included in the standard QuickBooks object.
|
|
609
609
|
*/
|
|
610
|
-
customFields: Array<
|
|
610
|
+
customFields: Array<ItemGroupLine.CustomField>;
|
|
611
611
|
|
|
612
612
|
/**
|
|
613
|
-
* A description of this item line
|
|
613
|
+
* A description of this item group line.
|
|
614
614
|
*/
|
|
615
615
|
description: string | null;
|
|
616
616
|
|
|
617
617
|
/**
|
|
618
|
-
* The item line
|
|
618
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
619
619
|
* because they are commonly purchased together or grouped for faster entry.
|
|
620
620
|
*/
|
|
621
|
-
itemGroup:
|
|
621
|
+
itemGroup: ItemGroupLine.ItemGroup;
|
|
622
622
|
|
|
623
623
|
/**
|
|
624
|
-
* The item line
|
|
624
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
625
625
|
* item or service.
|
|
626
626
|
*/
|
|
627
|
-
itemLines: Array<
|
|
627
|
+
itemLines: Array<ItemGroupLine.ItemLine>;
|
|
628
628
|
|
|
629
629
|
/**
|
|
630
|
-
* The type of object. This value is always `"
|
|
630
|
+
* The type of object. This value is always `"qbd_item_group_line"`.
|
|
631
631
|
*/
|
|
632
|
-
objectType: '
|
|
632
|
+
objectType: 'qbd_item_group_line';
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
636
|
-
*
|
|
635
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
636
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
637
637
|
* select units from a different set than the item's default unit-of-measure set,
|
|
638
638
|
* which remains unchanged on the item itself. The override applies only to this
|
|
639
639
|
* specific line. For example, you can sell an item typically measured in volume
|
|
640
640
|
* units using weight units in a specific transaction by specifying a different
|
|
641
641
|
* unit-of-measure set with this field.
|
|
642
642
|
*/
|
|
643
|
-
overrideUnitOfMeasureSet:
|
|
643
|
+
overrideUnitOfMeasureSet: ItemGroupLine.OverrideUnitOfMeasureSet | null;
|
|
644
644
|
|
|
645
645
|
/**
|
|
646
|
-
* The quantity of the item group associated with this item line
|
|
646
|
+
* The quantity of the item group associated with this item group line. This field
|
|
647
647
|
* cannot be cleared.
|
|
648
648
|
*
|
|
649
649
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -652,19 +652,19 @@ export namespace Check {
|
|
|
652
652
|
quantity: number | null;
|
|
653
653
|
|
|
654
654
|
/**
|
|
655
|
-
* The total monetary amount of this item line
|
|
655
|
+
* The total monetary amount of this item group line, equivalent to the sum of the
|
|
656
656
|
* amounts in `lines`, represented as a decimal string.
|
|
657
657
|
*/
|
|
658
658
|
totalAmount: string;
|
|
659
659
|
|
|
660
660
|
/**
|
|
661
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
661
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
662
662
|
* valid unit within the item's available units of measure.
|
|
663
663
|
*/
|
|
664
664
|
unitOfMeasure: string | null;
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
-
export namespace
|
|
667
|
+
export namespace ItemGroupLine {
|
|
668
668
|
export interface CustomField {
|
|
669
669
|
/**
|
|
670
670
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -704,7 +704,7 @@ export namespace Check {
|
|
|
704
704
|
}
|
|
705
705
|
|
|
706
706
|
/**
|
|
707
|
-
* The item line
|
|
707
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
708
708
|
* because they are commonly purchased together or grouped for faster entry.
|
|
709
709
|
*/
|
|
710
710
|
export interface ItemGroup {
|
|
@@ -1081,8 +1081,8 @@ export namespace Check {
|
|
|
1081
1081
|
}
|
|
1082
1082
|
|
|
1083
1083
|
/**
|
|
1084
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
1085
|
-
*
|
|
1084
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
1085
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
1086
1086
|
* select units from a different set than the item's default unit-of-measure set,
|
|
1087
1087
|
* which remains unchanged on the item itself. The override applies only to this
|
|
1088
1088
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -1672,7 +1672,7 @@ export interface CheckCreateParams {
|
|
|
1672
1672
|
* items bundled together because they are commonly purchased together or grouped
|
|
1673
1673
|
* for faster entry.
|
|
1674
1674
|
*/
|
|
1675
|
-
|
|
1675
|
+
itemGroupLines?: Array<CheckCreateParams.ItemGroupLine>;
|
|
1676
1676
|
|
|
1677
1677
|
/**
|
|
1678
1678
|
* Body param: The check's item lines, each representing the purchase of a specific
|
|
@@ -1893,33 +1893,33 @@ export namespace CheckCreateParams {
|
|
|
1893
1893
|
}
|
|
1894
1894
|
}
|
|
1895
1895
|
|
|
1896
|
-
export interface
|
|
1896
|
+
export interface ItemGroupLine {
|
|
1897
1897
|
/**
|
|
1898
|
-
* The item line
|
|
1898
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
1899
1899
|
* because they are commonly purchased together or grouped for faster entry.
|
|
1900
1900
|
*/
|
|
1901
1901
|
itemGroupId: string;
|
|
1902
1902
|
|
|
1903
1903
|
/**
|
|
1904
|
-
* The custom fields for the item line
|
|
1904
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
1905
1905
|
* extensions, not included in the standard QuickBooks object.
|
|
1906
1906
|
*/
|
|
1907
|
-
customFields?: Array<
|
|
1907
|
+
customFields?: Array<ItemGroupLine.CustomField>;
|
|
1908
1908
|
|
|
1909
1909
|
/**
|
|
1910
1910
|
* The site location where inventory for the item group associated with this item
|
|
1911
|
-
* line
|
|
1911
|
+
* group line is stored.
|
|
1912
1912
|
*/
|
|
1913
1913
|
inventorySiteId?: string;
|
|
1914
1914
|
|
|
1915
1915
|
/**
|
|
1916
1916
|
* The specific location (e.g., bin or shelf) within the inventory site where the
|
|
1917
|
-
* item group associated with this item line
|
|
1917
|
+
* item group associated with this item group line is stored.
|
|
1918
1918
|
*/
|
|
1919
1919
|
inventorySiteLocationId?: string;
|
|
1920
1920
|
|
|
1921
1921
|
/**
|
|
1922
|
-
* The quantity of the item group associated with this item line
|
|
1922
|
+
* The quantity of the item group associated with this item group line. This field
|
|
1923
1923
|
* cannot be cleared.
|
|
1924
1924
|
*
|
|
1925
1925
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -1928,13 +1928,13 @@ export namespace CheckCreateParams {
|
|
|
1928
1928
|
quantity?: number;
|
|
1929
1929
|
|
|
1930
1930
|
/**
|
|
1931
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
1931
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
1932
1932
|
* valid unit within the item's available units of measure.
|
|
1933
1933
|
*/
|
|
1934
1934
|
unitOfMeasure?: string;
|
|
1935
1935
|
}
|
|
1936
1936
|
|
|
1937
|
-
export namespace
|
|
1937
|
+
export namespace ItemGroupLine {
|
|
1938
1938
|
export interface CustomField {
|
|
1939
1939
|
/**
|
|
1940
1940
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -2304,7 +2304,7 @@ export interface CheckUpdateParams {
|
|
|
2304
2304
|
* 3. If you do not wish to modify any item group lines, omit this field entirely
|
|
2305
2305
|
* to keep them unchanged.
|
|
2306
2306
|
*/
|
|
2307
|
-
|
|
2307
|
+
itemGroupLines?: Array<CheckUpdateParams.ItemGroupLine>;
|
|
2308
2308
|
|
|
2309
2309
|
/**
|
|
2310
2310
|
* Body param: The check's item lines, each representing the purchase of a specific
|
|
@@ -2515,29 +2515,29 @@ export namespace CheckUpdateParams {
|
|
|
2515
2515
|
salesTaxCodeId?: string;
|
|
2516
2516
|
}
|
|
2517
2517
|
|
|
2518
|
-
export interface
|
|
2518
|
+
export interface ItemGroupLine {
|
|
2519
2519
|
/**
|
|
2520
|
-
* The QuickBooks-assigned unique identifier of an existing item line
|
|
2520
|
+
* The QuickBooks-assigned unique identifier of an existing item group line you
|
|
2521
2521
|
* wish to retain or update.
|
|
2522
2522
|
*
|
|
2523
|
-
* **IMPORTANT**: Set this field to `-1` for new item
|
|
2523
|
+
* **IMPORTANT**: Set this field to `-1` for new item group lines you wish to add.
|
|
2524
2524
|
*/
|
|
2525
2525
|
id: string;
|
|
2526
2526
|
|
|
2527
2527
|
/**
|
|
2528
|
-
* The item line
|
|
2528
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
2529
2529
|
* because they are commonly purchased together or grouped for faster entry.
|
|
2530
2530
|
*/
|
|
2531
2531
|
itemGroupId?: string;
|
|
2532
2532
|
|
|
2533
2533
|
/**
|
|
2534
|
-
* The item line
|
|
2534
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
2535
2535
|
* item or service.
|
|
2536
2536
|
*
|
|
2537
2537
|
* **IMPORTANT**:
|
|
2538
2538
|
*
|
|
2539
2539
|
* 1. Including this array in your update request will **REPLACE** all existing
|
|
2540
|
-
* item lines for the item line
|
|
2540
|
+
* item lines for the item group line with this array. To keep any existing item
|
|
2541
2541
|
* lines, you must include them in this array even if they have not changed.
|
|
2542
2542
|
* **Any item lines not included will be removed.**
|
|
2543
2543
|
*
|
|
@@ -2546,11 +2546,11 @@ export namespace CheckUpdateParams {
|
|
|
2546
2546
|
* 3. If you do not wish to modify any item lines, omit this field entirely to keep
|
|
2547
2547
|
* them unchanged.
|
|
2548
2548
|
*/
|
|
2549
|
-
itemLines?: Array<
|
|
2549
|
+
itemLines?: Array<ItemGroupLine.ItemLine>;
|
|
2550
2550
|
|
|
2551
2551
|
/**
|
|
2552
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
2553
|
-
*
|
|
2552
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
2553
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
2554
2554
|
* select units from a different set than the item's default unit-of-measure set,
|
|
2555
2555
|
* which remains unchanged on the item itself. The override applies only to this
|
|
2556
2556
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -2560,7 +2560,7 @@ export namespace CheckUpdateParams {
|
|
|
2560
2560
|
overrideUnitOfMeasureSetId?: string;
|
|
2561
2561
|
|
|
2562
2562
|
/**
|
|
2563
|
-
* The quantity of the item group associated with this item line
|
|
2563
|
+
* The quantity of the item group associated with this item group line. This field
|
|
2564
2564
|
* cannot be cleared.
|
|
2565
2565
|
*
|
|
2566
2566
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -2569,13 +2569,13 @@ export namespace CheckUpdateParams {
|
|
|
2569
2569
|
quantity?: number;
|
|
2570
2570
|
|
|
2571
2571
|
/**
|
|
2572
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
2572
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
2573
2573
|
* valid unit within the item's available units of measure.
|
|
2574
2574
|
*/
|
|
2575
2575
|
unitOfMeasure?: string;
|
|
2576
2576
|
}
|
|
2577
2577
|
|
|
2578
|
-
export namespace
|
|
2578
|
+
export namespace ItemGroupLine {
|
|
2579
2579
|
export interface ItemLine {
|
|
2580
2580
|
/**
|
|
2581
2581
|
* The QuickBooks-assigned unique identifier of an existing item line you wish to
|