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.
Files changed (110) hide show
  1. package/CHANGELOG.md +108 -0
  2. package/README.md +32 -27
  3. package/index.d.mts +4 -4
  4. package/index.d.ts +4 -4
  5. package/index.d.ts.map +1 -1
  6. package/index.js.map +1 -1
  7. package/index.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/auth-sessions.d.ts +11 -15
  10. package/resources/auth-sessions.d.ts.map +1 -1
  11. package/resources/auth-sessions.js +2 -8
  12. package/resources/auth-sessions.js.map +1 -1
  13. package/resources/auth-sessions.mjs +2 -8
  14. package/resources/auth-sessions.mjs.map +1 -1
  15. package/resources/end-users.d.ts +20 -32
  16. package/resources/end-users.d.ts.map +1 -1
  17. package/resources/end-users.js +4 -12
  18. package/resources/end-users.js.map +1 -1
  19. package/resources/end-users.mjs +4 -12
  20. package/resources/end-users.mjs.map +1 -1
  21. package/resources/index.d.ts +2 -2
  22. package/resources/index.d.ts.map +1 -1
  23. package/resources/index.js.map +1 -1
  24. package/resources/index.mjs.map +1 -1
  25. package/resources/qbd/bill-check-payments.d.ts +4 -4
  26. package/resources/qbd/bill-credit-card-payments.d.ts +4 -4
  27. package/resources/qbd/bills.d.ts +4 -4
  28. package/resources/qbd/checks.d.ts +4 -4
  29. package/resources/qbd/credit-card-charges.d.ts +4 -4
  30. package/resources/qbd/credit-card-credits.d.ts +4 -4
  31. package/resources/qbd/credit-memos.d.ts +4 -4
  32. package/resources/qbd/employees.d.ts +76 -34
  33. package/resources/qbd/employees.d.ts.map +1 -1
  34. package/resources/qbd/employees.js.map +1 -1
  35. package/resources/qbd/employees.mjs.map +1 -1
  36. package/resources/qbd/estimates.d.ts +4 -4
  37. package/resources/qbd/index.d.ts +3 -1
  38. package/resources/qbd/index.d.ts.map +1 -1
  39. package/resources/qbd/index.js +7 -1
  40. package/resources/qbd/index.js.map +1 -1
  41. package/resources/qbd/index.mjs +2 -0
  42. package/resources/qbd/index.mjs.map +1 -1
  43. package/resources/qbd/inventory-adjustments.d.ts +4 -4
  44. package/resources/qbd/inventory-assembly-items.d.ts +1 -1
  45. package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
  46. package/resources/qbd/inventory-items.d.ts +1 -1
  47. package/resources/qbd/inventory-items.d.ts.map +1 -1
  48. package/resources/qbd/invoices.d.ts +4 -4
  49. package/resources/qbd/journal-entries.d.ts +4 -4
  50. package/resources/qbd/purchase-orders.d.ts +4 -4
  51. package/resources/qbd/qbd.d.ts +36 -0
  52. package/resources/qbd/qbd.d.ts.map +1 -1
  53. package/resources/qbd/qbd.js +25 -0
  54. package/resources/qbd/qbd.js.map +1 -1
  55. package/resources/qbd/qbd.mjs +25 -0
  56. package/resources/qbd/qbd.mjs.map +1 -1
  57. package/resources/qbd/receive-payments.d.ts +4 -4
  58. package/resources/qbd/sales-orders.d.ts +4 -4
  59. package/resources/qbd/sales-receipts.d.ts +4 -4
  60. package/resources/qbd/time-tracking-activities.d.ts +485 -0
  61. package/resources/qbd/time-tracking-activities.d.ts.map +1 -0
  62. package/resources/qbd/time-tracking-activities.js +66 -0
  63. package/resources/qbd/time-tracking-activities.js.map +1 -0
  64. package/resources/qbd/time-tracking-activities.mjs +61 -0
  65. package/resources/qbd/time-tracking-activities.mjs.map +1 -0
  66. package/resources/qbd/transactions.d.ts +312 -0
  67. package/resources/qbd/transactions.d.ts.map +1 -0
  68. package/resources/qbd/transactions.js +41 -0
  69. package/resources/qbd/transactions.js.map +1 -0
  70. package/resources/qbd/transactions.mjs +36 -0
  71. package/resources/qbd/transactions.mjs.map +1 -0
  72. package/resources/qbd/transfers.d.ts +4 -4
  73. package/resources/qbd/vendor-credits.d.ts +4 -4
  74. package/resources/qbd/vendors.d.ts +4 -4
  75. package/src/index.ts +6 -4
  76. package/src/resources/auth-sessions.ts +11 -18
  77. package/src/resources/end-users.ts +19 -40
  78. package/src/resources/index.ts +1 -2
  79. package/src/resources/qbd/bill-check-payments.ts +4 -4
  80. package/src/resources/qbd/bill-credit-card-payments.ts +4 -4
  81. package/src/resources/qbd/bills.ts +4 -4
  82. package/src/resources/qbd/checks.ts +4 -4
  83. package/src/resources/qbd/credit-card-charges.ts +4 -4
  84. package/src/resources/qbd/credit-card-credits.ts +4 -4
  85. package/src/resources/qbd/credit-memos.ts +4 -4
  86. package/src/resources/qbd/employees.ts +76 -34
  87. package/src/resources/qbd/estimates.ts +4 -4
  88. package/src/resources/qbd/index.ts +19 -1
  89. package/src/resources/qbd/inventory-adjustments.ts +4 -4
  90. package/src/resources/qbd/inventory-assembly-items.ts +1 -1
  91. package/src/resources/qbd/inventory-items.ts +1 -1
  92. package/src/resources/qbd/invoices.ts +4 -4
  93. package/src/resources/qbd/journal-entries.ts +4 -4
  94. package/src/resources/qbd/purchase-orders.ts +4 -4
  95. package/src/resources/qbd/qbd.ts +92 -0
  96. package/src/resources/qbd/receive-payments.ts +4 -4
  97. package/src/resources/qbd/sales-orders.ts +4 -4
  98. package/src/resources/qbd/sales-receipts.ts +4 -4
  99. package/src/resources/qbd/time-tracking-activities.ts +615 -0
  100. package/src/resources/qbd/transactions.ts +441 -0
  101. package/src/resources/qbd/transfers.ts +4 -4
  102. package/src/resources/qbd/vendor-credits.ts +4 -4
  103. package/src/resources/qbd/vendors.ts +4 -4
  104. package/src/version.ts +1 -1
  105. package/version.d.ts +1 -1
  106. package/version.d.ts.map +1 -1
  107. package/version.js +1 -1
  108. package/version.js.map +1 -1
  109. package/version.mjs +1 -1
  110. package/version.mjs.map +1 -1
@@ -2,19 +2,19 @@ import { APIResource } from "../resource.js";
2
2
  import * as Core from "../core.js";
3
3
  export declare class EndUsers extends APIResource {
4
4
  /**
5
- * Creates an EndUser.
5
+ * Creates an end-user.
6
6
  */
7
7
  create(body: EndUserCreateParams, options?: Core.RequestOptions): Core.APIPromise<EndUser>;
8
8
  /**
9
- * Retrieves an EndUser object.
9
+ * Retrieves an end-user object.
10
10
  */
11
11
  retrieve(id: string, options?: Core.RequestOptions): Core.APIPromise<EndUser>;
12
12
  /**
13
- * Returns a list of your EndUsers.
13
+ * Returns a list of your end-users.
14
14
  */
15
15
  list(options?: Core.RequestOptions): Core.APIPromise<EndUserListResponse>;
16
16
  /**
17
- * Permanently deletes an EndUser object and all of its connections.
17
+ * Permanently deletes an end-user object and all of its connections.
18
18
  */
19
19
  delete(id: string, options?: Core.RequestOptions): Core.APIPromise<EndUserDeleteResponse>;
20
20
  /**
@@ -22,34 +22,28 @@ export declare class EndUsers extends APIResource {
22
22
  * QuickBooks Desktop) on behalf of the end-user.
23
23
  */
24
24
  passthrough(id: string, integrationSlug: 'quickbooks_desktop', body: EndUserPassthroughParams, options?: Core.RequestOptions): Core.APIPromise<EndUserPassthroughResponse>;
25
- /**
26
- * Checks whether the specified IntegrationConnection can connect and process
27
- * requests end-to-end. This is useful for showing a "connection status" indicator
28
- * in your app.
29
- */
30
- ping(id: string, integrationSlug: 'quickbooks_desktop', options?: Core.RequestOptions): Core.APIPromise<EndUserPingResponse>;
31
25
  }
32
26
  export interface EndUser {
33
27
  /**
34
- * The unique identifier for this EndUser. You must save this value to your
28
+ * The unique identifier for this end-user. You must save this value to your
35
29
  * database because it is how you identify which of your users to receive your API
36
30
  * requests.
37
31
  */
38
32
  id: string;
39
33
  /**
40
- * The EndUser's company name that will be shown elsewhere in Conductor.
34
+ * The end-user's company name that will be shown elsewhere in Conductor.
41
35
  */
42
36
  companyName: string;
43
37
  /**
44
- * The date and time when this EndUser record was created.
38
+ * The date and time when this end-user record was created.
45
39
  */
46
40
  createdAt: string;
47
41
  /**
48
- * The EndUser's email address for identification purposes.
42
+ * The end-user's email address for identification purposes.
49
43
  */
50
44
  email: string;
51
45
  /**
52
- * The EndUser's IntegrationConnections.
46
+ * The end-user's integration connections.
53
47
  */
54
48
  integrationConnections: Array<EndUser.IntegrationConnection>;
55
49
  /**
@@ -57,7 +51,7 @@ export interface EndUser {
57
51
  */
58
52
  objectType: 'end_user';
59
53
  /**
60
- * The EndUser's unique identifier from your system. Maps users between your
54
+ * The end-user's unique identifier from your system. Maps users between your
61
55
  * database and Conductor.
62
56
  */
63
57
  sourceId: string;
@@ -65,11 +59,11 @@ export interface EndUser {
65
59
  export declare namespace EndUser {
66
60
  interface IntegrationConnection {
67
61
  /**
68
- * The unique identifier for this IntegrationConnection.
62
+ * The unique identifier for this integration connection.
69
63
  */
70
64
  id: string;
71
65
  /**
72
- * The date and time when this IntegrationConnection record was created.
66
+ * The date and time when this integration connection record was created.
73
67
  */
74
68
  createdAt: string;
75
69
  /**
@@ -77,13 +71,13 @@ export declare namespace EndUser {
77
71
  */
78
72
  integrationSlug: 'quickbooks_desktop';
79
73
  /**
80
- * The date and time of your last API request to this IntegrationConnection.
74
+ * The date and time of your last API request to this integration connection.
81
75
  */
82
76
  lastRequestAt: string | null;
83
77
  /**
84
- * The date and time of your last _successful_ API request to this
85
- * IntegrationConnection. A successful request means the integration fully
86
- * processed and returned a response without any errors end-to-end.
78
+ * The date and time of your last _successful_ API request to this integration
79
+ * connection. A successful request means the integration fully processed and
80
+ * returned a response without any errors end-to-end.
87
81
  */
88
82
  lastSuccessfulRequestAt: string | null;
89
83
  /**
@@ -94,7 +88,7 @@ export declare namespace EndUser {
94
88
  }
95
89
  export interface EndUserListResponse {
96
90
  /**
97
- * The array of EndUsers.
91
+ * The array of end-users.
98
92
  */
99
93
  data: Array<EndUser>;
100
94
  /**
@@ -108,11 +102,11 @@ export interface EndUserListResponse {
108
102
  }
109
103
  export interface EndUserDeleteResponse {
110
104
  /**
111
- * The ID of the deleted EndUser.
105
+ * The ID of the deleted end-user.
112
106
  */
113
107
  id: string;
114
108
  /**
115
- * Indicates whether the EndUser was deleted.
109
+ * Indicates whether the end-user was deleted.
116
110
  */
117
111
  deleted: boolean;
118
112
  /**
@@ -124,12 +118,6 @@ export interface EndUserDeleteResponse {
124
118
  * The response from the integration connection.
125
119
  */
126
120
  export type EndUserPassthroughResponse = Record<string, unknown>;
127
- export interface EndUserPingResponse {
128
- /**
129
- * The time, in milliseconds, that it took to ping the connection.
130
- */
131
- duration: number;
132
- }
133
121
  export interface EndUserCreateParams {
134
122
  /**
135
123
  * The end-user's company name that will be shown elsewhere in Conductor.
@@ -149,6 +137,6 @@ export interface EndUserCreateParams {
149
137
  }
150
138
  export type EndUserPassthroughParams = Record<string, unknown>;
151
139
  export declare namespace EndUsers {
152
- export { type EndUser as EndUser, type EndUserListResponse as EndUserListResponse, type EndUserDeleteResponse as EndUserDeleteResponse, type EndUserPassthroughResponse as EndUserPassthroughResponse, type EndUserPingResponse as EndUserPingResponse, type EndUserCreateParams as EndUserCreateParams, type EndUserPassthroughParams as EndUserPassthroughParams, };
140
+ export { type EndUser as EndUser, type EndUserListResponse as EndUserListResponse, type EndUserDeleteResponse as EndUserDeleteResponse, type EndUserPassthroughResponse as EndUserPassthroughResponse, type EndUserCreateParams as EndUserCreateParams, type EndUserPassthroughParams as EndUserPassthroughParams, };
153
141
  }
154
142
  //# sourceMappingURL=end-users.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"end-users.d.ts","sourceRoot":"","sources":["../src/resources/end-users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;IAI1F;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;IAI7E;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,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Users extends resource_1.APIResource {
7
7
  /**
8
- * Creates an EndUser.
8
+ * Creates an end-user.
9
9
  */
10
10
  create(body, options) {
11
11
  return this._client.post('/end-users', { body, ...options });
12
12
  }
13
13
  /**
14
- * Retrieves an EndUser object.
14
+ * Retrieves an end-user object.
15
15
  */
16
16
  retrieve(id, options) {
17
17
  return this._client.get(`/end-users/${id}`, options);
18
18
  }
19
19
  /**
20
- * Returns a list of your EndUsers.
20
+ * Returns a list of your end-users.
21
21
  */
22
22
  list(options) {
23
23
  return this._client.get('/end-users', options);
24
24
  }
25
25
  /**
26
- * Permanently deletes an EndUser object and all of its connections.
26
+ * Permanently deletes an end-user object and all of its connections.
27
27
  */
28
28
  delete(id, options) {
29
29
  return this._client.delete(`/end-users/${id}`, options);
@@ -35,14 +35,6 @@ class EndUsers extends resource_1.APIResource {
35
35
  passthrough(id, integrationSlug, body, options) {
36
36
  return this._client.post(`/end-users/${id}/passthrough/${integrationSlug}`, { body, ...options });
37
37
  }
38
- /**
39
- * Checks whether the specified IntegrationConnection can connect and process
40
- * requests end-to-end. This is useful for showing a "connection status" indicator
41
- * in your app.
42
- */
43
- ping(id, integrationSlug, options) {
44
- return this._client.get(`/end-users/${id}/ping/${integrationSlug}`, options);
45
- }
46
38
  }
47
39
  exports.EndUsers = EndUsers;
48
40
  //# sourceMappingURL=end-users.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"end-users.js","sourceRoot":"","sources":["../src/resources/end-users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAA6B;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAA6B;QAChD,OAAO,IAAI,CAAC,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vD,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,OAA6B;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAA6B;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;OAGG;IACH,WAAW,CACT,EAAU,EACV,eAAqC,EACrC,IAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,gBAAgB,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;CACF;AAzCD,4BAyCC"}
@@ -2,25 +2,25 @@
2
2
  import { APIResource } from "../resource.mjs";
3
3
  export class EndUsers extends APIResource {
4
4
  /**
5
- * Creates an EndUser.
5
+ * Creates an end-user.
6
6
  */
7
7
  create(body, options) {
8
8
  return this._client.post('/end-users', { body, ...options });
9
9
  }
10
10
  /**
11
- * Retrieves an EndUser object.
11
+ * Retrieves an end-user object.
12
12
  */
13
13
  retrieve(id, options) {
14
14
  return this._client.get(`/end-users/${id}`, options);
15
15
  }
16
16
  /**
17
- * Returns a list of your EndUsers.
17
+ * Returns a list of your end-users.
18
18
  */
19
19
  list(options) {
20
20
  return this._client.get('/end-users', options);
21
21
  }
22
22
  /**
23
- * Permanently deletes an EndUser object and all of its connections.
23
+ * Permanently deletes an end-user object and all of its connections.
24
24
  */
25
25
  delete(id, options) {
26
26
  return this._client.delete(`/end-users/${id}`, options);
@@ -32,13 +32,5 @@ export class EndUsers extends APIResource {
32
32
  passthrough(id, integrationSlug, body, options) {
33
33
  return this._client.post(`/end-users/${id}/passthrough/${integrationSlug}`, { body, ...options });
34
34
  }
35
- /**
36
- * Checks whether the specified IntegrationConnection can connect and process
37
- * requests end-to-end. This is useful for showing a "connection status" indicator
38
- * in your app.
39
- */
40
- ping(id, integrationSlug, options) {
41
- return this._client.get(`/end-users/${id}/ping/${integrationSlug}`, options);
42
- }
43
35
  }
44
36
  //# sourceMappingURL=end-users.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"end-users.mjs","sourceRoot":"","sources":["../src/resources/end-users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAA6B;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAA6B;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,OAA6B;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAA6B;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;OAGG;IACH,WAAW,CACT,EAAU,EACV,eAAqC,EACrC,IAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,gBAAgB,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,EAAU,EACV,eAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,SAAS,eAAe,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF"}
1
+ {"version":3,"file":"end-users.mjs","sourceRoot":"","sources":["../src/resources/end-users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAA6B;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAA6B;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,OAA6B;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAA6B;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;OAGG;IACH,WAAW,CACT,EAAU,EACV,eAAqC,EACrC,IAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,gBAAgB,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;CACF"}
@@ -1,4 +1,4 @@
1
1
  export { AuthSessions, type AuthSession, type AuthSessionCreateParams } from "./auth-sessions.js";
2
- export { EndUsers, type EndUser, type EndUserListResponse, type EndUserDeleteResponse, type EndUserPassthroughResponse, type EndUserPingResponse, type EndUserCreateParams, type EndUserPassthroughParams, } from "./end-users.js";
3
- export { Qbd } from "./qbd/qbd.js";
2
+ export { EndUsers, type EndUser, type EndUserListResponse, type EndUserDeleteResponse, type EndUserPassthroughResponse, type EndUserCreateParams, type EndUserPassthroughParams, } from "./end-users.js";
3
+ export { Qbd, type QbdHealthCheckResponse, type QbdHealthCheckParams } from "./qbd/qbd.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC/F,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,GAC9B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC/F,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,GAC9B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,GAAG,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAA+F;AAAtF,6GAAA,YAAY,OAAA;AACrB,4CASqB;AARnB,qGAAA,QAAQ,OAAA;AASV,oCAAgC;AAAvB,0FAAA,GAAG,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAA+F;AAAtF,6GAAA,YAAY,OAAA;AACrB,4CAQqB;AAPnB,qGAAA,QAAQ,OAAA;AAQV,oCAAwF;AAA/E,0FAAA,GAAG,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,YAAY,EAAkD;OAChE,EACL,QAAQ,GAQT;OACM,EAAE,GAAG,EAAE"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,YAAY,EAAkD;OAChE,EACL,QAAQ,GAOT;OACM,EAAE,GAAG,EAA0D"}
@@ -791,13 +791,13 @@ export interface BillCheckPaymentListParams extends CursorPageParams {
791
791
  */
792
792
  refNumberTo?: string;
793
793
  /**
794
- * Query param: Filter for bill check payments created on or after this date, in
795
- * ISO 8601 format (YYYY-MM-DD).
794
+ * Query param: Filter for bill check payments whose `date` field is on or after
795
+ * this date, in ISO 8601 format (YYYY-MM-DD).
796
796
  */
797
797
  transactionDateFrom?: string;
798
798
  /**
799
- * Query param: Filter for bill check payments created on or before this date, in
800
- * ISO 8601 format (YYYY-MM-DD).
799
+ * Query param: Filter for bill check payments whose `date` field is on or before
800
+ * this date, in ISO 8601 format (YYYY-MM-DD).
801
801
  */
802
802
  transactionDateTo?: string;
803
803
  /**
@@ -601,13 +601,13 @@ export interface BillCreditCardPaymentListParams extends CursorPageParams {
601
601
  */
602
602
  refNumberTo?: string;
603
603
  /**
604
- * Query param: Filter for bill credit card payments created on or after this date,
605
- * in ISO 8601 format (YYYY-MM-DD).
604
+ * Query param: Filter for bill credit card payments whose `date` field is on or
605
+ * after this date, in ISO 8601 format (YYYY-MM-DD).
606
606
  */
607
607
  transactionDateFrom?: string;
608
608
  /**
609
- * Query param: Filter for bill credit card payments created on or before this
610
- * date, in ISO 8601 format (YYYY-MM-DD).
609
+ * Query param: Filter for bill credit card payments whose `date` field is on or
610
+ * before this date, in ISO 8601 format (YYYY-MM-DD).
611
611
  */
612
612
  transactionDateTo?: string;
613
613
  /**
@@ -2522,13 +2522,13 @@ export interface BillListParams extends CursorPageParams {
2522
2522
  */
2523
2523
  refNumberTo?: string;
2524
2524
  /**
2525
- * Query param: Filter for bills created on or after this date, in ISO 8601 format
2526
- * (YYYY-MM-DD).
2525
+ * Query param: Filter for bills whose `date` field is on or after this date, in
2526
+ * ISO 8601 format (YYYY-MM-DD).
2527
2527
  */
2528
2528
  transactionDateFrom?: string;
2529
2529
  /**
2530
- * Query param: Filter for bills created on or before this date, in ISO 8601 format
2531
- * (YYYY-MM-DD).
2530
+ * Query param: Filter for bills whose `date` field is on or before this date, in
2531
+ * ISO 8601 format (YYYY-MM-DD).
2532
2532
  */
2533
2533
  transactionDateTo?: string;
2534
2534
  /**
@@ -2493,13 +2493,13 @@ export interface CheckListParams extends CursorPageParams {
2493
2493
  */
2494
2494
  refNumberTo?: string;
2495
2495
  /**
2496
- * Query param: Filter for checks created on or after this date, in ISO 8601 format
2497
- * (YYYY-MM-DD).
2496
+ * Query param: Filter for checks whose `date` field is on or after this date, in
2497
+ * ISO 8601 format (YYYY-MM-DD).
2498
2498
  */
2499
2499
  transactionDateFrom?: string;
2500
2500
  /**
2501
- * Query param: Filter for checks created on or before this date, in ISO 8601
2502
- * format (YYYY-MM-DD).
2501
+ * Query param: Filter for checks whose `date` field is on or before this date, in
2502
+ * ISO 8601 format (YYYY-MM-DD).
2503
2503
  */
2504
2504
  transactionDateTo?: string;
2505
2505
  /**
@@ -2201,13 +2201,13 @@ export interface CreditCardChargeListParams extends CursorPageParams {
2201
2201
  */
2202
2202
  refNumberTo?: string;
2203
2203
  /**
2204
- * Query param: Filter for credit card charges created on or after this date, in
2205
- * ISO 8601 format (YYYY-MM-DD).
2204
+ * Query param: Filter for credit card charges whose `date` field is on or after
2205
+ * this date, in ISO 8601 format (YYYY-MM-DD).
2206
2206
  */
2207
2207
  transactionDateFrom?: string;
2208
2208
  /**
2209
- * Query param: Filter for credit card charges created on or before this date, in
2210
- * ISO 8601 format (YYYY-MM-DD).
2209
+ * Query param: Filter for credit card charges whose `date` field is on or before
2210
+ * this date, in ISO 8601 format (YYYY-MM-DD).
2211
2211
  */
2212
2212
  transactionDateTo?: string;
2213
2213
  /**
@@ -2198,13 +2198,13 @@ export interface CreditCardCreditListParams extends CursorPageParams {
2198
2198
  */
2199
2199
  refNumberTo?: string;
2200
2200
  /**
2201
- * Query param: Filter for credit card credits created on or after this date, in
2202
- * ISO 8601 format (YYYY-MM-DD).
2201
+ * Query param: Filter for credit card credits whose `date` field is on or after
2202
+ * this date, in ISO 8601 format (YYYY-MM-DD).
2203
2203
  */
2204
2204
  transactionDateFrom?: string;
2205
2205
  /**
2206
- * Query param: Filter for credit card credits created on or before this date, in
2207
- * ISO 8601 format (YYYY-MM-DD).
2206
+ * Query param: Filter for credit card credits whose `date` field is on or before
2207
+ * this date, in ISO 8601 format (YYYY-MM-DD).
2208
2208
  */
2209
2209
  transactionDateTo?: string;
2210
2210
  /**
@@ -2614,13 +2614,13 @@ export interface CreditMemoListParams extends CursorPageParams {
2614
2614
  */
2615
2615
  refNumberTo?: string;
2616
2616
  /**
2617
- * Query param: Filter for credit memos created on or after this date, in ISO 8601
2618
- * format (YYYY-MM-DD).
2617
+ * Query param: Filter for credit memos whose `date` field is on or after this
2618
+ * date, in ISO 8601 format (YYYY-MM-DD).
2619
2619
  */
2620
2620
  transactionDateFrom?: string;
2621
2621
  /**
2622
- * Query param: Filter for credit memos created on or before this date, in ISO 8601
2623
- * format (YYYY-MM-DD).
2622
+ * Query param: Filter for credit memos whose `date` field is on or before this
2623
+ * date, in ISO 8601 format (YYYY-MM-DD).
2624
2624
  */
2625
2625
  transactionDateTo?: string;
2626
2626
  /**