conductor-node 12.0.2 → 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 +8 -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 +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/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
|
@@ -134,7 +134,7 @@ export interface ItemReceipt {
|
|
|
134
134
|
* bundled together because they are commonly purchased together or grouped for
|
|
135
135
|
* faster entry.
|
|
136
136
|
*/
|
|
137
|
-
|
|
137
|
+
itemGroupLines: Array<ItemReceipt.ItemGroupLine>;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* The item receipt's item lines, each representing the purchase of a specific item
|
|
@@ -523,54 +523,54 @@ export namespace ItemReceipt {
|
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
525
|
|
|
526
|
-
export interface
|
|
526
|
+
export interface ItemGroupLine {
|
|
527
527
|
/**
|
|
528
|
-
* The unique identifier assigned by QuickBooks to this item line
|
|
528
|
+
* The unique identifier assigned by QuickBooks to this item group line. This ID is
|
|
529
529
|
* unique across all transaction line types.
|
|
530
530
|
*/
|
|
531
531
|
id: string;
|
|
532
532
|
|
|
533
533
|
/**
|
|
534
|
-
* The custom fields for the item line
|
|
534
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
535
535
|
* extensions, not included in the standard QuickBooks object.
|
|
536
536
|
*/
|
|
537
|
-
customFields: Array<
|
|
537
|
+
customFields: Array<ItemGroupLine.CustomField>;
|
|
538
538
|
|
|
539
539
|
/**
|
|
540
|
-
* A description of this item line
|
|
540
|
+
* A description of this item group line.
|
|
541
541
|
*/
|
|
542
542
|
description: string | null;
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
|
-
* The item line
|
|
545
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
546
546
|
* because they are commonly purchased together or grouped for faster entry.
|
|
547
547
|
*/
|
|
548
|
-
itemGroup:
|
|
548
|
+
itemGroup: ItemGroupLine.ItemGroup;
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
|
-
* The item line
|
|
551
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
552
552
|
* item or service.
|
|
553
553
|
*/
|
|
554
|
-
itemLines: Array<
|
|
554
|
+
itemLines: Array<ItemGroupLine.ItemLine>;
|
|
555
555
|
|
|
556
556
|
/**
|
|
557
|
-
* The type of object. This value is always `"
|
|
557
|
+
* The type of object. This value is always `"qbd_item_group_line"`.
|
|
558
558
|
*/
|
|
559
|
-
objectType: '
|
|
559
|
+
objectType: 'qbd_item_group_line';
|
|
560
560
|
|
|
561
561
|
/**
|
|
562
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
563
|
-
*
|
|
562
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
563
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
564
564
|
* select units from a different set than the item's default unit-of-measure set,
|
|
565
565
|
* which remains unchanged on the item itself. The override applies only to this
|
|
566
566
|
* specific line. For example, you can sell an item typically measured in volume
|
|
567
567
|
* units using weight units in a specific transaction by specifying a different
|
|
568
568
|
* unit-of-measure set with this field.
|
|
569
569
|
*/
|
|
570
|
-
overrideUnitOfMeasureSet:
|
|
570
|
+
overrideUnitOfMeasureSet: ItemGroupLine.OverrideUnitOfMeasureSet | null;
|
|
571
571
|
|
|
572
572
|
/**
|
|
573
|
-
* The quantity of the item group associated with this item line
|
|
573
|
+
* The quantity of the item group associated with this item group line. This field
|
|
574
574
|
* cannot be cleared.
|
|
575
575
|
*
|
|
576
576
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -579,19 +579,19 @@ export namespace ItemReceipt {
|
|
|
579
579
|
quantity: number | null;
|
|
580
580
|
|
|
581
581
|
/**
|
|
582
|
-
* The total monetary amount of this item line
|
|
582
|
+
* The total monetary amount of this item group line, equivalent to the sum of the
|
|
583
583
|
* amounts in `lines`, represented as a decimal string.
|
|
584
584
|
*/
|
|
585
585
|
totalAmount: string;
|
|
586
586
|
|
|
587
587
|
/**
|
|
588
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
588
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
589
589
|
* valid unit within the item's available units of measure.
|
|
590
590
|
*/
|
|
591
591
|
unitOfMeasure: string | null;
|
|
592
592
|
}
|
|
593
593
|
|
|
594
|
-
export namespace
|
|
594
|
+
export namespace ItemGroupLine {
|
|
595
595
|
export interface CustomField {
|
|
596
596
|
/**
|
|
597
597
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -631,7 +631,7 @@ export namespace ItemReceipt {
|
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
/**
|
|
634
|
-
* The item line
|
|
634
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
635
635
|
* because they are commonly purchased together or grouped for faster entry.
|
|
636
636
|
*/
|
|
637
637
|
export interface ItemGroup {
|
|
@@ -1008,8 +1008,8 @@ export namespace ItemReceipt {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
1010
|
/**
|
|
1011
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
1012
|
-
*
|
|
1011
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
1012
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
1013
1013
|
* select units from a different set than the item's default unit-of-measure set,
|
|
1014
1014
|
* which remains unchanged on the item itself. The override applies only to this
|
|
1015
1015
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -1618,7 +1618,7 @@ export interface ItemReceiptCreateParams {
|
|
|
1618
1618
|
* set of items bundled together because they are commonly purchased together or
|
|
1619
1619
|
* grouped for faster entry.
|
|
1620
1620
|
*/
|
|
1621
|
-
|
|
1621
|
+
itemGroupLines?: Array<ItemReceiptCreateParams.ItemGroupLine>;
|
|
1622
1622
|
|
|
1623
1623
|
/**
|
|
1624
1624
|
* Body param: The item receipt's item lines, each representing the purchase of a
|
|
@@ -1780,33 +1780,33 @@ export namespace ItemReceiptCreateParams {
|
|
|
1780
1780
|
}
|
|
1781
1781
|
}
|
|
1782
1782
|
|
|
1783
|
-
export interface
|
|
1783
|
+
export interface ItemGroupLine {
|
|
1784
1784
|
/**
|
|
1785
|
-
* The item line
|
|
1785
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
1786
1786
|
* because they are commonly purchased together or grouped for faster entry.
|
|
1787
1787
|
*/
|
|
1788
1788
|
itemGroupId: string;
|
|
1789
1789
|
|
|
1790
1790
|
/**
|
|
1791
|
-
* The custom fields for the item line
|
|
1791
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
1792
1792
|
* extensions, not included in the standard QuickBooks object.
|
|
1793
1793
|
*/
|
|
1794
|
-
customFields?: Array<
|
|
1794
|
+
customFields?: Array<ItemGroupLine.CustomField>;
|
|
1795
1795
|
|
|
1796
1796
|
/**
|
|
1797
1797
|
* The site location where inventory for the item group associated with this item
|
|
1798
|
-
* line
|
|
1798
|
+
* group line is stored.
|
|
1799
1799
|
*/
|
|
1800
1800
|
inventorySiteId?: string;
|
|
1801
1801
|
|
|
1802
1802
|
/**
|
|
1803
1803
|
* The specific location (e.g., bin or shelf) within the inventory site where the
|
|
1804
|
-
* item group associated with this item line
|
|
1804
|
+
* item group associated with this item group line is stored.
|
|
1805
1805
|
*/
|
|
1806
1806
|
inventorySiteLocationId?: string;
|
|
1807
1807
|
|
|
1808
1808
|
/**
|
|
1809
|
-
* The quantity of the item group associated with this item line
|
|
1809
|
+
* The quantity of the item group associated with this item group line. This field
|
|
1810
1810
|
* cannot be cleared.
|
|
1811
1811
|
*
|
|
1812
1812
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -1815,13 +1815,13 @@ export namespace ItemReceiptCreateParams {
|
|
|
1815
1815
|
quantity?: number;
|
|
1816
1816
|
|
|
1817
1817
|
/**
|
|
1818
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
1818
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
1819
1819
|
* valid unit within the item's available units of measure.
|
|
1820
1820
|
*/
|
|
1821
1821
|
unitOfMeasure?: string;
|
|
1822
1822
|
}
|
|
1823
1823
|
|
|
1824
|
-
export namespace
|
|
1824
|
+
export namespace ItemGroupLine {
|
|
1825
1825
|
export interface CustomField {
|
|
1826
1826
|
/**
|
|
1827
1827
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -2161,7 +2161,7 @@ export interface ItemReceiptUpdateParams {
|
|
|
2161
2161
|
* 3. If you do not wish to modify any item group lines, omit this field entirely
|
|
2162
2162
|
* to keep them unchanged.
|
|
2163
2163
|
*/
|
|
2164
|
-
|
|
2164
|
+
itemGroupLines?: Array<ItemReceiptUpdateParams.ItemGroupLine>;
|
|
2165
2165
|
|
|
2166
2166
|
/**
|
|
2167
2167
|
* Body param: The item receipt's item lines, each representing the purchase of a
|
|
@@ -2296,29 +2296,29 @@ export namespace ItemReceiptUpdateParams {
|
|
|
2296
2296
|
salesTaxCodeId?: string;
|
|
2297
2297
|
}
|
|
2298
2298
|
|
|
2299
|
-
export interface
|
|
2299
|
+
export interface ItemGroupLine {
|
|
2300
2300
|
/**
|
|
2301
|
-
* The QuickBooks-assigned unique identifier of an existing item line
|
|
2301
|
+
* The QuickBooks-assigned unique identifier of an existing item group line you
|
|
2302
2302
|
* wish to retain or update.
|
|
2303
2303
|
*
|
|
2304
|
-
* **IMPORTANT**: Set this field to `-1` for new item
|
|
2304
|
+
* **IMPORTANT**: Set this field to `-1` for new item group lines you wish to add.
|
|
2305
2305
|
*/
|
|
2306
2306
|
id: string;
|
|
2307
2307
|
|
|
2308
2308
|
/**
|
|
2309
|
-
* The item line
|
|
2309
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
2310
2310
|
* because they are commonly purchased together or grouped for faster entry.
|
|
2311
2311
|
*/
|
|
2312
2312
|
itemGroupId?: string;
|
|
2313
2313
|
|
|
2314
2314
|
/**
|
|
2315
|
-
* The item line
|
|
2315
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
2316
2316
|
* item or service.
|
|
2317
2317
|
*
|
|
2318
2318
|
* **IMPORTANT**:
|
|
2319
2319
|
*
|
|
2320
2320
|
* 1. Including this array in your update request will **REPLACE** all existing
|
|
2321
|
-
* item lines for the item line
|
|
2321
|
+
* item lines for the item group line with this array. To keep any existing item
|
|
2322
2322
|
* lines, you must include them in this array even if they have not changed.
|
|
2323
2323
|
* **Any item lines not included will be removed.**
|
|
2324
2324
|
*
|
|
@@ -2327,11 +2327,11 @@ export namespace ItemReceiptUpdateParams {
|
|
|
2327
2327
|
* 3. If you do not wish to modify any item lines, omit this field entirely to keep
|
|
2328
2328
|
* them unchanged.
|
|
2329
2329
|
*/
|
|
2330
|
-
itemLines?: Array<
|
|
2330
|
+
itemLines?: Array<ItemGroupLine.ItemLine>;
|
|
2331
2331
|
|
|
2332
2332
|
/**
|
|
2333
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
2334
|
-
*
|
|
2333
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
2334
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
2335
2335
|
* select units from a different set than the item's default unit-of-measure set,
|
|
2336
2336
|
* which remains unchanged on the item itself. The override applies only to this
|
|
2337
2337
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -2341,7 +2341,7 @@ export namespace ItemReceiptUpdateParams {
|
|
|
2341
2341
|
overrideUnitOfMeasureSetId?: string;
|
|
2342
2342
|
|
|
2343
2343
|
/**
|
|
2344
|
-
* The quantity of the item group associated with this item line
|
|
2344
|
+
* The quantity of the item group associated with this item group line. This field
|
|
2345
2345
|
* cannot be cleared.
|
|
2346
2346
|
*
|
|
2347
2347
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -2350,13 +2350,13 @@ export namespace ItemReceiptUpdateParams {
|
|
|
2350
2350
|
quantity?: number;
|
|
2351
2351
|
|
|
2352
2352
|
/**
|
|
2353
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
2353
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
2354
2354
|
* valid unit within the item's available units of measure.
|
|
2355
2355
|
*/
|
|
2356
2356
|
unitOfMeasure?: string;
|
|
2357
2357
|
}
|
|
2358
2358
|
|
|
2359
|
-
export namespace
|
|
2359
|
+
export namespace ItemGroupLine {
|
|
2360
2360
|
export interface ItemLine {
|
|
2361
2361
|
/**
|
|
2362
2362
|
* The QuickBooks-assigned unique identifier of an existing item line you wish to
|
package/src/resources/qbd/qbd.ts
CHANGED
|
@@ -219,6 +219,16 @@ import {
|
|
|
219
219
|
Invoices,
|
|
220
220
|
InvoicesCursorPage,
|
|
221
221
|
} from './invoices';
|
|
222
|
+
import * as ItemGroupsAPI from './item-groups';
|
|
223
|
+
import {
|
|
224
|
+
ItemGroup,
|
|
225
|
+
ItemGroupCreateParams,
|
|
226
|
+
ItemGroupListParams,
|
|
227
|
+
ItemGroupRetrieveParams,
|
|
228
|
+
ItemGroupUpdateParams,
|
|
229
|
+
ItemGroups,
|
|
230
|
+
ItemGroupsCursorPage,
|
|
231
|
+
} from './item-groups';
|
|
222
232
|
import * as ItemReceiptsAPI from './item-receipts';
|
|
223
233
|
import {
|
|
224
234
|
ItemReceipt,
|
|
@@ -465,6 +475,7 @@ export class Qbd extends APIResource {
|
|
|
465
475
|
inventoryItems: InventoryItemsAPI.InventoryItems = new InventoryItemsAPI.InventoryItems(this._client);
|
|
466
476
|
inventorySites: InventorySitesAPI.InventorySites = new InventorySitesAPI.InventorySites(this._client);
|
|
467
477
|
invoices: InvoicesAPI.Invoices = new InvoicesAPI.Invoices(this._client);
|
|
478
|
+
itemGroups: ItemGroupsAPI.ItemGroups = new ItemGroupsAPI.ItemGroups(this._client);
|
|
468
479
|
itemReceipts: ItemReceiptsAPI.ItemReceipts = new ItemReceiptsAPI.ItemReceipts(this._client);
|
|
469
480
|
journalEntries: JournalEntriesAPI.JournalEntries = new JournalEntriesAPI.JournalEntries(this._client);
|
|
470
481
|
nonInventoryItems: NonInventoryItemsAPI.NonInventoryItems = new NonInventoryItemsAPI.NonInventoryItems(
|
|
@@ -568,6 +579,8 @@ Qbd.InventoryItemsCursorPage = InventoryItemsCursorPage;
|
|
|
568
579
|
Qbd.InventorySites = InventorySites;
|
|
569
580
|
Qbd.Invoices = Invoices;
|
|
570
581
|
Qbd.InvoicesCursorPage = InvoicesCursorPage;
|
|
582
|
+
Qbd.ItemGroups = ItemGroups;
|
|
583
|
+
Qbd.ItemGroupsCursorPage = ItemGroupsCursorPage;
|
|
571
584
|
Qbd.ItemReceipts = ItemReceipts;
|
|
572
585
|
Qbd.ItemReceiptsCursorPage = ItemReceiptsCursorPage;
|
|
573
586
|
Qbd.JournalEntries = JournalEntries;
|
|
@@ -832,6 +845,16 @@ export declare namespace Qbd {
|
|
|
832
845
|
type InvoiceDeleteParams as InvoiceDeleteParams,
|
|
833
846
|
};
|
|
834
847
|
|
|
848
|
+
export {
|
|
849
|
+
ItemGroups as ItemGroups,
|
|
850
|
+
type ItemGroup as ItemGroup,
|
|
851
|
+
ItemGroupsCursorPage as ItemGroupsCursorPage,
|
|
852
|
+
type ItemGroupCreateParams as ItemGroupCreateParams,
|
|
853
|
+
type ItemGroupRetrieveParams as ItemGroupRetrieveParams,
|
|
854
|
+
type ItemGroupUpdateParams as ItemGroupUpdateParams,
|
|
855
|
+
type ItemGroupListParams as ItemGroupListParams,
|
|
856
|
+
};
|
|
857
|
+
|
|
835
858
|
export {
|
|
836
859
|
ItemReceipts as ItemReceipts,
|
|
837
860
|
type ItemReceipt as ItemReceipt,
|
|
@@ -147,7 +147,7 @@ export interface VendorCredit {
|
|
|
147
147
|
* items bundled together because they are commonly purchased together or grouped
|
|
148
148
|
* for faster entry.
|
|
149
149
|
*/
|
|
150
|
-
|
|
150
|
+
itemGroupLines: Array<VendorCredit.ItemGroupLine>;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* The vendor credit's item lines, each representing the purchase of a specific
|
|
@@ -524,54 +524,54 @@ export namespace VendorCredit {
|
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
-
export interface
|
|
527
|
+
export interface ItemGroupLine {
|
|
528
528
|
/**
|
|
529
|
-
* The unique identifier assigned by QuickBooks to this item line
|
|
529
|
+
* The unique identifier assigned by QuickBooks to this item group line. This ID is
|
|
530
530
|
* unique across all transaction line types.
|
|
531
531
|
*/
|
|
532
532
|
id: string;
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
|
-
* The custom fields for the item line
|
|
535
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
536
536
|
* extensions, not included in the standard QuickBooks object.
|
|
537
537
|
*/
|
|
538
|
-
customFields: Array<
|
|
538
|
+
customFields: Array<ItemGroupLine.CustomField>;
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
|
-
* A description of this item line
|
|
541
|
+
* A description of this item group line.
|
|
542
542
|
*/
|
|
543
543
|
description: string | null;
|
|
544
544
|
|
|
545
545
|
/**
|
|
546
|
-
* The item line
|
|
546
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
547
547
|
* because they are commonly purchased together or grouped for faster entry.
|
|
548
548
|
*/
|
|
549
|
-
itemGroup:
|
|
549
|
+
itemGroup: ItemGroupLine.ItemGroup;
|
|
550
550
|
|
|
551
551
|
/**
|
|
552
|
-
* The item line
|
|
552
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
553
553
|
* item or service.
|
|
554
554
|
*/
|
|
555
|
-
itemLines: Array<
|
|
555
|
+
itemLines: Array<ItemGroupLine.ItemLine>;
|
|
556
556
|
|
|
557
557
|
/**
|
|
558
|
-
* The type of object. This value is always `"
|
|
558
|
+
* The type of object. This value is always `"qbd_item_group_line"`.
|
|
559
559
|
*/
|
|
560
|
-
objectType: '
|
|
560
|
+
objectType: 'qbd_item_group_line';
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
564
|
-
*
|
|
563
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
564
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
565
565
|
* select units from a different set than the item's default unit-of-measure set,
|
|
566
566
|
* which remains unchanged on the item itself. The override applies only to this
|
|
567
567
|
* specific line. For example, you can sell an item typically measured in volume
|
|
568
568
|
* units using weight units in a specific transaction by specifying a different
|
|
569
569
|
* unit-of-measure set with this field.
|
|
570
570
|
*/
|
|
571
|
-
overrideUnitOfMeasureSet:
|
|
571
|
+
overrideUnitOfMeasureSet: ItemGroupLine.OverrideUnitOfMeasureSet | null;
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
|
-
* The quantity of the item group associated with this item line
|
|
574
|
+
* The quantity of the item group associated with this item group line. This field
|
|
575
575
|
* cannot be cleared.
|
|
576
576
|
*
|
|
577
577
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -580,19 +580,19 @@ export namespace VendorCredit {
|
|
|
580
580
|
quantity: number | null;
|
|
581
581
|
|
|
582
582
|
/**
|
|
583
|
-
* The total monetary amount of this item line
|
|
583
|
+
* The total monetary amount of this item group line, equivalent to the sum of the
|
|
584
584
|
* amounts in `lines`, represented as a decimal string.
|
|
585
585
|
*/
|
|
586
586
|
totalAmount: string;
|
|
587
587
|
|
|
588
588
|
/**
|
|
589
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
589
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
590
590
|
* valid unit within the item's available units of measure.
|
|
591
591
|
*/
|
|
592
592
|
unitOfMeasure: string | null;
|
|
593
593
|
}
|
|
594
594
|
|
|
595
|
-
export namespace
|
|
595
|
+
export namespace ItemGroupLine {
|
|
596
596
|
export interface CustomField {
|
|
597
597
|
/**
|
|
598
598
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -632,7 +632,7 @@ export namespace VendorCredit {
|
|
|
632
632
|
}
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
|
-
* The item line
|
|
635
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
636
636
|
* because they are commonly purchased together or grouped for faster entry.
|
|
637
637
|
*/
|
|
638
638
|
export interface ItemGroup {
|
|
@@ -1009,8 +1009,8 @@ export namespace VendorCredit {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
|
|
1011
1011
|
/**
|
|
1012
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
1013
|
-
*
|
|
1012
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
1013
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
1014
1014
|
* select units from a different set than the item's default unit-of-measure set,
|
|
1015
1015
|
* which remains unchanged on the item itself. The override applies only to this
|
|
1016
1016
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -1600,7 +1600,7 @@ export interface VendorCreditCreateParams {
|
|
|
1600
1600
|
* set of items bundled together because they are commonly purchased together or
|
|
1601
1601
|
* grouped for faster entry.
|
|
1602
1602
|
*/
|
|
1603
|
-
|
|
1603
|
+
itemGroupLines?: Array<VendorCreditCreateParams.ItemGroupLine>;
|
|
1604
1604
|
|
|
1605
1605
|
/**
|
|
1606
1606
|
* Body param: The vendor credit's item lines, each representing the purchase of a
|
|
@@ -1738,33 +1738,33 @@ export namespace VendorCreditCreateParams {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
}
|
|
1740
1740
|
|
|
1741
|
-
export interface
|
|
1741
|
+
export interface ItemGroupLine {
|
|
1742
1742
|
/**
|
|
1743
|
-
* The item line
|
|
1743
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
1744
1744
|
* because they are commonly purchased together or grouped for faster entry.
|
|
1745
1745
|
*/
|
|
1746
1746
|
itemGroupId: string;
|
|
1747
1747
|
|
|
1748
1748
|
/**
|
|
1749
|
-
* The custom fields for the item line
|
|
1749
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
1750
1750
|
* extensions, not included in the standard QuickBooks object.
|
|
1751
1751
|
*/
|
|
1752
|
-
customFields?: Array<
|
|
1752
|
+
customFields?: Array<ItemGroupLine.CustomField>;
|
|
1753
1753
|
|
|
1754
1754
|
/**
|
|
1755
1755
|
* The site location where inventory for the item group associated with this item
|
|
1756
|
-
* line
|
|
1756
|
+
* group line is stored.
|
|
1757
1757
|
*/
|
|
1758
1758
|
inventorySiteId?: string;
|
|
1759
1759
|
|
|
1760
1760
|
/**
|
|
1761
1761
|
* The specific location (e.g., bin or shelf) within the inventory site where the
|
|
1762
|
-
* item group associated with this item line
|
|
1762
|
+
* item group associated with this item group line is stored.
|
|
1763
1763
|
*/
|
|
1764
1764
|
inventorySiteLocationId?: string;
|
|
1765
1765
|
|
|
1766
1766
|
/**
|
|
1767
|
-
* The quantity of the item group associated with this item line
|
|
1767
|
+
* The quantity of the item group associated with this item group line. This field
|
|
1768
1768
|
* cannot be cleared.
|
|
1769
1769
|
*
|
|
1770
1770
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -1773,13 +1773,13 @@ export namespace VendorCreditCreateParams {
|
|
|
1773
1773
|
quantity?: number;
|
|
1774
1774
|
|
|
1775
1775
|
/**
|
|
1776
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
1776
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
1777
1777
|
* valid unit within the item's available units of measure.
|
|
1778
1778
|
*/
|
|
1779
1779
|
unitOfMeasure?: string;
|
|
1780
1780
|
}
|
|
1781
1781
|
|
|
1782
|
-
export namespace
|
|
1782
|
+
export namespace ItemGroupLine {
|
|
1783
1783
|
export interface CustomField {
|
|
1784
1784
|
/**
|
|
1785
1785
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -2119,7 +2119,7 @@ export interface VendorCreditUpdateParams {
|
|
|
2119
2119
|
* 3. If you do not wish to modify any item group lines, omit this field entirely
|
|
2120
2120
|
* to keep them unchanged.
|
|
2121
2121
|
*/
|
|
2122
|
-
|
|
2122
|
+
itemGroupLines?: Array<VendorCreditUpdateParams.ItemGroupLine>;
|
|
2123
2123
|
|
|
2124
2124
|
/**
|
|
2125
2125
|
* Body param: The vendor credit's item lines, each representing the purchase of a
|
|
@@ -2254,29 +2254,29 @@ export namespace VendorCreditUpdateParams {
|
|
|
2254
2254
|
salesTaxCodeId?: string;
|
|
2255
2255
|
}
|
|
2256
2256
|
|
|
2257
|
-
export interface
|
|
2257
|
+
export interface ItemGroupLine {
|
|
2258
2258
|
/**
|
|
2259
|
-
* The QuickBooks-assigned unique identifier of an existing item line
|
|
2259
|
+
* The QuickBooks-assigned unique identifier of an existing item group line you
|
|
2260
2260
|
* wish to retain or update.
|
|
2261
2261
|
*
|
|
2262
|
-
* **IMPORTANT**: Set this field to `-1` for new item
|
|
2262
|
+
* **IMPORTANT**: Set this field to `-1` for new item group lines you wish to add.
|
|
2263
2263
|
*/
|
|
2264
2264
|
id: string;
|
|
2265
2265
|
|
|
2266
2266
|
/**
|
|
2267
|
-
* The item line
|
|
2267
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
2268
2268
|
* because they are commonly purchased together or grouped for faster entry.
|
|
2269
2269
|
*/
|
|
2270
2270
|
itemGroupId?: string;
|
|
2271
2271
|
|
|
2272
2272
|
/**
|
|
2273
|
-
* The item line
|
|
2273
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
2274
2274
|
* item or service.
|
|
2275
2275
|
*
|
|
2276
2276
|
* **IMPORTANT**:
|
|
2277
2277
|
*
|
|
2278
2278
|
* 1. Including this array in your update request will **REPLACE** all existing
|
|
2279
|
-
* item lines for the item line
|
|
2279
|
+
* item lines for the item group line with this array. To keep any existing item
|
|
2280
2280
|
* lines, you must include them in this array even if they have not changed.
|
|
2281
2281
|
* **Any item lines not included will be removed.**
|
|
2282
2282
|
*
|
|
@@ -2285,11 +2285,11 @@ export namespace VendorCreditUpdateParams {
|
|
|
2285
2285
|
* 3. If you do not wish to modify any item lines, omit this field entirely to keep
|
|
2286
2286
|
* them unchanged.
|
|
2287
2287
|
*/
|
|
2288
|
-
itemLines?: Array<
|
|
2288
|
+
itemLines?: Array<ItemGroupLine.ItemLine>;
|
|
2289
2289
|
|
|
2290
2290
|
/**
|
|
2291
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
2292
|
-
*
|
|
2291
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
2292
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
2293
2293
|
* select units from a different set than the item's default unit-of-measure set,
|
|
2294
2294
|
* which remains unchanged on the item itself. The override applies only to this
|
|
2295
2295
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -2299,7 +2299,7 @@ export namespace VendorCreditUpdateParams {
|
|
|
2299
2299
|
overrideUnitOfMeasureSetId?: string;
|
|
2300
2300
|
|
|
2301
2301
|
/**
|
|
2302
|
-
* The quantity of the item group associated with this item line
|
|
2302
|
+
* The quantity of the item group associated with this item group line. This field
|
|
2303
2303
|
* cannot be cleared.
|
|
2304
2304
|
*
|
|
2305
2305
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -2308,13 +2308,13 @@ export namespace VendorCreditUpdateParams {
|
|
|
2308
2308
|
quantity?: number;
|
|
2309
2309
|
|
|
2310
2310
|
/**
|
|
2311
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
2311
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
2312
2312
|
* valid unit within the item's available units of measure.
|
|
2313
2313
|
*/
|
|
2314
2314
|
unitOfMeasure?: string;
|
|
2315
2315
|
}
|
|
2316
2316
|
|
|
2317
|
-
export namespace
|
|
2317
|
+
export namespace ItemGroupLine {
|
|
2318
2318
|
export interface ItemLine {
|
|
2319
2319
|
/**
|
|
2320
2320
|
* The QuickBooks-assigned unique identifier of an existing item line you wish to
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '12.0
|
|
1
|
+
export const VERSION = '12.1.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "12.0
|
|
1
|
+
export declare const VERSION = "12.1.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '12.0
|
|
1
|
+
export const VERSION = '12.1.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|