@whop/sdk 0.0.26 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +78 -0
- package/client.d.mts +10 -9
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -9
- package/client.d.ts.map +1 -1
- package/client.js +16 -2
- package/client.js.map +1 -1
- package/client.mjs +16 -2
- package/client.mjs.map +1 -1
- package/package.json +3 -3
- package/resources/access-tokens.d.mts +34 -54
- package/resources/access-tokens.d.mts.map +1 -1
- package/resources/access-tokens.d.ts +34 -54
- package/resources/access-tokens.d.ts.map +1 -1
- package/resources/access-tokens.js +6 -8
- package/resources/access-tokens.js.map +1 -1
- package/resources/access-tokens.mjs +6 -8
- package/resources/access-tokens.mjs.map +1 -1
- package/resources/account-links.d.mts +15 -13
- package/resources/account-links.d.mts.map +1 -1
- package/resources/account-links.d.ts +15 -13
- package/resources/account-links.d.ts.map +1 -1
- package/resources/account-links.js +2 -3
- package/resources/account-links.js.map +1 -1
- package/resources/account-links.mjs +2 -3
- package/resources/account-links.mjs.map +1 -1
- package/resources/ai-chats.d.mts +70 -30
- package/resources/ai-chats.d.mts.map +1 -1
- package/resources/ai-chats.d.ts +70 -30
- 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 +37 -35
- package/resources/app-builds.d.mts.map +1 -1
- package/resources/app-builds.d.ts +37 -35
- package/resources/app-builds.d.ts.map +1 -1
- package/resources/app-builds.js +7 -4
- package/resources/app-builds.js.map +1 -1
- package/resources/app-builds.mjs +7 -4
- package/resources/app-builds.mjs.map +1 -1
- package/resources/apps.d.mts +86 -60
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +86 -60
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +7 -4
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +7 -4
- package/resources/apps.mjs.map +1 -1
- package/resources/authorized-users.d.mts +38 -32
- package/resources/authorized-users.d.mts.map +1 -1
- package/resources/authorized-users.d.ts +38 -32
- package/resources/authorized-users.d.ts.map +1 -1
- package/resources/authorized-users.js +3 -2
- package/resources/authorized-users.js.map +1 -1
- package/resources/authorized-users.mjs +3 -2
- package/resources/authorized-users.mjs.map +1 -1
- package/resources/chat-channels.d.mts +28 -20
- package/resources/chat-channels.d.mts.map +1 -1
- package/resources/chat-channels.d.ts +28 -20
- package/resources/chat-channels.d.ts.map +1 -1
- package/resources/chat-channels.js +5 -3
- package/resources/chat-channels.js.map +1 -1
- package/resources/chat-channels.mjs +5 -3
- package/resources/chat-channels.mjs.map +1 -1
- package/resources/checkout-configurations.d.mts +75 -58
- package/resources/checkout-configurations.d.mts.map +1 -1
- package/resources/checkout-configurations.d.ts +75 -58
- package/resources/checkout-configurations.d.ts.map +1 -1
- package/resources/checkout-configurations.js +3 -2
- package/resources/checkout-configurations.js.map +1 -1
- package/resources/checkout-configurations.mjs +3 -2
- package/resources/checkout-configurations.mjs.map +1 -1
- package/resources/companies.d.mts +88 -56
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +88 -56
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.js +9 -7
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +9 -7
- package/resources/companies.mjs.map +1 -1
- package/resources/company-token-transactions.d.mts +90 -67
- package/resources/company-token-transactions.d.mts.map +1 -1
- package/resources/company-token-transactions.d.ts +90 -67
- package/resources/company-token-transactions.d.ts.map +1 -1
- package/resources/company-token-transactions.js +6 -3
- package/resources/company-token-transactions.js.map +1 -1
- package/resources/company-token-transactions.mjs +6 -3
- package/resources/company-token-transactions.mjs.map +1 -1
- package/resources/course-chapters.d.mts +27 -22
- package/resources/course-chapters.d.mts.map +1 -1
- package/resources/course-chapters.d.ts +27 -22
- package/resources/course-chapters.d.ts.map +1 -1
- package/resources/course-chapters.js +5 -5
- package/resources/course-chapters.mjs +5 -5
- package/resources/course-lesson-interactions.d.mts +7 -6
- package/resources/course-lesson-interactions.d.mts.map +1 -1
- package/resources/course-lesson-interactions.d.ts +7 -6
- package/resources/course-lesson-interactions.d.ts.map +1 -1
- package/resources/course-lesson-interactions.js +3 -2
- package/resources/course-lesson-interactions.js.map +1 -1
- package/resources/course-lesson-interactions.mjs +3 -2
- package/resources/course-lesson-interactions.mjs.map +1 -1
- package/resources/course-lessons.d.mts +141 -99
- package/resources/course-lessons.d.mts.map +1 -1
- package/resources/course-lessons.d.ts +141 -99
- package/resources/course-lessons.d.ts.map +1 -1
- package/resources/course-lessons.js +12 -8
- package/resources/course-lessons.js.map +1 -1
- package/resources/course-lessons.mjs +12 -8
- package/resources/course-lessons.mjs.map +1 -1
- package/resources/course-students.d.mts +44 -35
- package/resources/course-students.d.mts.map +1 -1
- package/resources/course-students.d.ts +44 -35
- package/resources/course-students.d.ts.map +1 -1
- package/resources/course-students.js +3 -2
- package/resources/course-students.js.map +1 -1
- package/resources/course-students.mjs +3 -2
- package/resources/course-students.mjs.map +1 -1
- package/resources/courses.d.mts +140 -99
- package/resources/courses.d.mts.map +1 -1
- package/resources/courses.d.ts +140 -99
- package/resources/courses.d.ts.map +1 -1
- package/resources/courses.js +9 -5
- package/resources/courses.js.map +1 -1
- package/resources/courses.mjs +9 -5
- package/resources/courses.mjs.map +1 -1
- package/resources/disputes.d.mts +176 -120
- package/resources/disputes.d.mts.map +1 -1
- package/resources/disputes.d.ts +176 -120
- package/resources/disputes.d.ts.map +1 -1
- package/resources/disputes.js +4 -2
- package/resources/disputes.js.map +1 -1
- package/resources/disputes.mjs +4 -2
- package/resources/disputes.mjs.map +1 -1
- package/resources/dm-channels.d.mts +29 -16
- package/resources/dm-channels.d.mts.map +1 -1
- package/resources/dm-channels.d.ts +29 -16
- package/resources/dm-channels.d.ts.map +1 -1
- package/resources/dm-channels.js +9 -5
- package/resources/dm-channels.js.map +1 -1
- package/resources/dm-channels.mjs +9 -5
- package/resources/dm-channels.mjs.map +1 -1
- package/resources/dm-members.d.mts +30 -21
- package/resources/dm-members.d.mts.map +1 -1
- package/resources/dm-members.d.ts +30 -21
- package/resources/dm-members.d.ts.map +1 -1
- package/resources/dm-members.js +9 -5
- package/resources/dm-members.js.map +1 -1
- package/resources/dm-members.mjs +9 -5
- package/resources/dm-members.mjs.map +1 -1
- package/resources/entries.d.mts +35 -27
- package/resources/entries.d.mts.map +1 -1
- package/resources/entries.d.ts +35 -27
- package/resources/entries.d.ts.map +1 -1
- package/resources/entries.js +7 -4
- package/resources/entries.js.map +1 -1
- package/resources/entries.mjs +7 -4
- package/resources/entries.mjs.map +1 -1
- package/resources/experiences.d.mts +58 -49
- package/resources/experiences.d.mts.map +1 -1
- package/resources/experiences.d.ts +58 -49
- package/resources/experiences.d.ts.map +1 -1
- package/resources/experiences.js +6 -5
- package/resources/experiences.js.map +1 -1
- package/resources/experiences.mjs +6 -5
- package/resources/experiences.mjs.map +1 -1
- package/resources/fee-markups.d.mts +38 -27
- package/resources/fee-markups.d.mts.map +1 -1
- package/resources/fee-markups.d.ts +38 -27
- package/resources/fee-markups.d.ts.map +1 -1
- package/resources/fee-markups.js +6 -3
- package/resources/fee-markups.js.map +1 -1
- package/resources/fee-markups.mjs +6 -3
- package/resources/fee-markups.mjs.map +1 -1
- package/resources/files.d.mts +23 -19
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +23 -19
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +3 -2
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +3 -2
- package/resources/files.mjs.map +1 -1
- package/resources/forum-posts.d.mts +68 -45
- package/resources/forum-posts.d.mts.map +1 -1
- package/resources/forum-posts.d.ts +68 -45
- package/resources/forum-posts.d.ts.map +1 -1
- package/resources/forum-posts.js +8 -4
- package/resources/forum-posts.js.map +1 -1
- package/resources/forum-posts.mjs +8 -4
- package/resources/forum-posts.mjs.map +1 -1
- package/resources/forums.d.mts +21 -13
- package/resources/forums.d.mts.map +1 -1
- package/resources/forums.d.ts +21 -13
- package/resources/forums.d.ts.map +1 -1
- package/resources/forums.js +5 -3
- package/resources/forums.js.map +1 -1
- package/resources/forums.mjs +5 -3
- package/resources/forums.mjs.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.mts +136 -100
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +136 -100
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +7 -4
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +7 -4
- package/resources/invoices.mjs.map +1 -1
- package/resources/leads.d.mts +76 -54
- package/resources/leads.d.mts.map +1 -1
- package/resources/leads.d.ts +76 -54
- package/resources/leads.d.ts.map +1 -1
- package/resources/leads.js +6 -4
- package/resources/leads.js.map +1 -1
- package/resources/leads.mjs +6 -4
- package/resources/leads.mjs.map +1 -1
- package/resources/ledger-accounts.d.mts +19 -15
- package/resources/ledger-accounts.d.mts.map +1 -1
- package/resources/ledger-accounts.d.ts +19 -15
- package/resources/ledger-accounts.d.ts.map +1 -1
- package/resources/ledger-accounts.js +1 -1
- package/resources/ledger-accounts.mjs +1 -1
- package/resources/members.d.mts +27 -28
- package/resources/members.d.mts.map +1 -1
- package/resources/members.d.ts +27 -28
- package/resources/members.d.ts.map +1 -1
- package/resources/members.js +3 -2
- package/resources/members.js.map +1 -1
- package/resources/members.mjs +3 -2
- package/resources/members.mjs.map +1 -1
- package/resources/memberships.d.mts +85 -62
- package/resources/memberships.d.mts.map +1 -1
- package/resources/memberships.d.ts +85 -62
- package/resources/memberships.d.ts.map +1 -1
- package/resources/memberships.js +12 -8
- package/resources/memberships.js.map +1 -1
- package/resources/memberships.mjs +12 -8
- package/resources/memberships.mjs.map +1 -1
- package/resources/messages.d.mts +53 -35
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +53 -35
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +9 -5
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +9 -5
- package/resources/messages.mjs.map +1 -1
- package/resources/notifications.d.mts +33 -25
- package/resources/notifications.d.mts.map +1 -1
- package/resources/notifications.d.ts +33 -25
- package/resources/notifications.d.ts.map +1 -1
- package/resources/notifications.js +2 -1
- package/resources/notifications.js.map +1 -1
- package/resources/notifications.mjs +2 -1
- package/resources/notifications.mjs.map +1 -1
- package/resources/payment-methods.d.mts +212 -114
- package/resources/payment-methods.d.mts.map +1 -1
- package/resources/payment-methods.d.ts +212 -114
- package/resources/payment-methods.d.ts.map +1 -1
- package/resources/payment-methods.js +5 -10
- package/resources/payment-methods.js.map +1 -1
- package/resources/payment-methods.mjs +5 -10
- package/resources/payment-methods.mjs.map +1 -1
- package/resources/payments.d.mts +96 -56
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +96 -56
- package/resources/payments.d.ts.map +1 -1
- package/resources/payments.js +23 -10
- package/resources/payments.js.map +1 -1
- package/resources/payments.mjs +23 -10
- package/resources/payments.mjs.map +1 -1
- package/resources/payout-methods.d.mts +50 -35
- package/resources/payout-methods.d.mts.map +1 -1
- package/resources/payout-methods.d.ts +50 -35
- package/resources/payout-methods.d.ts.map +1 -1
- package/resources/payout-methods.js +3 -2
- package/resources/payout-methods.js.map +1 -1
- package/resources/payout-methods.mjs +3 -2
- package/resources/payout-methods.mjs.map +1 -1
- package/resources/plans.d.mts +136 -95
- package/resources/plans.d.mts.map +1 -1
- package/resources/plans.d.ts +136 -95
- package/resources/plans.d.ts.map +1 -1
- package/resources/plans.js +9 -5
- package/resources/plans.js.map +1 -1
- package/resources/plans.mjs +9 -5
- package/resources/plans.mjs.map +1 -1
- package/resources/products.d.mts +80 -67
- package/resources/products.d.mts.map +1 -1
- package/resources/products.d.ts +80 -67
- package/resources/products.d.ts.map +1 -1
- package/resources/products.js +7 -5
- package/resources/products.js.map +1 -1
- package/resources/products.mjs +7 -5
- package/resources/products.mjs.map +1 -1
- package/resources/promo-codes.d.mts +60 -40
- package/resources/promo-codes.d.mts.map +1 -1
- package/resources/promo-codes.d.ts +60 -40
- package/resources/promo-codes.d.ts.map +1 -1
- package/resources/promo-codes.js +7 -4
- package/resources/promo-codes.js.map +1 -1
- package/resources/promo-codes.mjs +7 -4
- package/resources/promo-codes.mjs.map +1 -1
- package/resources/reactions.d.mts +25 -19
- package/resources/reactions.d.mts.map +1 -1
- package/resources/reactions.d.ts +25 -19
- package/resources/reactions.d.ts.map +1 -1
- package/resources/reactions.js +7 -4
- package/resources/reactions.js.map +1 -1
- package/resources/reactions.mjs +7 -4
- package/resources/reactions.mjs.map +1 -1
- package/resources/refunds.d.mts +57 -39
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +57 -39
- package/resources/refunds.d.ts.map +1 -1
- package/resources/refunds.js +3 -2
- package/resources/refunds.js.map +1 -1
- package/resources/refunds.mjs +3 -2
- package/resources/refunds.mjs.map +1 -1
- package/resources/reviews.d.mts +76 -60
- package/resources/reviews.d.mts.map +1 -1
- package/resources/reviews.d.ts +76 -60
- package/resources/reviews.d.ts.map +1 -1
- package/resources/reviews.js +3 -2
- package/resources/reviews.js.map +1 -1
- package/resources/reviews.mjs +3 -2
- package/resources/reviews.mjs.map +1 -1
- package/resources/setup-intents.d.mts +77 -61
- package/resources/setup-intents.d.mts.map +1 -1
- package/resources/setup-intents.d.ts +77 -61
- package/resources/setup-intents.d.ts.map +1 -1
- package/resources/setup-intents.js +4 -10
- package/resources/setup-intents.js.map +1 -1
- package/resources/setup-intents.mjs +4 -10
- package/resources/setup-intents.mjs.map +1 -1
- package/resources/shared.d.mts +854 -509
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +854 -509
- package/resources/shared.d.ts.map +1 -1
- package/resources/shipments.d.mts +30 -21
- package/resources/shipments.d.mts.map +1 -1
- package/resources/shipments.d.ts +30 -21
- package/resources/shipments.d.ts.map +1 -1
- package/resources/shipments.js +5 -3
- package/resources/shipments.js.map +1 -1
- package/resources/shipments.mjs +5 -3
- package/resources/shipments.mjs.map +1 -1
- package/resources/support-channels.d.mts +28 -20
- package/resources/support-channels.d.mts.map +1 -1
- package/resources/support-channels.d.ts +28 -20
- package/resources/support-channels.d.ts.map +1 -1
- package/resources/support-channels.js +5 -4
- package/resources/support-channels.js.map +1 -1
- package/resources/support-channels.mjs +5 -4
- package/resources/support-channels.mjs.map +1 -1
- package/resources/topups.d.mts +13 -9
- package/resources/topups.d.mts.map +1 -1
- package/resources/topups.d.ts +13 -9
- package/resources/topups.d.ts.map +1 -1
- package/resources/topups.js +2 -1
- package/resources/topups.js.map +1 -1
- package/resources/topups.mjs +2 -1
- package/resources/topups.mjs.map +1 -1
- package/resources/transfers.d.mts +37 -28
- package/resources/transfers.d.mts.map +1 -1
- package/resources/transfers.d.ts +37 -28
- package/resources/transfers.d.ts.map +1 -1
- package/resources/transfers.js +5 -3
- package/resources/transfers.js.map +1 -1
- package/resources/transfers.mjs +5 -3
- package/resources/transfers.mjs.map +1 -1
- package/resources/users.d.mts +60 -18
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +60 -18
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +13 -2
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +13 -2
- package/resources/users.mjs.map +1 -1
- package/resources/verifications.d.mts +7 -5
- package/resources/verifications.d.mts.map +1 -1
- package/resources/verifications.d.ts +7 -5
- package/resources/verifications.d.ts.map +1 -1
- package/resources/verifications.js +1 -1
- package/resources/verifications.mjs +1 -1
- package/resources/webhooks.d.mts +188 -133
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +188 -133
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +3 -2
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +3 -2
- package/resources/webhooks.mjs.map +1 -1
- package/resources/withdrawals.d.mts +60 -47
- package/resources/withdrawals.d.mts.map +1 -1
- package/resources/withdrawals.d.ts +60 -47
- package/resources/withdrawals.d.ts.map +1 -1
- package/resources/withdrawals.js +3 -2
- package/resources/withdrawals.js.map +1 -1
- package/resources/withdrawals.mjs +3 -2
- package/resources/withdrawals.mjs.map +1 -1
- package/src/client.ts +33 -11
- package/src/resources/access-tokens.ts +37 -59
- package/src/resources/account-links.ts +15 -13
- package/src/resources/ai-chats.ts +76 -30
- package/src/resources/app-builds.ts +37 -35
- package/src/resources/apps.ts +89 -60
- package/src/resources/authorized-users.ts +38 -32
- package/src/resources/chat-channels.ts +28 -20
- package/src/resources/checkout-configurations.ts +76 -58
- package/src/resources/companies.ts +94 -57
- package/src/resources/company-token-transactions.ts +91 -68
- package/src/resources/course-chapters.ts +27 -22
- package/src/resources/course-lesson-interactions.ts +7 -6
- package/src/resources/course-lessons.ts +141 -99
- package/src/resources/course-students.ts +44 -35
- package/src/resources/courses.ts +140 -99
- package/src/resources/disputes.ts +176 -120
- package/src/resources/dm-channels.ts +29 -16
- package/src/resources/dm-members.ts +30 -21
- package/src/resources/entries.ts +35 -27
- package/src/resources/experiences.ts +58 -49
- package/src/resources/fee-markups.ts +38 -27
- package/src/resources/files.ts +23 -19
- package/src/resources/forum-posts.ts +69 -45
- package/src/resources/forums.ts +21 -13
- package/src/resources/index.ts +4 -2
- package/src/resources/invoices.ts +140 -100
- package/src/resources/leads.ts +76 -54
- package/src/resources/ledger-accounts.ts +19 -15
- package/src/resources/members.ts +27 -28
- package/src/resources/memberships.ts +86 -62
- package/src/resources/messages.ts +53 -35
- package/src/resources/notifications.ts +33 -25
- package/src/resources/payment-methods.ts +212 -114
- package/src/resources/payments.ts +103 -55
- package/src/resources/payout-methods.ts +50 -35
- package/src/resources/plans.ts +136 -95
- package/src/resources/products.ts +219 -70
- package/src/resources/promo-codes.ts +60 -40
- package/src/resources/reactions.ts +25 -19
- package/src/resources/refunds.ts +59 -39
- package/src/resources/reviews.ts +76 -60
- package/src/resources/setup-intents.ts +77 -61
- package/src/resources/shared.ts +2797 -508
- package/src/resources/shipments.ts +30 -21
- package/src/resources/support-channels.ts +28 -20
- package/src/resources/topups.ts +13 -9
- package/src/resources/transfers.ts +37 -28
- package/src/resources/users.ts +72 -18
- package/src/resources/verifications.ts +7 -5
- package/src/resources/webhooks.ts +188 -133
- package/src/resources/withdrawals.ts +60 -46
- 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
|
@@ -5,7 +5,7 @@ import { APIPromise } from "../core/api-promise.js";
|
|
|
5
5
|
import { RequestOptions } from "../internal/request-options.js";
|
|
6
6
|
export declare class LedgerAccounts extends APIResource {
|
|
7
7
|
/**
|
|
8
|
-
* Retrieves
|
|
8
|
+
* Retrieves the details of an existing ledger account.
|
|
9
9
|
*
|
|
10
10
|
* Required permissions:
|
|
11
11
|
*
|
|
@@ -15,11 +15,12 @@ export declare class LedgerAccounts extends APIResource {
|
|
|
15
15
|
retrieve(id: string, options?: RequestOptions): APIPromise<LedgerAccountRetrieveResponse>;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* A ledger account represents a financial account on Whop that can hold many
|
|
19
|
+
* balances.
|
|
19
20
|
*/
|
|
20
21
|
export interface LedgerAccountRetrieveResponse {
|
|
21
22
|
/**
|
|
22
|
-
* The
|
|
23
|
+
* The unique identifier for the ledger account.
|
|
23
24
|
*/
|
|
24
25
|
id: string;
|
|
25
26
|
/**
|
|
@@ -70,15 +71,16 @@ export declare namespace LedgerAccountRetrieveResponse {
|
|
|
70
71
|
reserve_balance: number;
|
|
71
72
|
}
|
|
72
73
|
/**
|
|
73
|
-
*
|
|
74
|
+
* A user account on Whop. Contains profile information, identity details, and
|
|
75
|
+
* social connections.
|
|
74
76
|
*/
|
|
75
77
|
interface User {
|
|
76
78
|
/**
|
|
77
|
-
* The
|
|
79
|
+
* The unique identifier for the user.
|
|
78
80
|
*/
|
|
79
81
|
id: string;
|
|
80
82
|
/**
|
|
81
|
-
* The
|
|
83
|
+
* The user's display name shown on their public profile.
|
|
82
84
|
*/
|
|
83
85
|
name: string | null;
|
|
84
86
|
/**
|
|
@@ -86,24 +88,25 @@ export declare namespace LedgerAccountRetrieveResponse {
|
|
|
86
88
|
*/
|
|
87
89
|
typename: 'User';
|
|
88
90
|
/**
|
|
89
|
-
* The
|
|
91
|
+
* The user's unique username shown on their public profile.
|
|
90
92
|
*/
|
|
91
93
|
username: string;
|
|
92
94
|
}
|
|
93
95
|
/**
|
|
94
|
-
*
|
|
96
|
+
* A company is a seller on Whop. Companies own products, manage members, and
|
|
97
|
+
* receive payouts.
|
|
95
98
|
*/
|
|
96
99
|
interface Company {
|
|
97
100
|
/**
|
|
98
|
-
* The
|
|
101
|
+
* The unique identifier for the company.
|
|
99
102
|
*/
|
|
100
103
|
id: string;
|
|
101
104
|
/**
|
|
102
|
-
* The slug
|
|
105
|
+
* The URL slug for the company's store page (e.g., 'pickaxe' in whop.com/pickaxe).
|
|
103
106
|
*/
|
|
104
107
|
route: string;
|
|
105
108
|
/**
|
|
106
|
-
* The
|
|
109
|
+
* The display name of the company shown to customers.
|
|
107
110
|
*/
|
|
108
111
|
title: string;
|
|
109
112
|
/**
|
|
@@ -116,7 +119,7 @@ export declare namespace LedgerAccountRetrieveResponse {
|
|
|
116
119
|
*/
|
|
117
120
|
interface PayoutAccountDetails {
|
|
118
121
|
/**
|
|
119
|
-
*
|
|
122
|
+
* The unique identifier for the payout account.
|
|
120
123
|
*/
|
|
121
124
|
id: string;
|
|
122
125
|
/**
|
|
@@ -201,7 +204,7 @@ export declare namespace LedgerAccountRetrieveResponse {
|
|
|
201
204
|
*/
|
|
202
205
|
interface LatestVerification {
|
|
203
206
|
/**
|
|
204
|
-
*
|
|
207
|
+
* The unique identifier for the verification.
|
|
205
208
|
*/
|
|
206
209
|
id: string;
|
|
207
210
|
/**
|
|
@@ -209,11 +212,12 @@ export declare namespace LedgerAccountRetrieveResponse {
|
|
|
209
212
|
*/
|
|
210
213
|
last_error_code: VerificationsAPI.VerificationErrorCode | null;
|
|
211
214
|
/**
|
|
212
|
-
*
|
|
215
|
+
* A human-readable explanation of the most recent verification error. Null if no
|
|
216
|
+
* error has occurred.
|
|
213
217
|
*/
|
|
214
218
|
last_error_reason: string | null;
|
|
215
219
|
/**
|
|
216
|
-
* The status of
|
|
220
|
+
* The current status of this verification session.
|
|
217
221
|
*/
|
|
218
222
|
status: VerificationsAPI.VerificationStatus;
|
|
219
223
|
}
|
|
@@ -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,MAAM;OACX,KAAK,gBAAgB;OACrB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAG1F;AAED
|
|
1
|
+
{"version":3,"file":"ledger-accounts.d.ts","sourceRoot":"","sources":["../src/resources/ledger-accounts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,gBAAgB;OACrB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,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;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;;eAEG;YACH,MAAM,EAAE,gBAAgB,CAAC,kBAAkB,CAAC;SAC7C;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EAAE,KAAK,6BAA6B,IAAI,6BAA6B,EAAE,CAAC;CAChF"}
|
|
@@ -6,7 +6,7 @@ const resource_1 = require("../core/resource.js");
|
|
|
6
6
|
const path_1 = require("../internal/utils/path.js");
|
|
7
7
|
class LedgerAccounts extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Retrieves
|
|
9
|
+
* Retrieves the details of an existing ledger account.
|
|
10
10
|
*
|
|
11
11
|
* Required permissions:
|
|
12
12
|
*
|
|
@@ -3,7 +3,7 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../internal/utils/path.mjs";
|
|
4
4
|
export class LedgerAccounts extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* Retrieves
|
|
6
|
+
* Retrieves the details of an existing ledger account.
|
|
7
7
|
*
|
|
8
8
|
* Required permissions:
|
|
9
9
|
*
|
package/resources/members.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import { CursorPage, type CursorPageParams, PagePromise } from "../core/paginati
|
|
|
5
5
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
6
6
|
export declare class Members extends APIResource {
|
|
7
7
|
/**
|
|
8
|
-
* Retrieves
|
|
8
|
+
* Retrieves the details of an existing member.
|
|
9
9
|
*
|
|
10
10
|
* Required permissions:
|
|
11
11
|
*
|
|
@@ -15,7 +15,8 @@ export declare class Members extends APIResource {
|
|
|
15
15
|
*/
|
|
16
16
|
retrieve(id: string, options?: RequestOptions): APIPromise<MemberRetrieveResponse>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Returns a paginated list of members for a company, with extensive filtering by
|
|
19
|
+
* product, plan, status, access level, and more.
|
|
19
20
|
*
|
|
20
21
|
* Required permissions:
|
|
21
22
|
*
|
|
@@ -27,13 +28,12 @@ export declare class Members extends APIResource {
|
|
|
27
28
|
}
|
|
28
29
|
export type MemberListResponsesCursorPage = CursorPage<MemberListResponse>;
|
|
29
30
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* the connection.
|
|
31
|
+
* A member represents a user's relationship with a company on Whop, including
|
|
32
|
+
* their access level, status, and spending history.
|
|
33
33
|
*/
|
|
34
34
|
export interface MemberRetrieveResponse {
|
|
35
35
|
/**
|
|
36
|
-
* The
|
|
36
|
+
* The unique identifier for the company member.
|
|
37
37
|
*/
|
|
38
38
|
id: string;
|
|
39
39
|
/**
|
|
@@ -52,7 +52,7 @@ export interface MemberRetrieveResponse {
|
|
|
52
52
|
*/
|
|
53
53
|
company_token_balance: number;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* The datetime the company member was created.
|
|
56
56
|
*/
|
|
57
57
|
created_at: string;
|
|
58
58
|
/**
|
|
@@ -76,7 +76,7 @@ export interface MemberRetrieveResponse {
|
|
|
76
76
|
*/
|
|
77
77
|
status: Shared.MemberStatuses;
|
|
78
78
|
/**
|
|
79
|
-
* The
|
|
79
|
+
* The datetime the company member was last updated.
|
|
80
80
|
*/
|
|
81
81
|
updated_at: string;
|
|
82
82
|
/**
|
|
@@ -94,7 +94,7 @@ export declare namespace MemberRetrieveResponse {
|
|
|
94
94
|
*/
|
|
95
95
|
interface Company {
|
|
96
96
|
/**
|
|
97
|
-
* The
|
|
97
|
+
* The unique identifier for the company.
|
|
98
98
|
*/
|
|
99
99
|
id: string;
|
|
100
100
|
/**
|
|
@@ -111,7 +111,7 @@ export declare namespace MemberRetrieveResponse {
|
|
|
111
111
|
*/
|
|
112
112
|
interface User {
|
|
113
113
|
/**
|
|
114
|
-
* The
|
|
114
|
+
* The unique identifier for the company member user.
|
|
115
115
|
*/
|
|
116
116
|
id: string;
|
|
117
117
|
/**
|
|
@@ -129,13 +129,12 @@ export declare namespace MemberRetrieveResponse {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
* the connection.
|
|
132
|
+
* A member represents a user's relationship with a company on Whop, including
|
|
133
|
+
* their access level, status, and spending history.
|
|
135
134
|
*/
|
|
136
135
|
export interface MemberListResponse {
|
|
137
136
|
/**
|
|
138
|
-
* The
|
|
137
|
+
* The unique identifier for the company member.
|
|
139
138
|
*/
|
|
140
139
|
id: string;
|
|
141
140
|
/**
|
|
@@ -150,7 +149,7 @@ export interface MemberListResponse {
|
|
|
150
149
|
*/
|
|
151
150
|
company_token_balance: number;
|
|
152
151
|
/**
|
|
153
|
-
*
|
|
152
|
+
* The datetime the company member was created.
|
|
154
153
|
*/
|
|
155
154
|
created_at: string;
|
|
156
155
|
/**
|
|
@@ -174,7 +173,7 @@ export interface MemberListResponse {
|
|
|
174
173
|
*/
|
|
175
174
|
status: Shared.MemberStatuses;
|
|
176
175
|
/**
|
|
177
|
-
* The
|
|
176
|
+
* The datetime the company member was last updated.
|
|
178
177
|
*/
|
|
179
178
|
updated_at: string;
|
|
180
179
|
/**
|
|
@@ -192,7 +191,7 @@ export declare namespace MemberListResponse {
|
|
|
192
191
|
*/
|
|
193
192
|
interface User {
|
|
194
193
|
/**
|
|
195
|
-
* The
|
|
194
|
+
* The unique identifier for the company member user.
|
|
196
195
|
*/
|
|
197
196
|
id: string;
|
|
198
197
|
/**
|
|
@@ -219,15 +218,15 @@ export interface MemberListParams extends CursorPageParams {
|
|
|
219
218
|
*/
|
|
220
219
|
before?: string | null;
|
|
221
220
|
/**
|
|
222
|
-
* The
|
|
221
|
+
* The unique identifier of the company to list members for.
|
|
223
222
|
*/
|
|
224
223
|
company_id?: string | null;
|
|
225
224
|
/**
|
|
226
|
-
*
|
|
225
|
+
* Only return members created after this timestamp.
|
|
227
226
|
*/
|
|
228
227
|
created_after?: string | null;
|
|
229
228
|
/**
|
|
230
|
-
*
|
|
229
|
+
* Only return members created before this timestamp.
|
|
231
230
|
*/
|
|
232
231
|
created_before?: string | null;
|
|
233
232
|
/**
|
|
@@ -243,7 +242,7 @@ export interface MemberListParams extends CursorPageParams {
|
|
|
243
242
|
*/
|
|
244
243
|
last?: number | null;
|
|
245
244
|
/**
|
|
246
|
-
*
|
|
245
|
+
* Filter members by their most recent activity type.
|
|
247
246
|
*/
|
|
248
247
|
most_recent_actions?: Array<Shared.MemberMostRecentActions> | null;
|
|
249
248
|
/**
|
|
@@ -251,28 +250,28 @@ export interface MemberListParams extends CursorPageParams {
|
|
|
251
250
|
*/
|
|
252
251
|
order?: 'id' | 'usd_total_spent' | 'created_at' | 'joined_at' | 'most_recent_action' | null;
|
|
253
252
|
/**
|
|
254
|
-
*
|
|
253
|
+
* Filter members to only those subscribed to these specific plans.
|
|
255
254
|
*/
|
|
256
255
|
plan_ids?: Array<string> | null;
|
|
257
256
|
/**
|
|
258
|
-
*
|
|
257
|
+
* Filter members to only those belonging to these specific products.
|
|
259
258
|
*/
|
|
260
259
|
product_ids?: Array<string> | null;
|
|
261
260
|
/**
|
|
262
|
-
*
|
|
261
|
+
* Filter members to only those who used these specific promo codes.
|
|
263
262
|
*/
|
|
264
263
|
promo_code_ids?: Array<string> | null;
|
|
265
264
|
/**
|
|
266
|
-
*
|
|
267
|
-
*
|
|
265
|
+
* Search members by name, username, or email. Email filtering requires the
|
|
266
|
+
* member:email:read permission.
|
|
268
267
|
*/
|
|
269
268
|
query?: string | null;
|
|
270
269
|
/**
|
|
271
|
-
*
|
|
270
|
+
* Filter members by their current subscription status.
|
|
272
271
|
*/
|
|
273
272
|
statuses?: Array<Shared.MemberStatuses> | null;
|
|
274
273
|
/**
|
|
275
|
-
*
|
|
274
|
+
* Filter members to only those matching these specific user identifiers.
|
|
276
275
|
*/
|
|
277
276
|
user_ids?: Array<string> | null;
|
|
278
277
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members.d.mts","sourceRoot":"","sources":["../src/resources/members.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,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AW,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
|
@@ -5,7 +5,7 @@ import { CursorPage, type CursorPageParams, PagePromise } from "../core/paginati
|
|
|
5
5
|
import { RequestOptions } from "../internal/request-options.js";
|
|
6
6
|
export declare class Members extends APIResource {
|
|
7
7
|
/**
|
|
8
|
-
* Retrieves
|
|
8
|
+
* Retrieves the details of an existing member.
|
|
9
9
|
*
|
|
10
10
|
* Required permissions:
|
|
11
11
|
*
|
|
@@ -15,7 +15,8 @@ export declare class Members extends APIResource {
|
|
|
15
15
|
*/
|
|
16
16
|
retrieve(id: string, options?: RequestOptions): APIPromise<MemberRetrieveResponse>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Returns a paginated list of members for a company, with extensive filtering by
|
|
19
|
+
* product, plan, status, access level, and more.
|
|
19
20
|
*
|
|
20
21
|
* Required permissions:
|
|
21
22
|
*
|
|
@@ -27,13 +28,12 @@ export declare class Members extends APIResource {
|
|
|
27
28
|
}
|
|
28
29
|
export type MemberListResponsesCursorPage = CursorPage<MemberListResponse>;
|
|
29
30
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* the connection.
|
|
31
|
+
* A member represents a user's relationship with a company on Whop, including
|
|
32
|
+
* their access level, status, and spending history.
|
|
33
33
|
*/
|
|
34
34
|
export interface MemberRetrieveResponse {
|
|
35
35
|
/**
|
|
36
|
-
* The
|
|
36
|
+
* The unique identifier for the company member.
|
|
37
37
|
*/
|
|
38
38
|
id: string;
|
|
39
39
|
/**
|
|
@@ -52,7 +52,7 @@ export interface MemberRetrieveResponse {
|
|
|
52
52
|
*/
|
|
53
53
|
company_token_balance: number;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* The datetime the company member was created.
|
|
56
56
|
*/
|
|
57
57
|
created_at: string;
|
|
58
58
|
/**
|
|
@@ -76,7 +76,7 @@ export interface MemberRetrieveResponse {
|
|
|
76
76
|
*/
|
|
77
77
|
status: Shared.MemberStatuses;
|
|
78
78
|
/**
|
|
79
|
-
* The
|
|
79
|
+
* The datetime the company member was last updated.
|
|
80
80
|
*/
|
|
81
81
|
updated_at: string;
|
|
82
82
|
/**
|
|
@@ -94,7 +94,7 @@ export declare namespace MemberRetrieveResponse {
|
|
|
94
94
|
*/
|
|
95
95
|
interface Company {
|
|
96
96
|
/**
|
|
97
|
-
* The
|
|
97
|
+
* The unique identifier for the company.
|
|
98
98
|
*/
|
|
99
99
|
id: string;
|
|
100
100
|
/**
|
|
@@ -111,7 +111,7 @@ export declare namespace MemberRetrieveResponse {
|
|
|
111
111
|
*/
|
|
112
112
|
interface User {
|
|
113
113
|
/**
|
|
114
|
-
* The
|
|
114
|
+
* The unique identifier for the company member user.
|
|
115
115
|
*/
|
|
116
116
|
id: string;
|
|
117
117
|
/**
|
|
@@ -129,13 +129,12 @@ export declare namespace MemberRetrieveResponse {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
* the connection.
|
|
132
|
+
* A member represents a user's relationship with a company on Whop, including
|
|
133
|
+
* their access level, status, and spending history.
|
|
135
134
|
*/
|
|
136
135
|
export interface MemberListResponse {
|
|
137
136
|
/**
|
|
138
|
-
* The
|
|
137
|
+
* The unique identifier for the company member.
|
|
139
138
|
*/
|
|
140
139
|
id: string;
|
|
141
140
|
/**
|
|
@@ -150,7 +149,7 @@ export interface MemberListResponse {
|
|
|
150
149
|
*/
|
|
151
150
|
company_token_balance: number;
|
|
152
151
|
/**
|
|
153
|
-
*
|
|
152
|
+
* The datetime the company member was created.
|
|
154
153
|
*/
|
|
155
154
|
created_at: string;
|
|
156
155
|
/**
|
|
@@ -174,7 +173,7 @@ export interface MemberListResponse {
|
|
|
174
173
|
*/
|
|
175
174
|
status: Shared.MemberStatuses;
|
|
176
175
|
/**
|
|
177
|
-
* The
|
|
176
|
+
* The datetime the company member was last updated.
|
|
178
177
|
*/
|
|
179
178
|
updated_at: string;
|
|
180
179
|
/**
|
|
@@ -192,7 +191,7 @@ export declare namespace MemberListResponse {
|
|
|
192
191
|
*/
|
|
193
192
|
interface User {
|
|
194
193
|
/**
|
|
195
|
-
* The
|
|
194
|
+
* The unique identifier for the company member user.
|
|
196
195
|
*/
|
|
197
196
|
id: string;
|
|
198
197
|
/**
|
|
@@ -219,15 +218,15 @@ export interface MemberListParams extends CursorPageParams {
|
|
|
219
218
|
*/
|
|
220
219
|
before?: string | null;
|
|
221
220
|
/**
|
|
222
|
-
* The
|
|
221
|
+
* The unique identifier of the company to list members for.
|
|
223
222
|
*/
|
|
224
223
|
company_id?: string | null;
|
|
225
224
|
/**
|
|
226
|
-
*
|
|
225
|
+
* Only return members created after this timestamp.
|
|
227
226
|
*/
|
|
228
227
|
created_after?: string | null;
|
|
229
228
|
/**
|
|
230
|
-
*
|
|
229
|
+
* Only return members created before this timestamp.
|
|
231
230
|
*/
|
|
232
231
|
created_before?: string | null;
|
|
233
232
|
/**
|
|
@@ -243,7 +242,7 @@ export interface MemberListParams extends CursorPageParams {
|
|
|
243
242
|
*/
|
|
244
243
|
last?: number | null;
|
|
245
244
|
/**
|
|
246
|
-
*
|
|
245
|
+
* Filter members by their most recent activity type.
|
|
247
246
|
*/
|
|
248
247
|
most_recent_actions?: Array<Shared.MemberMostRecentActions> | null;
|
|
249
248
|
/**
|
|
@@ -251,28 +250,28 @@ export interface MemberListParams extends CursorPageParams {
|
|
|
251
250
|
*/
|
|
252
251
|
order?: 'id' | 'usd_total_spent' | 'created_at' | 'joined_at' | 'most_recent_action' | null;
|
|
253
252
|
/**
|
|
254
|
-
*
|
|
253
|
+
* Filter members to only those subscribed to these specific plans.
|
|
255
254
|
*/
|
|
256
255
|
plan_ids?: Array<string> | null;
|
|
257
256
|
/**
|
|
258
|
-
*
|
|
257
|
+
* Filter members to only those belonging to these specific products.
|
|
259
258
|
*/
|
|
260
259
|
product_ids?: Array<string> | null;
|
|
261
260
|
/**
|
|
262
|
-
*
|
|
261
|
+
* Filter members to only those who used these specific promo codes.
|
|
263
262
|
*/
|
|
264
263
|
promo_code_ids?: Array<string> | null;
|
|
265
264
|
/**
|
|
266
|
-
*
|
|
267
|
-
*
|
|
265
|
+
* Search members by name, username, or email. Email filtering requires the
|
|
266
|
+
* member:email:read permission.
|
|
268
267
|
*/
|
|
269
268
|
query?: string | null;
|
|
270
269
|
/**
|
|
271
|
-
*
|
|
270
|
+
* Filter members by their current subscription status.
|
|
272
271
|
*/
|
|
273
272
|
statuses?: Array<Shared.MemberStatuses> | null;
|
|
274
273
|
/**
|
|
275
|
-
*
|
|
274
|
+
* Filter members to only those matching these specific user identifiers.
|
|
276
275
|
*/
|
|
277
276
|
user_ids?: Array<string> | null;
|
|
278
277
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members.d.ts","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,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIlF
|
|
1
|
+
{"version":3,"file":"members.d.ts","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,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIlF;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6BAA6B,EAAE,kBAAkB,CAAC;CAGlE;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,EAAE,MAAM,CAAC,WAAW,CAAC;IAEjC;;OAEG;IACH,OAAO,EAAE,sBAAsB,CAAC,OAAO,CAAC;IAExC;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;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G;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.js
CHANGED
|
@@ -7,7 +7,7 @@ const pagination_1 = require("../core/pagination.js");
|
|
|
7
7
|
const path_1 = require("../internal/utils/path.js");
|
|
8
8
|
class Members extends resource_1.APIResource {
|
|
9
9
|
/**
|
|
10
|
-
* Retrieves
|
|
10
|
+
* Retrieves the details of an existing member.
|
|
11
11
|
*
|
|
12
12
|
* Required permissions:
|
|
13
13
|
*
|
|
@@ -19,7 +19,8 @@ class Members extends resource_1.APIResource {
|
|
|
19
19
|
return this._client.get((0, path_1.path) `/members/${id}`, options);
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Returns a paginated list of members for a company, with extensive filtering by
|
|
23
|
+
* product, plan, status, access level, and more.
|
|
23
24
|
*
|
|
24
25
|
* Required permissions:
|
|
25
26
|
*
|
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,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;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;IAED
|
|
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,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;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;IAED;;;;;;;;;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;CACF;AA9BD,0BA8BC"}
|
package/resources/members.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { CursorPage } from "../core/pagination.mjs";
|
|
|
4
4
|
import { path } from "../internal/utils/path.mjs";
|
|
5
5
|
export class Members extends APIResource {
|
|
6
6
|
/**
|
|
7
|
-
* Retrieves
|
|
7
|
+
* Retrieves the details of an existing member.
|
|
8
8
|
*
|
|
9
9
|
* Required permissions:
|
|
10
10
|
*
|
|
@@ -16,7 +16,8 @@ export class Members extends APIResource {
|
|
|
16
16
|
return this._client.get(path `/members/${id}`, options);
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Returns a paginated list of members for a company, with extensive filtering by
|
|
20
|
+
* product, plan, status, access level, and more.
|
|
20
21
|
*
|
|
21
22
|
* Required permissions:
|
|
22
23
|
*
|
|
@@ -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,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;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;IAED
|
|
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,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;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;IAED;;;;;;;;;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;CACF"}
|