@whop/sdk 0.0.38 → 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 +39 -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 +77 -49
- package/resources/checkout-configurations.d.mts.map +1 -1
- package/resources/checkout-configurations.d.ts +77 -49
- 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 +89 -84
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +89 -84
- 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 +67 -47
- package/resources/memberships.d.mts.map +1 -1
- package/resources/memberships.d.ts +67 -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 +177 -145
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +177 -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 +130 -72
- package/resources/plans.d.mts.map +1 -1
- package/resources/plans.d.ts +130 -72
- 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 +100 -6
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +100 -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 +42 -38
- package/resources/support-channels.d.mts.map +1 -1
- package/resources/support-channels.d.ts +42 -38
- package/resources/support-channels.d.ts.map +1 -1
- package/resources/support-channels.js +21 -23
- package/resources/support-channels.js.map +1 -1
- package/resources/support-channels.mjs +21 -23
- 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 +101 -67
- 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 +22 -0
- 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 +116 -110
- 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 +80 -61
- package/src/resources/messages.ts +48 -48
- package/src/resources/payment-methods.ts +30 -30
- package/src/resources/payments.ts +229 -183
- package/src/resources/payout-accounts.ts +1 -1
- package/src/resources/payout-methods.ts +11 -11
- package/src/resources/plans.ts +153 -90
- 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 +107 -5
- package/src/resources/shipments.ts +44 -44
- package/src/resources/support-channels.ts +54 -49
- 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
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as AdGroupsAPI from "./ad-groups.mjs";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
4
|
+
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.mjs";
|
|
5
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
6
|
+
/**
|
|
7
|
+
* Ad campaigns
|
|
8
|
+
*/
|
|
9
|
+
export declare class AdCampaigns extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Returns a paginated list of ad campaigns for a company, with optional filtering
|
|
12
|
+
* by status, and creation date.
|
|
13
|
+
*
|
|
14
|
+
* Required permissions:
|
|
15
|
+
*
|
|
16
|
+
* - `ad_campaign:basic:read`
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* // Automatically fetches more pages as needed.
|
|
21
|
+
* for await (const adCampaignListResponse of client.adCampaigns.list()) {
|
|
22
|
+
* // ...
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
list(query?: AdCampaignListParams | null | undefined, options?: RequestOptions): PagePromise<AdCampaignListResponsesCursorPage, AdCampaignListResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Retrieves a single ad campaign by its unique identifier.
|
|
29
|
+
*
|
|
30
|
+
* Required permissions:
|
|
31
|
+
*
|
|
32
|
+
* - `ad_campaign:basic:read`
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const adCampaign = await client.adCampaigns.retrieve(
|
|
37
|
+
* 'adcamp_xxxxxxxxxxx',
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<AdCampaign>;
|
|
42
|
+
/**
|
|
43
|
+
* Updates an ad campaign synchronously.
|
|
44
|
+
*
|
|
45
|
+
* Required permissions:
|
|
46
|
+
*
|
|
47
|
+
* - `ad_campaign:update`
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const adCampaign = await client.adCampaigns.update(
|
|
52
|
+
* 'adcamp_xxxxxxxxxxx',
|
|
53
|
+
* );
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
update(id: string, body?: AdCampaignUpdateParams | null | undefined, options?: RequestOptions): APIPromise<AdCampaign>;
|
|
57
|
+
/**
|
|
58
|
+
* Pauses an ad campaign, optionally until a specific date.
|
|
59
|
+
*
|
|
60
|
+
* Required permissions:
|
|
61
|
+
*
|
|
62
|
+
* - `ad_campaign:update`
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```ts
|
|
66
|
+
* const adCampaign = await client.adCampaigns.pause(
|
|
67
|
+
* 'adcamp_xxxxxxxxxxx',
|
|
68
|
+
* );
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
pause(id: string, options?: RequestOptions): APIPromise<AdCampaign>;
|
|
72
|
+
/**
|
|
73
|
+
* Resumes a paused ad campaign.
|
|
74
|
+
*
|
|
75
|
+
* Required permissions:
|
|
76
|
+
*
|
|
77
|
+
* - `ad_campaign:update`
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```ts
|
|
81
|
+
* const adCampaign = await client.adCampaigns.unpause(
|
|
82
|
+
* 'adcamp_xxxxxxxxxxx',
|
|
83
|
+
* );
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
unpause(id: string, options?: RequestOptions): APIPromise<AdCampaign>;
|
|
87
|
+
}
|
|
88
|
+
export type AdCampaignListResponsesCursorPage = CursorPage<AdCampaignListResponse>;
|
|
89
|
+
/**
|
|
90
|
+
* An advertising campaign running on an external platform or within Whop.
|
|
91
|
+
*/
|
|
92
|
+
export interface AdCampaign {
|
|
93
|
+
/**
|
|
94
|
+
* The unique identifier for this ad campaign.
|
|
95
|
+
*/
|
|
96
|
+
id: string;
|
|
97
|
+
/**
|
|
98
|
+
* Total budget in dollars.
|
|
99
|
+
*/
|
|
100
|
+
budget: number | null;
|
|
101
|
+
/**
|
|
102
|
+
* The budget type for an ad campaign or ad group.
|
|
103
|
+
*/
|
|
104
|
+
budget_type: AdGroupsAPI.AdBudgetType | null;
|
|
105
|
+
/**
|
|
106
|
+
* When the ad campaign was created.
|
|
107
|
+
*/
|
|
108
|
+
created_at: string;
|
|
109
|
+
/**
|
|
110
|
+
* The user who created this ad campaign.
|
|
111
|
+
*/
|
|
112
|
+
created_by_user: AdCampaign.CreatedByUser;
|
|
113
|
+
/**
|
|
114
|
+
* Meta-specific campaign configuration (objective, budget mode, etc.). Null for
|
|
115
|
+
* non-Meta campaigns.
|
|
116
|
+
*/
|
|
117
|
+
meta_config: AdCampaign.MetaConfig | null;
|
|
118
|
+
/**
|
|
119
|
+
* The external ad platform this campaign is running on (e.g., meta, tiktok).
|
|
120
|
+
*/
|
|
121
|
+
platform: AdCampaignPlatform;
|
|
122
|
+
/**
|
|
123
|
+
* Current status of the campaign (active, paused, or inactive).
|
|
124
|
+
*/
|
|
125
|
+
status: AdCampaignStatus;
|
|
126
|
+
/**
|
|
127
|
+
* The campaign name shown in the Whop dashboard.
|
|
128
|
+
*/
|
|
129
|
+
title: string;
|
|
130
|
+
/**
|
|
131
|
+
* Total amount spent in dollars.
|
|
132
|
+
*/
|
|
133
|
+
total_spend: number;
|
|
134
|
+
/**
|
|
135
|
+
* When the ad campaign was last updated.
|
|
136
|
+
*/
|
|
137
|
+
updated_at: string;
|
|
138
|
+
}
|
|
139
|
+
export declare namespace AdCampaign {
|
|
140
|
+
/**
|
|
141
|
+
* The user who created this ad campaign.
|
|
142
|
+
*/
|
|
143
|
+
interface CreatedByUser {
|
|
144
|
+
/**
|
|
145
|
+
* The unique identifier for the user.
|
|
146
|
+
*/
|
|
147
|
+
id: string;
|
|
148
|
+
/**
|
|
149
|
+
* The user's display name shown on their public profile.
|
|
150
|
+
*/
|
|
151
|
+
name: string | null;
|
|
152
|
+
/**
|
|
153
|
+
* The user's unique username shown on their public profile.
|
|
154
|
+
*/
|
|
155
|
+
username: string;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Meta-specific campaign configuration (objective, budget mode, etc.). Null for
|
|
159
|
+
* non-Meta campaigns.
|
|
160
|
+
*/
|
|
161
|
+
interface MetaConfig {
|
|
162
|
+
/**
|
|
163
|
+
* Bid cap amount in cents. Only used when bid_strategy is bid_cap.
|
|
164
|
+
*/
|
|
165
|
+
bid_amount: number | null;
|
|
166
|
+
/**
|
|
167
|
+
* The bidding strategy used to optimize spend for this campaign.
|
|
168
|
+
*/
|
|
169
|
+
bid_strategy: 'lowest_cost' | 'bid_cap' | 'cost_cap' | null;
|
|
170
|
+
/**
|
|
171
|
+
* Whether campaign budget optimization (CBO) is enabled, allowing the platform to
|
|
172
|
+
* distribute budget across ad groups.
|
|
173
|
+
*/
|
|
174
|
+
budget_optimization: boolean | null;
|
|
175
|
+
/**
|
|
176
|
+
* The actual delivery status, accounting for platform overrides (e.g., in_review,
|
|
177
|
+
* rejected).
|
|
178
|
+
*/
|
|
179
|
+
effective_status: 'active' | 'paused' | 'deleted' | 'in_review' | 'rejected' | 'with_issues' | null;
|
|
180
|
+
/**
|
|
181
|
+
* The scheduled end time of the campaign (ISO8601).
|
|
182
|
+
*/
|
|
183
|
+
end_time: string | null;
|
|
184
|
+
/**
|
|
185
|
+
* The campaign objective that determines how Meta optimizes delivery.
|
|
186
|
+
*/
|
|
187
|
+
objective: 'awareness' | 'traffic' | 'engagement' | 'leads' | 'sales' | null;
|
|
188
|
+
/**
|
|
189
|
+
* Special ad categories required by the platform (e.g., housing, employment,
|
|
190
|
+
* credit).
|
|
191
|
+
*/
|
|
192
|
+
special_categories: Array<string> | null;
|
|
193
|
+
/**
|
|
194
|
+
* The scheduled start time of the campaign (ISO8601).
|
|
195
|
+
*/
|
|
196
|
+
start_time: string | null;
|
|
197
|
+
/**
|
|
198
|
+
* The campaign status as set by the advertiser (active or paused).
|
|
199
|
+
*/
|
|
200
|
+
status: 'active' | 'paused' | null;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* The platforms where an ad campaign can run.
|
|
205
|
+
*/
|
|
206
|
+
export type AdCampaignPlatform = 'meta' | 'tiktok';
|
|
207
|
+
/**
|
|
208
|
+
* The status of an ad campaign.
|
|
209
|
+
*/
|
|
210
|
+
export type AdCampaignStatus = 'active' | 'paused' | 'payment_failed' | 'draft' | 'in_review' | 'flagged';
|
|
211
|
+
/**
|
|
212
|
+
* An advertising campaign running on an external platform or within Whop.
|
|
213
|
+
*/
|
|
214
|
+
export interface AdCampaignListResponse {
|
|
215
|
+
/**
|
|
216
|
+
* The unique identifier for this ad campaign.
|
|
217
|
+
*/
|
|
218
|
+
id: string;
|
|
219
|
+
/**
|
|
220
|
+
* Total budget in dollars.
|
|
221
|
+
*/
|
|
222
|
+
budget: number | null;
|
|
223
|
+
/**
|
|
224
|
+
* The budget type for an ad campaign or ad group.
|
|
225
|
+
*/
|
|
226
|
+
budget_type: AdGroupsAPI.AdBudgetType | null;
|
|
227
|
+
/**
|
|
228
|
+
* When the ad campaign was created.
|
|
229
|
+
*/
|
|
230
|
+
created_at: string;
|
|
231
|
+
/**
|
|
232
|
+
* The external ad platform this campaign is running on (e.g., meta, tiktok).
|
|
233
|
+
*/
|
|
234
|
+
platform: AdCampaignPlatform;
|
|
235
|
+
/**
|
|
236
|
+
* Current status of the campaign (active, paused, or inactive).
|
|
237
|
+
*/
|
|
238
|
+
status: AdCampaignStatus;
|
|
239
|
+
/**
|
|
240
|
+
* The campaign name shown in the Whop dashboard.
|
|
241
|
+
*/
|
|
242
|
+
title: string;
|
|
243
|
+
/**
|
|
244
|
+
* Total amount spent in dollars.
|
|
245
|
+
*/
|
|
246
|
+
total_spend: number;
|
|
247
|
+
/**
|
|
248
|
+
* When the ad campaign was last updated.
|
|
249
|
+
*/
|
|
250
|
+
updated_at: string;
|
|
251
|
+
}
|
|
252
|
+
export interface AdCampaignListParams extends CursorPageParams {
|
|
253
|
+
/**
|
|
254
|
+
* Returns the elements in the list that come before the specified cursor.
|
|
255
|
+
*/
|
|
256
|
+
before?: string | null;
|
|
257
|
+
/**
|
|
258
|
+
* The unique identifier of the company to list ad campaigns for.
|
|
259
|
+
*/
|
|
260
|
+
company_id?: string | null;
|
|
261
|
+
/**
|
|
262
|
+
* Only return ad campaigns created after this timestamp.
|
|
263
|
+
*/
|
|
264
|
+
created_after?: string | null;
|
|
265
|
+
/**
|
|
266
|
+
* Only return ad campaigns created before this timestamp.
|
|
267
|
+
*/
|
|
268
|
+
created_before?: string | null;
|
|
269
|
+
/**
|
|
270
|
+
* Returns the first _n_ elements from the list.
|
|
271
|
+
*/
|
|
272
|
+
first?: number | null;
|
|
273
|
+
/**
|
|
274
|
+
* Returns the last _n_ elements from the list.
|
|
275
|
+
*/
|
|
276
|
+
last?: number | null;
|
|
277
|
+
/**
|
|
278
|
+
* Case-insensitive substring match against the campaign title.
|
|
279
|
+
*/
|
|
280
|
+
query?: string | null;
|
|
281
|
+
/**
|
|
282
|
+
* The status of an ad campaign.
|
|
283
|
+
*/
|
|
284
|
+
status?: AdCampaignStatus | null;
|
|
285
|
+
}
|
|
286
|
+
export interface AdCampaignUpdateParams {
|
|
287
|
+
/**
|
|
288
|
+
* The campaign budget in dollars. The interpretation (daily or lifetime) follows
|
|
289
|
+
* the campaign's existing budget type.
|
|
290
|
+
*/
|
|
291
|
+
budget?: number | null;
|
|
292
|
+
}
|
|
293
|
+
export declare namespace AdCampaigns {
|
|
294
|
+
export { type AdCampaign as AdCampaign, type AdCampaignPlatform as AdCampaignPlatform, type AdCampaignStatus as AdCampaignStatus, type AdCampaignListResponse as AdCampaignListResponse, type AdCampaignListResponsesCursorPage as AdCampaignListResponsesCursorPage, type AdCampaignListParams as AdCampaignListParams, type AdCampaignUpdateParams as AdCampaignUpdateParams, };
|
|
295
|
+
}
|
|
296
|
+
//# sourceMappingURL=ad-campaigns.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ad-campaigns.d.mts","sourceRoot":"","sources":["../src/resources/ad-campaigns.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAA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AAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as AdGroupsAPI from "./ad-groups.js";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
4
|
+
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.js";
|
|
5
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
6
|
+
/**
|
|
7
|
+
* Ad campaigns
|
|
8
|
+
*/
|
|
9
|
+
export declare class AdCampaigns extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Returns a paginated list of ad campaigns for a company, with optional filtering
|
|
12
|
+
* by status, and creation date.
|
|
13
|
+
*
|
|
14
|
+
* Required permissions:
|
|
15
|
+
*
|
|
16
|
+
* - `ad_campaign:basic:read`
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* // Automatically fetches more pages as needed.
|
|
21
|
+
* for await (const adCampaignListResponse of client.adCampaigns.list()) {
|
|
22
|
+
* // ...
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
list(query?: AdCampaignListParams | null | undefined, options?: RequestOptions): PagePromise<AdCampaignListResponsesCursorPage, AdCampaignListResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Retrieves a single ad campaign by its unique identifier.
|
|
29
|
+
*
|
|
30
|
+
* Required permissions:
|
|
31
|
+
*
|
|
32
|
+
* - `ad_campaign:basic:read`
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const adCampaign = await client.adCampaigns.retrieve(
|
|
37
|
+
* 'adcamp_xxxxxxxxxxx',
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<AdCampaign>;
|
|
42
|
+
/**
|
|
43
|
+
* Updates an ad campaign synchronously.
|
|
44
|
+
*
|
|
45
|
+
* Required permissions:
|
|
46
|
+
*
|
|
47
|
+
* - `ad_campaign:update`
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const adCampaign = await client.adCampaigns.update(
|
|
52
|
+
* 'adcamp_xxxxxxxxxxx',
|
|
53
|
+
* );
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
update(id: string, body?: AdCampaignUpdateParams | null | undefined, options?: RequestOptions): APIPromise<AdCampaign>;
|
|
57
|
+
/**
|
|
58
|
+
* Pauses an ad campaign, optionally until a specific date.
|
|
59
|
+
*
|
|
60
|
+
* Required permissions:
|
|
61
|
+
*
|
|
62
|
+
* - `ad_campaign:update`
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```ts
|
|
66
|
+
* const adCampaign = await client.adCampaigns.pause(
|
|
67
|
+
* 'adcamp_xxxxxxxxxxx',
|
|
68
|
+
* );
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
pause(id: string, options?: RequestOptions): APIPromise<AdCampaign>;
|
|
72
|
+
/**
|
|
73
|
+
* Resumes a paused ad campaign.
|
|
74
|
+
*
|
|
75
|
+
* Required permissions:
|
|
76
|
+
*
|
|
77
|
+
* - `ad_campaign:update`
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```ts
|
|
81
|
+
* const adCampaign = await client.adCampaigns.unpause(
|
|
82
|
+
* 'adcamp_xxxxxxxxxxx',
|
|
83
|
+
* );
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
unpause(id: string, options?: RequestOptions): APIPromise<AdCampaign>;
|
|
87
|
+
}
|
|
88
|
+
export type AdCampaignListResponsesCursorPage = CursorPage<AdCampaignListResponse>;
|
|
89
|
+
/**
|
|
90
|
+
* An advertising campaign running on an external platform or within Whop.
|
|
91
|
+
*/
|
|
92
|
+
export interface AdCampaign {
|
|
93
|
+
/**
|
|
94
|
+
* The unique identifier for this ad campaign.
|
|
95
|
+
*/
|
|
96
|
+
id: string;
|
|
97
|
+
/**
|
|
98
|
+
* Total budget in dollars.
|
|
99
|
+
*/
|
|
100
|
+
budget: number | null;
|
|
101
|
+
/**
|
|
102
|
+
* The budget type for an ad campaign or ad group.
|
|
103
|
+
*/
|
|
104
|
+
budget_type: AdGroupsAPI.AdBudgetType | null;
|
|
105
|
+
/**
|
|
106
|
+
* When the ad campaign was created.
|
|
107
|
+
*/
|
|
108
|
+
created_at: string;
|
|
109
|
+
/**
|
|
110
|
+
* The user who created this ad campaign.
|
|
111
|
+
*/
|
|
112
|
+
created_by_user: AdCampaign.CreatedByUser;
|
|
113
|
+
/**
|
|
114
|
+
* Meta-specific campaign configuration (objective, budget mode, etc.). Null for
|
|
115
|
+
* non-Meta campaigns.
|
|
116
|
+
*/
|
|
117
|
+
meta_config: AdCampaign.MetaConfig | null;
|
|
118
|
+
/**
|
|
119
|
+
* The external ad platform this campaign is running on (e.g., meta, tiktok).
|
|
120
|
+
*/
|
|
121
|
+
platform: AdCampaignPlatform;
|
|
122
|
+
/**
|
|
123
|
+
* Current status of the campaign (active, paused, or inactive).
|
|
124
|
+
*/
|
|
125
|
+
status: AdCampaignStatus;
|
|
126
|
+
/**
|
|
127
|
+
* The campaign name shown in the Whop dashboard.
|
|
128
|
+
*/
|
|
129
|
+
title: string;
|
|
130
|
+
/**
|
|
131
|
+
* Total amount spent in dollars.
|
|
132
|
+
*/
|
|
133
|
+
total_spend: number;
|
|
134
|
+
/**
|
|
135
|
+
* When the ad campaign was last updated.
|
|
136
|
+
*/
|
|
137
|
+
updated_at: string;
|
|
138
|
+
}
|
|
139
|
+
export declare namespace AdCampaign {
|
|
140
|
+
/**
|
|
141
|
+
* The user who created this ad campaign.
|
|
142
|
+
*/
|
|
143
|
+
interface CreatedByUser {
|
|
144
|
+
/**
|
|
145
|
+
* The unique identifier for the user.
|
|
146
|
+
*/
|
|
147
|
+
id: string;
|
|
148
|
+
/**
|
|
149
|
+
* The user's display name shown on their public profile.
|
|
150
|
+
*/
|
|
151
|
+
name: string | null;
|
|
152
|
+
/**
|
|
153
|
+
* The user's unique username shown on their public profile.
|
|
154
|
+
*/
|
|
155
|
+
username: string;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Meta-specific campaign configuration (objective, budget mode, etc.). Null for
|
|
159
|
+
* non-Meta campaigns.
|
|
160
|
+
*/
|
|
161
|
+
interface MetaConfig {
|
|
162
|
+
/**
|
|
163
|
+
* Bid cap amount in cents. Only used when bid_strategy is bid_cap.
|
|
164
|
+
*/
|
|
165
|
+
bid_amount: number | null;
|
|
166
|
+
/**
|
|
167
|
+
* The bidding strategy used to optimize spend for this campaign.
|
|
168
|
+
*/
|
|
169
|
+
bid_strategy: 'lowest_cost' | 'bid_cap' | 'cost_cap' | null;
|
|
170
|
+
/**
|
|
171
|
+
* Whether campaign budget optimization (CBO) is enabled, allowing the platform to
|
|
172
|
+
* distribute budget across ad groups.
|
|
173
|
+
*/
|
|
174
|
+
budget_optimization: boolean | null;
|
|
175
|
+
/**
|
|
176
|
+
* The actual delivery status, accounting for platform overrides (e.g., in_review,
|
|
177
|
+
* rejected).
|
|
178
|
+
*/
|
|
179
|
+
effective_status: 'active' | 'paused' | 'deleted' | 'in_review' | 'rejected' | 'with_issues' | null;
|
|
180
|
+
/**
|
|
181
|
+
* The scheduled end time of the campaign (ISO8601).
|
|
182
|
+
*/
|
|
183
|
+
end_time: string | null;
|
|
184
|
+
/**
|
|
185
|
+
* The campaign objective that determines how Meta optimizes delivery.
|
|
186
|
+
*/
|
|
187
|
+
objective: 'awareness' | 'traffic' | 'engagement' | 'leads' | 'sales' | null;
|
|
188
|
+
/**
|
|
189
|
+
* Special ad categories required by the platform (e.g., housing, employment,
|
|
190
|
+
* credit).
|
|
191
|
+
*/
|
|
192
|
+
special_categories: Array<string> | null;
|
|
193
|
+
/**
|
|
194
|
+
* The scheduled start time of the campaign (ISO8601).
|
|
195
|
+
*/
|
|
196
|
+
start_time: string | null;
|
|
197
|
+
/**
|
|
198
|
+
* The campaign status as set by the advertiser (active or paused).
|
|
199
|
+
*/
|
|
200
|
+
status: 'active' | 'paused' | null;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* The platforms where an ad campaign can run.
|
|
205
|
+
*/
|
|
206
|
+
export type AdCampaignPlatform = 'meta' | 'tiktok';
|
|
207
|
+
/**
|
|
208
|
+
* The status of an ad campaign.
|
|
209
|
+
*/
|
|
210
|
+
export type AdCampaignStatus = 'active' | 'paused' | 'payment_failed' | 'draft' | 'in_review' | 'flagged';
|
|
211
|
+
/**
|
|
212
|
+
* An advertising campaign running on an external platform or within Whop.
|
|
213
|
+
*/
|
|
214
|
+
export interface AdCampaignListResponse {
|
|
215
|
+
/**
|
|
216
|
+
* The unique identifier for this ad campaign.
|
|
217
|
+
*/
|
|
218
|
+
id: string;
|
|
219
|
+
/**
|
|
220
|
+
* Total budget in dollars.
|
|
221
|
+
*/
|
|
222
|
+
budget: number | null;
|
|
223
|
+
/**
|
|
224
|
+
* The budget type for an ad campaign or ad group.
|
|
225
|
+
*/
|
|
226
|
+
budget_type: AdGroupsAPI.AdBudgetType | null;
|
|
227
|
+
/**
|
|
228
|
+
* When the ad campaign was created.
|
|
229
|
+
*/
|
|
230
|
+
created_at: string;
|
|
231
|
+
/**
|
|
232
|
+
* The external ad platform this campaign is running on (e.g., meta, tiktok).
|
|
233
|
+
*/
|
|
234
|
+
platform: AdCampaignPlatform;
|
|
235
|
+
/**
|
|
236
|
+
* Current status of the campaign (active, paused, or inactive).
|
|
237
|
+
*/
|
|
238
|
+
status: AdCampaignStatus;
|
|
239
|
+
/**
|
|
240
|
+
* The campaign name shown in the Whop dashboard.
|
|
241
|
+
*/
|
|
242
|
+
title: string;
|
|
243
|
+
/**
|
|
244
|
+
* Total amount spent in dollars.
|
|
245
|
+
*/
|
|
246
|
+
total_spend: number;
|
|
247
|
+
/**
|
|
248
|
+
* When the ad campaign was last updated.
|
|
249
|
+
*/
|
|
250
|
+
updated_at: string;
|
|
251
|
+
}
|
|
252
|
+
export interface AdCampaignListParams extends CursorPageParams {
|
|
253
|
+
/**
|
|
254
|
+
* Returns the elements in the list that come before the specified cursor.
|
|
255
|
+
*/
|
|
256
|
+
before?: string | null;
|
|
257
|
+
/**
|
|
258
|
+
* The unique identifier of the company to list ad campaigns for.
|
|
259
|
+
*/
|
|
260
|
+
company_id?: string | null;
|
|
261
|
+
/**
|
|
262
|
+
* Only return ad campaigns created after this timestamp.
|
|
263
|
+
*/
|
|
264
|
+
created_after?: string | null;
|
|
265
|
+
/**
|
|
266
|
+
* Only return ad campaigns created before this timestamp.
|
|
267
|
+
*/
|
|
268
|
+
created_before?: string | null;
|
|
269
|
+
/**
|
|
270
|
+
* Returns the first _n_ elements from the list.
|
|
271
|
+
*/
|
|
272
|
+
first?: number | null;
|
|
273
|
+
/**
|
|
274
|
+
* Returns the last _n_ elements from the list.
|
|
275
|
+
*/
|
|
276
|
+
last?: number | null;
|
|
277
|
+
/**
|
|
278
|
+
* Case-insensitive substring match against the campaign title.
|
|
279
|
+
*/
|
|
280
|
+
query?: string | null;
|
|
281
|
+
/**
|
|
282
|
+
* The status of an ad campaign.
|
|
283
|
+
*/
|
|
284
|
+
status?: AdCampaignStatus | null;
|
|
285
|
+
}
|
|
286
|
+
export interface AdCampaignUpdateParams {
|
|
287
|
+
/**
|
|
288
|
+
* The campaign budget in dollars. The interpretation (daily or lifetime) follows
|
|
289
|
+
* the campaign's existing budget type.
|
|
290
|
+
*/
|
|
291
|
+
budget?: number | null;
|
|
292
|
+
}
|
|
293
|
+
export declare namespace AdCampaigns {
|
|
294
|
+
export { type AdCampaign as AdCampaign, type AdCampaignPlatform as AdCampaignPlatform, type AdCampaignStatus as AdCampaignStatus, type AdCampaignListResponse as AdCampaignListResponse, type AdCampaignListResponsesCursorPage as AdCampaignListResponsesCursorPage, type AdCampaignListParams as AdCampaignListParams, type AdCampaignUpdateParams as AdCampaignUpdateParams, };
|
|
295
|
+
}
|
|
296
|
+
//# sourceMappingURL=ad-campaigns.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ad-campaigns.d.ts","sourceRoot":"","sources":["../src/resources/ad-campaigns.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,iCAAiC,EAAE,sBAAsB,CAAC;IAOzE;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAItE;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC;IAIzB;;;;;;;;;;;;;OAaG;IACH,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAInE;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;CAGtE;AAED,MAAM,MAAM,iCAAiC,GAAG,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAEnF;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;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