@whop/sdk 0.0.30 → 0.0.32
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 +57 -105
- package/client.d.mts +165 -9
- package/client.d.mts.map +1 -1
- package/client.d.ts +165 -9
- package/client.d.ts.map +1 -1
- package/client.js +164 -7
- package/client.js.map +1 -1
- package/client.mjs +164 -7
- package/client.mjs.map +1 -1
- package/internal/tslib.js +22 -22
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +7 -1
- package/resources/access-tokens.d.mts +3 -0
- package/resources/access-tokens.d.mts.map +1 -1
- package/resources/access-tokens.d.ts +3 -0
- package/resources/access-tokens.d.ts.map +1 -1
- package/resources/access-tokens.js +3 -0
- package/resources/access-tokens.js.map +1 -1
- package/resources/access-tokens.mjs +3 -0
- package/resources/access-tokens.mjs.map +1 -1
- package/resources/account-links.d.mts +3 -0
- package/resources/account-links.d.mts.map +1 -1
- package/resources/account-links.d.ts +3 -0
- package/resources/account-links.d.ts.map +1 -1
- package/resources/account-links.js +3 -0
- package/resources/account-links.js.map +1 -1
- package/resources/account-links.mjs +3 -0
- package/resources/account-links.mjs.map +1 -1
- package/resources/ai-chats.d.mts +12 -0
- package/resources/ai-chats.d.mts.map +1 -1
- package/resources/ai-chats.d.ts +12 -0
- package/resources/ai-chats.d.ts.map +1 -1
- package/resources/ai-chats.js +3 -0
- package/resources/ai-chats.js.map +1 -1
- package/resources/ai-chats.mjs +3 -0
- package/resources/ai-chats.mjs.map +1 -1
- package/resources/app-builds.d.mts +3 -0
- package/resources/app-builds.d.mts.map +1 -1
- package/resources/app-builds.d.ts +3 -0
- package/resources/app-builds.d.ts.map +1 -1
- package/resources/app-builds.js +3 -0
- package/resources/app-builds.js.map +1 -1
- package/resources/app-builds.mjs +3 -0
- package/resources/app-builds.mjs.map +1 -1
- package/resources/apps.d.mts +3 -0
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +3 -0
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +3 -0
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +3 -0
- package/resources/apps.mjs.map +1 -1
- package/resources/authorized-users.d.mts +88 -6
- package/resources/authorized-users.d.mts.map +1 -1
- package/resources/authorized-users.d.ts +88 -6
- package/resources/authorized-users.d.ts.map +1 -1
- package/resources/authorized-users.js +57 -0
- package/resources/authorized-users.js.map +1 -1
- package/resources/authorized-users.mjs +57 -0
- package/resources/authorized-users.mjs.map +1 -1
- package/resources/chat-channels.d.mts +3 -0
- package/resources/chat-channels.d.mts.map +1 -1
- package/resources/chat-channels.d.ts +3 -0
- package/resources/chat-channels.d.ts.map +1 -1
- package/resources/chat-channels.js +3 -0
- package/resources/chat-channels.js.map +1 -1
- package/resources/chat-channels.mjs +3 -0
- package/resources/chat-channels.mjs.map +1 -1
- package/resources/checkout-configurations.d.mts +3 -0
- package/resources/checkout-configurations.d.mts.map +1 -1
- package/resources/checkout-configurations.d.ts +3 -0
- package/resources/checkout-configurations.d.ts.map +1 -1
- package/resources/checkout-configurations.js +3 -0
- package/resources/checkout-configurations.js.map +1 -1
- package/resources/checkout-configurations.mjs +3 -0
- package/resources/checkout-configurations.mjs.map +1 -1
- package/resources/companies.d.mts +54 -1
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +54 -1
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.js +3 -0
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +3 -0
- package/resources/companies.mjs.map +1 -1
- package/resources/company-token-transactions.d.mts +3 -0
- package/resources/company-token-transactions.d.mts.map +1 -1
- package/resources/company-token-transactions.d.ts +3 -0
- package/resources/company-token-transactions.d.ts.map +1 -1
- package/resources/company-token-transactions.js +3 -0
- package/resources/company-token-transactions.js.map +1 -1
- package/resources/company-token-transactions.mjs +3 -0
- package/resources/company-token-transactions.mjs.map +1 -1
- package/resources/course-chapters.d.mts +3 -0
- package/resources/course-chapters.d.mts.map +1 -1
- package/resources/course-chapters.d.ts +3 -0
- package/resources/course-chapters.d.ts.map +1 -1
- package/resources/course-chapters.js +3 -0
- package/resources/course-chapters.js.map +1 -1
- package/resources/course-chapters.mjs +3 -0
- package/resources/course-chapters.mjs.map +1 -1
- package/resources/course-lesson-interactions.d.mts +3 -0
- package/resources/course-lesson-interactions.d.mts.map +1 -1
- package/resources/course-lesson-interactions.d.ts +3 -0
- package/resources/course-lesson-interactions.d.ts.map +1 -1
- package/resources/course-lesson-interactions.js +3 -0
- package/resources/course-lesson-interactions.js.map +1 -1
- package/resources/course-lesson-interactions.mjs +3 -0
- package/resources/course-lesson-interactions.mjs.map +1 -1
- package/resources/course-lessons.d.mts +3 -0
- package/resources/course-lessons.d.mts.map +1 -1
- package/resources/course-lessons.d.ts +3 -0
- package/resources/course-lessons.d.ts.map +1 -1
- package/resources/course-lessons.js +3 -0
- package/resources/course-lessons.js.map +1 -1
- package/resources/course-lessons.mjs +3 -0
- package/resources/course-lessons.mjs.map +1 -1
- package/resources/course-students.d.mts +3 -0
- package/resources/course-students.d.mts.map +1 -1
- package/resources/course-students.d.ts +3 -0
- package/resources/course-students.d.ts.map +1 -1
- package/resources/course-students.js +3 -0
- package/resources/course-students.js.map +1 -1
- package/resources/course-students.mjs +3 -0
- package/resources/course-students.mjs.map +1 -1
- package/resources/courses.d.mts +3 -0
- package/resources/courses.d.mts.map +1 -1
- package/resources/courses.d.ts +3 -0
- package/resources/courses.d.ts.map +1 -1
- package/resources/courses.js +3 -0
- package/resources/courses.js.map +1 -1
- package/resources/courses.mjs +3 -0
- package/resources/courses.mjs.map +1 -1
- package/resources/dispute-alerts.d.mts +3 -0
- package/resources/dispute-alerts.d.mts.map +1 -1
- package/resources/dispute-alerts.d.ts +3 -0
- package/resources/dispute-alerts.d.ts.map +1 -1
- package/resources/dispute-alerts.js +3 -0
- package/resources/dispute-alerts.js.map +1 -1
- package/resources/dispute-alerts.mjs +3 -0
- package/resources/dispute-alerts.mjs.map +1 -1
- package/resources/disputes.d.mts +3 -0
- package/resources/disputes.d.mts.map +1 -1
- package/resources/disputes.d.ts +3 -0
- package/resources/disputes.d.ts.map +1 -1
- package/resources/disputes.js +3 -0
- package/resources/disputes.js.map +1 -1
- package/resources/disputes.mjs +3 -0
- package/resources/disputes.mjs.map +1 -1
- package/resources/dm-channels.d.mts +3 -0
- package/resources/dm-channels.d.mts.map +1 -1
- package/resources/dm-channels.d.ts +3 -0
- package/resources/dm-channels.d.ts.map +1 -1
- package/resources/dm-channels.js +3 -0
- package/resources/dm-channels.js.map +1 -1
- package/resources/dm-channels.mjs +3 -0
- package/resources/dm-channels.mjs.map +1 -1
- package/resources/dm-members.d.mts +3 -0
- package/resources/dm-members.d.mts.map +1 -1
- package/resources/dm-members.d.ts +3 -0
- package/resources/dm-members.d.ts.map +1 -1
- package/resources/dm-members.js +3 -0
- package/resources/dm-members.js.map +1 -1
- package/resources/dm-members.mjs +3 -0
- package/resources/dm-members.mjs.map +1 -1
- package/resources/entries.d.mts +3 -0
- package/resources/entries.d.mts.map +1 -1
- package/resources/entries.d.ts +3 -0
- package/resources/entries.d.ts.map +1 -1
- package/resources/entries.js +3 -0
- package/resources/entries.js.map +1 -1
- package/resources/entries.mjs +3 -0
- package/resources/entries.mjs.map +1 -1
- package/resources/experiences.d.mts +3 -0
- package/resources/experiences.d.mts.map +1 -1
- package/resources/experiences.d.ts +3 -0
- package/resources/experiences.d.ts.map +1 -1
- package/resources/experiences.js +3 -0
- package/resources/experiences.js.map +1 -1
- package/resources/experiences.mjs +3 -0
- package/resources/experiences.mjs.map +1 -1
- package/resources/fee-markups.d.mts +3 -0
- package/resources/fee-markups.d.mts.map +1 -1
- package/resources/fee-markups.d.ts +3 -0
- package/resources/fee-markups.d.ts.map +1 -1
- package/resources/fee-markups.js +3 -0
- package/resources/fee-markups.js.map +1 -1
- package/resources/fee-markups.mjs +3 -0
- package/resources/fee-markups.mjs.map +1 -1
- package/resources/files.d.mts +3 -0
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +3 -0
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +3 -0
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +3 -0
- package/resources/files.mjs.map +1 -1
- package/resources/forum-posts.d.mts +38 -0
- package/resources/forum-posts.d.mts.map +1 -1
- package/resources/forum-posts.d.ts +38 -0
- package/resources/forum-posts.d.ts.map +1 -1
- package/resources/forum-posts.js +3 -0
- package/resources/forum-posts.js.map +1 -1
- package/resources/forum-posts.mjs +3 -0
- package/resources/forum-posts.mjs.map +1 -1
- package/resources/forums.d.mts +20 -0
- package/resources/forums.d.mts.map +1 -1
- package/resources/forums.d.ts +20 -0
- package/resources/forums.d.ts.map +1 -1
- package/resources/forums.js +3 -0
- package/resources/forums.js.map +1 -1
- package/resources/forums.mjs +3 -0
- package/resources/forums.mjs.map +1 -1
- package/resources/index.d.mts +5 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.mts +141 -8
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +141 -8
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +4 -4
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +4 -4
- package/resources/invoices.mjs.map +1 -1
- package/resources/leads.d.mts +3 -0
- package/resources/leads.d.mts.map +1 -1
- package/resources/leads.d.ts +3 -0
- package/resources/leads.d.ts.map +1 -1
- package/resources/leads.js +3 -0
- package/resources/leads.js.map +1 -1
- package/resources/leads.mjs +3 -0
- package/resources/leads.mjs.map +1 -1
- package/resources/ledger-accounts.d.mts +3 -0
- package/resources/ledger-accounts.d.mts.map +1 -1
- package/resources/ledger-accounts.d.ts +3 -0
- package/resources/ledger-accounts.d.ts.map +1 -1
- package/resources/ledger-accounts.js +3 -0
- package/resources/ledger-accounts.js.map +1 -1
- package/resources/ledger-accounts.mjs +3 -0
- package/resources/ledger-accounts.mjs.map +1 -1
- package/resources/members.d.mts +3 -0
- package/resources/members.d.mts.map +1 -1
- package/resources/members.d.ts +3 -0
- package/resources/members.d.ts.map +1 -1
- package/resources/members.js +3 -0
- package/resources/members.js.map +1 -1
- package/resources/members.mjs +3 -0
- package/resources/members.mjs.map +1 -1
- package/resources/memberships.d.mts +81 -2
- package/resources/memberships.d.mts.map +1 -1
- package/resources/memberships.d.ts +81 -2
- package/resources/memberships.d.ts.map +1 -1
- package/resources/memberships.js +75 -1
- package/resources/memberships.js.map +1 -1
- package/resources/memberships.mjs +75 -1
- package/resources/memberships.mjs.map +1 -1
- package/resources/messages.d.mts +12 -0
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +12 -0
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +3 -0
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +3 -0
- package/resources/messages.mjs.map +1 -1
- package/resources/notifications.d.mts +3 -0
- package/resources/notifications.d.mts.map +1 -1
- package/resources/notifications.d.ts +3 -0
- package/resources/notifications.d.ts.map +1 -1
- package/resources/notifications.js +3 -0
- package/resources/notifications.js.map +1 -1
- package/resources/notifications.mjs +3 -0
- package/resources/notifications.mjs.map +1 -1
- package/resources/payment-methods.d.mts +3 -0
- package/resources/payment-methods.d.mts.map +1 -1
- package/resources/payment-methods.d.ts +3 -0
- package/resources/payment-methods.d.ts.map +1 -1
- package/resources/payment-methods.js +3 -0
- package/resources/payment-methods.js.map +1 -1
- package/resources/payment-methods.mjs +3 -0
- package/resources/payment-methods.mjs.map +1 -1
- package/resources/payments.d.mts +19 -2
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +19 -2
- package/resources/payments.d.ts.map +1 -1
- package/resources/payments.js +3 -0
- package/resources/payments.js.map +1 -1
- package/resources/payments.mjs +3 -0
- package/resources/payments.mjs.map +1 -1
- package/resources/payout-methods.d.mts +3 -0
- package/resources/payout-methods.d.mts.map +1 -1
- package/resources/payout-methods.d.ts +3 -0
- package/resources/payout-methods.d.ts.map +1 -1
- package/resources/payout-methods.js +3 -0
- package/resources/payout-methods.js.map +1 -1
- package/resources/payout-methods.mjs +3 -0
- package/resources/payout-methods.mjs.map +1 -1
- package/resources/plans.d.mts +3 -0
- package/resources/plans.d.mts.map +1 -1
- package/resources/plans.d.ts +3 -0
- package/resources/plans.d.ts.map +1 -1
- package/resources/plans.js +3 -0
- package/resources/plans.js.map +1 -1
- package/resources/plans.mjs +3 -0
- package/resources/plans.mjs.map +1 -1
- package/resources/products.d.mts +13 -0
- package/resources/products.d.mts.map +1 -1
- package/resources/products.d.ts +13 -0
- package/resources/products.d.ts.map +1 -1
- package/resources/products.js +3 -0
- package/resources/products.js.map +1 -1
- package/resources/products.mjs +3 -0
- package/resources/products.mjs.map +1 -1
- package/resources/promo-codes.d.mts +3 -0
- package/resources/promo-codes.d.mts.map +1 -1
- package/resources/promo-codes.d.ts +3 -0
- package/resources/promo-codes.d.ts.map +1 -1
- package/resources/promo-codes.js +3 -0
- package/resources/promo-codes.js.map +1 -1
- package/resources/promo-codes.mjs +3 -0
- package/resources/promo-codes.mjs.map +1 -1
- package/resources/reactions.d.mts +3 -0
- package/resources/reactions.d.mts.map +1 -1
- package/resources/reactions.d.ts +3 -0
- package/resources/reactions.d.ts.map +1 -1
- package/resources/reactions.js +3 -0
- package/resources/reactions.js.map +1 -1
- package/resources/reactions.mjs +3 -0
- package/resources/reactions.mjs.map +1 -1
- package/resources/refunds.d.mts +17 -1
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +17 -1
- package/resources/refunds.d.ts.map +1 -1
- package/resources/refunds.js +3 -0
- package/resources/refunds.js.map +1 -1
- package/resources/refunds.mjs +3 -0
- package/resources/refunds.mjs.map +1 -1
- package/resources/resolution-center-cases.d.mts +367 -0
- package/resources/resolution-center-cases.d.mts.map +1 -0
- package/resources/resolution-center-cases.d.ts +367 -0
- package/resources/resolution-center-cases.d.ts.map +1 -0
- package/resources/resolution-center-cases.js +38 -0
- package/resources/resolution-center-cases.js.map +1 -0
- package/resources/resolution-center-cases.mjs +34 -0
- package/resources/resolution-center-cases.mjs.map +1 -0
- package/resources/reviews.d.mts +3 -0
- package/resources/reviews.d.mts.map +1 -1
- package/resources/reviews.d.ts +3 -0
- package/resources/reviews.d.ts.map +1 -1
- package/resources/reviews.js +3 -0
- package/resources/reviews.js.map +1 -1
- package/resources/reviews.mjs +3 -0
- package/resources/reviews.mjs.map +1 -1
- package/resources/setup-intents.d.mts +3 -0
- package/resources/setup-intents.d.mts.map +1 -1
- package/resources/setup-intents.d.ts +3 -0
- package/resources/setup-intents.d.ts.map +1 -1
- package/resources/setup-intents.js +3 -0
- package/resources/setup-intents.js.map +1 -1
- package/resources/setup-intents.mjs +3 -0
- package/resources/setup-intents.mjs.map +1 -1
- package/resources/shared.d.mts +63 -9
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +63 -9
- package/resources/shared.d.ts.map +1 -1
- package/resources/shipments.d.mts +3 -0
- package/resources/shipments.d.mts.map +1 -1
- package/resources/shipments.d.ts +3 -0
- package/resources/shipments.d.ts.map +1 -1
- package/resources/shipments.js +3 -0
- package/resources/shipments.js.map +1 -1
- package/resources/shipments.mjs +3 -0
- package/resources/shipments.mjs.map +1 -1
- package/resources/support-channels.d.mts +3 -0
- package/resources/support-channels.d.mts.map +1 -1
- package/resources/support-channels.d.ts +3 -0
- package/resources/support-channels.d.ts.map +1 -1
- package/resources/support-channels.js +3 -0
- package/resources/support-channels.js.map +1 -1
- package/resources/support-channels.mjs +3 -0
- package/resources/support-channels.mjs.map +1 -1
- package/resources/topups.d.mts +3 -0
- package/resources/topups.d.mts.map +1 -1
- package/resources/topups.d.ts +3 -0
- package/resources/topups.d.ts.map +1 -1
- package/resources/topups.js +3 -0
- package/resources/topups.js.map +1 -1
- package/resources/topups.mjs +3 -0
- package/resources/topups.mjs.map +1 -1
- package/resources/transfers.d.mts +3 -0
- package/resources/transfers.d.mts.map +1 -1
- package/resources/transfers.d.ts +3 -0
- package/resources/transfers.d.ts.map +1 -1
- package/resources/transfers.js +3 -0
- package/resources/transfers.js.map +1 -1
- package/resources/transfers.mjs +3 -0
- package/resources/transfers.mjs.map +1 -1
- package/resources/users.d.mts +3 -0
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +3 -0
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +3 -0
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +3 -0
- package/resources/users.mjs.map +1 -1
- package/resources/verifications.d.mts +3 -0
- package/resources/verifications.d.mts.map +1 -1
- package/resources/verifications.d.ts +3 -0
- package/resources/verifications.d.ts.map +1 -1
- package/resources/verifications.js +3 -0
- package/resources/verifications.js.map +1 -1
- package/resources/verifications.mjs +3 -0
- package/resources/verifications.mjs.map +1 -1
- package/resources/webhooks.d.mts +29 -0
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +29 -0
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +3 -0
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +3 -0
- package/resources/webhooks.mjs.map +1 -1
- package/resources/withdrawals.d.mts +3 -0
- package/resources/withdrawals.d.mts.map +1 -1
- package/resources/withdrawals.d.ts +3 -0
- package/resources/withdrawals.d.ts.map +1 -1
- package/resources/withdrawals.js +3 -0
- package/resources/withdrawals.js.map +1 -1
- package/resources/withdrawals.mjs +3 -0
- package/resources/withdrawals.mjs.map +1 -1
- package/src/client.ts +205 -12
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/access-tokens.ts +3 -0
- package/src/resources/account-links.ts +3 -0
- package/src/resources/ai-chats.ts +14 -0
- package/src/resources/app-builds.ts +3 -0
- package/src/resources/apps.ts +3 -0
- package/src/resources/authorized-users.ts +108 -6
- package/src/resources/chat-channels.ts +3 -0
- package/src/resources/checkout-configurations.ts +3 -0
- package/src/resources/companies.ts +72 -0
- package/src/resources/company-token-transactions.ts +3 -0
- package/src/resources/course-chapters.ts +3 -0
- package/src/resources/course-lesson-interactions.ts +3 -0
- package/src/resources/course-lessons.ts +3 -0
- package/src/resources/course-students.ts +3 -0
- package/src/resources/courses.ts +3 -0
- package/src/resources/dispute-alerts.ts +3 -0
- package/src/resources/disputes.ts +3 -0
- package/src/resources/dm-channels.ts +3 -0
- package/src/resources/dm-members.ts +3 -0
- package/src/resources/entries.ts +3 -0
- package/src/resources/experiences.ts +3 -0
- package/src/resources/fee-markups.ts +3 -0
- package/src/resources/files.ts +3 -0
- package/src/resources/forum-posts.ts +44 -0
- package/src/resources/forums.ts +22 -0
- package/src/resources/index.ts +19 -1
- package/src/resources/invoices.ts +162 -9
- package/src/resources/leads.ts +3 -0
- package/src/resources/ledger-accounts.ts +3 -0
- package/src/resources/members.ts +3 -0
- package/src/resources/memberships.ts +89 -1
- package/src/resources/messages.ts +14 -0
- package/src/resources/notifications.ts +3 -0
- package/src/resources/payment-methods.ts +3 -0
- package/src/resources/payments.ts +22 -0
- package/src/resources/payout-methods.ts +3 -0
- package/src/resources/plans.ts +3 -0
- package/src/resources/products.ts +15 -0
- package/src/resources/promo-codes.ts +3 -0
- package/src/resources/reactions.ts +3 -0
- package/src/resources/refunds.ts +21 -1
- package/src/resources/resolution-center-cases.ts +492 -0
- package/src/resources/reviews.ts +3 -0
- package/src/resources/setup-intents.ts +3 -0
- package/src/resources/shared.ts +74 -33
- package/src/resources/shipments.ts +3 -0
- package/src/resources/support-channels.ts +3 -0
- package/src/resources/topups.ts +3 -0
- package/src/resources/transfers.ts +3 -0
- package/src/resources/users.ts +3 -0
- package/src/resources/verifications.ts +3 -0
- package/src/resources/webhooks.ts +35 -0
- package/src/resources/withdrawals.ts +3 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as Shared from "./shared.js";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
4
|
+
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.js";
|
|
5
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
6
|
+
/**
|
|
7
|
+
* Resolution center cases
|
|
8
|
+
*/
|
|
9
|
+
export declare class ResolutionCenterCases extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the details of an existing resolution center case.
|
|
12
|
+
*
|
|
13
|
+
* Required permissions:
|
|
14
|
+
*
|
|
15
|
+
* - `payment:resolution_center_case:read`
|
|
16
|
+
*/
|
|
17
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<ResolutionCenterCaseRetrieveResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Returns a paginated list of resolution center cases, with optional filtering by
|
|
20
|
+
* company, status, and creation date.
|
|
21
|
+
*
|
|
22
|
+
* Required permissions:
|
|
23
|
+
*
|
|
24
|
+
* - `payment:resolution_center_case:read`
|
|
25
|
+
*/
|
|
26
|
+
list(query?: ResolutionCenterCaseListParams | null | undefined, options?: RequestOptions): PagePromise<ResolutionCenterCaseListResponsesCursorPage, ResolutionCenterCaseListResponse>;
|
|
27
|
+
}
|
|
28
|
+
export type ResolutionCenterCaseListResponsesCursorPage = CursorPage<ResolutionCenterCaseListResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* The types of responses a customer can make to a resolution.
|
|
31
|
+
*/
|
|
32
|
+
export type ResolutionCenterCaseCustomerResponse = 'respond' | 'appeal' | 'withdraw';
|
|
33
|
+
/**
|
|
34
|
+
* The different types of issues a resolution can be
|
|
35
|
+
*/
|
|
36
|
+
export type ResolutionCenterCaseIssueType = 'forgot_to_cancel' | 'item_not_received' | 'significantly_not_as_described' | 'unauthorized_transaction' | 'product_unacceptable';
|
|
37
|
+
/**
|
|
38
|
+
* The types of responses a merchant can make to a resolution.
|
|
39
|
+
*/
|
|
40
|
+
export type ResolutionCenterCaseMerchantResponse = 'accept' | 'deny' | 'request_more_info' | 'appeal' | 'respond';
|
|
41
|
+
/**
|
|
42
|
+
* The types of responses the platform can make to a resolution.
|
|
43
|
+
*/
|
|
44
|
+
export type ResolutionCenterCasePlatformResponse = 'request_buyer_info' | 'request_merchant_info' | 'merchant_wins' | 'platform_refund' | 'merchant_refund';
|
|
45
|
+
/**
|
|
46
|
+
* The statuses a resolution object can have
|
|
47
|
+
*/
|
|
48
|
+
export type ResolutionCenterCaseStatus = 'merchant_response_needed' | 'customer_response_needed' | 'merchant_info_needed' | 'customer_info_needed' | 'under_platform_review' | 'customer_won' | 'merchant_won' | 'customer_withdrew';
|
|
49
|
+
/**
|
|
50
|
+
* A resolution center case is a dispute or support case between a user and a
|
|
51
|
+
* company, tracking the issue, status, and outcome.
|
|
52
|
+
*/
|
|
53
|
+
export interface ResolutionCenterCaseRetrieveResponse {
|
|
54
|
+
/**
|
|
55
|
+
* The unique identifier for the resolution.
|
|
56
|
+
*/
|
|
57
|
+
id: string;
|
|
58
|
+
/**
|
|
59
|
+
* The company involved in this resolution case. Null if the company no longer
|
|
60
|
+
* exists.
|
|
61
|
+
*/
|
|
62
|
+
company: ResolutionCenterCaseRetrieveResponse.Company | null;
|
|
63
|
+
/**
|
|
64
|
+
* The datetime the resolution was created.
|
|
65
|
+
*/
|
|
66
|
+
created_at: string;
|
|
67
|
+
/**
|
|
68
|
+
* Whether the customer has filed an appeal after the initial resolution decision.
|
|
69
|
+
*/
|
|
70
|
+
customer_appealed: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* The list of actions currently available to the customer.
|
|
73
|
+
*/
|
|
74
|
+
customer_response_actions: Array<ResolutionCenterCaseCustomerResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* The deadline by which the next response is required. Null if no deadline is
|
|
77
|
+
* currently active. As a Unix timestamp.
|
|
78
|
+
*/
|
|
79
|
+
due_date: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* The category of the dispute.
|
|
82
|
+
*/
|
|
83
|
+
issue: ResolutionCenterCaseIssueType;
|
|
84
|
+
/**
|
|
85
|
+
* The membership record associated with the disputed payment. Null if the
|
|
86
|
+
* membership no longer exists.
|
|
87
|
+
*/
|
|
88
|
+
member: ResolutionCenterCaseRetrieveResponse.Member | null;
|
|
89
|
+
/**
|
|
90
|
+
* Whether the merchant has filed an appeal after the initial resolution decision.
|
|
91
|
+
*/
|
|
92
|
+
merchant_appealed: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* The list of actions currently available to the merchant.
|
|
95
|
+
*/
|
|
96
|
+
merchant_response_actions: Array<ResolutionCenterCaseMerchantResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* The payment record that is the subject of this resolution case.
|
|
99
|
+
*/
|
|
100
|
+
payment: ResolutionCenterCaseRetrieveResponse.Payment;
|
|
101
|
+
/**
|
|
102
|
+
* The list of actions currently available to the Whop platform for moderating this
|
|
103
|
+
* resolution.
|
|
104
|
+
*/
|
|
105
|
+
platform_response_actions: Array<ResolutionCenterCasePlatformResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* The most recent 50 messages, actions, and status changes that have occurred
|
|
108
|
+
* during this resolution case.
|
|
109
|
+
*/
|
|
110
|
+
resolution_events: Array<ResolutionCenterCaseRetrieveResponse.ResolutionEvent>;
|
|
111
|
+
/**
|
|
112
|
+
* The current status of the resolution case, indicating which party needs to
|
|
113
|
+
* respond or if the case is closed.
|
|
114
|
+
*/
|
|
115
|
+
status: ResolutionCenterCaseStatus;
|
|
116
|
+
/**
|
|
117
|
+
* The datetime the resolution was last updated.
|
|
118
|
+
*/
|
|
119
|
+
updated_at: string;
|
|
120
|
+
/**
|
|
121
|
+
* The customer (buyer) who filed this resolution case.
|
|
122
|
+
*/
|
|
123
|
+
user: ResolutionCenterCaseRetrieveResponse.User;
|
|
124
|
+
}
|
|
125
|
+
export declare namespace ResolutionCenterCaseRetrieveResponse {
|
|
126
|
+
/**
|
|
127
|
+
* The company involved in this resolution case. Null if the company no longer
|
|
128
|
+
* exists.
|
|
129
|
+
*/
|
|
130
|
+
interface Company {
|
|
131
|
+
/**
|
|
132
|
+
* The unique identifier for the company.
|
|
133
|
+
*/
|
|
134
|
+
id: string;
|
|
135
|
+
/**
|
|
136
|
+
* The display name of the company shown to customers.
|
|
137
|
+
*/
|
|
138
|
+
title: string;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* The membership record associated with the disputed payment. Null if the
|
|
142
|
+
* membership no longer exists.
|
|
143
|
+
*/
|
|
144
|
+
interface Member {
|
|
145
|
+
/**
|
|
146
|
+
* The unique identifier for the extra public member.
|
|
147
|
+
*/
|
|
148
|
+
id: string;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* The payment record that is the subject of this resolution case.
|
|
152
|
+
*/
|
|
153
|
+
interface Payment {
|
|
154
|
+
/**
|
|
155
|
+
* The unique identifier for the payment.
|
|
156
|
+
*/
|
|
157
|
+
id: string;
|
|
158
|
+
/**
|
|
159
|
+
* The datetime the payment was created.
|
|
160
|
+
*/
|
|
161
|
+
created_at: string;
|
|
162
|
+
/**
|
|
163
|
+
* The available currencies on the platform
|
|
164
|
+
*/
|
|
165
|
+
currency: Shared.Currency | null;
|
|
166
|
+
/**
|
|
167
|
+
* The time at which this payment was successfully collected. Null if the payment
|
|
168
|
+
* has not yet succeeded. As a Unix timestamp.
|
|
169
|
+
*/
|
|
170
|
+
paid_at: string | null;
|
|
171
|
+
/**
|
|
172
|
+
* The payment amount before taxes and discounts are applied. In the currency
|
|
173
|
+
* specified by the currency field.
|
|
174
|
+
*/
|
|
175
|
+
subtotal: number | null;
|
|
176
|
+
/**
|
|
177
|
+
* The total amount charged to the customer for this payment, including taxes and
|
|
178
|
+
* after any discounts. In the currency specified by the currency field.
|
|
179
|
+
*/
|
|
180
|
+
total: number;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* A resolution event is a message or action within a resolution case, such as a
|
|
184
|
+
* response, escalation, or status change.
|
|
185
|
+
*/
|
|
186
|
+
interface ResolutionEvent {
|
|
187
|
+
/**
|
|
188
|
+
* The unique identifier for the resolution event.
|
|
189
|
+
*/
|
|
190
|
+
id: string;
|
|
191
|
+
/**
|
|
192
|
+
* The type of action recorded in this event.
|
|
193
|
+
*/
|
|
194
|
+
action: 'created' | 'responded' | 'accepted' | 'denied' | 'appealed' | 'withdrew' | 'requested_more_info' | 'escalated' | 'dispute_opened' | 'dispute_customer_won' | 'dispute_merchant_won';
|
|
195
|
+
/**
|
|
196
|
+
* The datetime the resolution event was created.
|
|
197
|
+
*/
|
|
198
|
+
created_at: string;
|
|
199
|
+
/**
|
|
200
|
+
* The message body or additional context provided with this resolution event. Null
|
|
201
|
+
* if no details were included.
|
|
202
|
+
*/
|
|
203
|
+
details: string | null;
|
|
204
|
+
/**
|
|
205
|
+
* The party who performed this action.
|
|
206
|
+
*/
|
|
207
|
+
reporter_type: 'merchant' | 'customer' | 'platform' | 'system';
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* The customer (buyer) who filed this resolution case.
|
|
211
|
+
*/
|
|
212
|
+
interface User {
|
|
213
|
+
/**
|
|
214
|
+
* The unique identifier for the user.
|
|
215
|
+
*/
|
|
216
|
+
id: string;
|
|
217
|
+
/**
|
|
218
|
+
* The user's display name shown on their public profile.
|
|
219
|
+
*/
|
|
220
|
+
name: string | null;
|
|
221
|
+
/**
|
|
222
|
+
* The user's unique username shown on their public profile.
|
|
223
|
+
*/
|
|
224
|
+
username: string;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* A resolution center case is a dispute or support case between a user and a
|
|
229
|
+
* company, tracking the issue, status, and outcome.
|
|
230
|
+
*/
|
|
231
|
+
export interface ResolutionCenterCaseListResponse {
|
|
232
|
+
/**
|
|
233
|
+
* The unique identifier for the resolution.
|
|
234
|
+
*/
|
|
235
|
+
id: string;
|
|
236
|
+
/**
|
|
237
|
+
* The company involved in this resolution case. Null if the company no longer
|
|
238
|
+
* exists.
|
|
239
|
+
*/
|
|
240
|
+
company: ResolutionCenterCaseListResponse.Company | null;
|
|
241
|
+
/**
|
|
242
|
+
* The datetime the resolution was created.
|
|
243
|
+
*/
|
|
244
|
+
created_at: string;
|
|
245
|
+
/**
|
|
246
|
+
* Whether the customer has filed an appeal after the initial resolution decision.
|
|
247
|
+
*/
|
|
248
|
+
customer_appealed: boolean;
|
|
249
|
+
/**
|
|
250
|
+
* The list of actions currently available to the customer.
|
|
251
|
+
*/
|
|
252
|
+
customer_response_actions: Array<ResolutionCenterCaseCustomerResponse>;
|
|
253
|
+
/**
|
|
254
|
+
* The deadline by which the next response is required. Null if no deadline is
|
|
255
|
+
* currently active. As a Unix timestamp.
|
|
256
|
+
*/
|
|
257
|
+
due_date: string | null;
|
|
258
|
+
/**
|
|
259
|
+
* The category of the dispute.
|
|
260
|
+
*/
|
|
261
|
+
issue: ResolutionCenterCaseIssueType;
|
|
262
|
+
/**
|
|
263
|
+
* Whether the merchant has filed an appeal after the initial resolution decision.
|
|
264
|
+
*/
|
|
265
|
+
merchant_appealed: boolean;
|
|
266
|
+
/**
|
|
267
|
+
* The list of actions currently available to the merchant.
|
|
268
|
+
*/
|
|
269
|
+
merchant_response_actions: Array<ResolutionCenterCaseMerchantResponse>;
|
|
270
|
+
/**
|
|
271
|
+
* The payment record that is the subject of this resolution case.
|
|
272
|
+
*/
|
|
273
|
+
payment: ResolutionCenterCaseListResponse.Payment;
|
|
274
|
+
/**
|
|
275
|
+
* The current status of the resolution case, indicating which party needs to
|
|
276
|
+
* respond or if the case is closed.
|
|
277
|
+
*/
|
|
278
|
+
status: ResolutionCenterCaseStatus;
|
|
279
|
+
/**
|
|
280
|
+
* The datetime the resolution was last updated.
|
|
281
|
+
*/
|
|
282
|
+
updated_at: string;
|
|
283
|
+
/**
|
|
284
|
+
* The customer (buyer) who filed this resolution case.
|
|
285
|
+
*/
|
|
286
|
+
user: ResolutionCenterCaseListResponse.User;
|
|
287
|
+
}
|
|
288
|
+
export declare namespace ResolutionCenterCaseListResponse {
|
|
289
|
+
/**
|
|
290
|
+
* The company involved in this resolution case. Null if the company no longer
|
|
291
|
+
* exists.
|
|
292
|
+
*/
|
|
293
|
+
interface Company {
|
|
294
|
+
/**
|
|
295
|
+
* The unique identifier for the company.
|
|
296
|
+
*/
|
|
297
|
+
id: string;
|
|
298
|
+
/**
|
|
299
|
+
* The display name of the company shown to customers.
|
|
300
|
+
*/
|
|
301
|
+
title: string;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* The payment record that is the subject of this resolution case.
|
|
305
|
+
*/
|
|
306
|
+
interface Payment {
|
|
307
|
+
/**
|
|
308
|
+
* The unique identifier for the payment.
|
|
309
|
+
*/
|
|
310
|
+
id: string;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* The customer (buyer) who filed this resolution case.
|
|
314
|
+
*/
|
|
315
|
+
interface User {
|
|
316
|
+
/**
|
|
317
|
+
* The unique identifier for the user.
|
|
318
|
+
*/
|
|
319
|
+
id: string;
|
|
320
|
+
/**
|
|
321
|
+
* The user's display name shown on their public profile.
|
|
322
|
+
*/
|
|
323
|
+
name: string | null;
|
|
324
|
+
/**
|
|
325
|
+
* The user's unique username shown on their public profile.
|
|
326
|
+
*/
|
|
327
|
+
username: string;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
export interface ResolutionCenterCaseListParams extends CursorPageParams {
|
|
331
|
+
/**
|
|
332
|
+
* Returns the elements in the list that come before the specified cursor.
|
|
333
|
+
*/
|
|
334
|
+
before?: string | null;
|
|
335
|
+
/**
|
|
336
|
+
* The unique identifier of the company to list resolution center cases for.
|
|
337
|
+
*/
|
|
338
|
+
company_id?: string | null;
|
|
339
|
+
/**
|
|
340
|
+
* Only return cases created after this timestamp.
|
|
341
|
+
*/
|
|
342
|
+
created_after?: string | null;
|
|
343
|
+
/**
|
|
344
|
+
* Only return cases created before this timestamp.
|
|
345
|
+
*/
|
|
346
|
+
created_before?: string | null;
|
|
347
|
+
/**
|
|
348
|
+
* The direction of the sort.
|
|
349
|
+
*/
|
|
350
|
+
direction?: Shared.Direction | null;
|
|
351
|
+
/**
|
|
352
|
+
* Returns the first _n_ elements from the list.
|
|
353
|
+
*/
|
|
354
|
+
first?: number | null;
|
|
355
|
+
/**
|
|
356
|
+
* Returns the last _n_ elements from the list.
|
|
357
|
+
*/
|
|
358
|
+
last?: number | null;
|
|
359
|
+
/**
|
|
360
|
+
* Filter by resolution center case status.
|
|
361
|
+
*/
|
|
362
|
+
statuses?: Array<ResolutionCenterCaseStatus> | null;
|
|
363
|
+
}
|
|
364
|
+
export declare namespace ResolutionCenterCases {
|
|
365
|
+
export { type ResolutionCenterCaseCustomerResponse as ResolutionCenterCaseCustomerResponse, type ResolutionCenterCaseIssueType as ResolutionCenterCaseIssueType, type ResolutionCenterCaseMerchantResponse as ResolutionCenterCaseMerchantResponse, type ResolutionCenterCasePlatformResponse as ResolutionCenterCasePlatformResponse, type ResolutionCenterCaseStatus as ResolutionCenterCaseStatus, type ResolutionCenterCaseRetrieveResponse as ResolutionCenterCaseRetrieveResponse, type ResolutionCenterCaseListResponse as ResolutionCenterCaseListResponse, type ResolutionCenterCaseListResponsesCursorPage as ResolutionCenterCaseListResponsesCursorPage, type ResolutionCenterCaseListParams as ResolutionCenterCaseListParams, };
|
|
366
|
+
}
|
|
367
|
+
//# sourceMappingURL=resolution-center-cases.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolution-center-cases.d.ts","sourceRoot":"","sources":["../src/resources/resolution-center-cases.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oCAAoC,CAAC;IAIhG;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,8BAA8B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,2CAA2C,EAAE,gCAAgC,CAAC;CAM9F;AAED,MAAM,MAAM,2CAA2C,GAAG,UAAU,CAAC,gCAAgC,CAAC,CAAC;AAEvG;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAErF;;GAEG;AACH,MAAM,MAAM,6BAA6B,GACrC,kBAAkB,GAClB,mBAAmB,GACnB,gCAAgC,GAChC,0BAA0B,GAC1B,sBAAsB,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAC5C,QAAQ,GACR,MAAM,GACN,mBAAmB,GACnB,QAAQ,GACR,SAAS,CAAC;AAEd;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAC5C,oBAAoB,GACpB,uBAAuB,GACvB,eAAe,GACf,iBAAiB,GACjB,iBAAiB,CAAC;AAEtB;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAClC,0BAA0B,GAC1B,0BAA0B,GAC1B,sBAAsB,GACtB,sBAAsB,GACtB,uBAAuB,GACvB,cAAc,GACd,cAAc,GACd,mBAAmB,CAAC;AAExB;;;GAGG;AACH,MAAM,WAAW,oCAAoC;IACnD;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AAI,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC;CACrD;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EACL,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,2CAA2C,IAAI,2CAA2C,EAC/F,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ResolutionCenterCases = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Resolution center cases
|
|
10
|
+
*/
|
|
11
|
+
class ResolutionCenterCases extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves the details of an existing resolution center case.
|
|
14
|
+
*
|
|
15
|
+
* Required permissions:
|
|
16
|
+
*
|
|
17
|
+
* - `payment:resolution_center_case:read`
|
|
18
|
+
*/
|
|
19
|
+
retrieve(id, options) {
|
|
20
|
+
return this._client.get((0, path_1.path) `/resolution_center_cases/${id}`, options);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Returns a paginated list of resolution center cases, with optional filtering by
|
|
24
|
+
* company, status, and creation date.
|
|
25
|
+
*
|
|
26
|
+
* Required permissions:
|
|
27
|
+
*
|
|
28
|
+
* - `payment:resolution_center_case:read`
|
|
29
|
+
*/
|
|
30
|
+
list(query = {}, options) {
|
|
31
|
+
return this._client.getAPIList('/resolution_center_cases', (pagination_1.CursorPage), {
|
|
32
|
+
query,
|
|
33
|
+
...options,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.ResolutionCenterCases = ResolutionCenterCases;
|
|
38
|
+
//# sourceMappingURL=resolution-center-cases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolution-center-cases.js","sourceRoot":"","sources":["../src/resources/resolution-center-cases.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAoF;AAEpF,oDAA8C;AAE9C;;GAEG;AACH,MAAa,qBAAsB,SAAQ,sBAAW;IACpD;;;;;;OAMG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CACF,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,0BAA0B,EAAE,CAAA,uBAA4C,CAAA,EAAE;YACvG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA7BD,sDA6BC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { CursorPage } from "../core/pagination.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Resolution center cases
|
|
7
|
+
*/
|
|
8
|
+
export class ResolutionCenterCases extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves the details of an existing resolution center case.
|
|
11
|
+
*
|
|
12
|
+
* Required permissions:
|
|
13
|
+
*
|
|
14
|
+
* - `payment:resolution_center_case:read`
|
|
15
|
+
*/
|
|
16
|
+
retrieve(id, options) {
|
|
17
|
+
return this._client.get(path `/resolution_center_cases/${id}`, options);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Returns a paginated list of resolution center cases, with optional filtering by
|
|
21
|
+
* company, status, and creation date.
|
|
22
|
+
*
|
|
23
|
+
* Required permissions:
|
|
24
|
+
*
|
|
25
|
+
* - `payment:resolution_center_case:read`
|
|
26
|
+
*/
|
|
27
|
+
list(query = {}, options) {
|
|
28
|
+
return this._client.getAPIList('/resolution_center_cases', (CursorPage), {
|
|
29
|
+
query,
|
|
30
|
+
...options,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=resolution-center-cases.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolution-center-cases.mjs","sourceRoot":"","sources":["../src/resources/resolution-center-cases.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,qBAAsB,SAAQ,WAAW;IACpD;;;;;;OAMG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CACF,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,0BAA0B,EAAE,CAAA,UAA4C,CAAA,EAAE;YACvG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/resources/reviews.d.mts
CHANGED
|
@@ -2,6 +2,9 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
2
2
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
3
|
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.mjs";
|
|
4
4
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Reviews
|
|
7
|
+
*/
|
|
5
8
|
export declare class Reviews extends APIResource {
|
|
6
9
|
/**
|
|
7
10
|
* Retrieves the details of an existing review.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviews.d.mts","sourceRoot":"","sources":["../src/resources/reviews.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIlF;;;OAGG;IACH,IAAI,CACF,KAAK,EAAE,gBAAgB,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6BAA6B,EAAE,kBAAkB,CAAC;CAGlE;AAED,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;AAE/D;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;IAEtD;;OAEG;IACH,OAAO,EAAE,sBAAsB,CAAC,OAAO,CAAC;IAExC;;OAEG;IACH,UA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EAAE,MAAM,GAAG,IAAI,CAAC;QAE5B;;WAEG;QACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAExB;;;WAGG;QACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;KACpB;IAED;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QAEpB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;KAClB;CACF;AAED,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;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,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
package/resources/reviews.d.ts
CHANGED
|
@@ -2,6 +2,9 @@ import { APIResource } from "../core/resource.js";
|
|
|
2
2
|
import { APIPromise } from "../core/api-promise.js";
|
|
3
3
|
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.js";
|
|
4
4
|
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
/**
|
|
6
|
+
* Reviews
|
|
7
|
+
*/
|
|
5
8
|
export declare class Reviews extends APIResource {
|
|
6
9
|
/**
|
|
7
10
|
* Retrieves the details of an existing review.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviews.d.ts","sourceRoot":"","sources":["../src/resources/reviews.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIlF;;;OAGG;IACH,IAAI,CACF,KAAK,EAAE,gBAAgB,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6BAA6B,EAAE,kBAAkB,CAAC;CAGlE;AAED,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;AAE/D;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;IAEtD;;OAEG;IACH,OAAO,EAAE,sBAAsB,CAAC,OAAO,CAAC;IAExC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;;OAGG;IAC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;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QAEpB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;KAClB;CACF;AAED,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;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,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
package/resources/reviews.js
CHANGED
|
@@ -5,6 +5,9 @@ exports.Reviews = void 0;
|
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
6
|
const pagination_1 = require("../core/pagination.js");
|
|
7
7
|
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Reviews
|
|
10
|
+
*/
|
|
8
11
|
class Reviews extends resource_1.APIResource {
|
|
9
12
|
/**
|
|
10
13
|
* Retrieves the details of an existing review.
|
package/resources/reviews.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviews.js","sourceRoot":"","sources":["../src/resources/reviews.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAoF;AAEpF,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,KAAuB,EACvB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA,uBAA8B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;CACF;AAlBD,0BAkBC"}
|
|
1
|
+
{"version":3,"file":"reviews.js","sourceRoot":"","sources":["../src/resources/reviews.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAoF;AAEpF,oDAA8C;AAE9C;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,KAAuB,EACvB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA,uBAA8B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;CACF;AAlBD,0BAkBC"}
|
package/resources/reviews.mjs
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
3
|
import { CursorPage } from "../core/pagination.mjs";
|
|
4
4
|
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Reviews
|
|
7
|
+
*/
|
|
5
8
|
export class Reviews extends APIResource {
|
|
6
9
|
/**
|
|
7
10
|
* Retrieves the details of an existing review.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviews.mjs","sourceRoot":"","sources":["../src/resources/reviews.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,KAAuB,EACvB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA,UAA8B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"reviews.mjs","sourceRoot":"","sources":["../src/resources/reviews.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,KAAuB,EACvB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA,UAA8B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;CACF"}
|
|
@@ -4,6 +4,9 @@ import * as Shared from "./shared.mjs";
|
|
|
4
4
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
5
5
|
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.mjs";
|
|
6
6
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
7
|
+
/**
|
|
8
|
+
* Setup intents
|
|
9
|
+
*/
|
|
7
10
|
export declare class SetupIntents extends APIResource {
|
|
8
11
|
/**
|
|
9
12
|
* Retrieves the details of an existing setup intent.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-intents.d.mts","sourceRoot":"","sources":["../src/resources/setup-intents.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIvE;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,kCAAkC,EAAE,uBAAuB,CAAC;CAM5E;AAED,MAAM,MAAM,kCAAkC,GAAG,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAErF;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;I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AEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC;IAEpC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -4,6 +4,9 @@ import * as Shared from "./shared.js";
|
|
|
4
4
|
import { APIPromise } from "../core/api-promise.js";
|
|
5
5
|
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.js";
|
|
6
6
|
import { RequestOptions } from "../internal/request-options.js";
|
|
7
|
+
/**
|
|
8
|
+
* Setup intents
|
|
9
|
+
*/
|
|
7
10
|
export declare class SetupIntents extends APIResource {
|
|
8
11
|
/**
|
|
9
12
|
* Retrieves the details of an existing setup intent.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-intents.d.ts","sourceRoot":"","sources":["../src/resources/setup-intents.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ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,CAAC,kBAAkB,CAAC;KACrD;IAED,UAAiB,aAAa,CAAC;QAC7B;;WAEG;QACH,UAAiB,IAAI;YACnB;;eAEG;YACH,KAAK,EAAE,WAAW,CAAC,UAAU,GAAG,IAAI,CAAC;YAErC;;eAEG;YACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;YAEzB;;;eAGG;YACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;YAExB;;eAEG;YACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;SACtB;KACF;CACF;AAED,MAAM,WAAW,qBAAsB,SAAQ,gBAAgB;IAC7D;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC;IAEpC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -5,6 +5,9 @@ exports.SetupIntents = void 0;
|
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
6
|
const pagination_1 = require("../core/pagination.js");
|
|
7
7
|
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Setup intents
|
|
10
|
+
*/
|
|
8
11
|
class SetupIntents extends resource_1.APIResource {
|
|
9
12
|
/**
|
|
10
13
|
* Retrieves the details of an existing setup intent.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-intents.js","sourceRoot":"","sources":["../src/resources/setup-intents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAoF;AAEpF,oDAA8C;AAE9C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAA,uBAAmC,CAAA,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAlCD,oCAkCC"}
|
|
1
|
+
{"version":3,"file":"setup-intents.js","sourceRoot":"","sources":["../src/resources/setup-intents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAoF;AAEpF,oDAA8C;AAE9C;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAA,uBAAmC,CAAA,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAlCD,oCAkCC"}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
3
|
import { CursorPage } from "../core/pagination.mjs";
|
|
4
4
|
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Setup intents
|
|
7
|
+
*/
|
|
5
8
|
export class SetupIntents extends APIResource {
|
|
6
9
|
/**
|
|
7
10
|
* Retrieves the details of an existing setup intent.
|