increase 0.59.1 → 0.61.0

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 (299) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +41 -17
  3. package/error.d.ts.map +1 -1
  4. package/error.js +0 -3
  5. package/error.js.map +1 -1
  6. package/error.mjs +0 -3
  7. package/error.mjs.map +1 -1
  8. package/index.d.mts +190 -172
  9. package/index.d.ts +190 -172
  10. package/index.d.ts.map +1 -1
  11. package/index.js +96 -87
  12. package/index.js.map +1 -1
  13. package/index.mjs +96 -87
  14. package/index.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/cards.d.ts +1 -1
  17. package/resources/cards.d.ts.map +1 -1
  18. package/resources/cards.js +1 -1
  19. package/resources/cards.js.map +1 -1
  20. package/resources/cards.mjs +1 -1
  21. package/resources/cards.mjs.map +1 -1
  22. package/resources/declined-transactions.d.ts +2 -231
  23. package/resources/declined-transactions.d.ts.map +1 -1
  24. package/resources/declined-transactions.js.map +1 -1
  25. package/resources/declined-transactions.mjs.map +1 -1
  26. package/resources/{entities/entities.d.ts → entities.d.ts} +276 -46
  27. package/resources/entities.d.ts.map +1 -0
  28. package/resources/{entities/entities.js → entities.js} +28 -17
  29. package/resources/entities.js.map +1 -0
  30. package/resources/{entities/entities.mjs → entities.mjs} +28 -17
  31. package/resources/entities.mjs.map +1 -0
  32. package/resources/groups.d.ts +1 -1
  33. package/resources/groups.d.ts.map +1 -1
  34. package/resources/groups.js +1 -1
  35. package/resources/groups.js.map +1 -1
  36. package/resources/groups.mjs +1 -1
  37. package/resources/groups.mjs.map +1 -1
  38. package/resources/inbound-ach-transfers.d.ts +218 -7
  39. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  40. package/resources/inbound-ach-transfers.js +8 -8
  41. package/resources/inbound-ach-transfers.js.map +1 -1
  42. package/resources/inbound-ach-transfers.mjs +8 -8
  43. package/resources/inbound-ach-transfers.mjs.map +1 -1
  44. package/resources/inbound-check-deposits.d.ts +25 -1
  45. package/resources/inbound-check-deposits.d.ts.map +1 -1
  46. package/resources/inbound-check-deposits.js +6 -0
  47. package/resources/inbound-check-deposits.js.map +1 -1
  48. package/resources/inbound-check-deposits.mjs +6 -0
  49. package/resources/inbound-check-deposits.mjs.map +1 -1
  50. package/resources/inbound-mail-items.d.ts +0 -14
  51. package/resources/inbound-mail-items.d.ts.map +1 -1
  52. package/resources/inbound-mail-items.js.map +1 -1
  53. package/resources/inbound-mail-items.mjs.map +1 -1
  54. package/resources/inbound-wire-transfers.d.ts +4 -0
  55. package/resources/inbound-wire-transfers.d.ts.map +1 -1
  56. package/resources/inbound-wire-transfers.js.map +1 -1
  57. package/resources/inbound-wire-transfers.mjs.map +1 -1
  58. package/resources/index.d.ts +11 -8
  59. package/resources/index.d.ts.map +1 -1
  60. package/resources/index.js +15 -6
  61. package/resources/index.js.map +1 -1
  62. package/resources/index.mjs +7 -4
  63. package/resources/index.mjs.map +1 -1
  64. package/resources/{intrafi/account-enrollments.d.ts → intrafi-account-enrollments.d.ts} +17 -17
  65. package/resources/intrafi-account-enrollments.d.ts.map +1 -0
  66. package/resources/{intrafi/account-enrollments.js → intrafi-account-enrollments.js} +11 -11
  67. package/resources/intrafi-account-enrollments.js.map +1 -0
  68. package/resources/{intrafi/account-enrollments.mjs → intrafi-account-enrollments.mjs} +9 -9
  69. package/resources/intrafi-account-enrollments.mjs.map +1 -0
  70. package/resources/{intrafi/balances.d.ts → intrafi-balances.d.ts} +7 -7
  71. package/resources/intrafi-balances.d.ts.map +1 -0
  72. package/resources/{intrafi/balances.js → intrafi-balances.js} +7 -7
  73. package/resources/intrafi-balances.js.map +1 -0
  74. package/resources/{intrafi/balances.mjs → intrafi-balances.mjs} +5 -5
  75. package/resources/intrafi-balances.mjs.map +1 -0
  76. package/resources/{intrafi/exclusions.d.ts → intrafi-exclusions.d.ts} +15 -15
  77. package/resources/intrafi-exclusions.d.ts.map +1 -0
  78. package/resources/{intrafi/exclusions.js → intrafi-exclusions.js} +11 -11
  79. package/resources/intrafi-exclusions.js.map +1 -0
  80. package/resources/{intrafi/exclusions.mjs → intrafi-exclusions.mjs} +9 -9
  81. package/resources/intrafi-exclusions.mjs.map +1 -0
  82. package/resources/lockboxes.d.ts +0 -14
  83. package/resources/lockboxes.d.ts.map +1 -1
  84. package/resources/lockboxes.js.map +1 -1
  85. package/resources/lockboxes.mjs.map +1 -1
  86. package/resources/routing-numbers.d.ts +5 -5
  87. package/resources/routing-numbers.d.ts.map +1 -1
  88. package/resources/routing-numbers.js +5 -5
  89. package/resources/routing-numbers.js.map +1 -1
  90. package/resources/routing-numbers.mjs +3 -3
  91. package/resources/routing-numbers.mjs.map +1 -1
  92. package/resources/simulations/ach-transfers.d.ts +10 -61
  93. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  94. package/resources/simulations/ach-transfers.js +10 -14
  95. package/resources/simulations/ach-transfers.js.map +1 -1
  96. package/resources/simulations/ach-transfers.mjs +10 -14
  97. package/resources/simulations/ach-transfers.mjs.map +1 -1
  98. package/resources/simulations/card-authorization-expirations.d.ts +20 -0
  99. package/resources/simulations/card-authorization-expirations.d.ts.map +1 -0
  100. package/resources/simulations/card-authorization-expirations.js +17 -0
  101. package/resources/simulations/card-authorization-expirations.js.map +1 -0
  102. package/resources/simulations/card-authorization-expirations.mjs +13 -0
  103. package/resources/simulations/card-authorization-expirations.mjs.map +1 -0
  104. package/resources/simulations/card-authorizations.d.ts +91 -0
  105. package/resources/simulations/card-authorizations.d.ts.map +1 -0
  106. package/resources/simulations/{cards.js → card-authorizations.js} +7 -17
  107. package/resources/simulations/card-authorizations.js.map +1 -0
  108. package/resources/simulations/{cards.mjs → card-authorizations.mjs} +5 -15
  109. package/resources/simulations/card-authorizations.mjs.map +1 -0
  110. package/resources/simulations/card-fuel-confirmations.d.ts +27 -0
  111. package/resources/simulations/card-fuel-confirmations.d.ts.map +1 -0
  112. package/resources/simulations/card-fuel-confirmations.js +19 -0
  113. package/resources/simulations/card-fuel-confirmations.js.map +1 -0
  114. package/resources/simulations/card-fuel-confirmations.mjs +15 -0
  115. package/resources/simulations/card-fuel-confirmations.mjs.map +1 -0
  116. package/resources/simulations/card-increments.d.ts +32 -0
  117. package/resources/simulations/card-increments.d.ts.map +1 -0
  118. package/resources/simulations/card-increments.js +18 -0
  119. package/resources/simulations/card-increments.js.map +1 -0
  120. package/resources/simulations/card-increments.mjs +14 -0
  121. package/resources/simulations/card-increments.mjs.map +1 -0
  122. package/resources/simulations/card-reversals.d.ts +28 -0
  123. package/resources/simulations/card-reversals.d.ts.map +1 -0
  124. package/resources/simulations/card-reversals.js +20 -0
  125. package/resources/simulations/card-reversals.js.map +1 -0
  126. package/resources/simulations/card-reversals.mjs +16 -0
  127. package/resources/simulations/card-reversals.mjs.map +1 -0
  128. package/resources/simulations/card-settlements.d.ts +34 -0
  129. package/resources/simulations/card-settlements.d.ts.map +1 -0
  130. package/resources/simulations/card-settlements.js +21 -0
  131. package/resources/simulations/card-settlements.js.map +1 -0
  132. package/resources/simulations/card-settlements.mjs +17 -0
  133. package/resources/simulations/card-settlements.mjs.map +1 -0
  134. package/resources/simulations/inbound-ach-transfers.d.ts +89 -0
  135. package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -0
  136. package/resources/simulations/inbound-ach-transfers.js +26 -0
  137. package/resources/simulations/inbound-ach-transfers.js.map +1 -0
  138. package/resources/simulations/inbound-ach-transfers.mjs +22 -0
  139. package/resources/simulations/inbound-ach-transfers.mjs.map +1 -0
  140. package/resources/simulations/inbound-real-time-payments-transfers.d.ts +71 -0
  141. package/resources/simulations/inbound-real-time-payments-transfers.d.ts.map +1 -0
  142. package/resources/simulations/inbound-real-time-payments-transfers.js +18 -0
  143. package/resources/simulations/inbound-real-time-payments-transfers.js.map +1 -0
  144. package/resources/simulations/inbound-real-time-payments-transfers.mjs +14 -0
  145. package/resources/simulations/inbound-real-time-payments-transfers.mjs.map +1 -0
  146. package/resources/simulations/inbound-wire-transfers.d.ts +99 -0
  147. package/resources/simulations/inbound-wire-transfers.d.ts.map +1 -0
  148. package/resources/simulations/inbound-wire-transfers.js +17 -0
  149. package/resources/simulations/inbound-wire-transfers.js.map +1 -0
  150. package/resources/simulations/inbound-wire-transfers.mjs +13 -0
  151. package/resources/simulations/inbound-wire-transfers.mjs.map +1 -0
  152. package/resources/simulations/index.d.ts +14 -7
  153. package/resources/simulations/index.d.ts.map +1 -1
  154. package/resources/simulations/index.js +21 -7
  155. package/resources/simulations/index.js.map +1 -1
  156. package/resources/simulations/index.mjs +11 -4
  157. package/resources/simulations/index.mjs.map +1 -1
  158. package/resources/simulations/interest-payments.js +1 -1
  159. package/resources/simulations/interest-payments.js.map +1 -1
  160. package/resources/simulations/interest-payments.mjs +1 -1
  161. package/resources/simulations/interest-payments.mjs.map +1 -1
  162. package/resources/simulations/physical-cards.d.ts +3 -3
  163. package/resources/simulations/physical-cards.js +2 -2
  164. package/resources/simulations/physical-cards.mjs +2 -2
  165. package/resources/simulations/real-time-payments-transfers.d.ts +0 -3686
  166. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  167. package/resources/simulations/real-time-payments-transfers.js +0 -7
  168. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  169. package/resources/simulations/real-time-payments-transfers.mjs +0 -7
  170. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  171. package/resources/simulations/simulations.d.ts +67 -118
  172. package/resources/simulations/simulations.d.ts.map +1 -1
  173. package/resources/simulations/simulations.js +45 -54
  174. package/resources/simulations/simulations.js.map +1 -1
  175. package/resources/simulations/simulations.mjs +45 -54
  176. package/resources/simulations/simulations.mjs.map +1 -1
  177. package/resources/simulations/wire-transfers.d.ts +10 -85
  178. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  179. package/resources/simulations/wire-transfers.js +14 -5
  180. package/resources/simulations/wire-transfers.js.map +1 -1
  181. package/resources/simulations/wire-transfers.mjs +14 -5
  182. package/resources/simulations/wire-transfers.mjs.map +1 -1
  183. package/resources/{entities/supplemental-documents.d.ts → supplemental-documents.d.ts} +17 -10
  184. package/resources/supplemental-documents.d.ts.map +1 -0
  185. package/resources/{entities/supplemental-documents.js → supplemental-documents.js} +9 -9
  186. package/resources/supplemental-documents.js.map +1 -0
  187. package/resources/{entities/supplemental-documents.mjs → supplemental-documents.mjs} +7 -7
  188. package/resources/supplemental-documents.mjs.map +1 -0
  189. package/resources/transactions.d.ts +6 -276
  190. package/resources/transactions.d.ts.map +1 -1
  191. package/resources/transactions.js.map +1 -1
  192. package/resources/transactions.mjs.map +1 -1
  193. package/resources/wire-transfers.d.ts +4 -13
  194. package/resources/wire-transfers.d.ts.map +1 -1
  195. package/resources/wire-transfers.js +0 -17
  196. package/resources/wire-transfers.js.map +1 -1
  197. package/resources/wire-transfers.mjs +0 -17
  198. package/resources/wire-transfers.mjs.map +1 -1
  199. package/src/error.ts +0 -8
  200. package/src/index.ts +210 -189
  201. package/src/resources/cards.ts +1 -1
  202. package/src/resources/declined-transactions.ts +0 -297
  203. package/src/resources/{entities/entities.ts → entities.ts} +351 -56
  204. package/src/resources/groups.ts +1 -1
  205. package/src/resources/inbound-ach-transfers.ts +288 -13
  206. package/src/resources/inbound-check-deposits.ts +34 -1
  207. package/src/resources/inbound-mail-items.ts +0 -16
  208. package/src/resources/inbound-wire-transfers.ts +5 -0
  209. package/src/resources/index.ts +32 -14
  210. package/src/resources/{intrafi/account-enrollments.ts → intrafi-account-enrollments.ts} +18 -18
  211. package/src/resources/{intrafi/balances.ts → intrafi-balances.ts} +6 -6
  212. package/src/resources/{intrafi/exclusions.ts → intrafi-exclusions.ts} +19 -16
  213. package/src/resources/lockboxes.ts +0 -16
  214. package/src/resources/routing-numbers.ts +6 -6
  215. package/src/resources/simulations/ach-transfers.ts +15 -76
  216. package/src/resources/simulations/card-authorization-expirations.ts +29 -0
  217. package/src/resources/simulations/card-authorizations.ts +112 -0
  218. package/src/resources/simulations/card-fuel-confirmations.ts +37 -0
  219. package/src/resources/simulations/card-increments.ts +43 -0
  220. package/src/resources/simulations/card-reversals.ts +38 -0
  221. package/src/resources/simulations/card-settlements.ts +45 -0
  222. package/src/resources/simulations/inbound-ach-transfers.ts +124 -0
  223. package/src/resources/simulations/inbound-real-time-payments-transfers.ts +89 -0
  224. package/src/resources/simulations/inbound-wire-transfers.ts +124 -0
  225. package/src/resources/simulations/index.ts +26 -21
  226. package/src/resources/simulations/interest-payments.ts +1 -1
  227. package/src/resources/simulations/physical-cards.ts +5 -5
  228. package/src/resources/simulations/real-time-payments-transfers.ts +0 -4659
  229. package/src/resources/simulations/simulations.ts +80 -157
  230. package/src/resources/simulations/wire-transfers.ts +18 -104
  231. package/src/resources/{entities/supplemental-documents.ts → supplemental-documents.ts} +21 -13
  232. package/src/resources/transactions.ts +5 -350
  233. package/src/resources/wire-transfers.ts +5 -19
  234. package/src/version.ts +1 -1
  235. package/version.d.ts +1 -1
  236. package/version.js +1 -1
  237. package/version.mjs +1 -1
  238. package/resources/entities/beneficial-owners.d.ts +0 -279
  239. package/resources/entities/beneficial-owners.d.ts.map +0 -1
  240. package/resources/entities/beneficial-owners.js +0 -29
  241. package/resources/entities/beneficial-owners.js.map +0 -1
  242. package/resources/entities/beneficial-owners.mjs +0 -25
  243. package/resources/entities/beneficial-owners.mjs.map +0 -1
  244. package/resources/entities/entities.d.ts.map +0 -1
  245. package/resources/entities/entities.js.map +0 -1
  246. package/resources/entities/entities.mjs.map +0 -1
  247. package/resources/entities/index.d.ts +0 -5
  248. package/resources/entities/index.d.ts.map +0 -1
  249. package/resources/entities/index.js +0 -15
  250. package/resources/entities/index.js.map +0 -1
  251. package/resources/entities/index.mjs +0 -6
  252. package/resources/entities/index.mjs.map +0 -1
  253. package/resources/entities/industry-code.d.ts +0 -23
  254. package/resources/entities/industry-code.d.ts.map +0 -1
  255. package/resources/entities/industry-code.js +0 -17
  256. package/resources/entities/industry-code.js.map +0 -1
  257. package/resources/entities/industry-code.mjs +0 -13
  258. package/resources/entities/industry-code.mjs.map +0 -1
  259. package/resources/entities/supplemental-documents.d.ts.map +0 -1
  260. package/resources/entities/supplemental-documents.js.map +0 -1
  261. package/resources/entities/supplemental-documents.mjs.map +0 -1
  262. package/resources/intrafi/account-enrollments.d.ts.map +0 -1
  263. package/resources/intrafi/account-enrollments.js.map +0 -1
  264. package/resources/intrafi/account-enrollments.mjs.map +0 -1
  265. package/resources/intrafi/balances.d.ts.map +0 -1
  266. package/resources/intrafi/balances.js.map +0 -1
  267. package/resources/intrafi/balances.mjs.map +0 -1
  268. package/resources/intrafi/exclusions.d.ts.map +0 -1
  269. package/resources/intrafi/exclusions.js.map +0 -1
  270. package/resources/intrafi/exclusions.mjs.map +0 -1
  271. package/resources/intrafi/index.d.ts +0 -5
  272. package/resources/intrafi/index.d.ts.map +0 -1
  273. package/resources/intrafi/index.js +0 -15
  274. package/resources/intrafi/index.js.map +0 -1
  275. package/resources/intrafi/index.mjs +0 -6
  276. package/resources/intrafi/index.mjs.map +0 -1
  277. package/resources/intrafi/intrafi.d.ts +0 -24
  278. package/resources/intrafi/intrafi.d.ts.map +0 -1
  279. package/resources/intrafi/intrafi.js +0 -48
  280. package/resources/intrafi/intrafi.js.map +0 -1
  281. package/resources/intrafi/intrafi.mjs +0 -21
  282. package/resources/intrafi/intrafi.mjs.map +0 -1
  283. package/resources/simulations/cards.d.ts +0 -1763
  284. package/resources/simulations/cards.d.ts.map +0 -1
  285. package/resources/simulations/cards.js.map +0 -1
  286. package/resources/simulations/cards.mjs.map +0 -1
  287. package/resources/simulations/inbound-international-ach-transfers.d.ts +0 -285
  288. package/resources/simulations/inbound-international-ach-transfers.d.ts.map +0 -1
  289. package/resources/simulations/inbound-international-ach-transfers.js +0 -21
  290. package/resources/simulations/inbound-international-ach-transfers.js.map +0 -1
  291. package/resources/simulations/inbound-international-ach-transfers.mjs +0 -17
  292. package/resources/simulations/inbound-international-ach-transfers.mjs.map +0 -1
  293. package/src/resources/entities/beneficial-owners.ts +0 -346
  294. package/src/resources/entities/index.ts +0 -25
  295. package/src/resources/entities/industry-code.ts +0 -33
  296. package/src/resources/intrafi/index.ts +0 -18
  297. package/src/resources/intrafi/intrafi.ts +0 -29
  298. package/src/resources/simulations/cards.ts +0 -2188
  299. package/src/resources/simulations/inbound-international-ach-transfers.ts +0 -367
@@ -1,14 +1,9 @@
1
- import { APIResource } from "../../resource.js";
2
- import * as Core from "../../core.js";
1
+ import { APIResource } from "../resource.js";
2
+ import * as Core from "../core.js";
3
3
  import * as EntitiesAPI from "./entities.js";
4
- import * as BeneficialOwnersAPI from "./beneficial-owners.js";
5
- import * as IndustryCodeAPI from "./industry-code.js";
6
4
  import * as SupplementalDocumentsAPI from "./supplemental-documents.js";
7
- import { Page, type PageParams } from "../../pagination.js";
5
+ import { Page, type PageParams } from "../pagination.js";
8
6
  export declare class Entities extends APIResource {
9
- beneficialOwners: BeneficialOwnersAPI.BeneficialOwners;
10
- supplementalDocuments: SupplementalDocumentsAPI.SupplementalDocuments;
11
- industryCode: IndustryCodeAPI.IndustryCode;
12
7
  /**
13
8
  * Create an Entity
14
9
  */
@@ -26,16 +21,32 @@ export declare class Entities extends APIResource {
26
21
  * Archive an Entity
27
22
  */
28
23
  archive(entityId: string, options?: Core.RequestOptions): Core.APIPromise<Entity>;
24
+ /**
25
+ * Archive a beneficial owner for a corporate Entity
26
+ */
27
+ archiveBeneficialOwner(entityId: string, body: EntityArchiveBeneficialOwnerParams, options?: Core.RequestOptions): Core.APIPromise<Entity>;
29
28
  /**
30
29
  * Depending on your program, you may be required to re-confirm an Entity's details
31
30
  * on a recurring basis. After making any required updates, call this endpoint to
32
31
  * record that your user confirmed their details.
33
32
  */
34
33
  confirm(entityId: string, body: EntityConfirmParams, options?: Core.RequestOptions): Core.APIPromise<Entity>;
34
+ /**
35
+ * Create a beneficial owner for a corporate Entity
36
+ */
37
+ createBeneficialOwner(entityId: string, body: EntityCreateBeneficialOwnerParams, options?: Core.RequestOptions): Core.APIPromise<Entity>;
35
38
  /**
36
39
  * Update a Natural Person or Corporation's address
37
40
  */
38
41
  updateAddress(entityId: string, body: EntityUpdateAddressParams, options?: Core.RequestOptions): Core.APIPromise<Entity>;
42
+ /**
43
+ * Update the address for a beneficial owner belonging to a corporate Entity
44
+ */
45
+ updateBeneficialOwnerAddress(entityId: string, body: EntityUpdateBeneficialOwnerAddressParams, options?: Core.RequestOptions): Core.APIPromise<Entity>;
46
+ /**
47
+ * Update the industry code for a corporate Entity
48
+ */
49
+ updateIndustryCode(entityId: string, body: EntityUpdateIndustryCodeParams, options?: Core.RequestOptions): Core.APIPromise<Entity>;
39
50
  }
40
51
  export declare class EntitiesPage extends Page<Entity> {
41
52
  }
@@ -112,7 +123,7 @@ export interface Entity {
112
123
  * first 10 documents for an entity. If an entity has more than 10 documents, use
113
124
  * the GET /entity_supplemental_documents list endpoint to retrieve them.
114
125
  */
115
- supplemental_documents: Array<Entity.SupplementalDocument>;
126
+ supplemental_documents: Array<SupplementalDocumentsAPI.EntitySupplementalDocument>;
116
127
  /**
117
128
  * Details of the trust entity. Will be present if `structure` is equal to `trust`.
118
129
  */
@@ -507,32 +518,6 @@ export declare namespace Entity {
507
518
  number_last4: string;
508
519
  }
509
520
  }
510
- /**
511
- * Supplemental Documents are uploaded files connected to an Entity during
512
- * onboarding.
513
- */
514
- interface SupplementalDocument {
515
- /**
516
- * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
517
- * Supplemental Document was created.
518
- */
519
- created_at: string;
520
- /**
521
- * The File containing the document.
522
- */
523
- file_id: string;
524
- /**
525
- * The idempotency key you chose for this object. This value is unique across
526
- * Increase and is used to ensure that a request is only processed once. Learn more
527
- * about [idempotency](https://increase.com/documentation/idempotency-keys).
528
- */
529
- idempotency_key: string | null;
530
- /**
531
- * A constant representing the object's type. For this resource it will always be
532
- * `entity_supplemental_document`.
533
- */
534
- type: 'entity_supplemental_document';
535
- }
536
521
  /**
537
522
  * Details of the trust entity. Will be present if `structure` is equal to `trust`.
538
523
  */
@@ -1939,6 +1924,13 @@ export declare namespace EntityListParams {
1939
1924
  in?: Array<'active' | 'archived' | 'disabled'>;
1940
1925
  }
1941
1926
  }
1927
+ export interface EntityArchiveBeneficialOwnerParams {
1928
+ /**
1929
+ * The identifying details of anyone controlling or owning 25% or more of the
1930
+ * corporation.
1931
+ */
1932
+ beneficial_owner_id: string;
1933
+ }
1942
1934
  export interface EntityConfirmParams {
1943
1935
  /**
1944
1936
  * When your user confirmed the Entity's details. If not provided, the current time
@@ -1946,6 +1938,201 @@ export interface EntityConfirmParams {
1946
1938
  */
1947
1939
  confirmed_at?: string;
1948
1940
  }
1941
+ export interface EntityCreateBeneficialOwnerParams {
1942
+ /**
1943
+ * The identifying details of anyone controlling or owning 25% or more of the
1944
+ * corporation.
1945
+ */
1946
+ beneficial_owner: EntityCreateBeneficialOwnerParams.BeneficialOwner;
1947
+ }
1948
+ export declare namespace EntityCreateBeneficialOwnerParams {
1949
+ /**
1950
+ * The identifying details of anyone controlling or owning 25% or more of the
1951
+ * corporation.
1952
+ */
1953
+ interface BeneficialOwner {
1954
+ /**
1955
+ * Personal details for the beneficial owner.
1956
+ */
1957
+ individual: BeneficialOwner.Individual;
1958
+ /**
1959
+ * Why this person is considered a beneficial owner of the entity. At least one
1960
+ * option is required, if a person is both a control person and owner, submit an
1961
+ * array containing both.
1962
+ */
1963
+ prongs: Array<'ownership' | 'control'>;
1964
+ /**
1965
+ * This person's role or title within the entity.
1966
+ */
1967
+ company_title?: string;
1968
+ }
1969
+ namespace BeneficialOwner {
1970
+ /**
1971
+ * Personal details for the beneficial owner.
1972
+ */
1973
+ interface Individual {
1974
+ /**
1975
+ * The individual's physical address. Mail receiving locations like PO Boxes and
1976
+ * PMB's are disallowed.
1977
+ */
1978
+ address: Individual.Address;
1979
+ /**
1980
+ * The person's date of birth in YYYY-MM-DD format.
1981
+ */
1982
+ date_of_birth: string;
1983
+ /**
1984
+ * A means of verifying the person's identity.
1985
+ */
1986
+ identification: Individual.Identification;
1987
+ /**
1988
+ * The person's legal name.
1989
+ */
1990
+ name: string;
1991
+ /**
1992
+ * The identification method for an individual can only be a passport, driver's
1993
+ * license, or other document if you've confirmed the individual does not have a US
1994
+ * tax id (either a Social Security Number or Individual Taxpayer Identification
1995
+ * Number).
1996
+ */
1997
+ confirmed_no_us_tax_id?: boolean;
1998
+ }
1999
+ namespace Individual {
2000
+ /**
2001
+ * The individual's physical address. Mail receiving locations like PO Boxes and
2002
+ * PMB's are disallowed.
2003
+ */
2004
+ interface Address {
2005
+ /**
2006
+ * The city of the address.
2007
+ */
2008
+ city: string;
2009
+ /**
2010
+ * The first line of the address. This is usually the street number and street.
2011
+ */
2012
+ line1: string;
2013
+ /**
2014
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
2015
+ * the address.
2016
+ */
2017
+ state: string;
2018
+ /**
2019
+ * The ZIP code of the address.
2020
+ */
2021
+ zip: string;
2022
+ /**
2023
+ * The second line of the address. This might be the floor or room number.
2024
+ */
2025
+ line2?: string;
2026
+ }
2027
+ /**
2028
+ * A means of verifying the person's identity.
2029
+ */
2030
+ interface Identification {
2031
+ /**
2032
+ * A method that can be used to verify the individual's identity.
2033
+ *
2034
+ * - `social_security_number` - A social security number.
2035
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
2036
+ * identification number (ITIN).
2037
+ * - `passport` - A passport number.
2038
+ * - `drivers_license` - A driver's license number.
2039
+ * - `other` - Another identifying document.
2040
+ */
2041
+ method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
2042
+ /**
2043
+ * An identification number that can be used to verify the individual's identity,
2044
+ * such as a social security number.
2045
+ */
2046
+ number: string;
2047
+ /**
2048
+ * Information about the United States driver's license used for identification.
2049
+ * Required if `method` is equal to `drivers_license`.
2050
+ */
2051
+ drivers_license?: Identification.DriversLicense;
2052
+ /**
2053
+ * Information about the identification document provided. Required if `method` is
2054
+ * equal to `other`.
2055
+ */
2056
+ other?: Identification.Other;
2057
+ /**
2058
+ * Information about the passport used for identification. Required if `method` is
2059
+ * equal to `passport`.
2060
+ */
2061
+ passport?: Identification.Passport;
2062
+ }
2063
+ namespace Identification {
2064
+ /**
2065
+ * Information about the United States driver's license used for identification.
2066
+ * Required if `method` is equal to `drivers_license`.
2067
+ */
2068
+ interface DriversLicense {
2069
+ /**
2070
+ * The driver's license's expiration date in YYYY-MM-DD format.
2071
+ */
2072
+ expiration_date: string;
2073
+ /**
2074
+ * The identifier of the File containing the front of the driver's license.
2075
+ */
2076
+ file_id: string;
2077
+ /**
2078
+ * The state that issued the provided driver's license.
2079
+ */
2080
+ state: string;
2081
+ /**
2082
+ * The identifier of the File containing the back of the driver's license.
2083
+ */
2084
+ back_file_id?: string;
2085
+ }
2086
+ /**
2087
+ * Information about the identification document provided. Required if `method` is
2088
+ * equal to `other`.
2089
+ */
2090
+ interface Other {
2091
+ /**
2092
+ * The two-character ISO 3166-1 code representing the country that issued the
2093
+ * document.
2094
+ */
2095
+ country: string;
2096
+ /**
2097
+ * A description of the document submitted.
2098
+ */
2099
+ description: string;
2100
+ /**
2101
+ * The identifier of the File containing the front of the document.
2102
+ */
2103
+ file_id: string;
2104
+ /**
2105
+ * The identifier of the File containing the back of the document. Not every
2106
+ * document has a reverse side.
2107
+ */
2108
+ back_file_id?: string;
2109
+ /**
2110
+ * The document's expiration date in YYYY-MM-DD format.
2111
+ */
2112
+ expiration_date?: string;
2113
+ }
2114
+ /**
2115
+ * Information about the passport used for identification. Required if `method` is
2116
+ * equal to `passport`.
2117
+ */
2118
+ interface Passport {
2119
+ /**
2120
+ * The country that issued the passport.
2121
+ */
2122
+ country: string;
2123
+ /**
2124
+ * The passport's expiration date in YYYY-MM-DD format.
2125
+ */
2126
+ expiration_date: string;
2127
+ /**
2128
+ * The identifier of the File containing the passport.
2129
+ */
2130
+ file_id: string;
2131
+ }
2132
+ }
2133
+ }
2134
+ }
2135
+ }
1949
2136
  export interface EntityUpdateAddressParams {
1950
2137
  /**
1951
2138
  * The entity's physical address. Mail receiving locations like PO Boxes and PMB's
@@ -1982,23 +2169,66 @@ export declare namespace EntityUpdateAddressParams {
1982
2169
  line2?: string;
1983
2170
  }
1984
2171
  }
2172
+ export interface EntityUpdateBeneficialOwnerAddressParams {
2173
+ /**
2174
+ * The individual's physical address. Mail receiving locations like PO Boxes and
2175
+ * PMB's are disallowed.
2176
+ */
2177
+ address: EntityUpdateBeneficialOwnerAddressParams.Address;
2178
+ /**
2179
+ * The identifying details of anyone controlling or owning 25% or more of the
2180
+ * corporation.
2181
+ */
2182
+ beneficial_owner_id: string;
2183
+ }
2184
+ export declare namespace EntityUpdateBeneficialOwnerAddressParams {
2185
+ /**
2186
+ * The individual's physical address. Mail receiving locations like PO Boxes and
2187
+ * PMB's are disallowed.
2188
+ */
2189
+ interface Address {
2190
+ /**
2191
+ * The city of the address.
2192
+ */
2193
+ city: string;
2194
+ /**
2195
+ * The first line of the address. This is usually the street number and street.
2196
+ */
2197
+ line1: string;
2198
+ /**
2199
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
2200
+ * the address.
2201
+ */
2202
+ state: string;
2203
+ /**
2204
+ * The ZIP code of the address.
2205
+ */
2206
+ zip: string;
2207
+ /**
2208
+ * The second line of the address. This might be the floor or room number.
2209
+ */
2210
+ line2?: string;
2211
+ }
2212
+ }
2213
+ export interface EntityUpdateIndustryCodeParams {
2214
+ /**
2215
+ * The North American Industry Classification System (NAICS) code for the
2216
+ * corporation's primary line of business. This is a number, like `5132` for
2217
+ * `Software Publishers`. A full list of classification codes is available
2218
+ * [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
2219
+ */
2220
+ industry_code: string;
2221
+ }
1985
2222
  export declare namespace Entities {
1986
2223
  export import Entity = EntitiesAPI.Entity;
1987
2224
  export import EntitiesPage = EntitiesAPI.EntitiesPage;
1988
2225
  export import EntityCreateParams = EntitiesAPI.EntityCreateParams;
1989
2226
  export import EntityListParams = EntitiesAPI.EntityListParams;
2227
+ export import EntityArchiveBeneficialOwnerParams = EntitiesAPI.EntityArchiveBeneficialOwnerParams;
1990
2228
  export import EntityConfirmParams = EntitiesAPI.EntityConfirmParams;
2229
+ export import EntityCreateBeneficialOwnerParams = EntitiesAPI.EntityCreateBeneficialOwnerParams;
1991
2230
  export import EntityUpdateAddressParams = EntitiesAPI.EntityUpdateAddressParams;
1992
- export import BeneficialOwners = BeneficialOwnersAPI.BeneficialOwners;
1993
- export import BeneficialOwnerCreateParams = BeneficialOwnersAPI.BeneficialOwnerCreateParams;
1994
- export import BeneficialOwnerArchiveParams = BeneficialOwnersAPI.BeneficialOwnerArchiveParams;
1995
- export import BeneficialOwnerUpdateAddressParams = BeneficialOwnersAPI.BeneficialOwnerUpdateAddressParams;
1996
- export import SupplementalDocuments = SupplementalDocumentsAPI.SupplementalDocuments;
1997
- export import SupplementalDocument = SupplementalDocumentsAPI.SupplementalDocument;
1998
- export import SupplementalDocumentsPage = SupplementalDocumentsAPI.SupplementalDocumentsPage;
1999
- export import SupplementalDocumentCreateParams = SupplementalDocumentsAPI.SupplementalDocumentCreateParams;
2000
- export import SupplementalDocumentListParams = SupplementalDocumentsAPI.SupplementalDocumentListParams;
2001
- export import IndustryCode = IndustryCodeAPI.IndustryCode;
2002
- export import IndustryCodeCreateParams = IndustryCodeAPI.IndustryCodeCreateParams;
2231
+ export import EntityUpdateBeneficialOwnerAddressParams = EntitiesAPI.EntityUpdateBeneficialOwnerAddressParams;
2232
+ export import EntityUpdateIndustryCodeParams = EntitiesAPI.EntityUpdateIndustryCodeParams;
2003
2233
  }
2004
2234
  //# sourceMappingURL=entities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../src/resources/entities.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,WAAW,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,wBAAwB,MAAM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this.__importStar) || function (mod) {
25
25
  };
26
26
  Object.defineProperty(exports, "__esModule", { value: true });
27
27
  exports.EntitiesPage = exports.Entities = void 0;
28
- const resource_1 = require("../../resource.js");
29
- const core_1 = require("../../core.js");
28
+ const resource_1 = require("../resource.js");
29
+ const core_1 = require("../core.js");
30
30
  const EntitiesAPI = __importStar(require("./entities.js"));
31
- const BeneficialOwnersAPI = __importStar(require("./beneficial-owners.js"));
32
- const IndustryCodeAPI = __importStar(require("./industry-code.js"));
33
- const SupplementalDocumentsAPI = __importStar(require("./supplemental-documents.js"));
34
- const pagination_1 = require("../../pagination.js");
31
+ const pagination_1 = require("../pagination.js");
35
32
  class Entities extends resource_1.APIResource {
36
- constructor() {
37
- super(...arguments);
38
- this.beneficialOwners = new BeneficialOwnersAPI.BeneficialOwners(this._client);
39
- this.supplementalDocuments = new SupplementalDocumentsAPI.SupplementalDocuments(this._client);
40
- this.industryCode = new IndustryCodeAPI.IndustryCode(this._client);
41
- }
42
33
  /**
43
34
  * Create an Entity
44
35
  */
@@ -63,6 +54,12 @@ class Entities extends resource_1.APIResource {
63
54
  archive(entityId, options) {
64
55
  return this._client.post(`/entities/${entityId}/archive`, options);
65
56
  }
57
+ /**
58
+ * Archive a beneficial owner for a corporate Entity
59
+ */
60
+ archiveBeneficialOwner(entityId, body, options) {
61
+ return this._client.post(`/entities/${entityId}/archive_beneficial_owner`, { body, ...options });
62
+ }
66
63
  /**
67
64
  * Depending on your program, you may be required to re-confirm an Entity's details
68
65
  * on a recurring basis. After making any required updates, call this endpoint to
@@ -71,11 +68,29 @@ class Entities extends resource_1.APIResource {
71
68
  confirm(entityId, body, options) {
72
69
  return this._client.post(`/entities/${entityId}/confirm`, { body, ...options });
73
70
  }
71
+ /**
72
+ * Create a beneficial owner for a corporate Entity
73
+ */
74
+ createBeneficialOwner(entityId, body, options) {
75
+ return this._client.post(`/entities/${entityId}/create_beneficial_owner`, { body, ...options });
76
+ }
74
77
  /**
75
78
  * Update a Natural Person or Corporation's address
76
79
  */
77
80
  updateAddress(entityId, body, options) {
78
- return this._client.post(`/entities/${entityId}/address`, { body, ...options });
81
+ return this._client.post(`/entities/${entityId}/update_address`, { body, ...options });
82
+ }
83
+ /**
84
+ * Update the address for a beneficial owner belonging to a corporate Entity
85
+ */
86
+ updateBeneficialOwnerAddress(entityId, body, options) {
87
+ return this._client.post(`/entities/${entityId}/update_beneficial_owner_address`, { body, ...options });
88
+ }
89
+ /**
90
+ * Update the industry code for a corporate Entity
91
+ */
92
+ updateIndustryCode(entityId, body, options) {
93
+ return this._client.post(`/entities/${entityId}/update_industry_code`, { body, ...options });
79
94
  }
80
95
  }
81
96
  exports.Entities = Entities;
@@ -84,9 +99,5 @@ class EntitiesPage extends pagination_1.Page {
84
99
  exports.EntitiesPage = EntitiesPage;
85
100
  (function (Entities) {
86
101
  Entities.EntitiesPage = EntitiesAPI.EntitiesPage;
87
- Entities.BeneficialOwners = BeneficialOwnersAPI.BeneficialOwners;
88
- Entities.SupplementalDocuments = SupplementalDocumentsAPI.SupplementalDocuments;
89
- Entities.SupplementalDocumentsPage = SupplementalDocumentsAPI.SupplementalDocumentsPage;
90
- Entities.IndustryCode = IndustryCodeAPI.IndustryCode;
91
102
  })(Entities = exports.Entities || (exports.Entities = {}));
92
103
  //# sourceMappingURL=entities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.js","sourceRoot":"","sources":["../src/resources/entities.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,2DAA0C;AAE1C,iDAAsD;AAEtD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,QAAQ,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+B,EAC/B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,QAAQ,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,4BAA4B,CAC1B,QAAgB,EAChB,IAA8C,EAC9C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,QAAQ,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED;;OAEG;IACH,kBAAkB,CAChB,QAAgB,EAChB,IAAoC,EACpC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,QAAQ,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF;AAxGD,4BAwGC;AAED,MAAa,YAAa,SAAQ,iBAAY;CAAG;AAAjD,oCAAiD;AAwhFjD,WAAiB,QAAQ;IAET,qBAAY,GAAG,WAAW,CAAC,YAAY,CAAC;AASxD,CAAC,EAXgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAWxB"}
@@ -1,18 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../resource.mjs";
3
- import { isRequestOptions } from "../../core.mjs";
2
+ import { APIResource } from "../resource.mjs";
3
+ import { isRequestOptions } from "../core.mjs";
4
4
  import * as EntitiesAPI from "./entities.mjs";
5
- import * as BeneficialOwnersAPI from "./beneficial-owners.mjs";
6
- import * as IndustryCodeAPI from "./industry-code.mjs";
7
- import * as SupplementalDocumentsAPI from "./supplemental-documents.mjs";
8
- import { Page } from "../../pagination.mjs";
5
+ import { Page } from "../pagination.mjs";
9
6
  export class Entities extends APIResource {
10
- constructor() {
11
- super(...arguments);
12
- this.beneficialOwners = new BeneficialOwnersAPI.BeneficialOwners(this._client);
13
- this.supplementalDocuments = new SupplementalDocumentsAPI.SupplementalDocuments(this._client);
14
- this.industryCode = new IndustryCodeAPI.IndustryCode(this._client);
15
- }
16
7
  /**
17
8
  * Create an Entity
18
9
  */
@@ -37,6 +28,12 @@ export class Entities extends APIResource {
37
28
  archive(entityId, options) {
38
29
  return this._client.post(`/entities/${entityId}/archive`, options);
39
30
  }
31
+ /**
32
+ * Archive a beneficial owner for a corporate Entity
33
+ */
34
+ archiveBeneficialOwner(entityId, body, options) {
35
+ return this._client.post(`/entities/${entityId}/archive_beneficial_owner`, { body, ...options });
36
+ }
40
37
  /**
41
38
  * Depending on your program, you may be required to re-confirm an Entity's details
42
39
  * on a recurring basis. After making any required updates, call this endpoint to
@@ -45,20 +42,34 @@ export class Entities extends APIResource {
45
42
  confirm(entityId, body, options) {
46
43
  return this._client.post(`/entities/${entityId}/confirm`, { body, ...options });
47
44
  }
45
+ /**
46
+ * Create a beneficial owner for a corporate Entity
47
+ */
48
+ createBeneficialOwner(entityId, body, options) {
49
+ return this._client.post(`/entities/${entityId}/create_beneficial_owner`, { body, ...options });
50
+ }
48
51
  /**
49
52
  * Update a Natural Person or Corporation's address
50
53
  */
51
54
  updateAddress(entityId, body, options) {
52
- return this._client.post(`/entities/${entityId}/address`, { body, ...options });
55
+ return this._client.post(`/entities/${entityId}/update_address`, { body, ...options });
56
+ }
57
+ /**
58
+ * Update the address for a beneficial owner belonging to a corporate Entity
59
+ */
60
+ updateBeneficialOwnerAddress(entityId, body, options) {
61
+ return this._client.post(`/entities/${entityId}/update_beneficial_owner_address`, { body, ...options });
62
+ }
63
+ /**
64
+ * Update the industry code for a corporate Entity
65
+ */
66
+ updateIndustryCode(entityId, body, options) {
67
+ return this._client.post(`/entities/${entityId}/update_industry_code`, { body, ...options });
53
68
  }
54
69
  }
55
70
  export class EntitiesPage extends Page {
56
71
  }
57
72
  (function (Entities) {
58
73
  Entities.EntitiesPage = EntitiesAPI.EntitiesPage;
59
- Entities.BeneficialOwners = BeneficialOwnersAPI.BeneficialOwners;
60
- Entities.SupplementalDocuments = SupplementalDocumentsAPI.SupplementalDocuments;
61
- Entities.SupplementalDocumentsPage = SupplementalDocumentsAPI.SupplementalDocumentsPage;
62
- Entities.IndustryCode = IndustryCodeAPI.IndustryCode;
63
74
  })(Entities || (Entities = {}));
64
75
  //# sourceMappingURL=entities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.mjs","sourceRoot":"","sources":["../src/resources/entities.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,KAAK,WAAW;OAEhB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAA6B;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAOD,IAAI,CACF,QAAgD,EAAE,EAClD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,QAAgB,EAAE,OAA6B;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,QAAQ,UAAU,EAAE,OAAO,CAAC,C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;AAED,MAAM,OAAO,YAAa,SAAQ,IAAY;CAAG;AAwhFjD,WAAiB,QAAQ;IAET,qBAAY,GAAG,WAAW,CAAC,YAAY,CAAC;AASxD,CAAC,EAXgB,QAAQ,KAAR,QAAQ,QAWxB"}
@@ -5,7 +5,7 @@ export declare class Groups extends APIResource {
5
5
  /**
6
6
  * Returns details for the currently authenticated Group.
7
7
  */
8
- retrieveDetails(options?: Core.RequestOptions): Core.APIPromise<Group>;
8
+ retrieve(options?: Core.RequestOptions): Core.APIPromise<Group>;
9
9
  }
10
10
  /**
11
11
  * Groups represent organizations using Increase. You can retrieve information
@@ -1 +1 @@
1
- {"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../src/resources/groups.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,SAAS,MAAM,UAAU,CAAC;AAEtC,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,eAAe,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;CAGvE;AAED;;;;GAIG;AACH,MAAM,WAAW,KAAK;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;;OAKG;IACH,gBAAgB,EAAE,UAAU,GAAG,SAAS,CAAC;IAEzC;;;;;OAKG;IACH,iBAAiB,EAAE,aAAa,GAAG,WAAW,CAAC;IAE/C;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,IAAI,EAAE,OAAO,CAAC;CACf;AAED,yBAAiB,MAAM,CAAC;IACtB,MAAM,QAAQ,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC;CACvC"}
1
+ {"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../src/resources/groups.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,SAAS,MAAM,UAAU,CAAC;AAEtC,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;CAGhE;AAED;;;;GAIG;AACH,MAAM,WAAW,KAAK;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;;OAKG;IACH,gBAAgB,EAAE,UAAU,GAAG,SAAS,CAAC;IAEzC;;;;;OAKG;IACH,iBAAiB,EAAE,aAAa,GAAG,WAAW,CAAC;IAE/C;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,IAAI,EAAE,OAAO,CAAC;CACf;AAED,yBAAiB,MAAM,CAAC;IACtB,MAAM,QAAQ,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC;CACvC"}
@@ -7,7 +7,7 @@ class Groups extends resource_1.APIResource {
7
7
  /**
8
8
  * Returns details for the currently authenticated Group.
9
9
  */
10
- retrieveDetails(options) {
10
+ retrieve(options) {
11
11
  return this._client.get('/groups/current', options);
12
12
  }
13
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"groups.js","sourceRoot":"","sources":["../src/resources/groups.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAI1C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,eAAe,CAAC,OAA6B;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;CACF;AAPD,wBAOC;AA0CD,WAAiB,MAAM;AAEvB,CAAC,EAFgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAEtB"}
1
+ {"version":3,"file":"groups.js","sourceRoot":"","sources":["../src/resources/groups.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAI1C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,QAAQ,CAAC,OAA6B;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;CACF;AAPD,wBAOC;AA0CD,WAAiB,MAAM;AAEvB,CAAC,EAFgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAEtB"}
@@ -4,7 +4,7 @@ export class Groups extends APIResource {
4
4
  /**
5
5
  * Returns details for the currently authenticated Group.
6
6
  */
7
- retrieveDetails(options) {
7
+ retrieve(options) {
8
8
  return this._client.get('/groups/current', options);
9
9
  }
10
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"groups.mjs","sourceRoot":"","sources":["../src/resources/groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,eAAe,CAAC,OAA6B;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;CACF;AA0CD,WAAiB,MAAM;AAEvB,CAAC,EAFgB,MAAM,KAAN,MAAM,QAEtB"}
1
+ {"version":3,"file":"groups.mjs","sourceRoot":"","sources":["../src/resources/groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CAAC,OAA6B;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;CACF;AA0CD,WAAiB,MAAM;AAEvB,CAAC,EAFgB,MAAM,KAAN,MAAM,QAEtB"}