conductor-node 12.0.0-beta.8 → 12.0.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 +194 -0
- package/README.md +2 -4
- package/_shims/index.d.ts +2 -0
- package/_shims/index.js +5 -1
- package/_shims/index.mjs +5 -1
- package/core.d.ts.map +1 -1
- package/core.js +5 -2
- package/core.js.map +1 -1
- package/core.mjs +6 -3
- package/core.mjs.map +1 -1
- package/index.d.mts +4 -4
- package/index.d.ts +4 -4
- package/index.d.ts.map +1 -1
- package/index.js.map +1 -1
- package/index.mjs.map +1 -1
- package/package.json +8 -29
- package/pagination.js +1 -1
- package/pagination.js.map +1 -1
- package/pagination.mjs +1 -1
- package/pagination.mjs.map +1 -1
- package/resources/auth-sessions.d.ts +12 -12
- package/resources/auth-sessions.js +3 -3
- package/resources/auth-sessions.mjs +3 -3
- package/resources/end-users.d.ts +20 -32
- package/resources/end-users.d.ts.map +1 -1
- package/resources/end-users.js +4 -12
- package/resources/end-users.js.map +1 -1
- package/resources/end-users.mjs +4 -12
- package/resources/end-users.mjs.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/qbd/account-tax-lines.d.ts +48 -0
- package/resources/qbd/account-tax-lines.d.ts.map +1 -0
- package/resources/qbd/account-tax-lines.js +21 -0
- package/resources/qbd/account-tax-lines.js.map +1 -0
- package/resources/qbd/account-tax-lines.mjs +17 -0
- package/resources/qbd/account-tax-lines.mjs.map +1 -0
- package/resources/qbd/accounts.d.ts +9 -3
- package/resources/qbd/accounts.d.ts.map +1 -1
- package/resources/qbd/bill-check-payments.d.ts +4 -4
- package/resources/qbd/bill-credit-card-payments.d.ts +4 -4
- package/resources/qbd/bills.d.ts +7 -8
- package/resources/qbd/bills.d.ts.map +1 -1
- package/resources/qbd/bills.js.map +1 -1
- package/resources/qbd/bills.mjs.map +1 -1
- package/resources/qbd/checks.d.ts +4 -4
- package/resources/qbd/company.d.ts +354 -0
- package/resources/qbd/company.d.ts.map +1 -0
- package/resources/qbd/company.js +22 -0
- package/resources/qbd/company.js.map +1 -0
- package/resources/qbd/company.mjs +18 -0
- package/resources/qbd/company.mjs.map +1 -0
- package/resources/qbd/credit-card-charges.d.ts +4 -4
- package/resources/qbd/credit-card-credits.d.ts +4 -4
- package/resources/qbd/credit-memos.d.ts +4 -4
- package/resources/qbd/customers.d.ts +2 -2
- package/resources/qbd/customers.d.ts.map +1 -1
- package/resources/qbd/employees.d.ts +17 -6
- package/resources/qbd/employees.d.ts.map +1 -1
- package/resources/qbd/employees.js.map +1 -1
- package/resources/qbd/employees.mjs.map +1 -1
- package/resources/qbd/estimates.d.ts +4 -4
- package/resources/qbd/index.d.ts +7 -1
- package/resources/qbd/index.d.ts.map +1 -1
- package/resources/qbd/index.js +16 -2
- package/resources/qbd/index.js.map +1 -1
- package/resources/qbd/index.mjs +6 -0
- package/resources/qbd/index.mjs.map +1 -1
- package/resources/qbd/inventory-adjustments.d.ts +4 -4
- package/resources/qbd/invoices.d.ts +4 -4
- package/resources/qbd/item-receipts.d.ts +2336 -0
- package/resources/qbd/item-receipts.d.ts.map +1 -0
- package/resources/qbd/item-receipts.js +69 -0
- package/resources/qbd/item-receipts.js.map +1 -0
- package/resources/qbd/item-receipts.mjs +64 -0
- package/resources/qbd/item-receipts.mjs.map +1 -0
- package/resources/qbd/journal-entries.d.ts +4 -4
- package/resources/qbd/preferences.d.ts +591 -0
- package/resources/qbd/preferences.d.ts.map +1 -0
- package/resources/qbd/preferences.js +21 -0
- package/resources/qbd/preferences.js.map +1 -0
- package/resources/qbd/preferences.mjs +17 -0
- package/resources/qbd/preferences.mjs.map +1 -0
- package/resources/qbd/price-levels.d.ts +454 -0
- package/resources/qbd/price-levels.d.ts.map +1 -0
- package/resources/qbd/price-levels.js +54 -0
- package/resources/qbd/price-levels.js.map +1 -0
- package/resources/qbd/price-levels.mjs +50 -0
- package/resources/qbd/price-levels.mjs.map +1 -0
- package/resources/qbd/purchase-orders.d.ts +4 -4
- package/resources/qbd/qbd.d.ts +52 -0
- package/resources/qbd/qbd.d.ts.map +1 -1
- package/resources/qbd/qbd.js +39 -0
- package/resources/qbd/qbd.js.map +1 -1
- package/resources/qbd/qbd.mjs +39 -0
- package/resources/qbd/qbd.mjs.map +1 -1
- package/resources/qbd/receive-payments.d.ts +4 -4
- package/resources/qbd/sales-orders.d.ts +4 -4
- package/resources/qbd/sales-receipts.d.ts +4 -4
- package/resources/qbd/sales-representatives.d.ts +4 -0
- package/resources/qbd/sales-representatives.d.ts.map +1 -1
- package/resources/qbd/time-tracking-activities.d.ts +14 -12
- package/resources/qbd/time-tracking-activities.d.ts.map +1 -1
- package/resources/qbd/time-tracking-activities.js.map +1 -1
- package/resources/qbd/time-tracking-activities.mjs.map +1 -1
- package/resources/qbd/transactions.d.ts +310 -0
- package/resources/qbd/transactions.d.ts.map +1 -0
- package/resources/qbd/transactions.js +40 -0
- package/resources/qbd/transactions.js.map +1 -0
- package/resources/qbd/transactions.mjs +35 -0
- package/resources/qbd/transactions.mjs.map +1 -0
- package/resources/qbd/transfers.d.ts +4 -4
- package/resources/qbd/vendor-credits.d.ts +4 -4
- package/resources/qbd/vendors.d.ts +6 -6
- package/resources/qbd/vendors.d.ts.map +1 -1
- package/resources/qbd.d.ts +2 -0
- package/resources/qbd.d.ts.map +1 -0
- package/resources/qbd.js +19 -0
- package/resources/qbd.js.map +1 -0
- package/resources/qbd.mjs +3 -0
- package/resources/qbd.mjs.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +18 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/_shims/index.d.ts +2 -0
- package/src/_shims/index.js +5 -1
- package/src/_shims/index.mjs +5 -1
- package/src/core.ts +9 -4
- package/src/index.ts +6 -4
- package/src/pagination.ts +1 -1
- package/src/resources/auth-sessions.ts +12 -12
- package/src/resources/end-users.ts +19 -40
- package/src/resources/index.ts +1 -2
- package/src/resources/qbd/account-tax-lines.ts +70 -0
- package/src/resources/qbd/accounts.ts +9 -3
- package/src/resources/qbd/bill-check-payments.ts +4 -4
- package/src/resources/qbd/bill-credit-card-payments.ts +4 -4
- package/src/resources/qbd/bills.ts +7 -8
- package/src/resources/qbd/checks.ts +4 -4
- package/src/resources/qbd/company.ts +466 -0
- package/src/resources/qbd/credit-card-charges.ts +4 -4
- package/src/resources/qbd/credit-card-credits.ts +4 -4
- package/src/resources/qbd/credit-memos.ts +4 -4
- package/src/resources/qbd/customers.ts +2 -2
- package/src/resources/qbd/employees.ts +18 -6
- package/src/resources/qbd/estimates.ts +4 -4
- package/src/resources/qbd/index.ts +36 -1
- package/src/resources/qbd/inventory-adjustments.ts +4 -4
- package/src/resources/qbd/invoices.ts +4 -4
- package/src/resources/qbd/item-receipts.ts +2783 -0
- package/src/resources/qbd/journal-entries.ts +4 -4
- package/src/resources/qbd/preferences.ts +684 -0
- package/src/resources/qbd/price-levels.ts +561 -0
- package/src/resources/qbd/purchase-orders.ts +4 -4
- package/src/resources/qbd/qbd.ts +144 -0
- package/src/resources/qbd/receive-payments.ts +4 -4
- package/src/resources/qbd/sales-orders.ts +4 -4
- package/src/resources/qbd/sales-receipts.ts +4 -4
- package/src/resources/qbd/sales-representatives.ts +4 -0
- package/src/resources/qbd/time-tracking-activities.ts +14 -12
- package/src/resources/qbd/transactions.ts +439 -0
- package/src/resources/qbd/transfers.ts +4 -4
- package/src/resources/qbd/vendor-credits.ts +4 -4
- package/src/resources/qbd/vendors.ts +6 -6
- package/src/resources/qbd.ts +3 -0
- package/src/resources.ts +1 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -108,7 +108,7 @@ export interface Employee {
|
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* The employee's billing rate, used to override service item rates in time
|
|
111
|
-
* tracking
|
|
111
|
+
* tracking activities.
|
|
112
112
|
*/
|
|
113
113
|
billingRate: Employee.BillingRate | null;
|
|
114
114
|
|
|
@@ -393,7 +393,7 @@ export namespace Employee {
|
|
|
393
393
|
/**
|
|
394
394
|
* The date this note was last updated, in ISO 8601 format (YYYY-MM-DD).
|
|
395
395
|
*/
|
|
396
|
-
date: string;
|
|
396
|
+
date: string | null;
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
399
|
* The text of this note.
|
|
@@ -513,7 +513,7 @@ export namespace Employee {
|
|
|
513
513
|
|
|
514
514
|
/**
|
|
515
515
|
* The employee's billing rate, used to override service item rates in time
|
|
516
|
-
* tracking
|
|
516
|
+
* tracking activities.
|
|
517
517
|
*/
|
|
518
518
|
export interface BillingRate {
|
|
519
519
|
/**
|
|
@@ -931,7 +931,7 @@ export interface EmployeeCreateParams {
|
|
|
931
931
|
|
|
932
932
|
/**
|
|
933
933
|
* Body param: The employee's billing rate, used to override service item rates in
|
|
934
|
-
* time tracking
|
|
934
|
+
* time tracking activities.
|
|
935
935
|
*/
|
|
936
936
|
billingRateId?: string;
|
|
937
937
|
|
|
@@ -1610,7 +1610,7 @@ export interface EmployeeUpdateParams {
|
|
|
1610
1610
|
|
|
1611
1611
|
/**
|
|
1612
1612
|
* Body param: The employee's billing rate, used to override service item rates in
|
|
1613
|
-
* time tracking
|
|
1613
|
+
* time tracking activities.
|
|
1614
1614
|
*/
|
|
1615
1615
|
billingRateId?: string;
|
|
1616
1616
|
|
|
@@ -1834,7 +1834,7 @@ export namespace EmployeeUpdateParams {
|
|
|
1834
1834
|
/**
|
|
1835
1835
|
* The text of this note.
|
|
1836
1836
|
*/
|
|
1837
|
-
note
|
|
1837
|
+
note: string;
|
|
1838
1838
|
}
|
|
1839
1839
|
|
|
1840
1840
|
/**
|
|
@@ -2058,8 +2058,20 @@ export namespace EmployeeUpdateParams {
|
|
|
2058
2058
|
*/
|
|
2059
2059
|
classId?: string;
|
|
2060
2060
|
|
|
2061
|
+
/**
|
|
2062
|
+
* When `true`, deletes all earnings records for this employee.
|
|
2063
|
+
*/
|
|
2064
|
+
deleteAllEarnings?: boolean;
|
|
2065
|
+
|
|
2061
2066
|
/**
|
|
2062
2067
|
* The employee's earnings.
|
|
2068
|
+
*
|
|
2069
|
+
* **IMPORTANT**: When updating employees, if you include any earnings records in
|
|
2070
|
+
* your update request, QuickBooks will delete all existing earnings records for
|
|
2071
|
+
* this employee and replace them with the new records you provide. If you do not
|
|
2072
|
+
* include any earnings records, the existing earnings records will remain
|
|
2073
|
+
* unchanged. To delete all earnings records without adding new ones, set the
|
|
2074
|
+
* `deleteAllEarnings` field to `true`.
|
|
2063
2075
|
*/
|
|
2064
2076
|
earnings?: Array<EmployeePayroll.Earning>;
|
|
2065
2077
|
|
|
@@ -2925,14 +2925,14 @@ export interface EstimateListParams extends CursorPageParams {
|
|
|
2925
2925
|
refNumberTo?: string;
|
|
2926
2926
|
|
|
2927
2927
|
/**
|
|
2928
|
-
* Query param: Filter for estimates
|
|
2929
|
-
* format (YYYY-MM-DD).
|
|
2928
|
+
* Query param: Filter for estimates whose `date` field is on or after this date,
|
|
2929
|
+
* in ISO 8601 format (YYYY-MM-DD).
|
|
2930
2930
|
*/
|
|
2931
2931
|
transactionDateFrom?: string;
|
|
2932
2932
|
|
|
2933
2933
|
/**
|
|
2934
|
-
* Query param: Filter for estimates
|
|
2935
|
-
* format (YYYY-MM-DD).
|
|
2934
|
+
* Query param: Filter for estimates whose `date` field is on or before this date,
|
|
2935
|
+
* in ISO 8601 format (YYYY-MM-DD).
|
|
2936
2936
|
*/
|
|
2937
2937
|
transactionDateTo?: string;
|
|
2938
2938
|
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
export {
|
|
4
|
+
AccountTaxLines,
|
|
5
|
+
type AccountTaxLine,
|
|
6
|
+
type AccountTaxLineListResponse,
|
|
7
|
+
type AccountTaxLineListParams,
|
|
8
|
+
} from './account-tax-lines';
|
|
3
9
|
export {
|
|
4
10
|
Accounts,
|
|
5
11
|
type Account,
|
|
@@ -61,6 +67,7 @@ export {
|
|
|
61
67
|
type ClassUpdateParams,
|
|
62
68
|
type ClassListParams,
|
|
63
69
|
} from './classes';
|
|
70
|
+
export { CompanyResource, type Company, type CompanyRetrieveParams } from './company';
|
|
64
71
|
export {
|
|
65
72
|
CreditCardChargesCursorPage,
|
|
66
73
|
CreditCardCharges,
|
|
@@ -189,6 +196,17 @@ export {
|
|
|
189
196
|
type InvoiceListParams,
|
|
190
197
|
type InvoiceDeleteParams,
|
|
191
198
|
} from './invoices';
|
|
199
|
+
export {
|
|
200
|
+
ItemReceiptsCursorPage,
|
|
201
|
+
ItemReceipts,
|
|
202
|
+
type ItemReceipt,
|
|
203
|
+
type ItemReceiptDeleteResponse,
|
|
204
|
+
type ItemReceiptCreateParams,
|
|
205
|
+
type ItemReceiptRetrieveParams,
|
|
206
|
+
type ItemReceiptUpdateParams,
|
|
207
|
+
type ItemReceiptListParams,
|
|
208
|
+
type ItemReceiptDeleteParams,
|
|
209
|
+
} from './item-receipts';
|
|
192
210
|
export {
|
|
193
211
|
JournalEntriesCursorPage,
|
|
194
212
|
JournalEntries,
|
|
@@ -217,6 +235,16 @@ export {
|
|
|
217
235
|
type PayrollWageItemRetrieveParams,
|
|
218
236
|
type PayrollWageItemListParams,
|
|
219
237
|
} from './payroll-wage-items';
|
|
238
|
+
export { Preferences, type PreferenceRetrieveParams } from './preferences';
|
|
239
|
+
export {
|
|
240
|
+
PriceLevels,
|
|
241
|
+
type PriceLevel,
|
|
242
|
+
type PriceLevelListResponse,
|
|
243
|
+
type PriceLevelCreateParams,
|
|
244
|
+
type PriceLevelRetrieveParams,
|
|
245
|
+
type PriceLevelUpdateParams,
|
|
246
|
+
type PriceLevelListParams,
|
|
247
|
+
} from './price-levels';
|
|
220
248
|
export {
|
|
221
249
|
PurchaseOrdersCursorPage,
|
|
222
250
|
PurchaseOrders,
|
|
@@ -228,7 +256,7 @@ export {
|
|
|
228
256
|
type PurchaseOrderListParams,
|
|
229
257
|
type PurchaseOrderDeleteParams,
|
|
230
258
|
} from './purchase-orders';
|
|
231
|
-
export { Qbd } from './qbd';
|
|
259
|
+
export { Qbd, type QbdHealthCheckResponse, type QbdHealthCheckParams } from './qbd';
|
|
232
260
|
export {
|
|
233
261
|
ReceivePaymentsCursorPage,
|
|
234
262
|
ReceivePayments,
|
|
@@ -326,6 +354,13 @@ export {
|
|
|
326
354
|
type TimeTrackingActivityListParams,
|
|
327
355
|
type TimeTrackingActivityDeleteParams,
|
|
328
356
|
} from './time-tracking-activities';
|
|
357
|
+
export {
|
|
358
|
+
TransactionsCursorPage,
|
|
359
|
+
Transactions,
|
|
360
|
+
type Transaction,
|
|
361
|
+
type TransactionRetrieveParams,
|
|
362
|
+
type TransactionListParams,
|
|
363
|
+
} from './transactions';
|
|
329
364
|
export {
|
|
330
365
|
TransfersCursorPage,
|
|
331
366
|
Transfers,
|
|
@@ -960,14 +960,14 @@ export interface InventoryAdjustmentListParams {
|
|
|
960
960
|
refNumberTo?: string;
|
|
961
961
|
|
|
962
962
|
/**
|
|
963
|
-
* Query param: Filter for inventory adjustments
|
|
964
|
-
* ISO 8601 format (YYYY-MM-DD).
|
|
963
|
+
* Query param: Filter for inventory adjustments whose `date` field is on or after
|
|
964
|
+
* this date, in ISO 8601 format (YYYY-MM-DD).
|
|
965
965
|
*/
|
|
966
966
|
transactionDateFrom?: string;
|
|
967
967
|
|
|
968
968
|
/**
|
|
969
|
-
* Query param: Filter for inventory adjustments
|
|
970
|
-
* ISO 8601 format (YYYY-MM-DD).
|
|
969
|
+
* Query param: Filter for inventory adjustments whose `date` field is on or before
|
|
970
|
+
* this date, in ISO 8601 format (YYYY-MM-DD).
|
|
971
971
|
*/
|
|
972
972
|
transactionDateTo?: string;
|
|
973
973
|
|
|
@@ -3348,14 +3348,14 @@ export interface InvoiceListParams extends CursorPageParams {
|
|
|
3348
3348
|
refNumberTo?: string;
|
|
3349
3349
|
|
|
3350
3350
|
/**
|
|
3351
|
-
* Query param: Filter for invoices
|
|
3352
|
-
* format (YYYY-MM-DD).
|
|
3351
|
+
* Query param: Filter for invoices whose `date` field is on or after this date, in
|
|
3352
|
+
* ISO 8601 format (YYYY-MM-DD).
|
|
3353
3353
|
*/
|
|
3354
3354
|
transactionDateFrom?: string;
|
|
3355
3355
|
|
|
3356
3356
|
/**
|
|
3357
|
-
* Query param: Filter for invoices
|
|
3358
|
-
* format (YYYY-MM-DD).
|
|
3357
|
+
* Query param: Filter for invoices whose `date` field is on or before this date,
|
|
3358
|
+
* in ISO 8601 format (YYYY-MM-DD).
|
|
3359
3359
|
*/
|
|
3360
3360
|
transactionDateTo?: string;
|
|
3361
3361
|
|