@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
@@ -0,0 +1,83 @@
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
+ export class DmChannels extends APIResource {
6
+ /**
7
+ * Creates a DM channel
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const dmChannel = await client.dmChannels.create({
12
+ * with_user_ids: ['string'],
13
+ * });
14
+ * ```
15
+ */
16
+ create(body, options) {
17
+ return this._client.post('/dm_channels', { body, ...options });
18
+ }
19
+ /**
20
+ * Retrieves a DM channel
21
+ *
22
+ * Required permissions:
23
+ *
24
+ * - `dms:read`
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const dmChannel = await client.dmChannels.retrieve('id');
29
+ * ```
30
+ */
31
+ retrieve(id, options) {
32
+ return this._client.get(path `/dm_channels/${id}`, options);
33
+ }
34
+ /**
35
+ * Updates a DM channel
36
+ *
37
+ * Required permissions:
38
+ *
39
+ * - `dms:channel:manage`
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * const dmChannel = await client.dmChannels.update('id');
44
+ * ```
45
+ */
46
+ update(id, body = {}, options) {
47
+ return this._client.patch(path `/dm_channels/${id}`, { body, ...options });
48
+ }
49
+ /**
50
+ * Lists DM channels for the current user
51
+ *
52
+ * Required permissions:
53
+ *
54
+ * - `dms:read`
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * // Automatically fetches more pages as needed.
59
+ * for await (const dmChannelListResponse of client.dmChannels.list()) {
60
+ * // ...
61
+ * }
62
+ * ```
63
+ */
64
+ list(query = {}, options) {
65
+ return this._client.getAPIList('/dm_channels', (CursorPage), { query, ...options });
66
+ }
67
+ /**
68
+ * Deletes a DM channel
69
+ *
70
+ * Required permissions:
71
+ *
72
+ * - `dms:channel:manage`
73
+ *
74
+ * @example
75
+ * ```ts
76
+ * const dmChannel = await client.dmChannels.delete('id');
77
+ * ```
78
+ */
79
+ delete(id, options) {
80
+ return this._client.delete(path `/dm_channels/${id}`, options);
81
+ }
82
+ }
83
+ //# sourceMappingURL=dm-channels.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dm-channels.mjs","sourceRoot":"","sources":["../src/resources/dm-channels.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,EAAU,EACV,OAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,gBAAgB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,CAAA,UAAiC,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,gBAAgB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;CACF"}
@@ -18,7 +18,7 @@ export declare class DmMembers extends APIResource {
18
18
  * });
19
19
  * ```
20
20
  */
21
- create(body: DmMemberCreateParams, options?: RequestOptions): APIPromise<DmMemberCreateResponse>;
21
+ create(body: DmMemberCreateParams, options?: RequestOptions): APIPromise<DmMember>;
22
22
  /**
23
23
  * Retrieves a DM channel member
24
24
  *
@@ -31,7 +31,7 @@ export declare class DmMembers extends APIResource {
31
31
  * const dmMember = await client.dmMembers.retrieve('id');
32
32
  * ```
33
33
  */
34
- retrieve(id: string, options?: RequestOptions): APIPromise<DmMemberRetrieveResponse>;
34
+ retrieve(id: string, options?: RequestOptions): APIPromise<DmMember>;
35
35
  /**
36
36
  * Updates a DM channel member's settings
37
37
  *
@@ -44,7 +44,7 @@ export declare class DmMembers extends APIResource {
44
44
  * const dmMember = await client.dmMembers.update('id');
45
45
  * ```
46
46
  */
47
- update(id: string, body?: DmMemberUpdateParams | null | undefined, options?: RequestOptions): APIPromise<DmMemberUpdateResponse>;
47
+ update(id: string, body?: DmMemberUpdateParams | null | undefined, options?: RequestOptions): APIPromise<DmMember>;
48
48
  /**
49
49
  * Lists members of a DM channel
50
50
  *
@@ -79,69 +79,17 @@ export declare class DmMembers extends APIResource {
79
79
  }
80
80
  export type DmMemberListResponsesCursorPage = CursorPage<DmMemberListResponse>;
81
81
  /**
82
- * Represents a member of a DM channel
82
+ * The notification preferences for a DMs feed member
83
83
  */
84
- export interface DmMemberCreateResponse {
85
- /**
86
- * The unique identifier for the entity
87
- */
88
- id: string;
89
- /**
90
- * The ID of the DM channel
91
- */
92
- channel_id: string;
93
- /**
94
- * Timestamp when the member last viewed the channel (in milliseconds since Unix
95
- * epoch)
96
- */
97
- last_viewed_at: string | null;
98
- /**
99
- * The notification preference for this member (all, mentions, none)
100
- */
101
- notification_preference: 'all' | 'mentions' | 'none';
102
- /**
103
- * The status of the membership (requested, accepted, rejected)
104
- */
105
- status: 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived';
106
- /**
107
- * The ID of the user who is a member of the channel
108
- */
109
- user_id: string;
110
- }
84
+ export type DmFeedMemberNotificationPreferences = 'all' | 'mentions' | 'none';
111
85
  /**
112
- * Represents a member of a DM channel
86
+ * The statuses of a DMs feed member
113
87
  */
114
- export interface DmMemberRetrieveResponse {
115
- /**
116
- * The unique identifier for the entity
117
- */
118
- id: string;
119
- /**
120
- * The ID of the DM channel
121
- */
122
- channel_id: string;
123
- /**
124
- * Timestamp when the member last viewed the channel (in milliseconds since Unix
125
- * epoch)
126
- */
127
- last_viewed_at: string | null;
128
- /**
129
- * The notification preference for this member (all, mentions, none)
130
- */
131
- notification_preference: 'all' | 'mentions' | 'none';
132
- /**
133
- * The status of the membership (requested, accepted, rejected)
134
- */
135
- status: 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived';
136
- /**
137
- * The ID of the user who is a member of the channel
138
- */
139
- user_id: string;
140
- }
88
+ export type DmFeedMemberStatuses = 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived';
141
89
  /**
142
90
  * Represents a member of a DM channel
143
91
  */
144
- export interface DmMemberUpdateResponse {
92
+ export interface DmMember {
145
93
  /**
146
94
  * The unique identifier for the entity
147
95
  */
@@ -158,11 +106,11 @@ export interface DmMemberUpdateResponse {
158
106
  /**
159
107
  * The notification preference for this member (all, mentions, none)
160
108
  */
161
- notification_preference: 'all' | 'mentions' | 'none';
109
+ notification_preference: DmFeedMemberNotificationPreferences;
162
110
  /**
163
111
  * The status of the membership (requested, accepted, rejected)
164
112
  */
165
- status: 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived';
113
+ status: DmFeedMemberStatuses;
166
114
  /**
167
115
  * The ID of the user who is a member of the channel
168
116
  */
@@ -188,7 +136,7 @@ export interface DmMemberListResponse {
188
136
  /**
189
137
  * The status of the membership (requested, accepted, rejected)
190
138
  */
191
- status: 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived';
139
+ status: DmFeedMemberStatuses;
192
140
  /**
193
141
  * The ID of the user who is a member of the channel
194
142
  */
@@ -212,11 +160,11 @@ export interface DmMemberUpdateParams {
212
160
  /**
213
161
  * The notification preferences for a DMs feed member
214
162
  */
215
- notification_preference?: 'all' | 'mentions' | 'none' | null;
163
+ notification_preference?: DmFeedMemberNotificationPreferences | null;
216
164
  /**
217
165
  * The statuses of a DMs feed member
218
166
  */
219
- status?: 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived' | null;
167
+ status?: DmFeedMemberStatuses | null;
220
168
  }
221
169
  export interface DmMemberListParams extends CursorPageParams {
222
170
  /**
@@ -237,6 +185,6 @@ export interface DmMemberListParams extends CursorPageParams {
237
185
  last?: number | null;
238
186
  }
239
187
  export declare namespace DmMembers {
240
- export { type DmMemberCreateResponse as DmMemberCreateResponse, type DmMemberRetrieveResponse as DmMemberRetrieveResponse, type DmMemberUpdateResponse as DmMemberUpdateResponse, type DmMemberListResponse as DmMemberListResponse, type DmMemberDeleteResponse as DmMemberDeleteResponse, type DmMemberListResponsesCursorPage as DmMemberListResponsesCursorPage, type DmMemberCreateParams as DmMemberCreateParams, type DmMemberUpdateParams as DmMemberUpdateParams, type DmMemberListParams as DmMemberListParams, };
188
+ export { type DmFeedMemberNotificationPreferences as DmFeedMemberNotificationPreferences, type DmFeedMemberStatuses as DmFeedMemberStatuses, type DmMember as DmMember, type DmMemberListResponse as DmMemberListResponse, type DmMemberDeleteResponse as DmMemberDeleteResponse, type DmMemberListResponsesCursorPage as DmMemberListResponsesCursorPage, type DmMemberCreateParams as DmMemberCreateParams, type DmMemberUpdateParams as DmMemberUpdateParams, type DmMemberListParams as DmMemberListParams, };
241
189
  }
242
190
  //# sourceMappingURL=dm-members.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dm-members.d.mts","sourceRoot":"","sources":["../src/resources/dm-members.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAA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,CAAC;CACH"}
@@ -18,7 +18,7 @@ export declare class DmMembers extends APIResource {
18
18
  * });
19
19
  * ```
20
20
  */
21
- create(body: DmMemberCreateParams, options?: RequestOptions): APIPromise<DmMemberCreateResponse>;
21
+ create(body: DmMemberCreateParams, options?: RequestOptions): APIPromise<DmMember>;
22
22
  /**
23
23
  * Retrieves a DM channel member
24
24
  *
@@ -31,7 +31,7 @@ export declare class DmMembers extends APIResource {
31
31
  * const dmMember = await client.dmMembers.retrieve('id');
32
32
  * ```
33
33
  */
34
- retrieve(id: string, options?: RequestOptions): APIPromise<DmMemberRetrieveResponse>;
34
+ retrieve(id: string, options?: RequestOptions): APIPromise<DmMember>;
35
35
  /**
36
36
  * Updates a DM channel member's settings
37
37
  *
@@ -44,7 +44,7 @@ export declare class DmMembers extends APIResource {
44
44
  * const dmMember = await client.dmMembers.update('id');
45
45
  * ```
46
46
  */
47
- update(id: string, body?: DmMemberUpdateParams | null | undefined, options?: RequestOptions): APIPromise<DmMemberUpdateResponse>;
47
+ update(id: string, body?: DmMemberUpdateParams | null | undefined, options?: RequestOptions): APIPromise<DmMember>;
48
48
  /**
49
49
  * Lists members of a DM channel
50
50
  *
@@ -79,69 +79,17 @@ export declare class DmMembers extends APIResource {
79
79
  }
80
80
  export type DmMemberListResponsesCursorPage = CursorPage<DmMemberListResponse>;
81
81
  /**
82
- * Represents a member of a DM channel
82
+ * The notification preferences for a DMs feed member
83
83
  */
84
- export interface DmMemberCreateResponse {
85
- /**
86
- * The unique identifier for the entity
87
- */
88
- id: string;
89
- /**
90
- * The ID of the DM channel
91
- */
92
- channel_id: string;
93
- /**
94
- * Timestamp when the member last viewed the channel (in milliseconds since Unix
95
- * epoch)
96
- */
97
- last_viewed_at: string | null;
98
- /**
99
- * The notification preference for this member (all, mentions, none)
100
- */
101
- notification_preference: 'all' | 'mentions' | 'none';
102
- /**
103
- * The status of the membership (requested, accepted, rejected)
104
- */
105
- status: 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived';
106
- /**
107
- * The ID of the user who is a member of the channel
108
- */
109
- user_id: string;
110
- }
84
+ export type DmFeedMemberNotificationPreferences = 'all' | 'mentions' | 'none';
111
85
  /**
112
- * Represents a member of a DM channel
86
+ * The statuses of a DMs feed member
113
87
  */
114
- export interface DmMemberRetrieveResponse {
115
- /**
116
- * The unique identifier for the entity
117
- */
118
- id: string;
119
- /**
120
- * The ID of the DM channel
121
- */
122
- channel_id: string;
123
- /**
124
- * Timestamp when the member last viewed the channel (in milliseconds since Unix
125
- * epoch)
126
- */
127
- last_viewed_at: string | null;
128
- /**
129
- * The notification preference for this member (all, mentions, none)
130
- */
131
- notification_preference: 'all' | 'mentions' | 'none';
132
- /**
133
- * The status of the membership (requested, accepted, rejected)
134
- */
135
- status: 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived';
136
- /**
137
- * The ID of the user who is a member of the channel
138
- */
139
- user_id: string;
140
- }
88
+ export type DmFeedMemberStatuses = 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived';
141
89
  /**
142
90
  * Represents a member of a DM channel
143
91
  */
144
- export interface DmMemberUpdateResponse {
92
+ export interface DmMember {
145
93
  /**
146
94
  * The unique identifier for the entity
147
95
  */
@@ -158,11 +106,11 @@ export interface DmMemberUpdateResponse {
158
106
  /**
159
107
  * The notification preference for this member (all, mentions, none)
160
108
  */
161
- notification_preference: 'all' | 'mentions' | 'none';
109
+ notification_preference: DmFeedMemberNotificationPreferences;
162
110
  /**
163
111
  * The status of the membership (requested, accepted, rejected)
164
112
  */
165
- status: 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived';
113
+ status: DmFeedMemberStatuses;
166
114
  /**
167
115
  * The ID of the user who is a member of the channel
168
116
  */
@@ -188,7 +136,7 @@ export interface DmMemberListResponse {
188
136
  /**
189
137
  * The status of the membership (requested, accepted, rejected)
190
138
  */
191
- status: 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived';
139
+ status: DmFeedMemberStatuses;
192
140
  /**
193
141
  * The ID of the user who is a member of the channel
194
142
  */
@@ -212,11 +160,11 @@ export interface DmMemberUpdateParams {
212
160
  /**
213
161
  * The notification preferences for a DMs feed member
214
162
  */
215
- notification_preference?: 'all' | 'mentions' | 'none' | null;
163
+ notification_preference?: DmFeedMemberNotificationPreferences | null;
216
164
  /**
217
165
  * The statuses of a DMs feed member
218
166
  */
219
- status?: 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived' | null;
167
+ status?: DmFeedMemberStatuses | null;
220
168
  }
221
169
  export interface DmMemberListParams extends CursorPageParams {
222
170
  /**
@@ -237,6 +185,6 @@ export interface DmMemberListParams extends CursorPageParams {
237
185
  last?: number | null;
238
186
  }
239
187
  export declare namespace DmMembers {
240
- export { type DmMemberCreateResponse as DmMemberCreateResponse, type DmMemberRetrieveResponse as DmMemberRetrieveResponse, type DmMemberUpdateResponse as DmMemberUpdateResponse, type DmMemberListResponse as DmMemberListResponse, type DmMemberDeleteResponse as DmMemberDeleteResponse, type DmMemberListResponsesCursorPage as DmMemberListResponsesCursorPage, type DmMemberCreateParams as DmMemberCreateParams, type DmMemberUpdateParams as DmMemberUpdateParams, type DmMemberListParams as DmMemberListParams, };
188
+ export { type DmFeedMemberNotificationPreferences as DmFeedMemberNotificationPreferences, type DmFeedMemberStatuses as DmFeedMemberStatuses, type DmMember as DmMember, type DmMemberListResponse as DmMemberListResponse, type DmMemberDeleteResponse as DmMemberDeleteResponse, type DmMemberListResponsesCursorPage as DmMemberListResponsesCursorPage, type DmMemberCreateParams as DmMemberCreateParams, type DmMemberUpdateParams as DmMemberUpdateParams, type DmMemberListParams as DmMemberListParams, };
241
189
  }
242
190
  //# sourceMappingURL=dm-members.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dm-members.d.ts","sourceRoot":"","sources":["../src/resources/dm-members.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,E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 @@ export declare class Files extends APIResource {
18
18
  */
19
19
  upload(file: Uploadable | ToFileInput, options?: FileUploadOptions): Promise<FileRetrieveResponse>;
20
20
  }
21
+ /**
22
+ * The upload status of a file
23
+ */
24
+ export type UploadStatus = 'pending' | 'processing' | 'ready' | 'failed';
21
25
  /**
22
26
  * A file that has been uploaded or is pending upload
23
27
  */
@@ -47,7 +51,7 @@ export interface FileCreateResponse {
47
51
  /**
48
52
  * The upload status of the file
49
53
  */
50
- upload_status: 'pending' | 'processing' | 'ready' | 'failed';
54
+ upload_status: UploadStatus;
51
55
  /**
52
56
  * The presigned URL to upload the file to (only on create)
53
57
  */
@@ -80,7 +84,7 @@ export interface FileRetrieveResponse {
80
84
  /**
81
85
  * The upload status of the file
82
86
  */
83
- upload_status: 'pending' | 'processing' | 'ready' | 'failed';
87
+ upload_status: UploadStatus;
84
88
  /**
85
89
  * The URL to access the file
86
90
  */
@@ -99,6 +103,6 @@ export interface FileUploadOptions extends RequestOptions {
99
103
  filename?: string | null | undefined;
100
104
  }
101
105
  export declare namespace Files {
102
- export { type FileCreateResponse as FileCreateResponse, type FileRetrieveResponse as FileRetrieveResponse, type FileCreateParams as FileCreateParams, type FileUploadOptions as FileUploadOptions, };
106
+ export { type UploadStatus as UploadStatus, type FileCreateResponse as FileCreateResponse, type FileRetrieveResponse as FileRetrieveResponse, type FileCreateParams as FileCreateParams, type FileUploadOptions as FileUploadOptions, };
103
107
  }
104
108
  //# sourceMappingURL=files.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.mts","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;OAElB,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE;AAGvC,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,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I,CAAC;IAExB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,cAAc,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IAElD;;OAEG;IACH,aAAa,EAAE,YAAY,CAAC;IAE5B;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,aAAa,EAAE,YAAY,CAAC;IAE5B;;OAEG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -18,6 +18,10 @@ export declare class Files extends APIResource {
18
18
  */
19
19
  upload(file: Uploadable | ToFileInput, options?: FileUploadOptions): Promise<FileRetrieveResponse>;
20
20
  }
21
+ /**
22
+ * The upload status of a file
23
+ */
24
+ export type UploadStatus = 'pending' | 'processing' | 'ready' | 'failed';
21
25
  /**
22
26
  * A file that has been uploaded or is pending upload
23
27
  */
@@ -47,7 +51,7 @@ export interface FileCreateResponse {
47
51
  /**
48
52
  * The upload status of the file
49
53
  */
50
- upload_status: 'pending' | 'processing' | 'ready' | 'failed';
54
+ upload_status: UploadStatus;
51
55
  /**
52
56
  * The presigned URL to upload the file to (only on create)
53
57
  */
@@ -80,7 +84,7 @@ export interface FileRetrieveResponse {
80
84
  /**
81
85
  * The upload status of the file
82
86
  */
83
- upload_status: 'pending' | 'processing' | 'ready' | 'failed';
87
+ upload_status: UploadStatus;
84
88
  /**
85
89
  * The URL to access the file
86
90
  */
@@ -99,6 +103,6 @@ export interface FileUploadOptions extends RequestOptions {
99
103
  filename?: string | null | undefined;
100
104
  }
101
105
  export declare namespace Files {
102
- export { type FileCreateResponse as FileCreateResponse, type FileRetrieveResponse as FileRetrieveResponse, type FileCreateParams as FileCreateParams, type FileUploadOptions as FileUploadOptions, };
106
+ export { type UploadStatus as UploadStatus, type FileCreateResponse as FileCreateResponse, type FileRetrieveResponse as FileRetrieveResponse, type FileCreateParams as FileCreateParams, type FileUploadOptions as FileUploadOptions, };
103
107
  }
104
108
  //# sourceMappingURL=files.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;OAElB,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE;AAGvC,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIxF;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc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GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IAElD;;OAEG;IACH,aAAa,EAAE,YAAY,CAAC;IAE5B;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,aAAa,EAAE,YAAY,CAAC;IAE5B;;OAEG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -1,5 +1,5 @@
1
1
  export * from "./shared.mjs";
2
- export { AIChats, type AIChatCreateResponse, type AIChatRetrieveResponse, type AIChatUpdateResponse, type AIChatListResponse, type AIChatDeleteResponse, type AIChatCreateParams, type AIChatUpdateParams, type AIChatListParams, type AIChatListResponsesCursorPage, } from "./ai-chats.mjs";
2
+ export { AIChats, type AIChat, type AIChatListResponse, type AIChatDeleteResponse, type AIChatCreateParams, type AIChatUpdateParams, type AIChatListParams, type AIChatListResponsesCursorPage, } from "./ai-chats.mjs";
3
3
  export { AccessTokens, type AccessTokenCreateResponse, type AccessTokenCreateParams } from "./access-tokens.mjs";
4
4
  export { AccountLinks, type AccountLinkCreateResponse, type AccountLinkCreateParams } from "./account-links.mjs";
5
5
  export { AppBuilds, type AppBuildListResponse, type AppBuildCreateParams, type AppBuildListParams, type AppBuildListResponsesCursorPage, } from "./app-builds.mjs";
@@ -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.mjs";
9
9
  export { CheckoutConfigurations, type CheckoutModes, type CheckoutConfigurationListResponse, type CheckoutConfigurationCreateParams, type CheckoutConfigurationListParams, type CheckoutConfigurationListResponsesCursorPage, } from "./checkout-configurations.mjs";
10
10
  export { Companies, type CompanyListResponse, type CompanyCreateParams, type CompanyUpdateParams, type CompanyListParams, type CompanyListResponsesCursorPage, } from "./companies.mjs";
11
- export { CompanyTokenTransactions, type CompanyTokenTransactionCreateResponse, type CompanyTokenTransactionRetrieveResponse, type CompanyTokenTransactionListResponse, type CompanyTokenTransactionCreateParams, type CompanyTokenTransactionListParams, type CompanyTokenTransactionListResponsesCursorPage, } from "./company-token-transactions.mjs";
11
+ export { CompanyTokenTransactions, type BotTokenTransactionTypes, type CompanyTokenTransaction, type CompanyTokenTransactionListResponse, type CompanyTokenTransactionCreateParams, type CompanyTokenTransactionListParams, type CompanyTokenTransactionListResponsesCursorPage, } from "./company-token-transactions.mjs";
12
12
  export { CourseChapters, type CourseChapter, type CourseChapterListResponse, type CourseChapterDeleteResponse, type CourseChapterCreateParams, type CourseChapterUpdateParams, type CourseChapterListParams, type CourseChapterListResponsesCursorPage, } from "./course-chapters.mjs";
13
13
  export { CourseLessonInteractions, type CourseLessonInteractionListParams, } from "./course-lesson-interactions.mjs";
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.mjs";
15
15
  export { CourseStudents, type CourseStudentRetrieveResponse, type CourseStudentListResponse, type CourseStudentListParams, type CourseStudentListResponsesCursorPage, } from "./course-students.mjs";
16
16
  export { Courses, type Course, type CourseVisibilities, type Languages, type CourseListResponse, type CourseDeleteResponse, type CourseCreateParams, type CourseUpdateParams, type CourseListParams, type CourseListResponsesCursorPage, } from "./courses.mjs";
17
17
  export { Disputes, type Dispute, type DisputeStatuses, type DisputeListResponse, type DisputeListParams, type DisputeUpdateEvidenceParams, type DisputeListResponsesCursorPage, } from "./disputes.mjs";
18
- export { DmMembers, type DmMemberCreateResponse, type DmMemberRetrieveResponse, type DmMemberUpdateResponse, type DmMemberListResponse, type DmMemberDeleteResponse, type DmMemberCreateParams, type DmMemberUpdateParams, type DmMemberListParams, type DmMemberListResponsesCursorPage, } from "./dm-members.mjs";
18
+ export { DmChannels, type DmChannel, type DmChannelListResponse, type DmChannelDeleteResponse, type DmChannelCreateParams, type DmChannelUpdateParams, type DmChannelListParams, type DmChannelListResponsesCursorPage, } from "./dm-channels.mjs";
19
+ export { DmMembers, type DmFeedMemberNotificationPreferences, type DmFeedMemberStatuses, type DmMember, type DmMemberListResponse, type DmMemberDeleteResponse, type DmMemberCreateParams, type DmMemberUpdateParams, type DmMemberListParams, type DmMemberListResponsesCursorPage, } from "./dm-members.mjs";
19
20
  export { Entries, type EntryListResponse, type EntryApproveResponse, type EntryListParams, type EntryListResponsesCursorPage, } from "./entries.mjs";
20
21
  export { Experiences, type ExperienceListResponse, type ExperienceDeleteResponse, type ExperienceCreateParams, type ExperienceUpdateParams, type ExperienceListParams, type ExperienceAttachParams, type ExperienceDetachParams, type ExperienceDuplicateParams, type ExperienceListResponsesCursorPage, } from "./experiences.mjs";
21
22
  export { FeeMarkups, type FeeMarkupType, type FeeMarkupCreateResponse, type FeeMarkupListResponse, type FeeMarkupDeleteResponse, type FeeMarkupCreateParams, type FeeMarkupListParams, type FeeMarkupListResponsesCursorPage, } from "./fee-markups.mjs";
22
- export { Files, type FileCreateResponse, type FileRetrieveResponse, type FileCreateParams } from "./files.mjs";
23
+ export { Files, type UploadStatus, type FileCreateResponse, type FileRetrieveResponse, type FileCreateParams, } from "./files.mjs";
23
24
  export { ForumPosts, type ForumPostVisibilityType, type ForumPostListResponse, type ForumPostCreateParams, type ForumPostUpdateParams, type ForumPostListParams, type ForumPostListResponsesCursorPage, } from "./forum-posts.mjs";
24
25
  export { Forums, type ForumListResponse, type ForumUpdateParams, type ForumListParams, type ForumListResponsesCursorPage, } from "./forums.mjs";
25
26
  export { Invoices, type InvoiceVoidResponse, type InvoiceCreateParams, type InvoiceListParams, } from "./invoices.mjs";
26
- export { Leads, type LeadCreateResponse, type LeadRetrieveResponse, type LeadUpdateResponse, type LeadListResponse, type LeadCreateParams, type LeadUpdateParams, type LeadListParams, type LeadListResponsesCursorPage, } from "./leads.mjs";
27
+ export { Leads, type Lead, type LeadListResponse, type LeadCreateParams, type LeadUpdateParams, type LeadListParams, type LeadListResponsesCursorPage, } from "./leads.mjs";
27
28
  export { LedgerAccounts, type LedgerAccountRetrieveResponse } from "./ledger-accounts.mjs";
28
29
  export { Members, type MemberRetrieveResponse, type MemberListResponse, type MemberListParams, type MemberListResponsesCursorPage, } from "./members.mjs";
29
- export { Memberships, type MembershipListResponse, type MembershipUpdateParams, type MembershipListParams, type MembershipCancelParams, type MembershipPauseParams, type MembershipListResponsesCursorPage, } from "./memberships.mjs";
30
+ export { Memberships, type CancelOptions, type MembershipListResponse, type MembershipUpdateParams, type MembershipListParams, type MembershipCancelParams, type MembershipPauseParams, type MembershipListResponsesCursorPage, } from "./memberships.mjs";
30
31
  export { Messages, type MessageListResponse, type MessageDeleteResponse, type MessageCreateParams, type MessageUpdateParams, type MessageListParams, type MessageListResponsesCursorPage, } from "./messages.mjs";
31
32
  export { Notifications, type NotificationCreateResponse, type NotificationCreateParams, } from "./notifications.mjs";
32
33
  export { PaymentMethods, type PaymentMethodRetrieveResponse, type PaymentMethodListResponse, type PaymentMethodRetrieveParams, type PaymentMethodListParams, type PaymentMethodListResponsesCursorPage, } from "./payment-methods.mjs";
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.mjs";
34
- export { PayoutMethods, type PayoutMethodRetrieveResponse, type PayoutMethodListResponse, type PayoutMethodListParams, type PayoutMethodListResponsesCursorPage, } from "./payout-methods.mjs";
35
+ export { PayoutMethods, type PayoutDestinationCategory, type PayoutMethodRetrieveResponse, type PayoutMethodListResponse, type PayoutMethodListParams, type PayoutMethodListResponsesCursorPage, } from "./payout-methods.mjs";
35
36
  export { Plans, type PlanListResponse, type PlanDeleteResponse, type PlanCreateParams, type PlanUpdateParams, type PlanListParams, type PlanListResponsesCursorPage, } from "./plans.mjs";
36
37
  export { Products, type ProductDeleteResponse, type ProductCreateParams, type ProductUpdateParams, type ProductListParams, } from "./products.mjs";
37
38
  export { PromoCodes, type PromoCode, type PromoCodeStatus, type PromoDuration, type PromoCodeListResponse, type PromoCodeDeleteResponse, type PromoCodeCreateParams, type PromoCodeListParams, type PromoCodeListResponsesCursorPage, } from "./promo-codes.mjs";
@@ -44,7 +45,7 @@ export { SupportChannels, type SupportChannelListResponse, type SupportChannelCr
44
45
  export { Topups, type TopupCreateResponse, type TopupCreateParams } from "./topups.mjs";
45
46
  export { Transfers, type TransferListResponse, type TransferCreateParams, type TransferListParams, type TransferListResponsesCursorPage, } from "./transfers.mjs";
46
47
  export { Users, type UserRetrieveResponse, type UserCheckAccessResponse, type UserCheckAccessParams, } from "./users.mjs";
47
- export { Verifications, type VerificationRetrieveResponse } from "./verifications.mjs";
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.mjs";
49
- export { Withdrawals, type WithdrawalFeeTypes, type WithdrawalSpeeds, type WithdrawalStatus, type WithdrawalCreateResponse, type WithdrawalRetrieveResponse, type WithdrawalListResponse, type WithdrawalCreateParams, type WithdrawalListParams, type WithdrawalListResponsesCursorPage, } from "./withdrawals.mjs";
48
+ export { Verifications, type VerificationErrorCode, type VerificationStatus, type VerificationRetrieveResponse, } from "./verifications.mjs";
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.mjs";
50
+ export { Withdrawals, type Withdrawal, type WithdrawalFeeTypes, type WithdrawalSpeeds, type WithdrawalStatus, type WithdrawalListResponse, type WithdrawalCreateParams, type WithdrawalListParams, type WithdrawalListResponsesCursorPage, } from "./withdrawals.mjs";
50
51
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","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,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,6BAA6B,GACnC;OACM,EAAE,YAAY,EAAE,KA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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.mts","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,GAChC;OACM,EACL,eAAe,EACf,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7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