@whop/sdk 0.0.29 → 0.0.31
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 +48 -99
- package/client.d.mts +161 -13
- package/client.d.mts.map +1 -1
- package/client.d.ts +161 -13
- package/client.d.ts.map +1 -1
- package/client.js +158 -7
- package/client.js.map +1 -1
- package/client.mjs +158 -7
- package/client.mjs.map +1 -1
- package/internal/tslib.js +22 -22
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +7 -1
- package/resources/access-tokens.d.mts +3 -0
- package/resources/access-tokens.d.mts.map +1 -1
- package/resources/access-tokens.d.ts +3 -0
- package/resources/access-tokens.d.ts.map +1 -1
- package/resources/access-tokens.js +3 -0
- package/resources/access-tokens.js.map +1 -1
- package/resources/access-tokens.mjs +3 -0
- package/resources/access-tokens.mjs.map +1 -1
- package/resources/account-links.d.mts +3 -0
- package/resources/account-links.d.mts.map +1 -1
- package/resources/account-links.d.ts +3 -0
- package/resources/account-links.d.ts.map +1 -1
- package/resources/account-links.js +3 -0
- package/resources/account-links.js.map +1 -1
- package/resources/account-links.mjs +3 -0
- package/resources/account-links.mjs.map +1 -1
- package/resources/ai-chats.d.mts +8 -0
- package/resources/ai-chats.d.mts.map +1 -1
- package/resources/ai-chats.d.ts +8 -0
- package/resources/ai-chats.d.ts.map +1 -1
- package/resources/ai-chats.js +3 -0
- package/resources/ai-chats.js.map +1 -1
- package/resources/ai-chats.mjs +3 -0
- package/resources/ai-chats.mjs.map +1 -1
- package/resources/app-builds.d.mts +3 -0
- package/resources/app-builds.d.mts.map +1 -1
- package/resources/app-builds.d.ts +3 -0
- package/resources/app-builds.d.ts.map +1 -1
- package/resources/app-builds.js +3 -0
- package/resources/app-builds.js.map +1 -1
- package/resources/app-builds.mjs +3 -0
- package/resources/app-builds.mjs.map +1 -1
- package/resources/apps.d.mts +3 -0
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +3 -0
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +3 -0
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +3 -0
- package/resources/apps.mjs.map +1 -1
- package/resources/authorized-users.d.mts +142 -1
- package/resources/authorized-users.d.mts.map +1 -1
- package/resources/authorized-users.d.ts +142 -1
- package/resources/authorized-users.d.ts.map +1 -1
- package/resources/authorized-users.js +57 -0
- package/resources/authorized-users.js.map +1 -1
- package/resources/authorized-users.mjs +57 -0
- package/resources/authorized-users.mjs.map +1 -1
- package/resources/chat-channels.d.mts +3 -0
- package/resources/chat-channels.d.mts.map +1 -1
- package/resources/chat-channels.d.ts +3 -0
- package/resources/chat-channels.d.ts.map +1 -1
- package/resources/chat-channels.js +3 -0
- package/resources/chat-channels.js.map +1 -1
- package/resources/chat-channels.mjs +3 -0
- package/resources/chat-channels.mjs.map +1 -1
- package/resources/checkout-configurations.d.mts +3 -13
- package/resources/checkout-configurations.d.mts.map +1 -1
- package/resources/checkout-configurations.d.ts +3 -13
- package/resources/checkout-configurations.d.ts.map +1 -1
- package/resources/checkout-configurations.js +3 -0
- package/resources/checkout-configurations.js.map +1 -1
- package/resources/checkout-configurations.mjs +3 -0
- package/resources/checkout-configurations.mjs.map +1 -1
- package/resources/companies.d.mts +54 -34
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +54 -34
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.js +3 -0
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +3 -0
- package/resources/companies.mjs.map +1 -1
- package/resources/company-token-transactions.d.mts +3 -0
- package/resources/company-token-transactions.d.mts.map +1 -1
- package/resources/company-token-transactions.d.ts +3 -0
- package/resources/company-token-transactions.d.ts.map +1 -1
- package/resources/company-token-transactions.js +3 -0
- package/resources/company-token-transactions.js.map +1 -1
- package/resources/company-token-transactions.mjs +3 -0
- package/resources/company-token-transactions.mjs.map +1 -1
- package/resources/course-chapters.d.mts +3 -0
- package/resources/course-chapters.d.mts.map +1 -1
- package/resources/course-chapters.d.ts +3 -0
- package/resources/course-chapters.d.ts.map +1 -1
- package/resources/course-chapters.js +3 -0
- package/resources/course-chapters.js.map +1 -1
- package/resources/course-chapters.mjs +3 -0
- package/resources/course-chapters.mjs.map +1 -1
- package/resources/course-lesson-interactions.d.mts +3 -0
- package/resources/course-lesson-interactions.d.mts.map +1 -1
- package/resources/course-lesson-interactions.d.ts +3 -0
- package/resources/course-lesson-interactions.d.ts.map +1 -1
- package/resources/course-lesson-interactions.js +3 -0
- package/resources/course-lesson-interactions.js.map +1 -1
- package/resources/course-lesson-interactions.mjs +3 -0
- package/resources/course-lesson-interactions.mjs.map +1 -1
- package/resources/course-lessons.d.mts +3 -0
- package/resources/course-lessons.d.mts.map +1 -1
- package/resources/course-lessons.d.ts +3 -0
- package/resources/course-lessons.d.ts.map +1 -1
- package/resources/course-lessons.js +3 -0
- package/resources/course-lessons.js.map +1 -1
- package/resources/course-lessons.mjs +3 -0
- package/resources/course-lessons.mjs.map +1 -1
- package/resources/course-students.d.mts +3 -0
- package/resources/course-students.d.mts.map +1 -1
- package/resources/course-students.d.ts +3 -0
- package/resources/course-students.d.ts.map +1 -1
- package/resources/course-students.js +3 -0
- package/resources/course-students.js.map +1 -1
- package/resources/course-students.mjs +3 -0
- package/resources/course-students.mjs.map +1 -1
- package/resources/courses.d.mts +3 -0
- package/resources/courses.d.mts.map +1 -1
- package/resources/courses.d.ts +3 -0
- package/resources/courses.d.ts.map +1 -1
- package/resources/courses.js +3 -0
- package/resources/courses.js.map +1 -1
- package/resources/courses.mjs +3 -0
- package/resources/courses.mjs.map +1 -1
- package/resources/dispute-alerts.d.mts +3 -0
- package/resources/dispute-alerts.d.mts.map +1 -1
- package/resources/dispute-alerts.d.ts +3 -0
- package/resources/dispute-alerts.d.ts.map +1 -1
- package/resources/dispute-alerts.js +3 -0
- package/resources/dispute-alerts.js.map +1 -1
- package/resources/dispute-alerts.mjs +3 -0
- package/resources/dispute-alerts.mjs.map +1 -1
- package/resources/disputes.d.mts +3 -0
- package/resources/disputes.d.mts.map +1 -1
- package/resources/disputes.d.ts +3 -0
- package/resources/disputes.d.ts.map +1 -1
- package/resources/disputes.js +3 -0
- package/resources/disputes.js.map +1 -1
- package/resources/disputes.mjs +3 -0
- package/resources/disputes.mjs.map +1 -1
- package/resources/dm-channels.d.mts +3 -0
- package/resources/dm-channels.d.mts.map +1 -1
- package/resources/dm-channels.d.ts +3 -0
- package/resources/dm-channels.d.ts.map +1 -1
- package/resources/dm-channels.js +3 -0
- package/resources/dm-channels.js.map +1 -1
- package/resources/dm-channels.mjs +3 -0
- package/resources/dm-channels.mjs.map +1 -1
- package/resources/dm-members.d.mts +3 -0
- package/resources/dm-members.d.mts.map +1 -1
- package/resources/dm-members.d.ts +3 -0
- package/resources/dm-members.d.ts.map +1 -1
- package/resources/dm-members.js +3 -0
- package/resources/dm-members.js.map +1 -1
- package/resources/dm-members.mjs +3 -0
- package/resources/dm-members.mjs.map +1 -1
- package/resources/entries.d.mts +3 -0
- package/resources/entries.d.mts.map +1 -1
- package/resources/entries.d.ts +3 -0
- package/resources/entries.d.ts.map +1 -1
- package/resources/entries.js +3 -0
- package/resources/entries.js.map +1 -1
- package/resources/entries.mjs +3 -0
- package/resources/entries.mjs.map +1 -1
- package/resources/experiences.d.mts +3 -0
- package/resources/experiences.d.mts.map +1 -1
- package/resources/experiences.d.ts +3 -0
- package/resources/experiences.d.ts.map +1 -1
- package/resources/experiences.js +3 -0
- package/resources/experiences.js.map +1 -1
- package/resources/experiences.mjs +3 -0
- package/resources/experiences.mjs.map +1 -1
- package/resources/fee-markups.d.mts +3 -0
- package/resources/fee-markups.d.mts.map +1 -1
- package/resources/fee-markups.d.ts +3 -0
- package/resources/fee-markups.d.ts.map +1 -1
- package/resources/fee-markups.js +3 -0
- package/resources/fee-markups.js.map +1 -1
- package/resources/fee-markups.mjs +3 -0
- package/resources/fee-markups.mjs.map +1 -1
- package/resources/files.d.mts +3 -0
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +3 -0
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +3 -0
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +3 -0
- package/resources/files.mjs.map +1 -1
- package/resources/forum-posts.d.mts +38 -0
- package/resources/forum-posts.d.mts.map +1 -1
- package/resources/forum-posts.d.ts +38 -0
- package/resources/forum-posts.d.ts.map +1 -1
- package/resources/forum-posts.js +3 -0
- package/resources/forum-posts.js.map +1 -1
- package/resources/forum-posts.mjs +3 -0
- package/resources/forum-posts.mjs.map +1 -1
- package/resources/forums.d.mts +20 -0
- package/resources/forums.d.mts.map +1 -1
- package/resources/forums.d.ts +20 -0
- package/resources/forums.d.ts.map +1 -1
- package/resources/forums.js +3 -0
- package/resources/forums.js.map +1 -1
- package/resources/forums.mjs +3 -0
- package/resources/forums.mjs.map +1 -1
- package/resources/index.d.mts +5 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -5
- 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 +141 -8
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +141 -8
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +4 -4
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +4 -4
- package/resources/invoices.mjs.map +1 -1
- package/resources/leads.d.mts +3 -0
- package/resources/leads.d.mts.map +1 -1
- package/resources/leads.d.ts +3 -0
- package/resources/leads.d.ts.map +1 -1
- package/resources/leads.js +3 -0
- package/resources/leads.js.map +1 -1
- package/resources/leads.mjs +3 -0
- package/resources/leads.mjs.map +1 -1
- package/resources/ledger-accounts.d.mts +3 -0
- package/resources/ledger-accounts.d.mts.map +1 -1
- package/resources/ledger-accounts.d.ts +3 -0
- package/resources/ledger-accounts.d.ts.map +1 -1
- package/resources/ledger-accounts.js +3 -0
- package/resources/ledger-accounts.js.map +1 -1
- package/resources/ledger-accounts.mjs +3 -0
- package/resources/ledger-accounts.mjs.map +1 -1
- package/resources/members.d.mts +3 -0
- package/resources/members.d.mts.map +1 -1
- package/resources/members.d.ts +3 -0
- package/resources/members.d.ts.map +1 -1
- package/resources/members.js +3 -0
- package/resources/members.js.map +1 -1
- package/resources/members.mjs +3 -0
- package/resources/members.mjs.map +1 -1
- package/resources/memberships.d.mts +81 -2
- package/resources/memberships.d.mts.map +1 -1
- package/resources/memberships.d.ts +81 -2
- package/resources/memberships.d.ts.map +1 -1
- package/resources/memberships.js +75 -1
- package/resources/memberships.js.map +1 -1
- package/resources/memberships.mjs +75 -1
- package/resources/memberships.mjs.map +1 -1
- package/resources/messages.d.mts +12 -0
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +12 -0
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +3 -0
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +3 -0
- package/resources/messages.mjs.map +1 -1
- package/resources/notifications.d.mts +3 -0
- package/resources/notifications.d.mts.map +1 -1
- package/resources/notifications.d.ts +3 -0
- package/resources/notifications.d.ts.map +1 -1
- package/resources/notifications.js +3 -0
- package/resources/notifications.js.map +1 -1
- package/resources/notifications.mjs +3 -0
- package/resources/notifications.mjs.map +1 -1
- package/resources/payment-methods.d.mts +3 -0
- package/resources/payment-methods.d.mts.map +1 -1
- package/resources/payment-methods.d.ts +3 -0
- package/resources/payment-methods.d.ts.map +1 -1
- package/resources/payment-methods.js +3 -0
- package/resources/payment-methods.js.map +1 -1
- package/resources/payment-methods.mjs +3 -0
- package/resources/payment-methods.mjs.map +1 -1
- package/resources/payments.d.mts +19 -15
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +19 -15
- package/resources/payments.d.ts.map +1 -1
- package/resources/payments.js +3 -0
- package/resources/payments.js.map +1 -1
- package/resources/payments.mjs +3 -0
- package/resources/payments.mjs.map +1 -1
- package/resources/payout-methods.d.mts +3 -0
- package/resources/payout-methods.d.mts.map +1 -1
- package/resources/payout-methods.d.ts +3 -0
- package/resources/payout-methods.d.ts.map +1 -1
- package/resources/payout-methods.js +3 -0
- package/resources/payout-methods.js.map +1 -1
- package/resources/payout-methods.mjs +3 -0
- package/resources/payout-methods.mjs.map +1 -1
- package/resources/plans.d.mts +3 -0
- package/resources/plans.d.mts.map +1 -1
- package/resources/plans.d.ts +3 -0
- package/resources/plans.d.ts.map +1 -1
- package/resources/plans.js +3 -0
- package/resources/plans.js.map +1 -1
- package/resources/plans.mjs +3 -0
- package/resources/plans.mjs.map +1 -1
- package/resources/products.d.mts +4 -29
- package/resources/products.d.mts.map +1 -1
- package/resources/products.d.ts +4 -29
- package/resources/products.d.ts.map +1 -1
- package/resources/products.js +3 -0
- package/resources/products.js.map +1 -1
- package/resources/products.mjs +3 -0
- package/resources/products.mjs.map +1 -1
- package/resources/promo-codes.d.mts +3 -0
- package/resources/promo-codes.d.mts.map +1 -1
- package/resources/promo-codes.d.ts +3 -0
- package/resources/promo-codes.d.ts.map +1 -1
- package/resources/promo-codes.js +3 -0
- package/resources/promo-codes.js.map +1 -1
- package/resources/promo-codes.mjs +3 -0
- package/resources/promo-codes.mjs.map +1 -1
- package/resources/reactions.d.mts +3 -0
- package/resources/reactions.d.mts.map +1 -1
- package/resources/reactions.d.ts +3 -0
- package/resources/reactions.d.ts.map +1 -1
- package/resources/reactions.js +3 -0
- package/resources/reactions.js.map +1 -1
- package/resources/reactions.mjs +3 -0
- package/resources/reactions.mjs.map +1 -1
- package/resources/refunds.d.mts +17 -1
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +17 -1
- package/resources/refunds.d.ts.map +1 -1
- package/resources/refunds.js +3 -0
- package/resources/refunds.js.map +1 -1
- package/resources/refunds.mjs +3 -0
- package/resources/refunds.mjs.map +1 -1
- package/resources/reviews.d.mts +3 -0
- package/resources/reviews.d.mts.map +1 -1
- package/resources/reviews.d.ts +3 -0
- package/resources/reviews.d.ts.map +1 -1
- package/resources/reviews.js +3 -0
- package/resources/reviews.js.map +1 -1
- package/resources/reviews.mjs +3 -0
- package/resources/reviews.mjs.map +1 -1
- package/resources/setup-intents.d.mts +3 -0
- package/resources/setup-intents.d.mts.map +1 -1
- package/resources/setup-intents.d.ts +3 -0
- package/resources/setup-intents.d.ts.map +1 -1
- package/resources/setup-intents.js +3 -0
- package/resources/setup-intents.js.map +1 -1
- package/resources/setup-intents.mjs +3 -0
- package/resources/setup-intents.mjs.map +1 -1
- package/resources/shared.d.mts +55 -34
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +55 -34
- package/resources/shared.d.ts.map +1 -1
- package/resources/shipments.d.mts +3 -0
- package/resources/shipments.d.mts.map +1 -1
- package/resources/shipments.d.ts +3 -0
- package/resources/shipments.d.ts.map +1 -1
- package/resources/shipments.js +3 -0
- package/resources/shipments.js.map +1 -1
- package/resources/shipments.mjs +3 -0
- package/resources/shipments.mjs.map +1 -1
- package/resources/support-channels.d.mts +3 -0
- package/resources/support-channels.d.mts.map +1 -1
- package/resources/support-channels.d.ts +3 -0
- package/resources/support-channels.d.ts.map +1 -1
- package/resources/support-channels.js +3 -0
- package/resources/support-channels.js.map +1 -1
- package/resources/support-channels.mjs +3 -0
- package/resources/support-channels.mjs.map +1 -1
- package/resources/topups.d.mts +3 -0
- package/resources/topups.d.mts.map +1 -1
- package/resources/topups.d.ts +3 -0
- package/resources/topups.d.ts.map +1 -1
- package/resources/topups.js +3 -0
- package/resources/topups.js.map +1 -1
- package/resources/topups.mjs +3 -0
- package/resources/topups.mjs.map +1 -1
- package/resources/transfers.d.mts +3 -0
- package/resources/transfers.d.mts.map +1 -1
- package/resources/transfers.d.ts +3 -0
- package/resources/transfers.d.ts.map +1 -1
- package/resources/transfers.js +3 -0
- package/resources/transfers.js.map +1 -1
- package/resources/transfers.mjs +3 -0
- package/resources/transfers.mjs.map +1 -1
- package/resources/users.d.mts +3 -0
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +3 -0
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +3 -0
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +3 -0
- package/resources/users.mjs.map +1 -1
- package/resources/verifications.d.mts +3 -0
- package/resources/verifications.d.mts.map +1 -1
- package/resources/verifications.d.ts +3 -0
- package/resources/verifications.d.ts.map +1 -1
- package/resources/verifications.js +3 -0
- package/resources/verifications.js.map +1 -1
- package/resources/verifications.mjs +3 -0
- package/resources/verifications.mjs.map +1 -1
- package/resources/webhooks.d.mts +29 -0
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +29 -0
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +3 -0
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +3 -0
- package/resources/webhooks.mjs.map +1 -1
- package/resources/withdrawals.d.mts +3 -0
- package/resources/withdrawals.d.mts.map +1 -1
- package/resources/withdrawals.d.ts +3 -0
- package/resources/withdrawals.d.ts.map +1 -1
- package/resources/withdrawals.js +3 -0
- package/resources/withdrawals.js.map +1 -1
- package/resources/withdrawals.mjs +3 -0
- package/resources/withdrawals.mjs.map +1 -1
- package/src/client.ts +175 -14
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/access-tokens.ts +3 -0
- package/src/resources/account-links.ts +3 -0
- package/src/resources/ai-chats.ts +9 -0
- package/src/resources/app-builds.ts +3 -0
- package/src/resources/apps.ts +3 -0
- package/src/resources/authorized-users.ts +175 -0
- package/src/resources/chat-channels.ts +3 -0
- package/src/resources/checkout-configurations.ts +3 -16
- package/src/resources/companies.ts +72 -41
- package/src/resources/company-token-transactions.ts +3 -0
- package/src/resources/course-chapters.ts +3 -0
- package/src/resources/course-lesson-interactions.ts +3 -0
- package/src/resources/course-lessons.ts +3 -0
- package/src/resources/course-students.ts +3 -0
- package/src/resources/courses.ts +3 -0
- package/src/resources/dispute-alerts.ts +3 -0
- package/src/resources/disputes.ts +3 -0
- package/src/resources/dm-channels.ts +3 -0
- package/src/resources/dm-members.ts +3 -0
- package/src/resources/entries.ts +3 -0
- package/src/resources/experiences.ts +3 -0
- package/src/resources/fee-markups.ts +3 -0
- package/src/resources/files.ts +3 -0
- package/src/resources/forum-posts.ts +44 -0
- package/src/resources/forums.ts +22 -0
- package/src/resources/index.ts +7 -1
- package/src/resources/invoices.ts +162 -9
- package/src/resources/leads.ts +3 -0
- package/src/resources/ledger-accounts.ts +3 -0
- package/src/resources/members.ts +3 -0
- package/src/resources/memberships.ts +89 -1
- package/src/resources/messages.ts +14 -0
- package/src/resources/notifications.ts +3 -0
- package/src/resources/payment-methods.ts +3 -0
- package/src/resources/payments.ts +22 -16
- package/src/resources/payout-methods.ts +3 -0
- package/src/resources/plans.ts +3 -0
- package/src/resources/products.ts +3 -174
- package/src/resources/promo-codes.ts +3 -0
- package/src/resources/reactions.ts +3 -0
- package/src/resources/refunds.ts +21 -1
- package/src/resources/reviews.ts +3 -0
- package/src/resources/setup-intents.ts +3 -0
- package/src/resources/shared.ts +66 -2011
- package/src/resources/shipments.ts +3 -0
- package/src/resources/support-channels.ts +3 -0
- package/src/resources/topups.ts +3 -0
- package/src/resources/transfers.ts +3 -0
- package/src/resources/users.ts +3 -0
- package/src/resources/verifications.ts +3 -0
- package/src/resources/webhooks.ts +35 -0
- package/src/resources/withdrawals.ts +3 -0
- 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
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
4
|
import * as PaymentsAPI from './payments';
|
|
5
|
-
import * as ProductsAPI from './products';
|
|
6
5
|
import * as Shared from './shared';
|
|
7
6
|
import { APIPromise } from '../core/api-promise';
|
|
8
7
|
import { CursorPage, type CursorPageParams, PagePromise } from '../core/pagination';
|
|
9
8
|
import { RequestOptions } from '../internal/request-options';
|
|
10
9
|
import { path } from '../internal/utils/path';
|
|
11
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Checkout configurations
|
|
13
|
+
*/
|
|
12
14
|
export class CheckoutConfigurations extends APIResource {
|
|
13
15
|
/**
|
|
14
16
|
* Creates a new checkout configuration
|
|
@@ -495,11 +497,6 @@ export declare namespace CheckoutConfigurationCreateParams {
|
|
|
495
497
|
*/
|
|
496
498
|
title: string;
|
|
497
499
|
|
|
498
|
-
/**
|
|
499
|
-
* The different business types a company can be.
|
|
500
|
-
*/
|
|
501
|
-
business_type?: Shared.BusinessTypes | null;
|
|
502
|
-
|
|
503
500
|
/**
|
|
504
501
|
* Whether or not to collect shipping information at checkout from the customer.
|
|
505
502
|
*/
|
|
@@ -532,16 +529,6 @@ export declare namespace CheckoutConfigurationCreateParams {
|
|
|
532
529
|
*/
|
|
533
530
|
headline?: string | null;
|
|
534
531
|
|
|
535
|
-
/**
|
|
536
|
-
* The different industry groups a company can be in.
|
|
537
|
-
*/
|
|
538
|
-
industry_group?: ProductsAPI.IndustryGroups | null;
|
|
539
|
-
|
|
540
|
-
/**
|
|
541
|
-
* The different industry types a company can be in.
|
|
542
|
-
*/
|
|
543
|
-
industry_type?: Shared.IndustryTypes | null;
|
|
544
|
-
|
|
545
532
|
/**
|
|
546
533
|
* The ID of the product tax code to apply to this product.
|
|
547
534
|
*/
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
-
import * as
|
|
4
|
+
import * as CompaniesAPI from './companies';
|
|
5
5
|
import * as Shared from './shared';
|
|
6
6
|
import { APIPromise } from '../core/api-promise';
|
|
7
7
|
import { CursorPage, type CursorPageParams, PagePromise } from '../core/pagination';
|
|
8
8
|
import { RequestOptions } from '../internal/request-options';
|
|
9
9
|
import { path } from '../internal/utils/path';
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Companies
|
|
13
|
+
*/
|
|
11
14
|
export class Companies extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* Create a new company. Pass parent_company_id to create a connected account under
|
|
@@ -68,6 +71,20 @@ export class Companies extends APIResource {
|
|
|
68
71
|
|
|
69
72
|
export type CompanyListResponsesCursorPage = CursorPage<CompanyListResponse>;
|
|
70
73
|
|
|
74
|
+
/**
|
|
75
|
+
* The different websites you can have social links for
|
|
76
|
+
*/
|
|
77
|
+
export type SocialLinkWebsites =
|
|
78
|
+
| 'x'
|
|
79
|
+
| 'instagram'
|
|
80
|
+
| 'facebook'
|
|
81
|
+
| 'tiktok'
|
|
82
|
+
| 'youtube'
|
|
83
|
+
| 'linkedin'
|
|
84
|
+
| 'twitch'
|
|
85
|
+
| 'website'
|
|
86
|
+
| 'custom';
|
|
87
|
+
|
|
71
88
|
/**
|
|
72
89
|
* A company is a seller on Whop. Companies own products, manage members, and
|
|
73
90
|
* receive payouts.
|
|
@@ -78,11 +95,6 @@ export interface CompanyListResponse {
|
|
|
78
95
|
*/
|
|
79
96
|
id: string;
|
|
80
97
|
|
|
81
|
-
/**
|
|
82
|
-
* The different business types a company can be.
|
|
83
|
-
*/
|
|
84
|
-
business_type: Shared.BusinessTypes | null;
|
|
85
|
-
|
|
86
98
|
/**
|
|
87
99
|
* The datetime the company was created.
|
|
88
100
|
*/
|
|
@@ -94,11 +106,6 @@ export interface CompanyListResponse {
|
|
|
94
106
|
*/
|
|
95
107
|
description: string | null;
|
|
96
108
|
|
|
97
|
-
/**
|
|
98
|
-
* The different industry types a company can be in.
|
|
99
|
-
*/
|
|
100
|
-
industry_type: Shared.IndustryTypes | null;
|
|
101
|
-
|
|
102
109
|
/**
|
|
103
110
|
* The company's logo.
|
|
104
111
|
*/
|
|
@@ -193,11 +200,6 @@ export interface CompanyCreateParams {
|
|
|
193
200
|
*/
|
|
194
201
|
title: string;
|
|
195
202
|
|
|
196
|
-
/**
|
|
197
|
-
* The different business types a company can be.
|
|
198
|
-
*/
|
|
199
|
-
business_type?: Shared.BusinessTypes | null;
|
|
200
|
-
|
|
201
203
|
/**
|
|
202
204
|
* A promotional pitch displayed to potential customers on the company's store
|
|
203
205
|
* page.
|
|
@@ -210,16 +212,6 @@ export interface CompanyCreateParams {
|
|
|
210
212
|
*/
|
|
211
213
|
email?: string | null;
|
|
212
214
|
|
|
213
|
-
/**
|
|
214
|
-
* The different industry groups a company can be in.
|
|
215
|
-
*/
|
|
216
|
-
industry_group?: ProductsAPI.IndustryGroups | null;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* The different industry types a company can be in.
|
|
220
|
-
*/
|
|
221
|
-
industry_type?: Shared.IndustryTypes | null;
|
|
222
|
-
|
|
223
215
|
/**
|
|
224
216
|
* The company's logo image. Accepts PNG, JPEG, or GIF format.
|
|
225
217
|
*/
|
|
@@ -262,27 +254,12 @@ export interface CompanyUpdateParams {
|
|
|
262
254
|
*/
|
|
263
255
|
banner_image?: CompanyUpdateParams.BannerImage | null;
|
|
264
256
|
|
|
265
|
-
/**
|
|
266
|
-
* The different business types a company can be.
|
|
267
|
-
*/
|
|
268
|
-
business_type?: Shared.BusinessTypes | null;
|
|
269
|
-
|
|
270
257
|
/**
|
|
271
258
|
* A promotional pitch displayed to potential customers on the company's store
|
|
272
259
|
* page.
|
|
273
260
|
*/
|
|
274
261
|
description?: string | null;
|
|
275
262
|
|
|
276
|
-
/**
|
|
277
|
-
* The different industry groups a company can be in.
|
|
278
|
-
*/
|
|
279
|
-
industry_group?: ProductsAPI.IndustryGroups | null;
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* The different industry types a company can be in.
|
|
283
|
-
*/
|
|
284
|
-
industry_type?: Shared.IndustryTypes | null;
|
|
285
|
-
|
|
286
263
|
/**
|
|
287
264
|
* The company's logo image. Accepts PNG, JPEG, or GIF format.
|
|
288
265
|
*/
|
|
@@ -301,6 +278,12 @@ export interface CompanyUpdateParams {
|
|
|
301
278
|
*/
|
|
302
279
|
send_customer_emails?: boolean | null;
|
|
303
280
|
|
|
281
|
+
/**
|
|
282
|
+
* The social media links to display on the company's store page. Pass the full
|
|
283
|
+
* list of desired social links — any existing links not included will be removed.
|
|
284
|
+
*/
|
|
285
|
+
social_links?: Array<CompanyUpdateParams.SocialLink> | null;
|
|
286
|
+
|
|
304
287
|
/**
|
|
305
288
|
* The target audience for this company (e.g., 'beginner day traders aged 18-25
|
|
306
289
|
* looking to learn options').
|
|
@@ -333,6 +316,53 @@ export namespace CompanyUpdateParams {
|
|
|
333
316
|
*/
|
|
334
317
|
id: string;
|
|
335
318
|
}
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Input for creating a social link for a company
|
|
322
|
+
*/
|
|
323
|
+
export interface SocialLink {
|
|
324
|
+
/**
|
|
325
|
+
* The URL of the social link
|
|
326
|
+
*/
|
|
327
|
+
url: string;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* The website this link is for
|
|
331
|
+
*/
|
|
332
|
+
website: CompaniesAPI.SocialLinkWebsites;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* The custom image for the social link
|
|
336
|
+
*/
|
|
337
|
+
image?: SocialLink.Image | null;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* The order of the social link
|
|
341
|
+
*/
|
|
342
|
+
order?: string | null;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* The title of the social link
|
|
346
|
+
*/
|
|
347
|
+
title?: string | null;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* The order of the website social link
|
|
351
|
+
*/
|
|
352
|
+
website_order?: string | null;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export namespace SocialLink {
|
|
356
|
+
/**
|
|
357
|
+
* The custom image for the social link
|
|
358
|
+
*/
|
|
359
|
+
export interface Image {
|
|
360
|
+
/**
|
|
361
|
+
* The ID of an existing file object.
|
|
362
|
+
*/
|
|
363
|
+
id: string;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
336
366
|
}
|
|
337
367
|
|
|
338
368
|
export interface CompanyListParams extends CursorPageParams {
|
|
@@ -376,6 +406,7 @@ export interface CompanyListParams extends CursorPageParams {
|
|
|
376
406
|
|
|
377
407
|
export declare namespace Companies {
|
|
378
408
|
export {
|
|
409
|
+
type SocialLinkWebsites as SocialLinkWebsites,
|
|
379
410
|
type CompanyListResponse as CompanyListResponse,
|
|
380
411
|
type CompanyListResponsesCursorPage as CompanyListResponsesCursorPage,
|
|
381
412
|
type CompanyCreateParams as CompanyCreateParams,
|
|
@@ -6,6 +6,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
7
|
import { path } from '../internal/utils/path';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Company token transactions
|
|
11
|
+
*/
|
|
9
12
|
export class CompanyTokenTransactions extends APIResource {
|
|
10
13
|
/**
|
|
11
14
|
* Create a token transaction to add, subtract, or transfer tokens for a member
|
|
@@ -6,6 +6,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
7
|
import { path } from '../internal/utils/path';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Course chapters
|
|
11
|
+
*/
|
|
9
12
|
export class CourseChapters extends APIResource {
|
|
10
13
|
/**
|
|
11
14
|
* Create a new chapter within a course to organize lessons into sections.
|
|
@@ -8,6 +8,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
8
8
|
import { RequestOptions } from '../internal/request-options';
|
|
9
9
|
import { path } from '../internal/utils/path';
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Course lesson interactions
|
|
13
|
+
*/
|
|
11
14
|
export class CourseLessonInteractions extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* Retrieves the details of an existing course lesson interaction.
|
|
@@ -7,6 +7,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Course lessons
|
|
12
|
+
*/
|
|
10
13
|
export class CourseLessons extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* Create a new lesson within a course chapter. Lessons can contain video, text, or
|
|
@@ -6,6 +6,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
7
|
import { path } from '../internal/utils/path';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Course students
|
|
11
|
+
*/
|
|
9
12
|
export class CourseStudents extends APIResource {
|
|
10
13
|
/**
|
|
11
14
|
* Retrieves the details of an existing course student.
|
package/src/resources/courses.ts
CHANGED
|
@@ -7,6 +7,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Courses
|
|
12
|
+
*/
|
|
10
13
|
export class Courses extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* Create a new course within an experience, with optional chapters, lessons, and a
|
|
@@ -9,6 +9,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
9
9
|
import { RequestOptions } from '../internal/request-options';
|
|
10
10
|
import { path } from '../internal/utils/path';
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Dispute alerts
|
|
14
|
+
*/
|
|
12
15
|
export class DisputeAlerts extends APIResource {
|
|
13
16
|
/**
|
|
14
17
|
* Retrieves the details of an existing dispute alert.
|
|
@@ -8,6 +8,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
8
8
|
import { RequestOptions } from '../internal/request-options';
|
|
9
9
|
import { path } from '../internal/utils/path';
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Disputes
|
|
13
|
+
*/
|
|
11
14
|
export class Disputes extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* Retrieves the details of an existing dispute.
|
|
@@ -6,6 +6,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
7
|
import { path } from '../internal/utils/path';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Dm channels
|
|
11
|
+
*/
|
|
9
12
|
export class DmChannels extends APIResource {
|
|
10
13
|
/**
|
|
11
14
|
* Create a new DM channel between two or more users, optionally scoped to a
|
|
@@ -6,6 +6,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
7
|
import { path } from '../internal/utils/path';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Dm members
|
|
11
|
+
*/
|
|
9
12
|
export class DmMembers extends APIResource {
|
|
10
13
|
/**
|
|
11
14
|
* Add a new user to an existing DM channel. Only an admin of the channel can add
|
package/src/resources/entries.ts
CHANGED
|
@@ -7,6 +7,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Entries
|
|
12
|
+
*/
|
|
10
13
|
export class Entries extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* Retrieves the details of an existing waitlist entry.
|
|
@@ -7,6 +7,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Experiences
|
|
12
|
+
*/
|
|
10
13
|
export class Experiences extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* Required permissions:
|
|
@@ -6,6 +6,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
7
|
import { path } from '../internal/utils/path';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Fee markups
|
|
11
|
+
*/
|
|
9
12
|
export class FeeMarkups extends APIResource {
|
|
10
13
|
/**
|
|
11
14
|
* Create or update a fee markup for a company. If a markup for the specified fee
|
package/src/resources/files.ts
CHANGED
|
@@ -7,6 +7,9 @@ import { path } from '../internal/utils/path';
|
|
|
7
7
|
import type { ToFileInput, Uploadable } from '../core/uploads';
|
|
8
8
|
import { uploadFile } from '../lib/upload-file';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Files
|
|
12
|
+
*/
|
|
10
13
|
export class Files extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* Create a new file record and receive a presigned URL for uploading content to
|
|
@@ -7,6 +7,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Forum posts
|
|
12
|
+
*/
|
|
10
13
|
export class ForumPosts extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* Create a new forum post or comment within an experience. Supports text content,
|
|
@@ -108,6 +111,11 @@ export interface ForumPostListResponse {
|
|
|
108
111
|
*/
|
|
109
112
|
id: string;
|
|
110
113
|
|
|
114
|
+
/**
|
|
115
|
+
* All file attachments on this post, such as images, documents, and videos.
|
|
116
|
+
*/
|
|
117
|
+
attachments: Array<ForumPostListResponse.Attachment>;
|
|
118
|
+
|
|
111
119
|
/**
|
|
112
120
|
* The total number of direct comments on this post.
|
|
113
121
|
*/
|
|
@@ -171,6 +179,36 @@ export interface ForumPostListResponse {
|
|
|
171
179
|
}
|
|
172
180
|
|
|
173
181
|
export namespace ForumPostListResponse {
|
|
182
|
+
/**
|
|
183
|
+
* Represents an image attachment
|
|
184
|
+
*/
|
|
185
|
+
export interface Attachment {
|
|
186
|
+
/**
|
|
187
|
+
* Represents a unique identifier that is Base64 obfuscated. It is often used to
|
|
188
|
+
* refetch an object or as key for a cache. The ID type appears in a JSON response
|
|
189
|
+
* as a String; however, it is not intended to be human-readable. When expected as
|
|
190
|
+
* an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`)
|
|
191
|
+
* input value will be accepted as an ID.
|
|
192
|
+
*/
|
|
193
|
+
id: string;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* The MIME type of the uploaded file (e.g., image/jpeg, video/mp4, audio/mpeg).
|
|
197
|
+
*/
|
|
198
|
+
content_type: string | null;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* The original filename of the uploaded attachment, including its file extension.
|
|
202
|
+
*/
|
|
203
|
+
filename: string | null;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* A pre-optimized URL for rendering this attachment on the client. This should be
|
|
207
|
+
* used for displaying attachments in apps.
|
|
208
|
+
*/
|
|
209
|
+
url: string | null;
|
|
210
|
+
}
|
|
211
|
+
|
|
174
212
|
/**
|
|
175
213
|
* The user who authored this forum post.
|
|
176
214
|
*/
|
|
@@ -251,6 +289,12 @@ export interface ForumPostCreateParams {
|
|
|
251
289
|
*/
|
|
252
290
|
poll?: ForumPostCreateParams.Poll | null;
|
|
253
291
|
|
|
292
|
+
/**
|
|
293
|
+
* The rich content of the post in Tiptap JSON format. When provided, takes
|
|
294
|
+
* priority over the markdown content field for rendering.
|
|
295
|
+
*/
|
|
296
|
+
rich_content?: string | null;
|
|
297
|
+
|
|
254
298
|
/**
|
|
255
299
|
* The title of the post, displayed prominently at the top. Required for paywalled
|
|
256
300
|
* posts as it remains visible to non-purchasers.
|
package/src/resources/forums.ts
CHANGED
|
@@ -7,6 +7,9 @@ import { CursorPage, type CursorPageParams, PagePromise } from '../core/paginati
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Forums
|
|
12
|
+
*/
|
|
10
13
|
export class Forums extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* Retrieves the details of an existing forum.
|
|
@@ -106,6 +109,12 @@ export namespace ForumListResponse {
|
|
|
106
109
|
}
|
|
107
110
|
|
|
108
111
|
export interface ForumUpdateParams {
|
|
112
|
+
/**
|
|
113
|
+
* The banner image displayed at the top of the forum page. Pass null to remove the
|
|
114
|
+
* existing banner.
|
|
115
|
+
*/
|
|
116
|
+
banner_image?: ForumUpdateParams.BannerImage | null;
|
|
117
|
+
|
|
109
118
|
/**
|
|
110
119
|
* Email notification preference option for a forum feed
|
|
111
120
|
*/
|
|
@@ -122,6 +131,19 @@ export interface ForumUpdateParams {
|
|
|
122
131
|
who_can_post?: Shared.WhoCanPostTypes | null;
|
|
123
132
|
}
|
|
124
133
|
|
|
134
|
+
export namespace ForumUpdateParams {
|
|
135
|
+
/**
|
|
136
|
+
* The banner image displayed at the top of the forum page. Pass null to remove the
|
|
137
|
+
* existing banner.
|
|
138
|
+
*/
|
|
139
|
+
export interface BannerImage {
|
|
140
|
+
/**
|
|
141
|
+
* The ID of an existing file object.
|
|
142
|
+
*/
|
|
143
|
+
id: string;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
125
147
|
export interface ForumListParams extends CursorPageParams {
|
|
126
148
|
/**
|
|
127
149
|
* The unique identifier of the company to list forums for.
|
package/src/resources/index.ts
CHANGED
|
@@ -31,9 +31,13 @@ export {
|
|
|
31
31
|
} from './apps';
|
|
32
32
|
export {
|
|
33
33
|
AuthorizedUsers,
|
|
34
|
+
type AuthorizedUserCreateResponse,
|
|
34
35
|
type AuthorizedUserRetrieveResponse,
|
|
35
36
|
type AuthorizedUserListResponse,
|
|
37
|
+
type AuthorizedUserDeleteResponse,
|
|
38
|
+
type AuthorizedUserCreateParams,
|
|
36
39
|
type AuthorizedUserListParams,
|
|
40
|
+
type AuthorizedUserDeleteParams,
|
|
37
41
|
type AuthorizedUserListResponsesCursorPage,
|
|
38
42
|
} from './authorized-users';
|
|
39
43
|
export {
|
|
@@ -53,6 +57,7 @@ export {
|
|
|
53
57
|
} from './checkout-configurations';
|
|
54
58
|
export {
|
|
55
59
|
Companies,
|
|
60
|
+
type SocialLinkWebsites,
|
|
56
61
|
type CompanyListResponse,
|
|
57
62
|
type CompanyCreateParams,
|
|
58
63
|
type CompanyUpdateParams,
|
|
@@ -239,6 +244,7 @@ export {
|
|
|
239
244
|
type MembershipListResponse,
|
|
240
245
|
type MembershipUpdateParams,
|
|
241
246
|
type MembershipListParams,
|
|
247
|
+
type MembershipAddFreeDaysParams,
|
|
242
248
|
type MembershipCancelParams,
|
|
243
249
|
type MembershipPauseParams,
|
|
244
250
|
type MembershipListResponsesCursorPage,
|
|
@@ -270,6 +276,7 @@ export {
|
|
|
270
276
|
type BillingReasons,
|
|
271
277
|
type CardBrands,
|
|
272
278
|
type PaymentMethodTypes,
|
|
279
|
+
type ReceiptTaxBehavior,
|
|
273
280
|
type PaymentListResponse,
|
|
274
281
|
type PaymentListFeesResponse,
|
|
275
282
|
type PaymentCreateParams,
|
|
@@ -298,7 +305,6 @@ export {
|
|
|
298
305
|
} from './plans';
|
|
299
306
|
export {
|
|
300
307
|
Products,
|
|
301
|
-
type IndustryGroups,
|
|
302
308
|
type ProductDeleteResponse,
|
|
303
309
|
type ProductCreateParams,
|
|
304
310
|
type ProductUpdateParams,
|