increase 0.59.0 → 0.60.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,346 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../../resource';
4
- import * as Core from '../../core';
5
- import * as BeneficialOwnersAPI from './beneficial-owners';
6
- import * as EntitiesAPI from './entities';
7
-
8
- export class BeneficialOwners extends APIResource {
9
- /**
10
- * Create a beneficial owner for a corporate Entity
11
- */
12
- create(
13
- body: BeneficialOwnerCreateParams,
14
- options?: Core.RequestOptions,
15
- ): Core.APIPromise<EntitiesAPI.Entity> {
16
- return this._client.post('/entity_beneficial_owners', { body, ...options });
17
- }
18
-
19
- /**
20
- * Archive a beneficial owner for a corporate Entity
21
- */
22
- archive(
23
- body: BeneficialOwnerArchiveParams,
24
- options?: Core.RequestOptions,
25
- ): Core.APIPromise<EntitiesAPI.Entity> {
26
- return this._client.post('/entity_beneficial_owners/archive', { body, ...options });
27
- }
28
-
29
- /**
30
- * Update the address for a beneficial owner belonging to a corporate Entity
31
- */
32
- updateAddress(
33
- body: BeneficialOwnerUpdateAddressParams,
34
- options?: Core.RequestOptions,
35
- ): Core.APIPromise<EntitiesAPI.Entity> {
36
- return this._client.post('/entity_beneficial_owners/address', { body, ...options });
37
- }
38
- }
39
-
40
- export interface BeneficialOwnerCreateParams {
41
- /**
42
- * The identifying details of anyone controlling or owning 25% or more of the
43
- * corporation.
44
- */
45
- beneficial_owner: BeneficialOwnerCreateParams.BeneficialOwner;
46
-
47
- /**
48
- * The identifier of the Entity to associate with the new Beneficial Owner.
49
- */
50
- entity_id: string;
51
- }
52
-
53
- export namespace BeneficialOwnerCreateParams {
54
- /**
55
- * The identifying details of anyone controlling or owning 25% or more of the
56
- * corporation.
57
- */
58
- export interface BeneficialOwner {
59
- /**
60
- * Personal details for the beneficial owner.
61
- */
62
- individual: BeneficialOwner.Individual;
63
-
64
- /**
65
- * Why this person is considered a beneficial owner of the entity. At least one
66
- * option is required, if a person is both a control person and owner, submit an
67
- * array containing both.
68
- */
69
- prongs: Array<'ownership' | 'control'>;
70
-
71
- /**
72
- * This person's role or title within the entity.
73
- */
74
- company_title?: string;
75
- }
76
-
77
- export namespace BeneficialOwner {
78
- /**
79
- * Personal details for the beneficial owner.
80
- */
81
- export interface Individual {
82
- /**
83
- * The individual's physical address. Mail receiving locations like PO Boxes and
84
- * PMB's are disallowed.
85
- */
86
- address: Individual.Address;
87
-
88
- /**
89
- * The person's date of birth in YYYY-MM-DD format.
90
- */
91
- date_of_birth: string;
92
-
93
- /**
94
- * A means of verifying the person's identity.
95
- */
96
- identification: Individual.Identification;
97
-
98
- /**
99
- * The person's legal name.
100
- */
101
- name: string;
102
-
103
- /**
104
- * The identification method for an individual can only be a passport, driver's
105
- * license, or other document if you've confirmed the individual does not have a US
106
- * tax id (either a Social Security Number or Individual Taxpayer Identification
107
- * Number).
108
- */
109
- confirmed_no_us_tax_id?: boolean;
110
- }
111
-
112
- export namespace Individual {
113
- /**
114
- * The individual's physical address. Mail receiving locations like PO Boxes and
115
- * PMB's are disallowed.
116
- */
117
- export interface Address {
118
- /**
119
- * The city of the address.
120
- */
121
- city: string;
122
-
123
- /**
124
- * The first line of the address. This is usually the street number and street.
125
- */
126
- line1: string;
127
-
128
- /**
129
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
130
- * the address.
131
- */
132
- state: string;
133
-
134
- /**
135
- * The ZIP code of the address.
136
- */
137
- zip: string;
138
-
139
- /**
140
- * The second line of the address. This might be the floor or room number.
141
- */
142
- line2?: string;
143
- }
144
-
145
- /**
146
- * A means of verifying the person's identity.
147
- */
148
- export interface Identification {
149
- /**
150
- * A method that can be used to verify the individual's identity.
151
- *
152
- * - `social_security_number` - A social security number.
153
- * - `individual_taxpayer_identification_number` - An individual taxpayer
154
- * identification number (ITIN).
155
- * - `passport` - A passport number.
156
- * - `drivers_license` - A driver's license number.
157
- * - `other` - Another identifying document.
158
- */
159
- method:
160
- | 'social_security_number'
161
- | 'individual_taxpayer_identification_number'
162
- | 'passport'
163
- | 'drivers_license'
164
- | 'other';
165
-
166
- /**
167
- * An identification number that can be used to verify the individual's identity,
168
- * such as a social security number.
169
- */
170
- number: string;
171
-
172
- /**
173
- * Information about the United States driver's license used for identification.
174
- * Required if `method` is equal to `drivers_license`.
175
- */
176
- drivers_license?: Identification.DriversLicense;
177
-
178
- /**
179
- * Information about the identification document provided. Required if `method` is
180
- * equal to `other`.
181
- */
182
- other?: Identification.Other;
183
-
184
- /**
185
- * Information about the passport used for identification. Required if `method` is
186
- * equal to `passport`.
187
- */
188
- passport?: Identification.Passport;
189
- }
190
-
191
- export namespace Identification {
192
- /**
193
- * Information about the United States driver's license used for identification.
194
- * Required if `method` is equal to `drivers_license`.
195
- */
196
- export interface DriversLicense {
197
- /**
198
- * The driver's license's expiration date in YYYY-MM-DD format.
199
- */
200
- expiration_date: string;
201
-
202
- /**
203
- * The identifier of the File containing the front of the driver's license.
204
- */
205
- file_id: string;
206
-
207
- /**
208
- * The state that issued the provided driver's license.
209
- */
210
- state: string;
211
-
212
- /**
213
- * The identifier of the File containing the back of the driver's license.
214
- */
215
- back_file_id?: string;
216
- }
217
-
218
- /**
219
- * Information about the identification document provided. Required if `method` is
220
- * equal to `other`.
221
- */
222
- export interface Other {
223
- /**
224
- * The two-character ISO 3166-1 code representing the country that issued the
225
- * document.
226
- */
227
- country: string;
228
-
229
- /**
230
- * A description of the document submitted.
231
- */
232
- description: string;
233
-
234
- /**
235
- * The identifier of the File containing the front of the document.
236
- */
237
- file_id: string;
238
-
239
- /**
240
- * The identifier of the File containing the back of the document. Not every
241
- * document has a reverse side.
242
- */
243
- back_file_id?: string;
244
-
245
- /**
246
- * The document's expiration date in YYYY-MM-DD format.
247
- */
248
- expiration_date?: string;
249
- }
250
-
251
- /**
252
- * Information about the passport used for identification. Required if `method` is
253
- * equal to `passport`.
254
- */
255
- export interface Passport {
256
- /**
257
- * The country that issued the passport.
258
- */
259
- country: string;
260
-
261
- /**
262
- * The passport's expiration date in YYYY-MM-DD format.
263
- */
264
- expiration_date: string;
265
-
266
- /**
267
- * The identifier of the File containing the passport.
268
- */
269
- file_id: string;
270
- }
271
- }
272
- }
273
- }
274
- }
275
-
276
- export interface BeneficialOwnerArchiveParams {
277
- /**
278
- * The identifying details of anyone controlling or owning 25% or more of the
279
- * corporation.
280
- */
281
- beneficial_owner_id: string;
282
-
283
- /**
284
- * The identifier of the Entity to retrieve.
285
- */
286
- entity_id: string;
287
- }
288
-
289
- export interface BeneficialOwnerUpdateAddressParams {
290
- /**
291
- * The individual's physical address. Mail receiving locations like PO Boxes and
292
- * PMB's are disallowed.
293
- */
294
- address: BeneficialOwnerUpdateAddressParams.Address;
295
-
296
- /**
297
- * The identifying details of anyone controlling or owning 25% or more of the
298
- * corporation.
299
- */
300
- beneficial_owner_id: string;
301
-
302
- /**
303
- * The identifier of the Entity to retrieve.
304
- */
305
- entity_id: string;
306
- }
307
-
308
- export namespace BeneficialOwnerUpdateAddressParams {
309
- /**
310
- * The individual's physical address. Mail receiving locations like PO Boxes and
311
- * PMB's are disallowed.
312
- */
313
- export interface Address {
314
- /**
315
- * The city of the address.
316
- */
317
- city: string;
318
-
319
- /**
320
- * The first line of the address. This is usually the street number and street.
321
- */
322
- line1: string;
323
-
324
- /**
325
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
326
- * the address.
327
- */
328
- state: string;
329
-
330
- /**
331
- * The ZIP code of the address.
332
- */
333
- zip: string;
334
-
335
- /**
336
- * The second line of the address. This might be the floor or room number.
337
- */
338
- line2?: string;
339
- }
340
- }
341
-
342
- export namespace BeneficialOwners {
343
- export import BeneficialOwnerCreateParams = BeneficialOwnersAPI.BeneficialOwnerCreateParams;
344
- export import BeneficialOwnerArchiveParams = BeneficialOwnersAPI.BeneficialOwnerArchiveParams;
345
- export import BeneficialOwnerUpdateAddressParams = BeneficialOwnersAPI.BeneficialOwnerUpdateAddressParams;
346
- }
@@ -1,25 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- export {
4
- BeneficialOwnerCreateParams,
5
- BeneficialOwnerArchiveParams,
6
- BeneficialOwnerUpdateAddressParams,
7
- BeneficialOwners,
8
- } from './beneficial-owners';
9
- export {
10
- Entity,
11
- EntityCreateParams,
12
- EntityListParams,
13
- EntityConfirmParams,
14
- EntityUpdateAddressParams,
15
- EntitiesPage,
16
- Entities,
17
- } from './entities';
18
- export { IndustryCodeCreateParams, IndustryCode } from './industry-code';
19
- export {
20
- SupplementalDocument,
21
- SupplementalDocumentCreateParams,
22
- SupplementalDocumentListParams,
23
- SupplementalDocumentsPage,
24
- SupplementalDocuments,
25
- } from './supplemental-documents';
@@ -1,33 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../../resource';
4
- import * as Core from '../../core';
5
- import * as IndustryCodeAPI from './industry-code';
6
- import * as EntitiesAPI from './entities';
7
-
8
- export class IndustryCode extends APIResource {
9
- /**
10
- * Update the industry code for a corporate Entity
11
- */
12
- create(
13
- entityId: string,
14
- body: IndustryCodeCreateParams,
15
- options?: Core.RequestOptions,
16
- ): Core.APIPromise<EntitiesAPI.Entity> {
17
- return this._client.post(`/entities/${entityId}/industry_code`, { body, ...options });
18
- }
19
- }
20
-
21
- export interface IndustryCodeCreateParams {
22
- /**
23
- * The North American Industry Classification System (NAICS) code for the
24
- * corporation's primary line of business. This is a number, like `5132` for
25
- * `Software Publishers`. A full list of classification codes is available
26
- * [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
27
- */
28
- industry_code: string;
29
- }
30
-
31
- export namespace IndustryCode {
32
- export import IndustryCodeCreateParams = IndustryCodeAPI.IndustryCodeCreateParams;
33
- }
@@ -1,18 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- export { Intrafi } from './intrafi';
4
- export {
5
- IntrafiAccountEnrollment,
6
- AccountEnrollmentCreateParams,
7
- AccountEnrollmentListParams,
8
- IntrafiAccountEnrollmentsPage,
9
- AccountEnrollments,
10
- } from './account-enrollments';
11
- export { IntrafiBalance, Balances } from './balances';
12
- export {
13
- IntrafiExclusion,
14
- ExclusionCreateParams,
15
- ExclusionListParams,
16
- IntrafiExclusionsPage,
17
- Exclusions,
18
- } from './exclusions';
@@ -1,29 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../../resource';
4
- import * as AccountEnrollmentsAPI from './account-enrollments';
5
- import * as BalancesAPI from './balances';
6
- import * as ExclusionsAPI from './exclusions';
7
-
8
- export class Intrafi extends APIResource {
9
- accountEnrollments: AccountEnrollmentsAPI.AccountEnrollments = new AccountEnrollmentsAPI.AccountEnrollments(
10
- this._client,
11
- );
12
- balances: BalancesAPI.Balances = new BalancesAPI.Balances(this._client);
13
- exclusions: ExclusionsAPI.Exclusions = new ExclusionsAPI.Exclusions(this._client);
14
- }
15
-
16
- export namespace Intrafi {
17
- export import AccountEnrollments = AccountEnrollmentsAPI.AccountEnrollments;
18
- export import IntrafiAccountEnrollment = AccountEnrollmentsAPI.IntrafiAccountEnrollment;
19
- export import IntrafiAccountEnrollmentsPage = AccountEnrollmentsAPI.IntrafiAccountEnrollmentsPage;
20
- export import AccountEnrollmentCreateParams = AccountEnrollmentsAPI.AccountEnrollmentCreateParams;
21
- export import AccountEnrollmentListParams = AccountEnrollmentsAPI.AccountEnrollmentListParams;
22
- export import Balances = BalancesAPI.Balances;
23
- export import IntrafiBalance = BalancesAPI.IntrafiBalance;
24
- export import Exclusions = ExclusionsAPI.Exclusions;
25
- export import IntrafiExclusion = ExclusionsAPI.IntrafiExclusion;
26
- export import IntrafiExclusionsPage = ExclusionsAPI.IntrafiExclusionsPage;
27
- export import ExclusionCreateParams = ExclusionsAPI.ExclusionCreateParams;
28
- export import ExclusionListParams = ExclusionsAPI.ExclusionListParams;
29
- }