conductor-node 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1017 @@
1
+ interface ParentRef {
2
+ ListID?: string;
3
+ FullName?: string;
4
+ }
5
+ declare type AccountType = "AccountsPayable" | "AccountsReceivable" | "Bank" | "CostOfGoodsSold" | "CreditCard" | "Equity" | "Expense" | "FixedAsset" | "Income" | "LongTermLiability" | "NonPosting" | "OtherAsset" | "OtherCurrentAsset" | "OtherCurrentLiability" | "OtherExpense" | "OtherIncome";
6
+ interface SalesTaxCodeRef {
7
+ ListID?: string;
8
+ FullName?: string;
9
+ }
10
+ interface CurrencyRef {
11
+ ListID?: string;
12
+ FullName?: string;
13
+ }
14
+ interface AccountAdd {
15
+ Name: string;
16
+ IsActive?: boolean;
17
+ ParentRef?: ParentRef;
18
+ AccountType: AccountType;
19
+ AccountNumber?: string;
20
+ BankNumber?: string;
21
+ Desc?: string;
22
+ OpenBalance?: string;
23
+ OpenBalanceDate?: string;
24
+ SalesTaxCodeRef?: SalesTaxCodeRef;
25
+ TaxLineID?: number;
26
+ CurrencyRef?: CurrencyRef;
27
+ }
28
+ export interface AccountAddRq {
29
+ AccountAdd: AccountAdd;
30
+ IncludeRetElement?: string[] | string;
31
+ }
32
+ declare type SpecialAccountType = "AccountsPayable" | "AccountsReceivable" | "CondenseItemAdjustmentExpenses" | "CostOfGoodsSold" | "DirectDepositLiabilities" | "Estimates" | "ExchangeGainLoss" | "InventoryAssets" | "ItemReceiptAccount" | "OpeningBalanceEquity" | "PayrollExpenses" | "PayrollLiabilities" | "PettyCash" | "PurchaseOrders" | "ReconciliationDifferences" | "RetainedEarnings" | "SalesOrders" | "SalesTaxPayable" | "UncategorizedExpenses" | "UncategorizedIncome" | "UndepositedFunds";
33
+ interface TaxLineInfoRet {
34
+ TaxLineID: number;
35
+ TaxLineName?: string;
36
+ }
37
+ declare type CashFlowClassification = "Financing" | "Investing" | "None" | "NotApplicable" | "Operating";
38
+ declare type DataExtType = "AMTTYPE" | "DATETIMETYPE" | "INTTYPE" | "PERCENTTYPE" | "PRICETYPE" | "QUANTYPE" | "STR1024TYPE" | "STR255TYPE";
39
+ interface DataExtRet {
40
+ OwnerID?: string;
41
+ DataExtName: string;
42
+ DataExtType: DataExtType;
43
+ DataExtValue: string;
44
+ }
45
+ interface AccountRet {
46
+ ListID: string;
47
+ TimeCreated: string;
48
+ TimeModified: string;
49
+ EditSequence: string;
50
+ Name: string;
51
+ FullName: string;
52
+ IsActive?: boolean;
53
+ ParentRef?: ParentRef;
54
+ Sublevel: number;
55
+ AccountType: AccountType;
56
+ SpecialAccountType?: SpecialAccountType;
57
+ IsTaxAccount?: boolean;
58
+ AccountNumber?: string;
59
+ BankNumber?: string;
60
+ Desc?: string;
61
+ Balance?: string;
62
+ TotalBalance?: string;
63
+ SalesTaxCodeRef?: SalesTaxCodeRef;
64
+ TaxLineInfoRet?: TaxLineInfoRet;
65
+ CashFlowClassification?: CashFlowClassification;
66
+ CurrencyRef?: CurrencyRef;
67
+ DataExtRet?: DataExtRet | DataExtRet[];
68
+ }
69
+ interface ErrorRecovery {
70
+ ListID?: string;
71
+ OwnerID?: string;
72
+ TxnID?: string;
73
+ TxnNumber?: number;
74
+ EditSequence?: string;
75
+ ExternalGUID?: string;
76
+ }
77
+ export interface AccountAddRs {
78
+ AccountRet?: AccountRet;
79
+ ErrorRecovery?: ErrorRecovery;
80
+ }
81
+ interface AccountMod {
82
+ ListID: string;
83
+ EditSequence: string;
84
+ Name?: string;
85
+ IsActive?: boolean;
86
+ ParentRef?: ParentRef;
87
+ AccountType?: AccountType;
88
+ AccountNumber?: string;
89
+ BankNumber?: string;
90
+ Desc?: string;
91
+ OpenBalance?: string;
92
+ OpenBalanceDate?: string;
93
+ SalesTaxCodeRef?: SalesTaxCodeRef;
94
+ TaxLineID?: number;
95
+ CurrencyRef?: CurrencyRef;
96
+ }
97
+ export interface AccountModRq {
98
+ AccountMod: AccountMod;
99
+ IncludeRetElement?: string[] | string;
100
+ }
101
+ export interface AccountModRs {
102
+ AccountRet?: AccountRet;
103
+ ErrorRecovery?: ErrorRecovery;
104
+ }
105
+ /** @default: ActiveOnly */
106
+ declare type ActiveStatus = "ActiveOnly" | "All" | "InactiveOnly";
107
+ declare type MatchCriterion = "Contains" | "EndsWith" | "StartsWith";
108
+ interface NameFilter {
109
+ MatchCriterion: MatchCriterion;
110
+ Name: string;
111
+ }
112
+ interface NameRangeFilter {
113
+ FromName?: string;
114
+ ToName?: string;
115
+ }
116
+ interface CurrencyFilter {
117
+ ListID?: string[] | string;
118
+ FullName?: string[] | string;
119
+ }
120
+ export interface AccountQueryRq {
121
+ ListID?: string[] | string;
122
+ FullName?: string[] | string;
123
+ MaxReturned?: number;
124
+ ActiveStatus?: ActiveStatus;
125
+ FromModifiedDate?: string;
126
+ ToModifiedDate?: string;
127
+ NameFilter?: NameFilter;
128
+ NameRangeFilter?: NameRangeFilter;
129
+ AccountType?: AccountType[] | AccountType;
130
+ CurrencyFilter?: CurrencyFilter;
131
+ IncludeRetElement?: string[] | string;
132
+ OwnerID?: string[] | string;
133
+ }
134
+ export interface AccountQueryRs {
135
+ AccountRet?: AccountRet | AccountRet[];
136
+ }
137
+ interface ClassRef {
138
+ ListID?: string;
139
+ FullName?: string;
140
+ }
141
+ interface BillAddress {
142
+ Addr1?: string;
143
+ Addr2?: string;
144
+ Addr3?: string;
145
+ Addr4?: string;
146
+ Addr5?: string;
147
+ City?: string;
148
+ State?: string;
149
+ PostalCode?: string;
150
+ Country?: string;
151
+ Note?: string;
152
+ }
153
+ interface ShipAddress {
154
+ Addr1?: string;
155
+ Addr2?: string;
156
+ Addr3?: string;
157
+ Addr4?: string;
158
+ Addr5?: string;
159
+ City?: string;
160
+ State?: string;
161
+ PostalCode?: string;
162
+ Country?: string;
163
+ Note?: string;
164
+ }
165
+ interface ShipToAddress {
166
+ Name: string;
167
+ Addr1?: string;
168
+ Addr2?: string;
169
+ Addr3?: string;
170
+ Addr4?: string;
171
+ Addr5?: string;
172
+ City?: string;
173
+ State?: string;
174
+ PostalCode?: string;
175
+ Country?: string;
176
+ Note?: string;
177
+ DefaultShipTo?: boolean;
178
+ }
179
+ interface AdditionalContactRef {
180
+ ContactName: string;
181
+ ContactValue: string;
182
+ }
183
+ interface Contacts {
184
+ Salutation?: string;
185
+ FirstName: string;
186
+ MiddleName?: string;
187
+ LastName?: string;
188
+ JobTitle?: string;
189
+ AdditionalContactRef?: AdditionalContactRef | AdditionalContactRef[];
190
+ }
191
+ interface CustomerTypeRef {
192
+ ListID?: string;
193
+ FullName?: string;
194
+ }
195
+ interface TermsRef {
196
+ ListID?: string;
197
+ FullName?: string;
198
+ }
199
+ interface SalesRepRef {
200
+ ListID?: string;
201
+ FullName?: string;
202
+ }
203
+ interface ItemSalesTaxRef {
204
+ ListID?: string;
205
+ FullName?: string;
206
+ }
207
+ /** @default: Canada */
208
+ declare type SalesTaxCountry = "Australia" | "Canada" | "UK" | "US";
209
+ interface PreferredPaymentMethodRef {
210
+ ListID?: string;
211
+ FullName?: string;
212
+ }
213
+ interface CreditCardInfo {
214
+ CreditCardNumber?: string;
215
+ ExpirationMonth?: number;
216
+ ExpirationYear?: number;
217
+ NameOnCard?: string;
218
+ CreditCardAddress?: string;
219
+ CreditCardPostalCode?: string;
220
+ }
221
+ /** @default: None */
222
+ declare type JobStatus = "Awarded" | "Closed" | "InProgress" | "None" | "NotAwarded" | "Pending";
223
+ interface JobTypeRef {
224
+ ListID?: string;
225
+ FullName?: string;
226
+ }
227
+ interface AdditionalNotes {
228
+ Note: string;
229
+ }
230
+ /** @default: None */
231
+ declare type PreferredDeliveryMethod = "Email" | "Fax" | "None";
232
+ interface PriceLevelRef {
233
+ ListID?: string;
234
+ FullName?: string;
235
+ }
236
+ interface CustomerAdd {
237
+ Name: string;
238
+ IsActive?: boolean;
239
+ ClassRef?: ClassRef;
240
+ ParentRef?: ParentRef;
241
+ CompanyName?: string;
242
+ Salutation?: string;
243
+ FirstName?: string;
244
+ MiddleName?: string;
245
+ LastName?: string;
246
+ JobTitle?: string;
247
+ BillAddress?: BillAddress;
248
+ ShipAddress?: ShipAddress;
249
+ ShipToAddress?: ShipToAddress | ShipToAddress[];
250
+ Phone?: string;
251
+ AltPhone?: string;
252
+ Fax?: string;
253
+ Email?: string;
254
+ Cc?: string;
255
+ Contact?: string;
256
+ AltContact?: string;
257
+ AdditionalContactRef?: AdditionalContactRef | AdditionalContactRef[];
258
+ Contacts?: Contacts | Contacts[];
259
+ CustomerTypeRef?: CustomerTypeRef;
260
+ TermsRef?: TermsRef;
261
+ SalesRepRef?: SalesRepRef;
262
+ OpenBalance?: string;
263
+ OpenBalanceDate?: string;
264
+ SalesTaxCodeRef?: SalesTaxCodeRef;
265
+ ItemSalesTaxRef?: ItemSalesTaxRef;
266
+ SalesTaxCountry?: SalesTaxCountry;
267
+ ResaleNumber?: string;
268
+ AccountNumber?: string;
269
+ CreditLimit?: string;
270
+ PreferredPaymentMethodRef?: PreferredPaymentMethodRef;
271
+ CreditCardInfo?: CreditCardInfo;
272
+ JobStatus?: JobStatus;
273
+ JobStartDate?: string;
274
+ JobProjectedEndDate?: string;
275
+ JobEndDate?: string;
276
+ JobDesc?: string;
277
+ JobTypeRef?: JobTypeRef;
278
+ Notes?: string;
279
+ AdditionalNotes?: AdditionalNotes | AdditionalNotes[];
280
+ PreferredDeliveryMethod?: PreferredDeliveryMethod;
281
+ PriceLevelRef?: PriceLevelRef;
282
+ ExternalGUID?: string;
283
+ TaxRegistrationNumber?: string;
284
+ CurrencyRef?: CurrencyRef;
285
+ }
286
+ export interface CustomerAddRq {
287
+ CustomerAdd: CustomerAdd;
288
+ IncludeRetElement?: string[] | string;
289
+ }
290
+ interface BillAddressBlock {
291
+ Addr1?: string;
292
+ Addr2?: string;
293
+ Addr3?: string;
294
+ Addr4?: string;
295
+ Addr5?: string;
296
+ }
297
+ interface ShipAddressBlock {
298
+ Addr1?: string;
299
+ Addr2?: string;
300
+ Addr3?: string;
301
+ Addr4?: string;
302
+ Addr5?: string;
303
+ }
304
+ interface ContactsRet {
305
+ ListID: string;
306
+ TimeCreated: string;
307
+ TimeModified: string;
308
+ EditSequence: string;
309
+ Contact?: string;
310
+ Salutation?: string;
311
+ FirstName: string;
312
+ MiddleName?: string;
313
+ LastName?: string;
314
+ JobTitle?: string;
315
+ AdditionalContactRef?: AdditionalContactRef | AdditionalContactRef[];
316
+ }
317
+ interface AdditionalNotesRet {
318
+ NoteID: number;
319
+ Date: string;
320
+ Note: string;
321
+ }
322
+ interface CustomerRet {
323
+ ListID: string;
324
+ TimeCreated: string;
325
+ TimeModified: string;
326
+ EditSequence: string;
327
+ Name: string;
328
+ FullName: string;
329
+ IsActive?: boolean;
330
+ ClassRef?: ClassRef;
331
+ ParentRef?: ParentRef;
332
+ Sublevel: number;
333
+ CompanyName?: string;
334
+ Salutation?: string;
335
+ FirstName?: string;
336
+ MiddleName?: string;
337
+ LastName?: string;
338
+ JobTitle?: string;
339
+ BillAddress?: BillAddress;
340
+ BillAddressBlock?: BillAddressBlock;
341
+ ShipAddress?: ShipAddress;
342
+ ShipAddressBlock?: ShipAddressBlock;
343
+ ShipToAddress?: ShipToAddress | ShipToAddress[];
344
+ Phone?: string;
345
+ AltPhone?: string;
346
+ Fax?: string;
347
+ Email?: string;
348
+ Cc?: string;
349
+ Contact?: string;
350
+ AltContact?: string;
351
+ AdditionalContactRef?: AdditionalContactRef | AdditionalContactRef[];
352
+ ContactsRet?: ContactsRet | ContactsRet[];
353
+ CustomerTypeRef?: CustomerTypeRef;
354
+ TermsRef?: TermsRef;
355
+ SalesRepRef?: SalesRepRef;
356
+ Balance?: string;
357
+ TotalBalance?: string;
358
+ SalesTaxCodeRef?: SalesTaxCodeRef;
359
+ ItemSalesTaxRef?: ItemSalesTaxRef;
360
+ SalesTaxCountry?: SalesTaxCountry;
361
+ ResaleNumber?: string;
362
+ AccountNumber?: string;
363
+ CreditLimit?: string;
364
+ PreferredPaymentMethodRef?: PreferredPaymentMethodRef;
365
+ CreditCardInfo?: CreditCardInfo;
366
+ JobStatus?: JobStatus;
367
+ JobStartDate?: string;
368
+ JobProjectedEndDate?: string;
369
+ JobEndDate?: string;
370
+ JobDesc?: string;
371
+ JobTypeRef?: JobTypeRef;
372
+ Notes?: string;
373
+ AdditionalNotesRet?: AdditionalNotesRet | AdditionalNotesRet[];
374
+ PreferredDeliveryMethod?: PreferredDeliveryMethod;
375
+ PriceLevelRef?: PriceLevelRef;
376
+ ExternalGUID?: string;
377
+ TaxRegistrationNumber?: string;
378
+ CurrencyRef?: CurrencyRef;
379
+ DataExtRet?: DataExtRet | DataExtRet[];
380
+ }
381
+ export interface CustomerAddRs {
382
+ CustomerRet?: CustomerRet;
383
+ ErrorRecovery?: ErrorRecovery;
384
+ }
385
+ interface ContactsMod {
386
+ ListID: string;
387
+ EditSequence: string;
388
+ Salutation?: string;
389
+ FirstName: string;
390
+ MiddleName?: string;
391
+ LastName?: string;
392
+ JobTitle?: string;
393
+ AdditionalContactRef?: AdditionalContactRef | AdditionalContactRef[];
394
+ }
395
+ interface AdditionalNotesMod {
396
+ NoteID: number;
397
+ Note: string;
398
+ }
399
+ interface CustomerMod {
400
+ ListID: string;
401
+ EditSequence: string;
402
+ Name?: string;
403
+ IsActive?: boolean;
404
+ ClassRef?: ClassRef;
405
+ ParentRef?: ParentRef;
406
+ CompanyName?: string;
407
+ Salutation?: string;
408
+ FirstName?: string;
409
+ MiddleName?: string;
410
+ LastName?: string;
411
+ JobTitle?: string;
412
+ BillAddress?: BillAddress;
413
+ ShipAddress?: ShipAddress;
414
+ ShipToAddress?: ShipToAddress | ShipToAddress[];
415
+ Phone?: string;
416
+ AltPhone?: string;
417
+ Fax?: string;
418
+ Email?: string;
419
+ Cc?: string;
420
+ Contact?: string;
421
+ AltContact?: string;
422
+ AdditionalContactRef?: AdditionalContactRef | AdditionalContactRef[];
423
+ ContactsMod?: ContactsMod | ContactsMod[];
424
+ CustomerTypeRef?: CustomerTypeRef;
425
+ TermsRef?: TermsRef;
426
+ SalesRepRef?: SalesRepRef;
427
+ SalesTaxCodeRef?: SalesTaxCodeRef;
428
+ ItemSalesTaxRef?: ItemSalesTaxRef;
429
+ SalesTaxCountry?: SalesTaxCountry;
430
+ ResaleNumber?: string;
431
+ AccountNumber?: string;
432
+ CreditLimit?: string;
433
+ PreferredPaymentMethodRef?: PreferredPaymentMethodRef;
434
+ CreditCardInfo?: CreditCardInfo;
435
+ JobStatus?: JobStatus;
436
+ JobStartDate?: string;
437
+ JobProjectedEndDate?: string;
438
+ JobEndDate?: string;
439
+ JobDesc?: string;
440
+ JobTypeRef?: JobTypeRef;
441
+ Notes?: string;
442
+ AdditionalNotesMod?: AdditionalNotesMod | AdditionalNotesMod[];
443
+ PreferredDeliveryMethod?: PreferredDeliveryMethod;
444
+ PriceLevelRef?: PriceLevelRef;
445
+ TaxRegistrationNumber?: string;
446
+ CurrencyRef?: CurrencyRef;
447
+ }
448
+ export interface CustomerModRq {
449
+ CustomerMod: CustomerMod;
450
+ IncludeRetElement?: string[] | string;
451
+ }
452
+ export interface CustomerModRs {
453
+ CustomerRet?: CustomerRet;
454
+ ErrorRecovery?: ErrorRecovery;
455
+ }
456
+ declare type Operator = "Equal" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual";
457
+ interface TotalBalanceFilter {
458
+ Operator: Operator;
459
+ Amount: string;
460
+ }
461
+ interface ClassFilter {
462
+ ListID?: string[] | string;
463
+ FullName?: string[] | string;
464
+ ListIDWithChildren?: string;
465
+ FullNameWithChildren?: string;
466
+ }
467
+ export interface CustomerQueryRq {
468
+ ListID?: string[] | string;
469
+ FullName?: string[] | string;
470
+ MaxReturned?: number;
471
+ ActiveStatus?: ActiveStatus;
472
+ FromModifiedDate?: string;
473
+ ToModifiedDate?: string;
474
+ NameFilter?: NameFilter;
475
+ NameRangeFilter?: NameRangeFilter;
476
+ TotalBalanceFilter?: TotalBalanceFilter;
477
+ CurrencyFilter?: CurrencyFilter;
478
+ ClassFilter?: ClassFilter;
479
+ IncludeRetElement?: string[] | string;
480
+ OwnerID?: string[] | string;
481
+ }
482
+ export interface CustomerQueryRs {
483
+ CustomerRet?: CustomerRet | CustomerRet[];
484
+ }
485
+ interface SupervisorRef {
486
+ ListID?: string;
487
+ FullName?: string;
488
+ }
489
+ interface EmployeeAddress {
490
+ Addr1?: string;
491
+ Addr2?: string;
492
+ City?: string;
493
+ State?: string;
494
+ PostalCode?: string;
495
+ }
496
+ declare type Relation = "Brother" | "Daughter" | "Father" | "Friend" | "Mother" | "Other" | "Partner" | "Sister" | "Son" | "Spouse";
497
+ interface PrimaryContact {
498
+ ContactName: string;
499
+ ContactValue: string;
500
+ Relation?: Relation;
501
+ }
502
+ interface SecondaryContact {
503
+ ContactName: string;
504
+ ContactValue: string;
505
+ Relation?: Relation;
506
+ }
507
+ interface EmergencyContacts {
508
+ PrimaryContact?: PrimaryContact;
509
+ SecondaryContact?: SecondaryContact;
510
+ }
511
+ /** @default: Regular */
512
+ declare type EmployeeType = "Officer" | "Owner" | "Regular" | "Statutory";
513
+ declare type PartOrFullTime = "FullTime" | "PartTime";
514
+ declare type Exempt = "Exempt" | "NonExempt";
515
+ declare type KeyEmployee = "No" | "Yes";
516
+ declare type Gender = "Female" | "Male";
517
+ declare type USCitizen = "No" | "Yes";
518
+ declare type Ethnicity = "AmericianIndian" | "Asian" | "Black" | "Hawaiian" | "Hispanic" | "TwoOrMoreRaces" | "White";
519
+ declare type Disabled = "No" | "Yes";
520
+ declare type OnFile = "No" | "Yes";
521
+ declare type USVeteran = "No" | "Yes";
522
+ declare type MilitaryStatus = "Active" | "Reserve";
523
+ interface BillingRateRef {
524
+ ListID?: string;
525
+ FullName?: string;
526
+ }
527
+ declare type PayPeriod = "Biweekly" | "Daily" | "Monthly" | "Quarterly" | "Semimonthly" | "Weekly" | "Yearly";
528
+ interface PayrollItemWageRef {
529
+ ListID?: string;
530
+ FullName?: string;
531
+ }
532
+ interface Earnings {
533
+ PayrollItemWageRef: PayrollItemWageRef;
534
+ Rate?: string;
535
+ RatePercent?: string;
536
+ }
537
+ declare type UseTimeDataToCreatePaychecks = "DoNotUseTimeData" | "NotSet" | "UseTimeData";
538
+ declare type AccrualPeriod = "BeginningOfYear" | "EveryHourOnPaycheck" | "EveryPaycheck";
539
+ interface SickHours {
540
+ HoursAvailable?: string;
541
+ AccrualPeriod?: AccrualPeriod;
542
+ HoursAccrued?: string;
543
+ MaximumHours?: string;
544
+ IsResettingHoursEachNewYear?: boolean;
545
+ HoursUsed?: string;
546
+ AccrualStartDate?: string;
547
+ }
548
+ interface VacationHours {
549
+ HoursAvailable?: string;
550
+ AccrualPeriod?: AccrualPeriod;
551
+ HoursAccrued?: string;
552
+ MaximumHours?: string;
553
+ IsResettingHoursEachNewYear?: boolean;
554
+ HoursUsed?: string;
555
+ AccrualStartDate?: string;
556
+ }
557
+ interface EmployeePayrollInfo {
558
+ PayPeriod?: PayPeriod;
559
+ ClassRef?: ClassRef;
560
+ ClearEarnings?: boolean;
561
+ Earnings?: Earnings | Earnings[];
562
+ IsUsingTimeDataToCreatePaychecks?: boolean;
563
+ UseTimeDataToCreatePaychecks?: UseTimeDataToCreatePaychecks;
564
+ SickHours?: SickHours;
565
+ VacationHours?: VacationHours;
566
+ }
567
+ interface EmployeeAdd {
568
+ IsActive?: boolean;
569
+ Salutation?: string;
570
+ FirstName?: string;
571
+ MiddleName?: string;
572
+ LastName?: string;
573
+ JobTitle?: string;
574
+ SupervisorRef?: SupervisorRef;
575
+ Department?: string;
576
+ Description?: string;
577
+ TargetBonus?: string;
578
+ EmployeeAddress?: EmployeeAddress;
579
+ PrintAs?: string;
580
+ Phone?: string;
581
+ Mobile?: string;
582
+ Pager?: string;
583
+ PagerPIN?: string;
584
+ AltPhone?: string;
585
+ Fax?: string;
586
+ SSN?: string;
587
+ Email?: string;
588
+ AdditionalContactRef?: AdditionalContactRef | AdditionalContactRef[];
589
+ EmergencyContacts?: EmergencyContacts;
590
+ EmployeeType?: EmployeeType;
591
+ PartOrFullTime?: PartOrFullTime;
592
+ Exempt?: Exempt;
593
+ KeyEmployee?: KeyEmployee;
594
+ Gender?: Gender;
595
+ HiredDate?: string;
596
+ OriginalHireDate?: string;
597
+ AdjustedServiceDate?: string;
598
+ ReleasedDate?: string;
599
+ BirthDate?: string;
600
+ USCitizen?: USCitizen;
601
+ Ethnicity?: Ethnicity;
602
+ Disabled?: Disabled;
603
+ DisabilityDesc?: string;
604
+ OnFile?: OnFile;
605
+ WorkAuthExpireDate?: string;
606
+ USVeteran?: USVeteran;
607
+ MilitaryStatus?: MilitaryStatus;
608
+ AccountNumber?: string;
609
+ Notes?: string;
610
+ AdditionalNotes?: AdditionalNotes | AdditionalNotes[];
611
+ BillingRateRef?: BillingRateRef;
612
+ EmployeePayrollInfo?: EmployeePayrollInfo;
613
+ ExternalGUID?: string;
614
+ }
615
+ export interface EmployeeAddRq {
616
+ EmployeeAdd: EmployeeAdd;
617
+ IncludeRetElement?: string[] | string;
618
+ }
619
+ interface EmployeeRet {
620
+ ListID: string;
621
+ TimeCreated: string;
622
+ TimeModified: string;
623
+ EditSequence: string;
624
+ Name: string;
625
+ IsActive?: boolean;
626
+ Salutation?: string;
627
+ FirstName?: string;
628
+ MiddleName?: string;
629
+ LastName?: string;
630
+ JobTitle?: string;
631
+ SupervisorRef?: SupervisorRef;
632
+ Department?: string;
633
+ Description?: string;
634
+ TargetBonus?: string;
635
+ EmployeeAddress?: EmployeeAddress;
636
+ PrintAs?: string;
637
+ Phone?: string;
638
+ Mobile?: string;
639
+ Pager?: string;
640
+ PagerPIN?: string;
641
+ AltPhone?: string;
642
+ Fax?: string;
643
+ SSN?: string;
644
+ Email?: string;
645
+ AdditionalContactRef?: AdditionalContactRef | AdditionalContactRef[];
646
+ EmergencyContacts?: EmergencyContacts;
647
+ EmployeeType?: EmployeeType;
648
+ PartOrFullTime?: PartOrFullTime;
649
+ Exempt?: Exempt;
650
+ KeyEmployee?: KeyEmployee;
651
+ Gender?: Gender;
652
+ HiredDate?: string;
653
+ OriginalHireDate?: string;
654
+ AdjustedServiceDate?: string;
655
+ ReleasedDate?: string;
656
+ BirthDate?: string;
657
+ USCitizen?: USCitizen;
658
+ Ethnicity?: Ethnicity;
659
+ Disabled?: Disabled;
660
+ DisabilityDesc?: string;
661
+ OnFile?: OnFile;
662
+ WorkAuthExpireDate?: string;
663
+ USVeteran?: USVeteran;
664
+ MilitaryStatus?: MilitaryStatus;
665
+ AccountNumber?: string;
666
+ Notes?: string;
667
+ AdditionalNotesRet?: AdditionalNotesRet | AdditionalNotesRet[];
668
+ BillingRateRef?: BillingRateRef;
669
+ EmployeePayrollInfo?: EmployeePayrollInfo;
670
+ ExternalGUID?: string;
671
+ DataExtRet?: DataExtRet | DataExtRet[];
672
+ }
673
+ export interface EmployeeAddRs {
674
+ EmployeeRet?: EmployeeRet;
675
+ ErrorRecovery?: ErrorRecovery;
676
+ }
677
+ interface EmployeePayrollInfoMod {
678
+ PayPeriod?: PayPeriod;
679
+ ClassRef?: ClassRef;
680
+ ClearEarnings?: boolean;
681
+ Earnings?: Earnings | Earnings[];
682
+ IsUsingTimeDataToCreatePaychecks?: boolean;
683
+ UseTimeDataToCreatePaychecks?: UseTimeDataToCreatePaychecks;
684
+ SickHours?: SickHours;
685
+ VacationHours?: VacationHours;
686
+ }
687
+ interface EmployeeMod {
688
+ ListID: string;
689
+ EditSequence: string;
690
+ IsActive?: boolean;
691
+ Salutation?: string;
692
+ FirstName?: string;
693
+ MiddleName?: string;
694
+ LastName?: string;
695
+ JobTitle?: string;
696
+ SupervisorRef?: SupervisorRef;
697
+ Department?: string;
698
+ Description?: string;
699
+ TargetBonus?: string;
700
+ EmployeeAddress?: EmployeeAddress;
701
+ PrintAs?: string;
702
+ Phone?: string;
703
+ Mobile?: string;
704
+ Pager?: string;
705
+ PagerPIN?: string;
706
+ AltPhone?: string;
707
+ Fax?: string;
708
+ Email?: string;
709
+ AdditionalContactRef?: AdditionalContactRef | AdditionalContactRef[];
710
+ EmergencyContacts?: EmergencyContacts;
711
+ EmployeeType?: EmployeeType;
712
+ PartOrFullTime?: PartOrFullTime;
713
+ Exempt?: Exempt;
714
+ KeyEmployee?: KeyEmployee;
715
+ HiredDate?: string;
716
+ OriginalHireDate?: string;
717
+ AdjustedServiceDate?: string;
718
+ ReleasedDate?: string;
719
+ BirthDate?: string;
720
+ USCitizen?: USCitizen;
721
+ Ethnicity?: Ethnicity;
722
+ Disabled?: Disabled;
723
+ DisabilityDesc?: string;
724
+ OnFile?: OnFile;
725
+ WorkAuthExpireDate?: string;
726
+ USVeteran?: USVeteran;
727
+ MilitaryStatus?: MilitaryStatus;
728
+ AccountNumber?: string;
729
+ Notes?: string;
730
+ AdditionalNotesMod?: AdditionalNotesMod | AdditionalNotesMod[];
731
+ BillingRateRef?: BillingRateRef;
732
+ EmployeePayrollInfoMod?: EmployeePayrollInfoMod;
733
+ }
734
+ export interface EmployeeModRq {
735
+ EmployeeMod: EmployeeMod;
736
+ IncludeRetElement?: string[] | string;
737
+ }
738
+ export interface EmployeeModRs {
739
+ EmployeeRet?: EmployeeRet;
740
+ ErrorRecovery?: ErrorRecovery;
741
+ }
742
+ export interface EmployeeQueryRq {
743
+ ListID?: string[] | string;
744
+ FullName?: string[] | string;
745
+ MaxReturned?: number;
746
+ ActiveStatus?: ActiveStatus;
747
+ FromModifiedDate?: string;
748
+ ToModifiedDate?: string;
749
+ NameFilter?: NameFilter;
750
+ NameRangeFilter?: NameRangeFilter;
751
+ IncludeRetElement?: string[] | string;
752
+ OwnerID?: string[] | string;
753
+ }
754
+ export interface EmployeeQueryRs {
755
+ EmployeeRet?: EmployeeRet | EmployeeRet[];
756
+ }
757
+ interface AccountRef {
758
+ ListID?: string;
759
+ FullName?: string;
760
+ }
761
+ interface EntityRef {
762
+ ListID?: string;
763
+ FullName?: string;
764
+ }
765
+ declare type BillableStatus = "Billable" | "HasBeenBilled" | "NotBillable";
766
+ interface JournalDebitLine {
767
+ TxnLineID?: string;
768
+ AccountRef?: AccountRef;
769
+ Amount?: string;
770
+ Memo?: string;
771
+ EntityRef?: EntityRef;
772
+ ClassRef?: ClassRef;
773
+ ItemSalesTaxRef?: ItemSalesTaxRef;
774
+ BillableStatus?: BillableStatus;
775
+ }
776
+ interface JournalCreditLine {
777
+ TxnLineID?: string;
778
+ AccountRef?: AccountRef;
779
+ Amount?: string;
780
+ Memo?: string;
781
+ EntityRef?: EntityRef;
782
+ ClassRef?: ClassRef;
783
+ ItemSalesTaxRef?: ItemSalesTaxRef;
784
+ BillableStatus?: BillableStatus;
785
+ }
786
+ interface JournalEntryAdd {
787
+ TxnDate?: string;
788
+ RefNumber?: string;
789
+ IsAdjustment?: boolean;
790
+ IsHomeCurrencyAdjustment?: boolean;
791
+ IsAmountsEnteredInHomeCurrency?: boolean;
792
+ CurrencyRef?: CurrencyRef;
793
+ ExchangeRate?: number;
794
+ ExternalGUID?: string;
795
+ JournalDebitLine?: JournalDebitLine;
796
+ JournalCreditLine?: JournalCreditLine;
797
+ }
798
+ export interface JournalEntryAddRq {
799
+ JournalEntryAdd: JournalEntryAdd;
800
+ IncludeRetElement?: string[] | string;
801
+ }
802
+ interface JournalEntryRet {
803
+ TxnID: string;
804
+ TimeCreated: string;
805
+ TimeModified: string;
806
+ EditSequence: string;
807
+ TxnNumber?: number;
808
+ TxnDate: string;
809
+ RefNumber?: string;
810
+ IsAdjustment?: boolean;
811
+ IsHomeCurrencyAdjustment?: boolean;
812
+ IsAmountsEnteredInHomeCurrency?: boolean;
813
+ CurrencyRef?: CurrencyRef;
814
+ ExchangeRate?: number;
815
+ ExternalGUID?: string;
816
+ JournalDebitLine?: JournalDebitLine;
817
+ JournalCreditLine?: JournalCreditLine;
818
+ DataExtRet?: DataExtRet | DataExtRet[];
819
+ }
820
+ export interface JournalEntryAddRs {
821
+ JournalEntryRet?: JournalEntryRet;
822
+ ErrorRecovery?: ErrorRecovery;
823
+ }
824
+ declare type JournalLineType = "Credit" | "Debit";
825
+ interface JournalLineMod {
826
+ TxnLineID: string;
827
+ JournalLineType?: JournalLineType;
828
+ AccountRef?: AccountRef;
829
+ Amount?: string;
830
+ Memo?: string;
831
+ EntityRef?: EntityRef;
832
+ ClassRef?: ClassRef;
833
+ ItemSalesTaxRef?: ItemSalesTaxRef;
834
+ BillableStatus?: BillableStatus;
835
+ }
836
+ interface JournalEntryMod {
837
+ TxnID: string;
838
+ EditSequence: string;
839
+ TxnDate?: string;
840
+ RefNumber?: string;
841
+ IsAdjustment?: boolean;
842
+ IsAmountsEnteredInHomeCurrency?: boolean;
843
+ CurrencyRef?: CurrencyRef;
844
+ ExchangeRate?: number;
845
+ JournalLineMod?: JournalLineMod | JournalLineMod[];
846
+ }
847
+ export interface JournalEntryModRq {
848
+ JournalEntryMod: JournalEntryMod;
849
+ IncludeRetElement?: string[] | string;
850
+ }
851
+ export interface JournalEntryModRs {
852
+ JournalEntryRet?: JournalEntryRet;
853
+ ErrorRecovery?: ErrorRecovery;
854
+ }
855
+ interface ModifiedDateRangeFilter {
856
+ FromModifiedDate?: string;
857
+ ToModifiedDate?: string;
858
+ }
859
+ declare type DateMacro = "All" | "LastCalendarQuarter" | "LastCalendarQuarterToDate" | "LastCalendarYear" | "LastCalendarYearToDate" | "LastFiscalQuarter" | "LastFiscalQuarterToDate" | "LastFiscalYear" | "LastFiscalYearToDate" | "LastMonth" | "LastMonthToDate" | "LastWeek" | "LastWeekToDate" | "NextCalendarQuarter" | "NextCalendarYear" | "NextFiscalQuarter" | "NextFiscalYear" | "NextFourWeeks" | "NextMonth" | "NextWeek" | "ThisCalendarQuarter" | "ThisCalendarQuarterToDate" | "ThisCalendarYear" | "ThisCalendarYearToDate" | "ThisFiscalQuarter" | "ThisFiscalQuarterToDate" | "ThisFiscalYear" | "ThisFiscalYearToDate" | "ThisMonth" | "ThisMonthToDate" | "ThisWeek" | "ThisWeekToDate" | "Today" | "Yesterday";
860
+ interface TxnDateRangeFilter {
861
+ FromTxnDate?: string;
862
+ ToTxnDate?: string;
863
+ DateMacro?: DateMacro;
864
+ }
865
+ interface EntityFilter {
866
+ ListID?: string[] | string;
867
+ FullName?: string[] | string;
868
+ ListIDWithChildren?: string;
869
+ FullNameWithChildren?: string;
870
+ }
871
+ interface AccountFilter {
872
+ ListID?: string[] | string;
873
+ FullName?: string[] | string;
874
+ ListIDWithChildren?: string;
875
+ FullNameWithChildren?: string;
876
+ }
877
+ interface RefNumberFilter {
878
+ MatchCriterion: MatchCriterion;
879
+ RefNumber: string;
880
+ }
881
+ interface RefNumberRangeFilter {
882
+ FromRefNumber?: string;
883
+ ToRefNumber?: string;
884
+ }
885
+ export interface JournalEntryQueryRq {
886
+ TxnID?: string[] | string;
887
+ RefNumber?: string[] | string;
888
+ RefNumberCaseSensitive?: string[] | string;
889
+ MaxReturned?: number;
890
+ ModifiedDateRangeFilter?: ModifiedDateRangeFilter;
891
+ TxnDateRangeFilter?: TxnDateRangeFilter;
892
+ EntityFilter?: EntityFilter;
893
+ AccountFilter?: AccountFilter;
894
+ RefNumberFilter?: RefNumberFilter;
895
+ RefNumberRangeFilter?: RefNumberRangeFilter;
896
+ CurrencyFilter?: CurrencyFilter;
897
+ IncludeLineItems?: boolean;
898
+ IncludeRetElement?: string[] | string;
899
+ OwnerID?: string[] | string;
900
+ }
901
+ export interface JournalEntryQueryRs {
902
+ JournalEntryRet?: JournalEntryRet | JournalEntryRet[];
903
+ }
904
+ export interface VendorQueryRq {
905
+ ListID?: string[] | string;
906
+ FullName?: string[] | string;
907
+ MaxReturned?: number;
908
+ ActiveStatus?: ActiveStatus;
909
+ FromModifiedDate?: string;
910
+ ToModifiedDate?: string;
911
+ NameFilter?: NameFilter;
912
+ NameRangeFilter?: NameRangeFilter;
913
+ TotalBalanceFilter?: TotalBalanceFilter;
914
+ CurrencyFilter?: CurrencyFilter;
915
+ ClassFilter?: ClassFilter;
916
+ IncludeRetElement?: string[] | string;
917
+ OwnerID?: string[] | string;
918
+ }
919
+ interface VendorAddress {
920
+ Addr1?: string;
921
+ Addr2?: string;
922
+ Addr3?: string;
923
+ Addr4?: string;
924
+ Addr5?: string;
925
+ City?: string;
926
+ State?: string;
927
+ PostalCode?: string;
928
+ Country?: string;
929
+ Note?: string;
930
+ }
931
+ interface VendorAddressBlock {
932
+ Addr1?: string;
933
+ Addr2?: string;
934
+ Addr3?: string;
935
+ Addr4?: string;
936
+ Addr5?: string;
937
+ }
938
+ interface VendorTypeRef {
939
+ ListID?: string;
940
+ FullName?: string;
941
+ }
942
+ interface SalesTaxReturnRef {
943
+ ListID?: string;
944
+ FullName?: string;
945
+ }
946
+ /** @default: Quarterly */
947
+ declare type ReportingPeriod = "Monthly" | "Quarterly";
948
+ interface TaxOnPurchasesAccountRef {
949
+ ListID?: string;
950
+ FullName?: string;
951
+ }
952
+ interface TaxOnSalesAccountRef {
953
+ ListID?: string;
954
+ FullName?: string;
955
+ }
956
+ interface PrefillAccountRef {
957
+ ListID?: string;
958
+ FullName?: string;
959
+ }
960
+ interface VendorRet {
961
+ ListID: string;
962
+ TimeCreated: string;
963
+ TimeModified: string;
964
+ EditSequence: string;
965
+ Name: string;
966
+ IsActive?: boolean;
967
+ ClassRef?: ClassRef;
968
+ IsTaxAgency?: boolean;
969
+ CompanyName?: string;
970
+ Salutation?: string;
971
+ FirstName?: string;
972
+ MiddleName?: string;
973
+ LastName?: string;
974
+ JobTitle?: string;
975
+ VendorAddress?: VendorAddress;
976
+ VendorAddressBlock?: VendorAddressBlock;
977
+ ShipAddress?: ShipAddress;
978
+ Phone?: string;
979
+ AltPhone?: string;
980
+ Fax?: string;
981
+ Email?: string;
982
+ Cc?: string;
983
+ Contact?: string;
984
+ AltContact?: string;
985
+ AdditionalContactRef?: AdditionalContactRef | AdditionalContactRef[];
986
+ ContactsRet?: ContactsRet | ContactsRet[];
987
+ NameOnCheck?: string;
988
+ AccountNumber?: string;
989
+ Notes?: string;
990
+ AdditionalNotesRet?: AdditionalNotesRet | AdditionalNotesRet[];
991
+ VendorTypeRef?: VendorTypeRef;
992
+ TermsRef?: TermsRef;
993
+ CreditLimit?: string;
994
+ VendorTaxIdent?: string;
995
+ IsVendorEligibleFor1099?: boolean;
996
+ Balance?: string;
997
+ BillingRateRef?: BillingRateRef;
998
+ ExternalGUID?: string;
999
+ SalesTaxCodeRef?: SalesTaxCodeRef;
1000
+ SalesTaxCountry?: SalesTaxCountry;
1001
+ IsSalesTaxAgency?: boolean;
1002
+ SalesTaxReturnRef?: SalesTaxReturnRef;
1003
+ TaxRegistrationNumber?: string;
1004
+ ReportingPeriod?: ReportingPeriod;
1005
+ IsTaxTrackedOnPurchases?: boolean;
1006
+ TaxOnPurchasesAccountRef?: TaxOnPurchasesAccountRef;
1007
+ IsTaxTrackedOnSales?: boolean;
1008
+ TaxOnSalesAccountRef?: TaxOnSalesAccountRef;
1009
+ IsTaxOnTax?: boolean;
1010
+ PrefillAccountRef?: PrefillAccountRef | PrefillAccountRef[];
1011
+ CurrencyRef?: CurrencyRef;
1012
+ DataExtRet?: DataExtRet | DataExtRet[];
1013
+ }
1014
+ export interface VendorQueryRs {
1015
+ VendorRet?: VendorRet | VendorRet[];
1016
+ }
1017
+ export {};