conductor-node 12.0.0-beta.2 → 12.0.0-beta.21

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.
Files changed (169) hide show
  1. package/CHANGELOG.md +223 -0
  2. package/README.md +1 -1
  3. package/core.js +2 -1
  4. package/core.js.map +1 -1
  5. package/core.mjs +2 -1
  6. package/core.mjs.map +1 -1
  7. package/index.d.mts +4 -4
  8. package/index.d.ts +4 -4
  9. package/index.d.ts.map +1 -1
  10. package/index.js.map +1 -1
  11. package/index.mjs.map +1 -1
  12. package/package.json +8 -29
  13. package/pagination.js +1 -1
  14. package/pagination.js.map +1 -1
  15. package/pagination.mjs +1 -1
  16. package/pagination.mjs.map +1 -1
  17. package/resources/auth-sessions.d.ts +12 -16
  18. package/resources/auth-sessions.d.ts.map +1 -1
  19. package/resources/auth-sessions.js +3 -9
  20. package/resources/auth-sessions.js.map +1 -1
  21. package/resources/auth-sessions.mjs +3 -9
  22. package/resources/auth-sessions.mjs.map +1 -1
  23. package/resources/end-users.d.ts +20 -32
  24. package/resources/end-users.d.ts.map +1 -1
  25. package/resources/end-users.js +4 -12
  26. package/resources/end-users.js.map +1 -1
  27. package/resources/end-users.mjs +4 -12
  28. package/resources/end-users.mjs.map +1 -1
  29. package/resources/index.d.ts +2 -2
  30. package/resources/index.d.ts.map +1 -1
  31. package/resources/index.js.map +1 -1
  32. package/resources/index.mjs.map +1 -1
  33. package/resources/qbd/bill-check-payments.d.ts +4 -4
  34. package/resources/qbd/bill-credit-card-payments.d.ts +4 -4
  35. package/resources/qbd/bills.d.ts +7 -8
  36. package/resources/qbd/bills.d.ts.map +1 -1
  37. package/resources/qbd/bills.js.map +1 -1
  38. package/resources/qbd/bills.mjs.map +1 -1
  39. package/resources/qbd/checks.d.ts +4 -4
  40. package/resources/qbd/company.d.ts +354 -0
  41. package/resources/qbd/company.d.ts.map +1 -0
  42. package/resources/qbd/company.js +22 -0
  43. package/resources/qbd/company.js.map +1 -0
  44. package/resources/qbd/company.mjs +18 -0
  45. package/resources/qbd/company.mjs.map +1 -0
  46. package/resources/qbd/credit-card-charges.d.ts +4 -4
  47. package/resources/qbd/credit-card-credits.d.ts +4 -4
  48. package/resources/qbd/credit-memos.d.ts +4 -4
  49. package/resources/qbd/customers.d.ts +2 -2
  50. package/resources/qbd/customers.d.ts.map +1 -1
  51. package/resources/qbd/employees.d.ts +89 -36
  52. package/resources/qbd/employees.d.ts.map +1 -1
  53. package/resources/qbd/employees.js.map +1 -1
  54. package/resources/qbd/employees.mjs.map +1 -1
  55. package/resources/qbd/estimates.d.ts +4 -4
  56. package/resources/qbd/index.d.ts +7 -1
  57. package/resources/qbd/index.d.ts.map +1 -1
  58. package/resources/qbd/index.js +17 -2
  59. package/resources/qbd/index.js.map +1 -1
  60. package/resources/qbd/index.mjs +6 -0
  61. package/resources/qbd/index.mjs.map +1 -1
  62. package/resources/qbd/inventory-adjustments.d.ts +4 -4
  63. package/resources/qbd/inventory-assembly-items.d.ts +1 -1
  64. package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
  65. package/resources/qbd/inventory-items.d.ts +1 -1
  66. package/resources/qbd/inventory-items.d.ts.map +1 -1
  67. package/resources/qbd/invoices.d.ts +4 -4
  68. package/resources/qbd/item-receipts.d.ts +2336 -0
  69. package/resources/qbd/item-receipts.d.ts.map +1 -0
  70. package/resources/qbd/item-receipts.js +69 -0
  71. package/resources/qbd/item-receipts.js.map +1 -0
  72. package/resources/qbd/item-receipts.mjs +64 -0
  73. package/resources/qbd/item-receipts.mjs.map +1 -0
  74. package/resources/qbd/journal-entries.d.ts +4 -4
  75. package/resources/qbd/preferences.d.ts +591 -0
  76. package/resources/qbd/preferences.d.ts.map +1 -0
  77. package/resources/qbd/preferences.js +21 -0
  78. package/resources/qbd/preferences.js.map +1 -0
  79. package/resources/qbd/preferences.mjs +17 -0
  80. package/resources/qbd/preferences.mjs.map +1 -0
  81. package/resources/qbd/price-levels.d.ts +454 -0
  82. package/resources/qbd/price-levels.d.ts.map +1 -0
  83. package/resources/qbd/price-levels.js +54 -0
  84. package/resources/qbd/price-levels.js.map +1 -0
  85. package/resources/qbd/price-levels.mjs +50 -0
  86. package/resources/qbd/price-levels.mjs.map +1 -0
  87. package/resources/qbd/purchase-orders.d.ts +4 -4
  88. package/resources/qbd/qbd.d.ts +52 -0
  89. package/resources/qbd/qbd.d.ts.map +1 -1
  90. package/resources/qbd/qbd.js +40 -0
  91. package/resources/qbd/qbd.js.map +1 -1
  92. package/resources/qbd/qbd.mjs +40 -0
  93. package/resources/qbd/qbd.mjs.map +1 -1
  94. package/resources/qbd/receive-payments.d.ts +4 -4
  95. package/resources/qbd/sales-orders.d.ts +4 -4
  96. package/resources/qbd/sales-receipts.d.ts +4 -4
  97. package/resources/qbd/time-tracking-activities.d.ts +485 -0
  98. package/resources/qbd/time-tracking-activities.d.ts.map +1 -0
  99. package/resources/qbd/time-tracking-activities.js +66 -0
  100. package/resources/qbd/time-tracking-activities.js.map +1 -0
  101. package/resources/qbd/time-tracking-activities.mjs +61 -0
  102. package/resources/qbd/time-tracking-activities.mjs.map +1 -0
  103. package/resources/qbd/transactions.d.ts +310 -0
  104. package/resources/qbd/transactions.d.ts.map +1 -0
  105. package/resources/qbd/transactions.js +40 -0
  106. package/resources/qbd/transactions.js.map +1 -0
  107. package/resources/qbd/transactions.mjs +35 -0
  108. package/resources/qbd/transactions.mjs.map +1 -0
  109. package/resources/qbd/transfers.d.ts +4 -4
  110. package/resources/qbd/vendor-credits.d.ts +4 -4
  111. package/resources/qbd/vendors.d.ts +6 -6
  112. package/resources/qbd/vendors.d.ts.map +1 -1
  113. package/resources/qbd.d.ts +2 -0
  114. package/resources/qbd.d.ts.map +1 -0
  115. package/resources/qbd.js +19 -0
  116. package/resources/qbd.js.map +1 -0
  117. package/resources/qbd.mjs +3 -0
  118. package/resources/qbd.mjs.map +1 -0
  119. package/resources.d.ts +2 -0
  120. package/resources.d.ts.map +1 -0
  121. package/resources.js +18 -0
  122. package/resources.js.map +1 -0
  123. package/resources.mjs +2 -0
  124. package/resources.mjs.map +1 -0
  125. package/src/core.ts +3 -3
  126. package/src/index.ts +6 -4
  127. package/src/pagination.ts +1 -1
  128. package/src/resources/auth-sessions.ts +12 -19
  129. package/src/resources/end-users.ts +19 -40
  130. package/src/resources/index.ts +1 -2
  131. package/src/resources/qbd/bill-check-payments.ts +4 -4
  132. package/src/resources/qbd/bill-credit-card-payments.ts +4 -4
  133. package/src/resources/qbd/bills.ts +7 -8
  134. package/src/resources/qbd/checks.ts +4 -4
  135. package/src/resources/qbd/company.ts +466 -0
  136. package/src/resources/qbd/credit-card-charges.ts +4 -4
  137. package/src/resources/qbd/credit-card-credits.ts +4 -4
  138. package/src/resources/qbd/credit-memos.ts +4 -4
  139. package/src/resources/qbd/customers.ts +2 -2
  140. package/src/resources/qbd/employees.ts +90 -36
  141. package/src/resources/qbd/estimates.ts +4 -4
  142. package/src/resources/qbd/index.ts +41 -1
  143. package/src/resources/qbd/inventory-adjustments.ts +4 -4
  144. package/src/resources/qbd/inventory-assembly-items.ts +1 -1
  145. package/src/resources/qbd/inventory-items.ts +1 -1
  146. package/src/resources/qbd/invoices.ts +4 -4
  147. package/src/resources/qbd/item-receipts.ts +2783 -0
  148. package/src/resources/qbd/journal-entries.ts +4 -4
  149. package/src/resources/qbd/preferences.ts +684 -0
  150. package/src/resources/qbd/price-levels.ts +561 -0
  151. package/src/resources/qbd/purchase-orders.ts +4 -4
  152. package/src/resources/qbd/qbd.ts +156 -0
  153. package/src/resources/qbd/receive-payments.ts +4 -4
  154. package/src/resources/qbd/sales-orders.ts +4 -4
  155. package/src/resources/qbd/sales-receipts.ts +4 -4
  156. package/src/resources/qbd/time-tracking-activities.ts +615 -0
  157. package/src/resources/qbd/transactions.ts +439 -0
  158. package/src/resources/qbd/transfers.ts +4 -4
  159. package/src/resources/qbd/vendor-credits.ts +4 -4
  160. package/src/resources/qbd/vendors.ts +6 -6
  161. package/src/resources/qbd.ts +3 -0
  162. package/src/resources.ts +1 -0
  163. package/src/version.ts +1 -1
  164. package/version.d.ts +1 -1
  165. package/version.d.ts.map +1 -1
  166. package/version.js +1 -1
  167. package/version.js.map +1 -1
  168. package/version.mjs +1 -1
  169. package/version.mjs.map +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resources.mjs","sourceRoot":"","sources":["src/resources.ts"],"names":[],"mappings":""}
package/src/core.ts CHANGED
@@ -48,8 +48,8 @@ async function defaultParseResponse<T>(props: APIResponseProps): Promise<T> {
48
48
  }
49
49
 
50
50
  const contentType = response.headers.get('content-type');
51
- const isJSON =
52
- contentType?.includes('application/json') || contentType?.includes('application/vnd.api+json');
51
+ const mediaType = contentType?.split(';')[0]?.trim();
52
+ const isJSON = mediaType?.includes('application/json') || mediaType?.endsWith('+json');
53
53
  if (isJSON) {
54
54
  const json = await response.json();
55
55
 
@@ -395,7 +395,7 @@ export abstract class APIClient {
395
395
  !headers ? {}
396
396
  : Symbol.iterator in headers ?
397
397
  Object.fromEntries(Array.from(headers as Iterable<string[]>).map((header) => [...header]))
398
- : { ...headers }
398
+ : { ...(headers as any as Record<string, string>) }
399
399
  );
400
400
  }
401
401
 
package/src/index.ts CHANGED
@@ -16,10 +16,9 @@ import {
16
16
  EndUserListResponse,
17
17
  EndUserPassthroughParams,
18
18
  EndUserPassthroughResponse,
19
- EndUserPingResponse,
20
19
  EndUsers,
21
20
  } from './resources/end-users';
22
- import { Qbd } from './resources/qbd/qbd';
21
+ import { Qbd, QbdHealthCheckParams, QbdHealthCheckResponse } from './resources/qbd/qbd';
23
22
 
24
23
  export interface ClientOptions {
25
24
  /**
@@ -199,12 +198,15 @@ export declare namespace Conductor {
199
198
  type EndUserListResponse as EndUserListResponse,
200
199
  type EndUserDeleteResponse as EndUserDeleteResponse,
201
200
  type EndUserPassthroughResponse as EndUserPassthroughResponse,
202
- type EndUserPingResponse as EndUserPingResponse,
203
201
  type EndUserCreateParams as EndUserCreateParams,
204
202
  type EndUserPassthroughParams as EndUserPassthroughParams,
205
203
  };
206
204
 
207
- export { Qbd as Qbd };
205
+ export {
206
+ Qbd as Qbd,
207
+ type QbdHealthCheckResponse as QbdHealthCheckResponse,
208
+ type QbdHealthCheckParams as QbdHealthCheckParams,
209
+ };
208
210
  }
209
211
 
210
212
  export { toFile, fileFromPath } from './uploads';
package/src/pagination.ts CHANGED
@@ -53,7 +53,7 @@ export class CursorPage<Item> extends AbstractPage<Item> implements CursorPageRe
53
53
 
54
54
  return {
55
55
  params: {
56
- cursor: cursor,
56
+ cursor,
57
57
  },
58
58
  };
59
59
  }
@@ -5,31 +5,24 @@ import * as Core from '../core';
5
5
 
6
6
  export class AuthSessions extends APIResource {
7
7
  /**
8
- * To launch the authentication flow, create an AuthSession and pass the returned
9
- * sessions `authFlowUrl` to the client for your end-user to visit in their
10
- * browser.
8
+ * To launch the authentication flow, create an auth session and pass the returned
9
+ * session's `authFlowUrl` to the client for your end-user to visit in their
10
+ * browser. Demo: https://connect.conductor.is/qbd/demo
11
11
  */
12
12
  create(body: AuthSessionCreateParams, options?: Core.RequestOptions): Core.APIPromise<AuthSession> {
13
13
  return this._client.post('/auth-sessions', { body, ...options });
14
14
  }
15
-
16
- /**
17
- * Retrieves the details of an AuthSession that has previously been created.
18
- */
19
- retrieve(id: string, options?: Core.RequestOptions): Core.APIPromise<AuthSession> {
20
- return this._client.get(`/auth-sessions/${id}`, options);
21
- }
22
15
  }
23
16
 
24
17
  export interface AuthSession {
25
18
  /**
26
- * The unique identifier for this AuthSession.
19
+ * The unique identifier for this auth session.
27
20
  */
28
21
  id: string;
29
22
 
30
23
  /**
31
24
  * The URL of the authentication flow that you will pass to your client for your
32
- * user to set up their IntegrationConnection.
25
+ * user to set up their integration connection.
33
26
  */
34
27
  authFlowUrl: string;
35
28
 
@@ -39,19 +32,19 @@ export interface AuthSession {
39
32
  clientSecret: string;
40
33
 
41
34
  /**
42
- * The date and time when this AuthSession record was created.
35
+ * The date and time when this auth session record was created.
43
36
  */
44
37
  createdAt: string;
45
38
 
46
39
  /**
47
- * The ID of the EndUser for whom to create an IntegrationConnection.
40
+ * The ID of the end-user for whom to create an integration connection.
48
41
  */
49
42
  endUserId: string;
50
43
 
51
44
  /**
52
- * The date and time when this AuthSession expires. By default, this value is 30
45
+ * The date and time when this auth session expires. By default, this value is 30
53
46
  * minutes from creation. You can extend this time by setting `linkExpiryMins` when
54
- * [creating the AuthSession](/apis/auth-sessions/create).
47
+ * creating the auth session.
55
48
  */
56
49
  expiresAt: string;
57
50
 
@@ -70,18 +63,18 @@ export interface AuthSession {
70
63
 
71
64
  export interface AuthSessionCreateParams {
72
65
  /**
73
- * The ID of the EndUser for whom to create the IntegrationConnection.
66
+ * The ID of the end-user for whom to create the integration connection.
74
67
  */
75
68
  endUserId: string;
76
69
 
77
70
  /**
78
- * Your Conductor publishable key, which we use to create the sessions
71
+ * Your Conductor publishable key, which we use to create the auth session's
79
72
  * `authFlowUrl`.
80
73
  */
81
74
  publishableKey: string;
82
75
 
83
76
  /**
84
- * The number of minutes after which the AuthSession will expire. Must be at least
77
+ * The number of minutes after which the auth session will expire. Must be at least
85
78
  * 15 minutes and no more than 7 days. If not provided, defaults to 30 minutes.
86
79
  */
87
80
  linkExpiryMins?: number;
@@ -5,28 +5,28 @@ import * as Core from '../core';
5
5
 
6
6
  export class EndUsers extends APIResource {
7
7
  /**
8
- * Creates an EndUser.
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 EndUser object.
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 EndUsers.
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 EndUser object and all of its connections.
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 EndUser. You must save this value to your
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 EndUser's company name that will be shown elsewhere in Conductor.
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 EndUser record was created.
63
+ * The date and time when this end-user record was created.
77
64
  */
78
65
  createdAt: string;
79
66
 
80
67
  /**
81
- * The EndUser's email address for identification purposes.
68
+ * The end-user's email address for identification purposes.
82
69
  */
83
70
  email: string;
84
71
 
85
72
  /**
86
- * The EndUser's IntegrationConnections.
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 EndUser's unique identifier from your system. Maps users between your
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 IntegrationConnection.
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 IntegrationConnection record was created.
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 IntegrationConnection.
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
- * IntegrationConnection. A successful request means the integration fully
127
- * processed and returned a response without any errors end-to-end.
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 EndUsers.
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 EndUser.
144
+ * The ID of the deleted end-user.
158
145
  */
159
146
  id: string;
160
147
 
161
148
  /**
162
- * Indicates whether the EndUser was deleted.
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
  };
@@ -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 created on or after this date, in
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 created on or before this date, in
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 created on or after this date,
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 created on or before this
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
 
@@ -1705,10 +1705,9 @@ export interface BillCreateParams {
1705
1705
  itemLines?: Array<BillCreateParams.ItemLine>;
1706
1706
 
1707
1707
  /**
1708
- * Body param: IDs of existing transactions that you wish to link to this bill,
1709
- * such as payments applied, credits used, or associated purchase orders. Note that
1710
- * this links entire transactions, not individual transaction lines. If you want to
1711
- * link individual lines in a transaction, instead use the field
1708
+ * Body param: IDs of existing purchase orders that you wish to link to this bill.
1709
+ * Note that this links entire transactions, not individual transaction lines. If
1710
+ * you want to link individual lines in a transaction, instead use the field
1712
1711
  * `linkToTransactionLine` on this bill's lines, if available.
1713
1712
  *
1714
1713
  * Transactions can only be linked when creating this bill and cannot be unlinked
@@ -2984,14 +2983,14 @@ export interface BillListParams extends CursorPageParams {
2984
2983
  refNumberTo?: string;
2985
2984
 
2986
2985
  /**
2987
- * Query param: Filter for bills created on or after this date, in ISO 8601 format
2988
- * (YYYY-MM-DD).
2986
+ * Query param: Filter for bills whose `date` field is on or after this date, in
2987
+ * ISO 8601 format (YYYY-MM-DD).
2989
2988
  */
2990
2989
  transactionDateFrom?: string;
2991
2990
 
2992
2991
  /**
2993
- * Query param: Filter for bills created on or before this date, in ISO 8601 format
2994
- * (YYYY-MM-DD).
2992
+ * Query param: Filter for bills whose `date` field is on or before this date, in
2993
+ * ISO 8601 format (YYYY-MM-DD).
2995
2994
  */
2996
2995
  transactionDateTo?: string;
2997
2996
 
@@ -2953,14 +2953,14 @@ export interface CheckListParams extends CursorPageParams {
2953
2953
  refNumberTo?: string;
2954
2954
 
2955
2955
  /**
2956
- * Query param: Filter for checks created on or after this date, in ISO 8601 format
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 created on or before this date, in ISO 8601
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