@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
|
@@ -8,23 +8,23 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class AuthorizedUsers extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Returns a paginated list of authorized team members for a company, with optional
|
|
12
|
+
* filtering by user, role, and creation date.
|
|
12
13
|
*
|
|
13
14
|
* Required permissions:
|
|
14
15
|
*
|
|
15
|
-
* - `authorized_user:
|
|
16
|
+
* - `company:authorized_user:read`
|
|
16
17
|
* - `member:email:read`
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* ```ts
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* });
|
|
21
|
+
* // Automatically fetches more pages as needed.
|
|
22
|
+
* for await (const authorizedUserListResponse of client.authorizedUsers.list()) {
|
|
23
|
+
* // ...
|
|
24
|
+
* }
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
list(query?: AuthorizedUserListParams | null | undefined, options?: RequestOptions): PagePromise<AuthorizedUserListResponsesCursorPage, AuthorizedUserListResponse>;
|
|
28
28
|
/**
|
|
29
29
|
* Retrieves the details of an existing authorized user.
|
|
30
30
|
*
|
|
@@ -43,23 +43,23 @@ export declare class AuthorizedUsers extends APIResource {
|
|
|
43
43
|
*/
|
|
44
44
|
retrieve(id: string, options?: RequestOptions): APIPromise<AuthorizedUser>;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
47
|
-
* filtering by user, role, and creation date.
|
|
46
|
+
* Add a new authorized user to a company.
|
|
48
47
|
*
|
|
49
48
|
* Required permissions:
|
|
50
49
|
*
|
|
51
|
-
* - `
|
|
50
|
+
* - `authorized_user:create`
|
|
52
51
|
* - `member:email:read`
|
|
53
52
|
*
|
|
54
53
|
* @example
|
|
55
54
|
* ```ts
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
55
|
+
* const authorizedUser = await client.authorizedUsers.create({
|
|
56
|
+
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
57
|
+
* role: 'owner',
|
|
58
|
+
* user_id: 'user_xxxxxxxxxxxxx',
|
|
59
|
+
* });
|
|
60
60
|
* ```
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
create(body: AuthorizedUserCreateParams, options?: RequestOptions): APIPromise<AuthorizedUser>;
|
|
63
63
|
/**
|
|
64
64
|
* Remove an authorized user from a company.
|
|
65
65
|
*
|
|
@@ -199,25 +199,6 @@ export declare namespace AuthorizedUserListResponse {
|
|
|
199
199
|
* Represents `true` or `false` values.
|
|
200
200
|
*/
|
|
201
201
|
export type AuthorizedUserDeleteResponse = boolean;
|
|
202
|
-
export interface AuthorizedUserCreateParams {
|
|
203
|
-
/**
|
|
204
|
-
* The ID of the company to add the authorized user to.
|
|
205
|
-
*/
|
|
206
|
-
company_id: string;
|
|
207
|
-
/**
|
|
208
|
-
* The role to assign to the authorized user within the company. Supported roles:
|
|
209
|
-
* 'moderator', 'sales_manager'.
|
|
210
|
-
*/
|
|
211
|
-
role: Shared.AuthorizedUserRoles;
|
|
212
|
-
/**
|
|
213
|
-
* The ID of the user to add as an authorized user.
|
|
214
|
-
*/
|
|
215
|
-
user_id: string;
|
|
216
|
-
/**
|
|
217
|
-
* Whether to send notification emails to the user on creation.
|
|
218
|
-
*/
|
|
219
|
-
send_emails?: boolean | null;
|
|
220
|
-
}
|
|
221
202
|
export interface AuthorizedUserListParams extends CursorPageParams {
|
|
222
203
|
/**
|
|
223
204
|
* Returns the elements in the list that come before the specified cursor.
|
|
@@ -253,6 +234,25 @@ export interface AuthorizedUserListParams extends CursorPageParams {
|
|
|
253
234
|
*/
|
|
254
235
|
user_id?: string | null;
|
|
255
236
|
}
|
|
237
|
+
export interface AuthorizedUserCreateParams {
|
|
238
|
+
/**
|
|
239
|
+
* The ID of the company to add the authorized user to.
|
|
240
|
+
*/
|
|
241
|
+
company_id: string;
|
|
242
|
+
/**
|
|
243
|
+
* The role to assign to the authorized user within the company. Supported roles:
|
|
244
|
+
* 'moderator', 'sales_manager'.
|
|
245
|
+
*/
|
|
246
|
+
role: Shared.AuthorizedUserRoles;
|
|
247
|
+
/**
|
|
248
|
+
* The ID of the user to add as an authorized user.
|
|
249
|
+
*/
|
|
250
|
+
user_id: string;
|
|
251
|
+
/**
|
|
252
|
+
* Whether to send notification emails to the user on creation.
|
|
253
|
+
*/
|
|
254
|
+
send_emails?: boolean | null;
|
|
255
|
+
}
|
|
256
256
|
export interface AuthorizedUserDeleteParams {
|
|
257
257
|
/**
|
|
258
258
|
* The ID of the company the authorized user belongs to. Optional if the authorized
|
|
@@ -261,6 +261,6 @@ export interface AuthorizedUserDeleteParams {
|
|
|
261
261
|
company_id?: string | null;
|
|
262
262
|
}
|
|
263
263
|
export declare namespace AuthorizedUsers {
|
|
264
|
-
export { type AuthorizedUser as AuthorizedUser, type AuthorizedUserListResponse as AuthorizedUserListResponse, type AuthorizedUserDeleteResponse as AuthorizedUserDeleteResponse, type AuthorizedUserListResponsesCursorPage as AuthorizedUserListResponsesCursorPage, type
|
|
264
|
+
export { type AuthorizedUser as AuthorizedUser, type AuthorizedUserListResponse as AuthorizedUserListResponse, type AuthorizedUserDeleteResponse as AuthorizedUserDeleteResponse, type AuthorizedUserListResponsesCursorPage as AuthorizedUserListResponsesCursorPage, type AuthorizedUserListParams as AuthorizedUserListParams, type AuthorizedUserCreateParams as AuthorizedUserCreateParams, type AuthorizedUserDeleteParams as AuthorizedUserDeleteParams, };
|
|
265
265
|
}
|
|
266
266
|
//# sourceMappingURL=authorized-users.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authorized-users.d.ts","sourceRoot":"","sources":["../src/resources/authorized-users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;;;;OAgBG;IACH,
|
|
1
|
+
{"version":3,"file":"authorized-users.d.ts","sourceRoot":"","sources":["../src/resources/authorized-users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CACF,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,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AC;CACzB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC,mBAAmB,CAAC;IAEjC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -10,24 +10,27 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class AuthorizedUsers extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Returns a paginated list of authorized team members for a company, with optional
|
|
14
|
+
* filtering by user, role, and creation date.
|
|
14
15
|
*
|
|
15
16
|
* Required permissions:
|
|
16
17
|
*
|
|
17
|
-
* - `authorized_user:
|
|
18
|
+
* - `company:authorized_user:read`
|
|
18
19
|
* - `member:email:read`
|
|
19
20
|
*
|
|
20
21
|
* @example
|
|
21
22
|
* ```ts
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* });
|
|
23
|
+
* // Automatically fetches more pages as needed.
|
|
24
|
+
* for await (const authorizedUserListResponse of client.authorizedUsers.list()) {
|
|
25
|
+
* // ...
|
|
26
|
+
* }
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
|
|
30
|
-
return this._client.
|
|
29
|
+
list(query = {}, options) {
|
|
30
|
+
return this._client.getAPIList('/authorized_users', (pagination_1.CursorPage), {
|
|
31
|
+
query,
|
|
32
|
+
...options,
|
|
33
|
+
});
|
|
31
34
|
}
|
|
32
35
|
/**
|
|
33
36
|
* Retrieves the details of an existing authorized user.
|
|
@@ -49,27 +52,24 @@ class AuthorizedUsers extends resource_1.APIResource {
|
|
|
49
52
|
return this._client.get((0, path_1.path) `/authorized_users/${id}`, options);
|
|
50
53
|
}
|
|
51
54
|
/**
|
|
52
|
-
*
|
|
53
|
-
* filtering by user, role, and creation date.
|
|
55
|
+
* Add a new authorized user to a company.
|
|
54
56
|
*
|
|
55
57
|
* Required permissions:
|
|
56
58
|
*
|
|
57
|
-
* - `
|
|
59
|
+
* - `authorized_user:create`
|
|
58
60
|
* - `member:email:read`
|
|
59
61
|
*
|
|
60
62
|
* @example
|
|
61
63
|
* ```ts
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
64
|
+
* const authorizedUser = await client.authorizedUsers.create({
|
|
65
|
+
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
66
|
+
* role: 'owner',
|
|
67
|
+
* user_id: 'user_xxxxxxxxxxxxx',
|
|
68
|
+
* });
|
|
66
69
|
* ```
|
|
67
70
|
*/
|
|
68
|
-
|
|
69
|
-
return this._client.
|
|
70
|
-
query,
|
|
71
|
-
...options,
|
|
72
|
-
});
|
|
71
|
+
create(body, options) {
|
|
72
|
+
return this._client.post('/authorized_users', { body, ...options });
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
75
|
* Remove an authorized user from a company.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authorized-users.js","sourceRoot":"","sources":["../src/resources/authorized-users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAoF;AAEpF,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
@@ -7,24 +7,27 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export class AuthorizedUsers extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Returns a paginated list of authorized team members for a company, with optional
|
|
11
|
+
* filtering by user, role, and creation date.
|
|
11
12
|
*
|
|
12
13
|
* Required permissions:
|
|
13
14
|
*
|
|
14
|
-
* - `authorized_user:
|
|
15
|
+
* - `company:authorized_user:read`
|
|
15
16
|
* - `member:email:read`
|
|
16
17
|
*
|
|
17
18
|
* @example
|
|
18
19
|
* ```ts
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* });
|
|
20
|
+
* // Automatically fetches more pages as needed.
|
|
21
|
+
* for await (const authorizedUserListResponse of client.authorizedUsers.list()) {
|
|
22
|
+
* // ...
|
|
23
|
+
* }
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
|
-
|
|
27
|
-
return this._client.
|
|
26
|
+
list(query = {}, options) {
|
|
27
|
+
return this._client.getAPIList('/authorized_users', (CursorPage), {
|
|
28
|
+
query,
|
|
29
|
+
...options,
|
|
30
|
+
});
|
|
28
31
|
}
|
|
29
32
|
/**
|
|
30
33
|
* Retrieves the details of an existing authorized user.
|
|
@@ -46,27 +49,24 @@ export class AuthorizedUsers extends APIResource {
|
|
|
46
49
|
return this._client.get(path `/authorized_users/${id}`, options);
|
|
47
50
|
}
|
|
48
51
|
/**
|
|
49
|
-
*
|
|
50
|
-
* filtering by user, role, and creation date.
|
|
52
|
+
* Add a new authorized user to a company.
|
|
51
53
|
*
|
|
52
54
|
* Required permissions:
|
|
53
55
|
*
|
|
54
|
-
* - `
|
|
56
|
+
* - `authorized_user:create`
|
|
55
57
|
* - `member:email:read`
|
|
56
58
|
*
|
|
57
59
|
* @example
|
|
58
60
|
* ```ts
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
61
|
+
* const authorizedUser = await client.authorizedUsers.create({
|
|
62
|
+
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
63
|
+
* role: 'owner',
|
|
64
|
+
* user_id: 'user_xxxxxxxxxxxxx',
|
|
65
|
+
* });
|
|
63
66
|
* ```
|
|
64
67
|
*/
|
|
65
|
-
|
|
66
|
-
return this._client.
|
|
67
|
-
query,
|
|
68
|
-
...options,
|
|
69
|
-
});
|
|
68
|
+
create(body, options) {
|
|
69
|
+
return this._client.post('/authorized_users', { body, ...options });
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* Remove an authorized user from a company.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authorized-users.mjs","sourceRoot":"","sources":["../src/resources/authorized-users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;;;;OAgBG;IACH,
|
|
1
|
+
{"version":3,"file":"authorized-users.mjs","sourceRoot":"","sources":["../src/resources/authorized-users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CACF,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,UAAsC,CAAA,EAAE;YAC1F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,IAAgC,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAU,EACV,SAAwD,EAAE,EAC1D,OAAwB;QAExB,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF"}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as Shared from "./shared.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
|
+
* Bounties
|
|
8
|
+
*/
|
|
9
|
+
export declare class Bounties extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Returns a paginated list of workforce bounties. When experienceId is provided,
|
|
12
|
+
* returns bounties scoped to that experience. When omitted, returns bounties with
|
|
13
|
+
* no experience.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* // Automatically fetches more pages as needed.
|
|
18
|
+
* for await (const bountyListResponse of client.bounties.list()) {
|
|
19
|
+
* // ...
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
list(query?: BountyListParams | null | undefined, options?: RequestOptions): PagePromise<BountyListResponsesCursorPage, BountyListResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Create a new workforce bounty by funding a dedicated bounty pool.
|
|
26
|
+
*
|
|
27
|
+
* Required permissions:
|
|
28
|
+
*
|
|
29
|
+
* - `bounty:create`
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const bounty = await client.bounties.create({
|
|
34
|
+
* base_unit_amount: 6.9,
|
|
35
|
+
* currency: 'usd',
|
|
36
|
+
* description: 'description',
|
|
37
|
+
* title: 'title',
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
create(body: BountyCreateParams, options?: RequestOptions): APIPromise<BountyCreateResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Retrieves a workforce bounty for the current authenticated user.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const bounty = await client.bounties.retrieve(
|
|
48
|
+
* 'bnty_xxxxxxxxxxxxx',
|
|
49
|
+
* );
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<BountyRetrieveResponse>;
|
|
53
|
+
}
|
|
54
|
+
export type BountyListResponsesCursorPage = CursorPage<BountyListResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* A privately accessible bounty.
|
|
57
|
+
*/
|
|
58
|
+
export interface BountyCreateResponse {
|
|
59
|
+
/**
|
|
60
|
+
* The unique identifier for the bounty.
|
|
61
|
+
*/
|
|
62
|
+
id: string;
|
|
63
|
+
/**
|
|
64
|
+
* The underlying bounty implementation type.
|
|
65
|
+
*/
|
|
66
|
+
bounty_type: 'classic' | 'user_funded' | 'workforce';
|
|
67
|
+
/**
|
|
68
|
+
* The datetime the bounty was created.
|
|
69
|
+
*/
|
|
70
|
+
created_at: string;
|
|
71
|
+
/**
|
|
72
|
+
* The currency used for the bounty funds.
|
|
73
|
+
*/
|
|
74
|
+
currency: Shared.Currency;
|
|
75
|
+
/**
|
|
76
|
+
* The description of the bounty.
|
|
77
|
+
*/
|
|
78
|
+
description: string;
|
|
79
|
+
/**
|
|
80
|
+
* The current lifecycle status of the bounty.
|
|
81
|
+
*/
|
|
82
|
+
status: 'published' | 'archived';
|
|
83
|
+
/**
|
|
84
|
+
* The title of the bounty.
|
|
85
|
+
*/
|
|
86
|
+
title: string;
|
|
87
|
+
/**
|
|
88
|
+
* The total amount currently funded in the bounty pool for payout.
|
|
89
|
+
*/
|
|
90
|
+
total_available: number;
|
|
91
|
+
/**
|
|
92
|
+
* The total amount paid out for this bounty.
|
|
93
|
+
*/
|
|
94
|
+
total_paid: number;
|
|
95
|
+
/**
|
|
96
|
+
* The datetime the bounty was last updated.
|
|
97
|
+
*/
|
|
98
|
+
updated_at: string;
|
|
99
|
+
/**
|
|
100
|
+
* The number of watcher votes required before the submission can resolve.
|
|
101
|
+
*/
|
|
102
|
+
vote_threshold: number;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* A privately accessible bounty.
|
|
106
|
+
*/
|
|
107
|
+
export interface BountyRetrieveResponse {
|
|
108
|
+
/**
|
|
109
|
+
* The unique identifier for the bounty.
|
|
110
|
+
*/
|
|
111
|
+
id: string;
|
|
112
|
+
/**
|
|
113
|
+
* The underlying bounty implementation type.
|
|
114
|
+
*/
|
|
115
|
+
bounty_type: 'classic' | 'user_funded' | 'workforce';
|
|
116
|
+
/**
|
|
117
|
+
* The datetime the bounty was created.
|
|
118
|
+
*/
|
|
119
|
+
created_at: string;
|
|
120
|
+
/**
|
|
121
|
+
* The currency used for the bounty funds.
|
|
122
|
+
*/
|
|
123
|
+
currency: Shared.Currency;
|
|
124
|
+
/**
|
|
125
|
+
* The description of the bounty.
|
|
126
|
+
*/
|
|
127
|
+
description: string;
|
|
128
|
+
/**
|
|
129
|
+
* The current lifecycle status of the bounty.
|
|
130
|
+
*/
|
|
131
|
+
status: 'published' | 'archived';
|
|
132
|
+
/**
|
|
133
|
+
* The title of the bounty.
|
|
134
|
+
*/
|
|
135
|
+
title: string;
|
|
136
|
+
/**
|
|
137
|
+
* The total amount currently funded in the bounty pool for payout.
|
|
138
|
+
*/
|
|
139
|
+
total_available: number;
|
|
140
|
+
/**
|
|
141
|
+
* The total amount paid out for this bounty.
|
|
142
|
+
*/
|
|
143
|
+
total_paid: number;
|
|
144
|
+
/**
|
|
145
|
+
* The datetime the bounty was last updated.
|
|
146
|
+
*/
|
|
147
|
+
updated_at: string;
|
|
148
|
+
/**
|
|
149
|
+
* The number of watcher votes required before the submission can resolve.
|
|
150
|
+
*/
|
|
151
|
+
vote_threshold: number;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* A privately accessible bounty.
|
|
155
|
+
*/
|
|
156
|
+
export interface BountyListResponse {
|
|
157
|
+
/**
|
|
158
|
+
* The unique identifier for the bounty.
|
|
159
|
+
*/
|
|
160
|
+
id: string;
|
|
161
|
+
/**
|
|
162
|
+
* The underlying bounty implementation type.
|
|
163
|
+
*/
|
|
164
|
+
bounty_type: 'classic' | 'user_funded' | 'workforce';
|
|
165
|
+
/**
|
|
166
|
+
* The datetime the bounty was created.
|
|
167
|
+
*/
|
|
168
|
+
created_at: string;
|
|
169
|
+
/**
|
|
170
|
+
* The currency used for the bounty funds.
|
|
171
|
+
*/
|
|
172
|
+
currency: Shared.Currency;
|
|
173
|
+
/**
|
|
174
|
+
* The description of the bounty.
|
|
175
|
+
*/
|
|
176
|
+
description: string;
|
|
177
|
+
/**
|
|
178
|
+
* The current lifecycle status of the bounty.
|
|
179
|
+
*/
|
|
180
|
+
status: 'published' | 'archived';
|
|
181
|
+
/**
|
|
182
|
+
* The title of the bounty.
|
|
183
|
+
*/
|
|
184
|
+
title: string;
|
|
185
|
+
/**
|
|
186
|
+
* The total amount currently funded in the bounty pool for payout.
|
|
187
|
+
*/
|
|
188
|
+
total_available: number;
|
|
189
|
+
/**
|
|
190
|
+
* The total amount paid out for this bounty.
|
|
191
|
+
*/
|
|
192
|
+
total_paid: number;
|
|
193
|
+
/**
|
|
194
|
+
* The datetime the bounty was last updated.
|
|
195
|
+
*/
|
|
196
|
+
updated_at: string;
|
|
197
|
+
/**
|
|
198
|
+
* The number of watcher votes required before the submission can resolve.
|
|
199
|
+
*/
|
|
200
|
+
vote_threshold: number;
|
|
201
|
+
}
|
|
202
|
+
export interface BountyListParams extends CursorPageParams {
|
|
203
|
+
/**
|
|
204
|
+
* Returns the elements in the list that come before the specified cursor.
|
|
205
|
+
*/
|
|
206
|
+
before?: string | null;
|
|
207
|
+
/**
|
|
208
|
+
* The direction of the sort.
|
|
209
|
+
*/
|
|
210
|
+
direction?: Shared.Direction | null;
|
|
211
|
+
/**
|
|
212
|
+
* The experience to list bounties for. When omitted, returns bounties with no
|
|
213
|
+
* experience.
|
|
214
|
+
*/
|
|
215
|
+
experience_id?: string | null;
|
|
216
|
+
/**
|
|
217
|
+
* Returns the first _n_ elements from the list.
|
|
218
|
+
*/
|
|
219
|
+
first?: number | null;
|
|
220
|
+
/**
|
|
221
|
+
* Returns the last _n_ elements from the list.
|
|
222
|
+
*/
|
|
223
|
+
last?: number | null;
|
|
224
|
+
/**
|
|
225
|
+
* The available bounty statuses to choose from.
|
|
226
|
+
*/
|
|
227
|
+
status?: 'published' | 'archived' | null;
|
|
228
|
+
}
|
|
229
|
+
export interface BountyCreateParams {
|
|
230
|
+
/**
|
|
231
|
+
* The amount paid to each approved submission. The total bounty pool funded is
|
|
232
|
+
* this amount times accepted_submissions_limit.
|
|
233
|
+
*/
|
|
234
|
+
base_unit_amount: number;
|
|
235
|
+
/**
|
|
236
|
+
* The currency for the bounty pool funding amount.
|
|
237
|
+
*/
|
|
238
|
+
currency: Shared.Currency;
|
|
239
|
+
/**
|
|
240
|
+
* The description of the bounty.
|
|
241
|
+
*/
|
|
242
|
+
description: string;
|
|
243
|
+
/**
|
|
244
|
+
* The title of the bounty.
|
|
245
|
+
*/
|
|
246
|
+
title: string;
|
|
247
|
+
/**
|
|
248
|
+
* The number of submissions that can be approved before the bounty closes.
|
|
249
|
+
* Defaults to 1.
|
|
250
|
+
*/
|
|
251
|
+
accepted_submissions_limit?: number | null;
|
|
252
|
+
/**
|
|
253
|
+
* The ISO3166 country codes where this bounty should be visible. Empty means
|
|
254
|
+
* globally visible.
|
|
255
|
+
*/
|
|
256
|
+
allowed_country_codes?: Array<string> | null;
|
|
257
|
+
/**
|
|
258
|
+
* An optional experience to scope the bounty to.
|
|
259
|
+
*/
|
|
260
|
+
experience_id?: string | null;
|
|
261
|
+
/**
|
|
262
|
+
* The user (user*\*) or company (biz*\*) tag whose balance funds this bounty pool.
|
|
263
|
+
* Defaults to the requester's personal balance when omitted. The requester must be
|
|
264
|
+
* the user themself or an owner/admin of the company.
|
|
265
|
+
*/
|
|
266
|
+
origin_account_id?: string | null;
|
|
267
|
+
/**
|
|
268
|
+
* Optional markdown body for the anchor forum post. Falls back to the bounty
|
|
269
|
+
* description when omitted.
|
|
270
|
+
*/
|
|
271
|
+
post_markdown_content?: string | null;
|
|
272
|
+
/**
|
|
273
|
+
* Optional title for the anchor forum post. Falls back to the bounty title when
|
|
274
|
+
* omitted.
|
|
275
|
+
*/
|
|
276
|
+
post_title?: string | null;
|
|
277
|
+
}
|
|
278
|
+
export declare namespace Bounties {
|
|
279
|
+
export { type BountyCreateResponse as BountyCreateResponse, type BountyRetrieveResponse as BountyRetrieveResponse, type BountyListResponse as BountyListResponse, type BountyListResponsesCursorPage as BountyListResponsesCursorPage, type BountyListParams as BountyListParams, type BountyCreateParams as BountyCreateParams, };
|
|
280
|
+
}
|
|
281
|
+
//# sourceMappingURL=bounties.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bounties.d.mts","sourceRoot":"","sources":["../src/resources/bounties.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAA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