@whop/sdk 0.0.39 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/client.d.mts +88 -40
- package/client.d.mts.map +1 -1
- package/client.d.ts +88 -40
- package/client.d.ts.map +1 -1
- package/client.js +59 -0
- package/client.js.map +1 -1
- package/client.mjs +59 -0
- package/client.mjs.map +1 -1
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +15 -9
- package/resources/accounts.d.mts +244 -0
- package/resources/accounts.d.mts.map +1 -0
- package/resources/accounts.d.ts +244 -0
- package/resources/accounts.d.ts.map +1 -0
- package/resources/accounts.js +46 -0
- package/resources/accounts.js.map +1 -0
- package/resources/accounts.mjs +42 -0
- package/resources/accounts.mjs.map +1 -0
- package/resources/ad-campaigns.d.mts +296 -0
- package/resources/ad-campaigns.d.mts.map +1 -0
- package/resources/ad-campaigns.d.ts +296 -0
- package/resources/ad-campaigns.d.ts.map +1 -0
- package/resources/ad-campaigns.js +104 -0
- package/resources/ad-campaigns.js.map +1 -0
- package/resources/ad-campaigns.mjs +100 -0
- package/resources/ad-campaigns.mjs.map +1 -0
- package/resources/ad-groups.d.mts +1461 -0
- package/resources/ad-groups.d.mts.map +1 -0
- package/resources/ad-groups.d.ts +1461 -0
- package/resources/ad-groups.d.ts.map +1 -0
- package/resources/ad-groups.js +121 -0
- package/resources/ad-groups.js.map +1 -0
- package/resources/ad-groups.mjs +117 -0
- package/resources/ad-groups.mjs.map +1 -0
- package/resources/ad-reports.d.mts +379 -0
- package/resources/ad-reports.d.mts.map +1 -0
- package/resources/ad-reports.d.ts +379 -0
- package/resources/ad-reports.d.ts.map +1 -0
- package/resources/ad-reports.js +26 -0
- package/resources/ad-reports.js.map +1 -0
- package/resources/ad-reports.mjs +22 -0
- package/resources/ad-reports.mjs.map +1 -0
- package/resources/ads.d.mts +234 -0
- package/resources/ads.d.mts.map +1 -0
- package/resources/ads.d.ts +234 -0
- package/resources/ads.d.ts.map +1 -0
- package/resources/ads.js +56 -0
- package/resources/ads.js.map +1 -0
- package/resources/ads.mjs +52 -0
- package/resources/ads.mjs.map +1 -0
- package/resources/affiliates/affiliates.d.mts +31 -31
- package/resources/affiliates/affiliates.d.mts.map +1 -1
- package/resources/affiliates/affiliates.d.ts +31 -31
- package/resources/affiliates/affiliates.d.ts.map +1 -1
- package/resources/affiliates/affiliates.js +21 -21
- package/resources/affiliates/affiliates.js.map +1 -1
- package/resources/affiliates/affiliates.mjs +21 -21
- package/resources/affiliates/affiliates.mjs.map +1 -1
- package/resources/affiliates/index.d.mts +2 -2
- package/resources/affiliates/index.d.mts.map +1 -1
- package/resources/affiliates/index.d.ts +2 -2
- package/resources/affiliates/index.d.ts.map +1 -1
- package/resources/affiliates/overrides.d.mts +37 -37
- package/resources/affiliates/overrides.d.mts.map +1 -1
- package/resources/affiliates/overrides.d.ts +37 -37
- package/resources/affiliates/overrides.d.ts.map +1 -1
- package/resources/affiliates/overrides.js +23 -23
- package/resources/affiliates/overrides.js.map +1 -1
- package/resources/affiliates/overrides.mjs +23 -23
- package/resources/affiliates/overrides.mjs.map +1 -1
- package/resources/ai-chats.d.mts +23 -23
- package/resources/ai-chats.d.mts.map +1 -1
- package/resources/ai-chats.d.ts +23 -23
- package/resources/ai-chats.d.ts.map +1 -1
- package/resources/ai-chats.js +6 -6
- package/resources/ai-chats.js.map +1 -1
- package/resources/ai-chats.mjs +6 -6
- package/resources/ai-chats.mjs.map +1 -1
- package/resources/app-builds.d.mts +54 -54
- package/resources/app-builds.d.mts.map +1 -1
- package/resources/app-builds.d.ts +54 -54
- package/resources/app-builds.d.ts.map +1 -1
- package/resources/app-builds.js +21 -21
- package/resources/app-builds.js.map +1 -1
- package/resources/app-builds.mjs +21 -21
- package/resources/app-builds.mjs.map +1 -1
- package/resources/apps.d.mts +57 -57
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +57 -57
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +15 -15
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +15 -15
- package/resources/apps.mjs.map +1 -1
- package/resources/authorized-users.d.mts +36 -36
- package/resources/authorized-users.d.mts.map +1 -1
- package/resources/authorized-users.d.ts +36 -36
- package/resources/authorized-users.d.ts.map +1 -1
- package/resources/authorized-users.js +21 -21
- package/resources/authorized-users.js.map +1 -1
- package/resources/authorized-users.mjs +21 -21
- package/resources/authorized-users.mjs.map +1 -1
- package/resources/bounties.d.mts +281 -0
- package/resources/bounties.d.mts.map +1 -0
- package/resources/bounties.d.ts +281 -0
- package/resources/bounties.d.ts.map +1 -0
- package/resources/bounties.js +63 -0
- package/resources/bounties.js.map +1 -0
- package/resources/bounties.mjs +59 -0
- package/resources/bounties.mjs.map +1 -0
- package/resources/chat-channels.d.mts +43 -43
- package/resources/chat-channels.d.mts.map +1 -1
- package/resources/chat-channels.d.ts +43 -43
- package/resources/chat-channels.d.ts.map +1 -1
- package/resources/chat-channels.js +24 -24
- package/resources/chat-channels.js.map +1 -1
- package/resources/chat-channels.mjs +24 -24
- package/resources/chat-channels.mjs.map +1 -1
- package/resources/checkout-configurations.d.mts +73 -45
- package/resources/checkout-configurations.d.mts.map +1 -1
- package/resources/checkout-configurations.d.ts +73 -45
- package/resources/checkout-configurations.d.ts.map +1 -1
- package/resources/checkout-configurations.js +11 -11
- package/resources/checkout-configurations.js.map +1 -1
- package/resources/checkout-configurations.mjs +11 -11
- package/resources/checkout-configurations.mjs.map +1 -1
- package/resources/companies.d.mts +98 -35
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +98 -35
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.js +24 -17
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +24 -17
- package/resources/companies.mjs.map +1 -1
- package/resources/company-token-transactions.d.mts +39 -39
- package/resources/company-token-transactions.d.mts.map +1 -1
- package/resources/company-token-transactions.d.ts +39 -39
- package/resources/company-token-transactions.d.ts.map +1 -1
- package/resources/company-token-transactions.js +14 -14
- package/resources/company-token-transactions.js.map +1 -1
- package/resources/company-token-transactions.mjs +14 -14
- package/resources/company-token-transactions.mjs.map +1 -1
- package/resources/conversions.d.mts +248 -0
- package/resources/conversions.d.mts.map +1 -0
- package/resources/conversions.d.ts +248 -0
- package/resources/conversions.d.ts.map +1 -0
- package/resources/conversions.js +30 -0
- package/resources/conversions.js.map +1 -0
- package/resources/conversions.mjs +26 -0
- package/resources/conversions.mjs.map +1 -0
- package/resources/course-chapters.d.mts +36 -36
- package/resources/course-chapters.d.mts.map +1 -1
- package/resources/course-chapters.d.ts +36 -36
- package/resources/course-chapters.d.ts.map +1 -1
- package/resources/course-chapters.js +23 -23
- package/resources/course-chapters.js.map +1 -1
- package/resources/course-chapters.mjs +23 -23
- package/resources/course-chapters.mjs.map +1 -1
- package/resources/course-lesson-interactions.d.mts +5 -5
- package/resources/course-lesson-interactions.d.mts.map +1 -1
- package/resources/course-lesson-interactions.d.ts +5 -5
- package/resources/course-lesson-interactions.d.ts.map +1 -1
- package/resources/course-lesson-interactions.js +7 -7
- package/resources/course-lesson-interactions.js.map +1 -1
- package/resources/course-lesson-interactions.mjs +7 -7
- package/resources/course-lesson-interactions.mjs.map +1 -1
- package/resources/course-lessons.d.mts +40 -40
- package/resources/course-lessons.d.mts.map +1 -1
- package/resources/course-lessons.d.ts +40 -40
- package/resources/course-lessons.d.ts.map +1 -1
- package/resources/course-lessons.js +22 -22
- package/resources/course-lessons.js.map +1 -1
- package/resources/course-lessons.mjs +22 -22
- package/resources/course-lessons.mjs.map +1 -1
- package/resources/course-students.d.mts +5 -5
- package/resources/course-students.d.mts.map +1 -1
- package/resources/course-students.d.ts +5 -5
- package/resources/course-students.d.ts.map +1 -1
- package/resources/course-students.js +10 -10
- package/resources/course-students.js.map +1 -1
- package/resources/course-students.mjs +10 -10
- package/resources/course-students.mjs.map +1 -1
- package/resources/courses.d.mts +40 -40
- package/resources/courses.d.mts.map +1 -1
- package/resources/courses.d.ts +40 -40
- package/resources/courses.d.ts.map +1 -1
- package/resources/courses.js +19 -19
- package/resources/courses.js.map +1 -1
- package/resources/courses.mjs +19 -19
- package/resources/courses.mjs.map +1 -1
- package/resources/deposits.d.mts +64 -0
- package/resources/deposits.d.mts.map +1 -0
- package/resources/deposits.d.ts +64 -0
- package/resources/deposits.d.ts.map +1 -0
- package/resources/deposits.js +16 -0
- package/resources/deposits.js.map +1 -0
- package/resources/deposits.mjs +12 -0
- package/resources/deposits.mjs.map +1 -0
- package/resources/dispute-alerts.d.mts +10 -10
- package/resources/dispute-alerts.d.mts.map +1 -1
- package/resources/dispute-alerts.d.ts +10 -10
- package/resources/dispute-alerts.d.ts.map +1 -1
- package/resources/dispute-alerts.js +13 -13
- package/resources/dispute-alerts.js.map +1 -1
- package/resources/dispute-alerts.mjs +13 -13
- package/resources/dispute-alerts.mjs.map +1 -1
- package/resources/disputes.d.mts +13 -15
- package/resources/disputes.d.mts.map +1 -1
- package/resources/disputes.d.ts +13 -15
- package/resources/disputes.d.ts.map +1 -1
- package/resources/disputes.js +11 -11
- package/resources/disputes.js.map +1 -1
- package/resources/disputes.mjs +11 -11
- package/resources/disputes.mjs.map +1 -1
- package/resources/dm-channels.d.mts +37 -37
- package/resources/dm-channels.d.mts.map +1 -1
- package/resources/dm-channels.d.ts +37 -37
- package/resources/dm-channels.d.ts.map +1 -1
- package/resources/dm-channels.js +19 -19
- package/resources/dm-channels.js.map +1 -1
- package/resources/dm-channels.mjs +19 -19
- package/resources/dm-channels.mjs.map +1 -1
- package/resources/dm-members.d.mts +38 -38
- package/resources/dm-members.d.mts.map +1 -1
- package/resources/dm-members.d.ts +38 -38
- package/resources/dm-members.d.ts.map +1 -1
- package/resources/dm-members.js +21 -21
- package/resources/dm-members.js.map +1 -1
- package/resources/dm-members.mjs +21 -21
- package/resources/dm-members.mjs.map +1 -1
- package/resources/entries.d.mts +5 -5
- package/resources/entries.d.mts.map +1 -1
- package/resources/entries.d.ts +5 -5
- package/resources/entries.d.ts.map +1 -1
- package/resources/entries.js +7 -7
- package/resources/entries.js.map +1 -1
- package/resources/entries.mjs +7 -7
- package/resources/entries.mjs.map +1 -1
- package/resources/experiences.d.mts +50 -50
- package/resources/experiences.d.mts.map +1 -1
- package/resources/experiences.d.ts +50 -50
- package/resources/experiences.d.ts.map +1 -1
- package/resources/experiences.js +17 -17
- package/resources/experiences.js.map +1 -1
- package/resources/experiences.mjs +17 -17
- package/resources/experiences.mjs.map +1 -1
- package/resources/fee-markups.d.mts +36 -36
- package/resources/fee-markups.d.mts.map +1 -1
- package/resources/fee-markups.d.ts +36 -36
- package/resources/fee-markups.d.ts.map +1 -1
- package/resources/fee-markups.js +18 -18
- package/resources/fee-markups.js.map +1 -1
- package/resources/fee-markups.mjs +18 -18
- package/resources/fee-markups.mjs.map +1 -1
- package/resources/files.d.mts +18 -1
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +18 -1
- package/resources/files.d.ts.map +1 -1
- package/resources/forum-posts.d.mts +52 -48
- package/resources/forum-posts.d.mts.map +1 -1
- package/resources/forum-posts.d.ts +52 -48
- package/resources/forum-posts.d.ts.map +1 -1
- package/resources/forum-posts.js +21 -21
- package/resources/forum-posts.js.map +1 -1
- package/resources/forum-posts.mjs +21 -21
- package/resources/forum-posts.mjs.map +1 -1
- package/resources/forums.d.mts +33 -33
- package/resources/forums.d.mts.map +1 -1
- package/resources/forums.d.ts +33 -33
- package/resources/forums.d.ts.map +1 -1
- package/resources/forums.js +11 -11
- package/resources/forums.js.map +1 -1
- package/resources/forums.mjs +11 -11
- package/resources/forums.mjs.map +1 -1
- package/resources/index.d.mts +45 -35
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +45 -35
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +22 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +10 -0
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.mts +86 -81
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +86 -81
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +40 -40
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +40 -40
- package/resources/invoices.mjs.map +1 -1
- package/resources/leads.d.mts +53 -53
- package/resources/leads.d.mts.map +1 -1
- package/resources/leads.d.ts +53 -53
- package/resources/leads.d.ts.map +1 -1
- package/resources/leads.js +24 -24
- package/resources/leads.js.map +1 -1
- package/resources/leads.mjs +24 -24
- package/resources/leads.mjs.map +1 -1
- package/resources/ledger-accounts.d.mts +34 -1
- package/resources/ledger-accounts.d.mts.map +1 -1
- package/resources/ledger-accounts.d.ts +34 -1
- package/resources/ledger-accounts.d.ts.map +1 -1
- package/resources/members.d.mts +9 -7
- package/resources/members.d.mts.map +1 -1
- package/resources/members.d.ts +9 -7
- package/resources/members.d.ts.map +1 -1
- package/resources/members.js +7 -7
- package/resources/members.js.map +1 -1
- package/resources/members.mjs +7 -7
- package/resources/members.mjs.map +1 -1
- package/resources/memberships.d.mts +61 -47
- package/resources/memberships.d.mts.map +1 -1
- package/resources/memberships.d.ts +61 -47
- package/resources/memberships.d.ts.map +1 -1
- package/resources/memberships.js +38 -38
- package/resources/memberships.js.map +1 -1
- package/resources/memberships.mjs +38 -38
- package/resources/memberships.mjs.map +1 -1
- package/resources/messages.d.mts +36 -36
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +36 -36
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +16 -16
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +16 -16
- package/resources/messages.mjs.map +1 -1
- package/resources/payment-methods.d.mts +20 -20
- package/resources/payment-methods.d.mts.map +1 -1
- package/resources/payment-methods.d.ts +20 -20
- package/resources/payment-methods.d.ts.map +1 -1
- package/resources/payment-methods.js +10 -10
- package/resources/payment-methods.js.map +1 -1
- package/resources/payment-methods.mjs +10 -10
- package/resources/payment-methods.mjs.map +1 -1
- package/resources/payments.d.mts +172 -145
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +172 -145
- package/resources/payments.d.ts.map +1 -1
- package/resources/payments.js +68 -68
- package/resources/payments.js.map +1 -1
- package/resources/payments.mjs +68 -68
- package/resources/payments.mjs.map +1 -1
- package/resources/payout-accounts.d.mts +1 -1
- package/resources/payout-accounts.d.ts +1 -1
- package/resources/payout-methods.d.mts +5 -5
- package/resources/payout-methods.d.mts.map +1 -1
- package/resources/payout-methods.d.ts +5 -5
- package/resources/payout-methods.d.ts.map +1 -1
- package/resources/payout-methods.js +10 -10
- package/resources/payout-methods.js.map +1 -1
- package/resources/payout-methods.mjs +10 -10
- package/resources/payout-methods.mjs.map +1 -1
- package/resources/plans.d.mts +128 -70
- package/resources/plans.d.mts.map +1 -1
- package/resources/plans.d.ts +128 -70
- package/resources/plans.d.ts.map +1 -1
- package/resources/plans.js +21 -21
- package/resources/plans.js.map +1 -1
- package/resources/plans.mjs +21 -21
- package/resources/plans.mjs.map +1 -1
- package/resources/products.d.mts +81 -65
- package/resources/products.d.mts.map +1 -1
- package/resources/products.d.ts +81 -65
- package/resources/products.d.ts.map +1 -1
- package/resources/products.js +25 -25
- package/resources/products.js.map +1 -1
- package/resources/products.mjs +25 -25
- package/resources/products.mjs.map +1 -1
- package/resources/promo-codes.d.mts +59 -59
- package/resources/promo-codes.d.mts.map +1 -1
- package/resources/promo-codes.d.ts +59 -59
- package/resources/promo-codes.d.ts.map +1 -1
- package/resources/promo-codes.js +22 -22
- package/resources/promo-codes.js.map +1 -1
- package/resources/promo-codes.mjs +22 -22
- package/resources/promo-codes.mjs.map +1 -1
- package/resources/reactions.d.mts +25 -25
- package/resources/reactions.d.mts.map +1 -1
- package/resources/reactions.d.ts +25 -25
- package/resources/reactions.d.ts.map +1 -1
- package/resources/reactions.js +11 -11
- package/resources/reactions.js.map +1 -1
- package/resources/reactions.mjs +11 -11
- package/resources/reactions.mjs.map +1 -1
- package/resources/refunds.d.mts +59 -10
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +59 -10
- package/resources/refunds.d.ts.map +1 -1
- package/resources/refunds.js +12 -10
- package/resources/refunds.js.map +1 -1
- package/resources/refunds.mjs +12 -10
- package/resources/refunds.mjs.map +1 -1
- package/resources/resolution-center-cases.d.mts +6 -6
- package/resources/resolution-center-cases.d.mts.map +1 -1
- package/resources/resolution-center-cases.d.ts +6 -6
- package/resources/resolution-center-cases.d.ts.map +1 -1
- package/resources/resolution-center-cases.js +10 -10
- package/resources/resolution-center-cases.js.map +1 -1
- package/resources/resolution-center-cases.mjs +10 -10
- package/resources/resolution-center-cases.mjs.map +1 -1
- package/resources/reviews.d.mts +4 -4
- package/resources/reviews.d.mts.map +1 -1
- package/resources/reviews.d.ts +4 -4
- package/resources/reviews.d.ts.map +1 -1
- package/resources/reviews.js +6 -6
- package/resources/reviews.js.map +1 -1
- package/resources/reviews.mjs +6 -6
- package/resources/reviews.mjs.map +1 -1
- package/resources/setup-intents.d.mts +6 -6
- package/resources/setup-intents.d.mts.map +1 -1
- package/resources/setup-intents.d.ts +6 -6
- package/resources/setup-intents.d.ts.map +1 -1
- package/resources/setup-intents.js +11 -11
- package/resources/setup-intents.js.map +1 -1
- package/resources/setup-intents.mjs +11 -11
- package/resources/setup-intents.mjs.map +1 -1
- package/resources/shared.d.mts +89 -6
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +89 -6
- package/resources/shared.d.ts.map +1 -1
- package/resources/shipments.d.mts +35 -35
- package/resources/shipments.d.mts.map +1 -1
- package/resources/shipments.d.ts +35 -35
- package/resources/shipments.d.ts.map +1 -1
- package/resources/shipments.js +20 -20
- package/resources/shipments.js.map +1 -1
- package/resources/shipments.mjs +20 -20
- package/resources/shipments.mjs.map +1 -1
- package/resources/support-channels.d.mts +35 -34
- package/resources/support-channels.d.mts.map +1 -1
- package/resources/support-channels.d.ts +35 -34
- package/resources/support-channels.d.ts.map +1 -1
- package/resources/support-channels.js +21 -21
- package/resources/support-channels.js.map +1 -1
- package/resources/support-channels.mjs +21 -21
- package/resources/support-channels.mjs.map +1 -1
- package/resources/swaps.d.mts +62 -0
- package/resources/swaps.d.mts.map +1 -0
- package/resources/swaps.d.ts +62 -0
- package/resources/swaps.d.ts.map +1 -0
- package/resources/swaps.js +15 -0
- package/resources/swaps.js.map +1 -0
- package/resources/swaps.mjs +11 -0
- package/resources/swaps.mjs.map +1 -0
- package/resources/transfers.d.mts +57 -55
- package/resources/transfers.d.mts.map +1 -1
- package/resources/transfers.d.ts +57 -55
- package/resources/transfers.d.ts.map +1 -1
- package/resources/transfers.js +19 -19
- package/resources/transfers.js.map +1 -1
- package/resources/transfers.mjs +19 -19
- package/resources/transfers.mjs.map +1 -1
- package/resources/users.d.mts +20 -20
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +20 -20
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +16 -16
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +16 -16
- package/resources/users.mjs.map +1 -1
- package/resources/verifications.d.mts +2 -2
- package/resources/verifications.d.ts +2 -2
- package/resources/wallets.d.mts +89 -0
- package/resources/wallets.d.mts.map +1 -0
- package/resources/wallets.d.ts +89 -0
- package/resources/wallets.d.ts.map +1 -0
- package/resources/wallets.js +28 -0
- package/resources/wallets.js.map +1 -0
- package/resources/wallets.mjs +24 -0
- package/resources/wallets.mjs.map +1 -0
- package/resources/webhooks.d.mts +2182 -1196
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +2182 -1196
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +31 -31
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +31 -31
- package/resources/webhooks.mjs.map +1 -1
- package/resources/withdrawals.d.mts +47 -47
- package/resources/withdrawals.d.mts.map +1 -1
- package/resources/withdrawals.d.ts +47 -47
- package/resources/withdrawals.d.ts.map +1 -1
- package/resources/withdrawals.js +21 -21
- package/resources/withdrawals.js.map +1 -1
- package/resources/withdrawals.mjs +21 -21
- package/resources/withdrawals.mjs.map +1 -1
- package/src/client.ts +277 -60
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/accounts.ts +318 -0
- package/src/resources/ad-campaigns.ts +376 -0
- package/src/resources/ad-groups.ts +1958 -0
- package/src/resources/ad-reports.ts +484 -0
- package/src/resources/ads.ts +295 -0
- package/src/resources/affiliates/affiliates.ts +39 -39
- package/src/resources/affiliates/index.ts +2 -2
- package/src/resources/affiliates/overrides.ts +51 -51
- package/src/resources/ai-chats.ts +33 -33
- package/src/resources/app-builds.ts +68 -68
- package/src/resources/apps.ts +86 -86
- package/src/resources/authorized-users.ts +48 -48
- package/src/resources/bounties.ts +353 -0
- package/src/resources/chat-channels.ts +57 -57
- package/src/resources/checkout-configurations.ts +97 -63
- package/src/resources/companies.ts +123 -41
- package/src/resources/company-token-transactions.ts +55 -55
- package/src/resources/conversions.ts +316 -0
- package/src/resources/course-chapters.ts +47 -47
- package/src/resources/course-lesson-interactions.ts +12 -12
- package/src/resources/course-lessons.ts +54 -54
- package/src/resources/course-students.ts +12 -12
- package/src/resources/courses.ts +51 -51
- package/src/resources/deposits.ts +87 -0
- package/src/resources/dispute-alerts.ts +18 -18
- package/src/resources/disputes.ts +18 -20
- package/src/resources/dm-channels.ts +45 -45
- package/src/resources/dm-members.ts +45 -45
- package/src/resources/entries.ts +10 -10
- package/src/resources/experiences.ts +64 -64
- package/src/resources/fee-markups.ts +44 -44
- package/src/resources/files.ts +23 -1
- package/src/resources/forum-posts.ts +65 -60
- package/src/resources/forums.ts +44 -44
- package/src/resources/index.ts +129 -57
- package/src/resources/invoices.ts +113 -107
- package/src/resources/leads.ts +64 -64
- package/src/resources/ledger-accounts.ts +41 -1
- package/src/resources/members.ts +14 -12
- package/src/resources/memberships.ts +73 -61
- package/src/resources/messages.ts +48 -48
- package/src/resources/payment-methods.ts +30 -30
- package/src/resources/payments.ts +222 -183
- package/src/resources/payout-accounts.ts +1 -1
- package/src/resources/payout-methods.ts +11 -11
- package/src/resources/plans.ts +151 -88
- package/src/resources/products.ts +98 -84
- package/src/resources/promo-codes.ts +74 -74
- package/src/resources/reactions.ts +33 -33
- package/src/resources/refunds.ts +65 -15
- package/src/resources/resolution-center-cases.ts +11 -12
- package/src/resources/reviews.ts +7 -7
- package/src/resources/setup-intents.ts +13 -13
- package/src/resources/shared.ts +94 -5
- package/src/resources/shipments.ts +44 -44
- package/src/resources/support-channels.ts +46 -45
- package/src/resources/swaps.ts +87 -0
- package/src/resources/transfers.ts +68 -66
- package/src/resources/users.ts +29 -29
- package/src/resources/verifications.ts +2 -2
- package/src/resources/wallets.ts +136 -0
- package/src/resources/webhooks.ts +2449 -1277
- package/src/resources/withdrawals.ts +55 -55
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ad-groups.d.ts","sourceRoot":"","sources":["../src/resources/ad-groups.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,8BAA8B,EAAE,mBAAmB,CAAC;IAInE;;;;;;;;;;;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,kBAAkB,EAAE,MAAM,CAAC;gBAE3B;;mBAEG;gBACH,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;gBAE7C;;mBAEG;gBACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;gBAE5B;;mBAEG;gBACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;gBAEzB;;mBAEG;gBACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;aACtB;YAED,UAAiB,iBAAiB,CAAC;gBACjC;;mBAEG;gBACH,UAAiB,QAAQ;oBACvB;;uBAEG;oBACH,UAAU,EAAE,MAAM,CAAC;oBAEnB;;uBAEG;oBACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;iBACvB;aACF;SACF;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AdGroups = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Ad groups
|
|
10
|
+
*/
|
|
11
|
+
class AdGroups extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Returns a paginated list of ad groups scoped by campaign or company, with
|
|
14
|
+
* optional filtering by status and creation date.
|
|
15
|
+
*
|
|
16
|
+
* Required permissions:
|
|
17
|
+
*
|
|
18
|
+
* - `ad_campaign:basic:read`
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* // Automatically fetches more pages as needed.
|
|
23
|
+
* for await (const adGroupListResponse of client.adGroups.list()) {
|
|
24
|
+
* // ...
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
list(query = {}, options) {
|
|
29
|
+
return this._client.getAPIList('/ad_groups', (pagination_1.CursorPage), { query, ...options });
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves a single ad group by its unique identifier.
|
|
33
|
+
*
|
|
34
|
+
* Required permissions:
|
|
35
|
+
*
|
|
36
|
+
* - `ad_campaign:basic:read`
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const adGroup = await client.adGroups.retrieve(
|
|
41
|
+
* 'adgrp_xxxxxxxxxxxx',
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
retrieve(id, options) {
|
|
46
|
+
return this._client.get((0, path_1.path) `/ad_groups/${id}`, options);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Updates an existing ad group.
|
|
50
|
+
*
|
|
51
|
+
* Required permissions:
|
|
52
|
+
*
|
|
53
|
+
* - `ad_campaign:update`
|
|
54
|
+
* - `ad_campaign:basic:read`
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* const adGroup = await client.adGroups.update(
|
|
59
|
+
* 'adgrp_xxxxxxxxxxxx',
|
|
60
|
+
* );
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
update(id, body = {}, options) {
|
|
64
|
+
return this._client.patch((0, path_1.path) `/ad_groups/${id}`, { body, ...options });
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Soft-deletes an ad group.
|
|
68
|
+
*
|
|
69
|
+
* Required permissions:
|
|
70
|
+
*
|
|
71
|
+
* - `ad_campaign:update`
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```ts
|
|
75
|
+
* const adGroup = await client.adGroups.delete(
|
|
76
|
+
* 'adgrp_xxxxxxxxxxxx',
|
|
77
|
+
* );
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
delete(id, options) {
|
|
81
|
+
return this._client.delete((0, path_1.path) `/ad_groups/${id}`, options);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Pauses an ad group.
|
|
85
|
+
*
|
|
86
|
+
* Required permissions:
|
|
87
|
+
*
|
|
88
|
+
* - `ad_campaign:update`
|
|
89
|
+
* - `ad_campaign:basic:read`
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```ts
|
|
93
|
+
* const adGroup = await client.adGroups.pause(
|
|
94
|
+
* 'adgrp_xxxxxxxxxxxx',
|
|
95
|
+
* );
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
pause(id, options) {
|
|
99
|
+
return this._client.post((0, path_1.path) `/ad_groups/${id}/pause`, options);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Resumes a paused ad group.
|
|
103
|
+
*
|
|
104
|
+
* Required permissions:
|
|
105
|
+
*
|
|
106
|
+
* - `ad_campaign:update`
|
|
107
|
+
* - `ad_campaign:basic:read`
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* ```ts
|
|
111
|
+
* const adGroup = await client.adGroups.unpause(
|
|
112
|
+
* 'adgrp_xxxxxxxxxxxx',
|
|
113
|
+
* );
|
|
114
|
+
* ```
|
|
115
|
+
*/
|
|
116
|
+
unpause(id, options) {
|
|
117
|
+
return this._client.post((0, path_1.path) `/ad_groups/${id}/unpause`, options);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.AdGroups = AdGroups;
|
|
121
|
+
//# sourceMappingURL=ad-groups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ad-groups.js","sourceRoot":"","sources":["../src/resources/ad-groups.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAoF;AAEpF,oDAA8C;AAE9C;;GAEG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,CAAA,uBAA+B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,cAAc,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,EAAU,EACV,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,cAAc,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,cAAc,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,KAAK,CAAC,EAAU,EAAE,OAAwB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,cAAc,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF;AAxHD,4BAwHC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { CursorPage } from "../core/pagination.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Ad groups
|
|
7
|
+
*/
|
|
8
|
+
export class AdGroups extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns a paginated list of ad groups scoped by campaign or company, with
|
|
11
|
+
* optional filtering by status and creation date.
|
|
12
|
+
*
|
|
13
|
+
* Required permissions:
|
|
14
|
+
*
|
|
15
|
+
* - `ad_campaign:basic:read`
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* // Automatically fetches more pages as needed.
|
|
20
|
+
* for await (const adGroupListResponse of client.adGroups.list()) {
|
|
21
|
+
* // ...
|
|
22
|
+
* }
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
list(query = {}, options) {
|
|
26
|
+
return this._client.getAPIList('/ad_groups', (CursorPage), { query, ...options });
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Retrieves a single ad group by its unique identifier.
|
|
30
|
+
*
|
|
31
|
+
* Required permissions:
|
|
32
|
+
*
|
|
33
|
+
* - `ad_campaign:basic:read`
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const adGroup = await client.adGroups.retrieve(
|
|
38
|
+
* 'adgrp_xxxxxxxxxxxx',
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
retrieve(id, options) {
|
|
43
|
+
return this._client.get(path `/ad_groups/${id}`, options);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Updates an existing ad group.
|
|
47
|
+
*
|
|
48
|
+
* Required permissions:
|
|
49
|
+
*
|
|
50
|
+
* - `ad_campaign:update`
|
|
51
|
+
* - `ad_campaign:basic:read`
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```ts
|
|
55
|
+
* const adGroup = await client.adGroups.update(
|
|
56
|
+
* 'adgrp_xxxxxxxxxxxx',
|
|
57
|
+
* );
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
update(id, body = {}, options) {
|
|
61
|
+
return this._client.patch(path `/ad_groups/${id}`, { body, ...options });
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Soft-deletes an ad group.
|
|
65
|
+
*
|
|
66
|
+
* Required permissions:
|
|
67
|
+
*
|
|
68
|
+
* - `ad_campaign:update`
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```ts
|
|
72
|
+
* const adGroup = await client.adGroups.delete(
|
|
73
|
+
* 'adgrp_xxxxxxxxxxxx',
|
|
74
|
+
* );
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
delete(id, options) {
|
|
78
|
+
return this._client.delete(path `/ad_groups/${id}`, options);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Pauses an ad group.
|
|
82
|
+
*
|
|
83
|
+
* Required permissions:
|
|
84
|
+
*
|
|
85
|
+
* - `ad_campaign:update`
|
|
86
|
+
* - `ad_campaign:basic:read`
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* ```ts
|
|
90
|
+
* const adGroup = await client.adGroups.pause(
|
|
91
|
+
* 'adgrp_xxxxxxxxxxxx',
|
|
92
|
+
* );
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
pause(id, options) {
|
|
96
|
+
return this._client.post(path `/ad_groups/${id}/pause`, options);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Resumes a paused ad group.
|
|
100
|
+
*
|
|
101
|
+
* Required permissions:
|
|
102
|
+
*
|
|
103
|
+
* - `ad_campaign:update`
|
|
104
|
+
* - `ad_campaign:basic:read`
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* ```ts
|
|
108
|
+
* const adGroup = await client.adGroups.unpause(
|
|
109
|
+
* 'adgrp_xxxxxxxxxxxx',
|
|
110
|
+
* );
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
unpause(id, options) {
|
|
114
|
+
return this._client.post(path `/ad_groups/${id}/unpause`, options);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
//# sourceMappingURL=ad-groups.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ad-groups.mjs","sourceRoot":"","sources":["../src/resources/ad-groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,CAAA,UAA+B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,cAAc,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,EAAU,EACV,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,cAAc,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,cAAc,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,KAAK,CAAC,EAAU,EAAE,OAAwB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,cAAc,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF"}
|
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as AdReportsAPI from "./ad-reports.mjs";
|
|
3
|
+
import * as Shared from "./shared.mjs";
|
|
4
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
5
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
6
|
+
/**
|
|
7
|
+
* Ad reports
|
|
8
|
+
*/
|
|
9
|
+
export declare class AdReports extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Performance report for a company, ad campaign, ad group, or ad. Always returns
|
|
12
|
+
* aggregate `summary` totals. Set `granularity` (`daily`/`hourly`) to additionally
|
|
13
|
+
* get a time series, or set `breakdown` (`campaign`/`ad_group`/`ad`) to
|
|
14
|
+
* additionally get per-entity rows inside the requested scope. Exactly one of
|
|
15
|
+
* `companyId`, `adCampaignId`, `adGroupId`, or `adId` must be provided.
|
|
16
|
+
*
|
|
17
|
+
* Required permissions:
|
|
18
|
+
*
|
|
19
|
+
* - `ad_campaign:stats:read`
|
|
20
|
+
*/
|
|
21
|
+
retrieve(query: AdReportRetrieveParams, options?: RequestOptions): APIPromise<AdReportRetrieveResponse>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Bucket size for external ad stat rows.
|
|
25
|
+
*/
|
|
26
|
+
export type Granularities = 'daily' | 'hourly';
|
|
27
|
+
/**
|
|
28
|
+
* Types of optimization results tracked from external ad platforms
|
|
29
|
+
*/
|
|
30
|
+
export type ResultLabelKeys = 'app_installs' | 'messaging_conversations_started' | 'post_engagement' | 'event_responses' | 'impressions' | 'website_purchases' | 'landing_page_views' | 'leads' | 'link_clicks' | 'quality_calls' | 'appointments_booked' | 'messaging_purchases' | 'page_likes' | 'instagram_profile_visits' | 'reach' | 'reminders_set' | 'new_subscribers' | 'video_views' | 'registrations' | 'content_views' | 'searches' | 'website_schedules' | 'website_submit_applications' | 'custom';
|
|
31
|
+
/**
|
|
32
|
+
* An ads performance report. Always returns a summary. The `granularity` field
|
|
33
|
+
* contains a per-bucket time series when the `granularity` arg is set; the
|
|
34
|
+
* `breakdown` field contains per-entity rows when the `breakdown` arg is set.
|
|
35
|
+
*/
|
|
36
|
+
export interface AdReportRetrieveResponse {
|
|
37
|
+
/**
|
|
38
|
+
* Per-entity rows over the date range. `null` when the `breakdown` arg on
|
|
39
|
+
* `adReport` is omitted; otherwise contains one row per ad campaign, ad group, or
|
|
40
|
+
* ad inside the requested scope at the requested level.
|
|
41
|
+
*/
|
|
42
|
+
breakdown: Array<AdReportRetrieveResponse.Breakdown> | null;
|
|
43
|
+
/**
|
|
44
|
+
* Per-bucket time series over the date range, ordered ascending by `bucketStart`.
|
|
45
|
+
* `null` when the `granularity` arg on `adReport` is omitted; otherwise contains
|
|
46
|
+
* rows at the requested grain (`daily` or `hourly`).
|
|
47
|
+
*/
|
|
48
|
+
granularity: Array<AdReportRetrieveResponse.Granularity> | null;
|
|
49
|
+
/**
|
|
50
|
+
* Aggregate totals and rates over the date range.
|
|
51
|
+
*/
|
|
52
|
+
summary: AdReportRetrieveResponse.Summary;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace AdReportRetrieveResponse {
|
|
55
|
+
/**
|
|
56
|
+
* Per-entity ad performance row. Returned when the `breakdown` arg on `adReport`
|
|
57
|
+
* is set.
|
|
58
|
+
*/
|
|
59
|
+
interface Breakdown {
|
|
60
|
+
/**
|
|
61
|
+
* Tag of the entity (ad campaign, ad group, or ad).
|
|
62
|
+
*/
|
|
63
|
+
id: string;
|
|
64
|
+
/**
|
|
65
|
+
* Per-bucket time series for this entity over the date range, ordered ascending by
|
|
66
|
+
* `bucketStart`. `null` when the `granularity` arg on `adReport` is omitted;
|
|
67
|
+
* otherwise contains rows at the requested grain (`daily` or `hourly`).
|
|
68
|
+
*/
|
|
69
|
+
granularity: Array<Breakdown.Granularity> | null;
|
|
70
|
+
/**
|
|
71
|
+
* The entity level of this row — matches the `breakdown` arg.
|
|
72
|
+
*/
|
|
73
|
+
level: 'campaign' | 'ad_group' | 'ad';
|
|
74
|
+
/**
|
|
75
|
+
* Display name of the entity, when available.
|
|
76
|
+
*/
|
|
77
|
+
name: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* Aggregate totals and rates for this entity over the date range.
|
|
80
|
+
*/
|
|
81
|
+
summary: Breakdown.Summary;
|
|
82
|
+
}
|
|
83
|
+
namespace Breakdown {
|
|
84
|
+
/**
|
|
85
|
+
* Per-bucket ad performance for an ad campaign, ad group, or ad. Bucket grain is
|
|
86
|
+
* set by the `ad_report` query's `granularity` argument.
|
|
87
|
+
*/
|
|
88
|
+
interface Granularity {
|
|
89
|
+
/**
|
|
90
|
+
* The bucket's start time as a real UTC instant. `(statDate, statHour)` resolved
|
|
91
|
+
* in the ad account's reporting timezone — render this in the viewer's local
|
|
92
|
+
* timezone.
|
|
93
|
+
*/
|
|
94
|
+
bucket_start: string;
|
|
95
|
+
/**
|
|
96
|
+
* Clicks in this bucket.
|
|
97
|
+
*/
|
|
98
|
+
clicks: number;
|
|
99
|
+
/**
|
|
100
|
+
* The bucket size of this row (`daily` or `hourly`).
|
|
101
|
+
*/
|
|
102
|
+
granularity: AdReportsAPI.Granularities;
|
|
103
|
+
/**
|
|
104
|
+
* Impressions in this bucket.
|
|
105
|
+
*/
|
|
106
|
+
impressions: number;
|
|
107
|
+
/**
|
|
108
|
+
* Unique users reached in this bucket. Always `0` for hourly rows (Meta does not
|
|
109
|
+
* return reach at hourly grain).
|
|
110
|
+
*/
|
|
111
|
+
reach: number;
|
|
112
|
+
/**
|
|
113
|
+
* Count of the primary optimization result in this bucket.
|
|
114
|
+
*/
|
|
115
|
+
result_count: number | null;
|
|
116
|
+
/**
|
|
117
|
+
* Types of optimization results tracked from external ad platforms
|
|
118
|
+
*/
|
|
119
|
+
result_label_key: AdReportsAPI.ResultLabelKeys | null;
|
|
120
|
+
/**
|
|
121
|
+
* Advertiser-defined label for the result when `resultLabelKey` is `custom`.
|
|
122
|
+
*/
|
|
123
|
+
result_label_override: string | null;
|
|
124
|
+
/**
|
|
125
|
+
* Charged spend in this bucket in the requested reporting currency — the amount
|
|
126
|
+
* billed including platform fees, not the platform-side net spend.
|
|
127
|
+
*/
|
|
128
|
+
spend: number;
|
|
129
|
+
/**
|
|
130
|
+
* Currency of the `spend` value.
|
|
131
|
+
*/
|
|
132
|
+
spend_currency: Shared.Currency;
|
|
133
|
+
/**
|
|
134
|
+
* The date these stats cover (midnight UTC). For hourly rows, see `statHour` and
|
|
135
|
+
* `bucketStart`.
|
|
136
|
+
*/
|
|
137
|
+
stat_date: string;
|
|
138
|
+
/**
|
|
139
|
+
* Hour of the day in the ad account's reporting timezone (0-23). `null` for daily
|
|
140
|
+
* rows.
|
|
141
|
+
*/
|
|
142
|
+
stat_hour: number | null;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Aggregate totals and rates for this entity over the date range.
|
|
146
|
+
*/
|
|
147
|
+
interface Summary {
|
|
148
|
+
/**
|
|
149
|
+
* Total clicks over the date range.
|
|
150
|
+
*/
|
|
151
|
+
clicks: number;
|
|
152
|
+
/**
|
|
153
|
+
* Spend divided by `resultCount`. Null when there are no results.
|
|
154
|
+
*/
|
|
155
|
+
cost_per_result: number | null;
|
|
156
|
+
/**
|
|
157
|
+
* Cost per click in the requested reporting currency.
|
|
158
|
+
*/
|
|
159
|
+
cpc: number;
|
|
160
|
+
/**
|
|
161
|
+
* Cost per thousand impressions in the requested reporting currency.
|
|
162
|
+
*/
|
|
163
|
+
cpm: number | null;
|
|
164
|
+
/**
|
|
165
|
+
* Click-through rate (clicks / impressions).
|
|
166
|
+
*/
|
|
167
|
+
ctr: number;
|
|
168
|
+
/**
|
|
169
|
+
* Average number of times each reached user saw an ad.
|
|
170
|
+
*/
|
|
171
|
+
frequency: number | null;
|
|
172
|
+
/**
|
|
173
|
+
* Total impressions over the date range.
|
|
174
|
+
*/
|
|
175
|
+
impressions: number;
|
|
176
|
+
/**
|
|
177
|
+
* Unique users reached, deduplicated by the external ad platform.
|
|
178
|
+
*/
|
|
179
|
+
reach: number;
|
|
180
|
+
/**
|
|
181
|
+
* Count of the campaign's primary optimization result (purchases, clicks, etc.) —
|
|
182
|
+
* see `resultLabelKey`.
|
|
183
|
+
*/
|
|
184
|
+
result_count: number | null;
|
|
185
|
+
/**
|
|
186
|
+
* Types of optimization results tracked from external ad platforms
|
|
187
|
+
*/
|
|
188
|
+
result_label_key: AdReportsAPI.ResultLabelKeys | null;
|
|
189
|
+
/**
|
|
190
|
+
* Advertiser-defined label for the result when `resultLabelKey` is `custom`.
|
|
191
|
+
*/
|
|
192
|
+
result_label_override: string | null;
|
|
193
|
+
/**
|
|
194
|
+
* Alias for `purchaseRoas` — return on ad spend for purchases, as reported by the
|
|
195
|
+
* external ad platform.
|
|
196
|
+
*/
|
|
197
|
+
roas: number | null;
|
|
198
|
+
/**
|
|
199
|
+
* Total spend over the date range in the requested reporting currency.
|
|
200
|
+
*/
|
|
201
|
+
spend: number;
|
|
202
|
+
/**
|
|
203
|
+
* The available currencies on the platform
|
|
204
|
+
*/
|
|
205
|
+
spend_currency: Shared.Currency | null;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Per-bucket ad performance for an ad campaign, ad group, or ad. Bucket grain is
|
|
210
|
+
* set by the `ad_report` query's `granularity` argument.
|
|
211
|
+
*/
|
|
212
|
+
interface Granularity {
|
|
213
|
+
/**
|
|
214
|
+
* The bucket's start time as a real UTC instant. `(statDate, statHour)` resolved
|
|
215
|
+
* in the ad account's reporting timezone — render this in the viewer's local
|
|
216
|
+
* timezone.
|
|
217
|
+
*/
|
|
218
|
+
bucket_start: string;
|
|
219
|
+
/**
|
|
220
|
+
* Clicks in this bucket.
|
|
221
|
+
*/
|
|
222
|
+
clicks: number;
|
|
223
|
+
/**
|
|
224
|
+
* The bucket size of this row (`daily` or `hourly`).
|
|
225
|
+
*/
|
|
226
|
+
granularity: AdReportsAPI.Granularities;
|
|
227
|
+
/**
|
|
228
|
+
* Impressions in this bucket.
|
|
229
|
+
*/
|
|
230
|
+
impressions: number;
|
|
231
|
+
/**
|
|
232
|
+
* Unique users reached in this bucket. Always `0` for hourly rows (Meta does not
|
|
233
|
+
* return reach at hourly grain).
|
|
234
|
+
*/
|
|
235
|
+
reach: number;
|
|
236
|
+
/**
|
|
237
|
+
* Count of the primary optimization result in this bucket.
|
|
238
|
+
*/
|
|
239
|
+
result_count: number | null;
|
|
240
|
+
/**
|
|
241
|
+
* Types of optimization results tracked from external ad platforms
|
|
242
|
+
*/
|
|
243
|
+
result_label_key: AdReportsAPI.ResultLabelKeys | null;
|
|
244
|
+
/**
|
|
245
|
+
* Advertiser-defined label for the result when `resultLabelKey` is `custom`.
|
|
246
|
+
*/
|
|
247
|
+
result_label_override: string | null;
|
|
248
|
+
/**
|
|
249
|
+
* Charged spend in this bucket in the requested reporting currency — the amount
|
|
250
|
+
* billed including platform fees, not the platform-side net spend.
|
|
251
|
+
*/
|
|
252
|
+
spend: number;
|
|
253
|
+
/**
|
|
254
|
+
* Currency of the `spend` value.
|
|
255
|
+
*/
|
|
256
|
+
spend_currency: Shared.Currency;
|
|
257
|
+
/**
|
|
258
|
+
* The date these stats cover (midnight UTC). For hourly rows, see `statHour` and
|
|
259
|
+
* `bucketStart`.
|
|
260
|
+
*/
|
|
261
|
+
stat_date: string;
|
|
262
|
+
/**
|
|
263
|
+
* Hour of the day in the ad account's reporting timezone (0-23). `null` for daily
|
|
264
|
+
* rows.
|
|
265
|
+
*/
|
|
266
|
+
stat_hour: number | null;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Aggregate totals and rates over the date range.
|
|
270
|
+
*/
|
|
271
|
+
interface Summary {
|
|
272
|
+
/**
|
|
273
|
+
* Total clicks over the date range.
|
|
274
|
+
*/
|
|
275
|
+
clicks: number;
|
|
276
|
+
/**
|
|
277
|
+
* Spend divided by `resultCount`. Null when there are no results.
|
|
278
|
+
*/
|
|
279
|
+
cost_per_result: number | null;
|
|
280
|
+
/**
|
|
281
|
+
* Cost per click in the requested reporting currency.
|
|
282
|
+
*/
|
|
283
|
+
cpc: number;
|
|
284
|
+
/**
|
|
285
|
+
* Cost per thousand impressions in the requested reporting currency.
|
|
286
|
+
*/
|
|
287
|
+
cpm: number | null;
|
|
288
|
+
/**
|
|
289
|
+
* Click-through rate (clicks / impressions).
|
|
290
|
+
*/
|
|
291
|
+
ctr: number;
|
|
292
|
+
/**
|
|
293
|
+
* Average number of times each reached user saw an ad.
|
|
294
|
+
*/
|
|
295
|
+
frequency: number | null;
|
|
296
|
+
/**
|
|
297
|
+
* Total impressions over the date range.
|
|
298
|
+
*/
|
|
299
|
+
impressions: number;
|
|
300
|
+
/**
|
|
301
|
+
* Unique users reached, deduplicated by the external ad platform.
|
|
302
|
+
*/
|
|
303
|
+
reach: number;
|
|
304
|
+
/**
|
|
305
|
+
* Count of the campaign's primary optimization result (purchases, clicks, etc.) —
|
|
306
|
+
* see `resultLabelKey`.
|
|
307
|
+
*/
|
|
308
|
+
result_count: number | null;
|
|
309
|
+
/**
|
|
310
|
+
* Types of optimization results tracked from external ad platforms
|
|
311
|
+
*/
|
|
312
|
+
result_label_key: AdReportsAPI.ResultLabelKeys | null;
|
|
313
|
+
/**
|
|
314
|
+
* Advertiser-defined label for the result when `resultLabelKey` is `custom`.
|
|
315
|
+
*/
|
|
316
|
+
result_label_override: string | null;
|
|
317
|
+
/**
|
|
318
|
+
* Alias for `purchaseRoas` — return on ad spend for purchases, as reported by the
|
|
319
|
+
* external ad platform.
|
|
320
|
+
*/
|
|
321
|
+
roas: number | null;
|
|
322
|
+
/**
|
|
323
|
+
* Total spend over the date range in the requested reporting currency.
|
|
324
|
+
*/
|
|
325
|
+
spend: number;
|
|
326
|
+
/**
|
|
327
|
+
* The available currencies on the platform
|
|
328
|
+
*/
|
|
329
|
+
spend_currency: Shared.Currency | null;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
export interface AdReportRetrieveParams {
|
|
333
|
+
/**
|
|
334
|
+
* Inclusive start of the reporting window.
|
|
335
|
+
*/
|
|
336
|
+
from: string;
|
|
337
|
+
/**
|
|
338
|
+
* Inclusive end of the reporting window.
|
|
339
|
+
*/
|
|
340
|
+
to: string;
|
|
341
|
+
/**
|
|
342
|
+
* The unique identifier of an ad campaign. Mutually exclusive with `companyId`,
|
|
343
|
+
* `adGroupId`, and `adId`.
|
|
344
|
+
*/
|
|
345
|
+
ad_campaign_id?: string | null;
|
|
346
|
+
/**
|
|
347
|
+
* The unique identifier of an ad group. Mutually exclusive with `companyId`,
|
|
348
|
+
* `adCampaignId`, and `adId`.
|
|
349
|
+
*/
|
|
350
|
+
ad_group_id?: string | null;
|
|
351
|
+
/**
|
|
352
|
+
* The unique identifier of an ad. Mutually exclusive with `companyId`,
|
|
353
|
+
* `adCampaignId`, and `adGroupId`.
|
|
354
|
+
*/
|
|
355
|
+
ad_id?: string | null;
|
|
356
|
+
/**
|
|
357
|
+
* Entity level to group an ad report by.
|
|
358
|
+
*/
|
|
359
|
+
breakdown?: 'campaign' | 'ad_group' | 'ad' | null;
|
|
360
|
+
/**
|
|
361
|
+
* The unique identifier of a company. Mutually exclusive with `adCampaignId`,
|
|
362
|
+
* `adGroupId`, and `adId`. Use with `breakdown` to fan out across every campaign,
|
|
363
|
+
* ad group, or ad in the company without paging.
|
|
364
|
+
*/
|
|
365
|
+
company_id?: string | null;
|
|
366
|
+
/**
|
|
367
|
+
* ISO 4217 currency code to report `spend` in. Defaults to the company's ads
|
|
368
|
+
* reporting currency.
|
|
369
|
+
*/
|
|
370
|
+
currency?: string | null;
|
|
371
|
+
/**
|
|
372
|
+
* Bucket size for external ad stat rows.
|
|
373
|
+
*/
|
|
374
|
+
granularity?: Granularities | null;
|
|
375
|
+
}
|
|
376
|
+
export declare namespace AdReports {
|
|
377
|
+
export { type Granularities as Granularities, type ResultLabelKeys as ResultLabelKeys, type AdReportRetrieveResponse as AdReportRetrieveResponse, type AdReportRetrieveParams as AdReportRetrieveParams, };
|
|
378
|
+
}
|
|
379
|
+
//# sourceMappingURL=ad-reports.d.mts.map
|