conductor-node 12.0.0-beta.1 → 12.0.0-beta.11
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/CHANGELOG.md +108 -0
- package/README.md +32 -27
- package/index.d.mts +4 -4
- package/index.d.ts +4 -4
- package/index.d.ts.map +1 -1
- package/index.js.map +1 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth-sessions.d.ts +11 -15
- package/resources/auth-sessions.d.ts.map +1 -1
- package/resources/auth-sessions.js +2 -8
- package/resources/auth-sessions.js.map +1 -1
- package/resources/auth-sessions.mjs +2 -8
- package/resources/auth-sessions.mjs.map +1 -1
- package/resources/end-users.d.ts +20 -32
- package/resources/end-users.d.ts.map +1 -1
- package/resources/end-users.js +4 -12
- package/resources/end-users.js.map +1 -1
- package/resources/end-users.mjs +4 -12
- package/resources/end-users.mjs.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/qbd/bill-check-payments.d.ts +4 -4
- package/resources/qbd/bill-credit-card-payments.d.ts +4 -4
- package/resources/qbd/bills.d.ts +4 -4
- package/resources/qbd/checks.d.ts +4 -4
- package/resources/qbd/credit-card-charges.d.ts +4 -4
- package/resources/qbd/credit-card-credits.d.ts +4 -4
- package/resources/qbd/credit-memos.d.ts +4 -4
- package/resources/qbd/employees.d.ts +76 -34
- package/resources/qbd/employees.d.ts.map +1 -1
- package/resources/qbd/employees.js.map +1 -1
- package/resources/qbd/employees.mjs.map +1 -1
- package/resources/qbd/estimates.d.ts +4 -4
- package/resources/qbd/index.d.ts +3 -1
- package/resources/qbd/index.d.ts.map +1 -1
- package/resources/qbd/index.js +7 -1
- package/resources/qbd/index.js.map +1 -1
- package/resources/qbd/index.mjs +2 -0
- package/resources/qbd/index.mjs.map +1 -1
- package/resources/qbd/inventory-adjustments.d.ts +4 -4
- package/resources/qbd/inventory-assembly-items.d.ts +1 -1
- package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
- package/resources/qbd/inventory-items.d.ts +1 -1
- package/resources/qbd/inventory-items.d.ts.map +1 -1
- package/resources/qbd/invoices.d.ts +4 -4
- package/resources/qbd/journal-entries.d.ts +4 -4
- package/resources/qbd/purchase-orders.d.ts +4 -4
- package/resources/qbd/qbd.d.ts +36 -0
- package/resources/qbd/qbd.d.ts.map +1 -1
- package/resources/qbd/qbd.js +25 -0
- package/resources/qbd/qbd.js.map +1 -1
- package/resources/qbd/qbd.mjs +25 -0
- package/resources/qbd/qbd.mjs.map +1 -1
- package/resources/qbd/receive-payments.d.ts +4 -4
- package/resources/qbd/sales-orders.d.ts +4 -4
- package/resources/qbd/sales-receipts.d.ts +4 -4
- package/resources/qbd/time-tracking-activities.d.ts +485 -0
- package/resources/qbd/time-tracking-activities.d.ts.map +1 -0
- package/resources/qbd/time-tracking-activities.js +66 -0
- package/resources/qbd/time-tracking-activities.js.map +1 -0
- package/resources/qbd/time-tracking-activities.mjs +61 -0
- package/resources/qbd/time-tracking-activities.mjs.map +1 -0
- package/resources/qbd/transactions.d.ts +312 -0
- package/resources/qbd/transactions.d.ts.map +1 -0
- package/resources/qbd/transactions.js +41 -0
- package/resources/qbd/transactions.js.map +1 -0
- package/resources/qbd/transactions.mjs +36 -0
- package/resources/qbd/transactions.mjs.map +1 -0
- package/resources/qbd/transfers.d.ts +4 -4
- package/resources/qbd/vendor-credits.d.ts +4 -4
- package/resources/qbd/vendors.d.ts +4 -4
- package/src/index.ts +6 -4
- package/src/resources/auth-sessions.ts +11 -18
- package/src/resources/end-users.ts +19 -40
- package/src/resources/index.ts +1 -2
- package/src/resources/qbd/bill-check-payments.ts +4 -4
- package/src/resources/qbd/bill-credit-card-payments.ts +4 -4
- package/src/resources/qbd/bills.ts +4 -4
- package/src/resources/qbd/checks.ts +4 -4
- package/src/resources/qbd/credit-card-charges.ts +4 -4
- package/src/resources/qbd/credit-card-credits.ts +4 -4
- package/src/resources/qbd/credit-memos.ts +4 -4
- package/src/resources/qbd/employees.ts +76 -34
- package/src/resources/qbd/estimates.ts +4 -4
- package/src/resources/qbd/index.ts +19 -1
- package/src/resources/qbd/inventory-adjustments.ts +4 -4
- package/src/resources/qbd/inventory-assembly-items.ts +1 -1
- package/src/resources/qbd/inventory-items.ts +1 -1
- package/src/resources/qbd/invoices.ts +4 -4
- package/src/resources/qbd/journal-entries.ts +4 -4
- package/src/resources/qbd/purchase-orders.ts +4 -4
- package/src/resources/qbd/qbd.ts +92 -0
- package/src/resources/qbd/receive-payments.ts +4 -4
- package/src/resources/qbd/sales-orders.ts +4 -4
- package/src/resources/qbd/sales-receipts.ts +4 -4
- package/src/resources/qbd/time-tracking-activities.ts +615 -0
- package/src/resources/qbd/transactions.ts +441 -0
- package/src/resources/qbd/transfers.ts +4 -4
- package/src/resources/qbd/vendor-credits.ts +4 -4
- package/src/resources/qbd/vendors.ts +4 -4
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -5,28 +5,28 @@ import * as Core from '../core';
|
|
|
5
5
|
|
|
6
6
|
export class EndUsers extends APIResource {
|
|
7
7
|
/**
|
|
8
|
-
* Creates an
|
|
8
|
+
* Creates an end-user.
|
|
9
9
|
*/
|
|
10
10
|
create(body: EndUserCreateParams, options?: Core.RequestOptions): Core.APIPromise<EndUser> {
|
|
11
11
|
return this._client.post('/end-users', { body, ...options });
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Retrieves an
|
|
15
|
+
* Retrieves an end-user object.
|
|
16
16
|
*/
|
|
17
17
|
retrieve(id: string, options?: Core.RequestOptions): Core.APIPromise<EndUser> {
|
|
18
18
|
return this._client.get(`/end-users/${id}`, options);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns a list of your
|
|
22
|
+
* Returns a list of your end-users.
|
|
23
23
|
*/
|
|
24
24
|
list(options?: Core.RequestOptions): Core.APIPromise<EndUserListResponse> {
|
|
25
25
|
return this._client.get('/end-users', options);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* Permanently deletes an
|
|
29
|
+
* Permanently deletes an end-user object and all of its connections.
|
|
30
30
|
*/
|
|
31
31
|
delete(id: string, options?: Core.RequestOptions): Core.APIPromise<EndUserDeleteResponse> {
|
|
32
32
|
return this._client.delete(`/end-users/${id}`, options);
|
|
@@ -44,46 +44,33 @@ export class EndUsers extends APIResource {
|
|
|
44
44
|
): Core.APIPromise<EndUserPassthroughResponse> {
|
|
45
45
|
return this._client.post(`/end-users/${id}/passthrough/${integrationSlug}`, { body, ...options });
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Checks whether the specified IntegrationConnection can connect and process
|
|
50
|
-
* requests end-to-end. This is useful for showing a "connection status" indicator
|
|
51
|
-
* in your app.
|
|
52
|
-
*/
|
|
53
|
-
ping(
|
|
54
|
-
id: string,
|
|
55
|
-
integrationSlug: 'quickbooks_desktop',
|
|
56
|
-
options?: Core.RequestOptions,
|
|
57
|
-
): Core.APIPromise<EndUserPingResponse> {
|
|
58
|
-
return this._client.get(`/end-users/${id}/ping/${integrationSlug}`, options);
|
|
59
|
-
}
|
|
60
47
|
}
|
|
61
48
|
|
|
62
49
|
export interface EndUser {
|
|
63
50
|
/**
|
|
64
|
-
* The unique identifier for this
|
|
51
|
+
* The unique identifier for this end-user. You must save this value to your
|
|
65
52
|
* database because it is how you identify which of your users to receive your API
|
|
66
53
|
* requests.
|
|
67
54
|
*/
|
|
68
55
|
id: string;
|
|
69
56
|
|
|
70
57
|
/**
|
|
71
|
-
* The
|
|
58
|
+
* The end-user's company name that will be shown elsewhere in Conductor.
|
|
72
59
|
*/
|
|
73
60
|
companyName: string;
|
|
74
61
|
|
|
75
62
|
/**
|
|
76
|
-
* The date and time when this
|
|
63
|
+
* The date and time when this end-user record was created.
|
|
77
64
|
*/
|
|
78
65
|
createdAt: string;
|
|
79
66
|
|
|
80
67
|
/**
|
|
81
|
-
* The
|
|
68
|
+
* The end-user's email address for identification purposes.
|
|
82
69
|
*/
|
|
83
70
|
email: string;
|
|
84
71
|
|
|
85
72
|
/**
|
|
86
|
-
* The
|
|
73
|
+
* The end-user's integration connections.
|
|
87
74
|
*/
|
|
88
75
|
integrationConnections: Array<EndUser.IntegrationConnection>;
|
|
89
76
|
|
|
@@ -93,7 +80,7 @@ export interface EndUser {
|
|
|
93
80
|
objectType: 'end_user';
|
|
94
81
|
|
|
95
82
|
/**
|
|
96
|
-
* The
|
|
83
|
+
* The end-user's unique identifier from your system. Maps users between your
|
|
97
84
|
* database and Conductor.
|
|
98
85
|
*/
|
|
99
86
|
sourceId: string;
|
|
@@ -102,12 +89,12 @@ export interface EndUser {
|
|
|
102
89
|
export namespace EndUser {
|
|
103
90
|
export interface IntegrationConnection {
|
|
104
91
|
/**
|
|
105
|
-
* The unique identifier for this
|
|
92
|
+
* The unique identifier for this integration connection.
|
|
106
93
|
*/
|
|
107
94
|
id: string;
|
|
108
95
|
|
|
109
96
|
/**
|
|
110
|
-
* The date and time when this
|
|
97
|
+
* The date and time when this integration connection record was created.
|
|
111
98
|
*/
|
|
112
99
|
createdAt: string;
|
|
113
100
|
|
|
@@ -117,14 +104,14 @@ export namespace EndUser {
|
|
|
117
104
|
integrationSlug: 'quickbooks_desktop';
|
|
118
105
|
|
|
119
106
|
/**
|
|
120
|
-
* The date and time of your last API request to this
|
|
107
|
+
* The date and time of your last API request to this integration connection.
|
|
121
108
|
*/
|
|
122
109
|
lastRequestAt: string | null;
|
|
123
110
|
|
|
124
111
|
/**
|
|
125
|
-
* The date and time of your last _successful_ API request to this
|
|
126
|
-
*
|
|
127
|
-
*
|
|
112
|
+
* The date and time of your last _successful_ API request to this integration
|
|
113
|
+
* connection. A successful request means the integration fully processed and
|
|
114
|
+
* returned a response without any errors end-to-end.
|
|
128
115
|
*/
|
|
129
116
|
lastSuccessfulRequestAt: string | null;
|
|
130
117
|
|
|
@@ -137,7 +124,7 @@ export namespace EndUser {
|
|
|
137
124
|
|
|
138
125
|
export interface EndUserListResponse {
|
|
139
126
|
/**
|
|
140
|
-
* The array of
|
|
127
|
+
* The array of end-users.
|
|
141
128
|
*/
|
|
142
129
|
data: Array<EndUser>;
|
|
143
130
|
|
|
@@ -154,12 +141,12 @@ export interface EndUserListResponse {
|
|
|
154
141
|
|
|
155
142
|
export interface EndUserDeleteResponse {
|
|
156
143
|
/**
|
|
157
|
-
* The ID of the deleted
|
|
144
|
+
* The ID of the deleted end-user.
|
|
158
145
|
*/
|
|
159
146
|
id: string;
|
|
160
147
|
|
|
161
148
|
/**
|
|
162
|
-
* Indicates whether the
|
|
149
|
+
* Indicates whether the end-user was deleted.
|
|
163
150
|
*/
|
|
164
151
|
deleted: boolean;
|
|
165
152
|
|
|
@@ -174,13 +161,6 @@ export interface EndUserDeleteResponse {
|
|
|
174
161
|
*/
|
|
175
162
|
export type EndUserPassthroughResponse = Record<string, unknown>;
|
|
176
163
|
|
|
177
|
-
export interface EndUserPingResponse {
|
|
178
|
-
/**
|
|
179
|
-
* The time, in milliseconds, that it took to ping the connection.
|
|
180
|
-
*/
|
|
181
|
-
duration: number;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
164
|
export interface EndUserCreateParams {
|
|
185
165
|
/**
|
|
186
166
|
* The end-user's company name that will be shown elsewhere in Conductor.
|
|
@@ -209,7 +189,6 @@ export declare namespace EndUsers {
|
|
|
209
189
|
type EndUserListResponse as EndUserListResponse,
|
|
210
190
|
type EndUserDeleteResponse as EndUserDeleteResponse,
|
|
211
191
|
type EndUserPassthroughResponse as EndUserPassthroughResponse,
|
|
212
|
-
type EndUserPingResponse as EndUserPingResponse,
|
|
213
192
|
type EndUserCreateParams as EndUserCreateParams,
|
|
214
193
|
type EndUserPassthroughParams as EndUserPassthroughParams,
|
|
215
194
|
};
|
package/src/resources/index.ts
CHANGED
|
@@ -7,8 +7,7 @@ export {
|
|
|
7
7
|
type EndUserListResponse,
|
|
8
8
|
type EndUserDeleteResponse,
|
|
9
9
|
type EndUserPassthroughResponse,
|
|
10
|
-
type EndUserPingResponse,
|
|
11
10
|
type EndUserCreateParams,
|
|
12
11
|
type EndUserPassthroughParams,
|
|
13
12
|
} from './end-users';
|
|
14
|
-
export { Qbd } from './qbd/qbd';
|
|
13
|
+
export { Qbd, type QbdHealthCheckResponse, type QbdHealthCheckParams } from './qbd/qbd';
|
|
@@ -1030,14 +1030,14 @@ export interface BillCheckPaymentListParams extends CursorPageParams {
|
|
|
1030
1030
|
refNumberTo?: string;
|
|
1031
1031
|
|
|
1032
1032
|
/**
|
|
1033
|
-
* Query param: Filter for bill check payments
|
|
1034
|
-
* ISO 8601 format (YYYY-MM-DD).
|
|
1033
|
+
* Query param: Filter for bill check payments whose `date` field is on or after
|
|
1034
|
+
* this date, in ISO 8601 format (YYYY-MM-DD).
|
|
1035
1035
|
*/
|
|
1036
1036
|
transactionDateFrom?: string;
|
|
1037
1037
|
|
|
1038
1038
|
/**
|
|
1039
|
-
* Query param: Filter for bill check payments
|
|
1040
|
-
* ISO 8601 format (YYYY-MM-DD).
|
|
1039
|
+
* Query param: Filter for bill check payments whose `date` field is on or before
|
|
1040
|
+
* this date, in ISO 8601 format (YYYY-MM-DD).
|
|
1041
1041
|
*/
|
|
1042
1042
|
transactionDateTo?: string;
|
|
1043
1043
|
|
|
@@ -796,14 +796,14 @@ export interface BillCreditCardPaymentListParams extends CursorPageParams {
|
|
|
796
796
|
refNumberTo?: string;
|
|
797
797
|
|
|
798
798
|
/**
|
|
799
|
-
* Query param: Filter for bill credit card payments
|
|
800
|
-
* in ISO 8601 format (YYYY-MM-DD).
|
|
799
|
+
* Query param: Filter for bill credit card payments whose `date` field is on or
|
|
800
|
+
* after this date, in ISO 8601 format (YYYY-MM-DD).
|
|
801
801
|
*/
|
|
802
802
|
transactionDateFrom?: string;
|
|
803
803
|
|
|
804
804
|
/**
|
|
805
|
-
* Query param: Filter for bill credit card payments
|
|
806
|
-
* date, in ISO 8601 format (YYYY-MM-DD).
|
|
805
|
+
* Query param: Filter for bill credit card payments whose `date` field is on or
|
|
806
|
+
* before this date, in ISO 8601 format (YYYY-MM-DD).
|
|
807
807
|
*/
|
|
808
808
|
transactionDateTo?: string;
|
|
809
809
|
|
|
@@ -2984,14 +2984,14 @@ export interface BillListParams extends CursorPageParams {
|
|
|
2984
2984
|
refNumberTo?: string;
|
|
2985
2985
|
|
|
2986
2986
|
/**
|
|
2987
|
-
* Query param: Filter for bills
|
|
2988
|
-
* (YYYY-MM-DD).
|
|
2987
|
+
* Query param: Filter for bills whose `date` field is on or after this date, in
|
|
2988
|
+
* ISO 8601 format (YYYY-MM-DD).
|
|
2989
2989
|
*/
|
|
2990
2990
|
transactionDateFrom?: string;
|
|
2991
2991
|
|
|
2992
2992
|
/**
|
|
2993
|
-
* Query param: Filter for bills
|
|
2994
|
-
* (YYYY-MM-DD).
|
|
2993
|
+
* Query param: Filter for bills whose `date` field is on or before this date, in
|
|
2994
|
+
* ISO 8601 format (YYYY-MM-DD).
|
|
2995
2995
|
*/
|
|
2996
2996
|
transactionDateTo?: string;
|
|
2997
2997
|
|
|
@@ -2953,14 +2953,14 @@ export interface CheckListParams extends CursorPageParams {
|
|
|
2953
2953
|
refNumberTo?: string;
|
|
2954
2954
|
|
|
2955
2955
|
/**
|
|
2956
|
-
* Query param: Filter for checks
|
|
2957
|
-
* (YYYY-MM-DD).
|
|
2956
|
+
* Query param: Filter for checks whose `date` field is on or after this date, in
|
|
2957
|
+
* ISO 8601 format (YYYY-MM-DD).
|
|
2958
2958
|
*/
|
|
2959
2959
|
transactionDateFrom?: string;
|
|
2960
2960
|
|
|
2961
2961
|
/**
|
|
2962
|
-
* Query param: Filter for checks
|
|
2963
|
-
* format (YYYY-MM-DD).
|
|
2962
|
+
* Query param: Filter for checks whose `date` field is on or before this date, in
|
|
2963
|
+
* ISO 8601 format (YYYY-MM-DD).
|
|
2964
2964
|
*/
|
|
2965
2965
|
transactionDateTo?: string;
|
|
2966
2966
|
|
|
@@ -2596,14 +2596,14 @@ export interface CreditCardChargeListParams extends CursorPageParams {
|
|
|
2596
2596
|
refNumberTo?: string;
|
|
2597
2597
|
|
|
2598
2598
|
/**
|
|
2599
|
-
* Query param: Filter for credit card charges
|
|
2600
|
-
* ISO 8601 format (YYYY-MM-DD).
|
|
2599
|
+
* Query param: Filter for credit card charges whose `date` field is on or after
|
|
2600
|
+
* this date, in ISO 8601 format (YYYY-MM-DD).
|
|
2601
2601
|
*/
|
|
2602
2602
|
transactionDateFrom?: string;
|
|
2603
2603
|
|
|
2604
2604
|
/**
|
|
2605
|
-
* Query param: Filter for credit card charges
|
|
2606
|
-
* ISO 8601 format (YYYY-MM-DD).
|
|
2605
|
+
* Query param: Filter for credit card charges whose `date` field is on or before
|
|
2606
|
+
* this date, in ISO 8601 format (YYYY-MM-DD).
|
|
2607
2607
|
*/
|
|
2608
2608
|
transactionDateTo?: string;
|
|
2609
2609
|
|
|
@@ -2593,14 +2593,14 @@ export interface CreditCardCreditListParams extends CursorPageParams {
|
|
|
2593
2593
|
refNumberTo?: string;
|
|
2594
2594
|
|
|
2595
2595
|
/**
|
|
2596
|
-
* Query param: Filter for credit card credits
|
|
2597
|
-
* ISO 8601 format (YYYY-MM-DD).
|
|
2596
|
+
* Query param: Filter for credit card credits whose `date` field is on or after
|
|
2597
|
+
* this date, in ISO 8601 format (YYYY-MM-DD).
|
|
2598
2598
|
*/
|
|
2599
2599
|
transactionDateFrom?: string;
|
|
2600
2600
|
|
|
2601
2601
|
/**
|
|
2602
|
-
* Query param: Filter for credit card credits
|
|
2603
|
-
* ISO 8601 format (YYYY-MM-DD).
|
|
2602
|
+
* Query param: Filter for credit card credits whose `date` field is on or before
|
|
2603
|
+
* this date, in ISO 8601 format (YYYY-MM-DD).
|
|
2604
2604
|
*/
|
|
2605
2605
|
transactionDateTo?: string;
|
|
2606
2606
|
|
|
@@ -3107,14 +3107,14 @@ export interface CreditMemoListParams extends CursorPageParams {
|
|
|
3107
3107
|
refNumberTo?: string;
|
|
3108
3108
|
|
|
3109
3109
|
/**
|
|
3110
|
-
* Query param: Filter for credit memos
|
|
3111
|
-
* format (YYYY-MM-DD).
|
|
3110
|
+
* Query param: Filter for credit memos whose `date` field is on or after this
|
|
3111
|
+
* date, in ISO 8601 format (YYYY-MM-DD).
|
|
3112
3112
|
*/
|
|
3113
3113
|
transactionDateFrom?: string;
|
|
3114
3114
|
|
|
3115
3115
|
/**
|
|
3116
|
-
* Query param: Filter for credit memos
|
|
3117
|
-
* format (YYYY-MM-DD).
|
|
3116
|
+
* Query param: Filter for credit memos whose `date` field is on or before this
|
|
3117
|
+
* date, in ISO 8601 format (YYYY-MM-DD).
|
|
3118
3118
|
*/
|
|
3119
3119
|
transactionDateTo?: string;
|
|
3120
3120
|
|
|
@@ -108,7 +108,7 @@ export interface Employee {
|
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* The employee's billing rate, used to override service item rates in time
|
|
111
|
-
* tracking
|
|
111
|
+
* tracking activities.
|
|
112
112
|
*/
|
|
113
113
|
billingRate: Employee.BillingRate | null;
|
|
114
114
|
|
|
@@ -513,7 +513,7 @@ export namespace Employee {
|
|
|
513
513
|
|
|
514
514
|
/**
|
|
515
515
|
* The employee's billing rate, used to override service item rates in time
|
|
516
|
-
* tracking
|
|
516
|
+
* tracking activities.
|
|
517
517
|
*/
|
|
518
518
|
export interface BillingRate {
|
|
519
519
|
/**
|
|
@@ -779,23 +779,30 @@ export namespace Employee {
|
|
|
779
779
|
accrualStartDate: string | null;
|
|
780
780
|
|
|
781
781
|
/**
|
|
782
|
-
* The number of sick hours the employee will accrue per accrual period
|
|
782
|
+
* The number of sick hours the employee will accrue per accrual period, in ISO
|
|
783
|
+
* 8601 format for time intervals (PTnHnMnS). For example, 1 hour and 30 minutes is
|
|
784
|
+
* represented as PT1H30M.
|
|
783
785
|
*/
|
|
784
786
|
hoursAccruedPerPeriod: string | null;
|
|
785
787
|
|
|
786
788
|
/**
|
|
787
|
-
* The total number of sick hours currently available for the employee to use
|
|
788
|
-
*
|
|
789
|
+
* The total number of sick hours currently available for the employee to use, in
|
|
790
|
+
* ISO 8601 format for time intervals (PTnHnMnS). For example, 1 hour and 30
|
|
791
|
+
* minutes is represented as PT1H30M. Defaults to 0.
|
|
789
792
|
*/
|
|
790
793
|
hoursAvailable: string | null;
|
|
791
794
|
|
|
792
795
|
/**
|
|
793
|
-
* The number of sick hours the employee has used
|
|
796
|
+
* The number of sick hours the employee has used, in ISO 8601 format for time
|
|
797
|
+
* intervals (PTnHnMnS). For example, 1 hour and 30 minutes is represented as
|
|
798
|
+
* PT1H30M.
|
|
794
799
|
*/
|
|
795
800
|
hoursUsed: string | null;
|
|
796
801
|
|
|
797
802
|
/**
|
|
798
|
-
* The maximum number of sick hours the employee can accrue
|
|
803
|
+
* The maximum number of sick hours the employee can accrue, in ISO 8601 format for
|
|
804
|
+
* time intervals (PTnHnMnS). For example, 1 hour and 30 minutes is represented as
|
|
805
|
+
* PT1H30M.
|
|
799
806
|
*/
|
|
800
807
|
maximumHours: string | null;
|
|
801
808
|
|
|
@@ -823,23 +830,30 @@ export namespace Employee {
|
|
|
823
830
|
accrualStartDate: string | null;
|
|
824
831
|
|
|
825
832
|
/**
|
|
826
|
-
* The number of vacation hours the employee will accrue per accrual period
|
|
833
|
+
* The number of vacation hours the employee will accrue per accrual period, in ISO
|
|
834
|
+
* 8601 format for time intervals (PTnHnMnS). For example, 1 hour and 30 minutes is
|
|
835
|
+
* represented as PT1H30M.
|
|
827
836
|
*/
|
|
828
837
|
hoursAccruedPerPeriod: string | null;
|
|
829
838
|
|
|
830
839
|
/**
|
|
831
|
-
* The total number of vacation hours currently available for the employee to use
|
|
832
|
-
*
|
|
840
|
+
* The total number of vacation hours currently available for the employee to use,
|
|
841
|
+
* in ISO 8601 format for time intervals (PTnHnMnS). For example, 1 hour and 30
|
|
842
|
+
* minutes is represented as PT1H30M. Defaults to 0.
|
|
833
843
|
*/
|
|
834
844
|
hoursAvailable: string | null;
|
|
835
845
|
|
|
836
846
|
/**
|
|
837
|
-
* The number of vacation hours the employee has used
|
|
847
|
+
* The number of vacation hours the employee has used, in ISO 8601 format for time
|
|
848
|
+
* intervals (PTnHnMnS). For example, 1 hour and 30 minutes is represented as
|
|
849
|
+
* PT1H30M.
|
|
838
850
|
*/
|
|
839
851
|
hoursUsed: string | null;
|
|
840
852
|
|
|
841
853
|
/**
|
|
842
|
-
* The maximum number of vacation hours the employee can accrue
|
|
854
|
+
* The maximum number of vacation hours the employee can accrue, in ISO 8601 format
|
|
855
|
+
* for time intervals (PTnHnMnS). For example, 1 hour and 30 minutes is represented
|
|
856
|
+
* as PT1H30M.
|
|
843
857
|
*/
|
|
844
858
|
maximumHours: string | null;
|
|
845
859
|
|
|
@@ -917,7 +931,7 @@ export interface EmployeeCreateParams {
|
|
|
917
931
|
|
|
918
932
|
/**
|
|
919
933
|
* Body param: The employee's billing rate, used to override service item rates in
|
|
920
|
-
* time tracking
|
|
934
|
+
* time tracking activities.
|
|
921
935
|
*/
|
|
922
936
|
billingRateId?: string;
|
|
923
937
|
|
|
@@ -1448,23 +1462,30 @@ export namespace EmployeeCreateParams {
|
|
|
1448
1462
|
accrualStartDate?: string;
|
|
1449
1463
|
|
|
1450
1464
|
/**
|
|
1451
|
-
* The number of sick hours the employee will accrue per accrual period
|
|
1465
|
+
* The number of sick hours the employee will accrue per accrual period, in ISO
|
|
1466
|
+
* 8601 format for time intervals (PTnHnMnS). For example, 1 hour and 30 minutes is
|
|
1467
|
+
* represented as PT1H30M.
|
|
1452
1468
|
*/
|
|
1453
1469
|
hoursAccruedPerPeriod?: string;
|
|
1454
1470
|
|
|
1455
1471
|
/**
|
|
1456
|
-
* The total number of sick hours currently available for the employee to use
|
|
1457
|
-
*
|
|
1472
|
+
* The total number of sick hours currently available for the employee to use, in
|
|
1473
|
+
* ISO 8601 format for time intervals (PTnHnMnS). For example, 1 hour and 30
|
|
1474
|
+
* minutes is represented as PT1H30M. Defaults to 0.
|
|
1458
1475
|
*/
|
|
1459
1476
|
hoursAvailable?: string;
|
|
1460
1477
|
|
|
1461
1478
|
/**
|
|
1462
|
-
* The number of sick hours the employee has used
|
|
1479
|
+
* The number of sick hours the employee has used, in ISO 8601 format for time
|
|
1480
|
+
* intervals (PTnHnMnS). For example, 1 hour and 30 minutes is represented as
|
|
1481
|
+
* PT1H30M.
|
|
1463
1482
|
*/
|
|
1464
1483
|
hoursUsed?: string;
|
|
1465
1484
|
|
|
1466
1485
|
/**
|
|
1467
|
-
* The maximum number of sick hours the employee can accrue
|
|
1486
|
+
* The maximum number of sick hours the employee can accrue, in ISO 8601 format for
|
|
1487
|
+
* time intervals (PTnHnMnS). For example, 1 hour and 30 minutes is represented as
|
|
1488
|
+
* PT1H30M.
|
|
1468
1489
|
*/
|
|
1469
1490
|
maximumHours?: string;
|
|
1470
1491
|
|
|
@@ -1492,23 +1513,30 @@ export namespace EmployeeCreateParams {
|
|
|
1492
1513
|
accrualStartDate?: string;
|
|
1493
1514
|
|
|
1494
1515
|
/**
|
|
1495
|
-
* The number of vacation hours the employee will accrue per accrual period
|
|
1516
|
+
* The number of vacation hours the employee will accrue per accrual period, in ISO
|
|
1517
|
+
* 8601 format for time intervals (PTnHnMnS). For example, 1 hour and 30 minutes is
|
|
1518
|
+
* represented as PT1H30M.
|
|
1496
1519
|
*/
|
|
1497
1520
|
hoursAccruedPerPeriod?: string;
|
|
1498
1521
|
|
|
1499
1522
|
/**
|
|
1500
|
-
* The total number of vacation hours currently available for the employee to use
|
|
1501
|
-
*
|
|
1523
|
+
* The total number of vacation hours currently available for the employee to use,
|
|
1524
|
+
* in ISO 8601 format for time intervals (PTnHnMnS). For example, 1 hour and 30
|
|
1525
|
+
* minutes is represented as PT1H30M. Defaults to 0.
|
|
1502
1526
|
*/
|
|
1503
1527
|
hoursAvailable?: string;
|
|
1504
1528
|
|
|
1505
1529
|
/**
|
|
1506
|
-
* The number of vacation hours the employee has used
|
|
1530
|
+
* The number of vacation hours the employee has used, in ISO 8601 format for time
|
|
1531
|
+
* intervals (PTnHnMnS). For example, 1 hour and 30 minutes is represented as
|
|
1532
|
+
* PT1H30M.
|
|
1507
1533
|
*/
|
|
1508
1534
|
hoursUsed?: string;
|
|
1509
1535
|
|
|
1510
1536
|
/**
|
|
1511
|
-
* The maximum number of vacation hours the employee can accrue
|
|
1537
|
+
* The maximum number of vacation hours the employee can accrue, in ISO 8601 format
|
|
1538
|
+
* for time intervals (PTnHnMnS). For example, 1 hour and 30 minutes is represented
|
|
1539
|
+
* as PT1H30M.
|
|
1512
1540
|
*/
|
|
1513
1541
|
maximumHours?: string;
|
|
1514
1542
|
|
|
@@ -1582,7 +1610,7 @@ export interface EmployeeUpdateParams {
|
|
|
1582
1610
|
|
|
1583
1611
|
/**
|
|
1584
1612
|
* Body param: The employee's billing rate, used to override service item rates in
|
|
1585
|
-
* time tracking
|
|
1613
|
+
* time tracking activities.
|
|
1586
1614
|
*/
|
|
1587
1615
|
billingRateId?: string;
|
|
1588
1616
|
|
|
@@ -2095,23 +2123,30 @@ export namespace EmployeeUpdateParams {
|
|
|
2095
2123
|
accrualStartDate?: string;
|
|
2096
2124
|
|
|
2097
2125
|
/**
|
|
2098
|
-
* The number of sick hours the employee will accrue per accrual period
|
|
2126
|
+
* The number of sick hours the employee will accrue per accrual period, in ISO
|
|
2127
|
+
* 8601 format for time intervals (PTnHnMnS). For example, 1 hour and 30 minutes is
|
|
2128
|
+
* represented as PT1H30M.
|
|
2099
2129
|
*/
|
|
2100
2130
|
hoursAccruedPerPeriod?: string;
|
|
2101
2131
|
|
|
2102
2132
|
/**
|
|
2103
|
-
* The total number of sick hours currently available for the employee to use
|
|
2104
|
-
*
|
|
2133
|
+
* The total number of sick hours currently available for the employee to use, in
|
|
2134
|
+
* ISO 8601 format for time intervals (PTnHnMnS). For example, 1 hour and 30
|
|
2135
|
+
* minutes is represented as PT1H30M. Defaults to 0.
|
|
2105
2136
|
*/
|
|
2106
2137
|
hoursAvailable?: string;
|
|
2107
2138
|
|
|
2108
2139
|
/**
|
|
2109
|
-
* The number of sick hours the employee has used
|
|
2140
|
+
* The number of sick hours the employee has used, in ISO 8601 format for time
|
|
2141
|
+
* intervals (PTnHnMnS). For example, 1 hour and 30 minutes is represented as
|
|
2142
|
+
* PT1H30M.
|
|
2110
2143
|
*/
|
|
2111
2144
|
hoursUsed?: string;
|
|
2112
2145
|
|
|
2113
2146
|
/**
|
|
2114
|
-
* The maximum number of sick hours the employee can accrue
|
|
2147
|
+
* The maximum number of sick hours the employee can accrue, in ISO 8601 format for
|
|
2148
|
+
* time intervals (PTnHnMnS). For example, 1 hour and 30 minutes is represented as
|
|
2149
|
+
* PT1H30M.
|
|
2115
2150
|
*/
|
|
2116
2151
|
maximumHours?: string;
|
|
2117
2152
|
|
|
@@ -2139,23 +2174,30 @@ export namespace EmployeeUpdateParams {
|
|
|
2139
2174
|
accrualStartDate?: string;
|
|
2140
2175
|
|
|
2141
2176
|
/**
|
|
2142
|
-
* The number of vacation hours the employee will accrue per accrual period
|
|
2177
|
+
* The number of vacation hours the employee will accrue per accrual period, in ISO
|
|
2178
|
+
* 8601 format for time intervals (PTnHnMnS). For example, 1 hour and 30 minutes is
|
|
2179
|
+
* represented as PT1H30M.
|
|
2143
2180
|
*/
|
|
2144
2181
|
hoursAccruedPerPeriod?: string;
|
|
2145
2182
|
|
|
2146
2183
|
/**
|
|
2147
|
-
* The total number of vacation hours currently available for the employee to use
|
|
2148
|
-
*
|
|
2184
|
+
* The total number of vacation hours currently available for the employee to use,
|
|
2185
|
+
* in ISO 8601 format for time intervals (PTnHnMnS). For example, 1 hour and 30
|
|
2186
|
+
* minutes is represented as PT1H30M. Defaults to 0.
|
|
2149
2187
|
*/
|
|
2150
2188
|
hoursAvailable?: string;
|
|
2151
2189
|
|
|
2152
2190
|
/**
|
|
2153
|
-
* The number of vacation hours the employee has used
|
|
2191
|
+
* The number of vacation hours the employee has used, in ISO 8601 format for time
|
|
2192
|
+
* intervals (PTnHnMnS). For example, 1 hour and 30 minutes is represented as
|
|
2193
|
+
* PT1H30M.
|
|
2154
2194
|
*/
|
|
2155
2195
|
hoursUsed?: string;
|
|
2156
2196
|
|
|
2157
2197
|
/**
|
|
2158
|
-
* The maximum number of vacation hours the employee can accrue
|
|
2198
|
+
* The maximum number of vacation hours the employee can accrue, in ISO 8601 format
|
|
2199
|
+
* for time intervals (PTnHnMnS). For example, 1 hour and 30 minutes is represented
|
|
2200
|
+
* as PT1H30M.
|
|
2159
2201
|
*/
|
|
2160
2202
|
maximumHours?: string;
|
|
2161
2203
|
|
|
@@ -2925,14 +2925,14 @@ export interface EstimateListParams extends CursorPageParams {
|
|
|
2925
2925
|
refNumberTo?: string;
|
|
2926
2926
|
|
|
2927
2927
|
/**
|
|
2928
|
-
* Query param: Filter for estimates
|
|
2929
|
-
* format (YYYY-MM-DD).
|
|
2928
|
+
* Query param: Filter for estimates whose `date` field is on or after this date,
|
|
2929
|
+
* in ISO 8601 format (YYYY-MM-DD).
|
|
2930
2930
|
*/
|
|
2931
2931
|
transactionDateFrom?: string;
|
|
2932
2932
|
|
|
2933
2933
|
/**
|
|
2934
|
-
* Query param: Filter for estimates
|
|
2935
|
-
* format (YYYY-MM-DD).
|
|
2934
|
+
* Query param: Filter for estimates whose `date` field is on or before this date,
|
|
2935
|
+
* in ISO 8601 format (YYYY-MM-DD).
|
|
2936
2936
|
*/
|
|
2937
2937
|
transactionDateTo?: string;
|
|
2938
2938
|
|
|
@@ -228,7 +228,7 @@ export {
|
|
|
228
228
|
type PurchaseOrderListParams,
|
|
229
229
|
type PurchaseOrderDeleteParams,
|
|
230
230
|
} from './purchase-orders';
|
|
231
|
-
export { Qbd } from './qbd';
|
|
231
|
+
export { Qbd, type QbdHealthCheckResponse, type QbdHealthCheckParams } from './qbd';
|
|
232
232
|
export {
|
|
233
233
|
ReceivePaymentsCursorPage,
|
|
234
234
|
ReceivePayments,
|
|
@@ -315,6 +315,24 @@ export {
|
|
|
315
315
|
type SubtotalItemUpdateParams,
|
|
316
316
|
type SubtotalItemListParams,
|
|
317
317
|
} from './subtotal-items';
|
|
318
|
+
export {
|
|
319
|
+
TimeTrackingActivitiesCursorPage,
|
|
320
|
+
TimeTrackingActivities,
|
|
321
|
+
type TimeTrackingActivity,
|
|
322
|
+
type TimeTrackingActivityDeleteResponse,
|
|
323
|
+
type TimeTrackingActivityCreateParams,
|
|
324
|
+
type TimeTrackingActivityRetrieveParams,
|
|
325
|
+
type TimeTrackingActivityUpdateParams,
|
|
326
|
+
type TimeTrackingActivityListParams,
|
|
327
|
+
type TimeTrackingActivityDeleteParams,
|
|
328
|
+
} from './time-tracking-activities';
|
|
329
|
+
export {
|
|
330
|
+
TransactionsCursorPage,
|
|
331
|
+
Transactions,
|
|
332
|
+
type Transaction,
|
|
333
|
+
type TransactionRetrieveParams,
|
|
334
|
+
type TransactionListParams,
|
|
335
|
+
} from './transactions';
|
|
318
336
|
export {
|
|
319
337
|
TransfersCursorPage,
|
|
320
338
|
Transfers,
|
|
@@ -960,14 +960,14 @@ export interface InventoryAdjustmentListParams {
|
|
|
960
960
|
refNumberTo?: string;
|
|
961
961
|
|
|
962
962
|
/**
|
|
963
|
-
* Query param: Filter for inventory adjustments
|
|
964
|
-
* ISO 8601 format (YYYY-MM-DD).
|
|
963
|
+
* Query param: Filter for inventory adjustments whose `date` field is on or after
|
|
964
|
+
* this date, in ISO 8601 format (YYYY-MM-DD).
|
|
965
965
|
*/
|
|
966
966
|
transactionDateFrom?: string;
|
|
967
967
|
|
|
968
968
|
/**
|
|
969
|
-
* Query param: Filter for inventory adjustments
|
|
970
|
-
* ISO 8601 format (YYYY-MM-DD).
|
|
969
|
+
* Query param: Filter for inventory adjustments whose `date` field is on or before
|
|
970
|
+
* this date, in ISO 8601 format (YYYY-MM-DD).
|
|
971
971
|
*/
|
|
972
972
|
transactionDateTo?: string;
|
|
973
973
|
|
|
@@ -229,7 +229,7 @@ export interface InventoryAssemblyItem {
|
|
|
229
229
|
* The number of units of this inventory assembly item that have been ordered from
|
|
230
230
|
* vendors (as recorded in purchase orders) but not yet received.
|
|
231
231
|
*/
|
|
232
|
-
|
|
232
|
+
quantityOnPurchaseOrder: number | null;
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
235
|
* The number of units of this inventory assembly item that have been sold (as
|
|
@@ -210,7 +210,7 @@ export interface InventoryItem {
|
|
|
210
210
|
* The number of units of this inventory item that have been ordered from vendors
|
|
211
211
|
* (as recorded in purchase orders) but not yet received.
|
|
212
212
|
*/
|
|
213
|
-
|
|
213
|
+
quantityOnPurchaseOrder: number | null;
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
216
|
* The number of units of this inventory item that have been sold (as recorded in
|