@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.
- package/CHANGELOG.md +68 -0
- package/README.md +2 -2
- package/client.d.mts +30 -18
- package/client.d.mts.map +1 -1
- package/client.d.ts +30 -18
- package/client.d.ts.map +1 -1
- package/client.js +15 -2
- package/client.js.map +1 -1
- package/client.mjs +17 -4
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai-chats.d.mts +169 -0
- package/resources/ai-chats.d.mts.map +1 -0
- package/resources/ai-chats.d.ts +169 -0
- package/resources/ai-chats.d.ts.map +1 -0
- package/resources/ai-chats.js +53 -0
- package/resources/ai-chats.js.map +1 -0
- package/resources/ai-chats.mjs +49 -0
- package/resources/ai-chats.mjs.map +1 -0
- package/resources/apps.d.mts +1 -1
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +1 -1
- package/resources/apps.d.ts.map +1 -1
- package/resources/authorized-users.d.mts +39 -5
- package/resources/authorized-users.d.mts.map +1 -1
- package/resources/authorized-users.d.ts +39 -5
- package/resources/authorized-users.d.ts.map +1 -1
- package/resources/authorized-users.js +1 -1
- package/resources/authorized-users.js.map +1 -1
- package/resources/authorized-users.mjs +1 -1
- package/resources/authorized-users.mjs.map +1 -1
- package/resources/checkout-configurations.d.mts +12 -0
- package/resources/checkout-configurations.d.mts.map +1 -1
- package/resources/checkout-configurations.d.ts +12 -0
- package/resources/checkout-configurations.d.ts.map +1 -1
- package/resources/company-token-transactions.d.mts +339 -0
- package/resources/company-token-transactions.d.mts.map +1 -0
- package/resources/company-token-transactions.d.ts +339 -0
- package/resources/company-token-transactions.d.ts.map +1 -0
- package/resources/company-token-transactions.js +59 -0
- package/resources/company-token-transactions.js.map +1 -0
- package/resources/company-token-transactions.mjs +55 -0
- package/resources/company-token-transactions.mjs.map +1 -0
- package/resources/dm-channels.d.mts +161 -0
- package/resources/dm-channels.d.mts.map +1 -0
- package/resources/dm-channels.d.ts +161 -0
- package/resources/dm-channels.d.ts.map +1 -0
- package/resources/dm-channels.js +87 -0
- package/resources/dm-channels.js.map +1 -0
- package/resources/dm-channels.mjs +83 -0
- package/resources/dm-channels.mjs.map +1 -0
- package/resources/dm-members.d.mts +190 -0
- package/resources/dm-members.d.mts.map +1 -0
- package/resources/dm-members.d.ts +190 -0
- package/resources/dm-members.d.ts.map +1 -0
- package/resources/dm-members.js +94 -0
- package/resources/dm-members.js.map +1 -0
- package/resources/dm-members.mjs +90 -0
- package/resources/dm-members.mjs.map +1 -0
- package/resources/files.d.mts +7 -3
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +7 -3
- package/resources/files.d.ts.map +1 -1
- package/resources/index.d.mts +13 -9
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +13 -9
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +6 -2
- package/resources/index.mjs.map +1 -1
- package/resources/leads.d.mts +9 -177
- package/resources/leads.d.mts.map +1 -1
- package/resources/leads.d.ts +9 -177
- package/resources/leads.d.ts.map +1 -1
- package/resources/ledger-accounts.d.mts +3 -2
- package/resources/ledger-accounts.d.mts.map +1 -1
- package/resources/ledger-accounts.d.ts +3 -2
- package/resources/ledger-accounts.d.ts.map +1 -1
- package/resources/ledger-accounts.js.map +1 -1
- package/resources/ledger-accounts.mjs.map +1 -1
- package/resources/members.d.mts +13 -5
- package/resources/members.d.mts.map +1 -1
- package/resources/members.d.ts +13 -5
- package/resources/members.d.ts.map +1 -1
- package/resources/members.js +1 -1
- package/resources/members.js.map +1 -1
- package/resources/members.mjs +1 -1
- package/resources/members.mjs.map +1 -1
- package/resources/memberships.d.mts +32 -2
- package/resources/memberships.d.mts.map +1 -1
- package/resources/memberships.d.ts +32 -2
- package/resources/memberships.d.ts.map +1 -1
- package/resources/memberships.js +18 -0
- package/resources/memberships.js.map +1 -1
- package/resources/memberships.mjs +18 -0
- package/resources/memberships.mjs.map +1 -1
- package/resources/messages.d.mts +17 -1
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +17 -1
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +10 -0
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +10 -0
- package/resources/messages.mjs.map +1 -1
- package/resources/payments.d.mts +42 -1
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +42 -1
- package/resources/payments.d.ts.map +1 -1
- package/resources/payout-methods.d.mts +26 -3
- package/resources/payout-methods.d.mts.map +1 -1
- package/resources/payout-methods.d.ts +26 -3
- package/resources/payout-methods.d.ts.map +1 -1
- package/resources/payout-methods.js.map +1 -1
- package/resources/payout-methods.mjs.map +1 -1
- package/resources/reactions.d.mts +24 -1
- package/resources/reactions.d.mts.map +1 -1
- package/resources/reactions.d.ts +24 -1
- package/resources/reactions.d.ts.map +1 -1
- package/resources/reactions.js +11 -0
- package/resources/reactions.js.map +1 -1
- package/resources/reactions.mjs +11 -0
- package/resources/reactions.mjs.map +1 -1
- package/resources/refunds.d.mts +1 -1
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +1 -1
- package/resources/refunds.d.ts.map +1 -1
- package/resources/shared.d.mts +73 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +73 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/verifications.d.mts +11 -3
- package/resources/verifications.d.mts.map +1 -1
- package/resources/verifications.d.ts +11 -3
- package/resources/verifications.d.ts.map +1 -1
- package/resources/webhooks.d.mts +43 -293
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +43 -293
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +2 -2
- package/resources/webhooks.mjs.map +1 -1
- package/resources/withdrawals.d.mts +21 -128
- package/resources/withdrawals.d.mts.map +1 -1
- package/resources/withdrawals.d.ts +21 -128
- package/resources/withdrawals.d.ts.map +1 -1
- package/src/client.ts +133 -18
- package/src/internal/parse.ts +6 -0
- package/src/resources/ai-chats.ts +227 -0
- package/src/resources/apps.ts +6 -0
- package/src/resources/authorized-users.ts +45 -5
- package/src/resources/checkout-configurations.ts +15 -0
- package/src/resources/company-token-transactions.ts +433 -0
- package/src/resources/dm-channels.ts +212 -0
- package/src/resources/dm-members.ts +248 -0
- package/src/resources/files.ts +8 -2
- package/src/resources/index.ts +64 -9
- package/src/resources/leads.ts +9 -205
- package/src/resources/ledger-accounts.ts +3 -35
- package/src/resources/members.ts +16 -6
- package/src/resources/memberships.ts +45 -9
- package/src/resources/messages.ts +22 -0
- package/src/resources/payments.ts +109 -57
- package/src/resources/payout-methods.ts +37 -2
- package/src/resources/reactions.ts +36 -0
- package/src/resources/refunds.ts +2 -1
- package/src/resources/shared.ts +110 -11
- package/src/resources/verifications.ts +49 -36
- package/src/resources/webhooks.ts +78 -728
- package/src/resources/withdrawals.ts +29 -205
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,161 @@
|
|
|
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 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: DmChannelCreateParams, options?: RequestOptions): APIPromise<DmChannel>;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieves a DM channel
|
|
19
|
+
*
|
|
20
|
+
* Required permissions:
|
|
21
|
+
*
|
|
22
|
+
* - `dms:read`
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const dmChannel = await client.dmChannels.retrieve('id');
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<DmChannel>;
|
|
30
|
+
/**
|
|
31
|
+
* Updates a DM channel
|
|
32
|
+
*
|
|
33
|
+
* Required permissions:
|
|
34
|
+
*
|
|
35
|
+
* - `dms:channel:manage`
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* const dmChannel = await client.dmChannels.update('id');
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
update(id: string, body?: DmChannelUpdateParams | null | undefined, options?: RequestOptions): APIPromise<DmChannel>;
|
|
43
|
+
/**
|
|
44
|
+
* Lists DM channels for the current user
|
|
45
|
+
*
|
|
46
|
+
* Required permissions:
|
|
47
|
+
*
|
|
48
|
+
* - `dms:read`
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* // Automatically fetches more pages as needed.
|
|
53
|
+
* for await (const dmChannelListResponse of client.dmChannels.list()) {
|
|
54
|
+
* // ...
|
|
55
|
+
* }
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
list(query?: DmChannelListParams | null | undefined, options?: RequestOptions): PagePromise<DmChannelListResponsesCursorPage, DmChannelListResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Deletes a DM channel
|
|
61
|
+
*
|
|
62
|
+
* Required permissions:
|
|
63
|
+
*
|
|
64
|
+
* - `dms:channel:manage`
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const dmChannel = await client.dmChannels.delete('id');
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
delete(id: string, options?: RequestOptions): APIPromise<DmChannelDeleteResponse>;
|
|
72
|
+
}
|
|
73
|
+
export type DmChannelListResponsesCursorPage = CursorPage<DmChannelListResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Represents a DM channel
|
|
76
|
+
*/
|
|
77
|
+
export interface DmChannel {
|
|
78
|
+
/**
|
|
79
|
+
* The unique identifier for the entity
|
|
80
|
+
*/
|
|
81
|
+
id: string;
|
|
82
|
+
/**
|
|
83
|
+
* The time the entity was created (in milliseconds since Unix epoch)
|
|
84
|
+
*/
|
|
85
|
+
created_at: string;
|
|
86
|
+
/**
|
|
87
|
+
* When the last message was sent
|
|
88
|
+
*/
|
|
89
|
+
last_message_at: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* The custom name of the DM channel, if any
|
|
92
|
+
*/
|
|
93
|
+
name: string | null;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Represents a DM channel
|
|
97
|
+
*/
|
|
98
|
+
export interface DmChannelListResponse {
|
|
99
|
+
/**
|
|
100
|
+
* The unique identifier for the entity
|
|
101
|
+
*/
|
|
102
|
+
id: string;
|
|
103
|
+
/**
|
|
104
|
+
* The time the entity was created (in milliseconds since Unix epoch)
|
|
105
|
+
*/
|
|
106
|
+
created_at: string;
|
|
107
|
+
/**
|
|
108
|
+
* When the last message was sent
|
|
109
|
+
*/
|
|
110
|
+
last_message_at: string | null;
|
|
111
|
+
/**
|
|
112
|
+
* The custom name of the DM channel, if any
|
|
113
|
+
*/
|
|
114
|
+
name: string | null;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Represents `true` or `false` values.
|
|
118
|
+
*/
|
|
119
|
+
export type DmChannelDeleteResponse = boolean;
|
|
120
|
+
export interface DmChannelCreateParams {
|
|
121
|
+
/**
|
|
122
|
+
* The user ids to create a DM with. Can be email, username or user_id (tag)
|
|
123
|
+
*/
|
|
124
|
+
with_user_ids: Array<string>;
|
|
125
|
+
/**
|
|
126
|
+
* The ID of the company to scope this DM channel to.
|
|
127
|
+
*/
|
|
128
|
+
company_id?: string | null;
|
|
129
|
+
/**
|
|
130
|
+
* The custom name for the DM channel
|
|
131
|
+
*/
|
|
132
|
+
custom_name?: string | null;
|
|
133
|
+
}
|
|
134
|
+
export interface DmChannelUpdateParams {
|
|
135
|
+
/**
|
|
136
|
+
* The custom name for the DM channel
|
|
137
|
+
*/
|
|
138
|
+
custom_name?: string | null;
|
|
139
|
+
}
|
|
140
|
+
export interface DmChannelListParams extends CursorPageParams {
|
|
141
|
+
/**
|
|
142
|
+
* Returns the elements in the list that come before the specified cursor.
|
|
143
|
+
*/
|
|
144
|
+
before?: string | null;
|
|
145
|
+
/**
|
|
146
|
+
* Filter DM channels scoped to a specific company
|
|
147
|
+
*/
|
|
148
|
+
company_id?: string | null;
|
|
149
|
+
/**
|
|
150
|
+
* Returns the first _n_ elements from the list.
|
|
151
|
+
*/
|
|
152
|
+
first?: number | null;
|
|
153
|
+
/**
|
|
154
|
+
* Returns the last _n_ elements from the list.
|
|
155
|
+
*/
|
|
156
|
+
last?: number | null;
|
|
157
|
+
}
|
|
158
|
+
export declare namespace DmChannels {
|
|
159
|
+
export { type DmChannel as DmChannel, type DmChannelListResponse as DmChannelListResponse, type DmChannelDeleteResponse as DmChannelDeleteResponse, type DmChannelListResponsesCursorPage as DmChannelListResponsesCursorPage, type DmChannelCreateParams as DmChannelCreateParams, type DmChannelUpdateParams as DmChannelUpdateParams, type DmChannelListParams as DmChannelListParams, };
|
|
160
|
+
}
|
|
161
|
+
//# sourceMappingURL=dm-channels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dm-channels.d.ts","sourceRoot":"","sources":["../src/resources/dm-channels.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,U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ports, "__esModule", { value: true });
|
|
4
|
+
exports.DmChannels = 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 DmChannels extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Creates a DM channel
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const dmChannel = await client.dmChannels.create({
|
|
15
|
+
* with_user_ids: ['string'],
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
create(body, options) {
|
|
20
|
+
return this._client.post('/dm_channels', { body, ...options });
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves a DM channel
|
|
24
|
+
*
|
|
25
|
+
* Required permissions:
|
|
26
|
+
*
|
|
27
|
+
* - `dms:read`
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const dmChannel = await client.dmChannels.retrieve('id');
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
retrieve(id, options) {
|
|
35
|
+
return this._client.get((0, path_1.path) `/dm_channels/${id}`, options);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Updates a DM channel
|
|
39
|
+
*
|
|
40
|
+
* Required permissions:
|
|
41
|
+
*
|
|
42
|
+
* - `dms:channel:manage`
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* const dmChannel = await client.dmChannels.update('id');
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
update(id, body = {}, options) {
|
|
50
|
+
return this._client.patch((0, path_1.path) `/dm_channels/${id}`, { body, ...options });
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Lists DM channels for the current user
|
|
54
|
+
*
|
|
55
|
+
* Required permissions:
|
|
56
|
+
*
|
|
57
|
+
* - `dms:read`
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* // Automatically fetches more pages as needed.
|
|
62
|
+
* for await (const dmChannelListResponse of client.dmChannels.list()) {
|
|
63
|
+
* // ...
|
|
64
|
+
* }
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
list(query = {}, options) {
|
|
68
|
+
return this._client.getAPIList('/dm_channels', (pagination_1.CursorPage), { query, ...options });
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Deletes a DM channel
|
|
72
|
+
*
|
|
73
|
+
* Required permissions:
|
|
74
|
+
*
|
|
75
|
+
* - `dms:channel:manage`
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* ```ts
|
|
79
|
+
* const dmChannel = await client.dmChannels.delete('id');
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
delete(id, options) {
|
|
83
|
+
return this._client.delete((0, path_1.path) `/dm_channels/${id}`, options);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.DmChannels = DmChannels;
|
|
87
|
+
//# sourceMappingURL=dm-channels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dm-channels.js","sourceRoot":"","sources":["../src/resources/dm-channels.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAoF;AAEpF,oDAA8C;AAE9C,MAAa,UAAW,SAAQ,sBAAW;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,IAAA,WAAI,EAAA,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,IAAA,WAAI,EAAA,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,uBAAiC,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,IAAA,WAAI,EAAA,gBAAgB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;CACF;AAxFD,gCAwFC"}
|
|
@@ -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"}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.mjs";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
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, };
|
|
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