@whop/sdk 0.0.27 → 0.0.28

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 (459) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/client.d.mts +4 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +4 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js +7 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +7 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/access-tokens.d.mts +19 -20
  12. package/resources/access-tokens.d.mts.map +1 -1
  13. package/resources/access-tokens.d.ts +19 -20
  14. package/resources/access-tokens.d.ts.map +1 -1
  15. package/resources/access-tokens.js +4 -4
  16. package/resources/access-tokens.mjs +4 -4
  17. package/resources/account-links.d.mts +15 -13
  18. package/resources/account-links.d.mts.map +1 -1
  19. package/resources/account-links.d.ts +15 -13
  20. package/resources/account-links.d.ts.map +1 -1
  21. package/resources/account-links.js +2 -3
  22. package/resources/account-links.js.map +1 -1
  23. package/resources/account-links.mjs +2 -3
  24. package/resources/account-links.mjs.map +1 -1
  25. package/resources/ai-chats.d.mts +38 -26
  26. package/resources/ai-chats.d.mts.map +1 -1
  27. package/resources/ai-chats.d.ts +38 -26
  28. package/resources/ai-chats.d.ts.map +1 -1
  29. package/resources/ai-chats.js +5 -5
  30. package/resources/ai-chats.mjs +5 -5
  31. package/resources/app-builds.d.mts +35 -33
  32. package/resources/app-builds.d.mts.map +1 -1
  33. package/resources/app-builds.d.ts +35 -33
  34. package/resources/app-builds.d.ts.map +1 -1
  35. package/resources/app-builds.js +7 -4
  36. package/resources/app-builds.js.map +1 -1
  37. package/resources/app-builds.mjs +7 -4
  38. package/resources/app-builds.mjs.map +1 -1
  39. package/resources/apps.d.mts +81 -56
  40. package/resources/apps.d.mts.map +1 -1
  41. package/resources/apps.d.ts +81 -56
  42. package/resources/apps.d.ts.map +1 -1
  43. package/resources/apps.js +7 -4
  44. package/resources/apps.js.map +1 -1
  45. package/resources/apps.mjs +7 -4
  46. package/resources/apps.mjs.map +1 -1
  47. package/resources/authorized-users.d.mts +32 -26
  48. package/resources/authorized-users.d.mts.map +1 -1
  49. package/resources/authorized-users.d.ts +32 -26
  50. package/resources/authorized-users.d.ts.map +1 -1
  51. package/resources/authorized-users.js +3 -2
  52. package/resources/authorized-users.js.map +1 -1
  53. package/resources/authorized-users.mjs +3 -2
  54. package/resources/authorized-users.mjs.map +1 -1
  55. package/resources/chat-channels.d.mts +27 -19
  56. package/resources/chat-channels.d.mts.map +1 -1
  57. package/resources/chat-channels.d.ts +27 -19
  58. package/resources/chat-channels.d.ts.map +1 -1
  59. package/resources/chat-channels.js +5 -3
  60. package/resources/chat-channels.js.map +1 -1
  61. package/resources/chat-channels.mjs +5 -3
  62. package/resources/chat-channels.mjs.map +1 -1
  63. package/resources/checkout-configurations.d.mts +55 -46
  64. package/resources/checkout-configurations.d.mts.map +1 -1
  65. package/resources/checkout-configurations.d.ts +55 -46
  66. package/resources/checkout-configurations.d.ts.map +1 -1
  67. package/resources/checkout-configurations.js +3 -2
  68. package/resources/checkout-configurations.js.map +1 -1
  69. package/resources/checkout-configurations.mjs +3 -2
  70. package/resources/checkout-configurations.mjs.map +1 -1
  71. package/resources/companies.d.mts +65 -46
  72. package/resources/companies.d.mts.map +1 -1
  73. package/resources/companies.d.ts +65 -46
  74. package/resources/companies.d.ts.map +1 -1
  75. package/resources/companies.js +7 -8
  76. package/resources/companies.js.map +1 -1
  77. package/resources/companies.mjs +7 -8
  78. package/resources/companies.mjs.map +1 -1
  79. package/resources/company-token-transactions.d.mts +80 -57
  80. package/resources/company-token-transactions.d.mts.map +1 -1
  81. package/resources/company-token-transactions.d.ts +80 -57
  82. package/resources/company-token-transactions.d.ts.map +1 -1
  83. package/resources/company-token-transactions.js +6 -3
  84. package/resources/company-token-transactions.js.map +1 -1
  85. package/resources/company-token-transactions.mjs +6 -3
  86. package/resources/company-token-transactions.mjs.map +1 -1
  87. package/resources/course-chapters.d.mts +24 -19
  88. package/resources/course-chapters.d.mts.map +1 -1
  89. package/resources/course-chapters.d.ts +24 -19
  90. package/resources/course-chapters.d.ts.map +1 -1
  91. package/resources/course-chapters.js +5 -5
  92. package/resources/course-chapters.mjs +5 -5
  93. package/resources/course-lesson-interactions.d.mts +7 -6
  94. package/resources/course-lesson-interactions.d.mts.map +1 -1
  95. package/resources/course-lesson-interactions.d.ts +7 -6
  96. package/resources/course-lesson-interactions.d.ts.map +1 -1
  97. package/resources/course-lesson-interactions.js +3 -2
  98. package/resources/course-lesson-interactions.js.map +1 -1
  99. package/resources/course-lesson-interactions.mjs +3 -2
  100. package/resources/course-lesson-interactions.mjs.map +1 -1
  101. package/resources/course-lessons.d.mts +126 -84
  102. package/resources/course-lessons.d.mts.map +1 -1
  103. package/resources/course-lessons.d.ts +126 -84
  104. package/resources/course-lessons.d.ts.map +1 -1
  105. package/resources/course-lessons.js +12 -8
  106. package/resources/course-lessons.js.map +1 -1
  107. package/resources/course-lessons.mjs +12 -8
  108. package/resources/course-lessons.mjs.map +1 -1
  109. package/resources/course-students.d.mts +38 -29
  110. package/resources/course-students.d.mts.map +1 -1
  111. package/resources/course-students.d.ts +38 -29
  112. package/resources/course-students.d.ts.map +1 -1
  113. package/resources/course-students.js +3 -2
  114. package/resources/course-students.js.map +1 -1
  115. package/resources/course-students.mjs +3 -2
  116. package/resources/course-students.mjs.map +1 -1
  117. package/resources/courses.d.mts +132 -91
  118. package/resources/courses.d.mts.map +1 -1
  119. package/resources/courses.d.ts +132 -91
  120. package/resources/courses.d.ts.map +1 -1
  121. package/resources/courses.js +9 -5
  122. package/resources/courses.js.map +1 -1
  123. package/resources/courses.mjs +9 -5
  124. package/resources/courses.mjs.map +1 -1
  125. package/resources/disputes.d.mts +156 -102
  126. package/resources/disputes.d.mts.map +1 -1
  127. package/resources/disputes.d.ts +156 -102
  128. package/resources/disputes.d.ts.map +1 -1
  129. package/resources/disputes.js +4 -2
  130. package/resources/disputes.js.map +1 -1
  131. package/resources/disputes.mjs +4 -2
  132. package/resources/disputes.mjs.map +1 -1
  133. package/resources/dm-channels.d.mts +29 -16
  134. package/resources/dm-channels.d.mts.map +1 -1
  135. package/resources/dm-channels.d.ts +29 -16
  136. package/resources/dm-channels.d.ts.map +1 -1
  137. package/resources/dm-channels.js +9 -5
  138. package/resources/dm-channels.js.map +1 -1
  139. package/resources/dm-channels.mjs +9 -5
  140. package/resources/dm-channels.mjs.map +1 -1
  141. package/resources/dm-members.d.mts +30 -21
  142. package/resources/dm-members.d.mts.map +1 -1
  143. package/resources/dm-members.d.ts +30 -21
  144. package/resources/dm-members.d.ts.map +1 -1
  145. package/resources/dm-members.js +9 -5
  146. package/resources/dm-members.js.map +1 -1
  147. package/resources/dm-members.mjs +9 -5
  148. package/resources/dm-members.mjs.map +1 -1
  149. package/resources/entries.d.mts +29 -21
  150. package/resources/entries.d.mts.map +1 -1
  151. package/resources/entries.d.ts +29 -21
  152. package/resources/entries.d.ts.map +1 -1
  153. package/resources/entries.js +7 -4
  154. package/resources/entries.js.map +1 -1
  155. package/resources/entries.mjs +7 -4
  156. package/resources/entries.mjs.map +1 -1
  157. package/resources/experiences.d.mts +53 -45
  158. package/resources/experiences.d.mts.map +1 -1
  159. package/resources/experiences.d.ts +53 -45
  160. package/resources/experiences.d.ts.map +1 -1
  161. package/resources/experiences.js +6 -5
  162. package/resources/experiences.js.map +1 -1
  163. package/resources/experiences.mjs +6 -5
  164. package/resources/experiences.mjs.map +1 -1
  165. package/resources/fee-markups.d.mts +32 -21
  166. package/resources/fee-markups.d.mts.map +1 -1
  167. package/resources/fee-markups.d.ts +32 -21
  168. package/resources/fee-markups.d.ts.map +1 -1
  169. package/resources/fee-markups.js +6 -3
  170. package/resources/fee-markups.js.map +1 -1
  171. package/resources/fee-markups.mjs +6 -3
  172. package/resources/fee-markups.mjs.map +1 -1
  173. package/resources/files.d.mts +21 -17
  174. package/resources/files.d.mts.map +1 -1
  175. package/resources/files.d.ts +21 -17
  176. package/resources/files.d.ts.map +1 -1
  177. package/resources/files.js +3 -2
  178. package/resources/files.js.map +1 -1
  179. package/resources/files.mjs +3 -2
  180. package/resources/files.mjs.map +1 -1
  181. package/resources/forum-posts.d.mts +62 -43
  182. package/resources/forum-posts.d.mts.map +1 -1
  183. package/resources/forum-posts.d.ts +62 -43
  184. package/resources/forum-posts.d.ts.map +1 -1
  185. package/resources/forum-posts.js +8 -4
  186. package/resources/forum-posts.js.map +1 -1
  187. package/resources/forum-posts.mjs +8 -4
  188. package/resources/forum-posts.mjs.map +1 -1
  189. package/resources/forums.d.mts +20 -12
  190. package/resources/forums.d.mts.map +1 -1
  191. package/resources/forums.d.ts +20 -12
  192. package/resources/forums.d.ts.map +1 -1
  193. package/resources/forums.js +5 -3
  194. package/resources/forums.js.map +1 -1
  195. package/resources/forums.mjs +5 -3
  196. package/resources/forums.mjs.map +1 -1
  197. package/resources/index.d.mts +2 -2
  198. package/resources/index.d.mts.map +1 -1
  199. package/resources/index.d.ts +2 -2
  200. package/resources/index.d.ts.map +1 -1
  201. package/resources/index.js.map +1 -1
  202. package/resources/index.mjs.map +1 -1
  203. package/resources/invoices.d.mts +108 -80
  204. package/resources/invoices.d.mts.map +1 -1
  205. package/resources/invoices.d.ts +108 -80
  206. package/resources/invoices.d.ts.map +1 -1
  207. package/resources/invoices.js +7 -4
  208. package/resources/invoices.js.map +1 -1
  209. package/resources/invoices.mjs +7 -4
  210. package/resources/invoices.mjs.map +1 -1
  211. package/resources/leads.d.mts +64 -42
  212. package/resources/leads.d.mts.map +1 -1
  213. package/resources/leads.d.ts +64 -42
  214. package/resources/leads.d.ts.map +1 -1
  215. package/resources/leads.js +6 -4
  216. package/resources/leads.js.map +1 -1
  217. package/resources/leads.mjs +6 -4
  218. package/resources/leads.mjs.map +1 -1
  219. package/resources/ledger-accounts.d.mts +10 -8
  220. package/resources/ledger-accounts.d.mts.map +1 -1
  221. package/resources/ledger-accounts.d.ts +10 -8
  222. package/resources/ledger-accounts.d.ts.map +1 -1
  223. package/resources/ledger-accounts.js +1 -1
  224. package/resources/ledger-accounts.mjs +1 -1
  225. package/resources/members.d.mts +18 -19
  226. package/resources/members.d.mts.map +1 -1
  227. package/resources/members.d.ts +18 -19
  228. package/resources/members.d.ts.map +1 -1
  229. package/resources/members.js +3 -2
  230. package/resources/members.js.map +1 -1
  231. package/resources/members.mjs +3 -2
  232. package/resources/members.mjs.map +1 -1
  233. package/resources/memberships.d.mts +69 -51
  234. package/resources/memberships.d.mts.map +1 -1
  235. package/resources/memberships.d.ts +69 -51
  236. package/resources/memberships.d.ts.map +1 -1
  237. package/resources/memberships.js +12 -8
  238. package/resources/memberships.js.map +1 -1
  239. package/resources/memberships.mjs +12 -8
  240. package/resources/memberships.mjs.map +1 -1
  241. package/resources/messages.d.mts +46 -32
  242. package/resources/messages.d.mts.map +1 -1
  243. package/resources/messages.d.ts +46 -32
  244. package/resources/messages.d.ts.map +1 -1
  245. package/resources/messages.js +9 -5
  246. package/resources/messages.js.map +1 -1
  247. package/resources/messages.mjs +9 -5
  248. package/resources/messages.mjs.map +1 -1
  249. package/resources/notifications.d.mts +33 -25
  250. package/resources/notifications.d.mts.map +1 -1
  251. package/resources/notifications.d.ts +33 -25
  252. package/resources/notifications.d.ts.map +1 -1
  253. package/resources/notifications.js +2 -1
  254. package/resources/notifications.js.map +1 -1
  255. package/resources/notifications.mjs +2 -1
  256. package/resources/notifications.mjs.map +1 -1
  257. package/resources/payment-methods.d.mts +212 -114
  258. package/resources/payment-methods.d.mts.map +1 -1
  259. package/resources/payment-methods.d.ts +212 -114
  260. package/resources/payment-methods.d.ts.map +1 -1
  261. package/resources/payment-methods.js +5 -10
  262. package/resources/payment-methods.js.map +1 -1
  263. package/resources/payment-methods.mjs +5 -10
  264. package/resources/payment-methods.mjs.map +1 -1
  265. package/resources/payments.d.mts +73 -40
  266. package/resources/payments.d.mts.map +1 -1
  267. package/resources/payments.d.ts +73 -40
  268. package/resources/payments.d.ts.map +1 -1
  269. package/resources/payments.js +23 -10
  270. package/resources/payments.js.map +1 -1
  271. package/resources/payments.mjs +23 -10
  272. package/resources/payments.mjs.map +1 -1
  273. package/resources/payout-methods.d.mts +44 -29
  274. package/resources/payout-methods.d.mts.map +1 -1
  275. package/resources/payout-methods.d.ts +44 -29
  276. package/resources/payout-methods.d.ts.map +1 -1
  277. package/resources/payout-methods.js +3 -2
  278. package/resources/payout-methods.js.map +1 -1
  279. package/resources/payout-methods.mjs +3 -2
  280. package/resources/payout-methods.mjs.map +1 -1
  281. package/resources/plans.d.mts +121 -90
  282. package/resources/plans.d.mts.map +1 -1
  283. package/resources/plans.d.ts +121 -90
  284. package/resources/plans.d.ts.map +1 -1
  285. package/resources/plans.js +9 -5
  286. package/resources/plans.js.map +1 -1
  287. package/resources/plans.mjs +9 -5
  288. package/resources/plans.mjs.map +1 -1
  289. package/resources/products.d.mts +76 -65
  290. package/resources/products.d.mts.map +1 -1
  291. package/resources/products.d.ts +76 -65
  292. package/resources/products.d.ts.map +1 -1
  293. package/resources/products.js +7 -5
  294. package/resources/products.js.map +1 -1
  295. package/resources/products.mjs +7 -5
  296. package/resources/products.mjs.map +1 -1
  297. package/resources/promo-codes.d.mts +41 -31
  298. package/resources/promo-codes.d.mts.map +1 -1
  299. package/resources/promo-codes.d.ts +41 -31
  300. package/resources/promo-codes.d.ts.map +1 -1
  301. package/resources/promo-codes.js +7 -4
  302. package/resources/promo-codes.js.map +1 -1
  303. package/resources/promo-codes.mjs +7 -4
  304. package/resources/promo-codes.mjs.map +1 -1
  305. package/resources/reactions.d.mts +24 -18
  306. package/resources/reactions.d.mts.map +1 -1
  307. package/resources/reactions.d.ts +24 -18
  308. package/resources/reactions.d.ts.map +1 -1
  309. package/resources/reactions.js +7 -4
  310. package/resources/reactions.js.map +1 -1
  311. package/resources/reactions.mjs +7 -4
  312. package/resources/reactions.mjs.map +1 -1
  313. package/resources/refunds.d.mts +43 -29
  314. package/resources/refunds.d.mts.map +1 -1
  315. package/resources/refunds.d.ts +43 -29
  316. package/resources/refunds.d.ts.map +1 -1
  317. package/resources/refunds.js +3 -2
  318. package/resources/refunds.js.map +1 -1
  319. package/resources/refunds.mjs +3 -2
  320. package/resources/refunds.mjs.map +1 -1
  321. package/resources/reviews.d.mts +66 -50
  322. package/resources/reviews.d.mts.map +1 -1
  323. package/resources/reviews.d.ts +66 -50
  324. package/resources/reviews.d.ts.map +1 -1
  325. package/resources/reviews.js +3 -2
  326. package/resources/reviews.js.map +1 -1
  327. package/resources/reviews.mjs +3 -2
  328. package/resources/reviews.mjs.map +1 -1
  329. package/resources/setup-intents.d.mts +61 -43
  330. package/resources/setup-intents.d.mts.map +1 -1
  331. package/resources/setup-intents.d.ts +61 -43
  332. package/resources/setup-intents.d.ts.map +1 -1
  333. package/resources/setup-intents.js +4 -10
  334. package/resources/setup-intents.js.map +1 -1
  335. package/resources/setup-intents.mjs +4 -10
  336. package/resources/setup-intents.mjs.map +1 -1
  337. package/resources/shared.d.mts +695 -388
  338. package/resources/shared.d.mts.map +1 -1
  339. package/resources/shared.d.ts +695 -388
  340. package/resources/shared.d.ts.map +1 -1
  341. package/resources/shipments.d.mts +26 -17
  342. package/resources/shipments.d.mts.map +1 -1
  343. package/resources/shipments.d.ts +26 -17
  344. package/resources/shipments.d.ts.map +1 -1
  345. package/resources/shipments.js +5 -3
  346. package/resources/shipments.js.map +1 -1
  347. package/resources/shipments.mjs +5 -3
  348. package/resources/shipments.mjs.map +1 -1
  349. package/resources/support-channels.d.mts +27 -19
  350. package/resources/support-channels.d.mts.map +1 -1
  351. package/resources/support-channels.d.ts +27 -19
  352. package/resources/support-channels.d.ts.map +1 -1
  353. package/resources/support-channels.js +5 -4
  354. package/resources/support-channels.js.map +1 -1
  355. package/resources/support-channels.mjs +5 -4
  356. package/resources/support-channels.mjs.map +1 -1
  357. package/resources/topups.d.mts +11 -9
  358. package/resources/topups.d.mts.map +1 -1
  359. package/resources/topups.d.ts +11 -9
  360. package/resources/topups.d.ts.map +1 -1
  361. package/resources/topups.js +2 -1
  362. package/resources/topups.js.map +1 -1
  363. package/resources/topups.mjs +2 -1
  364. package/resources/topups.mjs.map +1 -1
  365. package/resources/transfers.d.mts +35 -29
  366. package/resources/transfers.d.mts.map +1 -1
  367. package/resources/transfers.d.ts +35 -29
  368. package/resources/transfers.d.ts.map +1 -1
  369. package/resources/transfers.js +5 -3
  370. package/resources/transfers.js.map +1 -1
  371. package/resources/transfers.mjs +5 -3
  372. package/resources/transfers.mjs.map +1 -1
  373. package/resources/users.d.mts +20 -16
  374. package/resources/users.d.mts.map +1 -1
  375. package/resources/users.d.ts +20 -16
  376. package/resources/users.d.ts.map +1 -1
  377. package/resources/users.js +4 -3
  378. package/resources/users.js.map +1 -1
  379. package/resources/users.mjs +4 -3
  380. package/resources/users.mjs.map +1 -1
  381. package/resources/verifications.d.mts +6 -4
  382. package/resources/verifications.d.mts.map +1 -1
  383. package/resources/verifications.d.ts +6 -4
  384. package/resources/verifications.d.ts.map +1 -1
  385. package/resources/verifications.js +1 -1
  386. package/resources/verifications.mjs +1 -1
  387. package/resources/webhooks.d.mts +136 -95
  388. package/resources/webhooks.d.mts.map +1 -1
  389. package/resources/webhooks.d.ts +136 -95
  390. package/resources/webhooks.d.ts.map +1 -1
  391. package/resources/webhooks.js +3 -2
  392. package/resources/webhooks.js.map +1 -1
  393. package/resources/webhooks.mjs +3 -2
  394. package/resources/webhooks.mjs.map +1 -1
  395. package/resources/withdrawals.d.mts +53 -44
  396. package/resources/withdrawals.d.mts.map +1 -1
  397. package/resources/withdrawals.d.ts +53 -44
  398. package/resources/withdrawals.d.ts.map +1 -1
  399. package/resources/withdrawals.js +3 -2
  400. package/resources/withdrawals.js.map +1 -1
  401. package/resources/withdrawals.mjs +3 -2
  402. package/resources/withdrawals.mjs.map +1 -1
  403. package/src/client.ts +13 -3
  404. package/src/resources/access-tokens.ts +19 -20
  405. package/src/resources/account-links.ts +15 -13
  406. package/src/resources/ai-chats.ts +39 -26
  407. package/src/resources/app-builds.ts +35 -33
  408. package/src/resources/apps.ts +84 -56
  409. package/src/resources/authorized-users.ts +32 -26
  410. package/src/resources/chat-channels.ts +27 -19
  411. package/src/resources/checkout-configurations.ts +56 -46
  412. package/src/resources/companies.ts +68 -46
  413. package/src/resources/company-token-transactions.ts +81 -58
  414. package/src/resources/course-chapters.ts +24 -19
  415. package/src/resources/course-lesson-interactions.ts +7 -6
  416. package/src/resources/course-lessons.ts +126 -84
  417. package/src/resources/course-students.ts +38 -29
  418. package/src/resources/courses.ts +132 -91
  419. package/src/resources/disputes.ts +156 -102
  420. package/src/resources/dm-channels.ts +29 -16
  421. package/src/resources/dm-members.ts +30 -21
  422. package/src/resources/entries.ts +29 -21
  423. package/src/resources/experiences.ts +53 -45
  424. package/src/resources/fee-markups.ts +32 -21
  425. package/src/resources/files.ts +21 -17
  426. package/src/resources/forum-posts.ts +63 -43
  427. package/src/resources/forums.ts +20 -12
  428. package/src/resources/index.ts +2 -1
  429. package/src/resources/invoices.ts +112 -80
  430. package/src/resources/leads.ts +64 -42
  431. package/src/resources/ledger-accounts.ts +10 -8
  432. package/src/resources/members.ts +18 -19
  433. package/src/resources/memberships.ts +69 -51
  434. package/src/resources/messages.ts +46 -32
  435. package/src/resources/notifications.ts +33 -25
  436. package/src/resources/payment-methods.ts +212 -114
  437. package/src/resources/payments.ts +77 -39
  438. package/src/resources/payout-methods.ts +44 -29
  439. package/src/resources/plans.ts +121 -90
  440. package/src/resources/products.ts +215 -68
  441. package/src/resources/promo-codes.ts +41 -31
  442. package/src/resources/reactions.ts +24 -18
  443. package/src/resources/refunds.ts +44 -29
  444. package/src/resources/reviews.ts +66 -50
  445. package/src/resources/setup-intents.ts +61 -43
  446. package/src/resources/shared.ts +2637 -387
  447. package/src/resources/shipments.ts +26 -17
  448. package/src/resources/support-channels.ts +27 -19
  449. package/src/resources/topups.ts +11 -9
  450. package/src/resources/transfers.ts +35 -29
  451. package/src/resources/users.ts +20 -16
  452. package/src/resources/verifications.ts +6 -4
  453. package/src/resources/webhooks.ts +136 -95
  454. package/src/resources/withdrawals.ts +53 -43
  455. package/src/version.ts +1 -1
  456. package/version.d.mts +1 -1
  457. package/version.d.ts +1 -1
  458. package/version.js +1 -1
  459. package/version.mjs +1 -1
@@ -10,7 +10,7 @@ import { path } from '../internal/utils/path';
10
10
 
11
11
  export class Disputes extends APIResource {
12
12
  /**
13
- * Retrieves a Dispute by ID
13
+ * Retrieves the details of an existing dispute.
14
14
  *
15
15
  * Required permissions:
16
16
  *
@@ -28,7 +28,9 @@ export class Disputes extends APIResource {
28
28
  }
29
29
 
30
30
  /**
31
- * Lists disputes the current actor has access to
31
+ * Returns a paginated list of disputes for a company, with optional filtering by
32
+ * creation date. A dispute represents a chargeback or inquiry filed by a customer
33
+ * against a payment.
32
34
  *
33
35
  * Required permissions:
34
36
  *
@@ -100,32 +102,36 @@ export interface Dispute {
100
102
  id: string;
101
103
 
102
104
  /**
103
- * An IP access log for the user from Whop.
105
+ * A log of IP-based access activity for the customer on Whop, submitted as
106
+ * evidence in the dispute.
104
107
  */
105
108
  access_activity_log: string | null;
106
109
 
107
110
  /**
108
- * The amount of the dispute (formatted).
111
+ * The disputed amount in the specified currency, formatted as a decimal.
109
112
  */
110
113
  amount: number;
111
114
 
112
115
  /**
113
- * The billing address of the user from their payment details.
116
+ * The customer's billing address from their payment details, submitted as evidence
117
+ * in the dispute.
114
118
  */
115
119
  billing_address: string | null;
116
120
 
117
121
  /**
118
- * The cancellation policy for this dispute
122
+ * The cancellation policy document uploaded as dispute evidence. Null if no
123
+ * cancellation policy has been provided.
119
124
  */
120
125
  cancellation_policy_attachment: Dispute.CancellationPolicyAttachment | null;
121
126
 
122
127
  /**
123
- * A cancellation policy disclosure from the company.
128
+ * A text disclosure describing the company's cancellation policy, submitted as
129
+ * dispute evidence.
124
130
  */
125
131
  cancellation_policy_disclosure: string | null;
126
132
 
127
133
  /**
128
- * The company the dispute is against.
134
+ * The company that the dispute was filed against.
129
135
  */
130
136
  company: Dispute.Company | null;
131
137
 
@@ -135,134 +141,150 @@ export interface Dispute {
135
141
  created_at: string | null;
136
142
 
137
143
  /**
138
- * The currency of the dispute.
144
+ * The three-letter ISO currency code for the disputed amount.
139
145
  */
140
146
  currency: Shared.Currency;
141
147
 
142
148
  /**
143
- * The customer communication for this dispute
149
+ * Evidence of customer communication or product usage, uploaded as a dispute
150
+ * attachment. Null if not provided.
144
151
  */
145
152
  customer_communication_attachment: Dispute.CustomerCommunicationAttachment | null;
146
153
 
147
154
  /**
148
- * The email of the customer from their payment details. This is submitted in the
149
- * evidence packet to the payment processor. You can change it before submitting
150
- * the dispute.
155
+ * The customer's email address from their payment details, included in the
156
+ * evidence packet sent to the payment processor. Editable before submission.
151
157
  */
152
158
  customer_email_address: string | null;
153
159
 
154
160
  /**
155
- * The name of the customer from their payment details. This is submitted in the
156
- * evidence packet to the payment processor. You can change it before submitting
157
- * the dispute.
161
+ * The customer's full name from their payment details, included in the evidence
162
+ * packet sent to the payment processor. Editable before submission.
158
163
  */
159
164
  customer_name: string | null;
160
165
 
161
166
  /**
162
- * Whether or not the dispute data can be edited.
167
+ * Whether the dispute evidence can still be edited and submitted. Returns true
168
+ * only when the dispute status requires a response.
163
169
  */
164
170
  editable: boolean | null;
165
171
 
166
172
  /**
167
- * The last date the dispute is allow to be submitted by.
173
+ * The deadline by which dispute evidence must be submitted. Null if no response
174
+ * deadline is set.
168
175
  */
169
176
  needs_response_by: string | null;
170
177
 
171
178
  /**
172
- * Additional notes the company chooses to submit regarding the dispute.
179
+ * Additional freeform notes submitted by the company as part of the dispute
180
+ * evidence.
173
181
  */
174
182
  notes: string | null;
175
183
 
176
184
  /**
177
- * The payment that got disputed
185
+ * The original payment that was disputed.
178
186
  */
179
187
  payment: Dispute.Payment | null;
180
188
 
181
189
  /**
182
- * The plan that got disputed
190
+ * The plan associated with the disputed payment. Null if the dispute is not linked
191
+ * to a specific plan.
183
192
  */
184
193
  plan: Dispute.Plan | null;
185
194
 
186
195
  /**
187
- * The product that got disputed
196
+ * The product associated with the disputed payment. Null if the dispute is not
197
+ * linked to a specific product.
188
198
  */
189
199
  product: Dispute.Product | null;
190
200
 
191
201
  /**
192
- * The description of the product from the company.
202
+ * A description of the product or service provided, submitted as dispute evidence.
193
203
  */
194
204
  product_description: string | null;
195
205
 
196
206
  /**
197
- * The reason for the dispute
207
+ * A human-readable reason for the dispute.
198
208
  */
199
209
  reason: string | null;
200
210
 
201
211
  /**
202
- * The refund policy for this dispute
212
+ * The refund policy document uploaded as dispute evidence. Null if no refund
213
+ * policy has been provided.
203
214
  */
204
215
  refund_policy_attachment: Dispute.RefundPolicyAttachment | null;
205
216
 
206
217
  /**
207
- * A refund policy disclosure from the company.
218
+ * A text disclosure describing the company's refund policy, submitted as dispute
219
+ * evidence.
208
220
  */
209
221
  refund_policy_disclosure: string | null;
210
222
 
211
223
  /**
212
- * A description on why the refund is being refused by the company.
224
+ * An explanation from the company for why a refund was refused, submitted as
225
+ * dispute evidence.
213
226
  */
214
227
  refund_refusal_explanation: string | null;
215
228
 
216
229
  /**
217
- * When the product was delivered by the company.
230
+ * The date when the product or service was delivered to the customer, submitted as
231
+ * dispute evidence.
218
232
  */
219
233
  service_date: string | null;
220
234
 
221
235
  /**
222
- * The status of the dispute (mimics stripe's dispute status).
236
+ * The current status of the dispute lifecycle, such as needs_response,
237
+ * under_review, won, or lost.
223
238
  */
224
239
  status: DisputeStatuses;
225
240
 
226
241
  /**
227
- * An attachment that did not fit into the other categories
242
+ * An additional attachment that does not fit into the standard evidence
243
+ * categories. Null if not provided.
228
244
  */
229
245
  uncategorized_attachment: Dispute.UncategorizedAttachment | null;
230
246
 
231
247
  /**
232
- * Whether or not the dispute is a Visa Rapid Dispute Resolution.
248
+ * Whether the dispute was automatically resolved through Visa Rapid Dispute
249
+ * Resolution (RDR).
233
250
  */
234
251
  visa_rdr: boolean;
235
252
  }
236
253
 
237
254
  export namespace Dispute {
238
255
  /**
239
- * The cancellation policy for this dispute
256
+ * The cancellation policy document uploaded as dispute evidence. Null if no
257
+ * cancellation policy has been provided.
240
258
  */
241
259
  export interface CancellationPolicyAttachment {
242
260
  /**
243
- * The ID of the attachment
261
+ * Represents a unique identifier that is Base64 obfuscated. It is often used to
262
+ * refetch an object or as key for a cache. The ID type appears in a JSON response
263
+ * as a String; however, it is not intended to be human-readable. When expected as
264
+ * an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`)
265
+ * input value will be accepted as an ID.
244
266
  */
245
267
  id: string;
246
268
 
247
269
  /**
248
- * The attachment's content type (e.g., image/jpg, video/mp4)
270
+ * The MIME type of the uploaded file (e.g., image/jpeg, video/mp4, audio/mpeg).
249
271
  */
250
272
  content_type: string | null;
251
273
 
252
274
  /**
253
- * The name of the file
275
+ * The original filename of the uploaded attachment, including its file extension.
254
276
  */
255
277
  filename: string | null;
256
278
 
257
279
  /**
258
- * This is the URL you use to render optimized attachments on the client. This
259
- * should be used for apps.
280
+ * A pre-optimized URL for rendering this attachment on the client. This should be
281
+ * used for displaying attachments in apps.
260
282
  */
261
283
  url: string | null;
262
284
  }
263
285
 
264
286
  /**
265
- * The company the dispute is against.
287
+ * The company that the dispute was filed against.
266
288
  */
267
289
  export interface Company {
268
290
  /**
@@ -277,33 +299,38 @@ export namespace Dispute {
277
299
  }
278
300
 
279
301
  /**
280
- * The customer communication for this dispute
302
+ * Evidence of customer communication or product usage, uploaded as a dispute
303
+ * attachment. Null if not provided.
281
304
  */
282
305
  export interface CustomerCommunicationAttachment {
283
306
  /**
284
- * The ID of the attachment
307
+ * Represents a unique identifier that is Base64 obfuscated. It is often used to
308
+ * refetch an object or as key for a cache. The ID type appears in a JSON response
309
+ * as a String; however, it is not intended to be human-readable. When expected as
310
+ * an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`)
311
+ * input value will be accepted as an ID.
285
312
  */
286
313
  id: string;
287
314
 
288
315
  /**
289
- * The attachment's content type (e.g., image/jpg, video/mp4)
316
+ * The MIME type of the uploaded file (e.g., image/jpeg, video/mp4, audio/mpeg).
290
317
  */
291
318
  content_type: string | null;
292
319
 
293
320
  /**
294
- * The name of the file
321
+ * The original filename of the uploaded attachment, including its file extension.
295
322
  */
296
323
  filename: string | null;
297
324
 
298
325
  /**
299
- * This is the URL you use to render optimized attachments on the client. This
300
- * should be used for apps.
326
+ * A pre-optimized URL for rendering this attachment on the client. This should be
327
+ * used for displaying attachments in apps.
301
328
  */
302
329
  url: string | null;
303
330
  }
304
331
 
305
332
  /**
306
- * The payment that got disputed
333
+ * The original payment that was disputed.
307
334
  */
308
335
  export interface Payment {
309
336
  /**
@@ -322,7 +349,8 @@ export namespace Dispute {
322
349
  card_brand: PaymentsAPI.CardBrands | null;
323
350
 
324
351
  /**
325
- * The last 4 digits of the card used to make the payment.
352
+ * The last four digits of the card used to make this payment. Null if the payment
353
+ * was not made with a card.
326
354
  */
327
355
  card_last4: string | null;
328
356
 
@@ -352,7 +380,8 @@ export namespace Dispute {
352
380
  membership: Payment.Membership | null;
353
381
 
354
382
  /**
355
- * The datetime the payment was paid
383
+ * The time at which this payment was successfully collected. Null if the payment
384
+ * has not yet succeeded. As a Unix timestamp.
356
385
  */
357
386
  paid_at: string | null;
358
387
 
@@ -423,24 +452,26 @@ export namespace Dispute {
423
452
  id: string;
424
453
 
425
454
  /**
426
- * The email of the user
455
+ * The user's email address. Requires the member:email:read permission to access.
456
+ * Null if not authorized.
427
457
  */
428
458
  email: string | null;
429
459
 
430
460
  /**
431
- * The name of the user from their Whop account.
461
+ * The user's display name shown on their public profile.
432
462
  */
433
463
  name: string | null;
434
464
 
435
465
  /**
436
- * The username of the user from their Whop account.
466
+ * The user's unique username shown on their public profile.
437
467
  */
438
468
  username: string;
439
469
  }
440
470
  }
441
471
 
442
472
  /**
443
- * The plan that got disputed
473
+ * The plan associated with the disputed payment. Null if the dispute is not linked
474
+ * to a specific plan.
444
475
  */
445
476
  export interface Plan {
446
477
  /**
@@ -450,7 +481,8 @@ export namespace Dispute {
450
481
  }
451
482
 
452
483
  /**
453
- * The product that got disputed
484
+ * The product associated with the disputed payment. Null if the dispute is not
485
+ * linked to a specific product.
454
486
  */
455
487
  export interface Product {
456
488
  /**
@@ -459,59 +491,70 @@ export namespace Dispute {
459
491
  id: string;
460
492
 
461
493
  /**
462
- * The title of the product. Use for Whop 4.0.
494
+ * The display name of the product shown to customers on the product page and in
495
+ * search results.
463
496
  */
464
497
  title: string;
465
498
  }
466
499
 
467
500
  /**
468
- * The refund policy for this dispute
501
+ * The refund policy document uploaded as dispute evidence. Null if no refund
502
+ * policy has been provided.
469
503
  */
470
504
  export interface RefundPolicyAttachment {
471
505
  /**
472
- * The ID of the attachment
506
+ * Represents a unique identifier that is Base64 obfuscated. It is often used to
507
+ * refetch an object or as key for a cache. The ID type appears in a JSON response
508
+ * as a String; however, it is not intended to be human-readable. When expected as
509
+ * an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`)
510
+ * input value will be accepted as an ID.
473
511
  */
474
512
  id: string;
475
513
 
476
514
  /**
477
- * The attachment's content type (e.g., image/jpg, video/mp4)
515
+ * The MIME type of the uploaded file (e.g., image/jpeg, video/mp4, audio/mpeg).
478
516
  */
479
517
  content_type: string | null;
480
518
 
481
519
  /**
482
- * The name of the file
520
+ * The original filename of the uploaded attachment, including its file extension.
483
521
  */
484
522
  filename: string | null;
485
523
 
486
524
  /**
487
- * This is the URL you use to render optimized attachments on the client. This
488
- * should be used for apps.
525
+ * A pre-optimized URL for rendering this attachment on the client. This should be
526
+ * used for displaying attachments in apps.
489
527
  */
490
528
  url: string | null;
491
529
  }
492
530
 
493
531
  /**
494
- * An attachment that did not fit into the other categories
532
+ * An additional attachment that does not fit into the standard evidence
533
+ * categories. Null if not provided.
495
534
  */
496
535
  export interface UncategorizedAttachment {
497
536
  /**
498
- * The ID of the attachment
537
+ * Represents a unique identifier that is Base64 obfuscated. It is often used to
538
+ * refetch an object or as key for a cache. The ID type appears in a JSON response
539
+ * as a String; however, it is not intended to be human-readable. When expected as
540
+ * an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`)
541
+ * input value will be accepted as an ID.
499
542
  */
500
543
  id: string;
501
544
 
502
545
  /**
503
- * The attachment's content type (e.g., image/jpg, video/mp4)
546
+ * The MIME type of the uploaded file (e.g., image/jpeg, video/mp4, audio/mpeg).
504
547
  */
505
548
  content_type: string | null;
506
549
 
507
550
  /**
508
- * The name of the file
551
+ * The original filename of the uploaded attachment, including its file extension.
509
552
  */
510
553
  filename: string | null;
511
554
 
512
555
  /**
513
- * This is the URL you use to render optimized attachments on the client. This
514
- * should be used for apps.
556
+ * A pre-optimized URL for rendering this attachment on the client. This should be
557
+ * used for displaying attachments in apps.
515
558
  */
516
559
  url: string | null;
517
560
  }
@@ -542,12 +585,12 @@ export interface DisputeListResponse {
542
585
  id: string;
543
586
 
544
587
  /**
545
- * The amount of the dispute (formatted).
588
+ * The disputed amount in the specified currency, formatted as a decimal.
546
589
  */
547
590
  amount: number;
548
591
 
549
592
  /**
550
- * The company the dispute is against.
593
+ * The company that the dispute was filed against.
551
594
  */
552
595
  company: DisputeListResponse.Company | null;
553
596
 
@@ -557,54 +600,60 @@ export interface DisputeListResponse {
557
600
  created_at: string | null;
558
601
 
559
602
  /**
560
- * The currency of the dispute.
603
+ * The three-letter ISO currency code for the disputed amount.
561
604
  */
562
605
  currency: Shared.Currency;
563
606
 
564
607
  /**
565
- * Whether or not the dispute data can be edited.
608
+ * Whether the dispute evidence can still be edited and submitted. Returns true
609
+ * only when the dispute status requires a response.
566
610
  */
567
611
  editable: boolean | null;
568
612
 
569
613
  /**
570
- * The last date the dispute is allow to be submitted by.
614
+ * The deadline by which dispute evidence must be submitted. Null if no response
615
+ * deadline is set.
571
616
  */
572
617
  needs_response_by: string | null;
573
618
 
574
619
  /**
575
- * The payment that got disputed
620
+ * The original payment that was disputed.
576
621
  */
577
622
  payment: DisputeListResponse.Payment | null;
578
623
 
579
624
  /**
580
- * The plan that got disputed
625
+ * The plan associated with the disputed payment. Null if the dispute is not linked
626
+ * to a specific plan.
581
627
  */
582
628
  plan: DisputeListResponse.Plan | null;
583
629
 
584
630
  /**
585
- * The product that got disputed
631
+ * The product associated with the disputed payment. Null if the dispute is not
632
+ * linked to a specific product.
586
633
  */
587
634
  product: DisputeListResponse.Product | null;
588
635
 
589
636
  /**
590
- * The reason for the dispute
637
+ * A human-readable reason for the dispute.
591
638
  */
592
639
  reason: string | null;
593
640
 
594
641
  /**
595
- * The status of the dispute (mimics stripe's dispute status).
642
+ * The current status of the dispute lifecycle, such as needs_response,
643
+ * under_review, won, or lost.
596
644
  */
597
645
  status: DisputeStatuses;
598
646
 
599
647
  /**
600
- * Whether or not the dispute is a Visa Rapid Dispute Resolution.
648
+ * Whether the dispute was automatically resolved through Visa Rapid Dispute
649
+ * Resolution (RDR).
601
650
  */
602
651
  visa_rdr: boolean;
603
652
  }
604
653
 
605
654
  export namespace DisputeListResponse {
606
655
  /**
607
- * The company the dispute is against.
656
+ * The company that the dispute was filed against.
608
657
  */
609
658
  export interface Company {
610
659
  /**
@@ -619,7 +668,7 @@ export namespace DisputeListResponse {
619
668
  }
620
669
 
621
670
  /**
622
- * The payment that got disputed
671
+ * The original payment that was disputed.
623
672
  */
624
673
  export interface Payment {
625
674
  /**
@@ -629,7 +678,8 @@ export namespace DisputeListResponse {
629
678
  }
630
679
 
631
680
  /**
632
- * The plan that got disputed
681
+ * The plan associated with the disputed payment. Null if the dispute is not linked
682
+ * to a specific plan.
633
683
  */
634
684
  export interface Plan {
635
685
  /**
@@ -639,7 +689,8 @@ export namespace DisputeListResponse {
639
689
  }
640
690
 
641
691
  /**
642
- * The product that got disputed
692
+ * The product associated with the disputed payment. Null if the dispute is not
693
+ * linked to a specific product.
643
694
  */
644
695
  export interface Product {
645
696
  /**
@@ -648,7 +699,8 @@ export namespace DisputeListResponse {
648
699
  id: string;
649
700
 
650
701
  /**
651
- * The title of the product. Use for Whop 4.0.
702
+ * The display name of the product shown to customers on the product page and in
703
+ * search results.
652
704
  */
653
705
  title: string;
654
706
  }
@@ -656,7 +708,7 @@ export namespace DisputeListResponse {
656
708
 
657
709
  export interface DisputeListParams extends CursorPageParams {
658
710
  /**
659
- * The ID of the company to list disputes for
711
+ * The unique identifier of the company to list disputes for.
660
712
  */
661
713
  company_id: string;
662
714
 
@@ -666,12 +718,12 @@ export interface DisputeListParams extends CursorPageParams {
666
718
  before?: string | null;
667
719
 
668
720
  /**
669
- * The minimum creation date to filter by
721
+ * Only return disputes created after this timestamp.
670
722
  */
671
723
  created_after?: string | null;
672
724
 
673
725
  /**
674
- * The maximum creation date to filter by
726
+ * Only return disputes created before this timestamp.
675
727
  */
676
728
  created_before?: string | null;
677
729
 
@@ -693,79 +745,80 @@ export interface DisputeListParams extends CursorPageParams {
693
745
 
694
746
  export interface DisputeUpdateEvidenceParams {
695
747
  /**
696
- * An IP access log for the user from Whop.
748
+ * An IP access activity log showing the customer used the service.
697
749
  */
698
750
  access_activity_log?: string | null;
699
751
 
700
752
  /**
701
- * The billing address of the user from their payment details.
753
+ * The billing address associated with the customer's payment method.
702
754
  */
703
755
  billing_address?: string | null;
704
756
 
705
757
  /**
706
- * A file containing the cancellation policy from the company.
758
+ * A file upload containing the company's cancellation policy document.
707
759
  */
708
760
  cancellation_policy_attachment?: DisputeUpdateEvidenceParams.CancellationPolicyAttachment | null;
709
761
 
710
762
  /**
711
- * A cancellation policy disclosure from the company.
763
+ * The company's cancellation policy text to submit as evidence.
712
764
  */
713
765
  cancellation_policy_disclosure?: string | null;
714
766
 
715
767
  /**
716
- * A file containing the customer communication from the company (An image).
768
+ * A file upload containing evidence of customer communication. Must be a JPEG,
769
+ * PNG, GIF, or PDF.
717
770
  */
718
771
  customer_communication_attachment?: DisputeUpdateEvidenceParams.CustomerCommunicationAttachment | null;
719
772
 
720
773
  /**
721
- * The email of the customer from their payment details.
774
+ * The email address of the customer associated with the disputed payment.
722
775
  */
723
776
  customer_email_address?: string | null;
724
777
 
725
778
  /**
726
- * The name of the customer from their payment details.
779
+ * The full name of the customer associated with the disputed payment.
727
780
  */
728
781
  customer_name?: string | null;
729
782
 
730
783
  /**
731
- * Additional notes the company chooses to submit regarding the dispute.
784
+ * Additional notes or context to submit as part of the dispute evidence.
732
785
  */
733
786
  notes?: string | null;
734
787
 
735
788
  /**
736
- * The description of the product from the company.
789
+ * A description of the product or service that was provided to the customer.
737
790
  */
738
791
  product_description?: string | null;
739
792
 
740
793
  /**
741
- * A file containing the refund policy from the company.
794
+ * A file upload containing the company's refund policy document.
742
795
  */
743
796
  refund_policy_attachment?: DisputeUpdateEvidenceParams.RefundPolicyAttachment | null;
744
797
 
745
798
  /**
746
- * A refund policy disclosure from the company.
799
+ * The company's refund policy text to submit as evidence.
747
800
  */
748
801
  refund_policy_disclosure?: string | null;
749
802
 
750
803
  /**
751
- * A description on why the refund is being refused by the company.
804
+ * An explanation of why the refund request was refused.
752
805
  */
753
806
  refund_refusal_explanation?: string | null;
754
807
 
755
808
  /**
756
- * When the product was delivered by the company.
809
+ * The date when the product or service was delivered to the customer.
757
810
  */
758
811
  service_date?: string | null;
759
812
 
760
813
  /**
761
- * A file that does not fit in the other categories.
814
+ * A file upload for evidence that does not fit into the other categories.
762
815
  */
763
816
  uncategorized_attachment?: DisputeUpdateEvidenceParams.UncategorizedAttachment | null;
764
817
  }
765
818
 
766
819
  export namespace DisputeUpdateEvidenceParams {
767
820
  /**
768
- * A file containing the cancellation policy from the company.
821
+ * A file upload containing the company's cancellation policy document.
769
822
  */
770
823
  export interface CancellationPolicyAttachment {
771
824
  /**
@@ -775,7 +828,8 @@ export namespace DisputeUpdateEvidenceParams {
775
828
  }
776
829
 
777
830
  /**
778
- * A file containing the customer communication from the company (An image).
831
+ * A file upload containing evidence of customer communication. Must be a JPEG,
832
+ * PNG, GIF, or PDF.
779
833
  */
780
834
  export interface CustomerCommunicationAttachment {
781
835
  /**
@@ -785,7 +839,7 @@ export namespace DisputeUpdateEvidenceParams {
785
839
  }
786
840
 
787
841
  /**
788
- * A file containing the refund policy from the company.
842
+ * A file upload containing the company's refund policy document.
789
843
  */
790
844
  export interface RefundPolicyAttachment {
791
845
  /**
@@ -795,7 +849,7 @@ export namespace DisputeUpdateEvidenceParams {
795
849
  }
796
850
 
797
851
  /**
798
- * A file that does not fit in the other categories.
852
+ * A file upload for evidence that does not fit into the other categories.
799
853
  */
800
854
  export interface UncategorizedAttachment {
801
855
  /**