conductor-node 0.0.17 → 0.0.18
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,6 +1,19 @@
|
|
|
1
1
|
import type { ActiveStatus, CurrencyFilter, CurrencyRef, DataExtRet, NameFilter, NameRangeFilter, ParentRef, SalesTaxCodeRef } from "../../qb/qbXMLTypes/shared";
|
|
2
2
|
export interface AccountAddRq {
|
|
3
3
|
AccountAdd: AccountAdd;
|
|
4
|
+
/**
|
|
5
|
+
* You use this if you want to limit the data that will be returned in the
|
|
6
|
+
* response. In this list, you specify the name of each top-level element or
|
|
7
|
+
* aggregate that you want to be returned in the response to the request. You
|
|
8
|
+
* cannot specify fields within an aggregate, for example, you cannot specify
|
|
9
|
+
* a `City` within an `Address`: you must specify Address and will get the
|
|
10
|
+
* entire address. The names specified in the list are not parsed, so you must
|
|
11
|
+
* be especially careful to supply valid names, properly cased. No error is
|
|
12
|
+
* returned in the status code if you specify an invalid name. Notice that if
|
|
13
|
+
* you want to return custom data or private data extensions, you must specify
|
|
14
|
+
* the DataExtRet element and you must supply the `OwnerID` set to either a
|
|
15
|
+
* value of 0 (custom data) or the `GUID` for the private data.
|
|
16
|
+
*/
|
|
4
17
|
IncludeRetElement?: string;
|
|
5
18
|
}
|
|
6
19
|
export interface AccountAddRs {
|
|
@@ -104,6 +117,11 @@ export interface AccountAdd {
|
|
|
104
117
|
export interface AccountQueryRq {
|
|
105
118
|
ListID?: string;
|
|
106
119
|
FullName?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Limits the number of objects that a query returns. (To get a count of how
|
|
122
|
+
* many objects could possibly be returned, use the metaData query attribute.)
|
|
123
|
+
* If you include a `MaxReturned` value, it must be at least 1.
|
|
124
|
+
*/
|
|
107
125
|
/**
|
|
108
126
|
* Limits the number of objects that a query returns. (To get a count of how
|
|
109
127
|
* many objects could possibly be returned, use the metaData query attribute.)
|
|
@@ -116,7 +134,31 @@ export interface AccountQueryRq {
|
|
|
116
134
|
* which selects only list objects that are active.
|
|
117
135
|
*/
|
|
118
136
|
ActiveStatus?: ActiveStatus;
|
|
137
|
+
/**
|
|
138
|
+
* Selects objects modified on or after this date.
|
|
139
|
+
*
|
|
140
|
+
* `FromModifiedDate` and `ToModifiedDate` must be between 1970-01-01 and
|
|
141
|
+
* 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). (The time portion of
|
|
142
|
+
* the field was not supported in qbXML version 1.0 or 1.1.)
|
|
143
|
+
*
|
|
144
|
+
* If `FromModifiedDate` includes a date but not a time (for example, if you
|
|
145
|
+
* set `FromModifiedDate` to 2003-02-14), the time is assumed to be zero
|
|
146
|
+
* (2003-02-14T00:00:00). If you omit `FromModifiedDate`, it will be set to
|
|
147
|
+
* 1970-01-01T00:00:00 (1969-12-31T16:00:00-08:00 PST).
|
|
148
|
+
*/
|
|
119
149
|
FromModifiedDate?: Date;
|
|
150
|
+
/**
|
|
151
|
+
* Selects objects modified on or before this date.
|
|
152
|
+
*
|
|
153
|
+
* `ToModifiedDate` and `FromModifiedDate` must be between 1970-01-01 and
|
|
154
|
+
* 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). (Note that the time
|
|
155
|
+
* portion of the field was not supported in qbXML version 1.0 or 1.1.)
|
|
156
|
+
*
|
|
157
|
+
* If `ToModifiedDate` includes a date but not a time (for example, if you set
|
|
158
|
+
* `ToModifiedDate` to 2003-02-14), the time is assumed to be the end of the
|
|
159
|
+
* day (2003-02-14T23:59:59). If you omit `ToModifiedDate` altogether, it will
|
|
160
|
+
* be set to 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST).
|
|
161
|
+
*/
|
|
120
162
|
ToModifiedDate?: Date;
|
|
121
163
|
/**
|
|
122
164
|
* Filters according to the object’s `Name`.
|
|
@@ -126,8 +168,47 @@ export interface AccountQueryRq {
|
|
|
126
168
|
* Filters according to the object’s `Name`.
|
|
127
169
|
*/
|
|
128
170
|
NameRangeFilter?: NameRangeFilter;
|
|
171
|
+
/**
|
|
172
|
+
* A list of QuickBooks account types.
|
|
173
|
+
*/
|
|
129
174
|
AccountType?: AccountType;
|
|
175
|
+
/**
|
|
176
|
+
* Filters by the specified currency.
|
|
177
|
+
*/
|
|
130
178
|
CurrencyFilter?: CurrencyFilter;
|
|
179
|
+
/**
|
|
180
|
+
* You use this if you want to limit the data that will be returned in the
|
|
181
|
+
* response. In this list, you specify the name of each top-level element or
|
|
182
|
+
* aggregate that you want to be returned in the response to the request. You
|
|
183
|
+
* cannot specify fields within an aggregate, for example, you cannot specify
|
|
184
|
+
* a `City` within an `Address`: you must specify Address and will get the
|
|
185
|
+
* entire address. The names specified in the list are not parsed, so you must
|
|
186
|
+
* be especially careful to supply valid names, properly cased. No error is
|
|
187
|
+
* returned in the status code if you specify an invalid name. Notice that if
|
|
188
|
+
* you want to return custom data or private data extensions, you must specify
|
|
189
|
+
* the DataExtRet element and you must supply the `OwnerID` set to either a
|
|
190
|
+
* value of 0 (custom data) or the `GUID` for the private data.
|
|
191
|
+
*/
|
|
192
|
+
IncludeRetElement?: string;
|
|
193
|
+
/**
|
|
194
|
+
* Zero or more `OwnerID` values. `OwnerID` refers to the owner of a data
|
|
195
|
+
* extension: If `OwnerID` is 0, this is a public data extension, also known
|
|
196
|
+
* as a custom field. Custom fields appear in the QuickBooks UI.
|
|
197
|
+
*
|
|
198
|
+
* If `OwnerID` is a GUID, for example
|
|
199
|
+
* `{6B063959-81B0-4622-85D6-F548C8CCB517}`, this field is a private data
|
|
200
|
+
* extension defined by an integrated application. Private data extensions do
|
|
201
|
+
* not appear in the QuickBooks UI.
|
|
202
|
+
*
|
|
203
|
+
* Note that `OwnerID` values are not case-sensitive, meaning that if you
|
|
204
|
+
* enter an `OwnerID` value with lower-case letters, the value will be saved
|
|
205
|
+
* and returned with upper-case letters.
|
|
206
|
+
*
|
|
207
|
+
* When you share a private data extension with another application, the other
|
|
208
|
+
* application must know both the `OwnerID` and the `DataExtName`, as these
|
|
209
|
+
* together form a data extension’s unique name.
|
|
210
|
+
*/
|
|
211
|
+
OwnerID?: string;
|
|
131
212
|
}
|
|
132
213
|
export interface AccountQueryRs {
|
|
133
214
|
AccountRet?: AccountRet;
|
|
@@ -2,16 +2,90 @@ import type { ActiveStatus, AdditionalContactRef, AdditionalNotesRet, ClassFilte
|
|
|
2
2
|
export interface CustomerQueryRq {
|
|
3
3
|
ListID?: string;
|
|
4
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
|
+
*/
|
|
5
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
|
+
*/
|
|
6
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
|
+
*/
|
|
7
29
|
FromModifiedDate?: Date;
|
|
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
|
+
*/
|
|
8
42
|
ToModifiedDate?: Date;
|
|
43
|
+
/**
|
|
44
|
+
* Filters according to the object’s `Name`.
|
|
45
|
+
*/
|
|
9
46
|
NameFilter?: NameFilter;
|
|
47
|
+
/**
|
|
48
|
+
* Filters according to the object’s `Name`.
|
|
49
|
+
*/
|
|
10
50
|
NameRangeFilter?: NameRangeFilter;
|
|
11
51
|
TotalBalanceFilter?: TotalBalanceFilter;
|
|
52
|
+
/**
|
|
53
|
+
* Filters by the specified currency.
|
|
54
|
+
*/
|
|
12
55
|
CurrencyFilter?: CurrencyFilter;
|
|
13
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
|
+
*/
|
|
14
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
|
+
*/
|
|
15
89
|
OwnerID?: string;
|
|
16
90
|
}
|
|
17
91
|
export interface CustomerQueryRs {
|
|
@@ -1,6 +1,19 @@
|
|
|
1
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
|
+
/**
|
|
5
|
+
* You use this if you want to limit the data that will be returned in the
|
|
6
|
+
* response. In this list, you specify the name of each top-level element or
|
|
7
|
+
* aggregate that you want to be returned in the response to the request. You
|
|
8
|
+
* cannot specify fields within an aggregate, for example, you cannot specify
|
|
9
|
+
* a `City` within an `Address`: you must specify Address and will get the
|
|
10
|
+
* entire address. The names specified in the list are not parsed, so you must
|
|
11
|
+
* be especially careful to supply valid names, properly cased. No error is
|
|
12
|
+
* returned in the status code if you specify an invalid name. Notice that if
|
|
13
|
+
* you want to return custom data or private data extensions, you must specify
|
|
14
|
+
* the DataExtRet element and you must supply the `OwnerID` set to either a
|
|
15
|
+
* value of 0 (custom data) or the `GUID` for the private data.
|
|
16
|
+
*/
|
|
4
17
|
IncludeRetElement?: string;
|
|
5
18
|
}
|
|
6
19
|
export interface EmployeeAddRs {
|
|
@@ -8,6 +21,19 @@ export interface EmployeeAddRs {
|
|
|
8
21
|
}
|
|
9
22
|
export interface EmployeeModRq {
|
|
10
23
|
EmployeeMod: EmployeeMod;
|
|
24
|
+
/**
|
|
25
|
+
* You use this if you want to limit the data that will be returned in the
|
|
26
|
+
* response. In this list, you specify the name of each top-level element or
|
|
27
|
+
* aggregate that you want to be returned in the response to the request. You
|
|
28
|
+
* cannot specify fields within an aggregate, for example, you cannot specify
|
|
29
|
+
* a `City` within an `Address`: you must specify Address and will get the
|
|
30
|
+
* entire address. The names specified in the list are not parsed, so you must
|
|
31
|
+
* be especially careful to supply valid names, properly cased. No error is
|
|
32
|
+
* returned in the status code if you specify an invalid name. Notice that if
|
|
33
|
+
* you want to return custom data or private data extensions, you must specify
|
|
34
|
+
* the DataExtRet element and you must supply the `OwnerID` set to either a
|
|
35
|
+
* value of 0 (custom data) or the `GUID` for the private data.
|
|
36
|
+
*/
|
|
11
37
|
IncludeRetElement?: string;
|
|
12
38
|
}
|
|
13
39
|
export interface EmployeeModRs {
|
|
@@ -16,12 +42,85 @@ export interface EmployeeModRs {
|
|
|
16
42
|
export interface EmployeeQueryRq {
|
|
17
43
|
ListID?: string;
|
|
18
44
|
FullName?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Limits the number of objects that a query returns. (To get a count of how
|
|
47
|
+
* many objects could possibly be returned, use the metaData query attribute.)
|
|
48
|
+
* If you include a `MaxReturned` value, it must be at least 1.
|
|
49
|
+
*/
|
|
19
50
|
MaxReturned?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Used in filters to select list objects based on whether or not they are
|
|
53
|
+
* currently enabled for use by QuickBooks. The default value is
|
|
54
|
+
* `asActiveOnly`, which selects only list objects that are active.
|
|
55
|
+
*/
|
|
20
56
|
ActiveStatus?: ActiveStatus;
|
|
57
|
+
/**
|
|
58
|
+
* Selects objects modified on or after this date.
|
|
59
|
+
*
|
|
60
|
+
* `FromModifiedDate` and `ToModifiedDate` must be between 1970-01-01 and
|
|
61
|
+
* 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). (The time portion of
|
|
62
|
+
* the field was not supported in qbXML version 1.0 or 1.1.)
|
|
63
|
+
*
|
|
64
|
+
* If `FromModifiedDate` includes a date but not a time (for example, if you
|
|
65
|
+
* set `FromModifiedDate` to 2003-02-14), the time is assumed to be zero
|
|
66
|
+
* (2003-02-14T00:00:00). If you omit `FromModifiedDate`, it will be set to
|
|
67
|
+
* 1970-01-01T00:00:00 (1969-12-31T16:00:00-08:00 PST).
|
|
68
|
+
*/
|
|
21
69
|
FromModifiedDate?: Date;
|
|
70
|
+
/**
|
|
71
|
+
* Selects objects modified on or before this date.
|
|
72
|
+
*
|
|
73
|
+
* `ToModifiedDate` and `FromModifiedDate` must be between 1970-01-01 and
|
|
74
|
+
* 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). (Note that the time
|
|
75
|
+
* portion of the field was not supported in qbXML version 1.0 or 1.1.)
|
|
76
|
+
*
|
|
77
|
+
* If `ToModifiedDate` includes a date but not a time (for example, if you set
|
|
78
|
+
* `ToModifiedDate` to 2003-02-14), the time is assumed to be the end of the
|
|
79
|
+
* day (2003-02-14T23:59:59). If you omit `ToModifiedDate` altogether, it will
|
|
80
|
+
* be set to 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST).
|
|
81
|
+
*/
|
|
22
82
|
ToModifiedDate?: Date;
|
|
83
|
+
/**
|
|
84
|
+
* Filters according to the object’s `Name`.
|
|
85
|
+
*/
|
|
23
86
|
NameFilter?: NameFilter;
|
|
87
|
+
/**
|
|
88
|
+
* Filters according to the object’s `Name`.
|
|
89
|
+
*/
|
|
24
90
|
NameRangeFilter?: NameRangeFilter;
|
|
91
|
+
/**
|
|
92
|
+
* You use this if you want to limit the data that will be returned in the
|
|
93
|
+
* response. In this list, you specify the name of each top-level element or
|
|
94
|
+
* aggregate that you want to be returned in the response to the request. You
|
|
95
|
+
* cannot specify fields within an aggregate, for example, you cannot specify
|
|
96
|
+
* a `City` within an `Address`: you must specify Address and will get the
|
|
97
|
+
* entire address. The names specified in the list are not parsed, so you must
|
|
98
|
+
* be especially careful to supply valid names, properly cased. No error is
|
|
99
|
+
* returned in the status code if you specify an invalid name. Notice that if
|
|
100
|
+
* you want to return custom data or private data extensions, you must specify
|
|
101
|
+
* the DataExtRet element and you must supply the `OwnerID` set to either a
|
|
102
|
+
* value of 0 (custom data) or the `GUID` for the private data.
|
|
103
|
+
*/
|
|
104
|
+
IncludeRetElement?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Zero or more `OwnerID` values. `OwnerID` refers to the owner of a data
|
|
107
|
+
* extension: If `OwnerID` is 0, this is a public data extension, also known
|
|
108
|
+
* as a custom field. Custom fields appear in the QuickBooks UI.
|
|
109
|
+
*
|
|
110
|
+
* If `OwnerID` is a GUID, for example
|
|
111
|
+
* `{6B063959-81B0-4622-85D6-F548C8CCB517}`, this field is a private data
|
|
112
|
+
* extension defined by an integrated application. Private data extensions do
|
|
113
|
+
* not appear in the QuickBooks UI.
|
|
114
|
+
*
|
|
115
|
+
* Note that `OwnerID` values are not case-sensitive, meaning that if you
|
|
116
|
+
* enter an `OwnerID` value with lower-case letters, the value will be saved
|
|
117
|
+
* and returned with upper-case letters.
|
|
118
|
+
*
|
|
119
|
+
* When you share a private data extension with another application, the other
|
|
120
|
+
* application must know both the `OwnerID` and the `DataExtName`, as these
|
|
121
|
+
* together form a data extension’s unique name.
|
|
122
|
+
*/
|
|
123
|
+
OwnerID?: string;
|
|
25
124
|
}
|
|
26
125
|
export interface EmployeeQueryRs {
|
|
27
126
|
EmployeeRet?: EmployeeRet;
|
|
@@ -140,27 +239,91 @@ export interface EmployeeAdd {
|
|
|
140
239
|
* Full or Part time status of the employee.
|
|
141
240
|
*/
|
|
142
241
|
PartOrFullTime?: PartOrFullTime;
|
|
242
|
+
/**
|
|
243
|
+
* Exempt or non-exempt status of the employee.
|
|
244
|
+
*/
|
|
143
245
|
Exempt?: Exempt;
|
|
246
|
+
/**
|
|
247
|
+
* Is employee a key or critical employee.
|
|
248
|
+
*/
|
|
144
249
|
KeyEmployee?: KeyEmployee;
|
|
250
|
+
/**
|
|
251
|
+
* The gender of this employee.
|
|
252
|
+
*/
|
|
145
253
|
Gender?: Gender;
|
|
254
|
+
/**
|
|
255
|
+
* An employee’s date of hire.
|
|
256
|
+
*/
|
|
146
257
|
HiredDate?: Date;
|
|
258
|
+
/**
|
|
259
|
+
* Original hire date the employee was hired.
|
|
260
|
+
*/
|
|
147
261
|
OriginalHireDate?: Date;
|
|
262
|
+
/**
|
|
263
|
+
* Adjusted service date for the employee.
|
|
264
|
+
*/
|
|
148
265
|
AdjustedServiceDate?: Date;
|
|
266
|
+
/**
|
|
267
|
+
* The date on which this person’s employment with the company ended.
|
|
268
|
+
*/
|
|
149
269
|
ReleasedDate?: Date;
|
|
270
|
+
/**
|
|
271
|
+
* Date of birth.
|
|
272
|
+
*/
|
|
150
273
|
BirthDate?: Date;
|
|
274
|
+
/**
|
|
275
|
+
* Is employee a US citizen?
|
|
276
|
+
*/
|
|
151
277
|
USCitizen?: USCitizen;
|
|
278
|
+
/**
|
|
279
|
+
* Ethnicity of employee from AmericianIndian, Asian, Black, Hawaiian, Hispanic, White, TwoOrMoreRaces
|
|
280
|
+
*/
|
|
152
281
|
Ethnicity?: Ethnicity;
|
|
282
|
+
/**
|
|
283
|
+
* Is employee disabled?
|
|
284
|
+
*/
|
|
153
285
|
Disabled?: Disabled;
|
|
286
|
+
/**
|
|
287
|
+
* Description of employee’s disability.
|
|
288
|
+
*/
|
|
154
289
|
DisabilityDesc?: string;
|
|
290
|
+
/**
|
|
291
|
+
* Is the employee’s I-9 on file?
|
|
292
|
+
*/
|
|
155
293
|
OnFile?: OnFile;
|
|
294
|
+
/**
|
|
295
|
+
* Date the employee’s work authorization expires.
|
|
296
|
+
*/
|
|
156
297
|
WorkAuthExpireDate?: Date;
|
|
298
|
+
/**
|
|
299
|
+
* Is employee a US veteran?
|
|
300
|
+
*/
|
|
157
301
|
USVeteran?: USVeteran;
|
|
302
|
+
/**
|
|
303
|
+
* Military status if the employee is a US veteran.
|
|
304
|
+
*/
|
|
158
305
|
MilitaryStatus?: MilitaryStatus;
|
|
306
|
+
/**
|
|
307
|
+
* Account numbers appear in the QuickBooks chart of accounts, Account fields,
|
|
308
|
+
* and reports and graphs. If the `IsUsingAccountNumber` preference is false
|
|
309
|
+
* (that is, if the QuickBooks user has the account numbers Preference turned
|
|
310
|
+
* off), you can still set account numbers through the SDK, but the numbers
|
|
311
|
+
* will not be visible in the user interface.
|
|
312
|
+
*/
|
|
159
313
|
AccountNumber?: string;
|
|
314
|
+
/**
|
|
315
|
+
* Additional information.
|
|
316
|
+
*/
|
|
160
317
|
Notes?: string;
|
|
318
|
+
/**
|
|
319
|
+
* List of notes.
|
|
320
|
+
*/
|
|
161
321
|
AdditionalNotes?: AdditionalNotes;
|
|
162
322
|
BillingRateRef?: BillingRateRef;
|
|
163
323
|
EmployeePayrollInfo?: EmployeePayrollInfo;
|
|
324
|
+
/**
|
|
325
|
+
* Allows for the attachment of a user defined GUID value.
|
|
326
|
+
*/
|
|
164
327
|
ExternalGUID?: string;
|
|
165
328
|
}
|
|
166
329
|
export interface EmployeeRet {
|
|
@@ -2,16 +2,98 @@ import type { ActiveStatus, AdditionalContactRef, AdditionalNotesRet, BillingRat
|
|
|
2
2
|
export interface VendorQueryRq {
|
|
3
3
|
ListID?: string;
|
|
4
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
|
+
*/
|
|
5
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
|
+
*/
|
|
6
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
|
+
*/
|
|
7
29
|
FromModifiedDate?: Date;
|
|
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
|
+
*/
|
|
8
42
|
ToModifiedDate?: Date;
|
|
43
|
+
/**
|
|
44
|
+
* Filters according to the object’s `Name`.
|
|
45
|
+
*/
|
|
9
46
|
NameFilter?: NameFilter;
|
|
47
|
+
/**
|
|
48
|
+
* Filters according to the object’s `Name`.
|
|
49
|
+
*/
|
|
10
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
|
+
*/
|
|
11
56
|
TotalBalanceFilter?: TotalBalanceFilter;
|
|
57
|
+
/**
|
|
58
|
+
* Filters by the specified currency.
|
|
59
|
+
*/
|
|
12
60
|
CurrencyFilter?: CurrencyFilter;
|
|
61
|
+
/**
|
|
62
|
+
* Filter according to class.
|
|
63
|
+
*/
|
|
13
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
|
+
*/
|
|
14
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
|
+
*/
|
|
15
97
|
OwnerID?: string;
|
|
16
98
|
}
|
|
17
99
|
export interface VendorQueryRs {
|