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
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,2DAAoC;AACpC,gDAA+B;AAC/B,mDAAkC;AAClC,4DAA2C;AAE3C,sDAAqC;AACrC,0DAAyC;AACzC,gEAA+F;AAC/F,wDAS+B;AAC/B,gDAA0C;AAiE1C;;GAEG;AACH,MAAa,SAAU,SAAQ,IAAI,CAAC,SAAS;IAK3C;;;;;;;;;;;OAWG;IACH,YAAY,EACV,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,EAC5C,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,EAC7C,GAAG,IAAI,KACU,EAAE;QACnB,IAAI,MAAM,KAAK,SAAS,EAAE;YACxB,MAAM,IAAI,MAAM,CAAC,cAAc,CAC7B,gMAAgM,CACjM,CAAC;SACH;QAED,MAAM,OAAO,GAAkB;YAC7B,MAAM;YACN,GAAG,IAAI;YACP,OAAO,EAAE,OAAO,IAAI,6BAA6B;SAClD,CAAC;QAEF,KAAK,CAAC;YACJ,OAAO,EAAE,OAAO,CAAC,OAAQ;YACzB,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,MAAM,CAAC,eAAe;YAClD,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,UAAU,EAAE,OAAO,CAAC,UAAU;YAC9B,KAAK,EAAE,OAAO,CAAC,KAAK;SACrB,CAAC,CAAC;QAOL,iBAAY,GAAqB,IAAI,GAAG,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;QAC5D,aAAQ,GAAiB,IAAI,GAAG,CAAC,Q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jB,yBAAe,GAAG,MAAM,CAAC,CAAC,YAAY;AAEtC,wBAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AACvC,kBAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,4BAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAC/C,mCAAyB,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAC7D,2BAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC7C,uBAAa,GAAG,MAAM,CAAC,aAAa,CAAC;AACrC,uBAAa,GAAG,MAAM,CAAC,aAAa,CAAC;AACrC,wBAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AACvC,yBAAe,GAAG,MAAM,CAAC,eAAe,CAAC;AACzC,6BAAmB,GAAG,MAAM,CAAC,mBAAmB,CAAC;AACjD,6BAAmB,GAAG,MAAM,CAAC,mBAAmB,CAAC;AACjD,+BAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACrD,kCAAwB,GAAG,MAAM,CAAC,wBAAwB,CAAC;AAE3D,gBAAM,GAAG,OAAO,CAAC,MAAM,CAAC;AACxB,sBAAY,GAAG,OAAO,CAAC,YAAY,CAAC;AAG7C,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC;AACtC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC9B,SAAS,CAAC,GAAG,GAAG,GAAG,CAAC;OA8Bb,EAAE,MAAM,EAAE,YAAY,EAAE;OACxB,EACL,cAAc,EACd,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB;AAED,eAAe,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "12.0.0-beta.2",
3
+ "version": "12.0.0-beta.21",
4
4
  "description": "The official TypeScript library for the Conductor API",
5
5
  "author": "Conductor <support@conductor.is>",
6
6
  "types": "./index.d.ts",
@@ -87,38 +87,17 @@
87
87
  "default": "./index.mjs"
88
88
  },
89
89
  "./*.mjs": {
90
- "types": [
91
- "./*.d.ts",
92
- "./*/index.d.ts"
93
- ],
94
- "default": [
95
- "./*.mjs",
96
- "./*/index.mjs"
97
- ]
90
+ "types": "./*.d.ts",
91
+ "default": "./*.mjs"
98
92
  },
99
93
  "./*.js": {
100
- "types": [
101
- "./*.d.ts",
102
- "./*/index.d.ts"
103
- ],
104
- "default": [
105
- "./*.js",
106
- "./*/index.js"
107
- ]
94
+ "types": "./*.d.ts",
95
+ "default": "./*.js"
108
96
  },
109
97
  "./*": {
110
- "types": [
111
- "./*.d.ts",
112
- "./*/index.d.ts"
113
- ],
114
- "require": [
115
- "./*.js",
116
- "./*/index.js"
117
- ],
118
- "default": [
119
- "./*.mjs",
120
- "./*/index.mjs"
121
- ]
98
+ "types": "./*.d.ts",
99
+ "require": "./*.js",
100
+ "default": "./*.mjs"
122
101
  }
123
102
  }
124
103
  }
package/pagination.js CHANGED
@@ -31,7 +31,7 @@ class CursorPage extends core_1.AbstractPage {
31
31
  }
32
32
  return {
33
33
  params: {
34
- cursor: cursor,
34
+ cursor,
35
35
  },
36
36
  };
37
37
  }
package/pagination.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.js","sourceRoot":"","sources":["src/pagination.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAA0F;AAc1F,MAAa,UAAiB,SAAQ,mBAAkB;IAKtD,YACE,MAAiB,EACjB,QAAkB,EAClB,IAA8B,EAC9B,OAA4B;QAE5B,KAAK,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC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QACZ,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QACjC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC;QACvB,IAAI,QAAQ,IAAI,IAAI;YAAE,OAAO,IAAI,CAAC,MAAM,CAAC;QACzC,MAAM,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QACzD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM;YAAE,OAAO,IAAI,CAAC;QAC7C,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,YAAY;QACV,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC;QAC/B,IAAI,CAAC,MAAM,EAAE;YACX,OAAO,IAAI,CAAC;SACb;QAED,OAAO;YACL,MAAM,EAAE;gBACN,MAAM;aACP;SACF,CAAC;IACJ,CAAC;CACF;AA3CD,gCA2CC"}
package/pagination.mjs CHANGED
@@ -28,7 +28,7 @@ export class CursorPage extends AbstractPage {
28
28
  }
29
29
  return {
30
30
  params: {
31
- cursor: cursor,
31
+ cursor,
32
32
  },
33
33
  };
34
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.mjs","sourceRoot":"","sources":["src/pagination.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,YAAY,EAAsD;AAc3E,MAAM,OAAO,UAAiB,SAAQ,YAAkB;IAKtD,YACE,MAAiB,EACjB,QAAkB,EAClB,IAA8B,EAC9B,OAA4B;QAE5B,KAAK,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC;IAC5C,CAAC;IAED,iBAAiB;QACf,OAAO,IAAI,CAAC,IAAI,IAAI,EAAE,C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C,IAAI;YAAE,OAAO,IAAI,CAAC;QACvB,IAAI,QAAQ,IAAI,IAAI;YAAE,OAAO,IAAI,CAAC,MAAM,CAAC;QACzC,MAAM,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QACzD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM;YAAE,OAAO,IAAI,CAAC;QAC7C,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,YAAY;QACV,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC;QAC/B,IAAI,CAAC,MAAM,EAAE;YACX,OAAO,IAAI,CAAC;SACb;QAED,OAAO;YACL,MAAM,EAAE;gBACN,MAAM;aACP;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -2,24 +2,20 @@ import { APIResource } from "../resource.js";
2
2
  import * as Core from "../core.js";
3
3
  export declare class AuthSessions extends APIResource {
4
4
  /**
5
- * To launch the authentication flow, create an AuthSession and pass the returned
6
- * sessions `authFlowUrl` to the client for your end-user to visit in their
7
- * browser.
5
+ * To launch the authentication flow, create an auth session and pass the returned
6
+ * session's `authFlowUrl` to the client for your end-user to visit in their
7
+ * browser. Demo: https://connect.conductor.is/qbd/demo
8
8
  */
9
9
  create(body: AuthSessionCreateParams, options?: Core.RequestOptions): Core.APIPromise<AuthSession>;
10
- /**
11
- * Retrieves the details of an AuthSession that has previously been created.
12
- */
13
- retrieve(id: string, options?: Core.RequestOptions): Core.APIPromise<AuthSession>;
14
10
  }
15
11
  export interface AuthSession {
16
12
  /**
17
- * The unique identifier for this AuthSession.
13
+ * The unique identifier for this auth session.
18
14
  */
19
15
  id: string;
20
16
  /**
21
17
  * The URL of the authentication flow that you will pass to your client for your
22
- * user to set up their IntegrationConnection.
18
+ * user to set up their integration connection.
23
19
  */
24
20
  authFlowUrl: string;
25
21
  /**
@@ -27,17 +23,17 @@ export interface AuthSession {
27
23
  */
28
24
  clientSecret: string;
29
25
  /**
30
- * The date and time when this AuthSession record was created.
26
+ * The date and time when this auth session record was created.
31
27
  */
32
28
  createdAt: string;
33
29
  /**
34
- * The ID of the EndUser for whom to create an IntegrationConnection.
30
+ * The ID of the end-user for whom to create an integration connection.
35
31
  */
36
32
  endUserId: string;
37
33
  /**
38
- * The date and time when this AuthSession expires. By default, this value is 30
34
+ * The date and time when this auth session expires. By default, this value is 30
39
35
  * minutes from creation. You can extend this time by setting `linkExpiryMins` when
40
- * [creating the AuthSession](/apis/auth-sessions/create).
36
+ * creating the auth session.
41
37
  */
42
38
  expiresAt: string;
43
39
  /**
@@ -53,16 +49,16 @@ export interface AuthSession {
53
49
  }
54
50
  export interface AuthSessionCreateParams {
55
51
  /**
56
- * The ID of the EndUser for whom to create the IntegrationConnection.
52
+ * The ID of the end-user for whom to create the integration connection.
57
53
  */
58
54
  endUserId: string;
59
55
  /**
60
- * Your Conductor publishable key, which we use to create the sessions
56
+ * Your Conductor publishable key, which we use to create the auth session's
61
57
  * `authFlowUrl`.
62
58
  */
63
59
  publishableKey: string;
64
60
  /**
65
- * The number of minutes after which the AuthSession will expire. Must be at least
61
+ * The number of minutes after which the auth session will expire. Must be at least
66
62
  * 15 minutes and no more than 7 days. If not provided, defaults to 30 minutes.
67
63
  */
68
64
  linkExpiryMins?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"auth-sessions.d.ts","sourceRoot":"","sources":["../src/resources/auth-sessions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC;IAIlG;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO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AAM,CAAC;IAEX;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,cAAc,CAAC;IAE3B;;;;OAIG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EAAE,KAAK,WAAW,IAAI,WAAW,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACrG"}
@@ -5,19 +5,13 @@ exports.AuthSessions = void 0;
5
5
  const resource_1 = require("../resource.js");
6
6
  class AuthSessions extends resource_1.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, options) {
13
13
  return this._client.post('/auth-sessions', { body, ...options });
14
14
  }
15
- /**
16
- * Retrieves the details of an AuthSession that has previously been created.
17
- */
18
- retrieve(id, options) {
19
- return this._client.get(`/auth-sessions/${id}`, options);
20
- }
21
15
  }
22
16
  exports.AuthSessions = AuthSessions;
23
17
  //# sourceMappingURL=auth-sessions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth-sessions.js","sourceRoot":"","sources":["../src/resources/auth-sessions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;OAIG;IACH,MAAM,CAAC,IAA6B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAA6B;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;CACF;AAhBD,oCAgBC"}
1
+ {"version":3,"file":"auth-sessions.js","sourceRoot":"","sources":["../src/resources/auth-sessions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;OAIG;IACH,MAAM,CAAC,IAA6B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AATD,oCASC"}
@@ -2,18 +2,12 @@
2
2
  import { APIResource } from "../resource.mjs";
3
3
  export class AuthSessions extends APIResource {
4
4
  /**
5
- * To launch the authentication flow, create an AuthSession and pass the returned
6
- * sessions `authFlowUrl` to the client for your end-user to visit in their
7
- * browser.
5
+ * To launch the authentication flow, create an auth session and pass the returned
6
+ * session's `authFlowUrl` to the client for your end-user to visit in their
7
+ * browser. Demo: https://connect.conductor.is/qbd/demo
8
8
  */
9
9
  create(body, options) {
10
10
  return this._client.post('/auth-sessions', { body, ...options });
11
11
  }
12
- /**
13
- * Retrieves the details of an AuthSession that has previously been created.
14
- */
15
- retrieve(id, options) {
16
- return this._client.get(`/auth-sessions/${id}`, options);
17
- }
18
12
  }
19
13
  //# sourceMappingURL=auth-sessions.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth-sessions.mjs","sourceRoot":"","sources":["../src/resources/auth-sessions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,MAAM,CAAC,IAA6B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAA6B;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;CACF"}
1
+ {"version":3,"file":"auth-sessions.mjs","sourceRoot":"","sources":["../src/resources/auth-sessions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,MAAM,CAAC,IAA6B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF"}
@@ -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,CAAC,mBAAmB,CAAC;IAIzE;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM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a,EAAE,MAAM,GAAG,IAAI,CAAC;QAE7B;;;;WAIG;QACH,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;QAEvC;;WAEG;QACH,UAAU,EAAE,wBAAwB,CAAC;KACtC;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAErB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEjE,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE/D,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
@@ -5,25 +5,25 @@ exports.EndUsers = void 0;
5
5
  const resource_1 = require("../resource.js");
6
6
  class EndUsers 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,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC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,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
  /**
@@ -1399,10 +1399,9 @@ export interface BillCreateParams {
1399
1399
  */
1400
1400
  itemLines?: Array<BillCreateParams.ItemLine>;
1401
1401
  /**
1402
- * Body param: IDs of existing transactions that you wish to link to this bill,
1403
- * such as payments applied, credits used, or associated purchase orders. Note that
1404
- * this links entire transactions, not individual transaction lines. If you want to
1405
- * link individual lines in a transaction, instead use the field
1402
+ * Body param: IDs of existing purchase orders that you wish to link to this bill.
1403
+ * Note that this links entire transactions, not individual transaction lines. If
1404
+ * you want to link individual lines in a transaction, instead use the field
1406
1405
  * `linkToTransactionLine` on this bill's lines, if available.
1407
1406
  *
1408
1407
  * Transactions can only be linked when creating this bill and cannot be unlinked
@@ -2522,13 +2521,13 @@ export interface BillListParams extends CursorPageParams {
2522
2521
  */
2523
2522
  refNumberTo?: string;
2524
2523
  /**
2525
- * Query param: Filter for bills created on or after this date, in ISO 8601 format
2526
- * (YYYY-MM-DD).
2524
+ * Query param: Filter for bills whose `date` field is on or after this date, in
2525
+ * ISO 8601 format (YYYY-MM-DD).
2527
2526
  */
2528
2527
  transactionDateFrom?: string;
2529
2528
  /**
2530
- * Query param: Filter for bills created on or before this date, in ISO 8601 format
2531
- * (YYYY-MM-DD).
2529
+ * Query param: Filter for bills whose `date` field is on or before this date, in
2530
+ * ISO 8601 format (YYYY-MM-DD).
2532
2531
  */
2533
2532
  transactionDateTo?: string;
2534
2533
  /**