increase 0.17.0 → 0.19.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 (368) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +2 -2
  3. package/core.d.ts +0 -10
  4. package/core.d.ts.map +1 -1
  5. package/core.js +1 -13
  6. package/core.js.map +1 -1
  7. package/core.mjs +0 -11
  8. package/core.mjs.map +1 -1
  9. package/index.d.mts +17 -4
  10. package/index.d.ts +17 -4
  11. package/index.d.ts.map +1 -1
  12. package/index.js +13 -3
  13. package/index.js.map +1 -1
  14. package/index.mjs +13 -3
  15. package/index.mjs.map +1 -1
  16. package/package.json +27 -23
  17. package/resource.d.ts +1 -7
  18. package/resource.d.ts.map +1 -1
  19. package/resource.js +1 -7
  20. package/resource.js.map +1 -1
  21. package/resource.mjs +1 -7
  22. package/resource.mjs.map +1 -1
  23. package/resources/account-numbers.js +4 -4
  24. package/resources/account-numbers.js.map +1 -1
  25. package/resources/account-numbers.mjs +4 -4
  26. package/resources/account-numbers.mjs.map +1 -1
  27. package/resources/account-statements.js +2 -2
  28. package/resources/account-statements.js.map +1 -1
  29. package/resources/account-statements.mjs +2 -2
  30. package/resources/account-statements.mjs.map +1 -1
  31. package/resources/account-transfers.js +5 -5
  32. package/resources/account-transfers.js.map +1 -1
  33. package/resources/account-transfers.mjs +5 -5
  34. package/resources/account-transfers.mjs.map +1 -1
  35. package/resources/accounts.js +6 -6
  36. package/resources/accounts.js.map +1 -1
  37. package/resources/accounts.mjs +6 -6
  38. package/resources/accounts.mjs.map +1 -1
  39. package/resources/ach-prenotifications.js +3 -3
  40. package/resources/ach-prenotifications.js.map +1 -1
  41. package/resources/ach-prenotifications.mjs +3 -3
  42. package/resources/ach-prenotifications.mjs.map +1 -1
  43. package/resources/ach-transfers.js +5 -5
  44. package/resources/ach-transfers.js.map +1 -1
  45. package/resources/ach-transfers.mjs +5 -5
  46. package/resources/ach-transfers.mjs.map +1 -1
  47. package/resources/bookkeeping-accounts.js +4 -4
  48. package/resources/bookkeeping-accounts.js.map +1 -1
  49. package/resources/bookkeeping-accounts.mjs +4 -4
  50. package/resources/bookkeeping-accounts.mjs.map +1 -1
  51. package/resources/bookkeeping-entries.js +2 -2
  52. package/resources/bookkeeping-entries.js.map +1 -1
  53. package/resources/bookkeeping-entries.mjs +2 -2
  54. package/resources/bookkeeping-entries.mjs.map +1 -1
  55. package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
  56. package/resources/bookkeeping-entry-sets.js +6 -3
  57. package/resources/bookkeeping-entry-sets.js.map +1 -1
  58. package/resources/bookkeeping-entry-sets.mjs +6 -3
  59. package/resources/bookkeeping-entry-sets.mjs.map +1 -1
  60. package/resources/card-disputes.js +3 -3
  61. package/resources/card-disputes.js.map +1 -1
  62. package/resources/card-disputes.mjs +3 -3
  63. package/resources/card-disputes.mjs.map +1 -1
  64. package/resources/card-payments.js +2 -2
  65. package/resources/card-payments.js.map +1 -1
  66. package/resources/card-payments.mjs +2 -2
  67. package/resources/card-payments.mjs.map +1 -1
  68. package/resources/card-profiles.js +4 -4
  69. package/resources/card-profiles.js.map +1 -1
  70. package/resources/card-profiles.mjs +4 -4
  71. package/resources/card-profiles.mjs.map +1 -1
  72. package/resources/card-purchase-supplements.d.ts.map +1 -1
  73. package/resources/card-purchase-supplements.js +5 -2
  74. package/resources/card-purchase-supplements.js.map +1 -1
  75. package/resources/card-purchase-supplements.mjs +5 -2
  76. package/resources/card-purchase-supplements.mjs.map +1 -1
  77. package/resources/cards.js +5 -5
  78. package/resources/cards.js.map +1 -1
  79. package/resources/cards.mjs +5 -5
  80. package/resources/cards.mjs.map +1 -1
  81. package/resources/check-deposits.d.ts +18 -1
  82. package/resources/check-deposits.d.ts.map +1 -1
  83. package/resources/check-deposits.js +3 -3
  84. package/resources/check-deposits.js.map +1 -1
  85. package/resources/check-deposits.mjs +3 -3
  86. package/resources/check-deposits.mjs.map +1 -1
  87. package/resources/check-transfers.js +6 -6
  88. package/resources/check-transfers.js.map +1 -1
  89. package/resources/check-transfers.mjs +6 -6
  90. package/resources/check-transfers.mjs.map +1 -1
  91. package/resources/declined-transactions.js +2 -2
  92. package/resources/declined-transactions.js.map +1 -1
  93. package/resources/declined-transactions.mjs +2 -2
  94. package/resources/declined-transactions.mjs.map +1 -1
  95. package/resources/digital-wallet-tokens.js +2 -2
  96. package/resources/digital-wallet-tokens.js.map +1 -1
  97. package/resources/digital-wallet-tokens.mjs +2 -2
  98. package/resources/digital-wallet-tokens.mjs.map +1 -1
  99. package/resources/documents.js +2 -2
  100. package/resources/documents.js.map +1 -1
  101. package/resources/documents.mjs +2 -2
  102. package/resources/documents.mjs.map +1 -1
  103. package/resources/entities/beneficial-owners.js +3 -3
  104. package/resources/entities/beneficial-owners.js.map +1 -1
  105. package/resources/entities/beneficial-owners.mjs +3 -3
  106. package/resources/entities/beneficial-owners.mjs.map +1 -1
  107. package/resources/entities/entities.d.ts.map +1 -1
  108. package/resources/entities/entities.js +7 -7
  109. package/resources/entities/entities.js.map +1 -1
  110. package/resources/entities/entities.mjs +7 -7
  111. package/resources/entities/entities.mjs.map +1 -1
  112. package/resources/entities/supplemental-documents.js +2 -2
  113. package/resources/entities/supplemental-documents.js.map +1 -1
  114. package/resources/entities/supplemental-documents.mjs +2 -2
  115. package/resources/entities/supplemental-documents.mjs.map +1 -1
  116. package/resources/event-subscriptions.d.ts +18 -2
  117. package/resources/event-subscriptions.d.ts.map +1 -1
  118. package/resources/event-subscriptions.js +4 -4
  119. package/resources/event-subscriptions.js.map +1 -1
  120. package/resources/event-subscriptions.mjs +4 -4
  121. package/resources/event-subscriptions.mjs.map +1 -1
  122. package/resources/events.d.ts +10 -2
  123. package/resources/events.d.ts.map +1 -1
  124. package/resources/events.js +2 -2
  125. package/resources/events.js.map +1 -1
  126. package/resources/events.mjs +2 -2
  127. package/resources/events.mjs.map +1 -1
  128. package/resources/exports.js +3 -3
  129. package/resources/exports.js.map +1 -1
  130. package/resources/exports.mjs +3 -3
  131. package/resources/exports.mjs.map +1 -1
  132. package/resources/external-accounts.js +4 -4
  133. package/resources/external-accounts.js.map +1 -1
  134. package/resources/external-accounts.mjs +4 -4
  135. package/resources/external-accounts.mjs.map +1 -1
  136. package/resources/files.js +3 -3
  137. package/resources/files.js.map +1 -1
  138. package/resources/files.mjs +3 -3
  139. package/resources/files.mjs.map +1 -1
  140. package/resources/groups.js +1 -1
  141. package/resources/groups.js.map +1 -1
  142. package/resources/groups.mjs +1 -1
  143. package/resources/groups.mjs.map +1 -1
  144. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  145. package/resources/inbound-ach-transfers.js +8 -5
  146. package/resources/inbound-ach-transfers.js.map +1 -1
  147. package/resources/inbound-ach-transfers.mjs +8 -5
  148. package/resources/inbound-ach-transfers.mjs.map +1 -1
  149. package/resources/inbound-wire-drawdown-requests.js +2 -2
  150. package/resources/inbound-wire-drawdown-requests.js.map +1 -1
  151. package/resources/inbound-wire-drawdown-requests.mjs +2 -2
  152. package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
  153. package/resources/index.d.ts +2 -0
  154. package/resources/index.d.ts.map +1 -1
  155. package/resources/index.js +7 -1
  156. package/resources/index.js.map +1 -1
  157. package/resources/index.mjs +2 -0
  158. package/resources/index.mjs.map +1 -1
  159. package/resources/oauth-connections.js +2 -2
  160. package/resources/oauth-connections.js.map +1 -1
  161. package/resources/oauth-connections.mjs +2 -2
  162. package/resources/oauth-connections.mjs.map +1 -1
  163. package/resources/pending-transactions.js +2 -2
  164. package/resources/pending-transactions.js.map +1 -1
  165. package/resources/pending-transactions.mjs +2 -2
  166. package/resources/pending-transactions.mjs.map +1 -1
  167. package/resources/physical-cards.js +4 -4
  168. package/resources/physical-cards.js.map +1 -1
  169. package/resources/physical-cards.mjs +4 -4
  170. package/resources/physical-cards.mjs.map +1 -1
  171. package/resources/programs.js +2 -2
  172. package/resources/programs.js.map +1 -1
  173. package/resources/programs.mjs +2 -2
  174. package/resources/programs.mjs.map +1 -1
  175. package/resources/proof-of-authorization-request-submissions.d.ts +129 -0
  176. package/resources/proof-of-authorization-request-submissions.d.ts.map +1 -0
  177. package/resources/proof-of-authorization-request-submissions.js +59 -0
  178. package/resources/proof-of-authorization-request-submissions.js.map +1 -0
  179. package/resources/proof-of-authorization-request-submissions.mjs +31 -0
  180. package/resources/proof-of-authorization-request-submissions.mjs.map +1 -0
  181. package/resources/proof-of-authorization-requests.d.ts +84 -0
  182. package/resources/proof-of-authorization-requests.d.ts.map +1 -0
  183. package/resources/proof-of-authorization-requests.js +56 -0
  184. package/resources/proof-of-authorization-requests.js.map +1 -0
  185. package/resources/proof-of-authorization-requests.mjs +28 -0
  186. package/resources/proof-of-authorization-requests.mjs.map +1 -0
  187. package/resources/real-time-decisions.js +2 -2
  188. package/resources/real-time-decisions.js.map +1 -1
  189. package/resources/real-time-decisions.mjs +2 -2
  190. package/resources/real-time-decisions.mjs.map +1 -1
  191. package/resources/real-time-payments-transfers.js +3 -3
  192. package/resources/real-time-payments-transfers.js.map +1 -1
  193. package/resources/real-time-payments-transfers.mjs +3 -3
  194. package/resources/real-time-payments-transfers.mjs.map +1 -1
  195. package/resources/routing-numbers.js +1 -1
  196. package/resources/routing-numbers.js.map +1 -1
  197. package/resources/routing-numbers.mjs +1 -1
  198. package/resources/routing-numbers.mjs.map +1 -1
  199. package/resources/simulations/account-statements.js +1 -1
  200. package/resources/simulations/account-statements.js.map +1 -1
  201. package/resources/simulations/account-statements.mjs +1 -1
  202. package/resources/simulations/account-statements.mjs.map +1 -1
  203. package/resources/simulations/account-transfers.js +1 -1
  204. package/resources/simulations/account-transfers.js.map +1 -1
  205. package/resources/simulations/account-transfers.mjs +1 -1
  206. package/resources/simulations/account-transfers.mjs.map +1 -1
  207. package/resources/simulations/ach-transfers.d.ts +19 -2
  208. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  209. package/resources/simulations/ach-transfers.js +3 -3
  210. package/resources/simulations/ach-transfers.js.map +1 -1
  211. package/resources/simulations/ach-transfers.mjs +3 -3
  212. package/resources/simulations/ach-transfers.mjs.map +1 -1
  213. package/resources/simulations/card-disputes.js +1 -1
  214. package/resources/simulations/card-disputes.js.map +1 -1
  215. package/resources/simulations/card-disputes.mjs +1 -1
  216. package/resources/simulations/card-disputes.mjs.map +1 -1
  217. package/resources/simulations/card-profiles.js +1 -1
  218. package/resources/simulations/card-profiles.js.map +1 -1
  219. package/resources/simulations/card-profiles.mjs +1 -1
  220. package/resources/simulations/card-profiles.mjs.map +1 -1
  221. package/resources/simulations/card-refunds.js +1 -1
  222. package/resources/simulations/card-refunds.js.map +1 -1
  223. package/resources/simulations/card-refunds.mjs +1 -1
  224. package/resources/simulations/card-refunds.mjs.map +1 -1
  225. package/resources/simulations/cards.js +2 -2
  226. package/resources/simulations/cards.js.map +1 -1
  227. package/resources/simulations/cards.mjs +2 -2
  228. package/resources/simulations/cards.mjs.map +1 -1
  229. package/resources/simulations/check-deposits.js +3 -3
  230. package/resources/simulations/check-deposits.js.map +1 -1
  231. package/resources/simulations/check-deposits.mjs +3 -3
  232. package/resources/simulations/check-deposits.mjs.map +1 -1
  233. package/resources/simulations/check-transfers.js +2 -2
  234. package/resources/simulations/check-transfers.js.map +1 -1
  235. package/resources/simulations/check-transfers.mjs +2 -2
  236. package/resources/simulations/check-transfers.mjs.map +1 -1
  237. package/resources/simulations/digital-wallet-token-requests.js +1 -1
  238. package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
  239. package/resources/simulations/digital-wallet-token-requests.mjs +1 -1
  240. package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -1
  241. package/resources/simulations/documents.js +1 -1
  242. package/resources/simulations/documents.js.map +1 -1
  243. package/resources/simulations/documents.mjs +1 -1
  244. package/resources/simulations/documents.mjs.map +1 -1
  245. package/resources/simulations/inbound-funds-holds.js +1 -1
  246. package/resources/simulations/inbound-funds-holds.js.map +1 -1
  247. package/resources/simulations/inbound-funds-holds.mjs +1 -1
  248. package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
  249. package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
  250. package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
  251. package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
  252. package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
  253. package/resources/simulations/interest-payments.d.ts +19 -2
  254. package/resources/simulations/interest-payments.d.ts.map +1 -1
  255. package/resources/simulations/interest-payments.js +1 -1
  256. package/resources/simulations/interest-payments.js.map +1 -1
  257. package/resources/simulations/interest-payments.mjs +1 -1
  258. package/resources/simulations/interest-payments.mjs.map +1 -1
  259. package/resources/simulations/physical-cards.d.ts.map +1 -1
  260. package/resources/simulations/physical-cards.js +4 -1
  261. package/resources/simulations/physical-cards.js.map +1 -1
  262. package/resources/simulations/physical-cards.mjs +4 -1
  263. package/resources/simulations/physical-cards.mjs.map +1 -1
  264. package/resources/simulations/programs.js +1 -1
  265. package/resources/simulations/programs.js.map +1 -1
  266. package/resources/simulations/programs.mjs +1 -1
  267. package/resources/simulations/programs.mjs.map +1 -1
  268. package/resources/simulations/real-time-payments-transfers.d.ts +19 -2
  269. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  270. package/resources/simulations/real-time-payments-transfers.js +2 -5
  271. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  272. package/resources/simulations/real-time-payments-transfers.mjs +2 -5
  273. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  274. package/resources/simulations/simulations.d.ts.map +1 -1
  275. package/resources/simulations/simulations.js +18 -18
  276. package/resources/simulations/simulations.js.map +1 -1
  277. package/resources/simulations/simulations.mjs +18 -18
  278. package/resources/simulations/simulations.mjs.map +1 -1
  279. package/resources/simulations/wire-transfers.d.ts +19 -2
  280. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  281. package/resources/simulations/wire-transfers.js +1 -1
  282. package/resources/simulations/wire-transfers.js.map +1 -1
  283. package/resources/simulations/wire-transfers.mjs +1 -1
  284. package/resources/simulations/wire-transfers.mjs.map +1 -1
  285. package/resources/transactions.d.ts +19 -2
  286. package/resources/transactions.d.ts.map +1 -1
  287. package/resources/transactions.js +2 -2
  288. package/resources/transactions.js.map +1 -1
  289. package/resources/transactions.mjs +2 -2
  290. package/resources/transactions.mjs.map +1 -1
  291. package/resources/wire-drawdown-requests.d.ts.map +1 -1
  292. package/resources/wire-drawdown-requests.js +6 -3
  293. package/resources/wire-drawdown-requests.js.map +1 -1
  294. package/resources/wire-drawdown-requests.mjs +6 -3
  295. package/resources/wire-drawdown-requests.mjs.map +1 -1
  296. package/resources/wire-transfers.js +7 -7
  297. package/resources/wire-transfers.js.map +1 -1
  298. package/resources/wire-transfers.mjs +7 -7
  299. package/resources/wire-transfers.mjs.map +1 -1
  300. package/src/core.ts +0 -21
  301. package/src/index.ts +31 -4
  302. package/src/resource.ts +3 -16
  303. package/src/resources/account-numbers.ts +4 -4
  304. package/src/resources/account-statements.ts +2 -2
  305. package/src/resources/account-transfers.ts +5 -5
  306. package/src/resources/accounts.ts +6 -6
  307. package/src/resources/ach-prenotifications.ts +3 -3
  308. package/src/resources/ach-transfers.ts +5 -5
  309. package/src/resources/bookkeeping-accounts.ts +4 -4
  310. package/src/resources/bookkeeping-entries.ts +2 -2
  311. package/src/resources/bookkeeping-entry-sets.ts +6 -3
  312. package/src/resources/card-disputes.ts +3 -3
  313. package/src/resources/card-payments.ts +2 -2
  314. package/src/resources/card-profiles.ts +4 -4
  315. package/src/resources/card-purchase-supplements.ts +5 -2
  316. package/src/resources/cards.ts +5 -5
  317. package/src/resources/check-deposits.ts +35 -4
  318. package/src/resources/check-transfers.ts +6 -6
  319. package/src/resources/declined-transactions.ts +2 -2
  320. package/src/resources/digital-wallet-tokens.ts +2 -2
  321. package/src/resources/documents.ts +2 -2
  322. package/src/resources/entities/beneficial-owners.ts +3 -3
  323. package/src/resources/entities/entities.ts +7 -7
  324. package/src/resources/entities/supplemental-documents.ts +2 -2
  325. package/src/resources/event-subscriptions.ts +28 -4
  326. package/src/resources/events.ts +18 -2
  327. package/src/resources/exports.ts +3 -3
  328. package/src/resources/external-accounts.ts +4 -4
  329. package/src/resources/files.ts +3 -3
  330. package/src/resources/groups.ts +1 -1
  331. package/src/resources/inbound-ach-transfers.ts +8 -5
  332. package/src/resources/inbound-wire-drawdown-requests.ts +2 -2
  333. package/src/resources/index.ts +13 -0
  334. package/src/resources/oauth-connections.ts +2 -2
  335. package/src/resources/pending-transactions.ts +2 -2
  336. package/src/resources/physical-cards.ts +4 -4
  337. package/src/resources/programs.ts +2 -2
  338. package/src/resources/proof-of-authorization-request-submissions.ts +186 -0
  339. package/src/resources/proof-of-authorization-requests.ts +122 -0
  340. package/src/resources/real-time-decisions.ts +2 -2
  341. package/src/resources/real-time-payments-transfers.ts +3 -3
  342. package/src/resources/routing-numbers.ts +1 -1
  343. package/src/resources/simulations/account-statements.ts +1 -1
  344. package/src/resources/simulations/account-transfers.ts +1 -1
  345. package/src/resources/simulations/ach-transfers.ts +35 -4
  346. package/src/resources/simulations/card-disputes.ts +1 -1
  347. package/src/resources/simulations/card-profiles.ts +1 -1
  348. package/src/resources/simulations/card-refunds.ts +1 -1
  349. package/src/resources/simulations/cards.ts +2 -2
  350. package/src/resources/simulations/check-deposits.ts +3 -3
  351. package/src/resources/simulations/check-transfers.ts +2 -2
  352. package/src/resources/simulations/digital-wallet-token-requests.ts +1 -1
  353. package/src/resources/simulations/documents.ts +1 -1
  354. package/src/resources/simulations/inbound-funds-holds.ts +1 -1
  355. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -1
  356. package/src/resources/simulations/interest-payments.ts +33 -2
  357. package/src/resources/simulations/physical-cards.ts +4 -1
  358. package/src/resources/simulations/programs.ts +1 -1
  359. package/src/resources/simulations/real-time-payments-transfers.ts +37 -6
  360. package/src/resources/simulations/simulations.ts +18 -18
  361. package/src/resources/simulations/wire-transfers.ts +33 -2
  362. package/src/resources/transactions.ts +34 -3
  363. package/src/resources/wire-drawdown-requests.ts +6 -3
  364. package/src/resources/wire-transfers.ts +7 -7
  365. package/src/version.ts +1 -1
  366. package/version.d.ts +1 -1
  367. package/version.js +1 -1
  368. package/version.mjs +1 -1
@@ -15,7 +15,7 @@ export class SupplementalDocuments extends APIResource {
15
15
  body: SupplementalDocumentCreateParams,
16
16
  options?: Core.RequestOptions,
17
17
  ): Core.APIPromise<EntitiesAPI.Entity> {
18
- return this.post(`/entities/${entityId}/supplemental_documents`, { body, ...options });
18
+ return this._client.post(`/entities/${entityId}/supplemental_documents`, { body, ...options });
19
19
  }
20
20
 
21
21
  /**
@@ -25,7 +25,7 @@ export class SupplementalDocuments extends APIResource {
25
25
  query: SupplementalDocumentListParams,
26
26
  options?: Core.RequestOptions,
27
27
  ): Core.PagePromise<SupplementalDocumentsPage, SupplementalDocument> {
28
- return this.getAPIList('/entity_supplemental_documents', SupplementalDocumentsPage, {
28
+ return this._client.getAPIList('/entity_supplemental_documents', SupplementalDocumentsPage, {
29
29
  query,
30
30
  ...options,
31
31
  });
@@ -14,14 +14,14 @@ export class EventSubscriptions extends APIResource {
14
14
  body: EventSubscriptionCreateParams,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<EventSubscription> {
17
- return this.post('/event_subscriptions', { body, ...options });
17
+ return this._client.post('/event_subscriptions', { body, ...options });
18
18
  }
19
19
 
20
20
  /**
21
21
  * Retrieve an Event Subscription
22
22
  */
23
23
  retrieve(eventSubscriptionId: string, options?: Core.RequestOptions): Core.APIPromise<EventSubscription> {
24
- return this.get(`/event_subscriptions/${eventSubscriptionId}`, options);
24
+ return this._client.get(`/event_subscriptions/${eventSubscriptionId}`, options);
25
25
  }
26
26
 
27
27
  /**
@@ -32,7 +32,7 @@ export class EventSubscriptions extends APIResource {
32
32
  body: EventSubscriptionUpdateParams,
33
33
  options?: Core.RequestOptions,
34
34
  ): Core.APIPromise<EventSubscription> {
35
- return this.patch(`/event_subscriptions/${eventSubscriptionId}`, { body, ...options });
35
+ return this._client.patch(`/event_subscriptions/${eventSubscriptionId}`, { body, ...options });
36
36
  }
37
37
 
38
38
  /**
@@ -50,7 +50,7 @@ export class EventSubscriptions extends APIResource {
50
50
  if (isRequestOptions(query)) {
51
51
  return this.list({}, query);
52
52
  }
53
- return this.getAPIList('/event_subscriptions', EventSubscriptionsPage, { query, ...options });
53
+ return this._client.getAPIList('/event_subscriptions', EventSubscriptionsPage, { query, ...options });
54
54
  }
55
55
  }
56
56
 
@@ -156,6 +156,14 @@ export interface EventSubscription {
156
156
  * updated.
157
157
  * - `physical_card.created` - Occurs whenever a Physical Card is created.
158
158
  * - `physical_card.updated` - Occurs whenever a Physical Card is updated.
159
+ * - `proof_of_authorization_request.created` - Occurs whenever a Proof of
160
+ * Authorization Request is created.
161
+ * - `proof_of_authorization_request.updated` - Occurs whenever a Proof of
162
+ * Authorization Request is updated.
163
+ * - `proof_of_authorization_request_submission.created` - Occurs whenever a Proof
164
+ * of Authorization Request Submission is created.
165
+ * - `proof_of_authorization_request_submission.updated` - Occurs whenever a Proof
166
+ * of Authorization Request Submission is updated.
159
167
  * - `real_time_decision.card_authorization_requested` - Occurs whenever a
160
168
  * Real-Time Decision is created in response to a card authorization.
161
169
  * - `real_time_decision.digital_wallet_token_requested` - Occurs whenever a
@@ -237,6 +245,10 @@ export interface EventSubscription {
237
245
  | 'pending_transaction.updated'
238
246
  | 'physical_card.created'
239
247
  | 'physical_card.updated'
248
+ | 'proof_of_authorization_request.created'
249
+ | 'proof_of_authorization_request.updated'
250
+ | 'proof_of_authorization_request_submission.created'
251
+ | 'proof_of_authorization_request_submission.updated'
240
252
  | 'real_time_decision.card_authorization_requested'
241
253
  | 'real_time_decision.digital_wallet_token_requested'
242
254
  | 'real_time_decision.digital_wallet_authentication_requested'
@@ -363,6 +375,14 @@ export interface EventSubscriptionCreateParams {
363
375
  * updated.
364
376
  * - `physical_card.created` - Occurs whenever a Physical Card is created.
365
377
  * - `physical_card.updated` - Occurs whenever a Physical Card is updated.
378
+ * - `proof_of_authorization_request.created` - Occurs whenever a Proof of
379
+ * Authorization Request is created.
380
+ * - `proof_of_authorization_request.updated` - Occurs whenever a Proof of
381
+ * Authorization Request is updated.
382
+ * - `proof_of_authorization_request_submission.created` - Occurs whenever a Proof
383
+ * of Authorization Request Submission is created.
384
+ * - `proof_of_authorization_request_submission.updated` - Occurs whenever a Proof
385
+ * of Authorization Request Submission is updated.
366
386
  * - `real_time_decision.card_authorization_requested` - Occurs whenever a
367
387
  * Real-Time Decision is created in response to a card authorization.
368
388
  * - `real_time_decision.digital_wallet_token_requested` - Occurs whenever a
@@ -444,6 +464,10 @@ export interface EventSubscriptionCreateParams {
444
464
  | 'pending_transaction.updated'
445
465
  | 'physical_card.created'
446
466
  | 'physical_card.updated'
467
+ | 'proof_of_authorization_request.created'
468
+ | 'proof_of_authorization_request.updated'
469
+ | 'proof_of_authorization_request_submission.created'
470
+ | 'proof_of_authorization_request_submission.updated'
447
471
  | 'real_time_decision.card_authorization_requested'
448
472
  | 'real_time_decision.digital_wallet_token_requested'
449
473
  | 'real_time_decision.digital_wallet_authentication_requested'
@@ -11,7 +11,7 @@ export class Events extends APIResource {
11
11
  * Retrieve an Event
12
12
  */
13
13
  retrieve(eventId: string, options?: Core.RequestOptions): Core.APIPromise<Event> {
14
- return this.get(`/events/${eventId}`, options);
14
+ return this._client.get(`/events/${eventId}`, options);
15
15
  }
16
16
 
17
17
  /**
@@ -26,7 +26,7 @@ export class Events extends APIResource {
26
26
  if (isRequestOptions(query)) {
27
27
  return this.list({}, query);
28
28
  }
29
- return this.getAPIList('/events', EventsPage, { query, ...options });
29
+ return this._client.getAPIList('/events', EventsPage, { query, ...options });
30
30
  }
31
31
  }
32
32
 
@@ -135,6 +135,14 @@ export interface Event {
135
135
  * updated.
136
136
  * - `physical_card.created` - Occurs whenever a Physical Card is created.
137
137
  * - `physical_card.updated` - Occurs whenever a Physical Card is updated.
138
+ * - `proof_of_authorization_request.created` - Occurs whenever a Proof of
139
+ * Authorization Request is created.
140
+ * - `proof_of_authorization_request.updated` - Occurs whenever a Proof of
141
+ * Authorization Request is updated.
142
+ * - `proof_of_authorization_request_submission.created` - Occurs whenever a Proof
143
+ * of Authorization Request Submission is created.
144
+ * - `proof_of_authorization_request_submission.updated` - Occurs whenever a Proof
145
+ * of Authorization Request Submission is updated.
138
146
  * - `real_time_decision.card_authorization_requested` - Occurs whenever a
139
147
  * Real-Time Decision is created in response to a card authorization.
140
148
  * - `real_time_decision.digital_wallet_token_requested` - Occurs whenever a
@@ -216,6 +224,10 @@ export interface Event {
216
224
  | 'pending_transaction.updated'
217
225
  | 'physical_card.created'
218
226
  | 'physical_card.updated'
227
+ | 'proof_of_authorization_request.created'
228
+ | 'proof_of_authorization_request.updated'
229
+ | 'proof_of_authorization_request_submission.created'
230
+ | 'proof_of_authorization_request_submission.updated'
219
231
  | 'real_time_decision.card_authorization_requested'
220
232
  | 'real_time_decision.digital_wallet_token_requested'
221
233
  | 'real_time_decision.digital_wallet_authentication_requested'
@@ -316,6 +328,10 @@ export namespace EventListParams {
316
328
  | 'pending_transaction.updated'
317
329
  | 'physical_card.created'
318
330
  | 'physical_card.updated'
331
+ | 'proof_of_authorization_request.created'
332
+ | 'proof_of_authorization_request.updated'
333
+ | 'proof_of_authorization_request_submission.created'
334
+ | 'proof_of_authorization_request_submission.updated'
319
335
  | 'real_time_decision.card_authorization_requested'
320
336
  | 'real_time_decision.digital_wallet_token_requested'
321
337
  | 'real_time_decision.digital_wallet_authentication_requested'
@@ -11,14 +11,14 @@ export class Exports extends APIResource {
11
11
  * Create an Export
12
12
  */
13
13
  create(body: ExportCreateParams, options?: Core.RequestOptions): Core.APIPromise<Export> {
14
- return this.post('/exports', { body, ...options });
14
+ return this._client.post('/exports', { body, ...options });
15
15
  }
16
16
 
17
17
  /**
18
18
  * Retrieve an Export
19
19
  */
20
20
  retrieve(exportId: string, options?: Core.RequestOptions): Core.APIPromise<Export> {
21
- return this.get(`/exports/${exportId}`, options);
21
+ return this._client.get(`/exports/${exportId}`, options);
22
22
  }
23
23
 
24
24
  /**
@@ -33,7 +33,7 @@ export class Exports extends APIResource {
33
33
  if (isRequestOptions(query)) {
34
34
  return this.list({}, query);
35
35
  }
36
- return this.getAPIList('/exports', ExportsPage, { query, ...options });
36
+ return this._client.getAPIList('/exports', ExportsPage, { query, ...options });
37
37
  }
38
38
  }
39
39
 
@@ -11,14 +11,14 @@ export class ExternalAccounts extends APIResource {
11
11
  * Create an External Account
12
12
  */
13
13
  create(body: ExternalAccountCreateParams, options?: Core.RequestOptions): Core.APIPromise<ExternalAccount> {
14
- return this.post('/external_accounts', { body, ...options });
14
+ return this._client.post('/external_accounts', { body, ...options });
15
15
  }
16
16
 
17
17
  /**
18
18
  * Retrieve an External Account
19
19
  */
20
20
  retrieve(externalAccountId: string, options?: Core.RequestOptions): Core.APIPromise<ExternalAccount> {
21
- return this.get(`/external_accounts/${externalAccountId}`, options);
21
+ return this._client.get(`/external_accounts/${externalAccountId}`, options);
22
22
  }
23
23
 
24
24
  /**
@@ -29,7 +29,7 @@ export class ExternalAccounts extends APIResource {
29
29
  body: ExternalAccountUpdateParams,
30
30
  options?: Core.RequestOptions,
31
31
  ): Core.APIPromise<ExternalAccount> {
32
- return this.patch(`/external_accounts/${externalAccountId}`, { body, ...options });
32
+ return this._client.patch(`/external_accounts/${externalAccountId}`, { body, ...options });
33
33
  }
34
34
 
35
35
  /**
@@ -47,7 +47,7 @@ export class ExternalAccounts extends APIResource {
47
47
  if (isRequestOptions(query)) {
48
48
  return this.list({}, query);
49
49
  }
50
- return this.getAPIList('/external_accounts', ExternalAccountsPage, { query, ...options });
50
+ return this._client.getAPIList('/external_accounts', ExternalAccountsPage, { query, ...options });
51
51
  }
52
52
  }
53
53
 
@@ -14,14 +14,14 @@ export class Files extends APIResource {
14
14
  * upload, as well as the parameters for creating a file.
15
15
  */
16
16
  create(body: FileCreateParams, options?: Core.RequestOptions): Core.APIPromise<File> {
17
- return this.post('/files', multipartFormRequestOptions({ body, ...options }));
17
+ return this._client.post('/files', multipartFormRequestOptions({ body, ...options }));
18
18
  }
19
19
 
20
20
  /**
21
21
  * Retrieve a File
22
22
  */
23
23
  retrieve(fileId: string, options?: Core.RequestOptions): Core.APIPromise<File> {
24
- return this.get(`/files/${fileId}`, options);
24
+ return this._client.get(`/files/${fileId}`, options);
25
25
  }
26
26
 
27
27
  /**
@@ -36,7 +36,7 @@ export class Files extends APIResource {
36
36
  if (isRequestOptions(query)) {
37
37
  return this.list({}, query);
38
38
  }
39
- return this.getAPIList('/files', FilesPage, { query, ...options });
39
+ return this._client.getAPIList('/files', FilesPage, { query, ...options });
40
40
  }
41
41
  }
42
42
 
@@ -9,7 +9,7 @@ export class Groups extends APIResource {
9
9
  * Returns details for the currently authenticated Group.
10
10
  */
11
11
  retrieveDetails(options?: Core.RequestOptions): Core.APIPromise<Group> {
12
- return this.get('/groups/current', options);
12
+ return this._client.get('/groups/current', options);
13
13
  }
14
14
  }
15
15
 
@@ -11,7 +11,7 @@ export class InboundACHTransfers extends APIResource {
11
11
  * Retrieve an Inbound ACH Transfer
12
12
  */
13
13
  retrieve(inboundACHTransferId: string, options?: Core.RequestOptions): Core.APIPromise<InboundACHTransfer> {
14
- return this.get(`/inbound_ach_transfers/${inboundACHTransferId}`, options);
14
+ return this._client.get(`/inbound_ach_transfers/${inboundACHTransferId}`, options);
15
15
  }
16
16
 
17
17
  /**
@@ -29,14 +29,14 @@ export class InboundACHTransfers extends APIResource {
29
29
  if (isRequestOptions(query)) {
30
30
  return this.list({}, query);
31
31
  }
32
- return this.getAPIList('/inbound_ach_transfers', InboundACHTransfersPage, { query, ...options });
32
+ return this._client.getAPIList('/inbound_ach_transfers', InboundACHTransfersPage, { query, ...options });
33
33
  }
34
34
 
35
35
  /**
36
36
  * Decline an Inbound ACH Transfer
37
37
  */
38
38
  decline(inboundACHTransferId: string, options?: Core.RequestOptions): Core.APIPromise<InboundACHTransfer> {
39
- return this.post(`/inbound_ach_transfers/${inboundACHTransferId}/decline`, options);
39
+ return this._client.post(`/inbound_ach_transfers/${inboundACHTransferId}/decline`, options);
40
40
  }
41
41
 
42
42
  /**
@@ -47,7 +47,7 @@ export class InboundACHTransfers extends APIResource {
47
47
  body: InboundACHTransferNotificationOfChangeParams,
48
48
  options?: Core.RequestOptions,
49
49
  ): Core.APIPromise<InboundACHTransfer> {
50
- return this.post(`/inbound_ach_transfers/${inboundACHTransferId}/notification_of_change`, {
50
+ return this._client.post(`/inbound_ach_transfers/${inboundACHTransferId}/notification_of_change`, {
51
51
  body,
52
52
  ...options,
53
53
  });
@@ -61,7 +61,10 @@ export class InboundACHTransfers extends APIResource {
61
61
  body: InboundACHTransferTransferReturnParams,
62
62
  options?: Core.RequestOptions,
63
63
  ): Core.APIPromise<InboundACHTransfer> {
64
- return this.post(`/inbound_ach_transfers/${inboundACHTransferId}/transfer_return`, { body, ...options });
64
+ return this._client.post(`/inbound_ach_transfers/${inboundACHTransferId}/transfer_return`, {
65
+ body,
66
+ ...options,
67
+ });
65
68
  }
66
69
  }
67
70
 
@@ -14,7 +14,7 @@ export class InboundWireDrawdownRequests extends APIResource {
14
14
  inboundWireDrawdownRequestId: string,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<InboundWireDrawdownRequest> {
17
- return this.get(`/inbound_wire_drawdown_requests/${inboundWireDrawdownRequestId}`, options);
17
+ return this._client.get(`/inbound_wire_drawdown_requests/${inboundWireDrawdownRequestId}`, options);
18
18
  }
19
19
 
20
20
  /**
@@ -34,7 +34,7 @@ export class InboundWireDrawdownRequests extends APIResource {
34
34
  if (isRequestOptions(query)) {
35
35
  return this.list({}, query);
36
36
  }
37
- return this.getAPIList('/inbound_wire_drawdown_requests', InboundWireDrawdownRequestsPage, {
37
+ return this._client.getAPIList('/inbound_wire_drawdown_requests', InboundWireDrawdownRequestsPage, {
38
38
  query,
39
39
  ...options,
40
40
  });
@@ -189,6 +189,19 @@ export {
189
189
  PhysicalCards,
190
190
  } from './physical-cards';
191
191
  export { Program, ProgramListParams, ProgramsPage, Programs } from './programs';
192
+ export {
193
+ ProofOfAuthorizationRequest,
194
+ ProofOfAuthorizationRequestListParams,
195
+ ProofOfAuthorizationRequestsPage,
196
+ ProofOfAuthorizationRequests,
197
+ } from './proof-of-authorization-requests';
198
+ export {
199
+ ProofOfAuthorizationRequestSubmission,
200
+ ProofOfAuthorizationRequestSubmissionCreateParams,
201
+ ProofOfAuthorizationRequestSubmissionListParams,
202
+ ProofOfAuthorizationRequestSubmissionsPage,
203
+ ProofOfAuthorizationRequestSubmissions,
204
+ } from './proof-of-authorization-request-submissions';
192
205
  export { RealTimeDecision, RealTimeDecisionActionParams, RealTimeDecisions } from './real-time-decisions';
193
206
  export {
194
207
  RealTimePaymentsTransfer,
@@ -11,7 +11,7 @@ export class OauthConnections extends APIResource {
11
11
  * Retrieve an OAuth Connection
12
12
  */
13
13
  retrieve(oauthConnectionId: string, options?: Core.RequestOptions): Core.APIPromise<OauthConnection> {
14
- return this.get(`/oauth_connections/${oauthConnectionId}`, options);
14
+ return this._client.get(`/oauth_connections/${oauthConnectionId}`, options);
15
15
  }
16
16
 
17
17
  /**
@@ -29,7 +29,7 @@ export class OauthConnections extends APIResource {
29
29
  if (isRequestOptions(query)) {
30
30
  return this.list({}, query);
31
31
  }
32
- return this.getAPIList('/oauth_connections', OauthConnectionsPage, { query, ...options });
32
+ return this._client.getAPIList('/oauth_connections', OauthConnectionsPage, { query, ...options });
33
33
  }
34
34
  }
35
35
 
@@ -11,7 +11,7 @@ export class PendingTransactions extends APIResource {
11
11
  * Retrieve a Pending Transaction
12
12
  */
13
13
  retrieve(pendingTransactionId: string, options?: Core.RequestOptions): Core.APIPromise<PendingTransaction> {
14
- return this.get(`/pending_transactions/${pendingTransactionId}`, options);
14
+ return this._client.get(`/pending_transactions/${pendingTransactionId}`, options);
15
15
  }
16
16
 
17
17
  /**
@@ -29,7 +29,7 @@ export class PendingTransactions extends APIResource {
29
29
  if (isRequestOptions(query)) {
30
30
  return this.list({}, query);
31
31
  }
32
- return this.getAPIList('/pending_transactions', PendingTransactionsPage, { query, ...options });
32
+ return this._client.getAPIList('/pending_transactions', PendingTransactionsPage, { query, ...options });
33
33
  }
34
34
  }
35
35
 
@@ -11,14 +11,14 @@ export class PhysicalCards extends APIResource {
11
11
  * Create a Physical Card
12
12
  */
13
13
  create(body: PhysicalCardCreateParams, options?: Core.RequestOptions): Core.APIPromise<PhysicalCard> {
14
- return this.post('/physical_cards', { body, ...options });
14
+ return this._client.post('/physical_cards', { body, ...options });
15
15
  }
16
16
 
17
17
  /**
18
18
  * Retrieve a Physical Card
19
19
  */
20
20
  retrieve(physicalCardId: string, options?: Core.RequestOptions): Core.APIPromise<PhysicalCard> {
21
- return this.get(`/physical_cards/${physicalCardId}`, options);
21
+ return this._client.get(`/physical_cards/${physicalCardId}`, options);
22
22
  }
23
23
 
24
24
  /**
@@ -29,7 +29,7 @@ export class PhysicalCards extends APIResource {
29
29
  body: PhysicalCardUpdateParams,
30
30
  options?: Core.RequestOptions,
31
31
  ): Core.APIPromise<PhysicalCard> {
32
- return this.patch(`/physical_cards/${physicalCardId}`, { body, ...options });
32
+ return this._client.patch(`/physical_cards/${physicalCardId}`, { body, ...options });
33
33
  }
34
34
 
35
35
  /**
@@ -47,7 +47,7 @@ export class PhysicalCards extends APIResource {
47
47
  if (isRequestOptions(query)) {
48
48
  return this.list({}, query);
49
49
  }
50
- return this.getAPIList('/physical_cards', PhysicalCardsPage, { query, ...options });
50
+ return this._client.getAPIList('/physical_cards', PhysicalCardsPage, { query, ...options });
51
51
  }
52
52
  }
53
53
 
@@ -11,7 +11,7 @@ export class Programs extends APIResource {
11
11
  * Retrieve a Program
12
12
  */
13
13
  retrieve(programId: string, options?: Core.RequestOptions): Core.APIPromise<Program> {
14
- return this.get(`/programs/${programId}`, options);
14
+ return this._client.get(`/programs/${programId}`, options);
15
15
  }
16
16
 
17
17
  /**
@@ -26,7 +26,7 @@ export class Programs extends APIResource {
26
26
  if (isRequestOptions(query)) {
27
27
  return this.list({}, query);
28
28
  }
29
- return this.getAPIList('/programs', ProgramsPage, { query, ...options });
29
+ return this._client.getAPIList('/programs', ProgramsPage, { query, ...options });
30
30
  }
31
31
  }
32
32
 
@@ -0,0 +1,186 @@
1
+ // File generated from our OpenAPI spec by Stainless.
2
+
3
+ import * as Core from "../core";
4
+ import { APIResource } from "../resource";
5
+ import { isRequestOptions } from "../core";
6
+ import * as ProofOfAuthorizationRequestSubmissionsAPI from "./proof-of-authorization-request-submissions";
7
+ import { Page, type PageParams } from "../pagination";
8
+
9
+ export class ProofOfAuthorizationRequestSubmissions extends APIResource {
10
+ /**
11
+ * Submit Proof of Authorization
12
+ */
13
+ create(
14
+ body: ProofOfAuthorizationRequestSubmissionCreateParams,
15
+ options?: Core.RequestOptions,
16
+ ): Core.APIPromise<ProofOfAuthorizationRequestSubmission> {
17
+ return this._client.post('/proof_of_authorization_request_submissions', { body, ...options });
18
+ }
19
+
20
+ /**
21
+ * Retrieve a Proof of Authorization Request Submission
22
+ */
23
+ retrieve(
24
+ proofOfAuthorizationRequestSubmissionId: string,
25
+ options?: Core.RequestOptions,
26
+ ): Core.APIPromise<ProofOfAuthorizationRequestSubmission> {
27
+ return this._client.get(
28
+ `/proof_of_authorization_request_submissions/${proofOfAuthorizationRequestSubmissionId}`,
29
+ options,
30
+ );
31
+ }
32
+
33
+ /**
34
+ * List Proof of Authorization Request Submissions
35
+ */
36
+ list(
37
+ query?: ProofOfAuthorizationRequestSubmissionListParams,
38
+ options?: Core.RequestOptions,
39
+ ): Core.PagePromise<ProofOfAuthorizationRequestSubmissionsPage, ProofOfAuthorizationRequestSubmission>;
40
+ list(
41
+ options?: Core.RequestOptions,
42
+ ): Core.PagePromise<ProofOfAuthorizationRequestSubmissionsPage, ProofOfAuthorizationRequestSubmission>;
43
+ list(
44
+ query: ProofOfAuthorizationRequestSubmissionListParams | Core.RequestOptions = {},
45
+ options?: Core.RequestOptions,
46
+ ): Core.PagePromise<ProofOfAuthorizationRequestSubmissionsPage, ProofOfAuthorizationRequestSubmission> {
47
+ if (isRequestOptions(query)) {
48
+ return this.list({}, query);
49
+ }
50
+ return this._client.getAPIList(
51
+ '/proof_of_authorization_request_submissions',
52
+ ProofOfAuthorizationRequestSubmissionsPage,
53
+ { query, ...options },
54
+ );
55
+ }
56
+ }
57
+
58
+ export class ProofOfAuthorizationRequestSubmissionsPage extends Page<ProofOfAuthorizationRequestSubmission> {}
59
+
60
+ /**
61
+ * Information submitted in response to a proof of authorization request. Per
62
+ * Nacha's guidance on proof of authorization, the originator must ensure that the
63
+ * authorization complies with applicable legal requirements, is readily
64
+ * identifiable as an authorization, and has clear and readily understandable
65
+ * terms.
66
+ */
67
+ export interface ProofOfAuthorizationRequestSubmission {
68
+ /**
69
+ * The Proof of Authorization Request Submission identifier.
70
+ */
71
+ id: string;
72
+
73
+ /**
74
+ * Terms of authorization.
75
+ */
76
+ authorization_terms: string;
77
+
78
+ /**
79
+ * Time of authorization.
80
+ */
81
+ authorized_at: string;
82
+
83
+ /**
84
+ * Company of the authorizer.
85
+ */
86
+ authorizer_company: string | null;
87
+
88
+ /**
89
+ * Email of the authorizer.
90
+ */
91
+ authorizer_email: string | null;
92
+
93
+ /**
94
+ * IP address of the authorizer.
95
+ */
96
+ authorizer_ip_address: string | null;
97
+
98
+ /**
99
+ * Name of the authorizer.
100
+ */
101
+ authorizer_name: string | null;
102
+
103
+ /**
104
+ * The time the Proof of Authorization Request Submission was created.
105
+ */
106
+ created_at: string;
107
+
108
+ /**
109
+ * ID of the proof of authorization request.
110
+ */
111
+ proof_of_authorization_request_id: string;
112
+
113
+ /**
114
+ * Status of the proof of authorization request submission.
115
+ *
116
+ * - `pending_review` - The proof of authorization request submission is pending
117
+ * review.
118
+ * - `rejected` - The proof of authorization request submission was rejected.
119
+ * - `pending_sending` - The proof of authorization request submission is pending
120
+ * sending.
121
+ * - `sent` - The proof of authorization request submission was sent.
122
+ */
123
+ status: 'pending_review' | 'rejected' | 'pending_sending' | 'sent';
124
+
125
+ /**
126
+ * A constant representing the object's type. For this resource it will always be
127
+ * `proof_of_authorization_request_submission`.
128
+ */
129
+ type: 'proof_of_authorization_request_submission';
130
+
131
+ /**
132
+ * The time the Proof of Authorization Request Submission was last updated.
133
+ */
134
+ updated_at: string;
135
+ }
136
+
137
+ export interface ProofOfAuthorizationRequestSubmissionCreateParams {
138
+ /**
139
+ * Terms of authorization.
140
+ */
141
+ authorization_terms: string;
142
+
143
+ /**
144
+ * Time of authorization.
145
+ */
146
+ authorized_at: string;
147
+
148
+ /**
149
+ * Email of the authorizer.
150
+ */
151
+ authorizer_email: string;
152
+
153
+ /**
154
+ * Name of the authorizer.
155
+ */
156
+ authorizer_name: string;
157
+
158
+ /**
159
+ * ID of the proof of authorization request.
160
+ */
161
+ proof_of_authorization_request_id: string;
162
+
163
+ /**
164
+ * Company of the authorizer.
165
+ */
166
+ authorizer_company?: string;
167
+
168
+ /**
169
+ * IP address of the authorizer.
170
+ */
171
+ authorizer_ip_address?: string;
172
+ }
173
+
174
+ export interface ProofOfAuthorizationRequestSubmissionListParams extends PageParams {
175
+ /**
176
+ * ID of the proof of authorization request.
177
+ */
178
+ proof_of_authorization_request_id?: string;
179
+ }
180
+
181
+ export namespace ProofOfAuthorizationRequestSubmissions {
182
+ export import ProofOfAuthorizationRequestSubmission = ProofOfAuthorizationRequestSubmissionsAPI.ProofOfAuthorizationRequestSubmission;
183
+ export import ProofOfAuthorizationRequestSubmissionsPage = ProofOfAuthorizationRequestSubmissionsAPI.ProofOfAuthorizationRequestSubmissionsPage;
184
+ export import ProofOfAuthorizationRequestSubmissionCreateParams = ProofOfAuthorizationRequestSubmissionsAPI.ProofOfAuthorizationRequestSubmissionCreateParams;
185
+ export import ProofOfAuthorizationRequestSubmissionListParams = ProofOfAuthorizationRequestSubmissionsAPI.ProofOfAuthorizationRequestSubmissionListParams;
186
+ }