@whop/sdk 0.0.12 → 0.0.14

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 (45) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/companies.d.mts +65 -3
  10. package/resources/companies.d.mts.map +1 -1
  11. package/resources/companies.d.ts +65 -3
  12. package/resources/companies.d.ts.map +1 -1
  13. package/resources/companies.js +13 -1
  14. package/resources/companies.js.map +1 -1
  15. package/resources/companies.mjs +13 -1
  16. package/resources/companies.mjs.map +1 -1
  17. package/resources/index.d.mts +1 -1
  18. package/resources/index.d.mts.map +1 -1
  19. package/resources/index.d.ts +1 -1
  20. package/resources/index.d.ts.map +1 -1
  21. package/resources/index.js.map +1 -1
  22. package/resources/index.mjs.map +1 -1
  23. package/resources/shared.d.mts +4 -0
  24. package/resources/shared.d.mts.map +1 -1
  25. package/resources/shared.d.ts +4 -0
  26. package/resources/shared.d.ts.map +1 -1
  27. package/resources/webhooks.d.mts +12 -0
  28. package/resources/webhooks.d.mts.map +1 -1
  29. package/resources/webhooks.d.ts +12 -0
  30. package/resources/webhooks.d.ts.map +1 -1
  31. package/resources/withdrawals.d.mts +12 -0
  32. package/resources/withdrawals.d.mts.map +1 -1
  33. package/resources/withdrawals.d.ts +12 -0
  34. package/resources/withdrawals.d.ts.map +1 -1
  35. package/src/client.ts +2 -0
  36. package/src/resources/companies.ts +82 -2
  37. package/src/resources/index.ts +1 -0
  38. package/src/resources/shared.ts +5 -0
  39. package/src/resources/webhooks.ts +14 -0
  40. package/src/resources/withdrawals.ts +14 -0
  41. package/src/version.ts +1 -1
  42. package/version.d.mts +1 -1
  43. package/version.d.ts +1 -1
  44. package/version.js +1 -1
  45. package/version.mjs +1 -1
@@ -164,6 +164,13 @@ export interface WithdrawalRetrieveResponse {
164
164
  */
165
165
  ledger_account: WithdrawalRetrieveResponse.LedgerAccount;
166
166
 
167
+ /**
168
+ * The markup fee that was charged for the withdrawal. This is in the same currency
169
+ * as the withdrawal amount. This only applies to platform accounts using Whop
170
+ * Rails.
171
+ */
172
+ markup_fee: number;
173
+
167
174
  /**
168
175
  * The payout token used for the withdrawal, if applicable.
169
176
  */
@@ -275,6 +282,13 @@ export interface WithdrawalListResponse {
275
282
  */
276
283
  fee_type: WithdrawalFeeTypes | null;
277
284
 
285
+ /**
286
+ * The markup fee that was charged for the withdrawal. This is in the same currency
287
+ * as the withdrawal amount. This only applies to platform accounts using Whop
288
+ * Rails.
289
+ */
290
+ markup_fee: number;
291
+
278
292
  /**
279
293
  * The speed of the withdrawal.
280
294
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.0.12'; // x-release-please-version
1
+ export const VERSION = '0.0.14'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.0.12";
1
+ export declare const VERSION = "0.0.14";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.0.12";
1
+ export declare const VERSION = "0.0.14";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.0.12'; // x-release-please-version
4
+ exports.VERSION = '0.0.14'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.0.12'; // x-release-please-version
1
+ export const VERSION = '0.0.14'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map