@whop/sdk 0.0.39 → 0.0.40
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.
- package/CHANGELOG.md +19 -0
- package/client.d.mts +88 -40
- package/client.d.mts.map +1 -1
- package/client.d.ts +88 -40
- package/client.d.ts.map +1 -1
- package/client.js +59 -0
- package/client.js.map +1 -1
- package/client.mjs +59 -0
- package/client.mjs.map +1 -1
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +15 -9
- package/resources/accounts.d.mts +244 -0
- package/resources/accounts.d.mts.map +1 -0
- package/resources/accounts.d.ts +244 -0
- package/resources/accounts.d.ts.map +1 -0
- package/resources/accounts.js +46 -0
- package/resources/accounts.js.map +1 -0
- package/resources/accounts.mjs +42 -0
- package/resources/accounts.mjs.map +1 -0
- package/resources/ad-campaigns.d.mts +296 -0
- package/resources/ad-campaigns.d.mts.map +1 -0
- package/resources/ad-campaigns.d.ts +296 -0
- package/resources/ad-campaigns.d.ts.map +1 -0
- package/resources/ad-campaigns.js +104 -0
- package/resources/ad-campaigns.js.map +1 -0
- package/resources/ad-campaigns.mjs +100 -0
- package/resources/ad-campaigns.mjs.map +1 -0
- package/resources/ad-groups.d.mts +1461 -0
- package/resources/ad-groups.d.mts.map +1 -0
- package/resources/ad-groups.d.ts +1461 -0
- package/resources/ad-groups.d.ts.map +1 -0
- package/resources/ad-groups.js +121 -0
- package/resources/ad-groups.js.map +1 -0
- package/resources/ad-groups.mjs +117 -0
- package/resources/ad-groups.mjs.map +1 -0
- package/resources/ad-reports.d.mts +379 -0
- package/resources/ad-reports.d.mts.map +1 -0
- package/resources/ad-reports.d.ts +379 -0
- package/resources/ad-reports.d.ts.map +1 -0
- package/resources/ad-reports.js +26 -0
- package/resources/ad-reports.js.map +1 -0
- package/resources/ad-reports.mjs +22 -0
- package/resources/ad-reports.mjs.map +1 -0
- package/resources/ads.d.mts +234 -0
- package/resources/ads.d.mts.map +1 -0
- package/resources/ads.d.ts +234 -0
- package/resources/ads.d.ts.map +1 -0
- package/resources/ads.js +56 -0
- package/resources/ads.js.map +1 -0
- package/resources/ads.mjs +52 -0
- package/resources/ads.mjs.map +1 -0
- package/resources/affiliates/affiliates.d.mts +31 -31
- package/resources/affiliates/affiliates.d.mts.map +1 -1
- package/resources/affiliates/affiliates.d.ts +31 -31
- package/resources/affiliates/affiliates.d.ts.map +1 -1
- package/resources/affiliates/affiliates.js +21 -21
- package/resources/affiliates/affiliates.js.map +1 -1
- package/resources/affiliates/affiliates.mjs +21 -21
- package/resources/affiliates/affiliates.mjs.map +1 -1
- package/resources/affiliates/index.d.mts +2 -2
- package/resources/affiliates/index.d.mts.map +1 -1
- package/resources/affiliates/index.d.ts +2 -2
- package/resources/affiliates/index.d.ts.map +1 -1
- package/resources/affiliates/overrides.d.mts +37 -37
- package/resources/affiliates/overrides.d.mts.map +1 -1
- package/resources/affiliates/overrides.d.ts +37 -37
- package/resources/affiliates/overrides.d.ts.map +1 -1
- package/resources/affiliates/overrides.js +23 -23
- package/resources/affiliates/overrides.js.map +1 -1
- package/resources/affiliates/overrides.mjs +23 -23
- package/resources/affiliates/overrides.mjs.map +1 -1
- package/resources/ai-chats.d.mts +23 -23
- package/resources/ai-chats.d.mts.map +1 -1
- package/resources/ai-chats.d.ts +23 -23
- package/resources/ai-chats.d.ts.map +1 -1
- package/resources/ai-chats.js +6 -6
- package/resources/ai-chats.js.map +1 -1
- package/resources/ai-chats.mjs +6 -6
- package/resources/ai-chats.mjs.map +1 -1
- package/resources/app-builds.d.mts +54 -54
- package/resources/app-builds.d.mts.map +1 -1
- package/resources/app-builds.d.ts +54 -54
- package/resources/app-builds.d.ts.map +1 -1
- package/resources/app-builds.js +21 -21
- package/resources/app-builds.js.map +1 -1
- package/resources/app-builds.mjs +21 -21
- package/resources/app-builds.mjs.map +1 -1
- package/resources/apps.d.mts +57 -57
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +57 -57
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +15 -15
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +15 -15
- package/resources/apps.mjs.map +1 -1
- package/resources/authorized-users.d.mts +36 -36
- package/resources/authorized-users.d.mts.map +1 -1
- package/resources/authorized-users.d.ts +36 -36
- package/resources/authorized-users.d.ts.map +1 -1
- package/resources/authorized-users.js +21 -21
- package/resources/authorized-users.js.map +1 -1
- package/resources/authorized-users.mjs +21 -21
- package/resources/authorized-users.mjs.map +1 -1
- package/resources/bounties.d.mts +281 -0
- package/resources/bounties.d.mts.map +1 -0
- package/resources/bounties.d.ts +281 -0
- package/resources/bounties.d.ts.map +1 -0
- package/resources/bounties.js +63 -0
- package/resources/bounties.js.map +1 -0
- package/resources/bounties.mjs +59 -0
- package/resources/bounties.mjs.map +1 -0
- package/resources/chat-channels.d.mts +43 -43
- package/resources/chat-channels.d.mts.map +1 -1
- package/resources/chat-channels.d.ts +43 -43
- package/resources/chat-channels.d.ts.map +1 -1
- package/resources/chat-channels.js +24 -24
- package/resources/chat-channels.js.map +1 -1
- package/resources/chat-channels.mjs +24 -24
- package/resources/chat-channels.mjs.map +1 -1
- package/resources/checkout-configurations.d.mts +73 -45
- package/resources/checkout-configurations.d.mts.map +1 -1
- package/resources/checkout-configurations.d.ts +73 -45
- package/resources/checkout-configurations.d.ts.map +1 -1
- package/resources/checkout-configurations.js +11 -11
- package/resources/checkout-configurations.js.map +1 -1
- package/resources/checkout-configurations.mjs +11 -11
- package/resources/checkout-configurations.mjs.map +1 -1
- package/resources/companies.d.mts +98 -35
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +98 -35
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.js +24 -17
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +24 -17
- package/resources/companies.mjs.map +1 -1
- package/resources/company-token-transactions.d.mts +39 -39
- package/resources/company-token-transactions.d.mts.map +1 -1
- package/resources/company-token-transactions.d.ts +39 -39
- package/resources/company-token-transactions.d.ts.map +1 -1
- package/resources/company-token-transactions.js +14 -14
- package/resources/company-token-transactions.js.map +1 -1
- package/resources/company-token-transactions.mjs +14 -14
- package/resources/company-token-transactions.mjs.map +1 -1
- package/resources/conversions.d.mts +248 -0
- package/resources/conversions.d.mts.map +1 -0
- package/resources/conversions.d.ts +248 -0
- package/resources/conversions.d.ts.map +1 -0
- package/resources/conversions.js +30 -0
- package/resources/conversions.js.map +1 -0
- package/resources/conversions.mjs +26 -0
- package/resources/conversions.mjs.map +1 -0
- package/resources/course-chapters.d.mts +36 -36
- package/resources/course-chapters.d.mts.map +1 -1
- package/resources/course-chapters.d.ts +36 -36
- package/resources/course-chapters.d.ts.map +1 -1
- package/resources/course-chapters.js +23 -23
- package/resources/course-chapters.js.map +1 -1
- package/resources/course-chapters.mjs +23 -23
- package/resources/course-chapters.mjs.map +1 -1
- package/resources/course-lesson-interactions.d.mts +5 -5
- package/resources/course-lesson-interactions.d.mts.map +1 -1
- package/resources/course-lesson-interactions.d.ts +5 -5
- package/resources/course-lesson-interactions.d.ts.map +1 -1
- package/resources/course-lesson-interactions.js +7 -7
- package/resources/course-lesson-interactions.js.map +1 -1
- package/resources/course-lesson-interactions.mjs +7 -7
- package/resources/course-lesson-interactions.mjs.map +1 -1
- package/resources/course-lessons.d.mts +40 -40
- package/resources/course-lessons.d.mts.map +1 -1
- package/resources/course-lessons.d.ts +40 -40
- package/resources/course-lessons.d.ts.map +1 -1
- package/resources/course-lessons.js +22 -22
- package/resources/course-lessons.js.map +1 -1
- package/resources/course-lessons.mjs +22 -22
- package/resources/course-lessons.mjs.map +1 -1
- package/resources/course-students.d.mts +5 -5
- package/resources/course-students.d.mts.map +1 -1
- package/resources/course-students.d.ts +5 -5
- package/resources/course-students.d.ts.map +1 -1
- package/resources/course-students.js +10 -10
- package/resources/course-students.js.map +1 -1
- package/resources/course-students.mjs +10 -10
- package/resources/course-students.mjs.map +1 -1
- package/resources/courses.d.mts +40 -40
- package/resources/courses.d.mts.map +1 -1
- package/resources/courses.d.ts +40 -40
- package/resources/courses.d.ts.map +1 -1
- package/resources/courses.js +19 -19
- package/resources/courses.js.map +1 -1
- package/resources/courses.mjs +19 -19
- package/resources/courses.mjs.map +1 -1
- package/resources/deposits.d.mts +64 -0
- package/resources/deposits.d.mts.map +1 -0
- package/resources/deposits.d.ts +64 -0
- package/resources/deposits.d.ts.map +1 -0
- package/resources/deposits.js +16 -0
- package/resources/deposits.js.map +1 -0
- package/resources/deposits.mjs +12 -0
- package/resources/deposits.mjs.map +1 -0
- package/resources/dispute-alerts.d.mts +10 -10
- package/resources/dispute-alerts.d.mts.map +1 -1
- package/resources/dispute-alerts.d.ts +10 -10
- package/resources/dispute-alerts.d.ts.map +1 -1
- package/resources/dispute-alerts.js +13 -13
- package/resources/dispute-alerts.js.map +1 -1
- package/resources/dispute-alerts.mjs +13 -13
- package/resources/dispute-alerts.mjs.map +1 -1
- package/resources/disputes.d.mts +13 -15
- package/resources/disputes.d.mts.map +1 -1
- package/resources/disputes.d.ts +13 -15
- package/resources/disputes.d.ts.map +1 -1
- package/resources/disputes.js +11 -11
- package/resources/disputes.js.map +1 -1
- package/resources/disputes.mjs +11 -11
- package/resources/disputes.mjs.map +1 -1
- package/resources/dm-channels.d.mts +37 -37
- package/resources/dm-channels.d.mts.map +1 -1
- package/resources/dm-channels.d.ts +37 -37
- package/resources/dm-channels.d.ts.map +1 -1
- package/resources/dm-channels.js +19 -19
- package/resources/dm-channels.js.map +1 -1
- package/resources/dm-channels.mjs +19 -19
- package/resources/dm-channels.mjs.map +1 -1
- package/resources/dm-members.d.mts +38 -38
- package/resources/dm-members.d.mts.map +1 -1
- package/resources/dm-members.d.ts +38 -38
- package/resources/dm-members.d.ts.map +1 -1
- package/resources/dm-members.js +21 -21
- package/resources/dm-members.js.map +1 -1
- package/resources/dm-members.mjs +21 -21
- package/resources/dm-members.mjs.map +1 -1
- package/resources/entries.d.mts +5 -5
- package/resources/entries.d.mts.map +1 -1
- package/resources/entries.d.ts +5 -5
- package/resources/entries.d.ts.map +1 -1
- package/resources/entries.js +7 -7
- package/resources/entries.js.map +1 -1
- package/resources/entries.mjs +7 -7
- package/resources/entries.mjs.map +1 -1
- package/resources/experiences.d.mts +50 -50
- package/resources/experiences.d.mts.map +1 -1
- package/resources/experiences.d.ts +50 -50
- package/resources/experiences.d.ts.map +1 -1
- package/resources/experiences.js +17 -17
- package/resources/experiences.js.map +1 -1
- package/resources/experiences.mjs +17 -17
- package/resources/experiences.mjs.map +1 -1
- package/resources/fee-markups.d.mts +36 -36
- package/resources/fee-markups.d.mts.map +1 -1
- package/resources/fee-markups.d.ts +36 -36
- package/resources/fee-markups.d.ts.map +1 -1
- package/resources/fee-markups.js +18 -18
- package/resources/fee-markups.js.map +1 -1
- package/resources/fee-markups.mjs +18 -18
- package/resources/fee-markups.mjs.map +1 -1
- package/resources/files.d.mts +18 -1
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +18 -1
- package/resources/files.d.ts.map +1 -1
- package/resources/forum-posts.d.mts +52 -48
- package/resources/forum-posts.d.mts.map +1 -1
- package/resources/forum-posts.d.ts +52 -48
- package/resources/forum-posts.d.ts.map +1 -1
- package/resources/forum-posts.js +21 -21
- package/resources/forum-posts.js.map +1 -1
- package/resources/forum-posts.mjs +21 -21
- package/resources/forum-posts.mjs.map +1 -1
- package/resources/forums.d.mts +33 -33
- package/resources/forums.d.mts.map +1 -1
- package/resources/forums.d.ts +33 -33
- package/resources/forums.d.ts.map +1 -1
- package/resources/forums.js +11 -11
- package/resources/forums.js.map +1 -1
- package/resources/forums.mjs +11 -11
- package/resources/forums.mjs.map +1 -1
- package/resources/index.d.mts +45 -35
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +45 -35
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +22 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +10 -0
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.mts +86 -81
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +86 -81
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +40 -40
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +40 -40
- package/resources/invoices.mjs.map +1 -1
- package/resources/leads.d.mts +53 -53
- package/resources/leads.d.mts.map +1 -1
- package/resources/leads.d.ts +53 -53
- package/resources/leads.d.ts.map +1 -1
- package/resources/leads.js +24 -24
- package/resources/leads.js.map +1 -1
- package/resources/leads.mjs +24 -24
- package/resources/leads.mjs.map +1 -1
- package/resources/ledger-accounts.d.mts +34 -1
- package/resources/ledger-accounts.d.mts.map +1 -1
- package/resources/ledger-accounts.d.ts +34 -1
- package/resources/ledger-accounts.d.ts.map +1 -1
- package/resources/members.d.mts +9 -7
- package/resources/members.d.mts.map +1 -1
- package/resources/members.d.ts +9 -7
- package/resources/members.d.ts.map +1 -1
- package/resources/members.js +7 -7
- package/resources/members.js.map +1 -1
- package/resources/members.mjs +7 -7
- package/resources/members.mjs.map +1 -1
- package/resources/memberships.d.mts +61 -47
- package/resources/memberships.d.mts.map +1 -1
- package/resources/memberships.d.ts +61 -47
- package/resources/memberships.d.ts.map +1 -1
- package/resources/memberships.js +38 -38
- package/resources/memberships.js.map +1 -1
- package/resources/memberships.mjs +38 -38
- package/resources/memberships.mjs.map +1 -1
- package/resources/messages.d.mts +36 -36
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +36 -36
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +16 -16
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +16 -16
- package/resources/messages.mjs.map +1 -1
- package/resources/payment-methods.d.mts +20 -20
- package/resources/payment-methods.d.mts.map +1 -1
- package/resources/payment-methods.d.ts +20 -20
- package/resources/payment-methods.d.ts.map +1 -1
- package/resources/payment-methods.js +10 -10
- package/resources/payment-methods.js.map +1 -1
- package/resources/payment-methods.mjs +10 -10
- package/resources/payment-methods.mjs.map +1 -1
- package/resources/payments.d.mts +172 -145
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +172 -145
- package/resources/payments.d.ts.map +1 -1
- package/resources/payments.js +68 -68
- package/resources/payments.js.map +1 -1
- package/resources/payments.mjs +68 -68
- package/resources/payments.mjs.map +1 -1
- package/resources/payout-accounts.d.mts +1 -1
- package/resources/payout-accounts.d.ts +1 -1
- package/resources/payout-methods.d.mts +5 -5
- package/resources/payout-methods.d.mts.map +1 -1
- package/resources/payout-methods.d.ts +5 -5
- package/resources/payout-methods.d.ts.map +1 -1
- package/resources/payout-methods.js +10 -10
- package/resources/payout-methods.js.map +1 -1
- package/resources/payout-methods.mjs +10 -10
- package/resources/payout-methods.mjs.map +1 -1
- package/resources/plans.d.mts +128 -70
- package/resources/plans.d.mts.map +1 -1
- package/resources/plans.d.ts +128 -70
- package/resources/plans.d.ts.map +1 -1
- package/resources/plans.js +21 -21
- package/resources/plans.js.map +1 -1
- package/resources/plans.mjs +21 -21
- package/resources/plans.mjs.map +1 -1
- package/resources/products.d.mts +81 -65
- package/resources/products.d.mts.map +1 -1
- package/resources/products.d.ts +81 -65
- package/resources/products.d.ts.map +1 -1
- package/resources/products.js +25 -25
- package/resources/products.js.map +1 -1
- package/resources/products.mjs +25 -25
- package/resources/products.mjs.map +1 -1
- package/resources/promo-codes.d.mts +59 -59
- package/resources/promo-codes.d.mts.map +1 -1
- package/resources/promo-codes.d.ts +59 -59
- package/resources/promo-codes.d.ts.map +1 -1
- package/resources/promo-codes.js +22 -22
- package/resources/promo-codes.js.map +1 -1
- package/resources/promo-codes.mjs +22 -22
- package/resources/promo-codes.mjs.map +1 -1
- package/resources/reactions.d.mts +25 -25
- package/resources/reactions.d.mts.map +1 -1
- package/resources/reactions.d.ts +25 -25
- package/resources/reactions.d.ts.map +1 -1
- package/resources/reactions.js +11 -11
- package/resources/reactions.js.map +1 -1
- package/resources/reactions.mjs +11 -11
- package/resources/reactions.mjs.map +1 -1
- package/resources/refunds.d.mts +59 -10
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +59 -10
- package/resources/refunds.d.ts.map +1 -1
- package/resources/refunds.js +12 -10
- package/resources/refunds.js.map +1 -1
- package/resources/refunds.mjs +12 -10
- package/resources/refunds.mjs.map +1 -1
- package/resources/resolution-center-cases.d.mts +6 -6
- package/resources/resolution-center-cases.d.mts.map +1 -1
- package/resources/resolution-center-cases.d.ts +6 -6
- package/resources/resolution-center-cases.d.ts.map +1 -1
- package/resources/resolution-center-cases.js +10 -10
- package/resources/resolution-center-cases.js.map +1 -1
- package/resources/resolution-center-cases.mjs +10 -10
- package/resources/resolution-center-cases.mjs.map +1 -1
- package/resources/reviews.d.mts +4 -4
- package/resources/reviews.d.mts.map +1 -1
- package/resources/reviews.d.ts +4 -4
- package/resources/reviews.d.ts.map +1 -1
- package/resources/reviews.js +6 -6
- package/resources/reviews.js.map +1 -1
- package/resources/reviews.mjs +6 -6
- package/resources/reviews.mjs.map +1 -1
- package/resources/setup-intents.d.mts +6 -6
- package/resources/setup-intents.d.mts.map +1 -1
- package/resources/setup-intents.d.ts +6 -6
- package/resources/setup-intents.d.ts.map +1 -1
- package/resources/setup-intents.js +11 -11
- package/resources/setup-intents.js.map +1 -1
- package/resources/setup-intents.mjs +11 -11
- package/resources/setup-intents.mjs.map +1 -1
- package/resources/shared.d.mts +89 -6
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +89 -6
- package/resources/shared.d.ts.map +1 -1
- package/resources/shipments.d.mts +35 -35
- package/resources/shipments.d.mts.map +1 -1
- package/resources/shipments.d.ts +35 -35
- package/resources/shipments.d.ts.map +1 -1
- package/resources/shipments.js +20 -20
- package/resources/shipments.js.map +1 -1
- package/resources/shipments.mjs +20 -20
- package/resources/shipments.mjs.map +1 -1
- package/resources/support-channels.d.mts +35 -34
- package/resources/support-channels.d.mts.map +1 -1
- package/resources/support-channels.d.ts +35 -34
- package/resources/support-channels.d.ts.map +1 -1
- package/resources/support-channels.js +21 -21
- package/resources/support-channels.js.map +1 -1
- package/resources/support-channels.mjs +21 -21
- package/resources/support-channels.mjs.map +1 -1
- package/resources/swaps.d.mts +62 -0
- package/resources/swaps.d.mts.map +1 -0
- package/resources/swaps.d.ts +62 -0
- package/resources/swaps.d.ts.map +1 -0
- package/resources/swaps.js +15 -0
- package/resources/swaps.js.map +1 -0
- package/resources/swaps.mjs +11 -0
- package/resources/swaps.mjs.map +1 -0
- package/resources/transfers.d.mts +57 -55
- package/resources/transfers.d.mts.map +1 -1
- package/resources/transfers.d.ts +57 -55
- package/resources/transfers.d.ts.map +1 -1
- package/resources/transfers.js +19 -19
- package/resources/transfers.js.map +1 -1
- package/resources/transfers.mjs +19 -19
- package/resources/transfers.mjs.map +1 -1
- package/resources/users.d.mts +20 -20
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +20 -20
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +16 -16
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +16 -16
- package/resources/users.mjs.map +1 -1
- package/resources/verifications.d.mts +2 -2
- package/resources/verifications.d.ts +2 -2
- package/resources/wallets.d.mts +89 -0
- package/resources/wallets.d.mts.map +1 -0
- package/resources/wallets.d.ts +89 -0
- package/resources/wallets.d.ts.map +1 -0
- package/resources/wallets.js +28 -0
- package/resources/wallets.js.map +1 -0
- package/resources/wallets.mjs +24 -0
- package/resources/wallets.mjs.map +1 -0
- package/resources/webhooks.d.mts +2182 -1196
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +2182 -1196
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +31 -31
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +31 -31
- package/resources/webhooks.mjs.map +1 -1
- package/resources/withdrawals.d.mts +47 -47
- package/resources/withdrawals.d.mts.map +1 -1
- package/resources/withdrawals.d.ts +47 -47
- package/resources/withdrawals.d.ts.map +1 -1
- package/resources/withdrawals.js +21 -21
- package/resources/withdrawals.js.map +1 -1
- package/resources/withdrawals.mjs +21 -21
- package/resources/withdrawals.mjs.map +1 -1
- package/src/client.ts +277 -60
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/accounts.ts +318 -0
- package/src/resources/ad-campaigns.ts +376 -0
- package/src/resources/ad-groups.ts +1958 -0
- package/src/resources/ad-reports.ts +484 -0
- package/src/resources/ads.ts +295 -0
- package/src/resources/affiliates/affiliates.ts +39 -39
- package/src/resources/affiliates/index.ts +2 -2
- package/src/resources/affiliates/overrides.ts +51 -51
- package/src/resources/ai-chats.ts +33 -33
- package/src/resources/app-builds.ts +68 -68
- package/src/resources/apps.ts +86 -86
- package/src/resources/authorized-users.ts +48 -48
- package/src/resources/bounties.ts +353 -0
- package/src/resources/chat-channels.ts +57 -57
- package/src/resources/checkout-configurations.ts +97 -63
- package/src/resources/companies.ts +123 -41
- package/src/resources/company-token-transactions.ts +55 -55
- package/src/resources/conversions.ts +316 -0
- package/src/resources/course-chapters.ts +47 -47
- package/src/resources/course-lesson-interactions.ts +12 -12
- package/src/resources/course-lessons.ts +54 -54
- package/src/resources/course-students.ts +12 -12
- package/src/resources/courses.ts +51 -51
- package/src/resources/deposits.ts +87 -0
- package/src/resources/dispute-alerts.ts +18 -18
- package/src/resources/disputes.ts +18 -20
- package/src/resources/dm-channels.ts +45 -45
- package/src/resources/dm-members.ts +45 -45
- package/src/resources/entries.ts +10 -10
- package/src/resources/experiences.ts +64 -64
- package/src/resources/fee-markups.ts +44 -44
- package/src/resources/files.ts +23 -1
- package/src/resources/forum-posts.ts +65 -60
- package/src/resources/forums.ts +44 -44
- package/src/resources/index.ts +129 -57
- package/src/resources/invoices.ts +113 -107
- package/src/resources/leads.ts +64 -64
- package/src/resources/ledger-accounts.ts +41 -1
- package/src/resources/members.ts +14 -12
- package/src/resources/memberships.ts +73 -61
- package/src/resources/messages.ts +48 -48
- package/src/resources/payment-methods.ts +30 -30
- package/src/resources/payments.ts +222 -183
- package/src/resources/payout-accounts.ts +1 -1
- package/src/resources/payout-methods.ts +11 -11
- package/src/resources/plans.ts +151 -88
- package/src/resources/products.ts +98 -84
- package/src/resources/promo-codes.ts +74 -74
- package/src/resources/reactions.ts +33 -33
- package/src/resources/refunds.ts +65 -15
- package/src/resources/resolution-center-cases.ts +11 -12
- package/src/resources/reviews.ts +7 -7
- package/src/resources/setup-intents.ts +13 -13
- package/src/resources/shared.ts +94 -5
- package/src/resources/shipments.ts +44 -44
- package/src/resources/support-channels.ts +46 -45
- package/src/resources/swaps.ts +87 -0
- package/src/resources/transfers.ts +68 -66
- package/src/resources/users.ts +29 -29
- package/src/resources/verifications.ts +2 -2
- package/src/resources/wallets.ts +136 -0
- package/src/resources/webhooks.ts +2449 -1277
- package/src/resources/withdrawals.ts +55 -55
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/plans.d.mts
CHANGED
|
@@ -9,6 +9,25 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
9
9
|
* Plans
|
|
10
10
|
*/
|
|
11
11
|
export declare class Plans extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Returns a paginated list of plans belonging to a company, with optional
|
|
14
|
+
* filtering by visibility, type, release method, and product.
|
|
15
|
+
*
|
|
16
|
+
* Required permissions:
|
|
17
|
+
*
|
|
18
|
+
* - `plan:basic:read`
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* // Automatically fetches more pages as needed.
|
|
23
|
+
* for await (const planListResponse of client.plans.list({
|
|
24
|
+
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
25
|
+
* })) {
|
|
26
|
+
* // ...
|
|
27
|
+
* }
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
list(query: PlanListParams, options?: RequestOptions): PagePromise<PlanListResponsesCursorPage, PlanListResponse>;
|
|
12
31
|
/**
|
|
13
32
|
* Create a new pricing plan for a product. The plan defines the billing interval,
|
|
14
33
|
* price, and availability for customers.
|
|
@@ -61,25 +80,6 @@ export declare class Plans extends APIResource {
|
|
|
61
80
|
* ```
|
|
62
81
|
*/
|
|
63
82
|
update(id: string, body?: PlanUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Shared.Plan>;
|
|
64
|
-
/**
|
|
65
|
-
* Returns a paginated list of plans belonging to a company, with optional
|
|
66
|
-
* filtering by visibility, type, release method, and product.
|
|
67
|
-
*
|
|
68
|
-
* Required permissions:
|
|
69
|
-
*
|
|
70
|
-
* - `plan:basic:read`
|
|
71
|
-
*
|
|
72
|
-
* @example
|
|
73
|
-
* ```ts
|
|
74
|
-
* // Automatically fetches more pages as needed.
|
|
75
|
-
* for await (const planListResponse of client.plans.list({
|
|
76
|
-
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
77
|
-
* })) {
|
|
78
|
-
* // ...
|
|
79
|
-
* }
|
|
80
|
-
* ```
|
|
81
|
-
*/
|
|
82
|
-
list(query: PlanListParams, options?: RequestOptions): PagePromise<PlanListResponsesCursorPage, PlanListResponse>;
|
|
83
83
|
/**
|
|
84
84
|
* Permanently delete a plan from a product. Existing memberships on this plan will
|
|
85
85
|
* not be affected.
|
|
@@ -116,6 +116,11 @@ export interface PlanListResponse {
|
|
|
116
116
|
* The unique identifier for the plan.
|
|
117
117
|
*/
|
|
118
118
|
id: string;
|
|
119
|
+
/**
|
|
120
|
+
* Whether the creator has turned on adaptive pricing for this plan. Raw setting —
|
|
121
|
+
* does not check processor compatibility or feature flags.
|
|
122
|
+
*/
|
|
123
|
+
adaptive_pricing_enabled: boolean;
|
|
119
124
|
/**
|
|
120
125
|
* The number of days between each recurring charge. Null for one-time plans. For
|
|
121
126
|
* example, 30 for monthly or 365 for annual billing.
|
|
@@ -166,6 +171,13 @@ export interface PlanListResponse {
|
|
|
166
171
|
* Only visible to authorized team members.
|
|
167
172
|
*/
|
|
168
173
|
member_count: number | null;
|
|
174
|
+
/**
|
|
175
|
+
* Custom key-value pairs stored on the plan. Included in webhook payloads for
|
|
176
|
+
* payment and membership events.
|
|
177
|
+
*/
|
|
178
|
+
metadata: {
|
|
179
|
+
[key: string]: unknown;
|
|
180
|
+
} | null;
|
|
169
181
|
/**
|
|
170
182
|
* The explicit payment method configuration specifying which payment methods are
|
|
171
183
|
* enabled or disabled for this plan. Null if the plan uses default settings.
|
|
@@ -206,6 +218,10 @@ export interface PlanListResponse {
|
|
|
206
218
|
* members. Null if the requester lacks permission.
|
|
207
219
|
*/
|
|
208
220
|
stock: number | null;
|
|
221
|
+
/**
|
|
222
|
+
* The 3D Secure behavior for a plan.
|
|
223
|
+
*/
|
|
224
|
+
three_ds_level: 'mandate_challenge' | 'frictionless' | null;
|
|
209
225
|
/**
|
|
210
226
|
* The display name of the plan shown to customers on the product page and at
|
|
211
227
|
* checkout. Maximum 30 characters. Null if no title has been set.
|
|
@@ -301,6 +317,56 @@ export declare namespace PlanListResponse {
|
|
|
301
317
|
* Represents `true` or `false` values.
|
|
302
318
|
*/
|
|
303
319
|
export type PlanDeleteResponse = boolean;
|
|
320
|
+
export interface PlanListParams extends CursorPageParams {
|
|
321
|
+
/**
|
|
322
|
+
* The unique identifier of the company to list plans for.
|
|
323
|
+
*/
|
|
324
|
+
company_id: string;
|
|
325
|
+
/**
|
|
326
|
+
* Returns the elements in the list that come before the specified cursor.
|
|
327
|
+
*/
|
|
328
|
+
before?: string | null;
|
|
329
|
+
/**
|
|
330
|
+
* Only return plans created after this timestamp.
|
|
331
|
+
*/
|
|
332
|
+
created_after?: string | null;
|
|
333
|
+
/**
|
|
334
|
+
* Only return plans created before this timestamp.
|
|
335
|
+
*/
|
|
336
|
+
created_before?: string | null;
|
|
337
|
+
/**
|
|
338
|
+
* The direction of the sort.
|
|
339
|
+
*/
|
|
340
|
+
direction?: Shared.Direction | null;
|
|
341
|
+
/**
|
|
342
|
+
* Returns the first _n_ elements from the list.
|
|
343
|
+
*/
|
|
344
|
+
first?: number | null;
|
|
345
|
+
/**
|
|
346
|
+
* Returns the last _n_ elements from the list.
|
|
347
|
+
*/
|
|
348
|
+
last?: number | null;
|
|
349
|
+
/**
|
|
350
|
+
* The ways a relation of Plans can be ordered
|
|
351
|
+
*/
|
|
352
|
+
order?: 'id' | 'active_members_count' | 'created_at' | 'internal_notes' | 'expires_at' | null;
|
|
353
|
+
/**
|
|
354
|
+
* Filter to only plans matching these billing types.
|
|
355
|
+
*/
|
|
356
|
+
plan_types?: Array<Shared.PlanType> | null;
|
|
357
|
+
/**
|
|
358
|
+
* Filter to only plans belonging to these product identifiers.
|
|
359
|
+
*/
|
|
360
|
+
product_ids?: Array<string> | null;
|
|
361
|
+
/**
|
|
362
|
+
* Filter to only plans matching these release methods.
|
|
363
|
+
*/
|
|
364
|
+
release_methods?: Array<Shared.ReleaseMethod> | null;
|
|
365
|
+
/**
|
|
366
|
+
* Filter to only plans matching these visibility states.
|
|
367
|
+
*/
|
|
368
|
+
visibilities?: Array<Shared.VisibilityFilter> | null;
|
|
369
|
+
}
|
|
304
370
|
export interface PlanCreateParams {
|
|
305
371
|
/**
|
|
306
372
|
* The unique identifier of the company to create this plan for.
|
|
@@ -310,6 +376,10 @@ export interface PlanCreateParams {
|
|
|
310
376
|
* The unique identifier of the product to attach this plan to.
|
|
311
377
|
*/
|
|
312
378
|
product_id: string;
|
|
379
|
+
/**
|
|
380
|
+
* Whether this plan accepts local currency payments via adaptive pricing.
|
|
381
|
+
*/
|
|
382
|
+
adaptive_pricing_enabled?: boolean | null;
|
|
313
383
|
/**
|
|
314
384
|
* The number of days between recurring charges. For example, 30 for monthly or 365
|
|
315
385
|
* for yearly.
|
|
@@ -355,6 +425,14 @@ export interface PlanCreateParams {
|
|
|
355
425
|
* Whether this plan uses legacy payment method controls.
|
|
356
426
|
*/
|
|
357
427
|
legacy_payment_method_controls?: boolean | null;
|
|
428
|
+
/**
|
|
429
|
+
* Custom key-value pairs to store on the plan. Included in webhook payloads for
|
|
430
|
+
* payment and membership events. Max 50 keys, 500 chars per key, 5000 chars per
|
|
431
|
+
* value.
|
|
432
|
+
*/
|
|
433
|
+
metadata?: {
|
|
434
|
+
[key: string]: unknown;
|
|
435
|
+
} | null;
|
|
358
436
|
/**
|
|
359
437
|
* Whether or not the tax is included in a plan's price (or if it hasn't been set
|
|
360
438
|
* up)
|
|
@@ -387,6 +465,10 @@ export interface PlanCreateParams {
|
|
|
387
465
|
* is true.
|
|
388
466
|
*/
|
|
389
467
|
stock?: number | null;
|
|
468
|
+
/**
|
|
469
|
+
* The 3D Secure behavior for a plan.
|
|
470
|
+
*/
|
|
471
|
+
three_ds_level?: 'mandate_challenge' | 'frictionless' | null;
|
|
390
472
|
/**
|
|
391
473
|
* The display name of the plan shown to customers on the product page.
|
|
392
474
|
*/
|
|
@@ -411,6 +493,11 @@ export declare namespace PlanCreateParams {
|
|
|
411
493
|
* default.
|
|
412
494
|
*/
|
|
413
495
|
interface CheckoutStyling {
|
|
496
|
+
/**
|
|
497
|
+
* A hex color code for the checkout page background, applied to the order summary
|
|
498
|
+
* panel (e.g. #F4F4F5).
|
|
499
|
+
*/
|
|
500
|
+
background_color?: string | null;
|
|
414
501
|
/**
|
|
415
502
|
* The different border-radius styles available for checkout pages.
|
|
416
503
|
*/
|
|
@@ -485,6 +572,10 @@ export declare namespace PlanCreateParams {
|
|
|
485
572
|
}
|
|
486
573
|
}
|
|
487
574
|
export interface PlanUpdateParams {
|
|
575
|
+
/**
|
|
576
|
+
* Whether this plan accepts local currency payments via adaptive pricing.
|
|
577
|
+
*/
|
|
578
|
+
adaptive_pricing_enabled?: boolean | null;
|
|
488
579
|
/**
|
|
489
580
|
* The number of days between recurring charges. For example, 30 for monthly or 365
|
|
490
581
|
* for yearly.
|
|
@@ -529,6 +620,14 @@ export interface PlanUpdateParams {
|
|
|
529
620
|
* Whether this plan uses legacy payment method controls.
|
|
530
621
|
*/
|
|
531
622
|
legacy_payment_method_controls?: boolean | null;
|
|
623
|
+
/**
|
|
624
|
+
* Custom key-value pairs to store on the plan. Included in webhook payloads for
|
|
625
|
+
* payment and membership events. Max 50 keys, 500 chars per key, 5000 chars per
|
|
626
|
+
* value.
|
|
627
|
+
*/
|
|
628
|
+
metadata?: {
|
|
629
|
+
[key: string]: unknown;
|
|
630
|
+
} | null;
|
|
532
631
|
/**
|
|
533
632
|
* Whether to offer a retention discount when a customer attempts to cancel.
|
|
534
633
|
*/
|
|
@@ -563,6 +662,10 @@ export interface PlanUpdateParams {
|
|
|
563
662
|
* Provided in the plan's currency (e.g., 19.99 for $19.99).
|
|
564
663
|
*/
|
|
565
664
|
strike_through_renewal_price?: number | null;
|
|
665
|
+
/**
|
|
666
|
+
* The 3D Secure behavior for a plan.
|
|
667
|
+
*/
|
|
668
|
+
three_ds_level?: 'mandate_challenge' | 'frictionless' | null;
|
|
566
669
|
/**
|
|
567
670
|
* The display name of the plan shown to customers on the product page.
|
|
568
671
|
*/
|
|
@@ -586,6 +689,11 @@ export declare namespace PlanUpdateParams {
|
|
|
586
689
|
* inherit from the company default.
|
|
587
690
|
*/
|
|
588
691
|
interface CheckoutStyling {
|
|
692
|
+
/**
|
|
693
|
+
* A hex color code for the checkout page background, applied to the order summary
|
|
694
|
+
* panel (e.g. #F4F4F5).
|
|
695
|
+
*/
|
|
696
|
+
background_color?: string | null;
|
|
589
697
|
/**
|
|
590
698
|
* The different border-radius styles available for checkout pages.
|
|
591
699
|
*/
|
|
@@ -659,57 +767,7 @@ export declare namespace PlanUpdateParams {
|
|
|
659
767
|
include_platform_defaults?: boolean | null;
|
|
660
768
|
}
|
|
661
769
|
}
|
|
662
|
-
export interface PlanListParams extends CursorPageParams {
|
|
663
|
-
/**
|
|
664
|
-
* The unique identifier of the company to list plans for.
|
|
665
|
-
*/
|
|
666
|
-
company_id: string;
|
|
667
|
-
/**
|
|
668
|
-
* Returns the elements in the list that come before the specified cursor.
|
|
669
|
-
*/
|
|
670
|
-
before?: string | null;
|
|
671
|
-
/**
|
|
672
|
-
* Only return plans created after this timestamp.
|
|
673
|
-
*/
|
|
674
|
-
created_after?: string | null;
|
|
675
|
-
/**
|
|
676
|
-
* Only return plans created before this timestamp.
|
|
677
|
-
*/
|
|
678
|
-
created_before?: string | null;
|
|
679
|
-
/**
|
|
680
|
-
* The direction of the sort.
|
|
681
|
-
*/
|
|
682
|
-
direction?: Shared.Direction | null;
|
|
683
|
-
/**
|
|
684
|
-
* Returns the first _n_ elements from the list.
|
|
685
|
-
*/
|
|
686
|
-
first?: number | null;
|
|
687
|
-
/**
|
|
688
|
-
* Returns the last _n_ elements from the list.
|
|
689
|
-
*/
|
|
690
|
-
last?: number | null;
|
|
691
|
-
/**
|
|
692
|
-
* The ways a relation of Plans can be ordered
|
|
693
|
-
*/
|
|
694
|
-
order?: 'id' | 'active_members_count' | 'created_at' | 'internal_notes' | 'expires_at' | null;
|
|
695
|
-
/**
|
|
696
|
-
* Filter to only plans matching these billing types.
|
|
697
|
-
*/
|
|
698
|
-
plan_types?: Array<Shared.PlanType> | null;
|
|
699
|
-
/**
|
|
700
|
-
* Filter to only plans belonging to these product identifiers.
|
|
701
|
-
*/
|
|
702
|
-
product_ids?: Array<string> | null;
|
|
703
|
-
/**
|
|
704
|
-
* Filter to only plans matching these release methods.
|
|
705
|
-
*/
|
|
706
|
-
release_methods?: Array<Shared.ReleaseMethod> | null;
|
|
707
|
-
/**
|
|
708
|
-
* Filter to only plans matching these visibility states.
|
|
709
|
-
*/
|
|
710
|
-
visibilities?: Array<Shared.VisibilityFilter> | null;
|
|
711
|
-
}
|
|
712
770
|
export declare namespace Plans {
|
|
713
|
-
export { type CheckoutFont as CheckoutFont, type CheckoutShape as CheckoutShape, type PlanListResponse as PlanListResponse, type PlanDeleteResponse as PlanDeleteResponse, type PlanListResponsesCursorPage as PlanListResponsesCursorPage, type
|
|
771
|
+
export { type CheckoutFont as CheckoutFont, type CheckoutShape as CheckoutShape, type PlanListResponse as PlanListResponse, type PlanDeleteResponse as PlanDeleteResponse, type PlanListResponsesCursorPage as PlanListResponsesCursorPage, type PlanListParams as PlanListParams, type PlanCreateParams as PlanCreateParams, type PlanUpdateParams as PlanUpdateParams, };
|
|
714
772
|
}
|
|
715
773
|
//# sourceMappingURL=plans.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plans.d.mts","sourceRoot":"","sources":["../src/resources/plans.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,WAAW;OAChB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;IAIjF;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;IAIvE;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;IAI1B
|
|
1
|
+
{"version":3,"file":"plans.d.mts","sourceRoot":"","sources":["../src/resources/plans.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KA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E,KAAK,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;QAE/C;;;;WAIG;QACH,yBAAyB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KAC5C;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
package/resources/plans.d.ts
CHANGED
|
@@ -9,6 +9,25 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
9
9
|
* Plans
|
|
10
10
|
*/
|
|
11
11
|
export declare class Plans extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Returns a paginated list of plans belonging to a company, with optional
|
|
14
|
+
* filtering by visibility, type, release method, and product.
|
|
15
|
+
*
|
|
16
|
+
* Required permissions:
|
|
17
|
+
*
|
|
18
|
+
* - `plan:basic:read`
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* // Automatically fetches more pages as needed.
|
|
23
|
+
* for await (const planListResponse of client.plans.list({
|
|
24
|
+
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
25
|
+
* })) {
|
|
26
|
+
* // ...
|
|
27
|
+
* }
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
list(query: PlanListParams, options?: RequestOptions): PagePromise<PlanListResponsesCursorPage, PlanListResponse>;
|
|
12
31
|
/**
|
|
13
32
|
* Create a new pricing plan for a product. The plan defines the billing interval,
|
|
14
33
|
* price, and availability for customers.
|
|
@@ -61,25 +80,6 @@ export declare class Plans extends APIResource {
|
|
|
61
80
|
* ```
|
|
62
81
|
*/
|
|
63
82
|
update(id: string, body?: PlanUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Shared.Plan>;
|
|
64
|
-
/**
|
|
65
|
-
* Returns a paginated list of plans belonging to a company, with optional
|
|
66
|
-
* filtering by visibility, type, release method, and product.
|
|
67
|
-
*
|
|
68
|
-
* Required permissions:
|
|
69
|
-
*
|
|
70
|
-
* - `plan:basic:read`
|
|
71
|
-
*
|
|
72
|
-
* @example
|
|
73
|
-
* ```ts
|
|
74
|
-
* // Automatically fetches more pages as needed.
|
|
75
|
-
* for await (const planListResponse of client.plans.list({
|
|
76
|
-
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
77
|
-
* })) {
|
|
78
|
-
* // ...
|
|
79
|
-
* }
|
|
80
|
-
* ```
|
|
81
|
-
*/
|
|
82
|
-
list(query: PlanListParams, options?: RequestOptions): PagePromise<PlanListResponsesCursorPage, PlanListResponse>;
|
|
83
83
|
/**
|
|
84
84
|
* Permanently delete a plan from a product. Existing memberships on this plan will
|
|
85
85
|
* not be affected.
|
|
@@ -116,6 +116,11 @@ export interface PlanListResponse {
|
|
|
116
116
|
* The unique identifier for the plan.
|
|
117
117
|
*/
|
|
118
118
|
id: string;
|
|
119
|
+
/**
|
|
120
|
+
* Whether the creator has turned on adaptive pricing for this plan. Raw setting —
|
|
121
|
+
* does not check processor compatibility or feature flags.
|
|
122
|
+
*/
|
|
123
|
+
adaptive_pricing_enabled: boolean;
|
|
119
124
|
/**
|
|
120
125
|
* The number of days between each recurring charge. Null for one-time plans. For
|
|
121
126
|
* example, 30 for monthly or 365 for annual billing.
|
|
@@ -166,6 +171,13 @@ export interface PlanListResponse {
|
|
|
166
171
|
* Only visible to authorized team members.
|
|
167
172
|
*/
|
|
168
173
|
member_count: number | null;
|
|
174
|
+
/**
|
|
175
|
+
* Custom key-value pairs stored on the plan. Included in webhook payloads for
|
|
176
|
+
* payment and membership events.
|
|
177
|
+
*/
|
|
178
|
+
metadata: {
|
|
179
|
+
[key: string]: unknown;
|
|
180
|
+
} | null;
|
|
169
181
|
/**
|
|
170
182
|
* The explicit payment method configuration specifying which payment methods are
|
|
171
183
|
* enabled or disabled for this plan. Null if the plan uses default settings.
|
|
@@ -206,6 +218,10 @@ export interface PlanListResponse {
|
|
|
206
218
|
* members. Null if the requester lacks permission.
|
|
207
219
|
*/
|
|
208
220
|
stock: number | null;
|
|
221
|
+
/**
|
|
222
|
+
* The 3D Secure behavior for a plan.
|
|
223
|
+
*/
|
|
224
|
+
three_ds_level: 'mandate_challenge' | 'frictionless' | null;
|
|
209
225
|
/**
|
|
210
226
|
* The display name of the plan shown to customers on the product page and at
|
|
211
227
|
* checkout. Maximum 30 characters. Null if no title has been set.
|
|
@@ -301,6 +317,56 @@ export declare namespace PlanListResponse {
|
|
|
301
317
|
* Represents `true` or `false` values.
|
|
302
318
|
*/
|
|
303
319
|
export type PlanDeleteResponse = boolean;
|
|
320
|
+
export interface PlanListParams extends CursorPageParams {
|
|
321
|
+
/**
|
|
322
|
+
* The unique identifier of the company to list plans for.
|
|
323
|
+
*/
|
|
324
|
+
company_id: string;
|
|
325
|
+
/**
|
|
326
|
+
* Returns the elements in the list that come before the specified cursor.
|
|
327
|
+
*/
|
|
328
|
+
before?: string | null;
|
|
329
|
+
/**
|
|
330
|
+
* Only return plans created after this timestamp.
|
|
331
|
+
*/
|
|
332
|
+
created_after?: string | null;
|
|
333
|
+
/**
|
|
334
|
+
* Only return plans created before this timestamp.
|
|
335
|
+
*/
|
|
336
|
+
created_before?: string | null;
|
|
337
|
+
/**
|
|
338
|
+
* The direction of the sort.
|
|
339
|
+
*/
|
|
340
|
+
direction?: Shared.Direction | null;
|
|
341
|
+
/**
|
|
342
|
+
* Returns the first _n_ elements from the list.
|
|
343
|
+
*/
|
|
344
|
+
first?: number | null;
|
|
345
|
+
/**
|
|
346
|
+
* Returns the last _n_ elements from the list.
|
|
347
|
+
*/
|
|
348
|
+
last?: number | null;
|
|
349
|
+
/**
|
|
350
|
+
* The ways a relation of Plans can be ordered
|
|
351
|
+
*/
|
|
352
|
+
order?: 'id' | 'active_members_count' | 'created_at' | 'internal_notes' | 'expires_at' | null;
|
|
353
|
+
/**
|
|
354
|
+
* Filter to only plans matching these billing types.
|
|
355
|
+
*/
|
|
356
|
+
plan_types?: Array<Shared.PlanType> | null;
|
|
357
|
+
/**
|
|
358
|
+
* Filter to only plans belonging to these product identifiers.
|
|
359
|
+
*/
|
|
360
|
+
product_ids?: Array<string> | null;
|
|
361
|
+
/**
|
|
362
|
+
* Filter to only plans matching these release methods.
|
|
363
|
+
*/
|
|
364
|
+
release_methods?: Array<Shared.ReleaseMethod> | null;
|
|
365
|
+
/**
|
|
366
|
+
* Filter to only plans matching these visibility states.
|
|
367
|
+
*/
|
|
368
|
+
visibilities?: Array<Shared.VisibilityFilter> | null;
|
|
369
|
+
}
|
|
304
370
|
export interface PlanCreateParams {
|
|
305
371
|
/**
|
|
306
372
|
* The unique identifier of the company to create this plan for.
|
|
@@ -310,6 +376,10 @@ export interface PlanCreateParams {
|
|
|
310
376
|
* The unique identifier of the product to attach this plan to.
|
|
311
377
|
*/
|
|
312
378
|
product_id: string;
|
|
379
|
+
/**
|
|
380
|
+
* Whether this plan accepts local currency payments via adaptive pricing.
|
|
381
|
+
*/
|
|
382
|
+
adaptive_pricing_enabled?: boolean | null;
|
|
313
383
|
/**
|
|
314
384
|
* The number of days between recurring charges. For example, 30 for monthly or 365
|
|
315
385
|
* for yearly.
|
|
@@ -355,6 +425,14 @@ export interface PlanCreateParams {
|
|
|
355
425
|
* Whether this plan uses legacy payment method controls.
|
|
356
426
|
*/
|
|
357
427
|
legacy_payment_method_controls?: boolean | null;
|
|
428
|
+
/**
|
|
429
|
+
* Custom key-value pairs to store on the plan. Included in webhook payloads for
|
|
430
|
+
* payment and membership events. Max 50 keys, 500 chars per key, 5000 chars per
|
|
431
|
+
* value.
|
|
432
|
+
*/
|
|
433
|
+
metadata?: {
|
|
434
|
+
[key: string]: unknown;
|
|
435
|
+
} | null;
|
|
358
436
|
/**
|
|
359
437
|
* Whether or not the tax is included in a plan's price (or if it hasn't been set
|
|
360
438
|
* up)
|
|
@@ -387,6 +465,10 @@ export interface PlanCreateParams {
|
|
|
387
465
|
* is true.
|
|
388
466
|
*/
|
|
389
467
|
stock?: number | null;
|
|
468
|
+
/**
|
|
469
|
+
* The 3D Secure behavior for a plan.
|
|
470
|
+
*/
|
|
471
|
+
three_ds_level?: 'mandate_challenge' | 'frictionless' | null;
|
|
390
472
|
/**
|
|
391
473
|
* The display name of the plan shown to customers on the product page.
|
|
392
474
|
*/
|
|
@@ -411,6 +493,11 @@ export declare namespace PlanCreateParams {
|
|
|
411
493
|
* default.
|
|
412
494
|
*/
|
|
413
495
|
interface CheckoutStyling {
|
|
496
|
+
/**
|
|
497
|
+
* A hex color code for the checkout page background, applied to the order summary
|
|
498
|
+
* panel (e.g. #F4F4F5).
|
|
499
|
+
*/
|
|
500
|
+
background_color?: string | null;
|
|
414
501
|
/**
|
|
415
502
|
* The different border-radius styles available for checkout pages.
|
|
416
503
|
*/
|
|
@@ -485,6 +572,10 @@ export declare namespace PlanCreateParams {
|
|
|
485
572
|
}
|
|
486
573
|
}
|
|
487
574
|
export interface PlanUpdateParams {
|
|
575
|
+
/**
|
|
576
|
+
* Whether this plan accepts local currency payments via adaptive pricing.
|
|
577
|
+
*/
|
|
578
|
+
adaptive_pricing_enabled?: boolean | null;
|
|
488
579
|
/**
|
|
489
580
|
* The number of days between recurring charges. For example, 30 for monthly or 365
|
|
490
581
|
* for yearly.
|
|
@@ -529,6 +620,14 @@ export interface PlanUpdateParams {
|
|
|
529
620
|
* Whether this plan uses legacy payment method controls.
|
|
530
621
|
*/
|
|
531
622
|
legacy_payment_method_controls?: boolean | null;
|
|
623
|
+
/**
|
|
624
|
+
* Custom key-value pairs to store on the plan. Included in webhook payloads for
|
|
625
|
+
* payment and membership events. Max 50 keys, 500 chars per key, 5000 chars per
|
|
626
|
+
* value.
|
|
627
|
+
*/
|
|
628
|
+
metadata?: {
|
|
629
|
+
[key: string]: unknown;
|
|
630
|
+
} | null;
|
|
532
631
|
/**
|
|
533
632
|
* Whether to offer a retention discount when a customer attempts to cancel.
|
|
534
633
|
*/
|
|
@@ -563,6 +662,10 @@ export interface PlanUpdateParams {
|
|
|
563
662
|
* Provided in the plan's currency (e.g., 19.99 for $19.99).
|
|
564
663
|
*/
|
|
565
664
|
strike_through_renewal_price?: number | null;
|
|
665
|
+
/**
|
|
666
|
+
* The 3D Secure behavior for a plan.
|
|
667
|
+
*/
|
|
668
|
+
three_ds_level?: 'mandate_challenge' | 'frictionless' | null;
|
|
566
669
|
/**
|
|
567
670
|
* The display name of the plan shown to customers on the product page.
|
|
568
671
|
*/
|
|
@@ -586,6 +689,11 @@ export declare namespace PlanUpdateParams {
|
|
|
586
689
|
* inherit from the company default.
|
|
587
690
|
*/
|
|
588
691
|
interface CheckoutStyling {
|
|
692
|
+
/**
|
|
693
|
+
* A hex color code for the checkout page background, applied to the order summary
|
|
694
|
+
* panel (e.g. #F4F4F5).
|
|
695
|
+
*/
|
|
696
|
+
background_color?: string | null;
|
|
589
697
|
/**
|
|
590
698
|
* The different border-radius styles available for checkout pages.
|
|
591
699
|
*/
|
|
@@ -659,57 +767,7 @@ export declare namespace PlanUpdateParams {
|
|
|
659
767
|
include_platform_defaults?: boolean | null;
|
|
660
768
|
}
|
|
661
769
|
}
|
|
662
|
-
export interface PlanListParams extends CursorPageParams {
|
|
663
|
-
/**
|
|
664
|
-
* The unique identifier of the company to list plans for.
|
|
665
|
-
*/
|
|
666
|
-
company_id: string;
|
|
667
|
-
/**
|
|
668
|
-
* Returns the elements in the list that come before the specified cursor.
|
|
669
|
-
*/
|
|
670
|
-
before?: string | null;
|
|
671
|
-
/**
|
|
672
|
-
* Only return plans created after this timestamp.
|
|
673
|
-
*/
|
|
674
|
-
created_after?: string | null;
|
|
675
|
-
/**
|
|
676
|
-
* Only return plans created before this timestamp.
|
|
677
|
-
*/
|
|
678
|
-
created_before?: string | null;
|
|
679
|
-
/**
|
|
680
|
-
* The direction of the sort.
|
|
681
|
-
*/
|
|
682
|
-
direction?: Shared.Direction | null;
|
|
683
|
-
/**
|
|
684
|
-
* Returns the first _n_ elements from the list.
|
|
685
|
-
*/
|
|
686
|
-
first?: number | null;
|
|
687
|
-
/**
|
|
688
|
-
* Returns the last _n_ elements from the list.
|
|
689
|
-
*/
|
|
690
|
-
last?: number | null;
|
|
691
|
-
/**
|
|
692
|
-
* The ways a relation of Plans can be ordered
|
|
693
|
-
*/
|
|
694
|
-
order?: 'id' | 'active_members_count' | 'created_at' | 'internal_notes' | 'expires_at' | null;
|
|
695
|
-
/**
|
|
696
|
-
* Filter to only plans matching these billing types.
|
|
697
|
-
*/
|
|
698
|
-
plan_types?: Array<Shared.PlanType> | null;
|
|
699
|
-
/**
|
|
700
|
-
* Filter to only plans belonging to these product identifiers.
|
|
701
|
-
*/
|
|
702
|
-
product_ids?: Array<string> | null;
|
|
703
|
-
/**
|
|
704
|
-
* Filter to only plans matching these release methods.
|
|
705
|
-
*/
|
|
706
|
-
release_methods?: Array<Shared.ReleaseMethod> | null;
|
|
707
|
-
/**
|
|
708
|
-
* Filter to only plans matching these visibility states.
|
|
709
|
-
*/
|
|
710
|
-
visibilities?: Array<Shared.VisibilityFilter> | null;
|
|
711
|
-
}
|
|
712
770
|
export declare namespace Plans {
|
|
713
|
-
export { type CheckoutFont as CheckoutFont, type CheckoutShape as CheckoutShape, type PlanListResponse as PlanListResponse, type PlanDeleteResponse as PlanDeleteResponse, type PlanListResponsesCursorPage as PlanListResponsesCursorPage, type
|
|
771
|
+
export { type CheckoutFont as CheckoutFont, type CheckoutShape as CheckoutShape, type PlanListResponse as PlanListResponse, type PlanDeleteResponse as PlanDeleteResponse, type PlanListResponsesCursorPage as PlanListResponsesCursorPage, type PlanListParams as PlanListParams, type PlanCreateParams as PlanCreateParams, type PlanUpdateParams as PlanUpdateParams, };
|
|
714
772
|
}
|
|
715
773
|
//# sourceMappingURL=plans.d.ts.map
|
package/resources/plans.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plans.d.ts","sourceRoot":"","sources":["../src/resources/plans.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,WAAW;OAChB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;IAIjF;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;IAIvE;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;IAI1B
|
|
1
|
+
{"version":3,"file":"plans.d.ts","sourceRoot":"","sources":["../src/resources/plans.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,WAAW;OAChB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,KAAK,EAAE,cAAc,EACrB,OAAO,CAAC,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