conductor-node 0.0.9 → 0.0.10

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/dist/Client.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import ClientQBD from "./qb/ClientQBD";
2
2
  export default class Client {
3
- readonly apiKey: string;
4
- readonly verbose: boolean;
3
+ /** QuickBooks Desktop integration. */
5
4
  readonly qbd: ClientQBD;
6
5
  constructor(apiKey: string, verbose?: boolean);
7
6
  }
package/dist/Client.js CHANGED
@@ -5,13 +5,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const ClientQBD_1 = __importDefault(require("./qb/ClientQBD"));
7
7
  class Client {
8
- apiKey;
9
- verbose;
8
+ /** QuickBooks Desktop integration. */
10
9
  qbd;
11
10
  constructor(apiKey, verbose = false) {
12
- this.apiKey = apiKey;
13
- this.verbose = verbose;
14
- this.qbd = new ClientQBD_1.default(this);
11
+ // Do not assign `apiKey` and `verbose` to the root `Client` to not expose
12
+ // the properties to the user (amid the integrations, like `ClientQBD`).
13
+ this.qbd = new ClientQBD_1.default(apiKey, verbose);
15
14
  }
16
15
  }
17
16
  exports.default = Client;
@@ -1,9 +1,15 @@
1
- import type Client from "../Client";
2
1
  import type { AccountAdd, AccountQueryRq, AccountRet } from "../qb/qbXMLTypes/Account";
3
2
  import type { EmployeeAdd, EmployeeMod, EmployeeQueryRq, EmployeeRet } from "../qb/qbXMLTypes/Employee";
3
+ import type { VendorQueryRq, VendorRet } from "../qb/qbXMLTypes/Vendor";
4
4
  export default class ClientQBD {
5
- private readonly client;
6
- constructor(rootClient: Client);
5
+ private readonly apiKey;
6
+ private readonly verbose;
7
+ constructor(apiKey: string, verbose: boolean);
8
+ /**
9
+ * Send any QBXML request to QuickBooks Desktop.
10
+ *
11
+ * Available APIs: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop
12
+ */
7
13
  sendRequest(qbwcUsername: string, requestObj: object): Promise<object>;
8
14
  /**
9
15
  * This message allows you to perform the same activities as a user does in
@@ -42,4 +48,10 @@ export default class ClientQBD {
42
48
  * https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/employeeQuery
43
49
  */
44
50
  employeeQuery(qbwcUsername: string, params: EmployeeQueryRq): Promise<EmployeeRet>;
51
+ /**
52
+ * Queries for the specified vendor or set of vendors.
53
+ *
54
+ * https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/vendorQuery
55
+ */
56
+ vendorQuery(qbwcUsername: string, params: VendorQueryRq): Promise<VendorRet>;
45
57
  }
@@ -1,24 +1,32 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const SERVER_URL = "https://conductor.ngrok.io";
3
4
  class ClientQBD {
4
- client;
5
- constructor(rootClient) {
6
- this.client = rootClient;
5
+ apiKey;
6
+ verbose;
7
+ constructor(apiKey, verbose) {
8
+ this.apiKey = apiKey;
9
+ this.verbose = verbose;
7
10
  }
11
+ /**
12
+ * Send any QBXML request to QuickBooks Desktop.
13
+ *
14
+ * Available APIs: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop
15
+ */
8
16
  async sendRequest(qbwcUsername, requestObj) {
9
- if (this.client.verbose) {
17
+ if (this.verbose) {
10
18
  console.log(`Client sent request for user ${qbwcUsername}:`, JSON.stringify(requestObj, null, 2));
11
19
  }
12
- const response = await fetch("https://conductor.ngrok.io", {
20
+ const response = await fetch(SERVER_URL, {
13
21
  body: JSON.stringify({ qbwcUsername, requestObj }),
14
22
  headers: {
15
23
  "Content-Type": "application/json",
16
- Authorization: `Bearer ${this.client.apiKey}`,
24
+ Authorization: `Bearer ${this.apiKey}`,
17
25
  },
18
26
  method: "POST",
19
27
  });
20
28
  const responseObj = (await response.json());
21
- if (this.client.verbose) {
29
+ if (this.verbose) {
22
30
  console.log(`Client received response for user ${qbwcUsername}:`, JSON.stringify(responseObj, null, 2));
23
31
  }
24
32
  return responseObj;
@@ -105,5 +113,20 @@ class ClientQBD {
105
113
  }
106
114
  return responseBody;
107
115
  }
116
+ /**
117
+ * Queries for the specified vendor or set of vendors.
118
+ *
119
+ * https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/vendorQuery
120
+ */
121
+ async vendorQuery(qbwcUsername, params) {
122
+ const response = (await this.sendRequest(qbwcUsername, {
123
+ VendorQueryRq: params,
124
+ }));
125
+ const responseBody = response.VendorQueryRs.VendorRet;
126
+ if (!responseBody) {
127
+ throw new Error("No response");
128
+ }
129
+ return responseBody;
130
+ }
108
131
  }
109
132
  exports.default = ClientQBD;
@@ -1,4 +1,4 @@
1
- import type { ActiveStatus, DataExtRet, NameFilter, NameRangeFilter } from "../../qb/qbXMLTypes/shared";
1
+ import type { ActiveStatus, CurrencyFilter, CurrencyRef, DataExtRet, NameFilter, NameRangeFilter, SalesTaxCodeRef } from "../../qb/qbXMLTypes/shared";
2
2
  export interface AccountAddRq {
3
3
  AccountAdd: AccountAdd;
4
4
  IncludeRetElement?: string;
@@ -238,22 +238,10 @@ export interface AccountRet {
238
238
  CurrencyRef?: CurrencyRef;
239
239
  DataExtRet?: DataExtRet;
240
240
  }
241
- interface CurrencyFilter {
242
- ListID?: string;
243
- FullName?: string;
244
- }
245
241
  interface ParentRef {
246
242
  ListID?: string;
247
243
  FullName?: string;
248
244
  }
249
- interface SalesTaxCodeRef {
250
- ListID?: string;
251
- FullName?: string;
252
- }
253
- interface CurrencyRef {
254
- ListID?: string;
255
- FullName?: string;
256
- }
257
245
  declare type AccountType = "AccountsPayable" | "AccountsReceivable" | "Bank" | "CostOfGoodsSold" | "CreditCard" | "Equity" | "Expense" | "FixedAsset" | "Income" | "LongTermLiability" | "NonPosting" | "OtherAsset" | "OtherCurrentAsset" | "OtherCurrentLiability" | "OtherExpense" | "OtherIncome";
258
246
  declare type SpecialAccountType = "AccountsPayable" | "AccountsReceivable" | "CondenseItemAdjustmentExpenses" | "CostOfGoodsSold" | "DirectDepositLiabilities" | "Estimates" | "ExchangeGainLoss" | "InventoryAssets" | "ItemReceiptAccount" | "OpeningBalanceEquity" | "PayrollExpenses" | "PayrollLiabilities" | "PettyCash" | "PurchaseOrders" | "ReconciliationDifferences" | "RetainedEarnings" | "SalesOrders" | "SalesTaxPayable" | "UncategorizedExpenses" | "UncategorizedIncome" | "UndepositedFunds";
259
247
  declare type CashFlowClassification = "Financing" | "Investing" | "None" | "NotApplicable" | "Operating";
@@ -1,4 +1,4 @@
1
- import type { ActiveStatus, DataExtRet, NameFilter, NameRangeFilter } from "../../qb/qbXMLTypes/shared";
1
+ import type { ActiveStatus, AdditionalContactRef, AdditionalNotesRet, BillingRateRef, ClassRef, DataExtRet, NameFilter, NameRangeFilter } from "../../qb/qbXMLTypes/shared";
2
2
  export interface EmployeeAddRq {
3
3
  EmployeeAdd: EmployeeAdd;
4
4
  IncludeRetElement?: string;
@@ -295,10 +295,6 @@ interface EmployeeAddress {
295
295
  */
296
296
  PostalCode?: string;
297
297
  }
298
- interface AdditionalContactRef {
299
- ContactName: string;
300
- ContactValue: string;
301
- }
302
298
  interface EmergencyContacts {
303
299
  PrimaryContact?: {
304
300
  ContactName: string;
@@ -326,26 +322,29 @@ declare type MilitaryStatus = "Active" | "Reserve";
326
322
  interface AdditionalNotes {
327
323
  Note: string;
328
324
  }
329
- interface AdditionalNotesRet {
330
- NoteID: number;
331
- Date: Date;
332
- Note: string;
333
- }
334
325
  interface AdditionalNotesMod {
335
326
  NoteID: number;
336
327
  Note: string;
337
328
  }
338
- interface BillingRateRef {
339
- ListID?: string;
340
- FullName?: string;
341
- }
342
329
  interface EmployeePayrollInfo {
343
330
  PayPeriod?: PayPeriod;
344
331
  ClassRef?: ClassRef;
345
332
  ClearEarnings?: boolean;
346
333
  Earnings?: Earnings;
334
+ /**
335
+ * Indicates whether or not paychecks are generated from time-tracking data.
336
+ * If you include a blank `IsUsingTimeDataToCreatePaychecks` element in an
337
+ * `EmployeeMod` message, you’ll receive an error.
338
+ */
347
339
  IsUsingTimeDataToCreatePaychecks?: boolean;
340
+ /**
341
+ * Indicates whether time data is used to create paychecks for this employee.
342
+ */
348
343
  UseTimeDataToCreatePaychecks?: UseTimeDataToCreatePaychecks;
344
+ /**
345
+ * Describes how “sick time” is accrued for this employee, along with how many
346
+ * sick hours the employee has accrued.
347
+ */
349
348
  SickHours?: SickHours;
350
349
  VacationHours?: VacationHours;
351
350
  }
@@ -360,10 +359,6 @@ interface EmployeePayrollInfoMod {
360
359
  VacationHours?: VacationHours;
361
360
  }
362
361
  declare type PayPeriod = "Biweekly" | "Daily" | "Monthly" | "Quarterly" | "Semimonthly" | "Weekly" | "Yearly";
363
- interface ClassRef {
364
- ListID?: string;
365
- FullName?: string;
366
- }
367
362
  interface Earnings {
368
363
  PayrollItemWageRef?: PayrollItemWageRef;
369
364
  Rate?: string;
@@ -375,12 +370,47 @@ interface PayrollItemWageRef {
375
370
  }
376
371
  declare type UseTimeDataToCreatePaychecks = "DoNotUseTimeData" | "NotSet" | "UseTimeData";
377
372
  interface SickHours {
373
+ /**
374
+ * The total number of hours currently available for the employee to use. If
375
+ * this value is empty, it will default to 0.
376
+ */
378
377
  HoursAvailable?: string;
378
+ /**
379
+ * Indicates how an employee accrues time off. If you include a blank
380
+ * `AccrualPeriod` element in an `EmployeeMod` message, you’ll receive an
381
+ * error. The default value is whatever the QuickBooks user has set in the
382
+ * QuickBooks Employee Preferences.
383
+ */
379
384
  AccrualPeriod?: AccrualPeriod;
385
+ /**
386
+ * The number of hours that the employee will accrue per accrual period. The
387
+ * default value is whatever the QuickBooks user has set in the QuickBooks
388
+ * Employee Preferences.
389
+ */
380
390
  HoursAccrued?: string;
391
+ /**
392
+ * The maximum number of hours that the employee can accrue. (QuickBooks
393
+ * itself does not enforce this limit, however. HoursAvailable can be greater
394
+ * than MaximumHours.) The default value is whatever the QuickBooks user has
395
+ * set in the QuickBooks Employee Preferences.
396
+ */
381
397
  MaximumHours?: string;
398
+ /**
399
+ * Indicates whether or not the hours accrued resets to zero at the beginning
400
+ * of the new year. If you include a blank `IsResettingHoursEachNewYear`
401
+ * element in an `EmployeeMod` message, you’ll receive an error.
402
+ */
382
403
  IsResettingHoursEachNewYear?: boolean;
404
+ /**
405
+ * When used in the `SickHours` or `VacationHours` aggregates, refers to the
406
+ * number of sick leave or vacation hours used in the current year.
407
+ */
383
408
  HoursUsed?: string;
409
+ /**
410
+ * When used in the `SickHours` or `VacationHours` aggregates, refers to the
411
+ * date on which sick leave or vacation hours in the current year began to
412
+ * accrue.
413
+ */
384
414
  AccrualStartDate?: Date;
385
415
  }
386
416
  declare type AccrualPeriod = "BeginningOfYear" | "EveryHourOnPaycheck" | "EveryPaycheck";
@@ -0,0 +1,154 @@
1
+ import type { ActiveStatus, AdditionalContactRef, AdditionalNotesRet, BillingRateRef, ClassRef, CurrencyFilter, CurrencyRef, DataExtRet, NameFilter, NameRangeFilter, SalesTaxCodeRef } from "../../qb/qbXMLTypes/shared";
2
+ export interface VendorQueryRq {
3
+ ListID?: string;
4
+ FullName?: string;
5
+ MaxReturned?: number;
6
+ ActiveStatus?: ActiveStatus;
7
+ FromModifiedDate?: Date;
8
+ ToModifiedDate?: Date;
9
+ NameFilter?: NameFilter;
10
+ NameRangeFilter?: NameRangeFilter;
11
+ TotalBalanceFilter?: TotalBalanceFilter;
12
+ CurrencyFilter?: CurrencyFilter;
13
+ ClassFilter?: ClassFilter;
14
+ IncludeRetElement?: string;
15
+ OwnerID?: string;
16
+ }
17
+ export interface VendorQueryRs {
18
+ VendorRet?: VendorRet;
19
+ }
20
+ interface TotalBalanceFilter {
21
+ Operator: Operator;
22
+ Amount: string;
23
+ }
24
+ declare type Operator = "Equal" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual";
25
+ interface ClassFilter {
26
+ ListID?: string;
27
+ FullName?: string;
28
+ ListIDWithChildren?: string;
29
+ FullNameWithChildren?: string;
30
+ }
31
+ export interface VendorRet {
32
+ ListID: string;
33
+ TimeCreated: Date;
34
+ TimeModified: Date;
35
+ EditSequence: string;
36
+ Name: string;
37
+ IsActive?: boolean;
38
+ ClassRef?: ClassRef;
39
+ IsTaxAgency?: boolean;
40
+ CompanyName?: string;
41
+ Salutation?: string;
42
+ FirstName?: string;
43
+ MiddleName?: string;
44
+ LastName?: string;
45
+ JobTitle?: string;
46
+ VendorAddress?: VendorAddress;
47
+ VendorAddressBlock?: VendorAddressBlock;
48
+ ShipAddress?: ShipAddress;
49
+ Phone?: string;
50
+ AltPhone?: string;
51
+ Fax?: string;
52
+ Email?: string;
53
+ Cc?: string;
54
+ Contact?: string;
55
+ AltContact?: string;
56
+ AdditionalContactRef?: AdditionalContactRef;
57
+ ContactsRet?: ContactsRet;
58
+ NameOnCheck?: string;
59
+ AccountNumber?: string;
60
+ Notes?: string;
61
+ AdditionalNotesRet?: AdditionalNotesRet;
62
+ VendorTypeRef?: VendorTypeRef;
63
+ TermsRef?: TermsRef;
64
+ CreditLimit?: string;
65
+ VendorTaxIdent?: string;
66
+ IsVendorEligibleFor1099?: boolean;
67
+ Balance?: string;
68
+ BillingRateRef?: BillingRateRef;
69
+ ExternalGUID?: string;
70
+ SalesTaxCodeRef?: SalesTaxCodeRef;
71
+ SalesTaxCountry?: SalesTaxCountry;
72
+ IsSalesTaxAgency?: boolean;
73
+ SalesTaxReturnRef?: SalesTaxReturnRef;
74
+ TaxRegistrationNumber?: string;
75
+ ResaleNumber?: ReportingPeriod;
76
+ IsTaxTrackedOnPurchases?: boolean;
77
+ TaxOnPurchasesAccountRef?: TaxOnPurchasesAccountRef;
78
+ IsTaxTrackedOnSales?: boolean;
79
+ TaxOnSalesAccountRef?: TaxOnSalesAccountRef;
80
+ IsTaxOnTax?: boolean;
81
+ PrefillAccountRef?: PrefillAccountRef;
82
+ CurrencyRef?: CurrencyRef;
83
+ DataExtRet?: DataExtRet;
84
+ }
85
+ interface VendorAddress {
86
+ Addr1?: string;
87
+ Addr2?: string;
88
+ Addr3?: string;
89
+ Addr4?: string;
90
+ Addr5?: string;
91
+ City?: string;
92
+ State?: string;
93
+ PostalCode?: string;
94
+ Country?: string;
95
+ Note?: string;
96
+ }
97
+ interface VendorAddressBlock {
98
+ Addr1?: string;
99
+ Addr2?: string;
100
+ Addr3?: string;
101
+ Addr4?: string;
102
+ Addr5?: string;
103
+ }
104
+ interface ShipAddress {
105
+ Addr1?: string;
106
+ Addr2?: string;
107
+ Addr3?: string;
108
+ Addr4?: string;
109
+ Addr5?: string;
110
+ City?: string;
111
+ State?: string;
112
+ PostalCode?: string;
113
+ Country?: string;
114
+ Note?: string;
115
+ }
116
+ interface ContactsRet {
117
+ ListID: string;
118
+ TimeCreated: Date;
119
+ TimeModified: Date;
120
+ EditSequence: string;
121
+ Contact?: string;
122
+ Salutation?: string;
123
+ FirstName?: string;
124
+ MiddleName?: string;
125
+ LastName?: string;
126
+ JobTitle?: string;
127
+ AdditionalContactRef?: AdditionalContactRef;
128
+ }
129
+ interface VendorTypeRef {
130
+ ListID?: string;
131
+ FullName?: string;
132
+ }
133
+ interface TermsRef {
134
+ ListID?: string;
135
+ FullName?: string;
136
+ }
137
+ declare type SalesTaxCountry = "Australia" | "Canada" | "UK" | "US";
138
+ interface SalesTaxReturnRef {
139
+ ListID?: string;
140
+ FullNam?: string;
141
+ }
142
+ declare type ReportingPeriod = "Monthly" | "Quarterly";
143
+ interface TaxOnPurchasesAccountRef {
144
+ ListID?: string;
145
+ FullName?: string;
146
+ }
147
+ interface TaxOnSalesAccountRef {
148
+ ListID?: string;
149
+ }
150
+ interface PrefillAccountRef {
151
+ ListID?: string;
152
+ FullName?: string;
153
+ }
154
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -32,4 +32,33 @@ export interface DataExtRet {
32
32
  DataExtValue: string;
33
33
  }
34
34
  declare type DataExtType = "AMTTYPE" | "Date" | "number" | "PERCENTTYPE" | "PRICETYPE" | "QUANTYPE" | "STR255TYPE" | "STR1024TYPE";
35
+ export interface CurrencyFilter {
36
+ ListID?: string;
37
+ FullName?: string;
38
+ }
39
+ export interface ClassRef {
40
+ ListID?: string;
41
+ FullName?: string;
42
+ }
43
+ export interface AdditionalContactRef {
44
+ ContactName: string;
45
+ ContactValue: string;
46
+ }
47
+ export interface AdditionalNotesRet {
48
+ NoteID: number;
49
+ Date: Date;
50
+ Note: string;
51
+ }
52
+ export interface BillingRateRef {
53
+ ListID?: string;
54
+ FullName?: string;
55
+ }
56
+ export interface SalesTaxCodeRef {
57
+ ListID?: string;
58
+ FullName?: string;
59
+ }
60
+ export interface CurrencyRef {
61
+ ListID?: string;
62
+ FullName?: string;
63
+ }
35
64
  export {};
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","../src/qb/qbxmltypes/shared.ts","../src/qb/qbxmltypes/account.ts","../src/qb/qbxmltypes/employee.ts","../src/qb/clientqbd.ts","../src/client.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/keyv/src/index.d.ts","../../../node_modules/@types/http-cache-semantics/index.d.ts","../../../node_modules/@types/cacheable-request/node_modules/responselike/index.d.ts","../../../node_modules/@types/cacheable-request/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/keyv/index.d.ts","../../../node_modules/@types/responselike/index.d.ts","../../../node_modules/@types/uuid/index.d.ts","../../../node_modules/@types/yauzl/index.d.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","impliedFormat":1},{"version":"7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","impliedFormat":1},{"version":"8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","impliedFormat":1},{"version":"5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","impliedFormat":1},{"version":"e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","impliedFormat":1},{"version":"1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","impliedFormat":1},{"version":"746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","impliedFormat":1},{"version":"3eb679a56cab01203a1ba7edeade937f6a2a4c718513b2cd930b579807fa9359","impliedFormat":1},{"version":"aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c","impliedFormat":1},{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"1272277fe7daa738e555eb6cc45ded42cc2d0f76c07294142283145d49e96186","affectsGlobalScope":true,"impliedFormat":1},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true,"impliedFormat":1},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true,"impliedFormat":1},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true,"impliedFormat":1},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true,"impliedFormat":1},{"version":"ff667ee99e5a28c3dc5063a3cfd4d3436699e3fb035d4451037da7f567da542a","affectsGlobalScope":true,"impliedFormat":1},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true,"impliedFormat":1},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true,"impliedFormat":1},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true,"impliedFormat":1},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true,"impliedFormat":1},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true,"impliedFormat":1},{"version":"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141","impliedFormat":1},{"version":"236e77903027b56d8699e98f25467f65b5b840c5a1c37bc818a37851745094b1","signature":"2d1ebd99b9f6a5af74665c935eb5a0589f521c851eeae93cca642bf55eca8228","impliedFormat":1},{"version":"abb1df18a6d1fa1360ace56544f0dd27ecc232d6480f6645ee0f01824d617e91","signature":"7522b89bd6ffe58d234ab116433e1d4be50cc0c7a4a59a4bc5ed3639adb1ba3f","impliedFormat":1},{"version":"3e1819dbc108f7c5dc22bb5bea3a0e2e05b653ee1bb2a8b80ecd4cd8163867c5","signature":"8325dea0d51c22cabac14f12c477692af380f48ac76656eb6943c970243fb873","impliedFormat":1},{"version":"45b065ff7c9b917572fd9cd1bcfb4555e78bb7e072447345bbcde9f0aa93b70d","signature":"7d0686bab4d217f24488da146c1cb0ceccfaa6ae1cd4c763a1e4e3b684cfdcd0","impliedFormat":1},{"version":"4bf98d3d45779ffbb44c8c5f4c1fa2b58693a22cf4067edc325dfac21570ec9c","signature":"69c4712d4042bc813fe21e957376bdd0a504ba3fdfc816834cb22c4bf64427c4","impliedFormat":1},{"version":"9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true,"impliedFormat":1},{"version":"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9","impliedFormat":1},{"version":"002d6d5f044365b3fbfba0ba9be3bb57cac09b81547c8df4b0795755d2081d90","affectsGlobalScope":true,"impliedFormat":1},{"version":"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"c4cfc9a6e2ebb8bc8c0e2392dfc4056993ced3b35069ebf132ac18ca7a562881","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","impliedFormat":1},{"version":"f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"bae4ea23beb8397755b935cb84d3cdc6cdb0b1b4a329b90de9fc6c8774d71994","affectsGlobalScope":true,"impliedFormat":1},{"version":"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","impliedFormat":1},{"version":"df36874d9e56aff601e921c4b3971d37cf66d14f6455935ce821e6cad13b1823","impliedFormat":1},{"version":"68915895d4a136df5cf5f90aaa41d8e1e47ec047e7781a150b5d0cf273dbb7a9","impliedFormat":1},{"version":"1abb206a4ecd13b21536b677d7d5f66e0d7316f0d44610197cfcc5776f78884a","impliedFormat":1},{"version":"09416dd69576b03a3f485adf329a02f043e4a481e060ef5b208194e488d31fd9","impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","impliedFormat":1},{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true,"impliedFormat":1},{"version":"76527127c8b749bee5977408861ce3ee56ec19ddcea8704c628f98ca610283e6","impliedFormat":1},{"version":"a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","impliedFormat":1},{"version":"cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4","impliedFormat":1},{"version":"cb4f3f03480e1727eae46400606cecaa97f550186ff8fa909ebc00db4180531b","impliedFormat":1},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true,"impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"0830071706fa0e477fb5e95f0955cc1062b5948b146b7d4e03a126f12ad6085f","impliedFormat":1},{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","impliedFormat":1},{"version":"4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2d526e6f21d8cc66ac11ada32874e95ae88d870c6c9d3d9d4e03b1d1f9ad7b8e","impliedFormat":1},{"version":"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","impliedFormat":1},{"version":"ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"d2ec52f565f0570e90b659811347bd689f8c6039b11eaaccd0f243759d46da6e","impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a12806a1bde5e9f137bb79728d87a4ceaedf04e95efc9967d3288a3c252d9a7b","impliedFormat":1},{"version":"a7d9d2a35530516e191ade6dc804d7de42d45ff6620c0319cfb4469dbdbd8044","impliedFormat":1},{"version":"cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","impliedFormat":1},{"version":"e938de3d9b0516644b3e7069e3e94e325ca00eab9a664f5fa81e84c884d52d5e","impliedFormat":99},{"version":"f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","impliedFormat":1},{"version":"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","impliedFormat":1},{"version":"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","impliedFormat":1},{"version":"fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4","impliedFormat":1},{"version":"3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","impliedFormat":1},{"version":"fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","impliedFormat":1},{"version":"65dfa4bc49ccd1355789abb6ae215b302a5b050fdee9651124fe7e826f33113c","impliedFormat":1}],"options":{"allowSyntheticDefaultImports":true,"allowUnreachableCode":false,"allowUnusedLabels":false,"declaration":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipLibCheck":true,"strict":true,"target":99},"fileIdsList":[[78,81,107,108,115,116,117,118],[67,96,108],[108],[78,108,115],[63,108],[66,108],[67,72,108],[68,78,79,86,96,107,108],[68,69,78,86,108],[70,108],[71,72,79,87,108],[72,96,104,108],[73,75,78,86,108],[74,108],[75,76,108],[77,78,108],[78,108],[78,79,80,96,107,108],[78,79,80,96,99,108],[108,112],[81,86,96,107,108],[78,79,81,82,86,96,104,107,108],[81,83,96,104,107,108],[63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114],[78,84,108],[85,107,108],[75,78,86,96,108],[87,108],[88,108],[66,89,108],[90,106,108,112],[91,108],[92,108],[78,93,94,108],[93,95,108,110],[78,96,97,98,99,108],[96,98,108],[96,97,108],[99,108],[100,108],[78,102,103,108],[102,103,108],[72,86,96,104,108],[105,108],[86,106,108],[67,81,92,107,108],[72,108],[96,108,109],[108,110],[108,111],[67,72,78,80,89,96,107,108,110,112],[96,108,113],[81,96,108,115],[78,96,108,115],[61,108],[59,60,62,108],[58,108],[61],[59,60,62],[58]],"referencedMap":[[119,1],[118,2],[117,3],[120,3],[121,3],[122,4],[63,5],[64,5],[66,6],[67,7],[68,8],[69,9],[70,10],[71,11],[72,12],[73,13],[74,14],[75,15],[76,15],[77,16],[78,17],[79,18],[80,19],[65,20],[114,3],[81,21],[82,22],[83,23],[115,24],[84,25],[85,26],[86,27],[87,28],[88,29],[89,30],[90,31],[91,32],[92,33],[93,34],[94,34],[95,35],[96,36],[98,37],[97,38],[99,39],[100,40],[101,3],[102,41],[103,42],[104,43],[105,44],[106,45],[107,46],[108,47],[109,48],[110,49],[111,50],[112,51],[113,52],[123,53],[124,3],[125,54],[116,17],[11,3],[12,3],[16,3],[15,3],[2,3],[17,3],[18,3],[19,3],[20,3],[21,3],[22,3],[23,3],[24,3],[3,3],[4,3],[28,3],[25,3],[26,3],[27,3],[29,3],[30,3],[31,3],[5,3],[32,3],[33,3],[34,3],[35,3],[6,3],[36,3],[37,3],[38,3],[39,3],[7,3],[40,3],[45,3],[46,3],[41,3],[42,3],[43,3],[44,3],[8,3],[50,3],[47,3],[48,3],[49,3],[51,3],[9,3],[52,3],[53,3],[54,3],[55,3],[1,3],[10,3],[57,3],[56,3],[14,3],[13,3],[62,55],[61,56],[59,57],[60,57],[58,3]],"exportedModulesMap":[[119,1],[118,2],[117,3],[120,3],[121,3],[122,4],[63,5],[64,5],[66,6],[67,7],[68,8],[69,9],[70,10],[71,11],[72,12],[73,13],[74,14],[75,15],[76,15],[77,16],[78,17],[79,18],[80,19],[65,20],[114,3],[81,21],[82,22],[83,23],[115,24],[84,25],[85,26],[86,27],[87,28],[88,29],[89,30],[90,31],[91,32],[92,33],[93,34],[94,34],[95,35],[96,36],[98,37],[97,38],[99,39],[100,40],[101,3],[102,41],[103,42],[104,43],[105,44],[106,45],[107,46],[108,47],[109,48],[110,49],[111,50],[112,51],[113,52],[123,53],[124,3],[125,54],[116,17],[11,3],[12,3],[16,3],[15,3],[2,3],[17,3],[18,3],[19,3],[20,3],[21,3],[22,3],[23,3],[24,3],[3,3],[4,3],[28,3],[25,3],[26,3],[27,3],[29,3],[30,3],[31,3],[5,3],[32,3],[33,3],[34,3],[35,3],[6,3],[36,3],[37,3],[38,3],[39,3],[7,3],[40,3],[45,3],[46,3],[41,3],[42,3],[43,3],[44,3],[8,3],[50,3],[47,3],[48,3],[49,3],[51,3],[9,3],[52,3],[53,3],[54,3],[55,3],[1,3],[10,3],[57,3],[56,3],[14,3],[13,3],[62,58],[61,59],[59,60],[60,60]],"semanticDiagnosticsPerFile":[119,118,117,120,121,122,63,64,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,65,114,81,82,83,115,84,85,86,87,88,89,90,91,92,93,94,95,96,98,97,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,123,124,125,116,11,12,16,15,2,17,18,19,20,21,22,23,24,3,4,28,25,26,27,29,30,31,5,32,33,34,35,6,36,37,38,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,55,1,10,57,56,14,13,62,61,59,60,58]},"version":"4.7.4"}
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","../src/qb/qbxmltypes/shared.ts","../src/qb/qbxmltypes/account.ts","../src/qb/qbxmltypes/employee.ts","../src/qb/qbxmltypes/vendor.ts","../src/qb/clientqbd.ts","../src/client.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/keyv/src/index.d.ts","../../../node_modules/@types/http-cache-semantics/index.d.ts","../../../node_modules/@types/cacheable-request/node_modules/responselike/index.d.ts","../../../node_modules/@types/cacheable-request/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/keyv/index.d.ts","../../../node_modules/@types/responselike/index.d.ts","../../../node_modules/@types/uuid/index.d.ts","../../../node_modules/@types/yauzl/index.d.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","impliedFormat":1},{"version":"7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","impliedFormat":1},{"version":"8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","impliedFormat":1},{"version":"5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","impliedFormat":1},{"version":"e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","impliedFormat":1},{"version":"1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","impliedFormat":1},{"version":"746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","impliedFormat":1},{"version":"3eb679a56cab01203a1ba7edeade937f6a2a4c718513b2cd930b579807fa9359","impliedFormat":1},{"version":"aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c","impliedFormat":1},{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"1272277fe7daa738e555eb6cc45ded42cc2d0f76c07294142283145d49e96186","affectsGlobalScope":true,"impliedFormat":1},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true,"impliedFormat":1},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true,"impliedFormat":1},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true,"impliedFormat":1},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true,"impliedFormat":1},{"version":"ff667ee99e5a28c3dc5063a3cfd4d3436699e3fb035d4451037da7f567da542a","affectsGlobalScope":true,"impliedFormat":1},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true,"impliedFormat":1},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true,"impliedFormat":1},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true,"impliedFormat":1},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true,"impliedFormat":1},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true,"impliedFormat":1},{"version":"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141","impliedFormat":1},{"version":"f427d705e0f6173f742027af5901a469d0ecb98cf061d6f420c551ff8d5520ae","signature":"6198d596d8e7e8ae9c9d473ad49157eb26de0f2469e8ff552fedf266db5e0d6c","impliedFormat":1},{"version":"dbd27b6c72c92821c4911f366b4169e0b2388ebb005d25f9be28153109911c68","signature":"1501e85cf1fafd75500c819ff4bf240387d213d07f6c1bfb4753a148cacb21bc","impliedFormat":1},{"version":"cf9f4f6f542687409b1a38e1734782cee77808368f39603a20884a73a6de4870","signature":"681a5b334343123283fe2bb063e339671871ddf397092cdc97c46e730db68589","impliedFormat":1},{"version":"8143105fb6271849136a2b2ea679e174757694ece923c8f52046740c418e2db6","signature":"7d38a993fb00e148e9ddb688fe0e63693478e55482a21a6884ac8927c4595902","impliedFormat":1},{"version":"b018033483e22d0e4945f71f9cad55a4168ffb014c1d0812938de0c3024ad186","signature":"2dda3fb8c70d0279c422746cd87b2adccc449ecc9b4058ffff6a7b087f42af3e","impliedFormat":1},{"version":"b1f79c5d223b21b7d7e5a0df475de466c70a0406f316d5bef70d437133ea5f6f","signature":"20d486da322ba3020d23dd399623f7430ff12abf66953a002fbd668f9ccb2550","impliedFormat":1},{"version":"9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true,"impliedFormat":1},{"version":"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9","impliedFormat":1},{"version":"002d6d5f044365b3fbfba0ba9be3bb57cac09b81547c8df4b0795755d2081d90","affectsGlobalScope":true,"impliedFormat":1},{"version":"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"c4cfc9a6e2ebb8bc8c0e2392dfc4056993ced3b35069ebf132ac18ca7a562881","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","impliedFormat":1},{"version":"f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"bae4ea23beb8397755b935cb84d3cdc6cdb0b1b4a329b90de9fc6c8774d71994","affectsGlobalScope":true,"impliedFormat":1},{"version":"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","impliedFormat":1},{"version":"df36874d9e56aff601e921c4b3971d37cf66d14f6455935ce821e6cad13b1823","impliedFormat":1},{"version":"68915895d4a136df5cf5f90aaa41d8e1e47ec047e7781a150b5d0cf273dbb7a9","impliedFormat":1},{"version":"1abb206a4ecd13b21536b677d7d5f66e0d7316f0d44610197cfcc5776f78884a","impliedFormat":1},{"version":"09416dd69576b03a3f485adf329a02f043e4a481e060ef5b208194e488d31fd9","impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","impliedFormat":1},{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true,"impliedFormat":1},{"version":"76527127c8b749bee5977408861ce3ee56ec19ddcea8704c628f98ca610283e6","impliedFormat":1},{"version":"a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","impliedFormat":1},{"version":"cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4","impliedFormat":1},{"version":"cb4f3f03480e1727eae46400606cecaa97f550186ff8fa909ebc00db4180531b","impliedFormat":1},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true,"impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"0830071706fa0e477fb5e95f0955cc1062b5948b146b7d4e03a126f12ad6085f","impliedFormat":1},{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","impliedFormat":1},{"version":"4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2d526e6f21d8cc66ac11ada32874e95ae88d870c6c9d3d9d4e03b1d1f9ad7b8e","impliedFormat":1},{"version":"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","impliedFormat":1},{"version":"ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"d2ec52f565f0570e90b659811347bd689f8c6039b11eaaccd0f243759d46da6e","impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a12806a1bde5e9f137bb79728d87a4ceaedf04e95efc9967d3288a3c252d9a7b","impliedFormat":1},{"version":"a7d9d2a35530516e191ade6dc804d7de42d45ff6620c0319cfb4469dbdbd8044","impliedFormat":1},{"version":"cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","impliedFormat":1},{"version":"e938de3d9b0516644b3e7069e3e94e325ca00eab9a664f5fa81e84c884d52d5e","impliedFormat":99},{"version":"f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","impliedFormat":1},{"version":"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","impliedFormat":1},{"version":"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","impliedFormat":1},{"version":"fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4","impliedFormat":1},{"version":"3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","impliedFormat":1},{"version":"fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","impliedFormat":1},{"version":"65dfa4bc49ccd1355789abb6ae215b302a5b050fdee9651124fe7e826f33113c","impliedFormat":1}],"options":{"allowSyntheticDefaultImports":true,"allowUnreachableCode":false,"allowUnusedLabels":false,"declaration":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipLibCheck":true,"strict":true,"target":99},"fileIdsList":[[79,82,108,109,116,117,118,119],[68,97,109],[109],[79,109,116],[64,109],[67,109],[68,73,109],[69,79,80,87,97,108,109],[69,70,79,87,109],[71,109],[72,73,80,88,109],[73,97,105,109],[74,76,79,87,109],[75,109],[76,77,109],[78,79,109],[79,109],[79,80,81,97,108,109],[79,80,81,97,100,109],[109,113],[82,87,97,108,109],[79,80,82,83,87,97,105,108,109],[82,84,97,105,108,109],[64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],[79,85,109],[86,108,109],[76,79,87,97,109],[88,109],[89,109],[67,90,109],[91,107,109,113],[92,109],[93,109],[79,94,95,109],[94,96,109,111],[79,97,98,99,100,109],[97,99,109],[97,98,109],[100,109],[101,109],[79,103,104,109],[103,104,109],[73,87,97,105,109],[106,109],[87,107,109],[68,82,93,108,109],[73,109],[97,109,110],[109,111],[109,112],[68,73,79,81,90,97,108,109,111,113],[97,109,114],[82,97,109,116],[79,97,109,116],[62,109],[59,60,61,109],[58,109],[62],[59,60,61],[58]],"referencedMap":[[120,1],[119,2],[118,3],[121,3],[122,3],[123,4],[64,5],[65,5],[67,6],[68,7],[69,8],[70,9],[71,10],[72,11],[73,12],[74,13],[75,14],[76,15],[77,15],[78,16],[79,17],[80,18],[81,19],[66,20],[115,3],[82,21],[83,22],[84,23],[116,24],[85,25],[86,26],[87,27],[88,28],[89,29],[90,30],[91,31],[92,32],[93,33],[94,34],[95,34],[96,35],[97,36],[99,37],[98,38],[100,39],[101,40],[102,3],[103,41],[104,42],[105,43],[106,44],[107,45],[108,46],[109,47],[110,48],[111,49],[112,50],[113,51],[114,52],[124,53],[125,3],[126,54],[117,17],[11,3],[12,3],[16,3],[15,3],[2,3],[17,3],[18,3],[19,3],[20,3],[21,3],[22,3],[23,3],[24,3],[3,3],[4,3],[28,3],[25,3],[26,3],[27,3],[29,3],[30,3],[31,3],[5,3],[32,3],[33,3],[34,3],[35,3],[6,3],[36,3],[37,3],[38,3],[39,3],[7,3],[40,3],[45,3],[46,3],[41,3],[42,3],[43,3],[44,3],[8,3],[50,3],[47,3],[48,3],[49,3],[51,3],[9,3],[52,3],[53,3],[54,3],[55,3],[1,3],[10,3],[57,3],[56,3],[14,3],[13,3],[63,55],[62,56],[59,57],[60,57],[58,3],[61,57]],"exportedModulesMap":[[120,1],[119,2],[118,3],[121,3],[122,3],[123,4],[64,5],[65,5],[67,6],[68,7],[69,8],[70,9],[71,10],[72,11],[73,12],[74,13],[75,14],[76,15],[77,15],[78,16],[79,17],[80,18],[81,19],[66,20],[115,3],[82,21],[83,22],[84,23],[116,24],[85,25],[86,26],[87,27],[88,28],[89,29],[90,30],[91,31],[92,32],[93,33],[94,34],[95,34],[96,35],[97,36],[99,37],[98,38],[100,39],[101,40],[102,3],[103,41],[104,42],[105,43],[106,44],[107,45],[108,46],[109,47],[110,48],[111,49],[112,50],[113,51],[114,52],[124,53],[125,3],[126,54],[117,17],[11,3],[12,3],[16,3],[15,3],[2,3],[17,3],[18,3],[19,3],[20,3],[21,3],[22,3],[23,3],[24,3],[3,3],[4,3],[28,3],[25,3],[26,3],[27,3],[29,3],[30,3],[31,3],[5,3],[32,3],[33,3],[34,3],[35,3],[6,3],[36,3],[37,3],[38,3],[39,3],[7,3],[40,3],[45,3],[46,3],[41,3],[42,3],[43,3],[44,3],[8,3],[50,3],[47,3],[48,3],[49,3],[51,3],[9,3],[52,3],[53,3],[54,3],[55,3],[1,3],[10,3],[57,3],[56,3],[14,3],[13,3],[63,58],[62,59],[59,60],[60,60],[61,60]],"semanticDiagnosticsPerFile":[120,119,118,121,122,123,64,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,66,115,82,83,84,116,85,86,87,88,89,90,91,92,93,94,95,96,97,99,98,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,124,125,126,117,11,12,16,15,2,17,18,19,20,21,22,23,24,3,4,28,25,26,27,29,30,31,5,32,33,34,35,6,36,37,38,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,55,1,10,57,56,14,13,63,62,59,60,58,61]},"version":"4.7.4"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Conductor API wrapper",
5
5
  "author": "Danny Nemer <hi@DannyNemer.com>",
6
6
  "license": "MIT",
package/src/Client.ts CHANGED
@@ -1,15 +1,12 @@
1
1
  import ClientQBD from "@conductor/client/qb/ClientQBD";
2
2
 
3
3
  export default class Client {
4
- public readonly apiKey: string;
5
-
6
- public readonly verbose: boolean;
7
-
4
+ /** QuickBooks Desktop integration. */
8
5
  public readonly qbd: ClientQBD;
9
6
 
10
- public constructor(apiKey: string, verbose = false) {
11
- this.apiKey = apiKey;
12
- this.verbose = verbose;
13
- this.qbd = new ClientQBD(this);
7
+ public constructor(apiKey: string, verbose: boolean = false) {
8
+ // Do not assign `apiKey` and `verbose` to the root `Client` to not expose
9
+ // the properties to the user (amid the integrations, like `ClientQBD`).
10
+ this.qbd = new ClientQBD(apiKey, verbose);
14
11
  }
15
12
  }
@@ -1,4 +1,3 @@
1
- import type Client from "@conductor/client/Client";
2
1
  import type {
3
2
  AccountAdd,
4
3
  AccountAddRs,
@@ -15,36 +14,51 @@ import type {
15
14
  EmployeeQueryRs,
16
15
  EmployeeRet,
17
16
  } from "@conductor/client/qb/qbXMLTypes/Employee";
17
+ import type {
18
+ VendorQueryRq,
19
+ VendorQueryRs,
20
+ VendorRet,
21
+ } from "@conductor/client/qb/qbXMLTypes/Vendor";
22
+
23
+ const SERVER_URL = "https://conductor.ngrok.io";
18
24
 
19
25
  export default class ClientQBD {
20
- private readonly client: Client;
26
+ private readonly apiKey: string;
27
+
28
+ private readonly verbose: boolean;
21
29
 
22
- public constructor(rootClient: Client) {
23
- this.client = rootClient;
30
+ public constructor(apiKey: string, verbose: boolean) {
31
+ this.apiKey = apiKey;
32
+ this.verbose = verbose;
24
33
  }
25
34
 
35
+ /**
36
+ * Send any QBXML request to QuickBooks Desktop.
37
+ *
38
+ * Available APIs: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop
39
+ */
26
40
  public async sendRequest(
27
41
  qbwcUsername: string,
28
42
  requestObj: object
29
43
  ): Promise<object> {
30
- if (this.client.verbose) {
44
+ if (this.verbose) {
31
45
  console.log(
32
46
  `Client sent request for user ${qbwcUsername}:`,
33
47
  JSON.stringify(requestObj, null, 2)
34
48
  );
35
49
  }
36
50
 
37
- const response = await fetch("https://conductor.ngrok.io", {
51
+ const response = await fetch(SERVER_URL, {
38
52
  body: JSON.stringify({ qbwcUsername, requestObj }),
39
53
  headers: {
40
54
  "Content-Type": "application/json",
41
- Authorization: `Bearer ${this.client.apiKey}`,
55
+ Authorization: `Bearer ${this.apiKey}`,
42
56
  },
43
57
  method: "POST",
44
58
  });
45
59
  const responseObj = (await response.json()) as object;
46
60
 
47
- if (this.client.verbose) {
61
+ if (this.verbose) {
48
62
  console.log(
49
63
  `Client received response for user ${qbwcUsername}:`,
50
64
  JSON.stringify(responseObj, null, 2)
@@ -155,4 +169,23 @@ export default class ClientQBD {
155
169
  }
156
170
  return responseBody;
157
171
  }
172
+
173
+ /**
174
+ * Queries for the specified vendor or set of vendors.
175
+ *
176
+ * https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/vendorQuery
177
+ */
178
+ public async vendorQuery(
179
+ qbwcUsername: string,
180
+ params: VendorQueryRq
181
+ ): Promise<VendorRet> {
182
+ const response = (await this.sendRequest(qbwcUsername, {
183
+ VendorQueryRq: params,
184
+ })) as { VendorQueryRs: VendorQueryRs };
185
+ const responseBody = response.VendorQueryRs.VendorRet;
186
+ if (!responseBody) {
187
+ throw new Error("No response");
188
+ }
189
+ return responseBody;
190
+ }
158
191
  }
@@ -1,8 +1,11 @@
1
1
  import type {
2
2
  ActiveStatus,
3
+ CurrencyFilter,
4
+ CurrencyRef,
3
5
  DataExtRet,
4
6
  NameFilter,
5
7
  NameRangeFilter,
8
+ SalesTaxCodeRef,
6
9
  } from "@conductor/client/qb/qbXMLTypes/shared";
7
10
 
8
11
  // https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/accountadd
@@ -256,26 +259,11 @@ export interface AccountRet {
256
259
  DataExtRet?: DataExtRet;
257
260
  }
258
261
 
259
- interface CurrencyFilter {
260
- ListID?: string;
261
- FullName?: string;
262
- }
263
-
264
262
  interface ParentRef {
265
263
  ListID?: string;
266
264
  FullName?: string;
267
265
  }
268
266
 
269
- interface SalesTaxCodeRef {
270
- ListID?: string;
271
- FullName?: string;
272
- }
273
-
274
- interface CurrencyRef {
275
- ListID?: string;
276
- FullName?: string;
277
- }
278
-
279
267
  type AccountType =
280
268
  | "AccountsPayable"
281
269
  | "AccountsReceivable"
@@ -1,5 +1,9 @@
1
1
  import type {
2
2
  ActiveStatus,
3
+ AdditionalContactRef,
4
+ AdditionalNotesRet,
5
+ BillingRateRef,
6
+ ClassRef,
3
7
  DataExtRet,
4
8
  NameFilter,
5
9
  NameRangeFilter,
@@ -313,11 +317,6 @@ interface EmployeeAddress {
313
317
  PostalCode?: string;
314
318
  }
315
319
 
316
- interface AdditionalContactRef {
317
- ContactName: string;
318
- ContactValue: string;
319
- }
320
-
321
320
  interface EmergencyContacts {
322
321
  PrimaryContact?: {
323
322
  ContactName: string;
@@ -377,29 +376,30 @@ interface AdditionalNotes {
377
376
  Note: string;
378
377
  }
379
378
 
380
- interface AdditionalNotesRet {
381
- NoteID: number;
382
- Date: Date;
383
- Note: string;
384
- }
385
-
386
379
  interface AdditionalNotesMod {
387
380
  NoteID: number;
388
381
  Note: string;
389
382
  }
390
383
 
391
- interface BillingRateRef {
392
- ListID?: string;
393
- FullName?: string;
394
- }
395
-
396
384
  interface EmployeePayrollInfo {
397
385
  PayPeriod?: PayPeriod;
398
386
  ClassRef?: ClassRef;
399
387
  ClearEarnings?: boolean;
400
388
  Earnings?: Earnings;
389
+ /**
390
+ * Indicates whether or not paychecks are generated from time-tracking data.
391
+ * If you include a blank `IsUsingTimeDataToCreatePaychecks` element in an
392
+ * `EmployeeMod` message, you’ll receive an error.
393
+ */
401
394
  IsUsingTimeDataToCreatePaychecks?: boolean;
395
+ /**
396
+ * Indicates whether time data is used to create paychecks for this employee.
397
+ */
402
398
  UseTimeDataToCreatePaychecks?: UseTimeDataToCreatePaychecks;
399
+ /**
400
+ * Describes how “sick time” is accrued for this employee, along with how many
401
+ * sick hours the employee has accrued.
402
+ */
403
403
  SickHours?: SickHours;
404
404
  VacationHours?: VacationHours;
405
405
  }
@@ -424,11 +424,6 @@ type PayPeriod =
424
424
  | "Weekly"
425
425
  | "Yearly";
426
426
 
427
- interface ClassRef {
428
- ListID?: string;
429
- FullName?: string;
430
- }
431
-
432
427
  interface Earnings {
433
428
  PayrollItemWageRef?: PayrollItemWageRef;
434
429
  Rate?: string;
@@ -446,12 +441,47 @@ type UseTimeDataToCreatePaychecks =
446
441
  | "UseTimeData";
447
442
 
448
443
  interface SickHours {
444
+ /**
445
+ * The total number of hours currently available for the employee to use. If
446
+ * this value is empty, it will default to 0.
447
+ */
449
448
  HoursAvailable?: string;
449
+ /**
450
+ * Indicates how an employee accrues time off. If you include a blank
451
+ * `AccrualPeriod` element in an `EmployeeMod` message, you’ll receive an
452
+ * error. The default value is whatever the QuickBooks user has set in the
453
+ * QuickBooks Employee Preferences.
454
+ */
450
455
  AccrualPeriod?: AccrualPeriod;
456
+ /**
457
+ * The number of hours that the employee will accrue per accrual period. The
458
+ * default value is whatever the QuickBooks user has set in the QuickBooks
459
+ * Employee Preferences.
460
+ */
451
461
  HoursAccrued?: string;
462
+ /**
463
+ * The maximum number of hours that the employee can accrue. (QuickBooks
464
+ * itself does not enforce this limit, however. HoursAvailable can be greater
465
+ * than MaximumHours.) The default value is whatever the QuickBooks user has
466
+ * set in the QuickBooks Employee Preferences.
467
+ */
452
468
  MaximumHours?: string;
469
+ /**
470
+ * Indicates whether or not the hours accrued resets to zero at the beginning
471
+ * of the new year. If you include a blank `IsResettingHoursEachNewYear`
472
+ * element in an `EmployeeMod` message, you’ll receive an error.
473
+ */
453
474
  IsResettingHoursEachNewYear?: boolean;
475
+ /**
476
+ * When used in the `SickHours` or `VacationHours` aggregates, refers to the
477
+ * number of sick leave or vacation hours used in the current year.
478
+ */
454
479
  HoursUsed?: string;
480
+ /**
481
+ * When used in the `SickHours` or `VacationHours` aggregates, refers to the
482
+ * date on which sick leave or vacation hours in the current year began to
483
+ * accrue.
484
+ */
455
485
  AccrualStartDate?: Date;
456
486
  }
457
487
 
@@ -0,0 +1,190 @@
1
+ import type {
2
+ ActiveStatus,
3
+ AdditionalContactRef,
4
+ AdditionalNotesRet,
5
+ BillingRateRef,
6
+ ClassRef,
7
+ CurrencyFilter,
8
+ CurrencyRef,
9
+ DataExtRet,
10
+ NameFilter,
11
+ NameRangeFilter,
12
+ SalesTaxCodeRef,
13
+ } from "@conductor/client/qb/qbXMLTypes/shared";
14
+
15
+ export interface VendorQueryRq {
16
+ ListID?: string;
17
+ FullName?: string;
18
+ MaxReturned?: number;
19
+ ActiveStatus?: ActiveStatus;
20
+ FromModifiedDate?: Date;
21
+ ToModifiedDate?: Date;
22
+ NameFilter?: NameFilter;
23
+ NameRangeFilter?: NameRangeFilter;
24
+ TotalBalanceFilter?: TotalBalanceFilter;
25
+ CurrencyFilter?: CurrencyFilter;
26
+ ClassFilter?: ClassFilter;
27
+ IncludeRetElement?: string;
28
+ OwnerID?: string;
29
+ }
30
+
31
+ export interface VendorQueryRs {
32
+ VendorRet?: VendorRet;
33
+ }
34
+
35
+ interface TotalBalanceFilter {
36
+ Operator: Operator;
37
+ Amount: string;
38
+ }
39
+
40
+ type Operator =
41
+ | "Equal"
42
+ | "GreaterThan"
43
+ | "GreaterThanEqual"
44
+ | "LessThan"
45
+ | "LessThanEqual";
46
+
47
+ interface ClassFilter {
48
+ ListID?: string;
49
+ FullName?: string;
50
+ ListIDWithChildren?: string;
51
+ FullNameWithChildren?: string;
52
+ }
53
+
54
+ export interface VendorRet {
55
+ ListID: string;
56
+ TimeCreated: Date;
57
+ TimeModified: Date;
58
+ EditSequence: string;
59
+ Name: string;
60
+ IsActive?: boolean;
61
+ ClassRef?: ClassRef;
62
+ IsTaxAgency?: boolean;
63
+ CompanyName?: string;
64
+ Salutation?: string;
65
+ FirstName?: string;
66
+ MiddleName?: string;
67
+ LastName?: string;
68
+ JobTitle?: string;
69
+ VendorAddress?: VendorAddress;
70
+ VendorAddressBlock?: VendorAddressBlock;
71
+ ShipAddress?: ShipAddress;
72
+ Phone?: string;
73
+ AltPhone?: string;
74
+ Fax?: string;
75
+ Email?: string;
76
+ Cc?: string;
77
+ Contact?: string;
78
+ AltContact?: string;
79
+ AdditionalContactRef?: AdditionalContactRef;
80
+ ContactsRet?: ContactsRet;
81
+ NameOnCheck?: string;
82
+ AccountNumber?: string;
83
+ Notes?: string;
84
+ AdditionalNotesRet?: AdditionalNotesRet;
85
+ VendorTypeRef?: VendorTypeRef;
86
+ TermsRef?: TermsRef;
87
+ CreditLimit?: string;
88
+ VendorTaxIdent?: string;
89
+ IsVendorEligibleFor1099?: boolean;
90
+ Balance?: string;
91
+ BillingRateRef?: BillingRateRef;
92
+ ExternalGUID?: string;
93
+ SalesTaxCodeRef?: SalesTaxCodeRef;
94
+ SalesTaxCountry?: SalesTaxCountry;
95
+ IsSalesTaxAgency?: boolean;
96
+ SalesTaxReturnRef?: SalesTaxReturnRef;
97
+ TaxRegistrationNumber?: string;
98
+ ResaleNumber?: ReportingPeriod;
99
+ IsTaxTrackedOnPurchases?: boolean;
100
+ TaxOnPurchasesAccountRef?: TaxOnPurchasesAccountRef;
101
+ IsTaxTrackedOnSales?: boolean;
102
+ TaxOnSalesAccountRef?: TaxOnSalesAccountRef;
103
+ IsTaxOnTax?: boolean;
104
+ PrefillAccountRef?: PrefillAccountRef;
105
+ CurrencyRef?: CurrencyRef;
106
+ DataExtRet?: DataExtRet;
107
+ }
108
+
109
+ interface VendorAddress {
110
+ Addr1?: string;
111
+ Addr2?: string;
112
+ Addr3?: string;
113
+ Addr4?: string;
114
+ Addr5?: string;
115
+ City?: string;
116
+ State?: string;
117
+ PostalCode?: string;
118
+ Country?: string;
119
+ Note?: string;
120
+ }
121
+
122
+ interface VendorAddressBlock {
123
+ Addr1?: string;
124
+ Addr2?: string;
125
+ Addr3?: string;
126
+ Addr4?: string;
127
+ Addr5?: string;
128
+ }
129
+
130
+ interface ShipAddress {
131
+ Addr1?: string;
132
+ Addr2?: string;
133
+ Addr3?: string;
134
+ Addr4?: string;
135
+ Addr5?: string;
136
+ City?: string;
137
+ State?: string;
138
+ PostalCode?: string;
139
+ Country?: string;
140
+ Note?: string;
141
+ }
142
+
143
+ interface ContactsRet {
144
+ ListID: string;
145
+ TimeCreated: Date;
146
+ TimeModified: Date;
147
+ EditSequence: string;
148
+ Contact?: string;
149
+ Salutation?: string;
150
+ FirstName?: string;
151
+ MiddleName?: string;
152
+ LastName?: string;
153
+ JobTitle?: string;
154
+ AdditionalContactRef?: AdditionalContactRef;
155
+ }
156
+
157
+ interface VendorTypeRef {
158
+ ListID?: string;
159
+ FullName?: string;
160
+ }
161
+
162
+ interface TermsRef {
163
+ ListID?: string;
164
+ FullName?: string;
165
+ }
166
+
167
+ // Default is Canada
168
+ type SalesTaxCountry = "Australia" | "Canada" | "UK" | "US";
169
+
170
+ interface SalesTaxReturnRef {
171
+ ListID?: string;
172
+ FullNam?: string;
173
+ }
174
+
175
+ // Default is Quarterly
176
+ type ReportingPeriod = "Monthly" | "Quarterly";
177
+
178
+ interface TaxOnPurchasesAccountRef {
179
+ ListID?: string;
180
+ FullName?: string;
181
+ }
182
+
183
+ interface TaxOnSalesAccountRef {
184
+ ListID?: string;
185
+ }
186
+
187
+ interface PrefillAccountRef {
188
+ ListID?: string;
189
+ FullName?: string;
190
+ }
@@ -46,3 +46,39 @@ type DataExtType =
46
46
  | "QUANTYPE"
47
47
  | "STR255TYPE"
48
48
  | "STR1024TYPE";
49
+
50
+ export interface CurrencyFilter {
51
+ ListID?: string;
52
+ FullName?: string;
53
+ }
54
+
55
+ export interface ClassRef {
56
+ ListID?: string;
57
+ FullName?: string;
58
+ }
59
+
60
+ export interface AdditionalContactRef {
61
+ ContactName: string;
62
+ ContactValue: string;
63
+ }
64
+
65
+ export interface AdditionalNotesRet {
66
+ NoteID: number;
67
+ Date: Date;
68
+ Note: string;
69
+ }
70
+
71
+ export interface BillingRateRef {
72
+ ListID?: string;
73
+ FullName?: string;
74
+ }
75
+
76
+ export interface SalesTaxCodeRef {
77
+ ListID?: string;
78
+ FullName?: string;
79
+ }
80
+
81
+ export interface CurrencyRef {
82
+ ListID?: string;
83
+ FullName?: string;
84
+ }