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.
- package/dist/src/BaseClient.d.ts +1 -1
- package/dist/src/BaseClient.js +1 -1
- package/dist/src/Client.d.ts +1 -1
- package/dist/src/Client.js +1 -1
- package/dist/src/qbd/ClientQBD.d.ts +170 -0
- package/dist/src/qbd/ClientQBD.js +291 -0
- package/dist/src/qbd/qbdTypes.d.ts +1017 -0
- package/dist/src/{qb/qbXMLTypes/Account.js → qbd/qbdTypes.js} +0 -0
- package/package.json +1 -1
- package/dist/src/qb/ClientQBD.d.ts +0 -72
- package/dist/src/qb/ClientQBD.js +0 -136
- package/dist/src/qb/qbXMLTypes/Account.d.ts +0 -320
- package/dist/src/qb/qbXMLTypes/Customer.d.ts +0 -226
- package/dist/src/qb/qbXMLTypes/Customer.js +0 -2
- package/dist/src/qb/qbXMLTypes/Employee.d.ts +0 -590
- package/dist/src/qb/qbXMLTypes/Employee.js +0 -2
- package/dist/src/qb/qbXMLTypes/Vendor.d.ts +0 -245
- package/dist/src/qb/qbXMLTypes/Vendor.js +0 -2
- package/dist/src/qb/qbXMLTypes/shared.d.ts +0 -109
- package/dist/src/qb/qbXMLTypes/shared.js +0 -2
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
import type { ActiveStatus, AdditionalContactRef, AdditionalNotesRet, ClassFilter, ClassRef, ContactsRet, CurrencyFilter, CurrencyRef, DataExtRet, NameFilter, NameRangeFilter, ParentRef, SalesTaxCodeRef, SalesTaxCountry, ShipAddress, TermsRef, TotalBalanceFilter } from "../../qb/qbXMLTypes/shared";
|
|
2
|
-
export interface CustomerQueryRq {
|
|
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
|
-
TotalBalanceFilter?: TotalBalanceFilter;
|
|
52
|
-
/**
|
|
53
|
-
* Filters by the specified currency.
|
|
54
|
-
*/
|
|
55
|
-
CurrencyFilter?: CurrencyFilter;
|
|
56
|
-
ClassFilter?: ClassFilter;
|
|
57
|
-
/**
|
|
58
|
-
* You use this if you want to limit the data that will be returned in the
|
|
59
|
-
* response. In this list, you specify the name of each top-level element or
|
|
60
|
-
* aggregate that you want to be returned in the response to the request. You
|
|
61
|
-
* cannot specify fields within an aggregate, for example, you cannot specify
|
|
62
|
-
* a `City` within an `Address`: you must specify Address and will get the
|
|
63
|
-
* entire address. The names specified in the list are not parsed, so you must
|
|
64
|
-
* be especially careful to supply valid names, properly cased. No error is
|
|
65
|
-
* returned in the status code if you specify an invalid name. Notice that if
|
|
66
|
-
* you want to return custom data or private data extensions, you must specify
|
|
67
|
-
* the DataExtRet element and you must supply the `OwnerID` set to either a
|
|
68
|
-
* value of 0 (custom data) or the `GUID` for the private data.
|
|
69
|
-
*/
|
|
70
|
-
IncludeRetElement?: string;
|
|
71
|
-
/**
|
|
72
|
-
* Zero or more `OwnerID` values. `OwnerID` refers to the owner of a data
|
|
73
|
-
* extension: If `OwnerID` is 0, this is a public data extension, also known
|
|
74
|
-
* as a custom field. Custom fields appear in the QuickBooks UI.
|
|
75
|
-
*
|
|
76
|
-
* If `OwnerID` is a GUID, for example
|
|
77
|
-
* `{6B063959-81B0-4622-85D6-F548C8CCB517}`, this field is a private data
|
|
78
|
-
* extension defined by an integrated application. Private data extensions do
|
|
79
|
-
* not appear in the QuickBooks UI.
|
|
80
|
-
*
|
|
81
|
-
* Note that `OwnerID` values are not case-sensitive, meaning that if you
|
|
82
|
-
* enter an `OwnerID` value with lower-case letters, the value will be saved
|
|
83
|
-
* and returned with upper-case letters.
|
|
84
|
-
*
|
|
85
|
-
* When you share a private data extension with another application, the other
|
|
86
|
-
* application must know both the `OwnerID` and the `DataExtName`, as these
|
|
87
|
-
* together form a data extension’s unique name.
|
|
88
|
-
*/
|
|
89
|
-
OwnerID?: string;
|
|
90
|
-
}
|
|
91
|
-
export interface CustomerQueryRs {
|
|
92
|
-
CustomerRet?: CustomerRet;
|
|
93
|
-
}
|
|
94
|
-
export interface CustomerRet {
|
|
95
|
-
ListID: string;
|
|
96
|
-
TimeCreated: string;
|
|
97
|
-
TimeModified: string;
|
|
98
|
-
EditSequence: string;
|
|
99
|
-
Name: string;
|
|
100
|
-
FullName: string;
|
|
101
|
-
IsActive?: boolean;
|
|
102
|
-
ClassRef?: ClassRef;
|
|
103
|
-
ParentRef?: ParentRef;
|
|
104
|
-
Sublevel: number;
|
|
105
|
-
CompanyName?: string;
|
|
106
|
-
Salutation?: string;
|
|
107
|
-
FirstName?: string;
|
|
108
|
-
MiddleName?: string;
|
|
109
|
-
LastName?: string;
|
|
110
|
-
JobTitle?: string;
|
|
111
|
-
BillAddress?: BillAddress;
|
|
112
|
-
BillAddressBlock?: BillAddressBlock;
|
|
113
|
-
ShipAddress?: ShipAddress;
|
|
114
|
-
ShipAddressBlock?: ShipAddressBlock;
|
|
115
|
-
ShipToAddress?: ShipToAddress;
|
|
116
|
-
Phone?: string;
|
|
117
|
-
AltPhone?: string;
|
|
118
|
-
Fax?: string;
|
|
119
|
-
Email?: string;
|
|
120
|
-
Cc?: string;
|
|
121
|
-
Contact?: string;
|
|
122
|
-
AltContact?: string;
|
|
123
|
-
AdditionalContactRef?: AdditionalContactRef;
|
|
124
|
-
ContactsRet?: ContactsRet;
|
|
125
|
-
CustomerTypeRef?: CustomerTypeRef;
|
|
126
|
-
TermsRef?: TermsRef;
|
|
127
|
-
SalesRepRef?: SalesRepRef;
|
|
128
|
-
Balance?: string;
|
|
129
|
-
TotalBalance?: string;
|
|
130
|
-
SalesTaxCodeRef?: SalesTaxCodeRef;
|
|
131
|
-
ItemSalesTaxRef?: ItemSalesTaxRef;
|
|
132
|
-
SalesTaxCountry?: SalesTaxCountry;
|
|
133
|
-
ResaleNumber?: string;
|
|
134
|
-
AccountNumber?: string;
|
|
135
|
-
CreditLimit?: string;
|
|
136
|
-
PreferredPaymentMethodRef?: PreferredPaymentMethodRef;
|
|
137
|
-
CreditCardInfo?: CreditCardInfo;
|
|
138
|
-
JobStatus?: JobStatus;
|
|
139
|
-
JobStartDate?: string;
|
|
140
|
-
JobProjectedEndDate?: string;
|
|
141
|
-
JobEndDate?: string;
|
|
142
|
-
JobDesc?: string;
|
|
143
|
-
JobTypeRef?: JobTypeRef;
|
|
144
|
-
Notes?: string;
|
|
145
|
-
AdditionalNotesRet?: AdditionalNotesRet;
|
|
146
|
-
PreferredDeliveryMethod?: PreferredDeliveryMethod;
|
|
147
|
-
PriceLevelRef?: PriceLevelRef;
|
|
148
|
-
ExternalGUID?: string;
|
|
149
|
-
TaxRegistrationNumber?: string;
|
|
150
|
-
CurrencyRef?: CurrencyRef;
|
|
151
|
-
DataExtRet?: DataExtRet;
|
|
152
|
-
}
|
|
153
|
-
interface BillAddress {
|
|
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 BillAddressBlock {
|
|
166
|
-
Addr1?: string;
|
|
167
|
-
Addr2?: string;
|
|
168
|
-
Addr3?: string;
|
|
169
|
-
Addr4?: string;
|
|
170
|
-
Addr5?: string;
|
|
171
|
-
}
|
|
172
|
-
interface ShipAddressBlock {
|
|
173
|
-
Addr1?: string;
|
|
174
|
-
Addr2?: string;
|
|
175
|
-
Addr3?: string;
|
|
176
|
-
Addr4?: string;
|
|
177
|
-
Addr5?: string;
|
|
178
|
-
}
|
|
179
|
-
interface ShipToAddress {
|
|
180
|
-
Addr1?: string;
|
|
181
|
-
Addr2?: string;
|
|
182
|
-
Addr3?: string;
|
|
183
|
-
Addr4?: string;
|
|
184
|
-
Addr5?: string;
|
|
185
|
-
City?: string;
|
|
186
|
-
State?: string;
|
|
187
|
-
PostalCode?: string;
|
|
188
|
-
Country?: string;
|
|
189
|
-
Note?: string;
|
|
190
|
-
DefaultShipTo?: boolean;
|
|
191
|
-
}
|
|
192
|
-
interface CustomerTypeRef {
|
|
193
|
-
ListID?: string;
|
|
194
|
-
FullName?: string;
|
|
195
|
-
}
|
|
196
|
-
interface SalesRepRef {
|
|
197
|
-
ListID?: string;
|
|
198
|
-
FullName?: string;
|
|
199
|
-
}
|
|
200
|
-
interface ItemSalesTaxRef {
|
|
201
|
-
ListID?: string;
|
|
202
|
-
FullName?: string;
|
|
203
|
-
}
|
|
204
|
-
interface PreferredPaymentMethodRef {
|
|
205
|
-
ListID?: string;
|
|
206
|
-
FullName?: string;
|
|
207
|
-
}
|
|
208
|
-
interface CreditCardInfo {
|
|
209
|
-
CreditCardNumber?: string;
|
|
210
|
-
ExpirationMonth?: number;
|
|
211
|
-
ExpirationYear?: number;
|
|
212
|
-
NameOnCard?: string;
|
|
213
|
-
CreditCardAddress?: string;
|
|
214
|
-
CreditCardPostalCode?: string;
|
|
215
|
-
}
|
|
216
|
-
declare type JobStatus = "Awarded" | "Closed" | "InProgress" | "None" | "NotAwarded" | "Pending";
|
|
217
|
-
interface JobTypeRef {
|
|
218
|
-
ListID?: string;
|
|
219
|
-
FullName?: string;
|
|
220
|
-
}
|
|
221
|
-
declare type PreferredDeliveryMethod = "Email" | "Fax" | "None";
|
|
222
|
-
interface PriceLevelRef {
|
|
223
|
-
ListID?: string;
|
|
224
|
-
FullName?: string;
|
|
225
|
-
}
|
|
226
|
-
export {};
|