@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ledger-accounts.d.mts","sourceRoot":"","sources":["../src/resources/ledger-accounts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,iBAAiB;OACtB,KAAK,MAAM;OACX,KAAK,gBAAgB;OACrB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAG1F;AAED;;;GAGG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,EAAE,EAAE,MA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M,CAAC;QAEhB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC;QAE1B;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,0BAA0B,EAAE,MAAM,CAAC;KACpC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EAAE,KAAK,6BAA6B,IAAI,6BAA6B,EAAE,CAAC;CAChF"}
|
|
@@ -51,6 +51,10 @@ export interface LedgerAccountRetrieveResponse {
|
|
|
51
51
|
* The fee for transfers, if applicable.
|
|
52
52
|
*/
|
|
53
53
|
transfer_fee: number | null;
|
|
54
|
+
/**
|
|
55
|
+
* The balance cache associated with the account by currency.
|
|
56
|
+
*/
|
|
57
|
+
treasury_balance: LedgerAccountRetrieveResponse.TreasuryBalance | null;
|
|
54
58
|
}
|
|
55
59
|
export declare namespace LedgerAccountRetrieveResponse {
|
|
56
60
|
/**
|
|
@@ -213,7 +217,7 @@ export declare namespace LedgerAccountRetrieveResponse {
|
|
|
213
217
|
*/
|
|
214
218
|
interface LatestVerification {
|
|
215
219
|
/**
|
|
216
|
-
* The
|
|
220
|
+
* The numeric id of the verification record.
|
|
217
221
|
*/
|
|
218
222
|
id: string;
|
|
219
223
|
/**
|
|
@@ -231,6 +235,35 @@ export declare namespace LedgerAccountRetrieveResponse {
|
|
|
231
235
|
status: VerificationsAPI.VerificationStatus;
|
|
232
236
|
}
|
|
233
237
|
}
|
|
238
|
+
/**
|
|
239
|
+
* The balance cache associated with the account by currency.
|
|
240
|
+
*/
|
|
241
|
+
interface TreasuryBalance {
|
|
242
|
+
/**
|
|
243
|
+
* The amount of the balance.
|
|
244
|
+
*/
|
|
245
|
+
balance: number;
|
|
246
|
+
/**
|
|
247
|
+
* The balance converted to USD.
|
|
248
|
+
*/
|
|
249
|
+
balance_usd: number;
|
|
250
|
+
/**
|
|
251
|
+
* The currency of the balance.
|
|
252
|
+
*/
|
|
253
|
+
currency: Shared.Currency;
|
|
254
|
+
/**
|
|
255
|
+
* The amount of the balance that is pending.
|
|
256
|
+
*/
|
|
257
|
+
pending_balance: number;
|
|
258
|
+
/**
|
|
259
|
+
* The amount of the balance that is reserved.
|
|
260
|
+
*/
|
|
261
|
+
reserve_balance: number;
|
|
262
|
+
/**
|
|
263
|
+
* The amount of the balance that is withdrawable.
|
|
264
|
+
*/
|
|
265
|
+
total_withdrawable_balance: number;
|
|
266
|
+
}
|
|
234
267
|
}
|
|
235
268
|
export declare namespace LedgerAccounts {
|
|
236
269
|
export { type LedgerAccountRetrieveResponse as LedgerAccountRetrieveResponse };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ledger-accounts.d.ts","sourceRoot":"","sources":["../src/resources/ledger-accounts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,iBAAiB;OACtB,KAAK,MAAM;OACX,KAAK,gBAAgB;OACrB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAG1F;AAED;;;GAGG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC;IAEvD;;OAEG;IACH,WAAW,EAAE,SAAS,GAAG,MAAM,CAAC;IAEhC;;OAEG;IACH,KAAK,EAAE,6BAA6B,CAAC,IAAI,GAAG,IAAI,GAAG,6BAA6B,CAAC,OAAO,GAAG,IAAI,CAAC;IAEhG;;OAEG;IACH,wBAAwB,EAAE,SAAS,G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;IACtC,OAAO,EAAE,KAAK,6BAA6B,IAAI,6BAA6B,EAAE,CAAC;CAChF"}
|
package/resources/members.d.mts
CHANGED
|
@@ -8,7 +8,8 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class Members extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Returns a paginated list of members for a company, with extensive filtering by
|
|
12
|
+
* product, plan, status, access level, and more.
|
|
12
13
|
*
|
|
13
14
|
* Required permissions:
|
|
14
15
|
*
|
|
@@ -16,10 +17,9 @@ export declare class Members extends APIResource {
|
|
|
16
17
|
* - `member:email:read`
|
|
17
18
|
* - `member:phone:read`
|
|
18
19
|
*/
|
|
19
|
-
|
|
20
|
+
list(query?: MemberListParams | null | undefined, options?: RequestOptions): PagePromise<MemberListResponsesCursorPage, MemberListResponse>;
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
-
* product, plan, status, access level, and more.
|
|
22
|
+
* Retrieves the details of an existing member.
|
|
23
23
|
*
|
|
24
24
|
* Required permissions:
|
|
25
25
|
*
|
|
@@ -27,7 +27,7 @@ export declare class Members extends APIResource {
|
|
|
27
27
|
* - `member:email:read`
|
|
28
28
|
* - `member:phone:read`
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<MemberRetrieveResponse>;
|
|
31
31
|
}
|
|
32
32
|
export type MemberListResponsesCursorPage = CursorPage<MemberListResponse>;
|
|
33
33
|
/**
|
|
@@ -51,7 +51,8 @@ export interface MemberRetrieveResponse {
|
|
|
51
51
|
*/
|
|
52
52
|
company: MemberRetrieveResponse.Company;
|
|
53
53
|
/**
|
|
54
|
-
* The member's token balance for this company
|
|
54
|
+
* The member's token balance for this company. Computed live from the ledger, not
|
|
55
|
+
* from a cache.
|
|
55
56
|
*/
|
|
56
57
|
company_token_balance: number;
|
|
57
58
|
/**
|
|
@@ -148,7 +149,8 @@ export interface MemberListResponse {
|
|
|
148
149
|
*/
|
|
149
150
|
access_level: Shared.AccessLevel;
|
|
150
151
|
/**
|
|
151
|
-
* The member's token balance for this company
|
|
152
|
+
* The member's token balance for this company. Computed live from the ledger, not
|
|
153
|
+
* from a cache.
|
|
152
154
|
*/
|
|
153
155
|
company_token_balance: number;
|
|
154
156
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members.d.mts","sourceRoot":"","sources":["../src/resources/members.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC
|
|
1
|
+
{"version":3,"file":"members.d.mts","sourceRoot":"","sources":["../src/resources/members.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6BAA6B,EAAE,kBAAkB,CAAC;IAIjE;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGnF;AAED,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC;AAE3E;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;;OAKG;IACH,YAAY,EAA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CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;OAEG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC;IAEnE;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,GAAG,iBAAiB,GAAG,YAAY,GAAG,WAAW,GAAG,oBAAoB,GAAG,IAAI,CAAC;IAE5F;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEnC;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEtC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;IAE/C;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
package/resources/members.d.ts
CHANGED
|
@@ -8,7 +8,8 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class Members extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Returns a paginated list of members for a company, with extensive filtering by
|
|
12
|
+
* product, plan, status, access level, and more.
|
|
12
13
|
*
|
|
13
14
|
* Required permissions:
|
|
14
15
|
*
|
|
@@ -16,10 +17,9 @@ export declare class Members extends APIResource {
|
|
|
16
17
|
* - `member:email:read`
|
|
17
18
|
* - `member:phone:read`
|
|
18
19
|
*/
|
|
19
|
-
|
|
20
|
+
list(query?: MemberListParams | null | undefined, options?: RequestOptions): PagePromise<MemberListResponsesCursorPage, MemberListResponse>;
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
-
* product, plan, status, access level, and more.
|
|
22
|
+
* Retrieves the details of an existing member.
|
|
23
23
|
*
|
|
24
24
|
* Required permissions:
|
|
25
25
|
*
|
|
@@ -27,7 +27,7 @@ export declare class Members extends APIResource {
|
|
|
27
27
|
* - `member:email:read`
|
|
28
28
|
* - `member:phone:read`
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<MemberRetrieveResponse>;
|
|
31
31
|
}
|
|
32
32
|
export type MemberListResponsesCursorPage = CursorPage<MemberListResponse>;
|
|
33
33
|
/**
|
|
@@ -51,7 +51,8 @@ export interface MemberRetrieveResponse {
|
|
|
51
51
|
*/
|
|
52
52
|
company: MemberRetrieveResponse.Company;
|
|
53
53
|
/**
|
|
54
|
-
* The member's token balance for this company
|
|
54
|
+
* The member's token balance for this company. Computed live from the ledger, not
|
|
55
|
+
* from a cache.
|
|
55
56
|
*/
|
|
56
57
|
company_token_balance: number;
|
|
57
58
|
/**
|
|
@@ -148,7 +149,8 @@ export interface MemberListResponse {
|
|
|
148
149
|
*/
|
|
149
150
|
access_level: Shared.AccessLevel;
|
|
150
151
|
/**
|
|
151
|
-
* The member's token balance for this company
|
|
152
|
+
* The member's token balance for this company. Computed live from the ledger, not
|
|
153
|
+
* from a cache.
|
|
152
154
|
*/
|
|
153
155
|
company_token_balance: number;
|
|
154
156
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members.d.ts","sourceRoot":"","sources":["../src/resources/members.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;O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M,CAAC,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEnC;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEtC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;IAE/C;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
package/resources/members.js
CHANGED
|
@@ -10,7 +10,8 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class Members extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Returns a paginated list of members for a company, with extensive filtering by
|
|
14
|
+
* product, plan, status, access level, and more.
|
|
14
15
|
*
|
|
15
16
|
* Required permissions:
|
|
16
17
|
*
|
|
@@ -18,12 +19,11 @@ class Members extends resource_1.APIResource {
|
|
|
18
19
|
* - `member:email:read`
|
|
19
20
|
* - `member:phone:read`
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
-
return this._client.
|
|
22
|
+
list(query = {}, options) {
|
|
23
|
+
return this._client.getAPIList('/members', (pagination_1.CursorPage), { query, ...options });
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
-
* product, plan, status, access level, and more.
|
|
26
|
+
* Retrieves the details of an existing member.
|
|
27
27
|
*
|
|
28
28
|
* Required permissions:
|
|
29
29
|
*
|
|
@@ -31,8 +31,8 @@ class Members extends resource_1.APIResource {
|
|
|
31
31
|
* - `member:email:read`
|
|
32
32
|
* - `member:phone:read`
|
|
33
33
|
*/
|
|
34
|
-
|
|
35
|
-
return this._client.
|
|
34
|
+
retrieve(id, options) {
|
|
35
|
+
return this._client.get((0, path_1.path) `/members/${id}`, options);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.Members = Members;
|
package/resources/members.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members.js","sourceRoot":"","sources":["../src/resources/members.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAoF;AAEpF,oDAA8C;AAE9C;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC
|
|
1
|
+
{"version":3,"file":"members.js","sourceRoot":"","sources":["../src/resources/members.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAoF;AAEpF,oDAA8C;AAE9C;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;OASG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA,uBAA8B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;IAED;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;CACF;AA9BD,0BA8BC"}
|
package/resources/members.mjs
CHANGED
|
@@ -7,7 +7,8 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export class Members extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Returns a paginated list of members for a company, with extensive filtering by
|
|
11
|
+
* product, plan, status, access level, and more.
|
|
11
12
|
*
|
|
12
13
|
* Required permissions:
|
|
13
14
|
*
|
|
@@ -15,12 +16,11 @@ export class Members extends APIResource {
|
|
|
15
16
|
* - `member:email:read`
|
|
16
17
|
* - `member:phone:read`
|
|
17
18
|
*/
|
|
18
|
-
|
|
19
|
-
return this._client.
|
|
19
|
+
list(query = {}, options) {
|
|
20
|
+
return this._client.getAPIList('/members', (CursorPage), { query, ...options });
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
22
|
-
*
|
|
23
|
-
* product, plan, status, access level, and more.
|
|
23
|
+
* Retrieves the details of an existing member.
|
|
24
24
|
*
|
|
25
25
|
* Required permissions:
|
|
26
26
|
*
|
|
@@ -28,8 +28,8 @@ export class Members extends APIResource {
|
|
|
28
28
|
* - `member:email:read`
|
|
29
29
|
* - `member:phone:read`
|
|
30
30
|
*/
|
|
31
|
-
|
|
32
|
-
return this._client.
|
|
31
|
+
retrieve(id, options) {
|
|
32
|
+
return this._client.get(path `/members/${id}`, options);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
//# sourceMappingURL=members.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members.mjs","sourceRoot":"","sources":["../src/resources/members.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC
|
|
1
|
+
{"version":3,"file":"members.mjs","sourceRoot":"","sources":["../src/resources/members.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA,UAA8B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;IAED;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;CACF"}
|
|
@@ -8,7 +8,8 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class Memberships extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Returns a paginated list of memberships, with optional filtering by product,
|
|
12
|
+
* plan, status, and user.
|
|
12
13
|
*
|
|
13
14
|
* Required permissions:
|
|
14
15
|
*
|
|
@@ -17,50 +18,31 @@ export declare class Memberships extends APIResource {
|
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* ```ts
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
21
|
+
* // Automatically fetches more pages as needed.
|
|
22
|
+
* for await (const membershipListResponse of client.memberships.list()) {
|
|
23
|
+
* // ...
|
|
24
|
+
* }
|
|
23
25
|
* ```
|
|
24
26
|
*/
|
|
25
|
-
|
|
27
|
+
list(query?: MembershipListParams | null | undefined, options?: RequestOptions): PagePromise<MembershipListResponsesCursorPage, MembershipListResponse>;
|
|
26
28
|
/**
|
|
27
|
-
*
|
|
29
|
+
* Retrieves the details of an existing membership.
|
|
28
30
|
*
|
|
29
31
|
* Required permissions:
|
|
30
32
|
*
|
|
31
|
-
* - `member:manage`
|
|
32
|
-
* - `member:email:read`
|
|
33
33
|
* - `member:basic:read`
|
|
34
|
+
* - `member:email:read`
|
|
34
35
|
*
|
|
35
36
|
* @example
|
|
36
37
|
* ```ts
|
|
37
|
-
* const membership = await client.memberships.
|
|
38
|
+
* const membership = await client.memberships.retrieve(
|
|
38
39
|
* 'mem_xxxxxxxxxxxxxx',
|
|
39
40
|
* );
|
|
40
41
|
* ```
|
|
41
42
|
*/
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Returns a paginated list of memberships, with optional filtering by product,
|
|
45
|
-
* plan, status, and user.
|
|
46
|
-
*
|
|
47
|
-
* Required permissions:
|
|
48
|
-
*
|
|
49
|
-
* - `member:basic:read`
|
|
50
|
-
* - `member:email:read`
|
|
51
|
-
*
|
|
52
|
-
* @example
|
|
53
|
-
* ```ts
|
|
54
|
-
* // Automatically fetches more pages as needed.
|
|
55
|
-
* for await (const membershipListResponse of client.memberships.list()) {
|
|
56
|
-
* // ...
|
|
57
|
-
* }
|
|
58
|
-
* ```
|
|
59
|
-
*/
|
|
60
|
-
list(query?: MembershipListParams | null | undefined, options?: RequestOptions): PagePromise<MembershipListResponsesCursorPage, MembershipListResponse>;
|
|
43
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<Shared.Membership>;
|
|
61
44
|
/**
|
|
62
|
-
*
|
|
63
|
-
* or Stripe trial.
|
|
45
|
+
* Update a membership's metadata or other mutable properties.
|
|
64
46
|
*
|
|
65
47
|
* Required permissions:
|
|
66
48
|
*
|
|
@@ -70,13 +52,12 @@ export declare class Memberships extends APIResource {
|
|
|
70
52
|
*
|
|
71
53
|
* @example
|
|
72
54
|
* ```ts
|
|
73
|
-
* const membership = await client.memberships.
|
|
55
|
+
* const membership = await client.memberships.update(
|
|
74
56
|
* 'mem_xxxxxxxxxxxxxx',
|
|
75
|
-
* { free_days: 42 },
|
|
76
57
|
* );
|
|
77
58
|
* ```
|
|
78
59
|
*/
|
|
79
|
-
|
|
60
|
+
update(id: string, body?: MembershipUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Shared.Membership>;
|
|
80
61
|
/**
|
|
81
62
|
* Cancel a membership either immediately or at the end of the current billing
|
|
82
63
|
* period. Immediate cancellation revokes access right away.
|
|
@@ -149,6 +130,25 @@ export declare class Memberships extends APIResource {
|
|
|
149
130
|
* ```
|
|
150
131
|
*/
|
|
151
132
|
uncancel(id: string, options?: RequestOptions): APIPromise<Shared.Membership>;
|
|
133
|
+
/**
|
|
134
|
+
* Add free days to extend a membership's current billing period, expiration date,
|
|
135
|
+
* or Stripe trial.
|
|
136
|
+
*
|
|
137
|
+
* Required permissions:
|
|
138
|
+
*
|
|
139
|
+
* - `member:manage`
|
|
140
|
+
* - `member:email:read`
|
|
141
|
+
* - `member:basic:read`
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* ```ts
|
|
145
|
+
* const membership = await client.memberships.addFreeDays(
|
|
146
|
+
* 'mem_xxxxxxxxxxxxxx',
|
|
147
|
+
* { free_days: 42 },
|
|
148
|
+
* );
|
|
149
|
+
* ```
|
|
150
|
+
*/
|
|
151
|
+
addFreeDays(id: string, body: MembershipAddFreeDaysParams, options?: RequestOptions): APIPromise<Shared.Membership>;
|
|
152
152
|
}
|
|
153
153
|
export type MembershipListResponsesCursorPage = CursorPage<MembershipListResponse>;
|
|
154
154
|
/**
|
|
@@ -304,6 +304,13 @@ export declare namespace MembershipListResponse {
|
|
|
304
304
|
* The unique identifier for the plan.
|
|
305
305
|
*/
|
|
306
306
|
id: string;
|
|
307
|
+
/**
|
|
308
|
+
* Custom key-value pairs stored on the plan. Included in webhook payloads for
|
|
309
|
+
* payment and membership events.
|
|
310
|
+
*/
|
|
311
|
+
metadata: {
|
|
312
|
+
[key: string]: unknown;
|
|
313
|
+
} | null;
|
|
307
314
|
}
|
|
308
315
|
/**
|
|
309
316
|
* The product this membership grants access to.
|
|
@@ -313,6 +320,13 @@ export declare namespace MembershipListResponse {
|
|
|
313
320
|
* The unique identifier for the product.
|
|
314
321
|
*/
|
|
315
322
|
id: string;
|
|
323
|
+
/**
|
|
324
|
+
* Custom key-value pairs stored on the product. Included in webhook payloads for
|
|
325
|
+
* payment and membership events.
|
|
326
|
+
*/
|
|
327
|
+
metadata: {
|
|
328
|
+
[key: string]: unknown;
|
|
329
|
+
} | null;
|
|
316
330
|
/**
|
|
317
331
|
* The display name of the product shown to customers on the product page and in
|
|
318
332
|
* search results.
|
|
@@ -352,15 +366,6 @@ export declare namespace MembershipListResponse {
|
|
|
352
366
|
username: string;
|
|
353
367
|
}
|
|
354
368
|
}
|
|
355
|
-
export interface MembershipUpdateParams {
|
|
356
|
-
/**
|
|
357
|
-
* A JSON object of key-value pairs to store on the membership. Replaces any
|
|
358
|
-
* existing metadata.
|
|
359
|
-
*/
|
|
360
|
-
metadata?: {
|
|
361
|
-
[key: string]: unknown;
|
|
362
|
-
} | null;
|
|
363
|
-
}
|
|
364
369
|
export interface MembershipListParams extends CursorPageParams {
|
|
365
370
|
/**
|
|
366
371
|
* Returns the elements in the list that come before the specified cursor.
|
|
@@ -420,12 +425,14 @@ export interface MembershipListParams extends CursorPageParams {
|
|
|
420
425
|
*/
|
|
421
426
|
user_ids?: Array<string> | null;
|
|
422
427
|
}
|
|
423
|
-
export interface
|
|
428
|
+
export interface MembershipUpdateParams {
|
|
424
429
|
/**
|
|
425
|
-
*
|
|
426
|
-
*
|
|
430
|
+
* A JSON object of key-value pairs to store on the membership. Replaces any
|
|
431
|
+
* existing metadata.
|
|
427
432
|
*/
|
|
428
|
-
|
|
433
|
+
metadata?: {
|
|
434
|
+
[key: string]: unknown;
|
|
435
|
+
} | null;
|
|
429
436
|
}
|
|
430
437
|
export interface MembershipCancelParams {
|
|
431
438
|
/**
|
|
@@ -440,7 +447,14 @@ export interface MembershipPauseParams {
|
|
|
440
447
|
*/
|
|
441
448
|
void_payments?: boolean | null;
|
|
442
449
|
}
|
|
450
|
+
export interface MembershipAddFreeDaysParams {
|
|
451
|
+
/**
|
|
452
|
+
* The number of free days to add (1-1095). Extends the billing period, expiration
|
|
453
|
+
* date, or Stripe trial depending on plan type.
|
|
454
|
+
*/
|
|
455
|
+
free_days: number;
|
|
456
|
+
}
|
|
443
457
|
export declare namespace Memberships {
|
|
444
|
-
export { type CancelOptions as CancelOptions, type MembershipListResponse as MembershipListResponse, type MembershipListResponsesCursorPage as MembershipListResponsesCursorPage, type
|
|
458
|
+
export { type CancelOptions as CancelOptions, type MembershipListResponse as MembershipListResponse, type MembershipListResponsesCursorPage as MembershipListResponsesCursorPage, type MembershipListParams as MembershipListParams, type MembershipUpdateParams as MembershipUpdateParams, type MembershipCancelParams as MembershipCancelParams, type MembershipPauseParams as MembershipPauseParams, type MembershipAddFreeDaysParams as MembershipAddFreeDaysParams, };
|
|
445
459
|
}
|
|
446
460
|
//# sourceMappingURL=memberships.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memberships.d.mts","sourceRoot":"","sources":["../src/resources/memberships.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC;IAI7E;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC;IAIhC;;;;;;;;;;;;;;;;OAgBG;IACH,
|
|
1
|
+
{"version":3,"file":"memberships.d.mts","sourceRoot":"","sources":["../src/resources/memberships.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KA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