@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
package/resources/index.d.ts
CHANGED
|
@@ -1,55 +1,65 @@
|
|
|
1
1
|
export * from "./shared.js";
|
|
2
|
-
export { AIChats, type AIChat, type NotificationPreferences, type AIChatListResponse, type AIChatDeleteResponse, type
|
|
2
|
+
export { AIChats, type AIChat, type NotificationPreferences, type AIChatListResponse, type AIChatDeleteResponse, type AIChatListParams, type AIChatCreateParams, type AIChatUpdateParams, type AIChatListResponsesCursorPage, } from "./ai-chats.js";
|
|
3
3
|
export { AccessTokens, type AccessTokenCreateResponse, type AccessTokenCreateParams } from "./access-tokens.js";
|
|
4
4
|
export { AccountLinks, type AccountLinkCreateResponse, type AccountLinkCreateParams } from "./account-links.js";
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
5
|
+
export { Accounts, type Account, type AccountSocialLink, type AccountListResponse, type AccountListParams, type AccountCreateParams, type AccountUpdateParams, } from "./accounts.js";
|
|
6
|
+
export { AdCampaigns, type AdCampaign, type AdCampaignPlatform, type AdCampaignStatus, type AdCampaignListResponse, type AdCampaignListParams, type AdCampaignUpdateParams, type AdCampaignListResponsesCursorPage, } from "./ad-campaigns.js";
|
|
7
|
+
export { AdGroups, type AdBudgetType, type AdGroup, type AdGroupStatus, type AdGroupListResponse, type AdGroupDeleteResponse, type AdGroupListParams, type AdGroupUpdateParams, type AdGroupListResponsesCursorPage, } from "./ad-groups.js";
|
|
8
|
+
export { AdReports, type Granularities, type ResultLabelKeys, type AdReportRetrieveResponse, type AdReportRetrieveParams, } from "./ad-reports.js";
|
|
9
|
+
export { Ads, type Ad, type ExternalAdStatus, type AdListResponse, type AdListParams, type AdListResponsesCursorPage, } from "./ads.js";
|
|
10
|
+
export { Affiliates, type Affiliate, type Status, type AffiliateListResponse, type AffiliateArchiveResponse, type AffiliateUnarchiveResponse, type AffiliateListParams, type AffiliateCreateParams, type AffiliateListResponsesCursorPage, } from "./affiliates/affiliates.js";
|
|
11
|
+
export { AppBuilds, type AppBuildListResponse, type AppBuildListParams, type AppBuildCreateParams, type AppBuildListResponsesCursorPage, } from "./app-builds.js";
|
|
12
|
+
export { Apps, type AppType, type AppListResponse, type AppListParams, type AppCreateParams, type AppUpdateParams, type AppListResponsesCursorPage, } from "./apps.js";
|
|
13
|
+
export { AuthorizedUsers, type AuthorizedUser, type AuthorizedUserListResponse, type AuthorizedUserDeleteResponse, type AuthorizedUserListParams, type AuthorizedUserCreateParams, type AuthorizedUserDeleteParams, type AuthorizedUserListResponsesCursorPage, } from "./authorized-users.js";
|
|
14
|
+
export { Bounties, type BountyCreateResponse, type BountyRetrieveResponse, type BountyListResponse, type BountyListParams, type BountyCreateParams, type BountyListResponsesCursorPage, } from "./bounties.js";
|
|
15
|
+
export { ChatChannels, type ChatChannelListResponse, type ChatChannelListParams, type ChatChannelUpdateParams, type ChatChannelListResponsesCursorPage, } from "./chat-channels.js";
|
|
16
|
+
export { CheckoutConfigurations, type CheckoutModes, type CheckoutConfigurationListResponse, type CheckoutConfigurationListParams, type CheckoutConfigurationCreateParams, type CheckoutConfigurationListResponsesCursorPage, } from "./checkout-configurations.js";
|
|
17
|
+
export { Companies, type SocialLinkWebsites, type CompanyListResponse, type CompanyCreateAPIKeyResponse, type CompanyListParams, type CompanyCreateParams, type CompanyUpdateParams, type CompanyCreateAPIKeyParams, type CompanyListResponsesCursorPage, } from "./companies.js";
|
|
18
|
+
export { CompanyTokenTransactions, type CompanyTokenTransaction, type CompanyTokenTransactionType, type CompanyTokenTransactionListResponse, type CompanyTokenTransactionListParams, type CompanyTokenTransactionCreateParams, type CompanyTokenTransactionListResponsesCursorPage, } from "./company-token-transactions.js";
|
|
19
|
+
export { Conversions, type ConversionCreateResponse, type ConversionCreateParams } from "./conversions.js";
|
|
20
|
+
export { CourseChapters, type CourseChapter, type CourseChapterListResponse, type CourseChapterDeleteResponse, type CourseChapterListParams, type CourseChapterCreateParams, type CourseChapterUpdateParams, type CourseChapterListResponsesCursorPage, } from "./course-chapters.js";
|
|
14
21
|
export { CourseLessonInteractions, type CourseLessonInteractionListParams, } from "./course-lesson-interactions.js";
|
|
15
|
-
export { CourseLessons, type AssessmentQuestionTypes, type EmbedType, type Lesson, type LessonTypes, type LessonVisibilities, type CourseLessonListResponse, type CourseLessonDeleteResponse, type CourseLessonMarkAsCompletedResponse, type CourseLessonStartResponse, type CourseLessonSubmitAssessmentResponse, type
|
|
22
|
+
export { CourseLessons, type AssessmentQuestionTypes, type EmbedType, type Lesson, type LessonTypes, type LessonVisibilities, type CourseLessonListResponse, type CourseLessonDeleteResponse, type CourseLessonMarkAsCompletedResponse, type CourseLessonStartResponse, type CourseLessonSubmitAssessmentResponse, type CourseLessonListParams, type CourseLessonCreateParams, type CourseLessonUpdateParams, type CourseLessonSubmitAssessmentParams, type CourseLessonListResponsesCursorPage, } from "./course-lessons.js";
|
|
16
23
|
export { CourseStudents, type CourseStudentRetrieveResponse, type CourseStudentListResponse, type CourseStudentListParams, type CourseStudentListResponsesCursorPage, } from "./course-students.js";
|
|
17
|
-
export { Courses, type Course, type CourseVisibilities, type Languages, type CourseListResponse, type CourseDeleteResponse, type
|
|
24
|
+
export { Courses, type Course, type CourseVisibilities, type Languages, type CourseListResponse, type CourseDeleteResponse, type CourseListParams, type CourseCreateParams, type CourseUpdateParams, type CourseListResponsesCursorPage, } from "./courses.js";
|
|
25
|
+
export { Deposits, type DepositCreateResponse, type DepositCreateParams } from "./deposits.js";
|
|
18
26
|
export { DisputeAlerts, type DisputeAlertType, type DisputeAlertRetrieveResponse, type DisputeAlertListResponse, type DisputeAlertListParams, type DisputeAlertListResponsesCursorPage, } from "./dispute-alerts.js";
|
|
19
27
|
export { Disputes, type Dispute, type DisputeStatuses, type DisputeListResponse, type DisputeListParams, type DisputeUpdateEvidenceParams, type DisputeListResponsesCursorPage, } from "./disputes.js";
|
|
20
|
-
export { DmChannels, type DmChannel, type DmChannelListResponse, type DmChannelDeleteResponse, type
|
|
21
|
-
export { DmMembers, type DmFeedMemberNotificationPreferences, type DmFeedMemberStatuses, type DmMember, type DmMemberListResponse, type DmMemberDeleteResponse, type
|
|
28
|
+
export { DmChannels, type DmChannel, type DmChannelListResponse, type DmChannelDeleteResponse, type DmChannelListParams, type DmChannelCreateParams, type DmChannelUpdateParams, type DmChannelListResponsesCursorPage, } from "./dm-channels.js";
|
|
29
|
+
export { DmMembers, type DmFeedMemberNotificationPreferences, type DmFeedMemberStatuses, type DmMember, type DmMemberListResponse, type DmMemberDeleteResponse, type DmMemberListParams, type DmMemberCreateParams, type DmMemberUpdateParams, type DmMemberListResponsesCursorPage, } from "./dm-members.js";
|
|
22
30
|
export { Entries, type EntryListResponse, type EntryApproveResponse, type EntryListParams, type EntryListResponsesCursorPage, } from "./entries.js";
|
|
23
|
-
export { Experiences, type ExperienceListResponse, type ExperienceDeleteResponse, type
|
|
24
|
-
export { FeeMarkups, type FeeMarkupType, type FeeMarkupCreateResponse, type FeeMarkupListResponse, type FeeMarkupDeleteResponse, type
|
|
25
|
-
export { Files, type UploadStatus, type FileCreateResponse, type FileRetrieveResponse, type FileCreateParams, } from "./files.js";
|
|
26
|
-
export { ForumPosts, type ForumPostVisibilityType, type ForumPostListResponse, type
|
|
27
|
-
export { Forums, type ForumListResponse, type
|
|
28
|
-
export { Invoices, type TaxIdentifierType, type InvoiceDeleteResponse, type InvoiceMarkPaidResponse, type InvoiceMarkUncollectibleResponse, type InvoiceVoidResponse, type
|
|
29
|
-
export { Leads, type Lead, type LeadListResponse, type
|
|
31
|
+
export { Experiences, type ExperienceListResponse, type ExperienceDeleteResponse, type ExperienceListParams, type ExperienceCreateParams, type ExperienceUpdateParams, type ExperienceAttachParams, type ExperienceDetachParams, type ExperienceDuplicateParams, type ExperienceListResponsesCursorPage, } from "./experiences.js";
|
|
32
|
+
export { FeeMarkups, type FeeMarkupType, type FeeMarkupCreateResponse, type FeeMarkupListResponse, type FeeMarkupDeleteResponse, type FeeMarkupListParams, type FeeMarkupCreateParams, type FeeMarkupListResponsesCursorPage, } from "./fee-markups.js";
|
|
33
|
+
export { Files, type FileVisibility, type UploadStatus, type FileCreateResponse, type FileRetrieveResponse, type FileCreateParams, } from "./files.js";
|
|
34
|
+
export { ForumPosts, type ForumPostVisibilityType, type ForumPostListResponse, type ForumPostListParams, type ForumPostCreateParams, type ForumPostUpdateParams, type ForumPostListResponsesCursorPage, } from "./forum-posts.js";
|
|
35
|
+
export { Forums, type ForumListResponse, type ForumListParams, type ForumUpdateParams, type ForumListResponsesCursorPage, } from "./forums.js";
|
|
36
|
+
export { Invoices, type TaxIdentifierType, type InvoiceDeleteResponse, type InvoiceMarkPaidResponse, type InvoiceMarkUncollectibleResponse, type InvoiceVoidResponse, type InvoiceListParams, type InvoiceCreateParams, type InvoiceUpdateParams, } from "./invoices.js";
|
|
37
|
+
export { Leads, type Lead, type LeadListResponse, type LeadListParams, type LeadCreateParams, type LeadUpdateParams, type LeadListResponsesCursorPage, } from "./leads.js";
|
|
30
38
|
export { LedgerAccounts, type LedgerAccountRetrieveResponse } from "./ledger-accounts.js";
|
|
31
39
|
export { Members, type MemberRetrieveResponse, type MemberListResponse, type MemberListParams, type MemberListResponsesCursorPage, } from "./members.js";
|
|
32
|
-
export { Memberships, type CancelOptions, type MembershipListResponse, type
|
|
33
|
-
export { Messages, type MessageListResponse, type MessageDeleteResponse, type
|
|
40
|
+
export { Memberships, type CancelOptions, type MembershipListResponse, type MembershipListParams, type MembershipUpdateParams, type MembershipCancelParams, type MembershipPauseParams, type MembershipAddFreeDaysParams, type MembershipListResponsesCursorPage, } from "./memberships.js";
|
|
41
|
+
export { Messages, type MessageListResponse, type MessageDeleteResponse, type MessageListParams, type MessageCreateParams, type MessageUpdateParams, type MessageListResponsesCursorPage, } from "./messages.js";
|
|
34
42
|
export { Notifications, type NotificationCreateResponse, type NotificationCreateParams, } from "./notifications.js";
|
|
35
|
-
export { PaymentMethods, type PaymentMethodRetrieveResponse, type PaymentMethodListResponse, type
|
|
36
|
-
export { Payments, type BillingReasons, type CardBrands, type PaymentMethodTypes, type ReceiptTaxBehavior, type PaymentListResponse, type PaymentListFeesResponse, type
|
|
43
|
+
export { PaymentMethods, type PaymentMethodRetrieveResponse, type PaymentMethodListResponse, type PaymentMethodListParams, type PaymentMethodRetrieveParams, type PaymentMethodListResponsesCursorPage, } from "./payment-methods.js";
|
|
44
|
+
export { Payments, type BillingReasons, type CardBrands, type PaymentMethodTypes, type ReceiptTaxBehavior, type PaymentListResponse, type PaymentListFeesResponse, type PaymentListParams, type PaymentRefundParams, type PaymentCreateParams, type PaymentListFeesParams, type PaymentListResponsesCursorPage, type PaymentListFeesResponsesCursorPage, } from "./payments.js";
|
|
37
45
|
export { PayoutAccounts, type PayoutAccountCalculatedStatuses, type PayoutAccountRetrieveResponse, } from "./payout-accounts.js";
|
|
38
46
|
export { PayoutMethods, type PayoutDestinationCategory, type PayoutMethodRetrieveResponse, type PayoutMethodListResponse, type PayoutMethodListParams, type PayoutMethodListResponsesCursorPage, } from "./payout-methods.js";
|
|
39
|
-
export { Plans, type CheckoutFont, type CheckoutShape, type PlanListResponse, type PlanDeleteResponse, type
|
|
40
|
-
export { Products, type ProductDeleteResponse, type
|
|
41
|
-
export { PromoCodes, type PromoCode, type PromoCodeStatus, type PromoDuration, type PromoCodeListResponse, type PromoCodeDeleteResponse, type
|
|
42
|
-
export { Reactions, type ReactionListResponse, type ReactionDeleteResponse, type
|
|
47
|
+
export { Plans, type CheckoutFont, type CheckoutShape, type PlanListResponse, type PlanDeleteResponse, type PlanListParams, type PlanCreateParams, type PlanUpdateParams, type PlanListResponsesCursorPage, } from "./plans.js";
|
|
48
|
+
export { Products, type ProductDeleteResponse, type ProductListParams, type ProductCreateParams, type ProductUpdateParams, } from "./products.js";
|
|
49
|
+
export { PromoCodes, type PromoCode, type PromoCodeStatus, type PromoDuration, type PromoCodeListResponse, type PromoCodeDeleteResponse, type PromoCodeListParams, type PromoCodeCreateParams, type PromoCodeListResponsesCursorPage, } from "./promo-codes.js";
|
|
50
|
+
export { Reactions, type ReactionListResponse, type ReactionDeleteResponse, type ReactionListParams, type ReactionCreateParams, type ReactionDeleteParams, type ReactionListResponsesCursorPage, } from "./reactions.js";
|
|
43
51
|
export { Refunds, type PaymentProvider, type RefundReferenceStatus, type RefundReferenceType, type RefundStatus, type RefundRetrieveResponse, type RefundListResponse, type RefundListParams, type RefundListResponsesCursorPage, } from "./refunds.js";
|
|
44
52
|
export { ResolutionCenterCases, type ResolutionCenterCaseCustomerResponse, type ResolutionCenterCaseIssueType, type ResolutionCenterCaseMerchantResponse, type ResolutionCenterCasePlatformResponse, type ResolutionCenterCaseStatus, type ResolutionCenterCaseRetrieveResponse, type ResolutionCenterCaseListResponse, type ResolutionCenterCaseListParams, type ResolutionCenterCaseListResponsesCursorPage, } from "./resolution-center-cases.js";
|
|
45
53
|
export { Reviews, type ReviewStatus, type ReviewRetrieveResponse, type ReviewListResponse, type ReviewListParams, type ReviewListResponsesCursorPage, } from "./reviews.js";
|
|
46
54
|
export { SetupIntents, type SetupIntent, type SetupIntentStatus, type SetupIntentListResponse, type SetupIntentListParams, type SetupIntentListResponsesCursorPage, } from "./setup-intents.js";
|
|
47
|
-
export { Shipments, type ShipmentListResponse, type
|
|
48
|
-
export { SupportChannels, type SupportChannelListResponse, type
|
|
55
|
+
export { Shipments, type ShipmentListResponse, type ShipmentListParams, type ShipmentCreateParams, type ShipmentListResponsesCursorPage, } from "./shipments.js";
|
|
56
|
+
export { SupportChannels, type SupportChannelListResponse, type SupportChannelListParams, type SupportChannelCreateParams, type SupportChannelListResponsesCursorPage, } from "./support-channels.js";
|
|
57
|
+
export { Swaps, type SwapCreateQuoteResponse, type SwapCreateQuoteParams } from "./swaps.js";
|
|
49
58
|
export { Topups, type TopupCreateResponse, type TopupCreateParams } from "./topups.js";
|
|
50
|
-
export { Transfers, type TransferListResponse, type
|
|
51
|
-
export { Users, type User, type UserListResponse, type UserCheckAccessResponse, type UserRetrieveParams, type
|
|
59
|
+
export { Transfers, type TransferListResponse, type TransferListParams, type TransferCreateParams, type TransferListResponsesCursorPage, } from "./transfers.js";
|
|
60
|
+
export { Users, type User, type UserListResponse, type UserCheckAccessResponse, type UserRetrieveParams, type UserCheckAccessParams, type UserUpdateParams, type UserListParams, type UserListResponsesCursorPage, } from "./users.js";
|
|
52
61
|
export { Verifications, type VerificationErrorCode, type VerificationStatus, type VerificationRetrieveResponse, type VerificationListResponse, type VerificationListParams, type VerificationListResponsesCursorPage, } from "./verifications.js";
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
62
|
+
export { Wallets, type AccountWallet, type WalletListResponse, type WalletBalanceResponse, type WalletSendResponse, type WalletSendParams, } from "./wallets.js";
|
|
63
|
+
export { Webhooks, type APIVersion, type Webhook, type WebhookEvent, type WebhookCreateResponse, type WebhookListResponse, type WebhookDeleteResponse, type CourseLessonInteractionCompletedWebhookEvent, type DisputeCreatedWebhookEvent, type DisputeUpdatedWebhookEvent, type DisputeAlertCreatedWebhookEvent, type EntryApprovedWebhookEvent, type EntryCreatedWebhookEvent, type EntryDeletedWebhookEvent, type EntryDeniedWebhookEvent, type IdentityProfileApprovedWebhookEvent, type IdentityProfileNeedsActionWebhookEvent, type IdentityProfileRejectedWebhookEvent, type IdentityProfileUpdatedWebhookEvent, type InvoiceCreatedWebhookEvent, type InvoiceMarkedUncollectibleWebhookEvent, type InvoicePaidWebhookEvent, type InvoicePastDueWebhookEvent, type InvoiceVoidedWebhookEvent, type MembershipActivatedWebhookEvent, type MembershipCancelAtPeriodEndChangedWebhookEvent, type MembershipDeactivatedWebhookEvent, type PaymentCreatedWebhookEvent, type PaymentFailedWebhookEvent, type PaymentPendingWebhookEvent, type PaymentSucceededWebhookEvent, type PayoutAccountStatusUpdatedWebhookEvent, type PayoutMethodCreatedWebhookEvent, type RefundCreatedWebhookEvent, type RefundUpdatedWebhookEvent, type ResolutionCenterCaseCreatedWebhookEvent, type ResolutionCenterCaseDecidedWebhookEvent, type ResolutionCenterCaseUpdatedWebhookEvent, type SetupIntentCanceledWebhookEvent, type SetupIntentRequiresActionWebhookEvent, type SetupIntentSucceededWebhookEvent, type VerificationSucceededWebhookEvent, type WithdrawalCreatedWebhookEvent, type WithdrawalUpdatedWebhookEvent, type UnwrapWebhookEvent, type WebhookListParams, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListResponsesCursorPage, } from "./webhooks.js";
|
|
64
|
+
export { Withdrawals, type Withdrawal, type WithdrawalFeeTypes, type WithdrawalSpeeds, type WithdrawalStatus, type WithdrawalListResponse, type WithdrawalListParams, type WithdrawalCreateParams, type WithdrawalListResponsesCursorPage, } from "./withdrawals.js";
|
|
55
65
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,GACnC;OACM,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE;OAC9E,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE;OAC9E,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,iCAAiC,GACvC;OACM,EACL,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,8BAA8B,GACpC;OACM,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B;OACM,EACL,GAAG,EACH,KAAK,EAAE,EACP,KAAK,gB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
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.Withdrawals = exports.Webhooks = exports.Verifications = void 0;
|
|
4
|
+
exports.Refunds = exports.Reactions = exports.PromoCodes = exports.Products = exports.Plans = exports.PayoutMethods = exports.PayoutAccounts = exports.Payments = exports.PaymentMethods = exports.Notifications = exports.Messages = exports.Memberships = exports.Members = exports.LedgerAccounts = exports.Leads = exports.Invoices = exports.Forums = exports.ForumPosts = exports.Files = exports.FeeMarkups = exports.Experiences = exports.Entries = exports.DmMembers = exports.DmChannels = exports.Disputes = exports.DisputeAlerts = exports.Deposits = exports.Courses = exports.CourseStudents = exports.CourseLessons = exports.CourseLessonInteractions = exports.CourseChapters = exports.Conversions = exports.CompanyTokenTransactions = exports.Companies = exports.CheckoutConfigurations = exports.ChatChannels = exports.Bounties = exports.AuthorizedUsers = exports.Apps = exports.AppBuilds = exports.Affiliates = exports.Ads = exports.AdReports = exports.AdGroups = exports.AdCampaigns = exports.Accounts = exports.AccountLinks = exports.AccessTokens = exports.AIChats = void 0;
|
|
5
|
+
exports.Withdrawals = exports.Webhooks = exports.Wallets = exports.Verifications = exports.Users = exports.Transfers = exports.Topups = exports.Swaps = exports.SupportChannels = exports.Shipments = exports.SetupIntents = exports.Reviews = exports.ResolutionCenterCases = void 0;
|
|
6
6
|
const tslib_1 = require("../internal/tslib.js");
|
|
7
7
|
tslib_1.__exportStar(require("./shared.js"), exports);
|
|
8
8
|
var ai_chats_1 = require("./ai-chats.js");
|
|
@@ -11,6 +11,16 @@ var access_tokens_1 = require("./access-tokens.js");
|
|
|
11
11
|
Object.defineProperty(exports, "AccessTokens", { enumerable: true, get: function () { return access_tokens_1.AccessTokens; } });
|
|
12
12
|
var account_links_1 = require("./account-links.js");
|
|
13
13
|
Object.defineProperty(exports, "AccountLinks", { enumerable: true, get: function () { return account_links_1.AccountLinks; } });
|
|
14
|
+
var accounts_1 = require("./accounts.js");
|
|
15
|
+
Object.defineProperty(exports, "Accounts", { enumerable: true, get: function () { return accounts_1.Accounts; } });
|
|
16
|
+
var ad_campaigns_1 = require("./ad-campaigns.js");
|
|
17
|
+
Object.defineProperty(exports, "AdCampaigns", { enumerable: true, get: function () { return ad_campaigns_1.AdCampaigns; } });
|
|
18
|
+
var ad_groups_1 = require("./ad-groups.js");
|
|
19
|
+
Object.defineProperty(exports, "AdGroups", { enumerable: true, get: function () { return ad_groups_1.AdGroups; } });
|
|
20
|
+
var ad_reports_1 = require("./ad-reports.js");
|
|
21
|
+
Object.defineProperty(exports, "AdReports", { enumerable: true, get: function () { return ad_reports_1.AdReports; } });
|
|
22
|
+
var ads_1 = require("./ads.js");
|
|
23
|
+
Object.defineProperty(exports, "Ads", { enumerable: true, get: function () { return ads_1.Ads; } });
|
|
14
24
|
var affiliates_1 = require("./affiliates/affiliates.js");
|
|
15
25
|
Object.defineProperty(exports, "Affiliates", { enumerable: true, get: function () { return affiliates_1.Affiliates; } });
|
|
16
26
|
var app_builds_1 = require("./app-builds.js");
|
|
@@ -19,6 +29,8 @@ var apps_1 = require("./apps.js");
|
|
|
19
29
|
Object.defineProperty(exports, "Apps", { enumerable: true, get: function () { return apps_1.Apps; } });
|
|
20
30
|
var authorized_users_1 = require("./authorized-users.js");
|
|
21
31
|
Object.defineProperty(exports, "AuthorizedUsers", { enumerable: true, get: function () { return authorized_users_1.AuthorizedUsers; } });
|
|
32
|
+
var bounties_1 = require("./bounties.js");
|
|
33
|
+
Object.defineProperty(exports, "Bounties", { enumerable: true, get: function () { return bounties_1.Bounties; } });
|
|
22
34
|
var chat_channels_1 = require("./chat-channels.js");
|
|
23
35
|
Object.defineProperty(exports, "ChatChannels", { enumerable: true, get: function () { return chat_channels_1.ChatChannels; } });
|
|
24
36
|
var checkout_configurations_1 = require("./checkout-configurations.js");
|
|
@@ -27,6 +39,8 @@ var companies_1 = require("./companies.js");
|
|
|
27
39
|
Object.defineProperty(exports, "Companies", { enumerable: true, get: function () { return companies_1.Companies; } });
|
|
28
40
|
var company_token_transactions_1 = require("./company-token-transactions.js");
|
|
29
41
|
Object.defineProperty(exports, "CompanyTokenTransactions", { enumerable: true, get: function () { return company_token_transactions_1.CompanyTokenTransactions; } });
|
|
42
|
+
var conversions_1 = require("./conversions.js");
|
|
43
|
+
Object.defineProperty(exports, "Conversions", { enumerable: true, get: function () { return conversions_1.Conversions; } });
|
|
30
44
|
var course_chapters_1 = require("./course-chapters.js");
|
|
31
45
|
Object.defineProperty(exports, "CourseChapters", { enumerable: true, get: function () { return course_chapters_1.CourseChapters; } });
|
|
32
46
|
var course_lesson_interactions_1 = require("./course-lesson-interactions.js");
|
|
@@ -37,6 +51,8 @@ var course_students_1 = require("./course-students.js");
|
|
|
37
51
|
Object.defineProperty(exports, "CourseStudents", { enumerable: true, get: function () { return course_students_1.CourseStudents; } });
|
|
38
52
|
var courses_1 = require("./courses.js");
|
|
39
53
|
Object.defineProperty(exports, "Courses", { enumerable: true, get: function () { return courses_1.Courses; } });
|
|
54
|
+
var deposits_1 = require("./deposits.js");
|
|
55
|
+
Object.defineProperty(exports, "Deposits", { enumerable: true, get: function () { return deposits_1.Deposits; } });
|
|
40
56
|
var dispute_alerts_1 = require("./dispute-alerts.js");
|
|
41
57
|
Object.defineProperty(exports, "DisputeAlerts", { enumerable: true, get: function () { return dispute_alerts_1.DisputeAlerts; } });
|
|
42
58
|
var disputes_1 = require("./disputes.js");
|
|
@@ -99,6 +115,8 @@ var shipments_1 = require("./shipments.js");
|
|
|
99
115
|
Object.defineProperty(exports, "Shipments", { enumerable: true, get: function () { return shipments_1.Shipments; } });
|
|
100
116
|
var support_channels_1 = require("./support-channels.js");
|
|
101
117
|
Object.defineProperty(exports, "SupportChannels", { enumerable: true, get: function () { return support_channels_1.SupportChannels; } });
|
|
118
|
+
var swaps_1 = require("./swaps.js");
|
|
119
|
+
Object.defineProperty(exports, "Swaps", { enumerable: true, get: function () { return swaps_1.Swaps; } });
|
|
102
120
|
var topups_1 = require("./topups.js");
|
|
103
121
|
Object.defineProperty(exports, "Topups", { enumerable: true, get: function () { return topups_1.Topups; } });
|
|
104
122
|
var transfers_1 = require("./transfers.js");
|
|
@@ -107,6 +125,8 @@ var users_1 = require("./users.js");
|
|
|
107
125
|
Object.defineProperty(exports, "Users", { enumerable: true, get: function () { return users_1.Users; } });
|
|
108
126
|
var verifications_1 = require("./verifications.js");
|
|
109
127
|
Object.defineProperty(exports, "Verifications", { enumerable: true, get: function () { return verifications_1.Verifications; } });
|
|
128
|
+
var wallets_1 = require("./wallets.js");
|
|
129
|
+
Object.defineProperty(exports, "Wallets", { enumerable: true, get: function () { return wallets_1.Wallets; } });
|
|
110
130
|
var webhooks_1 = require("./webhooks.js");
|
|
111
131
|
Object.defineProperty(exports, "Webhooks", { enumerable: true, get: function () { return webhooks_1.Webhooks; } });
|
|
112
132
|
var withdrawals_1 = require("./withdrawals.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;AAEtF,sDAAyB;AACzB,0CAUoB;AATlB,mGAAA,OAAO,OAAA;AAUT,oDAA6G;AAApG,6GAAA,YAAY,OAAA;AACrB,oDAA6G;AAApG,6GAAA,YAAY,OAAA;AACrB,yDAUiC;AAT/B,wGAAA,UAAU,OAAA;AAUZ,8CAMsB;AALpB,uGAAA,SAAS,OAAA;AAMX,kCAQgB;AAPd,4FAAA,IAAI,OAAA;AAQN,0DAS4B;AAR1B,mHAAA,eAAe,OAAA;AASjB,oDAMyB;AALvB,6GAAA,YAAY,OAAA;AAMd,wEAOmC;AANjC,iIAAA,sBAAsB,OAAA;AAOxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":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a,OAAA;AAQf,wCAOmB;AANjB,kGAAA,OAAO,OAAA;AAOT,0CAkDoB;AAjDlB,oGAAA,QAAQ,OAAA;AAkDV,gDAUuB;AATrB,0GAAA,WAAW,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -3,19 +3,27 @@ export * from "./shared.mjs";
|
|
|
3
3
|
export { AIChats, } from "./ai-chats.mjs";
|
|
4
4
|
export { AccessTokens } from "./access-tokens.mjs";
|
|
5
5
|
export { AccountLinks } from "./account-links.mjs";
|
|
6
|
+
export { Accounts, } from "./accounts.mjs";
|
|
7
|
+
export { AdCampaigns, } from "./ad-campaigns.mjs";
|
|
8
|
+
export { AdGroups, } from "./ad-groups.mjs";
|
|
9
|
+
export { AdReports, } from "./ad-reports.mjs";
|
|
10
|
+
export { Ads, } from "./ads.mjs";
|
|
6
11
|
export { Affiliates, } from "./affiliates/affiliates.mjs";
|
|
7
12
|
export { AppBuilds, } from "./app-builds.mjs";
|
|
8
13
|
export { Apps, } from "./apps.mjs";
|
|
9
14
|
export { AuthorizedUsers, } from "./authorized-users.mjs";
|
|
15
|
+
export { Bounties, } from "./bounties.mjs";
|
|
10
16
|
export { ChatChannels, } from "./chat-channels.mjs";
|
|
11
17
|
export { CheckoutConfigurations, } from "./checkout-configurations.mjs";
|
|
12
18
|
export { Companies, } from "./companies.mjs";
|
|
13
19
|
export { CompanyTokenTransactions, } from "./company-token-transactions.mjs";
|
|
20
|
+
export { Conversions } from "./conversions.mjs";
|
|
14
21
|
export { CourseChapters, } from "./course-chapters.mjs";
|
|
15
22
|
export { CourseLessonInteractions, } from "./course-lesson-interactions.mjs";
|
|
16
23
|
export { CourseLessons, } from "./course-lessons.mjs";
|
|
17
24
|
export { CourseStudents, } from "./course-students.mjs";
|
|
18
25
|
export { Courses, } from "./courses.mjs";
|
|
26
|
+
export { Deposits } from "./deposits.mjs";
|
|
19
27
|
export { DisputeAlerts, } from "./dispute-alerts.mjs";
|
|
20
28
|
export { Disputes, } from "./disputes.mjs";
|
|
21
29
|
export { DmChannels, } from "./dm-channels.mjs";
|
|
@@ -47,10 +55,12 @@ export { Reviews, } from "./reviews.mjs";
|
|
|
47
55
|
export { SetupIntents, } from "./setup-intents.mjs";
|
|
48
56
|
export { Shipments, } from "./shipments.mjs";
|
|
49
57
|
export { SupportChannels, } from "./support-channels.mjs";
|
|
58
|
+
export { Swaps } from "./swaps.mjs";
|
|
50
59
|
export { Topups } from "./topups.mjs";
|
|
51
60
|
export { Transfers, } from "./transfers.mjs";
|
|
52
61
|
export { Users, } from "./users.mjs";
|
|
53
62
|
export { Verifications, } from "./verifications.mjs";
|
|
63
|
+
export { Wallets, } from "./wallets.mjs";
|
|
54
64
|
export { Webhooks, } from "./webhooks.mjs";
|
|
55
65
|
export { Withdrawals, } from "./withdrawals.mjs";
|
|
56
66
|
//# sourceMappingURL=index.mjs.map
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,OAAO,GASR;OACM,EAAE,YAAY,EAAgE;OAC9E,EAAE,YAAY,EAAgE;OAC9E,EACL,UAAU,GASX;OACM,EACL,SAAS,GAKV;OACM,EACL,IAAI,GAOL;OACM,EACL,eAAe,GAQhB;OACM,EACL,YAAY,GAKb;OACM,EACL,sBAAsB,GAMvB;OACM,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,OAAO,GASR;OACM,EAAE,YAAY,EAAgE;OAC9E,EAAE,YAAY,EAAgE;OAC9E,EACL,QAAQ,GAOT;OACM,EACL,WAAW,GAQZ;OACM,EACL,QAAQ,GAST;OACM,EACL,SAAS,GAKV;OACM,EACL,GAAG,GAMJ;OACM,EACL,UAAU,GASX;OACM,EACL,SAAS,GAKV;OACM,EACL,IAAI,GAOL;OACM,EACL,eAAe,GAQhB;OACM,EACL,QAAQ,GAOT;OACM,EACL,YAAY,GAKb;OACM,EACL,sBAAsB,GAMvB;OACM,EACL,SAAS,GASV;OACM,EACL,wBAAwB,GAOzB;OACM,EAAE,WAAW,EAA8D;OAC3E,EACL,cAAc,GAQf;OACM,EACL,wBAAwB,GAEzB;OACM,EACL,aAAa,GAgBd;OACM,EACL,cAAc,GAKf;OACM,EACL,OAAO,GAUR;OACM,EAAE,QAAQ,EAAwD;OAClE,EACL,aAAa,GAMd;OACM,EACL,QAAQ,GAOT;OACM,EACL,UAAU,GAQX;OACM,EACL,SAAS,GAUV;OACM,EACL,OAAO,GAKR;OACM,EACL,WAAW,GAUZ;OACM,EACL,UAAU,GAQX;OACM,EACL,KAAK,GAMN;OACM,EACL,UAAU,GAOX;OACM,EACL,MAAM,GAKP;OACM,EACL,QAAQ,GAST;OACM,EACL,KAAK,GAON;OACM,EAAE,cAAc,EAAsC;OACtD,EACL,OAAO,GAKR;OACM,EACL,WAAW,GASZ;OACM,EACL,QAAQ,GAOT;OACM,EACL,aAAa,GAGd;OACM,EACL,cAAc,GAMf;OACM,EACL,QAAQ,GAaT;OACM,EACL,cAAc,GAGf;OACM,EACL,aAAa,GAMd;OACM,EACL,KAAK,GASN;OACM,EACL,QAAQ,GAKT;OACM,EACL,UAAU,GASX;OACM,EACL,SAAS,GAOV;OACM,EACL,OAAO,GASR;OACM,EACL,qBAAqB,GAUtB;OACM,EACL,OAAO,GAMR;OACM,EACL,YAAY,GAMb;OACM,EACL,SAAS,GAKV;OACM,EACL,eAAe,GAKhB;OACM,EAAE,KAAK,EAA4D;OACnE,EAAE,MAAM,EAAoD;OAC5D,EACL,SAAS,GAKV;OACM,EACL,KAAK,GASN;OACM,EACL,aAAa,GAOd;OACM,EACL,OAAO,GAMR;OACM,EACL,QAAQ,GAiDT;OACM,EACL,WAAW,GASZ"}
|
package/resources/invoices.d.mts
CHANGED
|
@@ -10,6 +10,23 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
10
10
|
* Invoices
|
|
11
11
|
*/
|
|
12
12
|
export declare class Invoices extends APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* Returns a paginated list of invoices for a company, with optional filtering by
|
|
15
|
+
* product, status, collection method, and creation date.
|
|
16
|
+
*
|
|
17
|
+
* Required permissions:
|
|
18
|
+
*
|
|
19
|
+
* - `invoice:basic:read`
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* // Automatically fetches more pages as needed.
|
|
24
|
+
* for await (const invoiceListItem of client.invoices.list()) {
|
|
25
|
+
* // ...
|
|
26
|
+
* }
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
list(query?: InvoiceListParams | null | undefined, options?: RequestOptions): PagePromise<InvoiceListItemsCursorPage, Shared.InvoiceListItem>;
|
|
13
30
|
/**
|
|
14
31
|
* Create an invoice for a customer. The invoice can be charged automatically using
|
|
15
32
|
* a stored payment method, or sent to the customer for manual payment.
|
|
@@ -45,7 +62,8 @@ export declare class Invoices extends APIResource {
|
|
|
45
62
|
*/
|
|
46
63
|
retrieve(id: string, options?: RequestOptions): APIPromise<Shared.Invoice>;
|
|
47
64
|
/**
|
|
48
|
-
*
|
|
65
|
+
* Void an open invoice so it can no longer be paid. Voiding is permanent and
|
|
66
|
+
* cannot be undone.
|
|
49
67
|
*
|
|
50
68
|
* Required permissions:
|
|
51
69
|
*
|
|
@@ -53,31 +71,14 @@ export declare class Invoices extends APIResource {
|
|
|
53
71
|
*
|
|
54
72
|
* @example
|
|
55
73
|
* ```ts
|
|
56
|
-
* const
|
|
74
|
+
* const response = await client.invoices.void(
|
|
57
75
|
* 'inv_xxxxxxxxxxxxxx',
|
|
58
76
|
* );
|
|
59
77
|
* ```
|
|
60
78
|
*/
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Returns a paginated list of invoices for a company, with optional filtering by
|
|
64
|
-
* product, status, collection method, and creation date.
|
|
65
|
-
*
|
|
66
|
-
* Required permissions:
|
|
67
|
-
*
|
|
68
|
-
* - `invoice:basic:read`
|
|
69
|
-
*
|
|
70
|
-
* @example
|
|
71
|
-
* ```ts
|
|
72
|
-
* // Automatically fetches more pages as needed.
|
|
73
|
-
* for await (const invoiceListItem of client.invoices.list()) {
|
|
74
|
-
* // ...
|
|
75
|
-
* }
|
|
76
|
-
* ```
|
|
77
|
-
*/
|
|
78
|
-
list(query?: InvoiceListParams | null | undefined, options?: RequestOptions): PagePromise<InvoiceListItemsCursorPage, Shared.InvoiceListItem>;
|
|
79
|
+
void(id: string, options?: RequestOptions): APIPromise<InvoiceVoidResponse>;
|
|
79
80
|
/**
|
|
80
|
-
*
|
|
81
|
+
* Mark an open invoice as paid when payment was collected outside of Whop.
|
|
81
82
|
*
|
|
82
83
|
* Required permissions:
|
|
83
84
|
*
|
|
@@ -85,14 +86,14 @@ export declare class Invoices extends APIResource {
|
|
|
85
86
|
*
|
|
86
87
|
* @example
|
|
87
88
|
* ```ts
|
|
88
|
-
* const
|
|
89
|
+
* const response = await client.invoices.markPaid(
|
|
89
90
|
* 'inv_xxxxxxxxxxxxxx',
|
|
90
91
|
* );
|
|
91
92
|
* ```
|
|
92
93
|
*/
|
|
93
|
-
|
|
94
|
+
markPaid(id: string, options?: RequestOptions): APIPromise<InvoiceMarkPaidResponse>;
|
|
94
95
|
/**
|
|
95
|
-
* Mark an open invoice as
|
|
96
|
+
* Mark an open invoice as uncollectible when payment is not expected.
|
|
96
97
|
*
|
|
97
98
|
* Required permissions:
|
|
98
99
|
*
|
|
@@ -100,14 +101,14 @@ export declare class Invoices extends APIResource {
|
|
|
100
101
|
*
|
|
101
102
|
* @example
|
|
102
103
|
* ```ts
|
|
103
|
-
* const response = await client.invoices.
|
|
104
|
+
* const response = await client.invoices.markUncollectible(
|
|
104
105
|
* 'inv_xxxxxxxxxxxxxx',
|
|
105
106
|
* );
|
|
106
107
|
* ```
|
|
107
108
|
*/
|
|
108
|
-
|
|
109
|
+
markUncollectible(id: string, options?: RequestOptions): APIPromise<InvoiceMarkUncollectibleResponse>;
|
|
109
110
|
/**
|
|
110
|
-
*
|
|
111
|
+
* Update a draft invoice's details.
|
|
111
112
|
*
|
|
112
113
|
* Required permissions:
|
|
113
114
|
*
|
|
@@ -115,15 +116,14 @@ export declare class Invoices extends APIResource {
|
|
|
115
116
|
*
|
|
116
117
|
* @example
|
|
117
118
|
* ```ts
|
|
118
|
-
* const
|
|
119
|
+
* const invoice = await client.invoices.update(
|
|
119
120
|
* 'inv_xxxxxxxxxxxxxx',
|
|
120
121
|
* );
|
|
121
122
|
* ```
|
|
122
123
|
*/
|
|
123
|
-
|
|
124
|
+
update(id: string, body?: InvoiceUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Shared.Invoice>;
|
|
124
125
|
/**
|
|
125
|
-
*
|
|
126
|
-
* cannot be undone.
|
|
126
|
+
* Delete a draft invoice.
|
|
127
127
|
*
|
|
128
128
|
* Required permissions:
|
|
129
129
|
*
|
|
@@ -131,12 +131,12 @@ export declare class Invoices extends APIResource {
|
|
|
131
131
|
*
|
|
132
132
|
* @example
|
|
133
133
|
* ```ts
|
|
134
|
-
* const
|
|
134
|
+
* const invoice = await client.invoices.delete(
|
|
135
135
|
* 'inv_xxxxxxxxxxxxxx',
|
|
136
136
|
* );
|
|
137
137
|
* ```
|
|
138
138
|
*/
|
|
139
|
-
|
|
139
|
+
delete(id: string, options?: RequestOptions): APIPromise<InvoiceDeleteResponse>;
|
|
140
140
|
}
|
|
141
141
|
/**
|
|
142
142
|
* The type of tax identifier
|
|
@@ -158,6 +158,53 @@ export type InvoiceMarkUncollectibleResponse = boolean;
|
|
|
158
158
|
* Represents `true` or `false` values.
|
|
159
159
|
*/
|
|
160
160
|
export type InvoiceVoidResponse = boolean;
|
|
161
|
+
export interface InvoiceListParams extends CursorPageParams {
|
|
162
|
+
/**
|
|
163
|
+
* Returns the elements in the list that come before the specified cursor.
|
|
164
|
+
*/
|
|
165
|
+
before?: string | null;
|
|
166
|
+
/**
|
|
167
|
+
* Filter invoices by their collection method.
|
|
168
|
+
*/
|
|
169
|
+
collection_methods?: Array<Shared.CollectionMethod> | null;
|
|
170
|
+
/**
|
|
171
|
+
* The unique identifier of the company to list invoices for.
|
|
172
|
+
*/
|
|
173
|
+
company_id?: string | null;
|
|
174
|
+
/**
|
|
175
|
+
* Only return invoices created after this timestamp.
|
|
176
|
+
*/
|
|
177
|
+
created_after?: string | null;
|
|
178
|
+
/**
|
|
179
|
+
* Only return invoices created before this timestamp.
|
|
180
|
+
*/
|
|
181
|
+
created_before?: string | null;
|
|
182
|
+
/**
|
|
183
|
+
* The direction of the sort.
|
|
184
|
+
*/
|
|
185
|
+
direction?: Shared.Direction | null;
|
|
186
|
+
/**
|
|
187
|
+
* Returns the first _n_ elements from the list.
|
|
188
|
+
*/
|
|
189
|
+
first?: number | null;
|
|
190
|
+
/**
|
|
191
|
+
* Returns the last _n_ elements from the list.
|
|
192
|
+
*/
|
|
193
|
+
last?: number | null;
|
|
194
|
+
/**
|
|
195
|
+
* Which columns can be used to sort.
|
|
196
|
+
*/
|
|
197
|
+
order?: 'id' | 'created_at' | 'due_date' | null;
|
|
198
|
+
/**
|
|
199
|
+
* Filter invoices to only those associated with these specific product
|
|
200
|
+
* identifiers.
|
|
201
|
+
*/
|
|
202
|
+
product_ids?: Array<string> | null;
|
|
203
|
+
/**
|
|
204
|
+
* Filter invoices by their current status.
|
|
205
|
+
*/
|
|
206
|
+
statuses?: Array<Shared.InvoiceStatus> | null;
|
|
207
|
+
}
|
|
161
208
|
export type InvoiceCreateParams = InvoiceCreateParams.CreateInvoiceInputWithProduct | InvoiceCreateParams.CreateInvoiceInputWithProductID;
|
|
162
209
|
export declare namespace InvoiceCreateParams {
|
|
163
210
|
interface CreateInvoiceInputWithProduct {
|
|
@@ -779,6 +826,11 @@ export interface InvoiceUpdateParams {
|
|
|
779
826
|
* Updated plan attributes.
|
|
780
827
|
*/
|
|
781
828
|
plan?: InvoiceUpdateParams.Plan | null;
|
|
829
|
+
/**
|
|
830
|
+
* The unique identifier of an existing product to attach to this invoice. Only
|
|
831
|
+
* allowed while the invoice is still a draft.
|
|
832
|
+
*/
|
|
833
|
+
product_id?: string | null;
|
|
782
834
|
/**
|
|
783
835
|
* The date that defines when the subscription billing cycle should start.
|
|
784
836
|
*/
|
|
@@ -973,55 +1025,8 @@ export declare namespace InvoiceUpdateParams {
|
|
|
973
1025
|
}
|
|
974
1026
|
}
|
|
975
1027
|
}
|
|
976
|
-
export interface InvoiceListParams extends CursorPageParams {
|
|
977
|
-
/**
|
|
978
|
-
* Returns the elements in the list that come before the specified cursor.
|
|
979
|
-
*/
|
|
980
|
-
before?: string | null;
|
|
981
|
-
/**
|
|
982
|
-
* Filter invoices by their collection method.
|
|
983
|
-
*/
|
|
984
|
-
collection_methods?: Array<Shared.CollectionMethod> | null;
|
|
985
|
-
/**
|
|
986
|
-
* The unique identifier of the company to list invoices for.
|
|
987
|
-
*/
|
|
988
|
-
company_id?: string | null;
|
|
989
|
-
/**
|
|
990
|
-
* Only return invoices created after this timestamp.
|
|
991
|
-
*/
|
|
992
|
-
created_after?: string | null;
|
|
993
|
-
/**
|
|
994
|
-
* Only return invoices created before this timestamp.
|
|
995
|
-
*/
|
|
996
|
-
created_before?: string | null;
|
|
997
|
-
/**
|
|
998
|
-
* The direction of the sort.
|
|
999
|
-
*/
|
|
1000
|
-
direction?: Shared.Direction | null;
|
|
1001
|
-
/**
|
|
1002
|
-
* Returns the first _n_ elements from the list.
|
|
1003
|
-
*/
|
|
1004
|
-
first?: number | null;
|
|
1005
|
-
/**
|
|
1006
|
-
* Returns the last _n_ elements from the list.
|
|
1007
|
-
*/
|
|
1008
|
-
last?: number | null;
|
|
1009
|
-
/**
|
|
1010
|
-
* Which columns can be used to sort.
|
|
1011
|
-
*/
|
|
1012
|
-
order?: 'id' | 'created_at' | 'due_date' | null;
|
|
1013
|
-
/**
|
|
1014
|
-
* Filter invoices to only those associated with these specific product
|
|
1015
|
-
* identifiers.
|
|
1016
|
-
*/
|
|
1017
|
-
product_ids?: Array<string> | null;
|
|
1018
|
-
/**
|
|
1019
|
-
* Filter invoices by their current status.
|
|
1020
|
-
*/
|
|
1021
|
-
statuses?: Array<Shared.InvoiceStatus> | null;
|
|
1022
|
-
}
|
|
1023
1028
|
export declare namespace Invoices {
|
|
1024
|
-
export { type TaxIdentifierType as TaxIdentifierType, type InvoiceDeleteResponse as InvoiceDeleteResponse, type InvoiceMarkPaidResponse as InvoiceMarkPaidResponse, type InvoiceMarkUncollectibleResponse as InvoiceMarkUncollectibleResponse, type InvoiceVoidResponse as InvoiceVoidResponse, type
|
|
1029
|
+
export { type TaxIdentifierType as TaxIdentifierType, type InvoiceDeleteResponse as InvoiceDeleteResponse, type InvoiceMarkPaidResponse as InvoiceMarkPaidResponse, type InvoiceMarkUncollectibleResponse as InvoiceMarkUncollectibleResponse, type InvoiceVoidResponse as InvoiceVoidResponse, type InvoiceListParams as InvoiceListParams, type InvoiceCreateParams as InvoiceCreateParams, type InvoiceUpdateParams as InvoiceUpdateParams, };
|
|
1025
1030
|
}
|
|
1026
1031
|
export { type InvoiceListItemsCursorPage };
|
|
1027
1032
|
//# sourceMappingURL=invoices.d.mts.map
|