conductor-node 12.0.1 → 12.1.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 +27 -0
- package/core.d.ts +12 -1
- package/core.d.ts.map +1 -1
- package/core.js +5 -5
- package/core.js.map +1 -1
- package/core.mjs +5 -5
- package/core.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/end-users.d.ts +2 -1
- package/resources/end-users.d.ts.map +1 -1
- package/resources/end-users.js +4 -4
- package/resources/end-users.js.map +1 -1
- package/resources/end-users.mjs +4 -4
- package/resources/end-users.mjs.map +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 +1 -0
- package/resources/qbd/index.d.ts.map +1 -1
- package/resources/qbd/index.js +5 -2
- package/resources/qbd/index.js.map +1 -1
- package/resources/qbd/index.mjs +1 -0
- package/resources/qbd/index.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/qbd.d.ts +4 -0
- package/resources/qbd/qbd.d.ts.map +1 -1
- package/resources/qbd/qbd.js +5 -0
- package/resources/qbd/qbd.js.map +1 -1
- package/resources/qbd/qbd.mjs +5 -0
- package/resources/qbd/qbd.mjs.map +1 -1
- package/resources/qbd/vendor-credits.d.ts +45 -45
- package/src/core.ts +18 -4
- package/src/resources/end-users.ts +16 -1
- 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 +9 -0
- package/src/resources/qbd/item-groups.ts +621 -0
- package/src/resources/qbd/item-receipts.ts +45 -45
- package/src/resources/qbd/qbd.ts +23 -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
|
@@ -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
|
|
@@ -157,7 +157,7 @@ export interface CreditCardCharge {
|
|
|
157
157
|
* items bundled together because they are commonly purchased together or grouped
|
|
158
158
|
* for faster entry.
|
|
159
159
|
*/
|
|
160
|
-
|
|
160
|
+
itemGroupLines: Array<CreditCardCharge.ItemGroupLine>;
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* The credit card charge's item lines, each representing the purchase of a
|
|
@@ -529,54 +529,54 @@ export namespace CreditCardCharge {
|
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
|
|
532
|
-
export interface
|
|
532
|
+
export interface ItemGroupLine {
|
|
533
533
|
/**
|
|
534
|
-
* The unique identifier assigned by QuickBooks to this item line
|
|
534
|
+
* The unique identifier assigned by QuickBooks to this item group line. This ID is
|
|
535
535
|
* unique across all transaction line types.
|
|
536
536
|
*/
|
|
537
537
|
id: string;
|
|
538
538
|
|
|
539
539
|
/**
|
|
540
|
-
* The custom fields for the item line
|
|
540
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
541
541
|
* extensions, not included in the standard QuickBooks object.
|
|
542
542
|
*/
|
|
543
|
-
customFields: Array<
|
|
543
|
+
customFields: Array<ItemGroupLine.CustomField>;
|
|
544
544
|
|
|
545
545
|
/**
|
|
546
|
-
* A description of this item line
|
|
546
|
+
* A description of this item group line.
|
|
547
547
|
*/
|
|
548
548
|
description: string | null;
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
|
-
* The item line
|
|
551
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
552
552
|
* because they are commonly purchased together or grouped for faster entry.
|
|
553
553
|
*/
|
|
554
|
-
itemGroup:
|
|
554
|
+
itemGroup: ItemGroupLine.ItemGroup;
|
|
555
555
|
|
|
556
556
|
/**
|
|
557
|
-
* The item line
|
|
557
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
558
558
|
* item or service.
|
|
559
559
|
*/
|
|
560
|
-
itemLines: Array<
|
|
560
|
+
itemLines: Array<ItemGroupLine.ItemLine>;
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
|
-
* The type of object. This value is always `"
|
|
563
|
+
* The type of object. This value is always `"qbd_item_group_line"`.
|
|
564
564
|
*/
|
|
565
|
-
objectType: '
|
|
565
|
+
objectType: 'qbd_item_group_line';
|
|
566
566
|
|
|
567
567
|
/**
|
|
568
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
569
|
-
*
|
|
568
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
569
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
570
570
|
* select units from a different set than the item's default unit-of-measure set,
|
|
571
571
|
* which remains unchanged on the item itself. The override applies only to this
|
|
572
572
|
* specific line. For example, you can sell an item typically measured in volume
|
|
573
573
|
* units using weight units in a specific transaction by specifying a different
|
|
574
574
|
* unit-of-measure set with this field.
|
|
575
575
|
*/
|
|
576
|
-
overrideUnitOfMeasureSet:
|
|
576
|
+
overrideUnitOfMeasureSet: ItemGroupLine.OverrideUnitOfMeasureSet | null;
|
|
577
577
|
|
|
578
578
|
/**
|
|
579
|
-
* The quantity of the item group associated with this item line
|
|
579
|
+
* The quantity of the item group associated with this item group line. This field
|
|
580
580
|
* cannot be cleared.
|
|
581
581
|
*
|
|
582
582
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -585,19 +585,19 @@ export namespace CreditCardCharge {
|
|
|
585
585
|
quantity: number | null;
|
|
586
586
|
|
|
587
587
|
/**
|
|
588
|
-
* The total monetary amount of this item line
|
|
588
|
+
* The total monetary amount of this item group line, equivalent to the sum of the
|
|
589
589
|
* amounts in `lines`, represented as a decimal string.
|
|
590
590
|
*/
|
|
591
591
|
totalAmount: string;
|
|
592
592
|
|
|
593
593
|
/**
|
|
594
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
594
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
595
595
|
* valid unit within the item's available units of measure.
|
|
596
596
|
*/
|
|
597
597
|
unitOfMeasure: string | null;
|
|
598
598
|
}
|
|
599
599
|
|
|
600
|
-
export namespace
|
|
600
|
+
export namespace ItemGroupLine {
|
|
601
601
|
export interface CustomField {
|
|
602
602
|
/**
|
|
603
603
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -637,7 +637,7 @@ export namespace CreditCardCharge {
|
|
|
637
637
|
}
|
|
638
638
|
|
|
639
639
|
/**
|
|
640
|
-
* The item line
|
|
640
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
641
641
|
* because they are commonly purchased together or grouped for faster entry.
|
|
642
642
|
*/
|
|
643
643
|
export interface ItemGroup {
|
|
@@ -1014,8 +1014,8 @@ export namespace CreditCardCharge {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
|
|
1016
1016
|
/**
|
|
1017
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
1018
|
-
*
|
|
1017
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
1018
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
1019
1019
|
* select units from a different set than the item's default unit-of-measure set,
|
|
1020
1020
|
* which remains unchanged on the item itself. The override applies only to this
|
|
1021
1021
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -1514,7 +1514,7 @@ export interface CreditCardChargeCreateParams {
|
|
|
1514
1514
|
* predefined set of items bundled together because they are commonly purchased
|
|
1515
1515
|
* together or grouped for faster entry.
|
|
1516
1516
|
*/
|
|
1517
|
-
|
|
1517
|
+
itemGroupLines?: Array<CreditCardChargeCreateParams.ItemGroupLine>;
|
|
1518
1518
|
|
|
1519
1519
|
/**
|
|
1520
1520
|
* Body param: The credit card charge's item lines, each representing the purchase
|
|
@@ -1649,33 +1649,33 @@ export namespace CreditCardChargeCreateParams {
|
|
|
1649
1649
|
}
|
|
1650
1650
|
}
|
|
1651
1651
|
|
|
1652
|
-
export interface
|
|
1652
|
+
export interface ItemGroupLine {
|
|
1653
1653
|
/**
|
|
1654
|
-
* The item line
|
|
1654
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
1655
1655
|
* because they are commonly purchased together or grouped for faster entry.
|
|
1656
1656
|
*/
|
|
1657
1657
|
itemGroupId: string;
|
|
1658
1658
|
|
|
1659
1659
|
/**
|
|
1660
|
-
* The custom fields for the item line
|
|
1660
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
1661
1661
|
* extensions, not included in the standard QuickBooks object.
|
|
1662
1662
|
*/
|
|
1663
|
-
customFields?: Array<
|
|
1663
|
+
customFields?: Array<ItemGroupLine.CustomField>;
|
|
1664
1664
|
|
|
1665
1665
|
/**
|
|
1666
1666
|
* The site location where inventory for the item group associated with this item
|
|
1667
|
-
* line
|
|
1667
|
+
* group line is stored.
|
|
1668
1668
|
*/
|
|
1669
1669
|
inventorySiteId?: string;
|
|
1670
1670
|
|
|
1671
1671
|
/**
|
|
1672
1672
|
* The specific location (e.g., bin or shelf) within the inventory site where the
|
|
1673
|
-
* item group associated with this item line
|
|
1673
|
+
* item group associated with this item group line is stored.
|
|
1674
1674
|
*/
|
|
1675
1675
|
inventorySiteLocationId?: string;
|
|
1676
1676
|
|
|
1677
1677
|
/**
|
|
1678
|
-
* The quantity of the item group associated with this item line
|
|
1678
|
+
* The quantity of the item group associated with this item group line. This field
|
|
1679
1679
|
* cannot be cleared.
|
|
1680
1680
|
*
|
|
1681
1681
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -1684,13 +1684,13 @@ export namespace CreditCardChargeCreateParams {
|
|
|
1684
1684
|
quantity?: number;
|
|
1685
1685
|
|
|
1686
1686
|
/**
|
|
1687
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
1687
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
1688
1688
|
* valid unit within the item's available units of measure.
|
|
1689
1689
|
*/
|
|
1690
1690
|
unitOfMeasure?: string;
|
|
1691
1691
|
}
|
|
1692
1692
|
|
|
1693
|
-
export namespace
|
|
1693
|
+
export namespace ItemGroupLine {
|
|
1694
1694
|
export interface CustomField {
|
|
1695
1695
|
/**
|
|
1696
1696
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -2036,7 +2036,7 @@ export interface CreditCardChargeUpdateParams {
|
|
|
2036
2036
|
* 3. If you do not wish to modify any item group lines, omit this field entirely
|
|
2037
2037
|
* to keep them unchanged.
|
|
2038
2038
|
*/
|
|
2039
|
-
|
|
2039
|
+
itemGroupLines?: Array<CreditCardChargeUpdateParams.ItemGroupLine>;
|
|
2040
2040
|
|
|
2041
2041
|
/**
|
|
2042
2042
|
* Body param: The credit card charge's item lines, each representing the purchase
|
|
@@ -2163,29 +2163,29 @@ export namespace CreditCardChargeUpdateParams {
|
|
|
2163
2163
|
salesTaxCodeId?: string;
|
|
2164
2164
|
}
|
|
2165
2165
|
|
|
2166
|
-
export interface
|
|
2166
|
+
export interface ItemGroupLine {
|
|
2167
2167
|
/**
|
|
2168
|
-
* The QuickBooks-assigned unique identifier of an existing item line
|
|
2168
|
+
* The QuickBooks-assigned unique identifier of an existing item group line you
|
|
2169
2169
|
* wish to retain or update.
|
|
2170
2170
|
*
|
|
2171
|
-
* **IMPORTANT**: Set this field to `-1` for new item
|
|
2171
|
+
* **IMPORTANT**: Set this field to `-1` for new item group lines you wish to add.
|
|
2172
2172
|
*/
|
|
2173
2173
|
id: string;
|
|
2174
2174
|
|
|
2175
2175
|
/**
|
|
2176
|
-
* The item line
|
|
2176
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
2177
2177
|
* because they are commonly purchased together or grouped for faster entry.
|
|
2178
2178
|
*/
|
|
2179
2179
|
itemGroupId?: string;
|
|
2180
2180
|
|
|
2181
2181
|
/**
|
|
2182
|
-
* The item line
|
|
2182
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
2183
2183
|
* item or service.
|
|
2184
2184
|
*
|
|
2185
2185
|
* **IMPORTANT**:
|
|
2186
2186
|
*
|
|
2187
2187
|
* 1. Including this array in your update request will **REPLACE** all existing
|
|
2188
|
-
* item lines for the item line
|
|
2188
|
+
* item lines for the item group line with this array. To keep any existing item
|
|
2189
2189
|
* lines, you must include them in this array even if they have not changed.
|
|
2190
2190
|
* **Any item lines not included will be removed.**
|
|
2191
2191
|
*
|
|
@@ -2194,11 +2194,11 @@ export namespace CreditCardChargeUpdateParams {
|
|
|
2194
2194
|
* 3. If you do not wish to modify any item lines, omit this field entirely to keep
|
|
2195
2195
|
* them unchanged.
|
|
2196
2196
|
*/
|
|
2197
|
-
itemLines?: Array<
|
|
2197
|
+
itemLines?: Array<ItemGroupLine.ItemLine>;
|
|
2198
2198
|
|
|
2199
2199
|
/**
|
|
2200
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
2201
|
-
*
|
|
2200
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
2201
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
2202
2202
|
* select units from a different set than the item's default unit-of-measure set,
|
|
2203
2203
|
* which remains unchanged on the item itself. The override applies only to this
|
|
2204
2204
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -2208,7 +2208,7 @@ export namespace CreditCardChargeUpdateParams {
|
|
|
2208
2208
|
overrideUnitOfMeasureSetId?: string;
|
|
2209
2209
|
|
|
2210
2210
|
/**
|
|
2211
|
-
* The quantity of the item group associated with this item line
|
|
2211
|
+
* The quantity of the item group associated with this item group line. This field
|
|
2212
2212
|
* cannot be cleared.
|
|
2213
2213
|
*
|
|
2214
2214
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -2217,13 +2217,13 @@ export namespace CreditCardChargeUpdateParams {
|
|
|
2217
2217
|
quantity?: number;
|
|
2218
2218
|
|
|
2219
2219
|
/**
|
|
2220
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
2220
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
2221
2221
|
* valid unit within the item's available units of measure.
|
|
2222
2222
|
*/
|
|
2223
2223
|
unitOfMeasure?: string;
|
|
2224
2224
|
}
|
|
2225
2225
|
|
|
2226
|
-
export namespace
|
|
2226
|
+
export namespace ItemGroupLine {
|
|
2227
2227
|
export interface ItemLine {
|
|
2228
2228
|
/**
|
|
2229
2229
|
* The QuickBooks-assigned unique identifier of an existing item line you wish to
|