conductor-node 12.0.0-beta.1 → 12.0.0-beta.11
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 +108 -0
- package/README.md +32 -27
- 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 +1 -1
- package/resources/auth-sessions.d.ts +11 -15
- package/resources/auth-sessions.d.ts.map +1 -1
- package/resources/auth-sessions.js +2 -8
- package/resources/auth-sessions.js.map +1 -1
- package/resources/auth-sessions.mjs +2 -8
- package/resources/auth-sessions.mjs.map +1 -1
- 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/bill-check-payments.d.ts +4 -4
- package/resources/qbd/bill-credit-card-payments.d.ts +4 -4
- package/resources/qbd/bills.d.ts +4 -4
- package/resources/qbd/checks.d.ts +4 -4
- 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/employees.d.ts +76 -34
- 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 +3 -1
- package/resources/qbd/index.d.ts.map +1 -1
- package/resources/qbd/index.js +7 -1
- package/resources/qbd/index.js.map +1 -1
- package/resources/qbd/index.mjs +2 -0
- package/resources/qbd/index.mjs.map +1 -1
- package/resources/qbd/inventory-adjustments.d.ts +4 -4
- package/resources/qbd/inventory-assembly-items.d.ts +1 -1
- package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
- package/resources/qbd/inventory-items.d.ts +1 -1
- package/resources/qbd/inventory-items.d.ts.map +1 -1
- package/resources/qbd/invoices.d.ts +4 -4
- package/resources/qbd/journal-entries.d.ts +4 -4
- package/resources/qbd/purchase-orders.d.ts +4 -4
- package/resources/qbd/qbd.d.ts +36 -0
- package/resources/qbd/qbd.d.ts.map +1 -1
- package/resources/qbd/qbd.js +25 -0
- package/resources/qbd/qbd.js.map +1 -1
- package/resources/qbd/qbd.mjs +25 -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/time-tracking-activities.d.ts +485 -0
- package/resources/qbd/time-tracking-activities.d.ts.map +1 -0
- package/resources/qbd/time-tracking-activities.js +66 -0
- package/resources/qbd/time-tracking-activities.js.map +1 -0
- package/resources/qbd/time-tracking-activities.mjs +61 -0
- package/resources/qbd/time-tracking-activities.mjs.map +1 -0
- package/resources/qbd/transactions.d.ts +312 -0
- package/resources/qbd/transactions.d.ts.map +1 -0
- package/resources/qbd/transactions.js +41 -0
- package/resources/qbd/transactions.js.map +1 -0
- package/resources/qbd/transactions.mjs +36 -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 +4 -4
- package/src/index.ts +6 -4
- package/src/resources/auth-sessions.ts +11 -18
- package/src/resources/end-users.ts +19 -40
- package/src/resources/index.ts +1 -2
- 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 +4 -4
- package/src/resources/qbd/checks.ts +4 -4
- 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/employees.ts +76 -34
- package/src/resources/qbd/estimates.ts +4 -4
- package/src/resources/qbd/index.ts +19 -1
- package/src/resources/qbd/inventory-adjustments.ts +4 -4
- package/src/resources/qbd/inventory-assembly-items.ts +1 -1
- package/src/resources/qbd/inventory-items.ts +1 -1
- package/src/resources/qbd/invoices.ts +4 -4
- package/src/resources/qbd/journal-entries.ts +4 -4
- package/src/resources/qbd/purchase-orders.ts +4 -4
- package/src/resources/qbd/qbd.ts +92 -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/time-tracking-activities.ts +615 -0
- package/src/resources/qbd/transactions.ts +441 -0
- package/src/resources/qbd/transfers.ts +4 -4
- package/src/resources/qbd/vendor-credits.ts +4 -4
- package/src/resources/qbd/vendors.ts +4 -4
- 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
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../resource';
|
|
4
|
+
import * as Core from '../../core';
|
|
5
|
+
import { CursorPage, type CursorPageParams } from '../../pagination';
|
|
6
|
+
|
|
7
|
+
export class Transactions extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves a transaction by ID.
|
|
10
|
+
*/
|
|
11
|
+
retrieve(
|
|
12
|
+
id: string,
|
|
13
|
+
params: TransactionRetrieveParams,
|
|
14
|
+
options?: Core.RequestOptions,
|
|
15
|
+
): Core.APIPromise<Transaction> {
|
|
16
|
+
const { conductorEndUserId } = params;
|
|
17
|
+
return this._client.get(`/quickbooks-desktop/transactions/${id}`, {
|
|
18
|
+
...options,
|
|
19
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Searches across all transaction types. Unlike transaction-specific queries, this
|
|
25
|
+
* endpoint only returns fields common to all transaction types, such as ID, type,
|
|
26
|
+
* dates, account, and reference numbers. For more details specific to that
|
|
27
|
+
* transaction type, make a subsequent call to the relevant transaction-specific
|
|
28
|
+
* endpoint (such as invoices, bills, etc.)
|
|
29
|
+
*
|
|
30
|
+
* NOTE: This endpoint does not support time tracking activities.
|
|
31
|
+
*/
|
|
32
|
+
list(
|
|
33
|
+
params: TransactionListParams,
|
|
34
|
+
options?: Core.RequestOptions,
|
|
35
|
+
): Core.PagePromise<TransactionsCursorPage, Transaction> {
|
|
36
|
+
const { conductorEndUserId, ...query } = params;
|
|
37
|
+
return this._client.getAPIList('/quickbooks-desktop/transactions', TransactionsCursorPage, {
|
|
38
|
+
query,
|
|
39
|
+
...options,
|
|
40
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class TransactionsCursorPage extends CursorPage<Transaction> {}
|
|
46
|
+
|
|
47
|
+
export interface Transaction {
|
|
48
|
+
/**
|
|
49
|
+
* The account associated with this transaction.
|
|
50
|
+
*/
|
|
51
|
+
account: Transaction.Account | null;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* The monetary amount of this transaction, represented as a decimal string.
|
|
55
|
+
*/
|
|
56
|
+
amount: string | null;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* The monetary amount of this transaction converted to the home currency of the
|
|
60
|
+
* QuickBooks company file. Represented as a decimal string.
|
|
61
|
+
*/
|
|
62
|
+
amountInHomeCurrency: string | null;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The date and time when this transaction was created, in ISO 8601 format
|
|
66
|
+
* (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone
|
|
67
|
+
* in QuickBooks.
|
|
68
|
+
*/
|
|
69
|
+
createdAt: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The transaction's currency. For built-in currencies, the name and code are
|
|
73
|
+
* standard international values. For user-defined currencies, all values are
|
|
74
|
+
* editable.
|
|
75
|
+
*/
|
|
76
|
+
currency: Transaction.Currency | null;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The customer, vendor, employee, or person on QuickBooks's "Other Names" list
|
|
80
|
+
* associated with this transaction.
|
|
81
|
+
*/
|
|
82
|
+
entity: Transaction.Entity | null;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* The market exchange rate between this transaction's currency and the home
|
|
86
|
+
* currency in QuickBooks at the time of this transaction. Represented as a decimal
|
|
87
|
+
* value (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home currency).
|
|
88
|
+
*/
|
|
89
|
+
exchangeRate: number | null;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* A memo or note for this transaction.
|
|
93
|
+
*/
|
|
94
|
+
memo: string | null;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The case-sensitive user-defined reference number for this transaction, which can
|
|
98
|
+
* be used to identify the transaction in QuickBooks. This value is not required to
|
|
99
|
+
* be unique and can be arbitrarily changed by the QuickBooks user.
|
|
100
|
+
*/
|
|
101
|
+
refNumber: string | null;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* The date of this transaction, in ISO 8601 format (YYYY-MM-DD).
|
|
105
|
+
*/
|
|
106
|
+
transactionDate: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* The QuickBooks-assigned unique identifier of this transaction. **NOTE:** If
|
|
110
|
+
* `null`, this is a transaction line object and `transactionLineId` will be
|
|
111
|
+
* defined instead.
|
|
112
|
+
*/
|
|
113
|
+
transactionId: string | null;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* The QuickBooks-assigned unique identifier of this transaction line. **NOTE:** If
|
|
117
|
+
* `null`, this is a transaction object and `transactionId` will be defined
|
|
118
|
+
* instead.
|
|
119
|
+
*/
|
|
120
|
+
transactionLineId: string | null;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* The type of transaction.
|
|
124
|
+
*/
|
|
125
|
+
transactionType:
|
|
126
|
+
| 'ar_refund_credit_card'
|
|
127
|
+
| 'bill'
|
|
128
|
+
| 'bill_payment_check'
|
|
129
|
+
| 'bill_payment_credit_card'
|
|
130
|
+
| 'build_assembly'
|
|
131
|
+
| 'charge'
|
|
132
|
+
| 'check'
|
|
133
|
+
| 'credit_card_charge'
|
|
134
|
+
| 'credit_card_credit'
|
|
135
|
+
| 'credit_memo'
|
|
136
|
+
| 'deposit'
|
|
137
|
+
| 'estimate'
|
|
138
|
+
| 'inventory_adjustment'
|
|
139
|
+
| 'invoice'
|
|
140
|
+
| 'item_receipt'
|
|
141
|
+
| 'journal_entry'
|
|
142
|
+
| 'liability_adjustment'
|
|
143
|
+
| 'paycheck'
|
|
144
|
+
| 'payroll_liability_check'
|
|
145
|
+
| 'purchase_order'
|
|
146
|
+
| 'receive_payment'
|
|
147
|
+
| 'sales_order'
|
|
148
|
+
| 'sales_receipt'
|
|
149
|
+
| 'sales_tax_payment_check'
|
|
150
|
+
| 'transfer'
|
|
151
|
+
| 'vendor_credit'
|
|
152
|
+
| 'ytd_adjustment';
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* The date and time when this transaction was last updated, in ISO 8601 format
|
|
156
|
+
* (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone
|
|
157
|
+
* in QuickBooks.
|
|
158
|
+
*/
|
|
159
|
+
updatedAt: string;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export namespace Transaction {
|
|
163
|
+
/**
|
|
164
|
+
* The account associated with this transaction.
|
|
165
|
+
*/
|
|
166
|
+
export interface Account {
|
|
167
|
+
/**
|
|
168
|
+
* The unique identifier assigned by QuickBooks to this object. This ID is unique
|
|
169
|
+
* across all objects of the same type, but not across different QuickBooks object
|
|
170
|
+
* types.
|
|
171
|
+
*/
|
|
172
|
+
id: string | null;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* The fully-qualified unique name for this object, formed by combining the names
|
|
176
|
+
* of its parent objects with its own `name`, separated by colons. Not
|
|
177
|
+
* case-sensitive.
|
|
178
|
+
*/
|
|
179
|
+
fullName: string | null;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The transaction's currency. For built-in currencies, the name and code are
|
|
184
|
+
* standard international values. For user-defined currencies, all values are
|
|
185
|
+
* editable.
|
|
186
|
+
*/
|
|
187
|
+
export interface Currency {
|
|
188
|
+
/**
|
|
189
|
+
* The unique identifier assigned by QuickBooks to this object. This ID is unique
|
|
190
|
+
* across all objects of the same type, but not across different QuickBooks object
|
|
191
|
+
* types.
|
|
192
|
+
*/
|
|
193
|
+
id: string | null;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* The fully-qualified unique name for this object, formed by combining the names
|
|
197
|
+
* of its parent objects with its own `name`, separated by colons. Not
|
|
198
|
+
* case-sensitive.
|
|
199
|
+
*/
|
|
200
|
+
fullName: string | null;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* The customer, vendor, employee, or person on QuickBooks's "Other Names" list
|
|
205
|
+
* associated with this transaction.
|
|
206
|
+
*/
|
|
207
|
+
export interface Entity {
|
|
208
|
+
/**
|
|
209
|
+
* The unique identifier assigned by QuickBooks to this object. This ID is unique
|
|
210
|
+
* across all objects of the same type, but not across different QuickBooks object
|
|
211
|
+
* types.
|
|
212
|
+
*/
|
|
213
|
+
id: string | null;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* The fully-qualified unique name for this object, formed by combining the names
|
|
217
|
+
* of its parent objects with its own `name`, separated by colons. Not
|
|
218
|
+
* case-sensitive.
|
|
219
|
+
*/
|
|
220
|
+
fullName: string | null;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export interface TransactionRetrieveParams {
|
|
225
|
+
/**
|
|
226
|
+
* The ID of the EndUser to receive this request (e.g.,
|
|
227
|
+
* `"Conductor-End-User-Id: {{END_USER_ID}}"`).
|
|
228
|
+
*/
|
|
229
|
+
conductorEndUserId: string;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export interface TransactionListParams extends CursorPageParams {
|
|
233
|
+
/**
|
|
234
|
+
* Header param: The ID of the EndUser to receive this request (e.g.,
|
|
235
|
+
* `"Conductor-End-User-Id: {{END_USER_ID}}"`).
|
|
236
|
+
*/
|
|
237
|
+
conductorEndUserId: string;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Query param: Filter for transactions associated with these accounts.
|
|
241
|
+
*
|
|
242
|
+
* **NOTE**: To filter on transaction lines, you must specify the
|
|
243
|
+
* `transactionDetailLevel` parameter as `all` or `transaction_lines_only`.
|
|
244
|
+
*/
|
|
245
|
+
accountIds?: Array<string>;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Query param: Filter for transactions of these classes. A class is a way
|
|
249
|
+
* end-users can categorize transactions in QuickBooks.
|
|
250
|
+
*
|
|
251
|
+
* **NOTE**: To filter on transaction lines, you must specify the
|
|
252
|
+
* `transactionDetailLevel` parameter as `all` or `transaction_lines_only`.
|
|
253
|
+
*/
|
|
254
|
+
classIds?: Array<string>;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Query param: Filter for transactions in these currencies.
|
|
258
|
+
*/
|
|
259
|
+
currencyIds?: Array<string>;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Query param: Specify whether to return all matching transaction and
|
|
263
|
+
* transaction-line objects (`all`), only transaction objects
|
|
264
|
+
* (`transactions_without_lines`, the default), or only transaction-line objects
|
|
265
|
+
* (`transaction_lines_only`.
|
|
266
|
+
*/
|
|
267
|
+
detailLevel?: 'all' | 'transaction_lines_only' | 'transactions_without_lines';
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Query param: Filter for transactions associated with these entities (customers,
|
|
271
|
+
* vendors, employees, etc.).
|
|
272
|
+
*
|
|
273
|
+
* **NOTE**: To filter on transaction lines, you must specify the
|
|
274
|
+
* `transactionDetailLevel` parameter as `all` or `transaction_lines_only`.
|
|
275
|
+
*/
|
|
276
|
+
entityIds?: Array<string>;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Query param: Filter for specific transactions by their QuickBooks-assigned
|
|
280
|
+
* unique identifier(s).
|
|
281
|
+
*
|
|
282
|
+
* **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
|
|
283
|
+
* query parameters for this request.
|
|
284
|
+
*
|
|
285
|
+
* **NOTE**: If any of the values you specify in this parameter are not found, the
|
|
286
|
+
* request will return an error.
|
|
287
|
+
*
|
|
288
|
+
* **NOTE**: You cannot supply the ID of a time tracking activity to this request.
|
|
289
|
+
* If you do, you get an error stating that no such record could be found, even
|
|
290
|
+
* though the transaction is in QuickBooks. This limitation is enforced by
|
|
291
|
+
* QuickBooks.
|
|
292
|
+
*/
|
|
293
|
+
ids?: Array<string>;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Query param: Filter for transactions associated with these items.
|
|
297
|
+
*
|
|
298
|
+
* **NOTE**: To filter on transaction lines, you must specify the
|
|
299
|
+
* `transactionDetailLevel` parameter as `all` or `transaction_lines_only`.
|
|
300
|
+
*/
|
|
301
|
+
itemIds?: Array<string>;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Query param: Filter for transactions that are open, closed, or either. Open
|
|
305
|
+
* transactions have a remaining balance, such as credits not fully applied or
|
|
306
|
+
* invoices not fully paid.
|
|
307
|
+
*/
|
|
308
|
+
paymentStatus?: 'closed' | 'either' | 'open';
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Query param: Filter for transactions that are posting, non-posting, or either.
|
|
312
|
+
* Posting status refers to whether QuickBooks records the transaction in an
|
|
313
|
+
* account register.
|
|
314
|
+
*/
|
|
315
|
+
postingStatus?: 'either' | 'non_posting' | 'posting';
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Query param: Filter for transactions whose `refNumber` contains this substring.
|
|
319
|
+
* NOTE: If you use this parameter, you cannot also use `refNumberStartsWith` or
|
|
320
|
+
* `refNumberEndsWith`.
|
|
321
|
+
*/
|
|
322
|
+
refNumberContains?: string;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Query param: Filter for transactions whose `refNumber` ends with this substring.
|
|
326
|
+
* NOTE: If you use this parameter, you cannot also use `refNumberContains` or
|
|
327
|
+
* `refNumberStartsWith`.
|
|
328
|
+
*/
|
|
329
|
+
refNumberEndsWith?: string;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Query param: Filter for transactions whose `refNumber` is greater than or equal
|
|
333
|
+
* to this value. If omitted, the range will begin with the first number of the
|
|
334
|
+
* list. Uses a numerical comparison for values that contain only digits;
|
|
335
|
+
* otherwise, uses a lexicographical comparison.
|
|
336
|
+
*/
|
|
337
|
+
refNumberFrom?: string;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Query param: Filter for specific transactions by their ref-number(s),
|
|
341
|
+
* case-sensitive. In QuickBooks, ref-numbers are not required to be unique and can
|
|
342
|
+
* be arbitrarily changed by the QuickBooks user.
|
|
343
|
+
*
|
|
344
|
+
* **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
|
|
345
|
+
* query parameters for this request.
|
|
346
|
+
*
|
|
347
|
+
* **NOTE**: If any of the values you specify in this parameter are not found, the
|
|
348
|
+
* request will return an error.
|
|
349
|
+
*/
|
|
350
|
+
refNumbers?: Array<string>;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Query param: Filter for transactions whose `refNumber` starts with this
|
|
354
|
+
* substring. NOTE: If you use this parameter, you cannot also use
|
|
355
|
+
* `refNumberContains` or `refNumberEndsWith`.
|
|
356
|
+
*/
|
|
357
|
+
refNumberStartsWith?: string;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Query param: Filter for transactions whose `refNumber` is less than or equal to
|
|
361
|
+
* this value. If omitted, the range will end with the last number of the list.
|
|
362
|
+
* Uses a numerical comparison for values that contain only digits; otherwise, uses
|
|
363
|
+
* a lexicographical comparison.
|
|
364
|
+
*/
|
|
365
|
+
refNumberTo?: string;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* Query param: Filter for transactions whose `date` field is on or after this
|
|
369
|
+
* date, in ISO 8601 format (YYYY-MM-DD).
|
|
370
|
+
*/
|
|
371
|
+
transactionDateFrom?: string;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Query param: Filter for transactions whose `date` field is on or before this
|
|
375
|
+
* date, in ISO 8601 format (YYYY-MM-DD).
|
|
376
|
+
*/
|
|
377
|
+
transactionDateTo?: string;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Query param: Filter for transactions by their type. You can specify one or more
|
|
381
|
+
* transaction types.
|
|
382
|
+
*
|
|
383
|
+
* **NOTE**: Filtering for time tracking activities is not supported by QuickBooks
|
|
384
|
+
* for this endpoint.
|
|
385
|
+
*/
|
|
386
|
+
transactionType?: Array<
|
|
387
|
+
| 'all'
|
|
388
|
+
| 'ar_refund_credit_card'
|
|
389
|
+
| 'bill'
|
|
390
|
+
| 'bill_payment_check'
|
|
391
|
+
| 'bill_payment_credit_card'
|
|
392
|
+
| 'build_assembly'
|
|
393
|
+
| 'charge'
|
|
394
|
+
| 'check'
|
|
395
|
+
| 'credit_card_charge'
|
|
396
|
+
| 'credit_card_credit'
|
|
397
|
+
| 'credit_memo'
|
|
398
|
+
| 'deposit'
|
|
399
|
+
| 'estimate'
|
|
400
|
+
| 'inventory_adjustment'
|
|
401
|
+
| 'invoice'
|
|
402
|
+
| 'item_receipt'
|
|
403
|
+
| 'journal_entry'
|
|
404
|
+
| 'liability_adjustment'
|
|
405
|
+
| 'paycheck'
|
|
406
|
+
| 'payroll_liability_check'
|
|
407
|
+
| 'purchase_order'
|
|
408
|
+
| 'receive_payment'
|
|
409
|
+
| 'sales_order'
|
|
410
|
+
| 'sales_receipt'
|
|
411
|
+
| 'sales_tax_payment_check'
|
|
412
|
+
| 'transfer'
|
|
413
|
+
| 'vendor_credit'
|
|
414
|
+
| 'ytd_adjustment'
|
|
415
|
+
>;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Query param: Filter for transactions updated on or after this date and time, in
|
|
419
|
+
* ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date (YYYY-MM-DD),
|
|
420
|
+
* the time is assumed to be 00:00:00 of that day.
|
|
421
|
+
*/
|
|
422
|
+
updatedAfter?: string;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Query param: Filter for transactions updated on or before this date and time, in
|
|
426
|
+
* ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date (YYYY-MM-DD),
|
|
427
|
+
* the time is assumed to be 23:59:59 of that day.
|
|
428
|
+
*/
|
|
429
|
+
updatedBefore?: string;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
Transactions.TransactionsCursorPage = TransactionsCursorPage;
|
|
433
|
+
|
|
434
|
+
export declare namespace Transactions {
|
|
435
|
+
export {
|
|
436
|
+
type Transaction as Transaction,
|
|
437
|
+
TransactionsCursorPage as TransactionsCursorPage,
|
|
438
|
+
type TransactionRetrieveParams as TransactionRetrieveParams,
|
|
439
|
+
type TransactionListParams as TransactionListParams,
|
|
440
|
+
};
|
|
441
|
+
}
|
|
@@ -319,14 +319,14 @@ export interface TransferListParams extends CursorPageParams {
|
|
|
319
319
|
ids?: Array<string>;
|
|
320
320
|
|
|
321
321
|
/**
|
|
322
|
-
* Query param: Filter for transfers
|
|
323
|
-
* format (YYYY-MM-DD).
|
|
322
|
+
* Query param: Filter for transfers whose `date` field is on or after this date,
|
|
323
|
+
* in ISO 8601 format (YYYY-MM-DD).
|
|
324
324
|
*/
|
|
325
325
|
transactionDateFrom?: string;
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
|
-
* Query param: Filter for transfers
|
|
329
|
-
* format (YYYY-MM-DD).
|
|
328
|
+
* Query param: Filter for transfers whose `date` field is on or before this date,
|
|
329
|
+
* in ISO 8601 format (YYYY-MM-DD).
|
|
330
330
|
*/
|
|
331
331
|
transactionDateTo?: string;
|
|
332
332
|
|
|
@@ -2686,14 +2686,14 @@ export interface VendorCreditListParams extends CursorPageParams {
|
|
|
2686
2686
|
refNumberTo?: string;
|
|
2687
2687
|
|
|
2688
2688
|
/**
|
|
2689
|
-
* Query param: Filter for vendor credits
|
|
2690
|
-
* 8601 format (YYYY-MM-DD).
|
|
2689
|
+
* Query param: Filter for vendor credits whose `date` field is on or after this
|
|
2690
|
+
* date, in ISO 8601 format (YYYY-MM-DD).
|
|
2691
2691
|
*/
|
|
2692
2692
|
transactionDateFrom?: string;
|
|
2693
2693
|
|
|
2694
2694
|
/**
|
|
2695
|
-
* Query param: Filter for vendor credits
|
|
2696
|
-
* 8601 format (YYYY-MM-DD).
|
|
2695
|
+
* Query param: Filter for vendor credits whose `date` field is on or before this
|
|
2696
|
+
* date, in ISO 8601 format (YYYY-MM-DD).
|
|
2697
2697
|
*/
|
|
2698
2698
|
transactionDateTo?: string;
|
|
2699
2699
|
|
|
@@ -106,7 +106,7 @@ export interface Vendor {
|
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
108
|
* The vendor's billing rate, used to override service item rates in time tracking
|
|
109
|
-
*
|
|
109
|
+
* activities.
|
|
110
110
|
*/
|
|
111
111
|
billingRate: Vendor.BillingRate | null;
|
|
112
112
|
|
|
@@ -524,7 +524,7 @@ export namespace Vendor {
|
|
|
524
524
|
|
|
525
525
|
/**
|
|
526
526
|
* The vendor's billing rate, used to override service item rates in time tracking
|
|
527
|
-
*
|
|
527
|
+
* activities.
|
|
528
528
|
*/
|
|
529
529
|
export interface BillingRate {
|
|
530
530
|
/**
|
|
@@ -889,7 +889,7 @@ export interface VendorCreateParams {
|
|
|
889
889
|
|
|
890
890
|
/**
|
|
891
891
|
* Body param: The vendor's billing rate, used to override service item rates in
|
|
892
|
-
* time tracking
|
|
892
|
+
* time tracking activities.
|
|
893
893
|
*/
|
|
894
894
|
billingRateId?: string;
|
|
895
895
|
|
|
@@ -1407,7 +1407,7 @@ export interface VendorUpdateParams {
|
|
|
1407
1407
|
|
|
1408
1408
|
/**
|
|
1409
1409
|
* Body param: The vendor's billing rate, used to override service item rates in
|
|
1410
|
-
* time tracking
|
|
1410
|
+
* time tracking activities.
|
|
1411
1411
|
*/
|
|
1412
1412
|
billingRateId?: string;
|
|
1413
1413
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '12.0.0-beta.
|
|
1
|
+
export const VERSION = '12.0.0-beta.11'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "12.0.0-beta.
|
|
1
|
+
export declare const VERSION = "12.0.0-beta.11";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,mBAAmB,CAAC"}
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '12.0.0-beta.
|
|
4
|
+
exports.VERSION = '12.0.0-beta.11'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,gBAAgB,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '12.0.0-beta.
|
|
1
|
+
export const VERSION = '12.0.0-beta.11'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,gBAAgB,CAAC,CAAC,2BAA2B"}
|