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
package/resources/qbd/bills.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ export interface Bill {
|
|
|
94
94
|
* together because they are commonly purchased together or grouped for faster
|
|
95
95
|
* entry.
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
itemGroupLines: Array<Bill.ItemGroupLine>;
|
|
98
98
|
/**
|
|
99
99
|
* The bill's item lines, each representing the purchase of a specific item or
|
|
100
100
|
* service.
|
|
@@ -420,47 +420,47 @@ export declare namespace Bill {
|
|
|
420
420
|
fullName: string | null;
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
interface
|
|
423
|
+
interface ItemGroupLine {
|
|
424
424
|
/**
|
|
425
|
-
* The unique identifier assigned by QuickBooks to this item line
|
|
425
|
+
* The unique identifier assigned by QuickBooks to this item group line. This ID is
|
|
426
426
|
* unique across all transaction line types.
|
|
427
427
|
*/
|
|
428
428
|
id: string;
|
|
429
429
|
/**
|
|
430
|
-
* The custom fields for the item line
|
|
430
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
431
431
|
* extensions, not included in the standard QuickBooks object.
|
|
432
432
|
*/
|
|
433
|
-
customFields: Array<
|
|
433
|
+
customFields: Array<ItemGroupLine.CustomField>;
|
|
434
434
|
/**
|
|
435
|
-
* A description of this item line
|
|
435
|
+
* A description of this item group line.
|
|
436
436
|
*/
|
|
437
437
|
description: string | null;
|
|
438
438
|
/**
|
|
439
|
-
* The item line
|
|
439
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
440
440
|
* because they are commonly purchased together or grouped for faster entry.
|
|
441
441
|
*/
|
|
442
|
-
itemGroup:
|
|
442
|
+
itemGroup: ItemGroupLine.ItemGroup;
|
|
443
443
|
/**
|
|
444
|
-
* The item line
|
|
444
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
445
445
|
* item or service.
|
|
446
446
|
*/
|
|
447
|
-
itemLines: Array<
|
|
447
|
+
itemLines: Array<ItemGroupLine.ItemLine>;
|
|
448
448
|
/**
|
|
449
|
-
* The type of object. This value is always `"
|
|
449
|
+
* The type of object. This value is always `"qbd_item_group_line"`.
|
|
450
450
|
*/
|
|
451
|
-
objectType: '
|
|
451
|
+
objectType: 'qbd_item_group_line';
|
|
452
452
|
/**
|
|
453
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
454
|
-
*
|
|
453
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
454
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
455
455
|
* select units from a different set than the item's default unit-of-measure set,
|
|
456
456
|
* which remains unchanged on the item itself. The override applies only to this
|
|
457
457
|
* specific line. For example, you can sell an item typically measured in volume
|
|
458
458
|
* units using weight units in a specific transaction by specifying a different
|
|
459
459
|
* unit-of-measure set with this field.
|
|
460
460
|
*/
|
|
461
|
-
overrideUnitOfMeasureSet:
|
|
461
|
+
overrideUnitOfMeasureSet: ItemGroupLine.OverrideUnitOfMeasureSet | null;
|
|
462
462
|
/**
|
|
463
|
-
* The quantity of the item group associated with this item line
|
|
463
|
+
* The quantity of the item group associated with this item group line. This field
|
|
464
464
|
* cannot be cleared.
|
|
465
465
|
*
|
|
466
466
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -468,17 +468,17 @@ export declare namespace Bill {
|
|
|
468
468
|
*/
|
|
469
469
|
quantity: number | null;
|
|
470
470
|
/**
|
|
471
|
-
* The total monetary amount of this item line
|
|
471
|
+
* The total monetary amount of this item group line, equivalent to the sum of the
|
|
472
472
|
* amounts in `lines`, represented as a decimal string.
|
|
473
473
|
*/
|
|
474
474
|
totalAmount: string;
|
|
475
475
|
/**
|
|
476
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
476
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
477
477
|
* valid unit within the item's available units of measure.
|
|
478
478
|
*/
|
|
479
479
|
unitOfMeasure: string | null;
|
|
480
480
|
}
|
|
481
|
-
namespace
|
|
481
|
+
namespace ItemGroupLine {
|
|
482
482
|
interface CustomField {
|
|
483
483
|
/**
|
|
484
484
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -506,7 +506,7 @@ export declare namespace Bill {
|
|
|
506
506
|
value: string;
|
|
507
507
|
}
|
|
508
508
|
/**
|
|
509
|
-
* The item line
|
|
509
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
510
510
|
* because they are commonly purchased together or grouped for faster entry.
|
|
511
511
|
*/
|
|
512
512
|
interface ItemGroup {
|
|
@@ -833,8 +833,8 @@ export declare namespace Bill {
|
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
835
|
/**
|
|
836
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
837
|
-
*
|
|
836
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
837
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
838
838
|
* select units from a different set than the item's default unit-of-measure set,
|
|
839
839
|
* which remains unchanged on the item itself. The override applies only to this
|
|
840
840
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -1392,7 +1392,7 @@ export interface BillCreateParams {
|
|
|
1392
1392
|
* items bundled together because they are commonly purchased together or grouped
|
|
1393
1393
|
* for faster entry.
|
|
1394
1394
|
*/
|
|
1395
|
-
|
|
1395
|
+
itemGroupLines?: Array<BillCreateParams.ItemGroupLine>;
|
|
1396
1396
|
/**
|
|
1397
1397
|
* Body param: The bill's item lines, each representing the purchase of a specific
|
|
1398
1398
|
* item or service.
|
|
@@ -1545,29 +1545,29 @@ export declare namespace BillCreateParams {
|
|
|
1545
1545
|
value: string;
|
|
1546
1546
|
}
|
|
1547
1547
|
}
|
|
1548
|
-
interface
|
|
1548
|
+
interface ItemGroupLine {
|
|
1549
1549
|
/**
|
|
1550
|
-
* The item line
|
|
1550
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
1551
1551
|
* because they are commonly purchased together or grouped for faster entry.
|
|
1552
1552
|
*/
|
|
1553
1553
|
itemGroupId: string;
|
|
1554
1554
|
/**
|
|
1555
|
-
* The custom fields for the item line
|
|
1555
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
1556
1556
|
* extensions, not included in the standard QuickBooks object.
|
|
1557
1557
|
*/
|
|
1558
|
-
customFields?: Array<
|
|
1558
|
+
customFields?: Array<ItemGroupLine.CustomField>;
|
|
1559
1559
|
/**
|
|
1560
1560
|
* The site location where inventory for the item group associated with this item
|
|
1561
|
-
* line
|
|
1561
|
+
* group line is stored.
|
|
1562
1562
|
*/
|
|
1563
1563
|
inventorySiteId?: string;
|
|
1564
1564
|
/**
|
|
1565
1565
|
* The specific location (e.g., bin or shelf) within the inventory site where the
|
|
1566
|
-
* item group associated with this item line
|
|
1566
|
+
* item group associated with this item group line is stored.
|
|
1567
1567
|
*/
|
|
1568
1568
|
inventorySiteLocationId?: string;
|
|
1569
1569
|
/**
|
|
1570
|
-
* The quantity of the item group associated with this item line
|
|
1570
|
+
* The quantity of the item group associated with this item group line. This field
|
|
1571
1571
|
* cannot be cleared.
|
|
1572
1572
|
*
|
|
1573
1573
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -1575,12 +1575,12 @@ export declare namespace BillCreateParams {
|
|
|
1575
1575
|
*/
|
|
1576
1576
|
quantity?: number;
|
|
1577
1577
|
/**
|
|
1578
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
1578
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
1579
1579
|
* valid unit within the item's available units of measure.
|
|
1580
1580
|
*/
|
|
1581
1581
|
unitOfMeasure?: string;
|
|
1582
1582
|
}
|
|
1583
|
-
namespace
|
|
1583
|
+
namespace ItemGroupLine {
|
|
1584
1584
|
interface CustomField {
|
|
1585
1585
|
/**
|
|
1586
1586
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -1952,7 +1952,7 @@ export interface BillUpdateParams {
|
|
|
1952
1952
|
* 3. If you do not wish to modify any item group lines, omit this field entirely
|
|
1953
1953
|
* to keep them unchanged.
|
|
1954
1954
|
*/
|
|
1955
|
-
|
|
1955
|
+
itemGroupLines?: Array<BillUpdateParams.ItemGroupLine>;
|
|
1956
1956
|
/**
|
|
1957
1957
|
* Body param: The bill's item lines, each representing the purchase of a specific
|
|
1958
1958
|
* item or service.
|
|
@@ -2078,27 +2078,27 @@ export declare namespace BillUpdateParams {
|
|
|
2078
2078
|
*/
|
|
2079
2079
|
salesTaxCodeId?: string;
|
|
2080
2080
|
}
|
|
2081
|
-
interface
|
|
2081
|
+
interface ItemGroupLine {
|
|
2082
2082
|
/**
|
|
2083
|
-
* The QuickBooks-assigned unique identifier of an existing item line
|
|
2083
|
+
* The QuickBooks-assigned unique identifier of an existing item group line you
|
|
2084
2084
|
* wish to retain or update.
|
|
2085
2085
|
*
|
|
2086
|
-
* **IMPORTANT**: Set this field to `-1` for new item
|
|
2086
|
+
* **IMPORTANT**: Set this field to `-1` for new item group lines you wish to add.
|
|
2087
2087
|
*/
|
|
2088
2088
|
id: string;
|
|
2089
2089
|
/**
|
|
2090
|
-
* The item line
|
|
2090
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
2091
2091
|
* because they are commonly purchased together or grouped for faster entry.
|
|
2092
2092
|
*/
|
|
2093
2093
|
itemGroupId?: string;
|
|
2094
2094
|
/**
|
|
2095
|
-
* The item line
|
|
2095
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
2096
2096
|
* item or service.
|
|
2097
2097
|
*
|
|
2098
2098
|
* **IMPORTANT**:
|
|
2099
2099
|
*
|
|
2100
2100
|
* 1. Including this array in your update request will **REPLACE** all existing
|
|
2101
|
-
* item lines for the item line
|
|
2101
|
+
* item lines for the item group line with this array. To keep any existing item
|
|
2102
2102
|
* lines, you must include them in this array even if they have not changed.
|
|
2103
2103
|
* **Any item lines not included will be removed.**
|
|
2104
2104
|
*
|
|
@@ -2107,10 +2107,10 @@ export declare namespace BillUpdateParams {
|
|
|
2107
2107
|
* 3. If you do not wish to modify any item lines, omit this field entirely to keep
|
|
2108
2108
|
* them unchanged.
|
|
2109
2109
|
*/
|
|
2110
|
-
itemLines?: Array<
|
|
2110
|
+
itemLines?: Array<ItemGroupLine.ItemLine>;
|
|
2111
2111
|
/**
|
|
2112
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
2113
|
-
*
|
|
2112
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
2113
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
2114
2114
|
* select units from a different set than the item's default unit-of-measure set,
|
|
2115
2115
|
* which remains unchanged on the item itself. The override applies only to this
|
|
2116
2116
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -2119,7 +2119,7 @@ export declare namespace BillUpdateParams {
|
|
|
2119
2119
|
*/
|
|
2120
2120
|
overrideUnitOfMeasureSetId?: string;
|
|
2121
2121
|
/**
|
|
2122
|
-
* The quantity of the item group associated with this item line
|
|
2122
|
+
* The quantity of the item group associated with this item group line. This field
|
|
2123
2123
|
* cannot be cleared.
|
|
2124
2124
|
*
|
|
2125
2125
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -2127,12 +2127,12 @@ export declare namespace BillUpdateParams {
|
|
|
2127
2127
|
*/
|
|
2128
2128
|
quantity?: number;
|
|
2129
2129
|
/**
|
|
2130
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
2130
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
2131
2131
|
* valid unit within the item's available units of measure.
|
|
2132
2132
|
*/
|
|
2133
2133
|
unitOfMeasure?: string;
|
|
2134
2134
|
}
|
|
2135
|
-
namespace
|
|
2135
|
+
namespace ItemGroupLine {
|
|
2136
2136
|
interface ItemLine {
|
|
2137
2137
|
/**
|
|
2138
2138
|
* The QuickBooks-assigned unique identifier of an existing item line you wish to
|
|
@@ -99,7 +99,7 @@ export interface Check {
|
|
|
99
99
|
* bundled together because they are commonly purchased together or grouped for
|
|
100
100
|
* faster entry.
|
|
101
101
|
*/
|
|
102
|
-
|
|
102
|
+
itemGroupLines: Array<Check.ItemGroupLine>;
|
|
103
103
|
/**
|
|
104
104
|
* The check's item lines, each representing the purchase of a specific item or
|
|
105
105
|
* service.
|
|
@@ -468,47 +468,47 @@ export declare namespace Check {
|
|
|
468
468
|
fullName: string | null;
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
interface
|
|
471
|
+
interface ItemGroupLine {
|
|
472
472
|
/**
|
|
473
|
-
* The unique identifier assigned by QuickBooks to this item line
|
|
473
|
+
* The unique identifier assigned by QuickBooks to this item group line. This ID is
|
|
474
474
|
* unique across all transaction line types.
|
|
475
475
|
*/
|
|
476
476
|
id: string;
|
|
477
477
|
/**
|
|
478
|
-
* The custom fields for the item line
|
|
478
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
479
479
|
* extensions, not included in the standard QuickBooks object.
|
|
480
480
|
*/
|
|
481
|
-
customFields: Array<
|
|
481
|
+
customFields: Array<ItemGroupLine.CustomField>;
|
|
482
482
|
/**
|
|
483
|
-
* A description of this item line
|
|
483
|
+
* A description of this item group line.
|
|
484
484
|
*/
|
|
485
485
|
description: string | null;
|
|
486
486
|
/**
|
|
487
|
-
* The item line
|
|
487
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
488
488
|
* because they are commonly purchased together or grouped for faster entry.
|
|
489
489
|
*/
|
|
490
|
-
itemGroup:
|
|
490
|
+
itemGroup: ItemGroupLine.ItemGroup;
|
|
491
491
|
/**
|
|
492
|
-
* The item line
|
|
492
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
493
493
|
* item or service.
|
|
494
494
|
*/
|
|
495
|
-
itemLines: Array<
|
|
495
|
+
itemLines: Array<ItemGroupLine.ItemLine>;
|
|
496
496
|
/**
|
|
497
|
-
* The type of object. This value is always `"
|
|
497
|
+
* The type of object. This value is always `"qbd_item_group_line"`.
|
|
498
498
|
*/
|
|
499
|
-
objectType: '
|
|
499
|
+
objectType: 'qbd_item_group_line';
|
|
500
500
|
/**
|
|
501
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
502
|
-
*
|
|
501
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
502
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
503
503
|
* select units from a different set than the item's default unit-of-measure set,
|
|
504
504
|
* which remains unchanged on the item itself. The override applies only to this
|
|
505
505
|
* specific line. For example, you can sell an item typically measured in volume
|
|
506
506
|
* units using weight units in a specific transaction by specifying a different
|
|
507
507
|
* unit-of-measure set with this field.
|
|
508
508
|
*/
|
|
509
|
-
overrideUnitOfMeasureSet:
|
|
509
|
+
overrideUnitOfMeasureSet: ItemGroupLine.OverrideUnitOfMeasureSet | null;
|
|
510
510
|
/**
|
|
511
|
-
* The quantity of the item group associated with this item line
|
|
511
|
+
* The quantity of the item group associated with this item group line. This field
|
|
512
512
|
* cannot be cleared.
|
|
513
513
|
*
|
|
514
514
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -516,17 +516,17 @@ export declare namespace Check {
|
|
|
516
516
|
*/
|
|
517
517
|
quantity: number | null;
|
|
518
518
|
/**
|
|
519
|
-
* The total monetary amount of this item line
|
|
519
|
+
* The total monetary amount of this item group line, equivalent to the sum of the
|
|
520
520
|
* amounts in `lines`, represented as a decimal string.
|
|
521
521
|
*/
|
|
522
522
|
totalAmount: string;
|
|
523
523
|
/**
|
|
524
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
524
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
525
525
|
* valid unit within the item's available units of measure.
|
|
526
526
|
*/
|
|
527
527
|
unitOfMeasure: string | null;
|
|
528
528
|
}
|
|
529
|
-
namespace
|
|
529
|
+
namespace ItemGroupLine {
|
|
530
530
|
interface CustomField {
|
|
531
531
|
/**
|
|
532
532
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -554,7 +554,7 @@ export declare namespace Check {
|
|
|
554
554
|
value: string;
|
|
555
555
|
}
|
|
556
556
|
/**
|
|
557
|
-
* The item line
|
|
557
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
558
558
|
* because they are commonly purchased together or grouped for faster entry.
|
|
559
559
|
*/
|
|
560
560
|
interface ItemGroup {
|
|
@@ -881,8 +881,8 @@ export declare namespace Check {
|
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
883
|
/**
|
|
884
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
885
|
-
*
|
|
884
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
885
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
886
886
|
* select units from a different set than the item's default unit-of-measure set,
|
|
887
887
|
* which remains unchanged on the item itself. The override applies only to this
|
|
888
888
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -1371,7 +1371,7 @@ export interface CheckCreateParams {
|
|
|
1371
1371
|
* items bundled together because they are commonly purchased together or grouped
|
|
1372
1372
|
* for faster entry.
|
|
1373
1373
|
*/
|
|
1374
|
-
|
|
1374
|
+
itemGroupLines?: Array<CheckCreateParams.ItemGroupLine>;
|
|
1375
1375
|
/**
|
|
1376
1376
|
* Body param: The check's item lines, each representing the purchase of a specific
|
|
1377
1377
|
* item or service.
|
|
@@ -1562,29 +1562,29 @@ export declare namespace CheckCreateParams {
|
|
|
1562
1562
|
value: string;
|
|
1563
1563
|
}
|
|
1564
1564
|
}
|
|
1565
|
-
interface
|
|
1565
|
+
interface ItemGroupLine {
|
|
1566
1566
|
/**
|
|
1567
|
-
* The item line
|
|
1567
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
1568
1568
|
* because they are commonly purchased together or grouped for faster entry.
|
|
1569
1569
|
*/
|
|
1570
1570
|
itemGroupId: string;
|
|
1571
1571
|
/**
|
|
1572
|
-
* The custom fields for the item line
|
|
1572
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
1573
1573
|
* extensions, not included in the standard QuickBooks object.
|
|
1574
1574
|
*/
|
|
1575
|
-
customFields?: Array<
|
|
1575
|
+
customFields?: Array<ItemGroupLine.CustomField>;
|
|
1576
1576
|
/**
|
|
1577
1577
|
* The site location where inventory for the item group associated with this item
|
|
1578
|
-
* line
|
|
1578
|
+
* group line is stored.
|
|
1579
1579
|
*/
|
|
1580
1580
|
inventorySiteId?: string;
|
|
1581
1581
|
/**
|
|
1582
1582
|
* The specific location (e.g., bin or shelf) within the inventory site where the
|
|
1583
|
-
* item group associated with this item line
|
|
1583
|
+
* item group associated with this item group line is stored.
|
|
1584
1584
|
*/
|
|
1585
1585
|
inventorySiteLocationId?: string;
|
|
1586
1586
|
/**
|
|
1587
|
-
* The quantity of the item group associated with this item line
|
|
1587
|
+
* The quantity of the item group associated with this item group line. This field
|
|
1588
1588
|
* cannot be cleared.
|
|
1589
1589
|
*
|
|
1590
1590
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -1592,12 +1592,12 @@ export declare namespace CheckCreateParams {
|
|
|
1592
1592
|
*/
|
|
1593
1593
|
quantity?: number;
|
|
1594
1594
|
/**
|
|
1595
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
1595
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
1596
1596
|
* valid unit within the item's available units of measure.
|
|
1597
1597
|
*/
|
|
1598
1598
|
unitOfMeasure?: string;
|
|
1599
1599
|
}
|
|
1600
|
-
namespace
|
|
1600
|
+
namespace ItemGroupLine {
|
|
1601
1601
|
interface CustomField {
|
|
1602
1602
|
/**
|
|
1603
1603
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -1929,7 +1929,7 @@ export interface CheckUpdateParams {
|
|
|
1929
1929
|
* 3. If you do not wish to modify any item group lines, omit this field entirely
|
|
1930
1930
|
* to keep them unchanged.
|
|
1931
1931
|
*/
|
|
1932
|
-
|
|
1932
|
+
itemGroupLines?: Array<CheckUpdateParams.ItemGroupLine>;
|
|
1933
1933
|
/**
|
|
1934
1934
|
* Body param: The check's item lines, each representing the purchase of a specific
|
|
1935
1935
|
* item or service.
|
|
@@ -2112,27 +2112,27 @@ export declare namespace CheckUpdateParams {
|
|
|
2112
2112
|
*/
|
|
2113
2113
|
salesTaxCodeId?: string;
|
|
2114
2114
|
}
|
|
2115
|
-
interface
|
|
2115
|
+
interface ItemGroupLine {
|
|
2116
2116
|
/**
|
|
2117
|
-
* The QuickBooks-assigned unique identifier of an existing item line
|
|
2117
|
+
* The QuickBooks-assigned unique identifier of an existing item group line you
|
|
2118
2118
|
* wish to retain or update.
|
|
2119
2119
|
*
|
|
2120
|
-
* **IMPORTANT**: Set this field to `-1` for new item
|
|
2120
|
+
* **IMPORTANT**: Set this field to `-1` for new item group lines you wish to add.
|
|
2121
2121
|
*/
|
|
2122
2122
|
id: string;
|
|
2123
2123
|
/**
|
|
2124
|
-
* The item line
|
|
2124
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
2125
2125
|
* because they are commonly purchased together or grouped for faster entry.
|
|
2126
2126
|
*/
|
|
2127
2127
|
itemGroupId?: string;
|
|
2128
2128
|
/**
|
|
2129
|
-
* The item line
|
|
2129
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
2130
2130
|
* item or service.
|
|
2131
2131
|
*
|
|
2132
2132
|
* **IMPORTANT**:
|
|
2133
2133
|
*
|
|
2134
2134
|
* 1. Including this array in your update request will **REPLACE** all existing
|
|
2135
|
-
* item lines for the item line
|
|
2135
|
+
* item lines for the item group line with this array. To keep any existing item
|
|
2136
2136
|
* lines, you must include them in this array even if they have not changed.
|
|
2137
2137
|
* **Any item lines not included will be removed.**
|
|
2138
2138
|
*
|
|
@@ -2141,10 +2141,10 @@ export declare namespace CheckUpdateParams {
|
|
|
2141
2141
|
* 3. If you do not wish to modify any item lines, omit this field entirely to keep
|
|
2142
2142
|
* them unchanged.
|
|
2143
2143
|
*/
|
|
2144
|
-
itemLines?: Array<
|
|
2144
|
+
itemLines?: Array<ItemGroupLine.ItemLine>;
|
|
2145
2145
|
/**
|
|
2146
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
2147
|
-
*
|
|
2146
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
2147
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
2148
2148
|
* select units from a different set than the item's default unit-of-measure set,
|
|
2149
2149
|
* which remains unchanged on the item itself. The override applies only to this
|
|
2150
2150
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -2153,7 +2153,7 @@ export declare namespace CheckUpdateParams {
|
|
|
2153
2153
|
*/
|
|
2154
2154
|
overrideUnitOfMeasureSetId?: string;
|
|
2155
2155
|
/**
|
|
2156
|
-
* The quantity of the item group associated with this item line
|
|
2156
|
+
* The quantity of the item group associated with this item group line. This field
|
|
2157
2157
|
* cannot be cleared.
|
|
2158
2158
|
*
|
|
2159
2159
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -2161,12 +2161,12 @@ export declare namespace CheckUpdateParams {
|
|
|
2161
2161
|
*/
|
|
2162
2162
|
quantity?: number;
|
|
2163
2163
|
/**
|
|
2164
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
2164
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
2165
2165
|
* valid unit within the item's available units of measure.
|
|
2166
2166
|
*/
|
|
2167
2167
|
unitOfMeasure?: string;
|
|
2168
2168
|
}
|
|
2169
|
-
namespace
|
|
2169
|
+
namespace ItemGroupLine {
|
|
2170
2170
|
interface ItemLine {
|
|
2171
2171
|
/**
|
|
2172
2172
|
* The QuickBooks-assigned unique identifier of an existing item line you wish to
|