@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-chapters.mjs","sourceRoot":"","sources":["../src/resources/course-chapters.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAA+B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAU,E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AAwB;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,oBAAoB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF"}
|
|
@@ -9,24 +9,24 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class CourseLessonInteractions extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Returns a paginated list of lesson interactions, filtered by lesson, course,
|
|
13
|
+
* user, or completion status.
|
|
13
14
|
*
|
|
14
15
|
* Required permissions:
|
|
15
16
|
*
|
|
16
17
|
* - `courses:read`
|
|
17
18
|
* - `course_analytics:read`
|
|
18
19
|
*/
|
|
19
|
-
|
|
20
|
+
list(query?: CourseLessonInteractionListParams | null | undefined, options?: RequestOptions): PagePromise<CourseLessonInteractionListItemsCursorPage, Shared.CourseLessonInteractionListItem>;
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
-
* user, or completion status.
|
|
22
|
+
* Retrieves the details of an existing course lesson interaction.
|
|
23
23
|
*
|
|
24
24
|
* Required permissions:
|
|
25
25
|
*
|
|
26
26
|
* - `courses:read`
|
|
27
27
|
* - `course_analytics:read`
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<Shared.CourseLessonInteraction>;
|
|
30
30
|
}
|
|
31
31
|
export interface CourseLessonInteractionListParams extends CursorPageParams {
|
|
32
32
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-lesson-interactions.d.mts","sourceRoot":"","sources":["../src/resources/course-lesson-interactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,0CAA0C,EAAE;OAC9C,EAAE,UAAU,EAAE;OACd,EAAc,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,WAAW;IACvD
|
|
1
|
+
{"version":3,"file":"course-lesson-interactions.d.mts","sourceRoot":"","sources":["../src/resources/course-lesson-interactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,0CAA0C,EAAE;OAC9C,EAAE,UAAU,EAAE;OACd,EAAc,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,WAAW;IACvD;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,iCAAiC,GAAG,IAAI,GAAG,SAAc,EAChE,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,0CAA0C,EAAE,MAAM,CAAC,+BAA+B,CAAC;IAQlG;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,uBAAuB,CAAC;CAG3F;AAED,MAAM,WAAW,iCAAkC,SAAQ,gBAAgB;IACzE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,wBAAwB,CAAC;IAChD,OAAO,EAAE,KAAK,iCAAiC,IAAI,iCAAiC,EAAE,CAAC;CACxF;AAED,OAAO,EAAE,KAAK,0CAA0C,EAAE,CAAC"}
|
|
@@ -9,24 +9,24 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class CourseLessonInteractions extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Returns a paginated list of lesson interactions, filtered by lesson, course,
|
|
13
|
+
* user, or completion status.
|
|
13
14
|
*
|
|
14
15
|
* Required permissions:
|
|
15
16
|
*
|
|
16
17
|
* - `courses:read`
|
|
17
18
|
* - `course_analytics:read`
|
|
18
19
|
*/
|
|
19
|
-
|
|
20
|
+
list(query?: CourseLessonInteractionListParams | null | undefined, options?: RequestOptions): PagePromise<CourseLessonInteractionListItemsCursorPage, Shared.CourseLessonInteractionListItem>;
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
-
* user, or completion status.
|
|
22
|
+
* Retrieves the details of an existing course lesson interaction.
|
|
23
23
|
*
|
|
24
24
|
* Required permissions:
|
|
25
25
|
*
|
|
26
26
|
* - `courses:read`
|
|
27
27
|
* - `course_analytics:read`
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<Shared.CourseLessonInteraction>;
|
|
30
30
|
}
|
|
31
31
|
export interface CourseLessonInteractionListParams extends CursorPageParams {
|
|
32
32
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-lesson-interactions.d.ts","sourceRoot":"","sources":["../src/resources/course-lesson-interactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,0CAA0C,EAAE;OAC9C,EAAE,UAAU,EAAE;OACd,EAAc,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,WAAW;IACvD
|
|
1
|
+
{"version":3,"file":"course-lesson-interactions.d.ts","sourceRoot":"","sources":["../src/resources/course-lesson-interactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,0CAA0C,EAAE;OAC9C,EAAE,UAAU,EAAE;OACd,EAAc,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,WAAW;IACvD;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,iCAAiC,GAAG,IAAI,GAAG,SAAc,EAChE,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,0CAA0C,EAAE,MAAM,CAAC,+BAA+B,CAAC;IAQlG;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,uBAAuB,CAAC;CAG3F;AAED,MAAM,WAAW,iCAAkC,SAAQ,gBAAgB;IACzE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,wBAAwB,CAAC;IAChD,OAAO,EAAE,KAAK,iCAAiC,IAAI,iCAAiC,EAAE,CAAC;CACxF;AAED,OAAO,EAAE,KAAK,0CAA0C,EAAE,CAAC"}
|
|
@@ -10,27 +10,27 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class CourseLessonInteractions extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Returns a paginated list of lesson interactions, filtered by lesson, course,
|
|
14
|
+
* user, or completion status.
|
|
14
15
|
*
|
|
15
16
|
* Required permissions:
|
|
16
17
|
*
|
|
17
18
|
* - `courses:read`
|
|
18
19
|
* - `course_analytics:read`
|
|
19
20
|
*/
|
|
20
|
-
|
|
21
|
-
return this._client.
|
|
21
|
+
list(query = {}, options) {
|
|
22
|
+
return this._client.getAPIList('/course_lesson_interactions', (pagination_1.CursorPage), { query, ...options });
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
-
* user, or completion status.
|
|
25
|
+
* Retrieves the details of an existing course lesson interaction.
|
|
26
26
|
*
|
|
27
27
|
* Required permissions:
|
|
28
28
|
*
|
|
29
29
|
* - `courses:read`
|
|
30
30
|
* - `course_analytics:read`
|
|
31
31
|
*/
|
|
32
|
-
|
|
33
|
-
return this._client.
|
|
32
|
+
retrieve(id, options) {
|
|
33
|
+
return this._client.get((0, path_1.path) `/course_lesson_interactions/${id}`, options);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CourseLessonInteractions = CourseLessonInteractions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-lesson-interactions.js","sourceRoot":"","sources":["../src/resources/course-lesson-interactions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAoF;AAEpF,oDAA8C;AAE9C;;GAEG;AACH,MAAa,wBAAyB,SAAQ,sBAAW;IACvD
|
|
1
|
+
{"version":3,"file":"course-lesson-interactions.js","sourceRoot":"","sources":["../src/resources/course-lesson-interactions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAoF;AAEpF,oDAA8C;AAE9C;;GAEG;AACH,MAAa,wBAAyB,SAAQ,sBAAW;IACvD;;;;;;;;OAQG;IACH,IAAI,CACF,QAA8D,EAAE,EAChE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,6BAA6B,EAC7B,CAAA,uBAAkD,CAAA,EAClD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF;AAhCD,4DAgCC"}
|
|
@@ -7,27 +7,27 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export class CourseLessonInteractions extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Returns a paginated list of lesson interactions, filtered by lesson, course,
|
|
11
|
+
* user, or completion status.
|
|
11
12
|
*
|
|
12
13
|
* Required permissions:
|
|
13
14
|
*
|
|
14
15
|
* - `courses:read`
|
|
15
16
|
* - `course_analytics:read`
|
|
16
17
|
*/
|
|
17
|
-
|
|
18
|
-
return this._client.
|
|
18
|
+
list(query = {}, options) {
|
|
19
|
+
return this._client.getAPIList('/course_lesson_interactions', (CursorPage), { query, ...options });
|
|
19
20
|
}
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
-
* user, or completion status.
|
|
22
|
+
* Retrieves the details of an existing course lesson interaction.
|
|
23
23
|
*
|
|
24
24
|
* Required permissions:
|
|
25
25
|
*
|
|
26
26
|
* - `courses:read`
|
|
27
27
|
* - `course_analytics:read`
|
|
28
28
|
*/
|
|
29
|
-
|
|
30
|
-
return this._client.
|
|
29
|
+
retrieve(id, options) {
|
|
30
|
+
return this._client.get(path `/course_lesson_interactions/${id}`, options);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
//# sourceMappingURL=course-lesson-interactions.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-lesson-interactions.mjs","sourceRoot":"","sources":["../src/resources/course-lesson-interactions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,wBAAyB,SAAQ,WAAW;IACvD
|
|
1
|
+
{"version":3,"file":"course-lesson-interactions.mjs","sourceRoot":"","sources":["../src/resources/course-lesson-interactions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,wBAAyB,SAAQ,WAAW;IACvD;;;;;;;;OAQG;IACH,IAAI,CACF,QAA8D,EAAE,EAChE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,6BAA6B,EAC7B,CAAA,UAAkD,CAAA,EAClD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,+BAA+B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF"}
|
|
@@ -7,6 +7,23 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
7
7
|
* Course lessons
|
|
8
8
|
*/
|
|
9
9
|
export declare class CourseLessons extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Returns a paginated list of lessons within a course or chapter, ordered by
|
|
12
|
+
* position.
|
|
13
|
+
*
|
|
14
|
+
* Required permissions:
|
|
15
|
+
*
|
|
16
|
+
* - `courses:read`
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* // Automatically fetches more pages as needed.
|
|
21
|
+
* for await (const courseLessonListResponse of client.courseLessons.list()) {
|
|
22
|
+
* // ...
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
list(query?: CourseLessonListParams | null | undefined, options?: RequestOptions): PagePromise<CourseLessonListResponsesCursorPage, CourseLessonListResponse>;
|
|
10
27
|
/**
|
|
11
28
|
* Create a new lesson within a course chapter. Lessons can contain video, text, or
|
|
12
29
|
* assessment content.
|
|
@@ -55,23 +72,6 @@ export declare class CourseLessons extends APIResource {
|
|
|
55
72
|
* ```
|
|
56
73
|
*/
|
|
57
74
|
update(id: string, body?: CourseLessonUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Lesson>;
|
|
58
|
-
/**
|
|
59
|
-
* Returns a paginated list of lessons within a course or chapter, ordered by
|
|
60
|
-
* position.
|
|
61
|
-
*
|
|
62
|
-
* Required permissions:
|
|
63
|
-
*
|
|
64
|
-
* - `courses:read`
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* ```ts
|
|
68
|
-
* // Automatically fetches more pages as needed.
|
|
69
|
-
* for await (const courseLessonListResponse of client.courseLessons.list()) {
|
|
70
|
-
* // ...
|
|
71
|
-
* }
|
|
72
|
-
* ```
|
|
73
|
-
*/
|
|
74
|
-
list(query?: CourseLessonListParams | null | undefined, options?: RequestOptions): PagePromise<CourseLessonListResponsesCursorPage, CourseLessonListResponse>;
|
|
75
75
|
/**
|
|
76
76
|
* Permanently delete a lesson and remove it from its chapter.
|
|
77
77
|
*
|
|
@@ -591,6 +591,28 @@ export declare namespace CourseLessonSubmitAssessmentResponse {
|
|
|
591
591
|
username: string;
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
+
export interface CourseLessonListParams extends CursorPageParams {
|
|
595
|
+
/**
|
|
596
|
+
* Returns the elements in the list that come before the specified cursor.
|
|
597
|
+
*/
|
|
598
|
+
before?: string | null;
|
|
599
|
+
/**
|
|
600
|
+
* The unique identifier of a chapter to return only its lessons.
|
|
601
|
+
*/
|
|
602
|
+
chapter_id?: string | null;
|
|
603
|
+
/**
|
|
604
|
+
* The unique identifier of the course to return all lessons across all chapters.
|
|
605
|
+
*/
|
|
606
|
+
course_id?: string | null;
|
|
607
|
+
/**
|
|
608
|
+
* Returns the first _n_ elements from the list.
|
|
609
|
+
*/
|
|
610
|
+
first?: number | null;
|
|
611
|
+
/**
|
|
612
|
+
* Returns the last _n_ elements from the list.
|
|
613
|
+
*/
|
|
614
|
+
last?: number | null;
|
|
615
|
+
}
|
|
594
616
|
export interface CourseLessonCreateParams {
|
|
595
617
|
/**
|
|
596
618
|
* The unique identifier of the chapter to create the lesson in (e.g.,
|
|
@@ -808,28 +830,6 @@ export declare namespace CourseLessonUpdateParams {
|
|
|
808
830
|
id: string;
|
|
809
831
|
}
|
|
810
832
|
}
|
|
811
|
-
export interface CourseLessonListParams extends CursorPageParams {
|
|
812
|
-
/**
|
|
813
|
-
* Returns the elements in the list that come before the specified cursor.
|
|
814
|
-
*/
|
|
815
|
-
before?: string | null;
|
|
816
|
-
/**
|
|
817
|
-
* The unique identifier of a chapter to return only its lessons.
|
|
818
|
-
*/
|
|
819
|
-
chapter_id?: string | null;
|
|
820
|
-
/**
|
|
821
|
-
* The unique identifier of the course to return all lessons across all chapters.
|
|
822
|
-
*/
|
|
823
|
-
course_id?: string | null;
|
|
824
|
-
/**
|
|
825
|
-
* Returns the first _n_ elements from the list.
|
|
826
|
-
*/
|
|
827
|
-
first?: number | null;
|
|
828
|
-
/**
|
|
829
|
-
* Returns the last _n_ elements from the list.
|
|
830
|
-
*/
|
|
831
|
-
last?: number | null;
|
|
832
|
-
}
|
|
833
833
|
export interface CourseLessonSubmitAssessmentParams {
|
|
834
834
|
/**
|
|
835
835
|
* The list of answers to submit for each assessment question.
|
|
@@ -856,6 +856,6 @@ export declare namespace CourseLessonSubmitAssessmentParams {
|
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
858
|
export declare namespace CourseLessons {
|
|
859
|
-
export { type AssessmentQuestionTypes as AssessmentQuestionTypes, type EmbedType as EmbedType, type Lesson as Lesson, type LessonTypes as LessonTypes, type LessonVisibilities as LessonVisibilities, type CourseLessonListResponse as CourseLessonListResponse, type CourseLessonDeleteResponse as CourseLessonDeleteResponse, type CourseLessonMarkAsCompletedResponse as CourseLessonMarkAsCompletedResponse, type CourseLessonStartResponse as CourseLessonStartResponse, type CourseLessonSubmitAssessmentResponse as CourseLessonSubmitAssessmentResponse, type CourseLessonListResponsesCursorPage as CourseLessonListResponsesCursorPage, type
|
|
859
|
+
export { type AssessmentQuestionTypes as AssessmentQuestionTypes, type EmbedType as EmbedType, type Lesson as Lesson, type LessonTypes as LessonTypes, type LessonVisibilities as LessonVisibilities, type CourseLessonListResponse as CourseLessonListResponse, type CourseLessonDeleteResponse as CourseLessonDeleteResponse, type CourseLessonMarkAsCompletedResponse as CourseLessonMarkAsCompletedResponse, type CourseLessonStartResponse as CourseLessonStartResponse, type CourseLessonSubmitAssessmentResponse as CourseLessonSubmitAssessmentResponse, type CourseLessonListResponsesCursorPage as CourseLessonListResponsesCursorPage, type CourseLessonListParams as CourseLessonListParams, type CourseLessonCreateParams as CourseLessonCreateParams, type CourseLessonUpdateParams as CourseLessonUpdateParams, type CourseLessonSubmitAssessmentParams as CourseLessonSubmitAssessmentParams, };
|
|
860
860
|
}
|
|
861
861
|
//# sourceMappingURL=course-lessons.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-lessons.d.mts","sourceRoot":"","sources":["../src/resources/course-lessons.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gB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AAI,MAAM,EACrB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"}
|
|
@@ -7,6 +7,23 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
7
7
|
* Course lessons
|
|
8
8
|
*/
|
|
9
9
|
export declare class CourseLessons extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Returns a paginated list of lessons within a course or chapter, ordered by
|
|
12
|
+
* position.
|
|
13
|
+
*
|
|
14
|
+
* Required permissions:
|
|
15
|
+
*
|
|
16
|
+
* - `courses:read`
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* // Automatically fetches more pages as needed.
|
|
21
|
+
* for await (const courseLessonListResponse of client.courseLessons.list()) {
|
|
22
|
+
* // ...
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
list(query?: CourseLessonListParams | null | undefined, options?: RequestOptions): PagePromise<CourseLessonListResponsesCursorPage, CourseLessonListResponse>;
|
|
10
27
|
/**
|
|
11
28
|
* Create a new lesson within a course chapter. Lessons can contain video, text, or
|
|
12
29
|
* assessment content.
|
|
@@ -55,23 +72,6 @@ export declare class CourseLessons extends APIResource {
|
|
|
55
72
|
* ```
|
|
56
73
|
*/
|
|
57
74
|
update(id: string, body?: CourseLessonUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Lesson>;
|
|
58
|
-
/**
|
|
59
|
-
* Returns a paginated list of lessons within a course or chapter, ordered by
|
|
60
|
-
* position.
|
|
61
|
-
*
|
|
62
|
-
* Required permissions:
|
|
63
|
-
*
|
|
64
|
-
* - `courses:read`
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* ```ts
|
|
68
|
-
* // Automatically fetches more pages as needed.
|
|
69
|
-
* for await (const courseLessonListResponse of client.courseLessons.list()) {
|
|
70
|
-
* // ...
|
|
71
|
-
* }
|
|
72
|
-
* ```
|
|
73
|
-
*/
|
|
74
|
-
list(query?: CourseLessonListParams | null | undefined, options?: RequestOptions): PagePromise<CourseLessonListResponsesCursorPage, CourseLessonListResponse>;
|
|
75
75
|
/**
|
|
76
76
|
* Permanently delete a lesson and remove it from its chapter.
|
|
77
77
|
*
|
|
@@ -591,6 +591,28 @@ export declare namespace CourseLessonSubmitAssessmentResponse {
|
|
|
591
591
|
username: string;
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
+
export interface CourseLessonListParams extends CursorPageParams {
|
|
595
|
+
/**
|
|
596
|
+
* Returns the elements in the list that come before the specified cursor.
|
|
597
|
+
*/
|
|
598
|
+
before?: string | null;
|
|
599
|
+
/**
|
|
600
|
+
* The unique identifier of a chapter to return only its lessons.
|
|
601
|
+
*/
|
|
602
|
+
chapter_id?: string | null;
|
|
603
|
+
/**
|
|
604
|
+
* The unique identifier of the course to return all lessons across all chapters.
|
|
605
|
+
*/
|
|
606
|
+
course_id?: string | null;
|
|
607
|
+
/**
|
|
608
|
+
* Returns the first _n_ elements from the list.
|
|
609
|
+
*/
|
|
610
|
+
first?: number | null;
|
|
611
|
+
/**
|
|
612
|
+
* Returns the last _n_ elements from the list.
|
|
613
|
+
*/
|
|
614
|
+
last?: number | null;
|
|
615
|
+
}
|
|
594
616
|
export interface CourseLessonCreateParams {
|
|
595
617
|
/**
|
|
596
618
|
* The unique identifier of the chapter to create the lesson in (e.g.,
|
|
@@ -808,28 +830,6 @@ export declare namespace CourseLessonUpdateParams {
|
|
|
808
830
|
id: string;
|
|
809
831
|
}
|
|
810
832
|
}
|
|
811
|
-
export interface CourseLessonListParams extends CursorPageParams {
|
|
812
|
-
/**
|
|
813
|
-
* Returns the elements in the list that come before the specified cursor.
|
|
814
|
-
*/
|
|
815
|
-
before?: string | null;
|
|
816
|
-
/**
|
|
817
|
-
* The unique identifier of a chapter to return only its lessons.
|
|
818
|
-
*/
|
|
819
|
-
chapter_id?: string | null;
|
|
820
|
-
/**
|
|
821
|
-
* The unique identifier of the course to return all lessons across all chapters.
|
|
822
|
-
*/
|
|
823
|
-
course_id?: string | null;
|
|
824
|
-
/**
|
|
825
|
-
* Returns the first _n_ elements from the list.
|
|
826
|
-
*/
|
|
827
|
-
first?: number | null;
|
|
828
|
-
/**
|
|
829
|
-
* Returns the last _n_ elements from the list.
|
|
830
|
-
*/
|
|
831
|
-
last?: number | null;
|
|
832
|
-
}
|
|
833
833
|
export interface CourseLessonSubmitAssessmentParams {
|
|
834
834
|
/**
|
|
835
835
|
* The list of answers to submit for each assessment question.
|
|
@@ -856,6 +856,6 @@ export declare namespace CourseLessonSubmitAssessmentParams {
|
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
858
|
export declare namespace CourseLessons {
|
|
859
|
-
export { type AssessmentQuestionTypes as AssessmentQuestionTypes, type EmbedType as EmbedType, type Lesson as Lesson, type LessonTypes as LessonTypes, type LessonVisibilities as LessonVisibilities, type CourseLessonListResponse as CourseLessonListResponse, type CourseLessonDeleteResponse as CourseLessonDeleteResponse, type CourseLessonMarkAsCompletedResponse as CourseLessonMarkAsCompletedResponse, type CourseLessonStartResponse as CourseLessonStartResponse, type CourseLessonSubmitAssessmentResponse as CourseLessonSubmitAssessmentResponse, type CourseLessonListResponsesCursorPage as CourseLessonListResponsesCursorPage, type
|
|
859
|
+
export { type AssessmentQuestionTypes as AssessmentQuestionTypes, type EmbedType as EmbedType, type Lesson as Lesson, type LessonTypes as LessonTypes, type LessonVisibilities as LessonVisibilities, type CourseLessonListResponse as CourseLessonListResponse, type CourseLessonDeleteResponse as CourseLessonDeleteResponse, type CourseLessonMarkAsCompletedResponse as CourseLessonMarkAsCompletedResponse, type CourseLessonStartResponse as CourseLessonStartResponse, type CourseLessonSubmitAssessmentResponse as CourseLessonSubmitAssessmentResponse, type CourseLessonListResponsesCursorPage as CourseLessonListResponsesCursorPage, type CourseLessonListParams as CourseLessonListParams, type CourseLessonCreateParams as CourseLessonCreateParams, type CourseLessonUpdateParams as CourseLessonUpdateParams, type CourseLessonSubmitAssessmentParams as CourseLessonSubmitAssessmentParams, };
|
|
860
860
|
}
|
|
861
861
|
//# sourceMappingURL=course-lessons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-lessons.d.ts","sourceRoot":"","sources":["../src/resources/course-lessons.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAIpF;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAIlE;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC;IAIrB
|
|
1
|
+
{"version":3,"file":"course-lessons.d.ts","sourceRoot":"","sources":["../src/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ACZ;IAED;;OAEG;IACH,UAAiB,SAAS;QACxB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;KACZ;CACF;AAED,MAAM,WAAW,kCAAkC;IACjD;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,kCAAkC,CAAC,MAAM,CAAC,CAAC;CAC3D;AAED,yBAAiB,kCAAkC,CAAC;IAClD;;OAEG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAE5B;;WAEG;QACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;KAC5C;CACF;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"}
|
|
@@ -9,6 +9,28 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
9
9
|
* Course lessons
|
|
10
10
|
*/
|
|
11
11
|
class CourseLessons extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Returns a paginated list of lessons within a course or chapter, ordered by
|
|
14
|
+
* position.
|
|
15
|
+
*
|
|
16
|
+
* Required permissions:
|
|
17
|
+
*
|
|
18
|
+
* - `courses:read`
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* // Automatically fetches more pages as needed.
|
|
23
|
+
* for await (const courseLessonListResponse of client.courseLessons.list()) {
|
|
24
|
+
* // ...
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
list(query = {}, options) {
|
|
29
|
+
return this._client.getAPIList('/course_lessons', (pagination_1.CursorPage), {
|
|
30
|
+
query,
|
|
31
|
+
...options,
|
|
32
|
+
});
|
|
33
|
+
}
|
|
12
34
|
/**
|
|
13
35
|
* Create a new lesson within a course chapter. Lessons can contain video, text, or
|
|
14
36
|
* assessment content.
|
|
@@ -63,28 +85,6 @@ class CourseLessons extends resource_1.APIResource {
|
|
|
63
85
|
update(id, body = {}, options) {
|
|
64
86
|
return this._client.patch((0, path_1.path) `/course_lessons/${id}`, { body, ...options });
|
|
65
87
|
}
|
|
66
|
-
/**
|
|
67
|
-
* Returns a paginated list of lessons within a course or chapter, ordered by
|
|
68
|
-
* position.
|
|
69
|
-
*
|
|
70
|
-
* Required permissions:
|
|
71
|
-
*
|
|
72
|
-
* - `courses:read`
|
|
73
|
-
*
|
|
74
|
-
* @example
|
|
75
|
-
* ```ts
|
|
76
|
-
* // Automatically fetches more pages as needed.
|
|
77
|
-
* for await (const courseLessonListResponse of client.courseLessons.list()) {
|
|
78
|
-
* // ...
|
|
79
|
-
* }
|
|
80
|
-
* ```
|
|
81
|
-
*/
|
|
82
|
-
list(query = {}, options) {
|
|
83
|
-
return this._client.getAPIList('/course_lessons', (pagination_1.CursorPage), {
|
|
84
|
-
query,
|
|
85
|
-
...options,
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
88
|
/**
|
|
89
89
|
* Permanently delete a lesson and remove it from its chapter.
|
|
90
90
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-lessons.js","sourceRoot":"","sources":["../src/resources/course-lessons.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAoF;AAEpF,oDAA8C;AAE9C;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,EAAU,EACV,OAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"course-lessons.js","sourceRoot":"","sources":["../src/resources/course-lessons.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAoF;AAEpF,oDAA8C;AAE9C;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,uBAAoC,CAAA,EAAE;YACtF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;OAeG;I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AAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,mBAAmB,QAAQ,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtG,CAAC;CACF;AA5JD,sCA4JC"}
|
|
@@ -6,6 +6,28 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
6
6
|
* Course lessons
|
|
7
7
|
*/
|
|
8
8
|
export class CourseLessons extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns a paginated list of lessons within a course or chapter, ordered by
|
|
11
|
+
* position.
|
|
12
|
+
*
|
|
13
|
+
* Required permissions:
|
|
14
|
+
*
|
|
15
|
+
* - `courses:read`
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* // Automatically fetches more pages as needed.
|
|
20
|
+
* for await (const courseLessonListResponse of client.courseLessons.list()) {
|
|
21
|
+
* // ...
|
|
22
|
+
* }
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
list(query = {}, options) {
|
|
26
|
+
return this._client.getAPIList('/course_lessons', (CursorPage), {
|
|
27
|
+
query,
|
|
28
|
+
...options,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
9
31
|
/**
|
|
10
32
|
* Create a new lesson within a course chapter. Lessons can contain video, text, or
|
|
11
33
|
* assessment content.
|
|
@@ -60,28 +82,6 @@ export class CourseLessons extends APIResource {
|
|
|
60
82
|
update(id, body = {}, options) {
|
|
61
83
|
return this._client.patch(path `/course_lessons/${id}`, { body, ...options });
|
|
62
84
|
}
|
|
63
|
-
/**
|
|
64
|
-
* Returns a paginated list of lessons within a course or chapter, ordered by
|
|
65
|
-
* position.
|
|
66
|
-
*
|
|
67
|
-
* Required permissions:
|
|
68
|
-
*
|
|
69
|
-
* - `courses:read`
|
|
70
|
-
*
|
|
71
|
-
* @example
|
|
72
|
-
* ```ts
|
|
73
|
-
* // Automatically fetches more pages as needed.
|
|
74
|
-
* for await (const courseLessonListResponse of client.courseLessons.list()) {
|
|
75
|
-
* // ...
|
|
76
|
-
* }
|
|
77
|
-
* ```
|
|
78
|
-
*/
|
|
79
|
-
list(query = {}, options) {
|
|
80
|
-
return this._client.getAPIList('/course_lessons', (CursorPage), {
|
|
81
|
-
query,
|
|
82
|
-
...options,
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
85
|
/**
|
|
86
86
|
* Permanently delete a lesson and remove it from its chapter.
|
|
87
87
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-lessons.mjs","sourceRoot":"","sources":["../src/resources/course-lessons.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,EAAU,EACV,OAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,mBAAmB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"course-lessons.mjs","sourceRoot":"","sources":["../src/resources/course-lessons.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,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