@whop/sdk 0.0.25 → 0.0.26

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.
Files changed (133) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/client.d.mts +23 -20
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +23 -20
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -2
  7. package/client.js.map +1 -1
  8. package/client.mjs +8 -4
  9. package/client.mjs.map +1 -1
  10. package/internal/parse.d.mts.map +1 -1
  11. package/internal/parse.d.ts.map +1 -1
  12. package/internal/parse.js +5 -0
  13. package/internal/parse.js.map +1 -1
  14. package/internal/parse.mjs +5 -0
  15. package/internal/parse.mjs.map +1 -1
  16. package/package.json +1 -1
  17. package/resources/ai-chats.d.mts +7 -103
  18. package/resources/ai-chats.d.mts.map +1 -1
  19. package/resources/ai-chats.d.ts +7 -103
  20. package/resources/ai-chats.d.ts.map +1 -1
  21. package/resources/ai-chats.js.map +1 -1
  22. package/resources/ai-chats.mjs.map +1 -1
  23. package/resources/authorized-users.d.mts +39 -5
  24. package/resources/authorized-users.d.mts.map +1 -1
  25. package/resources/authorized-users.d.ts +39 -5
  26. package/resources/authorized-users.d.ts.map +1 -1
  27. package/resources/authorized-users.js +1 -1
  28. package/resources/authorized-users.js.map +1 -1
  29. package/resources/authorized-users.mjs +1 -1
  30. package/resources/authorized-users.mjs.map +1 -1
  31. package/resources/company-token-transactions.d.mts +13 -99
  32. package/resources/company-token-transactions.d.mts.map +1 -1
  33. package/resources/company-token-transactions.d.ts +13 -99
  34. package/resources/company-token-transactions.d.ts.map +1 -1
  35. package/resources/dm-channels.d.mts +161 -0
  36. package/resources/dm-channels.d.mts.map +1 -0
  37. package/resources/dm-channels.d.ts +161 -0
  38. package/resources/dm-channels.d.ts.map +1 -0
  39. package/resources/dm-channels.js +87 -0
  40. package/resources/dm-channels.js.map +1 -0
  41. package/resources/dm-channels.mjs +83 -0
  42. package/resources/dm-channels.mjs.map +1 -0
  43. package/resources/dm-members.d.mts +14 -66
  44. package/resources/dm-members.d.mts.map +1 -1
  45. package/resources/dm-members.d.ts +14 -66
  46. package/resources/dm-members.d.ts.map +1 -1
  47. package/resources/files.d.mts +7 -3
  48. package/resources/files.d.mts.map +1 -1
  49. package/resources/files.d.ts +7 -3
  50. package/resources/files.d.ts.map +1 -1
  51. package/resources/index.d.mts +11 -10
  52. package/resources/index.d.mts.map +1 -1
  53. package/resources/index.d.ts +11 -10
  54. package/resources/index.d.ts.map +1 -1
  55. package/resources/index.js +3 -1
  56. package/resources/index.js.map +1 -1
  57. package/resources/index.mjs +3 -2
  58. package/resources/index.mjs.map +1 -1
  59. package/resources/leads.d.mts +9 -177
  60. package/resources/leads.d.mts.map +1 -1
  61. package/resources/leads.d.ts +9 -177
  62. package/resources/leads.d.ts.map +1 -1
  63. package/resources/ledger-accounts.d.mts +3 -2
  64. package/resources/ledger-accounts.d.mts.map +1 -1
  65. package/resources/ledger-accounts.d.ts +3 -2
  66. package/resources/ledger-accounts.d.ts.map +1 -1
  67. package/resources/ledger-accounts.js.map +1 -1
  68. package/resources/ledger-accounts.mjs.map +1 -1
  69. package/resources/members.d.mts +5 -5
  70. package/resources/members.d.mts.map +1 -1
  71. package/resources/members.d.ts +5 -5
  72. package/resources/members.d.ts.map +1 -1
  73. package/resources/members.js +1 -1
  74. package/resources/members.js.map +1 -1
  75. package/resources/members.mjs +1 -1
  76. package/resources/members.mjs.map +1 -1
  77. package/resources/memberships.d.mts +8 -3
  78. package/resources/memberships.d.mts.map +1 -1
  79. package/resources/memberships.d.ts +8 -3
  80. package/resources/memberships.d.ts.map +1 -1
  81. package/resources/payments.d.mts +33 -0
  82. package/resources/payments.d.mts.map +1 -1
  83. package/resources/payments.d.ts +33 -0
  84. package/resources/payments.d.ts.map +1 -1
  85. package/resources/payout-methods.d.mts +8 -3
  86. package/resources/payout-methods.d.mts.map +1 -1
  87. package/resources/payout-methods.d.ts +8 -3
  88. package/resources/payout-methods.d.ts.map +1 -1
  89. package/resources/payout-methods.js.map +1 -1
  90. package/resources/payout-methods.mjs.map +1 -1
  91. package/resources/shared.d.mts +35 -1
  92. package/resources/shared.d.mts.map +1 -1
  93. package/resources/shared.d.ts +35 -1
  94. package/resources/shared.d.ts.map +1 -1
  95. package/resources/verifications.d.mts +11 -3
  96. package/resources/verifications.d.mts.map +1 -1
  97. package/resources/verifications.d.ts +11 -3
  98. package/resources/verifications.d.ts.map +1 -1
  99. package/resources/webhooks.d.mts +34 -293
  100. package/resources/webhooks.d.mts.map +1 -1
  101. package/resources/webhooks.d.ts +34 -293
  102. package/resources/webhooks.d.ts.map +1 -1
  103. package/resources/webhooks.js.map +1 -1
  104. package/resources/webhooks.mjs +2 -2
  105. package/resources/webhooks.mjs.map +1 -1
  106. package/resources/withdrawals.d.mts +17 -128
  107. package/resources/withdrawals.d.mts.map +1 -1
  108. package/resources/withdrawals.d.ts +17 -128
  109. package/resources/withdrawals.d.ts.map +1 -1
  110. package/src/client.ts +68 -34
  111. package/src/internal/parse.ts +6 -0
  112. package/src/resources/ai-chats.ts +7 -126
  113. package/src/resources/authorized-users.ts +45 -5
  114. package/src/resources/company-token-transactions.ts +14 -116
  115. package/src/resources/dm-channels.ts +212 -0
  116. package/src/resources/dm-members.ts +16 -78
  117. package/src/resources/files.ts +8 -2
  118. package/src/resources/index.ts +36 -17
  119. package/src/resources/leads.ts +9 -205
  120. package/src/resources/ledger-accounts.ts +3 -35
  121. package/src/resources/members.ts +6 -6
  122. package/src/resources/memberships.ts +16 -18
  123. package/src/resources/payments.ts +40 -0
  124. package/src/resources/payout-methods.ts +15 -2
  125. package/src/resources/shared.ts +42 -9
  126. package/src/resources/verifications.ts +49 -36
  127. package/src/resources/webhooks.ts +67 -728
  128. package/src/resources/withdrawals.ts +24 -205
  129. package/src/version.ts +1 -1
  130. package/version.d.mts +1 -1
  131. package/version.d.ts +1 -1
  132. package/version.js +1 -1
  133. package/version.mjs +1 -1
@@ -1,5 +1,5 @@
1
1
  export * from "./shared.js";
2
- export { AIChats, type AIChatCreateResponse, type AIChatRetrieveResponse, type AIChatUpdateResponse, type AIChatListResponse, type AIChatDeleteResponse, type AIChatCreateParams, type AIChatUpdateParams, type AIChatListParams, type AIChatListResponsesCursorPage, } from "./ai-chats.js";
2
+ export { AIChats, type AIChat, type AIChatListResponse, type AIChatDeleteResponse, type AIChatCreateParams, type AIChatUpdateParams, type AIChatListParams, type AIChatListResponsesCursorPage, } from "./ai-chats.js";
3
3
  export { AccessTokens, type AccessTokenCreateResponse, type AccessTokenCreateParams } from "./access-tokens.js";
4
4
  export { AccountLinks, type AccountLinkCreateResponse, type AccountLinkCreateParams } from "./account-links.js";
5
5
  export { AppBuilds, type AppBuildListResponse, type AppBuildCreateParams, type AppBuildListParams, type AppBuildListResponsesCursorPage, } from "./app-builds.js";
@@ -8,30 +8,31 @@ export { AuthorizedUsers, type AuthorizedUserRetrieveResponse, type AuthorizedUs
8
8
  export { ChatChannels, type ChatChannelListResponse, type ChatChannelUpdateParams, type ChatChannelListParams, type ChatChannelListResponsesCursorPage, } from "./chat-channels.js";
9
9
  export { CheckoutConfigurations, type CheckoutModes, type CheckoutConfigurationListResponse, type CheckoutConfigurationCreateParams, type CheckoutConfigurationListParams, type CheckoutConfigurationListResponsesCursorPage, } from "./checkout-configurations.js";
10
10
  export { Companies, type CompanyListResponse, type CompanyCreateParams, type CompanyUpdateParams, type CompanyListParams, type CompanyListResponsesCursorPage, } from "./companies.js";
11
- export { CompanyTokenTransactions, type CompanyTokenTransactionCreateResponse, type CompanyTokenTransactionRetrieveResponse, type CompanyTokenTransactionListResponse, type CompanyTokenTransactionCreateParams, type CompanyTokenTransactionListParams, type CompanyTokenTransactionListResponsesCursorPage, } from "./company-token-transactions.js";
11
+ export { CompanyTokenTransactions, type BotTokenTransactionTypes, type CompanyTokenTransaction, type CompanyTokenTransactionListResponse, type CompanyTokenTransactionCreateParams, type CompanyTokenTransactionListParams, type CompanyTokenTransactionListResponsesCursorPage, } from "./company-token-transactions.js";
12
12
  export { CourseChapters, type CourseChapter, type CourseChapterListResponse, type CourseChapterDeleteResponse, type CourseChapterCreateParams, type CourseChapterUpdateParams, type CourseChapterListParams, type CourseChapterListResponsesCursorPage, } from "./course-chapters.js";
13
13
  export { CourseLessonInteractions, type CourseLessonInteractionListParams, } from "./course-lesson-interactions.js";
14
14
  export { CourseLessons, type AssessmentQuestionTypes, type EmbedType, type Lesson, type LessonTypes, type LessonVisibilities, type CourseLessonListResponse, type CourseLessonDeleteResponse, type CourseLessonMarkAsCompletedResponse, type CourseLessonStartResponse, type CourseLessonSubmitAssessmentResponse, type CourseLessonCreateParams, type CourseLessonUpdateParams, type CourseLessonListParams, type CourseLessonSubmitAssessmentParams, type CourseLessonListResponsesCursorPage, } from "./course-lessons.js";
15
15
  export { CourseStudents, type CourseStudentRetrieveResponse, type CourseStudentListResponse, type CourseStudentListParams, type CourseStudentListResponsesCursorPage, } from "./course-students.js";
16
16
  export { Courses, type Course, type CourseVisibilities, type Languages, type CourseListResponse, type CourseDeleteResponse, type CourseCreateParams, type CourseUpdateParams, type CourseListParams, type CourseListResponsesCursorPage, } from "./courses.js";
17
17
  export { Disputes, type Dispute, type DisputeStatuses, type DisputeListResponse, type DisputeListParams, type DisputeUpdateEvidenceParams, type DisputeListResponsesCursorPage, } from "./disputes.js";
18
- export { DmMembers, type DmMemberCreateResponse, type DmMemberRetrieveResponse, type DmMemberUpdateResponse, type DmMemberListResponse, type DmMemberDeleteResponse, type DmMemberCreateParams, type DmMemberUpdateParams, type DmMemberListParams, type DmMemberListResponsesCursorPage, } from "./dm-members.js";
18
+ export { DmChannels, type DmChannel, type DmChannelListResponse, type DmChannelDeleteResponse, type DmChannelCreateParams, type DmChannelUpdateParams, type DmChannelListParams, type DmChannelListResponsesCursorPage, } from "./dm-channels.js";
19
+ export { DmMembers, type DmFeedMemberNotificationPreferences, type DmFeedMemberStatuses, type DmMember, type DmMemberListResponse, type DmMemberDeleteResponse, type DmMemberCreateParams, type DmMemberUpdateParams, type DmMemberListParams, type DmMemberListResponsesCursorPage, } from "./dm-members.js";
19
20
  export { Entries, type EntryListResponse, type EntryApproveResponse, type EntryListParams, type EntryListResponsesCursorPage, } from "./entries.js";
20
21
  export { Experiences, type ExperienceListResponse, type ExperienceDeleteResponse, type ExperienceCreateParams, type ExperienceUpdateParams, type ExperienceListParams, type ExperienceAttachParams, type ExperienceDetachParams, type ExperienceDuplicateParams, type ExperienceListResponsesCursorPage, } from "./experiences.js";
21
22
  export { FeeMarkups, type FeeMarkupType, type FeeMarkupCreateResponse, type FeeMarkupListResponse, type FeeMarkupDeleteResponse, type FeeMarkupCreateParams, type FeeMarkupListParams, type FeeMarkupListResponsesCursorPage, } from "./fee-markups.js";
22
- export { Files, type FileCreateResponse, type FileRetrieveResponse, type FileCreateParams } from "./files.js";
23
+ export { Files, type UploadStatus, type FileCreateResponse, type FileRetrieveResponse, type FileCreateParams, } from "./files.js";
23
24
  export { ForumPosts, type ForumPostVisibilityType, type ForumPostListResponse, type ForumPostCreateParams, type ForumPostUpdateParams, type ForumPostListParams, type ForumPostListResponsesCursorPage, } from "./forum-posts.js";
24
25
  export { Forums, type ForumListResponse, type ForumUpdateParams, type ForumListParams, type ForumListResponsesCursorPage, } from "./forums.js";
25
26
  export { Invoices, type InvoiceVoidResponse, type InvoiceCreateParams, type InvoiceListParams, } from "./invoices.js";
26
- export { Leads, type LeadCreateResponse, type LeadRetrieveResponse, type LeadUpdateResponse, type LeadListResponse, type LeadCreateParams, type LeadUpdateParams, type LeadListParams, type LeadListResponsesCursorPage, } from "./leads.js";
27
+ export { Leads, type Lead, type LeadListResponse, type LeadCreateParams, type LeadUpdateParams, type LeadListParams, type LeadListResponsesCursorPage, } from "./leads.js";
27
28
  export { LedgerAccounts, type LedgerAccountRetrieveResponse } from "./ledger-accounts.js";
28
29
  export { Members, type MemberRetrieveResponse, type MemberListResponse, type MemberListParams, type MemberListResponsesCursorPage, } from "./members.js";
29
- export { Memberships, type MembershipListResponse, type MembershipUpdateParams, type MembershipListParams, type MembershipCancelParams, type MembershipPauseParams, type MembershipListResponsesCursorPage, } from "./memberships.js";
30
+ export { Memberships, type CancelOptions, type MembershipListResponse, type MembershipUpdateParams, type MembershipListParams, type MembershipCancelParams, type MembershipPauseParams, type MembershipListResponsesCursorPage, } from "./memberships.js";
30
31
  export { Messages, type MessageListResponse, type MessageDeleteResponse, type MessageCreateParams, type MessageUpdateParams, type MessageListParams, type MessageListResponsesCursorPage, } from "./messages.js";
31
32
  export { Notifications, type NotificationCreateResponse, type NotificationCreateParams, } from "./notifications.js";
32
33
  export { PaymentMethods, type PaymentMethodRetrieveResponse, type PaymentMethodListResponse, type PaymentMethodRetrieveParams, type PaymentMethodListParams, type PaymentMethodListResponsesCursorPage, } from "./payment-methods.js";
33
34
  export { Payments, type BillingReasons, type CardBrands, type PaymentMethodTypes, type PaymentListResponse, type PaymentListFeesResponse, type PaymentCreateParams, type PaymentListParams, type PaymentListFeesParams, type PaymentRefundParams, type PaymentListResponsesCursorPage, type PaymentListFeesResponsesCursorPage, } from "./payments.js";
34
- export { PayoutMethods, type PayoutMethodRetrieveResponse, type PayoutMethodListResponse, type PayoutMethodListParams, type PayoutMethodListResponsesCursorPage, } from "./payout-methods.js";
35
+ export { PayoutMethods, type PayoutDestinationCategory, type PayoutMethodRetrieveResponse, type PayoutMethodListResponse, type PayoutMethodListParams, type PayoutMethodListResponsesCursorPage, } from "./payout-methods.js";
35
36
  export { Plans, type PlanListResponse, type PlanDeleteResponse, type PlanCreateParams, type PlanUpdateParams, type PlanListParams, type PlanListResponsesCursorPage, } from "./plans.js";
36
37
  export { Products, type ProductDeleteResponse, type ProductCreateParams, type ProductUpdateParams, type ProductListParams, } from "./products.js";
37
38
  export { PromoCodes, type PromoCode, type PromoCodeStatus, type PromoDuration, type PromoCodeListResponse, type PromoCodeDeleteResponse, type PromoCodeCreateParams, type PromoCodeListParams, type PromoCodeListResponsesCursorPage, } from "./promo-codes.js";
@@ -44,7 +45,7 @@ export { SupportChannels, type SupportChannelListResponse, type SupportChannelCr
44
45
  export { Topups, type TopupCreateResponse, type TopupCreateParams } from "./topups.js";
45
46
  export { Transfers, type TransferListResponse, type TransferCreateParams, type TransferListParams, type TransferListResponsesCursorPage, } from "./transfers.js";
46
47
  export { Users, type UserRetrieveResponse, type UserCheckAccessResponse, type UserCheckAccessParams, } from "./users.js";
47
- export { Verifications, type VerificationRetrieveResponse } from "./verifications.js";
48
- export { Webhooks, type WebhookCreateResponse, type WebhookRetrieveResponse, type WebhookUpdateResponse, type WebhookListResponse, type WebhookDeleteResponse, type InvoiceCreatedWebhookEvent, type InvoicePaidWebhookEvent, type InvoicePastDueWebhookEvent, type InvoiceVoidedWebhookEvent, type MembershipActivatedWebhookEvent, type MembershipDeactivatedWebhookEvent, type EntryCreatedWebhookEvent, type EntryApprovedWebhookEvent, type EntryDeniedWebhookEvent, type EntryDeletedWebhookEvent, type SetupIntentRequiresActionWebhookEvent, type SetupIntentSucceededWebhookEvent, type SetupIntentCanceledWebhookEvent, type WithdrawalCreatedWebhookEvent, type WithdrawalUpdatedWebhookEvent, type CourseLessonInteractionCompletedWebhookEvent, type PayoutMethodCreatedWebhookEvent, type VerificationSucceededWebhookEvent, type PaymentCreatedWebhookEvent, type PaymentSucceededWebhookEvent, type PaymentFailedWebhookEvent, type PaymentPendingWebhookEvent, type DisputeCreatedWebhookEvent, type DisputeUpdatedWebhookEvent, type RefundCreatedWebhookEvent, type RefundUpdatedWebhookEvent, type MembershipCancelAtPeriodEndChangedWebhookEvent, type UnwrapWebhookEvent, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, type WebhookListResponsesCursorPage, } from "./webhooks.js";
49
- export { Withdrawals, type WithdrawalFeeTypes, type WithdrawalSpeeds, type WithdrawalStatus, type WithdrawalCreateResponse, type WithdrawalRetrieveResponse, type WithdrawalListResponse, type WithdrawalCreateParams, type WithdrawalListParams, type WithdrawalListResponsesCursorPage, } from "./withdrawals.js";
48
+ export { Verifications, type VerificationErrorCode, type VerificationStatus, type VerificationRetrieveResponse, } from "./verifications.js";
49
+ export { Webhooks, type APIVersion, type Webhook, type WebhookEvent, type WebhookCreateResponse, type WebhookListResponse, type WebhookDeleteResponse, type InvoiceCreatedWebhookEvent, type InvoicePaidWebhookEvent, type InvoicePastDueWebhookEvent, type InvoiceVoidedWebhookEvent, type MembershipActivatedWebhookEvent, type MembershipDeactivatedWebhookEvent, type EntryCreatedWebhookEvent, type EntryApprovedWebhookEvent, type EntryDeniedWebhookEvent, type EntryDeletedWebhookEvent, type SetupIntentRequiresActionWebhookEvent, type SetupIntentSucceededWebhookEvent, type SetupIntentCanceledWebhookEvent, type WithdrawalCreatedWebhookEvent, type WithdrawalUpdatedWebhookEvent, type CourseLessonInteractionCompletedWebhookEvent, type PayoutMethodCreatedWebhookEvent, type VerificationSucceededWebhookEvent, type PaymentCreatedWebhookEvent, type PaymentSucceededWebhookEvent, type PaymentFailedWebhookEvent, type PaymentPendingWebhookEvent, type DisputeCreatedWebhookEvent, type DisputeUpdatedWebhookEvent, type RefundCreatedWebhookEvent, type RefundUpdatedWebhookEvent, type MembershipCancelAtPeriodEndChangedWebhookEvent, type UnwrapWebhookEvent, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, type WebhookListResponsesCursorPage, } from "./webhooks.js";
50
+ export { Withdrawals, type Withdrawal, type WithdrawalFeeTypes, type WithdrawalSpeeds, type WithdrawalStatus, type WithdrawalListResponse, type WithdrawalCreateParams, type WithdrawalListParams, type WithdrawalListResponsesCursorPage, } from "./withdrawals.js";
50
51
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACv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CAAgC,EACrC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,4CAA4C,EACjD,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,8CAA8C,EACnD,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,GACpC;OACM,EACL,WAAW,EACX,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,iCAAiC,GACvC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,6BAA6B,GACnC;OACM,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE;OAC9E,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE;OAC9E,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,GACrC;OACM,EACL,IAAI,EACJ,KAAK,OAAO,EACZ,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,0BAA0B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BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,8CAA8C,EACnD,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,GACpC;OACM,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,iCAAiC,GACvC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Withdrawals = exports.Webhooks = exports.Verifications = exports.Users = exports.Transfers = exports.Topups = exports.SupportChannels = exports.Shipments = exports.SetupIntents = exports.Reviews = exports.Refunds = exports.Reactions = exports.PromoCodes = exports.Products = exports.Plans = exports.PayoutMethods = exports.Payments = exports.PaymentMethods = exports.Notifications = exports.Messages = exports.Memberships = exports.Members = exports.LedgerAccounts = exports.Leads = exports.Invoices = exports.Forums = exports.ForumPosts = exports.Files = exports.FeeMarkups = exports.Experiences = exports.Entries = exports.DmMembers = exports.Disputes = exports.Courses = exports.CourseStudents = exports.CourseLessons = exports.CourseLessonInteractions = exports.CourseChapters = exports.CompanyTokenTransactions = exports.Companies = exports.CheckoutConfigurations = exports.ChatChannels = exports.AuthorizedUsers = exports.Apps = exports.AppBuilds = exports.AccountLinks = exports.AccessTokens = exports.AIChats = void 0;
4
+ exports.Withdrawals = exports.Webhooks = exports.Verifications = exports.Users = exports.Transfers = exports.Topups = exports.SupportChannels = exports.Shipments = exports.SetupIntents = exports.Reviews = exports.Refunds = exports.Reactions = exports.PromoCodes = exports.Products = exports.Plans = exports.PayoutMethods = exports.Payments = exports.PaymentMethods = exports.Notifications = exports.Messages = exports.Memberships = exports.Members = exports.LedgerAccounts = exports.Leads = exports.Invoices = exports.Forums = exports.ForumPosts = exports.Files = exports.FeeMarkups = exports.Experiences = exports.Entries = exports.DmMembers = exports.DmChannels = exports.Disputes = exports.Courses = exports.CourseStudents = exports.CourseLessons = exports.CourseLessonInteractions = exports.CourseChapters = exports.CompanyTokenTransactions = exports.Companies = exports.CheckoutConfigurations = exports.ChatChannels = exports.AuthorizedUsers = exports.Apps = exports.AppBuilds = exports.AccountLinks = exports.AccessTokens = exports.AIChats = void 0;
5
5
  const tslib_1 = require("../internal/tslib.js");
6
6
  tslib_1.__exportStar(require("./shared.js"), exports);
7
7
  var ai_chats_1 = require("./ai-chats.js");
@@ -36,6 +36,8 @@ var courses_1 = require("./courses.js");
36
36
  Object.defineProperty(exports, "Courses", { enumerable: true, get: function () { return courses_1.Courses; } });
37
37
  var disputes_1 = require("./disputes.js");
38
38
  Object.defineProperty(exports, "Disputes", { enumerable: true, get: function () { return disputes_1.Disputes; } });
39
+ var dm_channels_1 = require("./dm-channels.js");
40
+ Object.defineProperty(exports, "DmChannels", { enumerable: true, get: function () { return dm_channels_1.DmChannels; } });
39
41
  var dm_members_1 = require("./dm-members.js");
40
42
  Object.defineProperty(exports, "DmMembers", { enumerable: true, get: function () { return dm_members_1.DmMembers; } });
41
43
  var entries_1 = require("./entries.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,0CAWoB;AAVlB,mGAAA,OAAO,OAAA;AAWT,oDAA6G;AAApG,6GAAA,YAAY,OAAA;AACrB,oDAA6G;AAApG,6GAAA,YAAY,OAAA;AACrB,8CAMsB;AALpB,uGAAA,SAAS,OAAA;AAMX,kCAQgB;AAPd,4FAAA,IAAI,OAAA;AAQN,0DAM4B;AAL1B,mHAAA,eAAe,OAAA;AAMjB,oDAMyB;AALvB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aAAa,OAAA;AAKf,0CAwCoB;AAvClB,oGAAA,QAAQ,OAAA;AAwCV,gDAUuB;AATrB,0GAAA,WAAW,OAAA"}
@@ -16,11 +16,12 @@ export { CourseLessons, } from "./course-lessons.mjs";
16
16
  export { CourseStudents, } from "./course-students.mjs";
17
17
  export { Courses, } from "./courses.mjs";
18
18
  export { Disputes, } from "./disputes.mjs";
19
+ export { DmChannels, } from "./dm-channels.mjs";
19
20
  export { DmMembers, } from "./dm-members.mjs";
20
21
  export { Entries, } from "./entries.mjs";
21
22
  export { Experiences, } from "./experiences.mjs";
22
23
  export { FeeMarkups, } from "./fee-markups.mjs";
23
- export { Files } from "./files.mjs";
24
+ export { Files, } from "./files.mjs";
24
25
  export { ForumPosts, } from "./forum-posts.mjs";
25
26
  export { Forums, } from "./forums.mjs";
26
27
  export { Invoices, } from "./invoices.mjs";
@@ -45,7 +46,7 @@ export { SupportChannels, } from "./support-channels.mjs";
45
46
  export { Topups } from "./topups.mjs";
46
47
  export { Transfers, } from "./transfers.mjs";
47
48
  export { Users, } from "./users.mjs";
48
- export { Verifications } from "./verifications.mjs";
49
+ export { Verifications, } from "./verifications.mjs";
49
50
  export { Webhooks, } from "./webhooks.mjs";
50
51
  export { Withdrawals, } from "./withdrawals.mjs";
51
52
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,OAAO,GAUR;OACM,EAAE,YAAY,EAAgE;OAC9E,EAAE,YAAY,EAAgE;OAC9E,EACL,SAAS,GAKV;OACM,EACL,IAAI,GAOL;OACM,EACL,eAAe,GAKhB;OACM,EACL,YAAY,GAKb;OACM,EACL,sBAAsB,GAMvB;OACM,EACL,SAAS,GAMV;OACM,EACL,wBAAwB,GAOzB;OACM,EACL,cAAc,GAQf;OACM,EACL,wBAAwB,GAEzB;OACM,EACL,aAAa,GAgBd;OACM,EACL,cAAc,GAKf;OACM,EACL,OAAO,GAUR;OACM,EACL,QAAQ,GAOT;OACM,EACL,SAAS,GAUV;OACM,EACL,OAAO,GAKR;OACM,EACL,WAAW,GAUZ;OACM,EACL,UAAU,GAQX;OACM,EAAE,KAAK,EAA6E;OACpF,EACL,UAAU,GAOX;OACM,EACL,MAAM,GAKP;OACM,EACL,QAAQ,GAIT;OACM,EACL,KAAK,GASN;OACM,EAAE,cAAc,EAAsC;OACtD,EACL,OAAO,GAKR;OACM,EACL,WAAW,GAOZ;OACM,EACL,QAAQ,GAOT;OACM,EACL,aAAa,GAGd;OACM,EACL,cAAc,GAMf;OACM,EACL,QAAQ,GAYT;OACM,EACL,aAAa,GAKd;OACM,EACL,KAAK,GAON;OACM,EACL,QAAQ,GAKT;OACM,EACL,UAAU,GASX;OACM,EACL,SAAS,GAOV;OACM,EACL,OAAO,GASR;OACM,EACL,OAAO,GAMR;OACM,EACL,YAAY,GAMb;OACM,EACL,SAAS,GAKV;OACM,EACL,eAAe,GAKhB;OACM,EAAE,MAAM,EAAoD;OAC5D,EACL,SAAS,GAKV;OACM,EACL,KAAK,GAIN;OACM,EAAE,aAAa,EAAqC;OACpD,EACL,QAAQ,GAsCT;OACM,EACL,WAAW,GAUZ"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,OAAO,GAQR;OACM,EAAE,YAAY,EAAgE;OAC9E,EAAE,YAAY,EAAgE;OAC9E,EACL,SAAS,GAKV;OACM,EACL,IAAI,GAOL;OACM,EACL,eAAe,GAKhB;OACM,EACL,YAAY,GAKb;OACM,EACL,sBAAsB,GAMvB;OACM,EACL,SAAS,GAMV;OACM,EACL,wBAAwB,GAOzB;OACM,EACL,cAAc,GAQf;OACM,EACL,wBAAwB,GAEzB;OACM,EACL,aAAa,GAgBd;OACM,EACL,cAAc,GAKf;OACM,EACL,OAAO,GAUR;OACM,EACL,QAAQ,GAOT;OACM,EACL,UAAU,GAQX;OACM,EACL,SAAS,GAUV;OACM,EACL,OAAO,GAKR;OACM,EACL,WAAW,GAUZ;OACM,EACL,UAAU,GAQX;OACM,EACL,KAAK,GAKN;OACM,EACL,UAAU,GAOX;OACM,EACL,MAAM,GAKP;OACM,EACL,QAAQ,GAIT;OACM,EACL,KAAK,GAON;OACM,EAAE,cAAc,EAAsC;OACtD,EACL,OAAO,GAKR;OACM,EACL,WAAW,GAQZ;OACM,EACL,QAAQ,GAOT;OACM,EACL,aAAa,GAGd;OACM,EACL,cAAc,GAMf;OACM,EACL,QAAQ,GAYT;OACM,EACL,aAAa,GAMd;OACM,EACL,KAAK,GAON;OACM,EACL,QAAQ,GAKT;OACM,EACL,UAAU,GASX;OACM,EACL,SAAS,GAOV;OACM,EACL,OAAO,GASR;OACM,EACL,OAAO,GAMR;OACM,EACL,YAAY,GAMb;OACM,EACL,SAAS,GAKV;OACM,EACL,eAAe,GAKhB;OACM,EAAE,MAAM,EAAoD;OAC5D,EACL,SAAS,GAKV;OACM,EACL,KAAK,GAIN;OACM,EACL,aAAa,GAId;OACM,EACL,QAAQ,GAuCT;OACM,EACL,WAAW,GASZ"}
@@ -20,7 +20,7 @@ export declare class Leads extends APIResource {
20
20
  * });
21
21
  * ```
22
22
  */
23
- create(body: LeadCreateParams, options?: RequestOptions): APIPromise<LeadCreateResponse>;
23
+ create(body: LeadCreateParams, options?: RequestOptions): APIPromise<Lead>;
24
24
  /**
25
25
  * Retrieves a lead by ID
26
26
  *
@@ -38,7 +38,7 @@ export declare class Leads extends APIResource {
38
38
  * );
39
39
  * ```
40
40
  */
41
- retrieve(id: string, options?: RequestOptions): APIPromise<LeadRetrieveResponse>;
41
+ retrieve(id: string, options?: RequestOptions): APIPromise<Lead>;
42
42
  /**
43
43
  * Updates a lead
44
44
  *
@@ -56,7 +56,7 @@ export declare class Leads extends APIResource {
56
56
  * );
57
57
  * ```
58
58
  */
59
- update(id: string, body?: LeadUpdateParams | null | undefined, options?: RequestOptions): APIPromise<LeadUpdateResponse>;
59
+ update(id: string, body?: LeadUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Lead>;
60
60
  /**
61
61
  * Lists leads for a company
62
62
  *
@@ -83,7 +83,7 @@ export type LeadListResponsesCursorPage = CursorPage<LeadListResponse>;
83
83
  /**
84
84
  * An object representing a lead (someone who is interested in a whop).
85
85
  */
86
- export interface LeadCreateResponse {
86
+ export interface Lead {
87
87
  /**
88
88
  * The ID of the lead.
89
89
  */
@@ -95,7 +95,7 @@ export interface LeadCreateResponse {
95
95
  /**
96
96
  * The converted member, if any.
97
97
  */
98
- member: LeadCreateResponse.Member | null;
98
+ member: Lead.Member | null;
99
99
  /**
100
100
  * Custom metadata for the lead.
101
101
  */
@@ -105,7 +105,7 @@ export interface LeadCreateResponse {
105
105
  /**
106
106
  * The access pass the lead is interested in, if available.
107
107
  */
108
- product: LeadCreateResponse.Product | null;
108
+ product: Lead.Product | null;
109
109
  /**
110
110
  * The referrer URL that brought this lead.
111
111
  */
@@ -117,177 +117,9 @@ export interface LeadCreateResponse {
117
117
  /**
118
118
  * The user who is the lead.
119
119
  */
120
- user: LeadCreateResponse.User;
120
+ user: Lead.User;
121
121
  }
122
- export declare namespace LeadCreateResponse {
123
- /**
124
- * The converted member, if any.
125
- */
126
- interface Member {
127
- /**
128
- * The ID of the member
129
- */
130
- id: string;
131
- }
132
- /**
133
- * The access pass the lead is interested in, if available.
134
- */
135
- interface Product {
136
- /**
137
- * The internal ID of the public product.
138
- */
139
- id: string;
140
- /**
141
- * The title of the product. Use for Whop 4.0.
142
- */
143
- title: string;
144
- }
145
- /**
146
- * The user who is the lead.
147
- */
148
- interface User {
149
- /**
150
- * The internal ID of the user.
151
- */
152
- id: string;
153
- /**
154
- * The email of the user
155
- */
156
- email: string | null;
157
- /**
158
- * The name of the user from their Whop account.
159
- */
160
- name: string | null;
161
- /**
162
- * The username of the user from their Whop account.
163
- */
164
- username: string;
165
- }
166
- }
167
- /**
168
- * An object representing a lead (someone who is interested in a whop).
169
- */
170
- export interface LeadRetrieveResponse {
171
- /**
172
- * The ID of the lead.
173
- */
174
- id: string;
175
- /**
176
- * The timestamp of when the lead was created.
177
- */
178
- created_at: string;
179
- /**
180
- * The converted member, if any.
181
- */
182
- member: LeadRetrieveResponse.Member | null;
183
- /**
184
- * Custom metadata for the lead.
185
- */
186
- metadata: {
187
- [key: string]: unknown;
188
- } | null;
189
- /**
190
- * The access pass the lead is interested in, if available.
191
- */
192
- product: LeadRetrieveResponse.Product | null;
193
- /**
194
- * The referrer URL that brought this lead.
195
- */
196
- referrer: string | null;
197
- /**
198
- * The timestamp of when the lead was last updated.
199
- */
200
- updated_at: string;
201
- /**
202
- * The user who is the lead.
203
- */
204
- user: LeadRetrieveResponse.User;
205
- }
206
- export declare namespace LeadRetrieveResponse {
207
- /**
208
- * The converted member, if any.
209
- */
210
- interface Member {
211
- /**
212
- * The ID of the member
213
- */
214
- id: string;
215
- }
216
- /**
217
- * The access pass the lead is interested in, if available.
218
- */
219
- interface Product {
220
- /**
221
- * The internal ID of the public product.
222
- */
223
- id: string;
224
- /**
225
- * The title of the product. Use for Whop 4.0.
226
- */
227
- title: string;
228
- }
229
- /**
230
- * The user who is the lead.
231
- */
232
- interface User {
233
- /**
234
- * The internal ID of the user.
235
- */
236
- id: string;
237
- /**
238
- * The email of the user
239
- */
240
- email: string | null;
241
- /**
242
- * The name of the user from their Whop account.
243
- */
244
- name: string | null;
245
- /**
246
- * The username of the user from their Whop account.
247
- */
248
- username: string;
249
- }
250
- }
251
- /**
252
- * An object representing a lead (someone who is interested in a whop).
253
- */
254
- export interface LeadUpdateResponse {
255
- /**
256
- * The ID of the lead.
257
- */
258
- id: string;
259
- /**
260
- * The timestamp of when the lead was created.
261
- */
262
- created_at: string;
263
- /**
264
- * The converted member, if any.
265
- */
266
- member: LeadUpdateResponse.Member | null;
267
- /**
268
- * Custom metadata for the lead.
269
- */
270
- metadata: {
271
- [key: string]: unknown;
272
- } | null;
273
- /**
274
- * The access pass the lead is interested in, if available.
275
- */
276
- product: LeadUpdateResponse.Product | null;
277
- /**
278
- * The referrer URL that brought this lead.
279
- */
280
- referrer: string | null;
281
- /**
282
- * The timestamp of when the lead was last updated.
283
- */
284
- updated_at: string;
285
- /**
286
- * The user who is the lead.
287
- */
288
- user: LeadUpdateResponse.User;
289
- }
290
- export declare namespace LeadUpdateResponse {
122
+ export declare namespace Lead {
291
123
  /**
292
124
  * The converted member, if any.
293
125
  */
@@ -484,6 +316,6 @@ export interface LeadListParams extends CursorPageParams {
484
316
  product_ids?: Array<string> | null;
485
317
  }
486
318
  export declare namespace Leads {
487
- export { type LeadCreateResponse as LeadCreateResponse, type LeadRetrieveResponse as LeadRetrieveResponse, type LeadUpdateResponse as LeadUpdateResponse, type LeadListResponse as LeadListResponse, type LeadListResponsesCursorPage as LeadListResponsesCursorPage, type LeadCreateParams as LeadCreateParams, type LeadUpdateParams as LeadUpdateParams, type LeadListParams as LeadListParams, };
319
+ export { type Lead as Lead, type LeadListResponse as LeadListResponse, type LeadListResponsesCursorPage as LeadListResponsesCursorPage, type LeadCreateParams as LeadCreateParams, type LeadUpdateParams as LeadUpdateParams, type LeadListParams as LeadListParams, };
488
320
  }
489
321
  //# sourceMappingURL=leads.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"leads.d.mts","sourceRoot":"","sources":["../src/resources/leads.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,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIxF;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OA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