@whop/sdk 0.0.24 → 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 (181) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/README.md +2 -2
  3. package/client.d.mts +30 -18
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +30 -18
  6. package/client.d.ts.map +1 -1
  7. package/client.js +15 -2
  8. package/client.js.map +1 -1
  9. package/client.mjs +17 -4
  10. package/client.mjs.map +1 -1
  11. package/internal/parse.d.mts.map +1 -1
  12. package/internal/parse.d.ts.map +1 -1
  13. package/internal/parse.js +5 -0
  14. package/internal/parse.js.map +1 -1
  15. package/internal/parse.mjs +5 -0
  16. package/internal/parse.mjs.map +1 -1
  17. package/package.json +1 -1
  18. package/resources/ai-chats.d.mts +169 -0
  19. package/resources/ai-chats.d.mts.map +1 -0
  20. package/resources/ai-chats.d.ts +169 -0
  21. package/resources/ai-chats.d.ts.map +1 -0
  22. package/resources/ai-chats.js +53 -0
  23. package/resources/ai-chats.js.map +1 -0
  24. package/resources/ai-chats.mjs +49 -0
  25. package/resources/ai-chats.mjs.map +1 -0
  26. package/resources/apps.d.mts +1 -1
  27. package/resources/apps.d.mts.map +1 -1
  28. package/resources/apps.d.ts +1 -1
  29. package/resources/apps.d.ts.map +1 -1
  30. package/resources/authorized-users.d.mts +39 -5
  31. package/resources/authorized-users.d.mts.map +1 -1
  32. package/resources/authorized-users.d.ts +39 -5
  33. package/resources/authorized-users.d.ts.map +1 -1
  34. package/resources/authorized-users.js +1 -1
  35. package/resources/authorized-users.js.map +1 -1
  36. package/resources/authorized-users.mjs +1 -1
  37. package/resources/authorized-users.mjs.map +1 -1
  38. package/resources/checkout-configurations.d.mts +12 -0
  39. package/resources/checkout-configurations.d.mts.map +1 -1
  40. package/resources/checkout-configurations.d.ts +12 -0
  41. package/resources/checkout-configurations.d.ts.map +1 -1
  42. package/resources/company-token-transactions.d.mts +339 -0
  43. package/resources/company-token-transactions.d.mts.map +1 -0
  44. package/resources/company-token-transactions.d.ts +339 -0
  45. package/resources/company-token-transactions.d.ts.map +1 -0
  46. package/resources/company-token-transactions.js +59 -0
  47. package/resources/company-token-transactions.js.map +1 -0
  48. package/resources/company-token-transactions.mjs +55 -0
  49. package/resources/company-token-transactions.mjs.map +1 -0
  50. package/resources/dm-channels.d.mts +161 -0
  51. package/resources/dm-channels.d.mts.map +1 -0
  52. package/resources/dm-channels.d.ts +161 -0
  53. package/resources/dm-channels.d.ts.map +1 -0
  54. package/resources/dm-channels.js +87 -0
  55. package/resources/dm-channels.js.map +1 -0
  56. package/resources/dm-channels.mjs +83 -0
  57. package/resources/dm-channels.mjs.map +1 -0
  58. package/resources/dm-members.d.mts +190 -0
  59. package/resources/dm-members.d.mts.map +1 -0
  60. package/resources/dm-members.d.ts +190 -0
  61. package/resources/dm-members.d.ts.map +1 -0
  62. package/resources/dm-members.js +94 -0
  63. package/resources/dm-members.js.map +1 -0
  64. package/resources/dm-members.mjs +90 -0
  65. package/resources/dm-members.mjs.map +1 -0
  66. package/resources/files.d.mts +7 -3
  67. package/resources/files.d.mts.map +1 -1
  68. package/resources/files.d.ts +7 -3
  69. package/resources/files.d.ts.map +1 -1
  70. package/resources/index.d.mts +13 -9
  71. package/resources/index.d.mts.map +1 -1
  72. package/resources/index.d.ts +13 -9
  73. package/resources/index.d.ts.map +1 -1
  74. package/resources/index.js +9 -1
  75. package/resources/index.js.map +1 -1
  76. package/resources/index.mjs +6 -2
  77. package/resources/index.mjs.map +1 -1
  78. package/resources/leads.d.mts +9 -177
  79. package/resources/leads.d.mts.map +1 -1
  80. package/resources/leads.d.ts +9 -177
  81. package/resources/leads.d.ts.map +1 -1
  82. package/resources/ledger-accounts.d.mts +3 -2
  83. package/resources/ledger-accounts.d.mts.map +1 -1
  84. package/resources/ledger-accounts.d.ts +3 -2
  85. package/resources/ledger-accounts.d.ts.map +1 -1
  86. package/resources/ledger-accounts.js.map +1 -1
  87. package/resources/ledger-accounts.mjs.map +1 -1
  88. package/resources/members.d.mts +13 -5
  89. package/resources/members.d.mts.map +1 -1
  90. package/resources/members.d.ts +13 -5
  91. package/resources/members.d.ts.map +1 -1
  92. package/resources/members.js +1 -1
  93. package/resources/members.js.map +1 -1
  94. package/resources/members.mjs +1 -1
  95. package/resources/members.mjs.map +1 -1
  96. package/resources/memberships.d.mts +32 -2
  97. package/resources/memberships.d.mts.map +1 -1
  98. package/resources/memberships.d.ts +32 -2
  99. package/resources/memberships.d.ts.map +1 -1
  100. package/resources/memberships.js +18 -0
  101. package/resources/memberships.js.map +1 -1
  102. package/resources/memberships.mjs +18 -0
  103. package/resources/memberships.mjs.map +1 -1
  104. package/resources/messages.d.mts +17 -1
  105. package/resources/messages.d.mts.map +1 -1
  106. package/resources/messages.d.ts +17 -1
  107. package/resources/messages.d.ts.map +1 -1
  108. package/resources/messages.js +10 -0
  109. package/resources/messages.js.map +1 -1
  110. package/resources/messages.mjs +10 -0
  111. package/resources/messages.mjs.map +1 -1
  112. package/resources/payments.d.mts +42 -1
  113. package/resources/payments.d.mts.map +1 -1
  114. package/resources/payments.d.ts +42 -1
  115. package/resources/payments.d.ts.map +1 -1
  116. package/resources/payout-methods.d.mts +26 -3
  117. package/resources/payout-methods.d.mts.map +1 -1
  118. package/resources/payout-methods.d.ts +26 -3
  119. package/resources/payout-methods.d.ts.map +1 -1
  120. package/resources/payout-methods.js.map +1 -1
  121. package/resources/payout-methods.mjs.map +1 -1
  122. package/resources/reactions.d.mts +24 -1
  123. package/resources/reactions.d.mts.map +1 -1
  124. package/resources/reactions.d.ts +24 -1
  125. package/resources/reactions.d.ts.map +1 -1
  126. package/resources/reactions.js +11 -0
  127. package/resources/reactions.js.map +1 -1
  128. package/resources/reactions.mjs +11 -0
  129. package/resources/reactions.mjs.map +1 -1
  130. package/resources/refunds.d.mts +1 -1
  131. package/resources/refunds.d.mts.map +1 -1
  132. package/resources/refunds.d.ts +1 -1
  133. package/resources/refunds.d.ts.map +1 -1
  134. package/resources/shared.d.mts +73 -1
  135. package/resources/shared.d.mts.map +1 -1
  136. package/resources/shared.d.ts +73 -1
  137. package/resources/shared.d.ts.map +1 -1
  138. package/resources/verifications.d.mts +11 -3
  139. package/resources/verifications.d.mts.map +1 -1
  140. package/resources/verifications.d.ts +11 -3
  141. package/resources/verifications.d.ts.map +1 -1
  142. package/resources/webhooks.d.mts +43 -293
  143. package/resources/webhooks.d.mts.map +1 -1
  144. package/resources/webhooks.d.ts +43 -293
  145. package/resources/webhooks.d.ts.map +1 -1
  146. package/resources/webhooks.js.map +1 -1
  147. package/resources/webhooks.mjs +2 -2
  148. package/resources/webhooks.mjs.map +1 -1
  149. package/resources/withdrawals.d.mts +21 -128
  150. package/resources/withdrawals.d.mts.map +1 -1
  151. package/resources/withdrawals.d.ts +21 -128
  152. package/resources/withdrawals.d.ts.map +1 -1
  153. package/src/client.ts +133 -18
  154. package/src/internal/parse.ts +6 -0
  155. package/src/resources/ai-chats.ts +227 -0
  156. package/src/resources/apps.ts +6 -0
  157. package/src/resources/authorized-users.ts +45 -5
  158. package/src/resources/checkout-configurations.ts +15 -0
  159. package/src/resources/company-token-transactions.ts +433 -0
  160. package/src/resources/dm-channels.ts +212 -0
  161. package/src/resources/dm-members.ts +248 -0
  162. package/src/resources/files.ts +8 -2
  163. package/src/resources/index.ts +64 -9
  164. package/src/resources/leads.ts +9 -205
  165. package/src/resources/ledger-accounts.ts +3 -35
  166. package/src/resources/members.ts +16 -6
  167. package/src/resources/memberships.ts +45 -9
  168. package/src/resources/messages.ts +22 -0
  169. package/src/resources/payments.ts +109 -57
  170. package/src/resources/payout-methods.ts +37 -2
  171. package/src/resources/reactions.ts +36 -0
  172. package/src/resources/refunds.ts +2 -1
  173. package/src/resources/shared.ts +110 -11
  174. package/src/resources/verifications.ts +49 -36
  175. package/src/resources/webhooks.ts +78 -728
  176. package/src/resources/withdrawals.ts +29 -205
  177. package/src/version.ts +1 -1
  178. package/version.d.mts +1 -1
  179. package/version.d.ts +1 -1
  180. package/version.js +1 -1
  181. package/version.mjs +1 -1
@@ -0,0 +1,190 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.js";
4
+ import { RequestOptions } from "../internal/request-options.js";
5
+ export declare class DmMembers extends APIResource {
6
+ /**
7
+ * Adds a user to a DM channel
8
+ *
9
+ * Required permissions:
10
+ *
11
+ * - `dms:channel:manage`
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const dmMember = await client.dmMembers.create({
16
+ * channel_id: 'channel_id',
17
+ * user_id: 'user_xxxxxxxxxxxxx',
18
+ * });
19
+ * ```
20
+ */
21
+ create(body: DmMemberCreateParams, options?: RequestOptions): APIPromise<DmMember>;
22
+ /**
23
+ * Retrieves a DM channel member
24
+ *
25
+ * Required permissions:
26
+ *
27
+ * - `dms:read`
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * const dmMember = await client.dmMembers.retrieve('id');
32
+ * ```
33
+ */
34
+ retrieve(id: string, options?: RequestOptions): APIPromise<DmMember>;
35
+ /**
36
+ * Updates a DM channel member's settings
37
+ *
38
+ * Required permissions:
39
+ *
40
+ * - `dms:channel:manage`
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * const dmMember = await client.dmMembers.update('id');
45
+ * ```
46
+ */
47
+ update(id: string, body?: DmMemberUpdateParams | null | undefined, options?: RequestOptions): APIPromise<DmMember>;
48
+ /**
49
+ * Lists members of a DM channel
50
+ *
51
+ * Required permissions:
52
+ *
53
+ * - `dms:read`
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * // Automatically fetches more pages as needed.
58
+ * for await (const dmMemberListResponse of client.dmMembers.list(
59
+ * { channel_id: 'channel_id' },
60
+ * )) {
61
+ * // ...
62
+ * }
63
+ * ```
64
+ */
65
+ list(query: DmMemberListParams, options?: RequestOptions): PagePromise<DmMemberListResponsesCursorPage, DmMemberListResponse>;
66
+ /**
67
+ * Removes a user from a DM channel
68
+ *
69
+ * Required permissions:
70
+ *
71
+ * - `dms:channel:manage`
72
+ *
73
+ * @example
74
+ * ```ts
75
+ * const dmMember = await client.dmMembers.delete('id');
76
+ * ```
77
+ */
78
+ delete(id: string, options?: RequestOptions): APIPromise<DmMemberDeleteResponse>;
79
+ }
80
+ export type DmMemberListResponsesCursorPage = CursorPage<DmMemberListResponse>;
81
+ /**
82
+ * The notification preferences for a DMs feed member
83
+ */
84
+ export type DmFeedMemberNotificationPreferences = 'all' | 'mentions' | 'none';
85
+ /**
86
+ * The statuses of a DMs feed member
87
+ */
88
+ export type DmFeedMemberStatuses = 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived';
89
+ /**
90
+ * Represents a member of a DM channel
91
+ */
92
+ export interface DmMember {
93
+ /**
94
+ * The unique identifier for the entity
95
+ */
96
+ id: string;
97
+ /**
98
+ * The ID of the DM channel
99
+ */
100
+ channel_id: string;
101
+ /**
102
+ * Timestamp when the member last viewed the channel (in milliseconds since Unix
103
+ * epoch)
104
+ */
105
+ last_viewed_at: string | null;
106
+ /**
107
+ * The notification preference for this member (all, mentions, none)
108
+ */
109
+ notification_preference: DmFeedMemberNotificationPreferences;
110
+ /**
111
+ * The status of the membership (requested, accepted, rejected)
112
+ */
113
+ status: DmFeedMemberStatuses;
114
+ /**
115
+ * The ID of the user who is a member of the channel
116
+ */
117
+ user_id: string;
118
+ }
119
+ /**
120
+ * Represents a member of a DM channel
121
+ */
122
+ export interface DmMemberListResponse {
123
+ /**
124
+ * The unique identifier for the entity
125
+ */
126
+ id: string;
127
+ /**
128
+ * The ID of the DM channel
129
+ */
130
+ channel_id: string;
131
+ /**
132
+ * Timestamp when the member last viewed the channel (in milliseconds since Unix
133
+ * epoch)
134
+ */
135
+ last_viewed_at: string | null;
136
+ /**
137
+ * The status of the membership (requested, accepted, rejected)
138
+ */
139
+ status: DmFeedMemberStatuses;
140
+ /**
141
+ * The ID of the user who is a member of the channel
142
+ */
143
+ user_id: string;
144
+ }
145
+ /**
146
+ * Represents `true` or `false` values.
147
+ */
148
+ export type DmMemberDeleteResponse = boolean;
149
+ export interface DmMemberCreateParams {
150
+ /**
151
+ * The ID of the DM channel to add the member to
152
+ */
153
+ channel_id: string;
154
+ /**
155
+ * The ID of the user to add to the channel
156
+ */
157
+ user_id: string;
158
+ }
159
+ export interface DmMemberUpdateParams {
160
+ /**
161
+ * The notification preferences for a DMs feed member
162
+ */
163
+ notification_preference?: DmFeedMemberNotificationPreferences | null;
164
+ /**
165
+ * The statuses of a DMs feed member
166
+ */
167
+ status?: DmFeedMemberStatuses | null;
168
+ }
169
+ export interface DmMemberListParams extends CursorPageParams {
170
+ /**
171
+ * The ID of the DM channel to list members for
172
+ */
173
+ channel_id: string;
174
+ /**
175
+ * Returns the elements in the list that come before the specified cursor.
176
+ */
177
+ before?: string | null;
178
+ /**
179
+ * Returns the first _n_ elements from the list.
180
+ */
181
+ first?: number | null;
182
+ /**
183
+ * Returns the last _n_ elements from the list.
184
+ */
185
+ last?: number | null;
186
+ }
187
+ export declare namespace DmMembers {
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, };
189
+ }
190
+ //# sourceMappingURL=dm-members.d.ts.map
@@ -0,0 +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,EAAE,cAAc,EAAE;AAGzB,qBAAa,SAAU,SAAQ,WAAW;IAC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,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -0,0 +1,94 @@
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.DmMembers = 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
+ class DmMembers extends resource_1.APIResource {
9
+ /**
10
+ * Adds a user to a DM channel
11
+ *
12
+ * Required permissions:
13
+ *
14
+ * - `dms:channel:manage`
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * const dmMember = await client.dmMembers.create({
19
+ * channel_id: 'channel_id',
20
+ * user_id: 'user_xxxxxxxxxxxxx',
21
+ * });
22
+ * ```
23
+ */
24
+ create(body, options) {
25
+ return this._client.post('/dm_members', { body, ...options });
26
+ }
27
+ /**
28
+ * Retrieves a DM channel member
29
+ *
30
+ * Required permissions:
31
+ *
32
+ * - `dms:read`
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * const dmMember = await client.dmMembers.retrieve('id');
37
+ * ```
38
+ */
39
+ retrieve(id, options) {
40
+ return this._client.get((0, path_1.path) `/dm_members/${id}`, options);
41
+ }
42
+ /**
43
+ * Updates a DM channel member's settings
44
+ *
45
+ * Required permissions:
46
+ *
47
+ * - `dms:channel:manage`
48
+ *
49
+ * @example
50
+ * ```ts
51
+ * const dmMember = await client.dmMembers.update('id');
52
+ * ```
53
+ */
54
+ update(id, body = {}, options) {
55
+ return this._client.patch((0, path_1.path) `/dm_members/${id}`, { body, ...options });
56
+ }
57
+ /**
58
+ * Lists members of a DM channel
59
+ *
60
+ * Required permissions:
61
+ *
62
+ * - `dms:read`
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * // Automatically fetches more pages as needed.
67
+ * for await (const dmMemberListResponse of client.dmMembers.list(
68
+ * { channel_id: 'channel_id' },
69
+ * )) {
70
+ * // ...
71
+ * }
72
+ * ```
73
+ */
74
+ list(query, options) {
75
+ return this._client.getAPIList('/dm_members', (pagination_1.CursorPage), { query, ...options });
76
+ }
77
+ /**
78
+ * Removes a user from a DM channel
79
+ *
80
+ * Required permissions:
81
+ *
82
+ * - `dms:channel:manage`
83
+ *
84
+ * @example
85
+ * ```ts
86
+ * const dmMember = await client.dmMembers.delete('id');
87
+ * ```
88
+ */
89
+ delete(id, options) {
90
+ return this._client.delete((0, path_1.path) `/dm_members/${id}`, options);
91
+ }
92
+ }
93
+ exports.DmMembers = DmMembers;
94
+ //# sourceMappingURL=dm-members.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dm-members.js","sourceRoot":"","sources":["../src/resources/dm-members.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAoF;AAEpF,oDAA8C;AAE9C,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,EAAU,EACV,OAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,eAAe,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CACF,KAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,uBAAgC,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,eAAe,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;CACF;AA/FD,8BA+FC"}
@@ -0,0 +1,90 @@
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 DmMembers extends APIResource {
6
+ /**
7
+ * Adds a user to a DM channel
8
+ *
9
+ * Required permissions:
10
+ *
11
+ * - `dms:channel:manage`
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const dmMember = await client.dmMembers.create({
16
+ * channel_id: 'channel_id',
17
+ * user_id: 'user_xxxxxxxxxxxxx',
18
+ * });
19
+ * ```
20
+ */
21
+ create(body, options) {
22
+ return this._client.post('/dm_members', { body, ...options });
23
+ }
24
+ /**
25
+ * Retrieves a DM channel member
26
+ *
27
+ * Required permissions:
28
+ *
29
+ * - `dms:read`
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * const dmMember = await client.dmMembers.retrieve('id');
34
+ * ```
35
+ */
36
+ retrieve(id, options) {
37
+ return this._client.get(path `/dm_members/${id}`, options);
38
+ }
39
+ /**
40
+ * Updates a DM channel member's settings
41
+ *
42
+ * Required permissions:
43
+ *
44
+ * - `dms:channel:manage`
45
+ *
46
+ * @example
47
+ * ```ts
48
+ * const dmMember = await client.dmMembers.update('id');
49
+ * ```
50
+ */
51
+ update(id, body = {}, options) {
52
+ return this._client.patch(path `/dm_members/${id}`, { body, ...options });
53
+ }
54
+ /**
55
+ * Lists members of a DM channel
56
+ *
57
+ * Required permissions:
58
+ *
59
+ * - `dms:read`
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * // Automatically fetches more pages as needed.
64
+ * for await (const dmMemberListResponse of client.dmMembers.list(
65
+ * { channel_id: 'channel_id' },
66
+ * )) {
67
+ * // ...
68
+ * }
69
+ * ```
70
+ */
71
+ list(query, options) {
72
+ return this._client.getAPIList('/dm_members', (CursorPage), { query, ...options });
73
+ }
74
+ /**
75
+ * Removes a user from a DM channel
76
+ *
77
+ * Required permissions:
78
+ *
79
+ * - `dms:channel:manage`
80
+ *
81
+ * @example
82
+ * ```ts
83
+ * const dmMember = await client.dmMembers.delete('id');
84
+ * ```
85
+ */
86
+ delete(id, options) {
87
+ return this._client.delete(path `/dm_members/${id}`, options);
88
+ }
89
+ }
90
+ //# sourceMappingURL=dm-members.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dm-members.mjs","sourceRoot":"","sources":["../src/resources/dm-members.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,EAAU,EACV,OAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,eAAe,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CACF,KAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,UAAgC,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,eAAe,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;CACF"}
@@ -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.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,UAAU,CAAC,kBAAkB,CAAC;IAIxF;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAIhF;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,UAAU,GAAG,WAAW,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAOnG;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;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,cAAc,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IAElD;;OAEG;IACH,aAAa,EAAE,SAAS,GAAG,YAAY,GAAG,OAAO,GAAG,QAAQ,CAAC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C/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,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAIhF;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,UAAU,GAAG,WAAW,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAOnG;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;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,cAAc,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IAElD;;OAEG;IACH,aAAa,EAAE,SAAS,GAAG,YAAY,GAAG,OAAO,GAAG,QAAQ,CAAC;IAE7D;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,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AAQ,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,4 +1,5 @@
1
1
  export * from "./shared.mjs";
2
+ export { AIChats, type AIChat, type AIChatListResponse, type AIChatDeleteResponse, type AIChatCreateParams, type AIChatUpdateParams, type AIChatListParams, type AIChatListResponsesCursorPage, } from "./ai-chats.mjs";
2
3
  export { AccessTokens, type AccessTokenCreateResponse, type AccessTokenCreateParams } from "./access-tokens.mjs";
3
4
  export { AccountLinks, type AccountLinkCreateResponse, type AccountLinkCreateParams } from "./account-links.mjs";
4
5
  export { AppBuilds, type AppBuildListResponse, type AppBuildCreateParams, type AppBuildListParams, type AppBuildListResponsesCursorPage, } from "./app-builds.mjs";
@@ -7,32 +8,35 @@ export { AuthorizedUsers, type AuthorizedUserRetrieveResponse, type AuthorizedUs
7
8
  export { ChatChannels, type ChatChannelListResponse, type ChatChannelUpdateParams, type ChatChannelListParams, type ChatChannelListResponsesCursorPage, } from "./chat-channels.mjs";
8
9
  export { CheckoutConfigurations, type CheckoutModes, type CheckoutConfigurationListResponse, type CheckoutConfigurationCreateParams, type CheckoutConfigurationListParams, type CheckoutConfigurationListResponsesCursorPage, } from "./checkout-configurations.mjs";
9
10
  export { Companies, type CompanyListResponse, type CompanyCreateParams, type CompanyUpdateParams, type CompanyListParams, type CompanyListResponsesCursorPage, } from "./companies.mjs";
11
+ export { CompanyTokenTransactions, type BotTokenTransactionTypes, type CompanyTokenTransaction, type CompanyTokenTransactionListResponse, type CompanyTokenTransactionCreateParams, type CompanyTokenTransactionListParams, type CompanyTokenTransactionListResponsesCursorPage, } from "./company-token-transactions.mjs";
10
12
  export { CourseChapters, type CourseChapter, type CourseChapterListResponse, type CourseChapterDeleteResponse, type CourseChapterCreateParams, type CourseChapterUpdateParams, type CourseChapterListParams, type CourseChapterListResponsesCursorPage, } from "./course-chapters.mjs";
11
13
  export { CourseLessonInteractions, type CourseLessonInteractionListParams, } from "./course-lesson-interactions.mjs";
12
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";
13
15
  export { CourseStudents, type CourseStudentRetrieveResponse, type CourseStudentListResponse, type CourseStudentListParams, type CourseStudentListResponsesCursorPage, } from "./course-students.mjs";
14
16
  export { Courses, type Course, type CourseVisibilities, type Languages, type CourseListResponse, type CourseDeleteResponse, type CourseCreateParams, type CourseUpdateParams, type CourseListParams, type CourseListResponsesCursorPage, } from "./courses.mjs";
15
17
  export { Disputes, type Dispute, type DisputeStatuses, type DisputeListResponse, type DisputeListParams, type DisputeUpdateEvidenceParams, type DisputeListResponsesCursorPage, } from "./disputes.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";
16
20
  export { Entries, type EntryListResponse, type EntryApproveResponse, type EntryListParams, type EntryListResponsesCursorPage, } from "./entries.mjs";
17
21
  export { Experiences, type ExperienceListResponse, type ExperienceDeleteResponse, type ExperienceCreateParams, type ExperienceUpdateParams, type ExperienceListParams, type ExperienceAttachParams, type ExperienceDetachParams, type ExperienceDuplicateParams, type ExperienceListResponsesCursorPage, } from "./experiences.mjs";
18
22
  export { FeeMarkups, type FeeMarkupType, type FeeMarkupCreateResponse, type FeeMarkupListResponse, type FeeMarkupDeleteResponse, type FeeMarkupCreateParams, type FeeMarkupListParams, type FeeMarkupListResponsesCursorPage, } from "./fee-markups.mjs";
19
- 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";
20
24
  export { ForumPosts, type ForumPostVisibilityType, type ForumPostListResponse, type ForumPostCreateParams, type ForumPostUpdateParams, type ForumPostListParams, type ForumPostListResponsesCursorPage, } from "./forum-posts.mjs";
21
25
  export { Forums, type ForumListResponse, type ForumUpdateParams, type ForumListParams, type ForumListResponsesCursorPage, } from "./forums.mjs";
22
26
  export { Invoices, type InvoiceVoidResponse, type InvoiceCreateParams, type InvoiceListParams, } from "./invoices.mjs";
23
- 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";
24
28
  export { LedgerAccounts, type LedgerAccountRetrieveResponse } from "./ledger-accounts.mjs";
25
29
  export { Members, type MemberRetrieveResponse, type MemberListResponse, type MemberListParams, type MemberListResponsesCursorPage, } from "./members.mjs";
26
- export { Memberships, type MembershipListResponse, type MembershipUpdateParams, type MembershipListParams, type MembershipCancelParams, type MembershipPauseParams, type MembershipListResponsesCursorPage, } from "./memberships.mjs";
27
- export { Messages, type MessageListResponse, type MessageCreateParams, type MessageUpdateParams, type MessageListParams, type MessageListResponsesCursorPage, } from "./messages.mjs";
30
+ export { Memberships, type CancelOptions, type MembershipListResponse, type MembershipUpdateParams, type MembershipListParams, type MembershipCancelParams, type MembershipPauseParams, type MembershipListResponsesCursorPage, } from "./memberships.mjs";
31
+ export { Messages, type MessageListResponse, type MessageDeleteResponse, type MessageCreateParams, type MessageUpdateParams, type MessageListParams, type MessageListResponsesCursorPage, } from "./messages.mjs";
28
32
  export { Notifications, type NotificationCreateResponse, type NotificationCreateParams, } from "./notifications.mjs";
29
33
  export { PaymentMethods, type PaymentMethodRetrieveResponse, type PaymentMethodListResponse, type PaymentMethodRetrieveParams, type PaymentMethodListParams, type PaymentMethodListResponsesCursorPage, } from "./payment-methods.mjs";
30
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";
31
- 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";
32
36
  export { Plans, type PlanListResponse, type PlanDeleteResponse, type PlanCreateParams, type PlanUpdateParams, type PlanListParams, type PlanListResponsesCursorPage, } from "./plans.mjs";
33
37
  export { Products, type ProductDeleteResponse, type ProductCreateParams, type ProductUpdateParams, type ProductListParams, } from "./products.mjs";
34
38
  export { PromoCodes, type PromoCode, type PromoCodeStatus, type PromoDuration, type PromoCodeListResponse, type PromoCodeDeleteResponse, type PromoCodeCreateParams, type PromoCodeListParams, type PromoCodeListResponsesCursorPage, } from "./promo-codes.mjs";
35
- export { Reactions, type ReactionListResponse, type ReactionCreateParams, type ReactionListParams, type ReactionListResponsesCursorPage, } from "./reactions.mjs";
39
+ export { Reactions, type ReactionListResponse, type ReactionDeleteResponse, type ReactionCreateParams, type ReactionListParams, type ReactionDeleteParams, type ReactionListResponsesCursorPage, } from "./reactions.mjs";
36
40
  export { Refunds, type PaymentProvider, type RefundReferenceStatus, type RefundReferenceType, type RefundStatus, type RefundRetrieveResponse, type RefundListResponse, type RefundListParams, type RefundListResponsesCursorPage, } from "./refunds.mjs";
37
41
  export { Reviews, type ReviewStatus, type ReviewRetrieveResponse, type ReviewListResponse, type ReviewListParams, type ReviewListResponsesCursorPage, } from "./reviews.mjs";
38
42
  export { SetupIntents, type SetupIntent, type SetupIntentStatus, type SetupIntentListResponse, type SetupIntentListParams, type SetupIntentListResponsesCursorPage, } from "./setup-intents.mjs";
@@ -41,7 +45,7 @@ export { SupportChannels, type SupportChannelListResponse, type SupportChannelCr
41
45
  export { Topups, type TopupCreateResponse, type TopupCreateParams } from "./topups.mjs";
42
46
  export { Transfers, type TransferListResponse, type TransferCreateParams, type TransferListParams, type TransferListResponsesCursorPage, } from "./transfers.mjs";
43
47
  export { Users, type UserRetrieveResponse, type UserCheckAccessResponse, type UserCheckAccessParams, } from "./users.mjs";
44
- export { Verifications, type VerificationRetrieveResponse } from "./verifications.mjs";
45
- 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";
46
- 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";
47
51
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,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,EAC7B,KAAK,qCAAqC,GAC3C;OACM,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,kCAAkC,GACxC;OACM,EACL,sBAAsB,EACtB,KAAK,aAAa,EAClB,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,4CAA4C,GAClD;OACM,EACL,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,GAC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AK,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.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,w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