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.
@@ -1,245 +0,0 @@
1
- import type { ActiveStatus, AdditionalContactRef, AdditionalNotesRet, BillingRateRef, ClassFilter, ClassRef, ContactsRet, CurrencyFilter, CurrencyRef, DataExtRet, NameFilter, NameRangeFilter, SalesTaxCodeRef, SalesTaxCountry, ShipAddress, TermsRef, TotalBalanceFilter } from "../../qb/qbXMLTypes/shared";
2
- export interface VendorQueryRq {
3
- ListID?: string;
4
- FullName?: string;
5
- /**
6
- * Limits the number of objects that a query returns. (To get a count of how
7
- * many objects could possibly be returned, use the metaData query attribute.)
8
- * If you include a `MaxReturned` value, it must be at least 1.
9
- */
10
- MaxReturned?: number;
11
- /**
12
- * Used in filters to select list objects based on whether or not they are
13
- * currently enabled for use by QuickBooks. The default value is
14
- * `asActiveOnly`, which selects only list objects that are active.
15
- */
16
- ActiveStatus?: ActiveStatus;
17
- /**
18
- * Selects objects modified on or after this date.
19
- *
20
- * `FromModifiedDate` and `ToModifiedDate` must be between 1970-01-01 and
21
- * 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). (The time portion of
22
- * the field was not supported in qbXML version 1.0 or 1.1.)
23
- *
24
- * If `FromModifiedDate` includes a date but not a time (for example, if you
25
- * set `FromModifiedDate` to 2003-02-14), the time is assumed to be zero
26
- * (2003-02-14T00:00:00). If you omit `FromModifiedDate`, it will be set to
27
- * 1970-01-01T00:00:00 (1969-12-31T16:00:00-08:00 PST).
28
- */
29
- FromModifiedDate?: string;
30
- /**
31
- * Selects objects modified on or before this date.
32
- *
33
- * `ToModifiedDate` and `FromModifiedDate` must be between 1970-01-01 and
34
- * 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). (Note that the time
35
- * portion of the field was not supported in qbXML version 1.0 or 1.1.)
36
- *
37
- * If `ToModifiedDate` includes a date but not a time (for example, if you set
38
- * `ToModifiedDate` to 2003-02-14), the time is assumed to be the end of the
39
- * day (2003-02-14T23:59:59). If you omit `ToModifiedDate` altogether, it will
40
- * be set to 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST).
41
- */
42
- ToModifiedDate?: string;
43
- /**
44
- * Filters according to the object’s `Name`.
45
- */
46
- NameFilter?: NameFilter;
47
- /**
48
- * Filters according to the object’s `Name`.
49
- */
50
- NameRangeFilter?: NameRangeFilter;
51
- /**
52
- * Filters according to total balance. Total balance includes the balance for
53
- * all subaccounts; for example, a customer’s TotalBalance would include all
54
- * the jobs for that customer.
55
- */
56
- TotalBalanceFilter?: TotalBalanceFilter;
57
- /**
58
- * Filters by the specified currency.
59
- */
60
- CurrencyFilter?: CurrencyFilter;
61
- /**
62
- * Filter according to class.
63
- */
64
- ClassFilter?: ClassFilter;
65
- /**
66
- * You use this if you want to limit the data that will be returned in the
67
- * response. In this list, you specify the name of each top-level element or
68
- * aggregate that you want to be returned in the response to the request. You
69
- * cannot specify fields within an aggregate, for example, you cannot specify
70
- * a `City` within an `Address`: you must specify Address and will get the
71
- * entire address. The names specified in the list are not parsed, so you must
72
- * be especially careful to supply valid names, properly cased. No error is
73
- * returned in the status code if you specify an invalid name. Notice that if
74
- * you want to return custom data or private data extensions, you must specify
75
- * the DataExtRet element and you must supply the `OwnerID` set to either a
76
- * value of 0 (custom data) or the `GUID` for the private data.
77
- */
78
- IncludeRetElement?: string;
79
- /**
80
- * Zero or more `OwnerID` values. `OwnerID` refers to the owner of a data
81
- * extension: If `OwnerID` is 0, this is a public data extension, also known
82
- * as a custom field. Custom fields appear in the QuickBooks UI.
83
- *
84
- * If `OwnerID` is a GUID, for example
85
- * `{6B063959-81B0-4622-85D6-F548C8CCB517}`, this field is a private data
86
- * extension defined by an integrated application. Private data extensions do
87
- * not appear in the QuickBooks UI.
88
- *
89
- * Note that `OwnerID` values are not case-sensitive, meaning that if you
90
- * enter an `OwnerID` value with lower-case letters, the value will be saved
91
- * and returned with upper-case letters.
92
- *
93
- * When you share a private data extension with another application, the other
94
- * application must know both the `OwnerID` and the `DataExtName`, as these
95
- * together form a data extension’s unique name.
96
- */
97
- OwnerID?: string;
98
- }
99
- export interface VendorQueryRs {
100
- VendorRet?: VendorRet;
101
- }
102
- export interface VendorRet {
103
- ListID: string;
104
- TimeCreated: string;
105
- TimeModified: string;
106
- EditSequence: string;
107
- Name: string;
108
- /**
109
- * If `IsActive` is `true`, this object is currently enabled for use by
110
- * QuickBooks. The default value is `true`.
111
- */
112
- IsActive?: boolean;
113
- /**
114
- * Classes can be used to separate transactions into meaningful categories.
115
- * (For example, transactions could be classified according to department,
116
- * business location, or type of work.) In QuickBooks, class tracking is off
117
- * by default. A `ClassRef` aggregate refers to one of these named classes.
118
- * For example, in a `TimeTracking` message, `ClassRef` refers to the
119
- * QuickBooks class into which the timed activity falls. If a `ClassRef`
120
- * aggregate includes both `FullName` and `ListID`, `FullName` will be
121
- * ignored. In an `InvoiceAdd` request, if you specify a `ClassRef` for the
122
- * whole invoice, that same `ClassRef` is automatically used in the line
123
- * items. If you want to clear that (that is, have NO `ClassRef` for the line
124
- * item, you can clear it in the line item by simply not specifying it in the
125
- * line item.
126
- */
127
- ClassRef?: ClassRef;
128
- /**
129
- * Is the current entity a tax agency.
130
- */
131
- IsTaxAgency?: boolean;
132
- /**
133
- * The name of the QuickBooks user’s business, as specified in QuickBooks.
134
- * `CompanyName` and `Address` are used on invoices, checks, and other forms.
135
- * (`LegalCompanyName` and `LegalAddress`, on the other hand, are used on a
136
- * company’s tax forms and pay stubs.)
137
- */
138
- CompanyName?: string;
139
- /**
140
- * A formal reference, such as Mr. or Dr., that precedes a name.
141
- */
142
- Salutation?: string;
143
- /**
144
- * The first name of a customer, vendor, employee, or person on the “other
145
- * names” list.
146
- */
147
- FirstName?: string;
148
- /**
149
- * The middle name of a customer, vendor, employee, or person on the “other
150
- * names” list.
151
- */
152
- MiddleName?: string;
153
- /**
154
- * The last name of a customer, vendor, employee, or person on the “other
155
- * names” list.
156
- */
157
- LastName?: string;
158
- /**
159
- * The job title of a customer, vendor, employee, or person on the “other
160
- * names” list.
161
- */
162
- JobTitle?: string;
163
- /**
164
- * If an address request fails, some combination of address fields might be
165
- * too long.
166
- */
167
- VendorAddress?: VendorAddress;
168
- VendorAddressBlock?: VendorAddressBlock;
169
- ShipAddress?: ShipAddress;
170
- Phone?: string;
171
- AltPhone?: string;
172
- Fax?: string;
173
- Email?: string;
174
- Cc?: string;
175
- Contact?: string;
176
- AltContact?: string;
177
- AdditionalContactRef?: AdditionalContactRef;
178
- ContactsRet?: ContactsRet;
179
- NameOnCheck?: string;
180
- AccountNumber?: string;
181
- Notes?: string;
182
- AdditionalNotesRet?: AdditionalNotesRet;
183
- VendorTypeRef?: VendorTypeRef;
184
- TermsRef?: TermsRef;
185
- CreditLimit?: string;
186
- VendorTaxIdent?: string;
187
- IsVendorEligibleFor1099?: boolean;
188
- Balance?: string;
189
- BillingRateRef?: BillingRateRef;
190
- ExternalGUID?: string;
191
- SalesTaxCodeRef?: SalesTaxCodeRef;
192
- SalesTaxCountry?: SalesTaxCountry;
193
- IsSalesTaxAgency?: boolean;
194
- SalesTaxReturnRef?: SalesTaxReturnRef;
195
- TaxRegistrationNumber?: string;
196
- ResaleNumber?: ReportingPeriod;
197
- IsTaxTrackedOnPurchases?: boolean;
198
- TaxOnPurchasesAccountRef?: TaxOnPurchasesAccountRef;
199
- IsTaxTrackedOnSales?: boolean;
200
- TaxOnSalesAccountRef?: TaxOnSalesAccountRef;
201
- IsTaxOnTax?: boolean;
202
- PrefillAccountRef?: PrefillAccountRef;
203
- CurrencyRef?: CurrencyRef;
204
- DataExtRet?: DataExtRet;
205
- }
206
- interface VendorAddress {
207
- Addr1?: string;
208
- Addr2?: string;
209
- Addr3?: string;
210
- Addr4?: string;
211
- Addr5?: string;
212
- City?: string;
213
- State?: string;
214
- PostalCode?: string;
215
- Country?: string;
216
- Note?: string;
217
- }
218
- interface VendorAddressBlock {
219
- Addr1?: string;
220
- Addr2?: string;
221
- Addr3?: string;
222
- Addr4?: string;
223
- Addr5?: string;
224
- }
225
- interface VendorTypeRef {
226
- ListID?: string;
227
- FullName?: string;
228
- }
229
- interface SalesTaxReturnRef {
230
- ListID?: string;
231
- FullNam?: string;
232
- }
233
- declare type ReportingPeriod = "Monthly" | "Quarterly";
234
- interface TaxOnPurchasesAccountRef {
235
- ListID?: string;
236
- FullName?: string;
237
- }
238
- interface TaxOnSalesAccountRef {
239
- ListID?: string;
240
- }
241
- interface PrefillAccountRef {
242
- ListID?: string;
243
- FullName?: string;
244
- }
245
- export {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,109 +0,0 @@
1
- /**
2
- * Filters according to the object’s `Name`.
3
- */
4
- export interface NameFilter {
5
- /**
6
- * The criterion to match.
7
- */
8
- MatchCriterion: MatchCriterion;
9
- /**
10
- * The string to match.
11
- */
12
- Name: string;
13
- }
14
- declare type MatchCriterion = "Contains" | "EndsWith" | "StartsWith";
15
- export interface NameRangeFilter {
16
- /**
17
- * The first name or item in the search range. If `FromName` is omitted, the
18
- * range will begin with first name on the list.
19
- */
20
- FromName?: string;
21
- /**
22
- * The final name or item in the search range. If `ToName` is omitted, the
23
- * range will end with last name on the list.
24
- */
25
- ToName?: string;
26
- }
27
- export declare type ActiveStatus = "ActiveOnly" | "All" | "InactiveOnly";
28
- export interface DataExtRet {
29
- OwnerID?: string;
30
- DataExtName: string;
31
- DataExtType: DataExtType;
32
- DataExtValue: string;
33
- }
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: string;
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
- }
64
- export interface TotalBalanceFilter {
65
- Operator: Operator;
66
- Amount: string;
67
- }
68
- declare type Operator = "Equal" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual";
69
- export interface ClassFilter {
70
- ListID?: string;
71
- FullName?: string;
72
- ListIDWithChildren?: string;
73
- FullNameWithChildren?: string;
74
- }
75
- export interface ParentRef {
76
- ListID?: string;
77
- FullName?: string;
78
- }
79
- export interface ShipAddress {
80
- Addr1?: string;
81
- Addr2?: string;
82
- Addr3?: string;
83
- Addr4?: string;
84
- Addr5?: string;
85
- City?: string;
86
- State?: string;
87
- PostalCode?: string;
88
- Country?: string;
89
- Note?: string;
90
- }
91
- export interface ContactsRet {
92
- ListID: string;
93
- TimeCreated: string;
94
- TimeModified: string;
95
- EditSequence: string;
96
- Contact?: string;
97
- Salutation?: string;
98
- FirstName?: string;
99
- MiddleName?: string;
100
- LastName?: string;
101
- JobTitle?: string;
102
- AdditionalContactRef?: AdditionalContactRef;
103
- }
104
- export interface TermsRef {
105
- ListID?: string;
106
- FullName?: string;
107
- }
108
- export declare type SalesTaxCountry = "Australia" | "Canada" | "UK" | "US";
109
- export {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });