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
|
@@ -156,7 +156,7 @@ export interface CreditCardCredit {
|
|
|
156
156
|
* items bundled together because they are commonly purchased together or grouped
|
|
157
157
|
* for faster entry.
|
|
158
158
|
*/
|
|
159
|
-
|
|
159
|
+
itemGroupLines: Array<CreditCardCredit.ItemGroupLine>;
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
162
|
* The credit card credit's item lines, each representing the purchase of a
|
|
@@ -527,54 +527,54 @@ export namespace CreditCardCredit {
|
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
|
|
530
|
-
export interface
|
|
530
|
+
export interface ItemGroupLine {
|
|
531
531
|
/**
|
|
532
|
-
* The unique identifier assigned by QuickBooks to this item line
|
|
532
|
+
* The unique identifier assigned by QuickBooks to this item group line. This ID is
|
|
533
533
|
* unique across all transaction line types.
|
|
534
534
|
*/
|
|
535
535
|
id: string;
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
|
-
* The custom fields for the item line
|
|
538
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
539
539
|
* extensions, not included in the standard QuickBooks object.
|
|
540
540
|
*/
|
|
541
|
-
customFields: Array<
|
|
541
|
+
customFields: Array<ItemGroupLine.CustomField>;
|
|
542
542
|
|
|
543
543
|
/**
|
|
544
|
-
* A description of this item line
|
|
544
|
+
* A description of this item group line.
|
|
545
545
|
*/
|
|
546
546
|
description: string | null;
|
|
547
547
|
|
|
548
548
|
/**
|
|
549
|
-
* The item line
|
|
549
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
550
550
|
* because they are commonly purchased together or grouped for faster entry.
|
|
551
551
|
*/
|
|
552
|
-
itemGroup:
|
|
552
|
+
itemGroup: ItemGroupLine.ItemGroup;
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
|
-
* The item line
|
|
555
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
556
556
|
* item or service.
|
|
557
557
|
*/
|
|
558
|
-
itemLines: Array<
|
|
558
|
+
itemLines: Array<ItemGroupLine.ItemLine>;
|
|
559
559
|
|
|
560
560
|
/**
|
|
561
|
-
* The type of object. This value is always `"
|
|
561
|
+
* The type of object. This value is always `"qbd_item_group_line"`.
|
|
562
562
|
*/
|
|
563
|
-
objectType: '
|
|
563
|
+
objectType: 'qbd_item_group_line';
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
567
|
-
*
|
|
566
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
567
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
568
568
|
* select units from a different set than the item's default unit-of-measure set,
|
|
569
569
|
* which remains unchanged on the item itself. The override applies only to this
|
|
570
570
|
* specific line. For example, you can sell an item typically measured in volume
|
|
571
571
|
* units using weight units in a specific transaction by specifying a different
|
|
572
572
|
* unit-of-measure set with this field.
|
|
573
573
|
*/
|
|
574
|
-
overrideUnitOfMeasureSet:
|
|
574
|
+
overrideUnitOfMeasureSet: ItemGroupLine.OverrideUnitOfMeasureSet | null;
|
|
575
575
|
|
|
576
576
|
/**
|
|
577
|
-
* The quantity of the item group associated with this item line
|
|
577
|
+
* The quantity of the item group associated with this item group line. This field
|
|
578
578
|
* cannot be cleared.
|
|
579
579
|
*
|
|
580
580
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -583,19 +583,19 @@ export namespace CreditCardCredit {
|
|
|
583
583
|
quantity: number | null;
|
|
584
584
|
|
|
585
585
|
/**
|
|
586
|
-
* The total monetary amount of this item line
|
|
586
|
+
* The total monetary amount of this item group line, equivalent to the sum of the
|
|
587
587
|
* amounts in `lines`, represented as a decimal string.
|
|
588
588
|
*/
|
|
589
589
|
totalAmount: string;
|
|
590
590
|
|
|
591
591
|
/**
|
|
592
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
592
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
593
593
|
* valid unit within the item's available units of measure.
|
|
594
594
|
*/
|
|
595
595
|
unitOfMeasure: string | null;
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
export namespace
|
|
598
|
+
export namespace ItemGroupLine {
|
|
599
599
|
export interface CustomField {
|
|
600
600
|
/**
|
|
601
601
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -635,7 +635,7 @@ export namespace CreditCardCredit {
|
|
|
635
635
|
}
|
|
636
636
|
|
|
637
637
|
/**
|
|
638
|
-
* The item line
|
|
638
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
639
639
|
* because they are commonly purchased together or grouped for faster entry.
|
|
640
640
|
*/
|
|
641
641
|
export interface ItemGroup {
|
|
@@ -1012,8 +1012,8 @@ export namespace CreditCardCredit {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
1014
|
/**
|
|
1015
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
1016
|
-
*
|
|
1015
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
1016
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
1017
1017
|
* select units from a different set than the item's default unit-of-measure set,
|
|
1018
1018
|
* which remains unchanged on the item itself. The override applies only to this
|
|
1019
1019
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -1512,7 +1512,7 @@ export interface CreditCardCreditCreateParams {
|
|
|
1512
1512
|
* predefined set of items bundled together because they are commonly purchased
|
|
1513
1513
|
* together or grouped for faster entry.
|
|
1514
1514
|
*/
|
|
1515
|
-
|
|
1515
|
+
itemGroupLines?: Array<CreditCardCreditCreateParams.ItemGroupLine>;
|
|
1516
1516
|
|
|
1517
1517
|
/**
|
|
1518
1518
|
* Body param: The credit card credit's item lines, each representing the purchase
|
|
@@ -1647,33 +1647,33 @@ export namespace CreditCardCreditCreateParams {
|
|
|
1647
1647
|
}
|
|
1648
1648
|
}
|
|
1649
1649
|
|
|
1650
|
-
export interface
|
|
1650
|
+
export interface ItemGroupLine {
|
|
1651
1651
|
/**
|
|
1652
|
-
* The item line
|
|
1652
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
1653
1653
|
* because they are commonly purchased together or grouped for faster entry.
|
|
1654
1654
|
*/
|
|
1655
1655
|
itemGroupId: string;
|
|
1656
1656
|
|
|
1657
1657
|
/**
|
|
1658
|
-
* The custom fields for the item line
|
|
1658
|
+
* The custom fields for the item group line object, added as user-defined data
|
|
1659
1659
|
* extensions, not included in the standard QuickBooks object.
|
|
1660
1660
|
*/
|
|
1661
|
-
customFields?: Array<
|
|
1661
|
+
customFields?: Array<ItemGroupLine.CustomField>;
|
|
1662
1662
|
|
|
1663
1663
|
/**
|
|
1664
1664
|
* The site location where inventory for the item group associated with this item
|
|
1665
|
-
* line
|
|
1665
|
+
* group line is stored.
|
|
1666
1666
|
*/
|
|
1667
1667
|
inventorySiteId?: string;
|
|
1668
1668
|
|
|
1669
1669
|
/**
|
|
1670
1670
|
* The specific location (e.g., bin or shelf) within the inventory site where the
|
|
1671
|
-
* item group associated with this item line
|
|
1671
|
+
* item group associated with this item group line is stored.
|
|
1672
1672
|
*/
|
|
1673
1673
|
inventorySiteLocationId?: string;
|
|
1674
1674
|
|
|
1675
1675
|
/**
|
|
1676
|
-
* The quantity of the item group associated with this item line
|
|
1676
|
+
* The quantity of the item group associated with this item group line. This field
|
|
1677
1677
|
* cannot be cleared.
|
|
1678
1678
|
*
|
|
1679
1679
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -1682,13 +1682,13 @@ export namespace CreditCardCreditCreateParams {
|
|
|
1682
1682
|
quantity?: number;
|
|
1683
1683
|
|
|
1684
1684
|
/**
|
|
1685
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
1685
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
1686
1686
|
* valid unit within the item's available units of measure.
|
|
1687
1687
|
*/
|
|
1688
1688
|
unitOfMeasure?: string;
|
|
1689
1689
|
}
|
|
1690
1690
|
|
|
1691
|
-
export namespace
|
|
1691
|
+
export namespace ItemGroupLine {
|
|
1692
1692
|
export interface CustomField {
|
|
1693
1693
|
/**
|
|
1694
1694
|
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
@@ -2034,7 +2034,7 @@ export interface CreditCardCreditUpdateParams {
|
|
|
2034
2034
|
* 3. If you do not wish to modify any item group lines, omit this field entirely
|
|
2035
2035
|
* to keep them unchanged.
|
|
2036
2036
|
*/
|
|
2037
|
-
|
|
2037
|
+
itemGroupLines?: Array<CreditCardCreditUpdateParams.ItemGroupLine>;
|
|
2038
2038
|
|
|
2039
2039
|
/**
|
|
2040
2040
|
* Body param: The credit card credit's item lines, each representing the purchase
|
|
@@ -2161,29 +2161,29 @@ export namespace CreditCardCreditUpdateParams {
|
|
|
2161
2161
|
salesTaxCodeId?: string;
|
|
2162
2162
|
}
|
|
2163
2163
|
|
|
2164
|
-
export interface
|
|
2164
|
+
export interface ItemGroupLine {
|
|
2165
2165
|
/**
|
|
2166
|
-
* The QuickBooks-assigned unique identifier of an existing item line
|
|
2166
|
+
* The QuickBooks-assigned unique identifier of an existing item group line you
|
|
2167
2167
|
* wish to retain or update.
|
|
2168
2168
|
*
|
|
2169
|
-
* **IMPORTANT**: Set this field to `-1` for new item
|
|
2169
|
+
* **IMPORTANT**: Set this field to `-1` for new item group lines you wish to add.
|
|
2170
2170
|
*/
|
|
2171
2171
|
id: string;
|
|
2172
2172
|
|
|
2173
2173
|
/**
|
|
2174
|
-
* The item line
|
|
2174
|
+
* The item group line's item group, representing a predefined set of items bundled
|
|
2175
2175
|
* because they are commonly purchased together or grouped for faster entry.
|
|
2176
2176
|
*/
|
|
2177
2177
|
itemGroupId?: string;
|
|
2178
2178
|
|
|
2179
2179
|
/**
|
|
2180
|
-
* The item line
|
|
2180
|
+
* The item group line's item lines, each representing the purchase of a specific
|
|
2181
2181
|
* item or service.
|
|
2182
2182
|
*
|
|
2183
2183
|
* **IMPORTANT**:
|
|
2184
2184
|
*
|
|
2185
2185
|
* 1. Including this array in your update request will **REPLACE** all existing
|
|
2186
|
-
* item lines for the item line
|
|
2186
|
+
* item lines for the item group line with this array. To keep any existing item
|
|
2187
2187
|
* lines, you must include them in this array even if they have not changed.
|
|
2188
2188
|
* **Any item lines not included will be removed.**
|
|
2189
2189
|
*
|
|
@@ -2192,11 +2192,11 @@ export namespace CreditCardCreditUpdateParams {
|
|
|
2192
2192
|
* 3. If you do not wish to modify any item lines, omit this field entirely to keep
|
|
2193
2193
|
* them unchanged.
|
|
2194
2194
|
*/
|
|
2195
|
-
itemLines?: Array<
|
|
2195
|
+
itemLines?: Array<ItemGroupLine.ItemLine>;
|
|
2196
2196
|
|
|
2197
2197
|
/**
|
|
2198
|
-
* Specifies an alternative unit-of-measure set when updating this item
|
|
2199
|
-
*
|
|
2198
|
+
* Specifies an alternative unit-of-measure set when updating this item group
|
|
2199
|
+
* line's `unitOfMeasure` field (e.g., "pound" or "kilogram"). This allows you to
|
|
2200
2200
|
* select units from a different set than the item's default unit-of-measure set,
|
|
2201
2201
|
* which remains unchanged on the item itself. The override applies only to this
|
|
2202
2202
|
* specific line. For example, you can sell an item typically measured in volume
|
|
@@ -2206,7 +2206,7 @@ export namespace CreditCardCreditUpdateParams {
|
|
|
2206
2206
|
overrideUnitOfMeasureSetId?: string;
|
|
2207
2207
|
|
|
2208
2208
|
/**
|
|
2209
|
-
* The quantity of the item group associated with this item line
|
|
2209
|
+
* The quantity of the item group associated with this item group line. This field
|
|
2210
2210
|
* cannot be cleared.
|
|
2211
2211
|
*
|
|
2212
2212
|
* **NOTE**: Do not use this field if the associated item group is a discount item
|
|
@@ -2215,13 +2215,13 @@ export namespace CreditCardCreditUpdateParams {
|
|
|
2215
2215
|
quantity?: number;
|
|
2216
2216
|
|
|
2217
2217
|
/**
|
|
2218
|
-
* The unit-of-measure used for the `quantity` in this item line
|
|
2218
|
+
* The unit-of-measure used for the `quantity` in this item group line. Must be a
|
|
2219
2219
|
* valid unit within the item's available units of measure.
|
|
2220
2220
|
*/
|
|
2221
2221
|
unitOfMeasure?: string;
|
|
2222
2222
|
}
|
|
2223
2223
|
|
|
2224
|
-
export namespace
|
|
2224
|
+
export namespace ItemGroupLine {
|
|
2225
2225
|
export interface ItemLine {
|
|
2226
2226
|
/**
|
|
2227
2227
|
* The QuickBooks-assigned unique identifier of an existing item line you wish to
|
|
@@ -196,6 +196,15 @@ export {
|
|
|
196
196
|
type InvoiceListParams,
|
|
197
197
|
type InvoiceDeleteParams,
|
|
198
198
|
} from './invoices';
|
|
199
|
+
export {
|
|
200
|
+
ItemGroupsCursorPage,
|
|
201
|
+
ItemGroups,
|
|
202
|
+
type ItemGroup,
|
|
203
|
+
type ItemGroupCreateParams,
|
|
204
|
+
type ItemGroupRetrieveParams,
|
|
205
|
+
type ItemGroupUpdateParams,
|
|
206
|
+
type ItemGroupListParams,
|
|
207
|
+
} from './item-groups';
|
|
199
208
|
export {
|
|
200
209
|
ItemReceiptsCursorPage,
|
|
201
210
|
ItemReceipts,
|