@whop/sdk 0.0.21 → 0.0.22
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 +9 -0
- package/client.d.mts +11 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -2
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +4 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/leads.d.mts +489 -0
- package/resources/leads.d.mts.map +1 -0
- package/resources/leads.d.ts +489 -0
- package/resources/leads.d.ts.map +1 -0
- package/resources/leads.js +94 -0
- package/resources/leads.js.map +1 -0
- package/resources/leads.mjs +90 -0
- package/resources/leads.mjs.map +1 -0
- package/resources/ledger-accounts.d.mts +25 -0
- package/resources/ledger-accounts.d.mts.map +1 -1
- package/resources/ledger-accounts.d.ts +25 -0
- package/resources/ledger-accounts.d.ts.map +1 -1
- package/resources/payout-methods.d.mts +69 -1
- package/resources/payout-methods.d.mts.map +1 -1
- package/resources/payout-methods.d.ts +69 -1
- package/resources/payout-methods.d.ts.map +1 -1
- package/resources/payout-methods.js +11 -0
- package/resources/payout-methods.js.map +1 -1
- package/resources/payout-methods.mjs +11 -0
- package/resources/payout-methods.mjs.map +1 -1
- package/resources/topups.d.mts +79 -0
- package/resources/topups.d.mts.map +1 -0
- package/resources/topups.d.ts +79 -0
- package/resources/topups.d.ts.map +1 -0
- package/resources/topups.js +29 -0
- package/resources/topups.js.map +1 -0
- package/resources/topups.mjs +25 -0
- package/resources/topups.mjs.map +1 -0
- package/resources/verifications.d.mts +38 -0
- package/resources/verifications.d.mts.map +1 -0
- package/resources/verifications.d.ts +38 -0
- package/resources/verifications.d.ts.map +1 -0
- package/resources/verifications.js +20 -0
- package/resources/verifications.js.map +1 -0
- package/resources/verifications.mjs +16 -0
- package/resources/verifications.mjs.map +1 -0
- package/src/client.ts +44 -0
- package/src/resources/index.ts +14 -0
- package/src/resources/leads.ts +583 -0
- package/src/resources/ledger-accounts.ts +63 -0
- package/src/resources/payout-methods.ts +83 -0
- package/src/resources/topups.ts +95 -0
- package/src/resources/verifications.ts +81 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,489 @@
|
|
|
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 Leads extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Creates a new lead
|
|
8
|
+
*
|
|
9
|
+
* Required permissions:
|
|
10
|
+
*
|
|
11
|
+
* - `lead:manage`
|
|
12
|
+
* - `member:email:read`
|
|
13
|
+
* - `access_pass:basic:read`
|
|
14
|
+
* - `member:basic:read`
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* const lead = await client.leads.create({
|
|
19
|
+
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
create(body: LeadCreateParams, options?: RequestOptions): APIPromise<LeadCreateResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves a lead by ID
|
|
26
|
+
*
|
|
27
|
+
* Required permissions:
|
|
28
|
+
*
|
|
29
|
+
* - `lead:basic:read`
|
|
30
|
+
* - `member:email:read`
|
|
31
|
+
* - `access_pass:basic:read`
|
|
32
|
+
* - `member:basic:read`
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const lead = await client.leads.retrieve(
|
|
37
|
+
* 'lead_xxxxxxxxxxxxx',
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<LeadRetrieveResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Updates a lead
|
|
44
|
+
*
|
|
45
|
+
* Required permissions:
|
|
46
|
+
*
|
|
47
|
+
* - `lead:manage`
|
|
48
|
+
* - `member:email:read`
|
|
49
|
+
* - `access_pass:basic:read`
|
|
50
|
+
* - `member:basic:read`
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* const lead = await client.leads.update(
|
|
55
|
+
* 'lead_xxxxxxxxxxxxx',
|
|
56
|
+
* );
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
update(id: string, body?: LeadUpdateParams | null | undefined, options?: RequestOptions): APIPromise<LeadUpdateResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Lists leads for a company
|
|
62
|
+
*
|
|
63
|
+
* Required permissions:
|
|
64
|
+
*
|
|
65
|
+
* - `lead:basic:read`
|
|
66
|
+
* - `member:email:read`
|
|
67
|
+
* - `access_pass:basic:read`
|
|
68
|
+
* - `member:basic:read`
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```ts
|
|
72
|
+
* // Automatically fetches more pages as needed.
|
|
73
|
+
* for await (const leadListResponse of client.leads.list({
|
|
74
|
+
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
75
|
+
* })) {
|
|
76
|
+
* // ...
|
|
77
|
+
* }
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
list(query: LeadListParams, options?: RequestOptions): PagePromise<LeadListResponsesCursorPage, LeadListResponse>;
|
|
81
|
+
}
|
|
82
|
+
export type LeadListResponsesCursorPage = CursorPage<LeadListResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* An object representing a lead (someone who is interested in a whop).
|
|
85
|
+
*/
|
|
86
|
+
export interface LeadCreateResponse {
|
|
87
|
+
/**
|
|
88
|
+
* The ID of the lead.
|
|
89
|
+
*/
|
|
90
|
+
id: string;
|
|
91
|
+
/**
|
|
92
|
+
* The timestamp of when the lead was created.
|
|
93
|
+
*/
|
|
94
|
+
created_at: string;
|
|
95
|
+
/**
|
|
96
|
+
* The converted member, if any.
|
|
97
|
+
*/
|
|
98
|
+
member: LeadCreateResponse.Member | null;
|
|
99
|
+
/**
|
|
100
|
+
* Custom metadata for the lead.
|
|
101
|
+
*/
|
|
102
|
+
metadata: {
|
|
103
|
+
[key: string]: unknown;
|
|
104
|
+
} | null;
|
|
105
|
+
/**
|
|
106
|
+
* The access pass the lead is interested in, if available.
|
|
107
|
+
*/
|
|
108
|
+
product: LeadCreateResponse.Product | null;
|
|
109
|
+
/**
|
|
110
|
+
* The referrer URL that brought this lead.
|
|
111
|
+
*/
|
|
112
|
+
referrer: string | null;
|
|
113
|
+
/**
|
|
114
|
+
* The timestamp of when the lead was last updated.
|
|
115
|
+
*/
|
|
116
|
+
updated_at: string;
|
|
117
|
+
/**
|
|
118
|
+
* The user who is the lead.
|
|
119
|
+
*/
|
|
120
|
+
user: LeadCreateResponse.User;
|
|
121
|
+
}
|
|
122
|
+
export declare namespace LeadCreateResponse {
|
|
123
|
+
/**
|
|
124
|
+
* The converted member, if any.
|
|
125
|
+
*/
|
|
126
|
+
interface Member {
|
|
127
|
+
/**
|
|
128
|
+
* The ID of the member
|
|
129
|
+
*/
|
|
130
|
+
id: string;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* The access pass the lead is interested in, if available.
|
|
134
|
+
*/
|
|
135
|
+
interface Product {
|
|
136
|
+
/**
|
|
137
|
+
* The internal ID of the public product.
|
|
138
|
+
*/
|
|
139
|
+
id: string;
|
|
140
|
+
/**
|
|
141
|
+
* The title of the product. Use for Whop 4.0.
|
|
142
|
+
*/
|
|
143
|
+
title: string;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* The user who is the lead.
|
|
147
|
+
*/
|
|
148
|
+
interface User {
|
|
149
|
+
/**
|
|
150
|
+
* The internal ID of the user.
|
|
151
|
+
*/
|
|
152
|
+
id: string;
|
|
153
|
+
/**
|
|
154
|
+
* The email of the user
|
|
155
|
+
*/
|
|
156
|
+
email: string | null;
|
|
157
|
+
/**
|
|
158
|
+
* The name of the user from their Whop account.
|
|
159
|
+
*/
|
|
160
|
+
name: string | null;
|
|
161
|
+
/**
|
|
162
|
+
* The username of the user from their Whop account.
|
|
163
|
+
*/
|
|
164
|
+
username: string;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* An object representing a lead (someone who is interested in a whop).
|
|
169
|
+
*/
|
|
170
|
+
export interface LeadRetrieveResponse {
|
|
171
|
+
/**
|
|
172
|
+
* The ID of the lead.
|
|
173
|
+
*/
|
|
174
|
+
id: string;
|
|
175
|
+
/**
|
|
176
|
+
* The timestamp of when the lead was created.
|
|
177
|
+
*/
|
|
178
|
+
created_at: string;
|
|
179
|
+
/**
|
|
180
|
+
* The converted member, if any.
|
|
181
|
+
*/
|
|
182
|
+
member: LeadRetrieveResponse.Member | null;
|
|
183
|
+
/**
|
|
184
|
+
* Custom metadata for the lead.
|
|
185
|
+
*/
|
|
186
|
+
metadata: {
|
|
187
|
+
[key: string]: unknown;
|
|
188
|
+
} | null;
|
|
189
|
+
/**
|
|
190
|
+
* The access pass the lead is interested in, if available.
|
|
191
|
+
*/
|
|
192
|
+
product: LeadRetrieveResponse.Product | null;
|
|
193
|
+
/**
|
|
194
|
+
* The referrer URL that brought this lead.
|
|
195
|
+
*/
|
|
196
|
+
referrer: string | null;
|
|
197
|
+
/**
|
|
198
|
+
* The timestamp of when the lead was last updated.
|
|
199
|
+
*/
|
|
200
|
+
updated_at: string;
|
|
201
|
+
/**
|
|
202
|
+
* The user who is the lead.
|
|
203
|
+
*/
|
|
204
|
+
user: LeadRetrieveResponse.User;
|
|
205
|
+
}
|
|
206
|
+
export declare namespace LeadRetrieveResponse {
|
|
207
|
+
/**
|
|
208
|
+
* The converted member, if any.
|
|
209
|
+
*/
|
|
210
|
+
interface Member {
|
|
211
|
+
/**
|
|
212
|
+
* The ID of the member
|
|
213
|
+
*/
|
|
214
|
+
id: string;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* The access pass the lead is interested in, if available.
|
|
218
|
+
*/
|
|
219
|
+
interface Product {
|
|
220
|
+
/**
|
|
221
|
+
* The internal ID of the public product.
|
|
222
|
+
*/
|
|
223
|
+
id: string;
|
|
224
|
+
/**
|
|
225
|
+
* The title of the product. Use for Whop 4.0.
|
|
226
|
+
*/
|
|
227
|
+
title: string;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* The user who is the lead.
|
|
231
|
+
*/
|
|
232
|
+
interface User {
|
|
233
|
+
/**
|
|
234
|
+
* The internal ID of the user.
|
|
235
|
+
*/
|
|
236
|
+
id: string;
|
|
237
|
+
/**
|
|
238
|
+
* The email of the user
|
|
239
|
+
*/
|
|
240
|
+
email: string | null;
|
|
241
|
+
/**
|
|
242
|
+
* The name of the user from their Whop account.
|
|
243
|
+
*/
|
|
244
|
+
name: string | null;
|
|
245
|
+
/**
|
|
246
|
+
* The username of the user from their Whop account.
|
|
247
|
+
*/
|
|
248
|
+
username: string;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* An object representing a lead (someone who is interested in a whop).
|
|
253
|
+
*/
|
|
254
|
+
export interface LeadUpdateResponse {
|
|
255
|
+
/**
|
|
256
|
+
* The ID of the lead.
|
|
257
|
+
*/
|
|
258
|
+
id: string;
|
|
259
|
+
/**
|
|
260
|
+
* The timestamp of when the lead was created.
|
|
261
|
+
*/
|
|
262
|
+
created_at: string;
|
|
263
|
+
/**
|
|
264
|
+
* The converted member, if any.
|
|
265
|
+
*/
|
|
266
|
+
member: LeadUpdateResponse.Member | null;
|
|
267
|
+
/**
|
|
268
|
+
* Custom metadata for the lead.
|
|
269
|
+
*/
|
|
270
|
+
metadata: {
|
|
271
|
+
[key: string]: unknown;
|
|
272
|
+
} | null;
|
|
273
|
+
/**
|
|
274
|
+
* The access pass the lead is interested in, if available.
|
|
275
|
+
*/
|
|
276
|
+
product: LeadUpdateResponse.Product | null;
|
|
277
|
+
/**
|
|
278
|
+
* The referrer URL that brought this lead.
|
|
279
|
+
*/
|
|
280
|
+
referrer: string | null;
|
|
281
|
+
/**
|
|
282
|
+
* The timestamp of when the lead was last updated.
|
|
283
|
+
*/
|
|
284
|
+
updated_at: string;
|
|
285
|
+
/**
|
|
286
|
+
* The user who is the lead.
|
|
287
|
+
*/
|
|
288
|
+
user: LeadUpdateResponse.User;
|
|
289
|
+
}
|
|
290
|
+
export declare namespace LeadUpdateResponse {
|
|
291
|
+
/**
|
|
292
|
+
* The converted member, if any.
|
|
293
|
+
*/
|
|
294
|
+
interface Member {
|
|
295
|
+
/**
|
|
296
|
+
* The ID of the member
|
|
297
|
+
*/
|
|
298
|
+
id: string;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* The access pass the lead is interested in, if available.
|
|
302
|
+
*/
|
|
303
|
+
interface Product {
|
|
304
|
+
/**
|
|
305
|
+
* The internal ID of the public product.
|
|
306
|
+
*/
|
|
307
|
+
id: string;
|
|
308
|
+
/**
|
|
309
|
+
* The title of the product. Use for Whop 4.0.
|
|
310
|
+
*/
|
|
311
|
+
title: string;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* The user who is the lead.
|
|
315
|
+
*/
|
|
316
|
+
interface User {
|
|
317
|
+
/**
|
|
318
|
+
* The internal ID of the user.
|
|
319
|
+
*/
|
|
320
|
+
id: string;
|
|
321
|
+
/**
|
|
322
|
+
* The email of the user
|
|
323
|
+
*/
|
|
324
|
+
email: string | null;
|
|
325
|
+
/**
|
|
326
|
+
* The name of the user from their Whop account.
|
|
327
|
+
*/
|
|
328
|
+
name: string | null;
|
|
329
|
+
/**
|
|
330
|
+
* The username of the user from their Whop account.
|
|
331
|
+
*/
|
|
332
|
+
username: string;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* An object representing a lead (someone who is interested in a whop).
|
|
337
|
+
*/
|
|
338
|
+
export interface LeadListResponse {
|
|
339
|
+
/**
|
|
340
|
+
* The ID of the lead.
|
|
341
|
+
*/
|
|
342
|
+
id: string;
|
|
343
|
+
/**
|
|
344
|
+
* The timestamp of when the lead was created.
|
|
345
|
+
*/
|
|
346
|
+
created_at: string;
|
|
347
|
+
/**
|
|
348
|
+
* The converted member, if any.
|
|
349
|
+
*/
|
|
350
|
+
member: LeadListResponse.Member | null;
|
|
351
|
+
/**
|
|
352
|
+
* Custom metadata for the lead.
|
|
353
|
+
*/
|
|
354
|
+
metadata: {
|
|
355
|
+
[key: string]: unknown;
|
|
356
|
+
} | null;
|
|
357
|
+
/**
|
|
358
|
+
* The access pass the lead is interested in, if available.
|
|
359
|
+
*/
|
|
360
|
+
product: LeadListResponse.Product | null;
|
|
361
|
+
/**
|
|
362
|
+
* The referrer URL that brought this lead.
|
|
363
|
+
*/
|
|
364
|
+
referrer: string | null;
|
|
365
|
+
/**
|
|
366
|
+
* The timestamp of when the lead was last updated.
|
|
367
|
+
*/
|
|
368
|
+
updated_at: string;
|
|
369
|
+
/**
|
|
370
|
+
* The user who is the lead.
|
|
371
|
+
*/
|
|
372
|
+
user: LeadListResponse.User;
|
|
373
|
+
}
|
|
374
|
+
export declare namespace LeadListResponse {
|
|
375
|
+
/**
|
|
376
|
+
* The converted member, if any.
|
|
377
|
+
*/
|
|
378
|
+
interface Member {
|
|
379
|
+
/**
|
|
380
|
+
* The ID of the member
|
|
381
|
+
*/
|
|
382
|
+
id: string;
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* The access pass the lead is interested in, if available.
|
|
386
|
+
*/
|
|
387
|
+
interface Product {
|
|
388
|
+
/**
|
|
389
|
+
* The internal ID of the public product.
|
|
390
|
+
*/
|
|
391
|
+
id: string;
|
|
392
|
+
/**
|
|
393
|
+
* The title of the product. Use for Whop 4.0.
|
|
394
|
+
*/
|
|
395
|
+
title: string;
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* The user who is the lead.
|
|
399
|
+
*/
|
|
400
|
+
interface User {
|
|
401
|
+
/**
|
|
402
|
+
* The internal ID of the user.
|
|
403
|
+
*/
|
|
404
|
+
id: string;
|
|
405
|
+
/**
|
|
406
|
+
* The email of the user
|
|
407
|
+
*/
|
|
408
|
+
email: string | null;
|
|
409
|
+
/**
|
|
410
|
+
* The name of the user from their Whop account.
|
|
411
|
+
*/
|
|
412
|
+
name: string | null;
|
|
413
|
+
/**
|
|
414
|
+
* The username of the user from their Whop account.
|
|
415
|
+
*/
|
|
416
|
+
username: string;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
export interface LeadCreateParams {
|
|
420
|
+
/**
|
|
421
|
+
* The ID of the company to create a lead for.
|
|
422
|
+
*/
|
|
423
|
+
company_id: string;
|
|
424
|
+
/**
|
|
425
|
+
* Custom metadata for the lead.
|
|
426
|
+
*/
|
|
427
|
+
metadata?: {
|
|
428
|
+
[key: string]: unknown;
|
|
429
|
+
} | null;
|
|
430
|
+
/**
|
|
431
|
+
* The ID of the product the lead is interested in.
|
|
432
|
+
*/
|
|
433
|
+
product_id?: string | null;
|
|
434
|
+
/**
|
|
435
|
+
* The url referrer of the lead, if any.
|
|
436
|
+
*/
|
|
437
|
+
referrer?: string | null;
|
|
438
|
+
/**
|
|
439
|
+
* The ID of the user to create a lead for. If the request is made by a user, that
|
|
440
|
+
* user will be used.
|
|
441
|
+
*/
|
|
442
|
+
user_id?: string | null;
|
|
443
|
+
}
|
|
444
|
+
export interface LeadUpdateParams {
|
|
445
|
+
/**
|
|
446
|
+
* Custom metadata for the lead.
|
|
447
|
+
*/
|
|
448
|
+
metadata?: {
|
|
449
|
+
[key: string]: unknown;
|
|
450
|
+
} | null;
|
|
451
|
+
/**
|
|
452
|
+
* The url referrer of the lead.
|
|
453
|
+
*/
|
|
454
|
+
referrer?: string | null;
|
|
455
|
+
}
|
|
456
|
+
export interface LeadListParams extends CursorPageParams {
|
|
457
|
+
/**
|
|
458
|
+
* The ID of the company to list leads for
|
|
459
|
+
*/
|
|
460
|
+
company_id: string;
|
|
461
|
+
/**
|
|
462
|
+
* Returns the elements in the list that come before the specified cursor.
|
|
463
|
+
*/
|
|
464
|
+
before?: string | null;
|
|
465
|
+
/**
|
|
466
|
+
* The minimum creation date to filter by
|
|
467
|
+
*/
|
|
468
|
+
created_after?: string | null;
|
|
469
|
+
/**
|
|
470
|
+
* The maximum creation date to filter by
|
|
471
|
+
*/
|
|
472
|
+
created_before?: string | null;
|
|
473
|
+
/**
|
|
474
|
+
* Returns the first _n_ elements from the list.
|
|
475
|
+
*/
|
|
476
|
+
first?: number | null;
|
|
477
|
+
/**
|
|
478
|
+
* Returns the last _n_ elements from the list.
|
|
479
|
+
*/
|
|
480
|
+
last?: number | null;
|
|
481
|
+
/**
|
|
482
|
+
* The product IDs to filter the leads by
|
|
483
|
+
*/
|
|
484
|
+
product_ids?: Array<string> | null;
|
|
485
|
+
}
|
|
486
|
+
export declare namespace Leads {
|
|
487
|
+
export { type LeadCreateResponse as LeadCreateResponse, type LeadRetrieveResponse as LeadRetrieveResponse, type LeadUpdateResponse as LeadUpdateResponse, type LeadListResponse as LeadListResponse, type LeadListResponsesCursorPage as LeadListResponsesCursorPage, type LeadCreateParams as LeadCreateParams, type LeadUpdateParams as LeadUpdateParams, type LeadListParams as LeadListParams, };
|
|
488
|
+
}
|
|
489
|
+
//# sourceMappingURL=leads.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leads.d.ts","sourceRoot":"","sources":["../src/resources/leads.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;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 @@
|
|
|
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.Leads = 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 Leads extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new lead
|
|
11
|
+
*
|
|
12
|
+
* Required permissions:
|
|
13
|
+
*
|
|
14
|
+
* - `lead:manage`
|
|
15
|
+
* - `member:email:read`
|
|
16
|
+
* - `access_pass:basic:read`
|
|
17
|
+
* - `member:basic:read`
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const lead = await client.leads.create({
|
|
22
|
+
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
create(body, options) {
|
|
27
|
+
return this._client.post('/leads', { body, ...options });
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves a lead by ID
|
|
31
|
+
*
|
|
32
|
+
* Required permissions:
|
|
33
|
+
*
|
|
34
|
+
* - `lead:basic:read`
|
|
35
|
+
* - `member:email:read`
|
|
36
|
+
* - `access_pass:basic:read`
|
|
37
|
+
* - `member:basic:read`
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const lead = await client.leads.retrieve(
|
|
42
|
+
* 'lead_xxxxxxxxxxxxx',
|
|
43
|
+
* );
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
retrieve(id, options) {
|
|
47
|
+
return this._client.get((0, path_1.path) `/leads/${id}`, options);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Updates a lead
|
|
51
|
+
*
|
|
52
|
+
* Required permissions:
|
|
53
|
+
*
|
|
54
|
+
* - `lead:manage`
|
|
55
|
+
* - `member:email:read`
|
|
56
|
+
* - `access_pass:basic:read`
|
|
57
|
+
* - `member:basic:read`
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const lead = await client.leads.update(
|
|
62
|
+
* 'lead_xxxxxxxxxxxxx',
|
|
63
|
+
* );
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
update(id, body = {}, options) {
|
|
67
|
+
return this._client.patch((0, path_1.path) `/leads/${id}`, { body, ...options });
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Lists leads for a company
|
|
71
|
+
*
|
|
72
|
+
* Required permissions:
|
|
73
|
+
*
|
|
74
|
+
* - `lead:basic:read`
|
|
75
|
+
* - `member:email:read`
|
|
76
|
+
* - `access_pass:basic:read`
|
|
77
|
+
* - `member:basic:read`
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```ts
|
|
81
|
+
* // Automatically fetches more pages as needed.
|
|
82
|
+
* for await (const leadListResponse of client.leads.list({
|
|
83
|
+
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
84
|
+
* })) {
|
|
85
|
+
* // ...
|
|
86
|
+
* }
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
list(query, options) {
|
|
90
|
+
return this._client.getAPIList('/leads', (pagination_1.CursorPage), { query, ...options });
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.Leads = Leads;
|
|
94
|
+
//# sourceMappingURL=leads.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leads.js","sourceRoot":"","sources":["../src/resources/leads.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAoF;AAEpF,oDAA8C;AAE9C,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,EAAU,EACV,OAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,IAAI,CACF,KAAqB,EACrB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAA,uBAA4B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AA9FD,sBA8FC"}
|
|
@@ -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 Leads extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Creates a new lead
|
|
8
|
+
*
|
|
9
|
+
* Required permissions:
|
|
10
|
+
*
|
|
11
|
+
* - `lead:manage`
|
|
12
|
+
* - `member:email:read`
|
|
13
|
+
* - `access_pass:basic:read`
|
|
14
|
+
* - `member:basic:read`
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* const lead = await client.leads.create({
|
|
19
|
+
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
create(body, options) {
|
|
24
|
+
return this._client.post('/leads', { body, ...options });
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves a lead by ID
|
|
28
|
+
*
|
|
29
|
+
* Required permissions:
|
|
30
|
+
*
|
|
31
|
+
* - `lead:basic:read`
|
|
32
|
+
* - `member:email:read`
|
|
33
|
+
* - `access_pass:basic:read`
|
|
34
|
+
* - `member:basic:read`
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const lead = await client.leads.retrieve(
|
|
39
|
+
* 'lead_xxxxxxxxxxxxx',
|
|
40
|
+
* );
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
retrieve(id, options) {
|
|
44
|
+
return this._client.get(path `/leads/${id}`, options);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Updates a lead
|
|
48
|
+
*
|
|
49
|
+
* Required permissions:
|
|
50
|
+
*
|
|
51
|
+
* - `lead:manage`
|
|
52
|
+
* - `member:email:read`
|
|
53
|
+
* - `access_pass:basic:read`
|
|
54
|
+
* - `member:basic:read`
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* const lead = await client.leads.update(
|
|
59
|
+
* 'lead_xxxxxxxxxxxxx',
|
|
60
|
+
* );
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
update(id, body = {}, options) {
|
|
64
|
+
return this._client.patch(path `/leads/${id}`, { body, ...options });
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Lists leads for a company
|
|
68
|
+
*
|
|
69
|
+
* Required permissions:
|
|
70
|
+
*
|
|
71
|
+
* - `lead:basic:read`
|
|
72
|
+
* - `member:email:read`
|
|
73
|
+
* - `access_pass:basic:read`
|
|
74
|
+
* - `member:basic:read`
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```ts
|
|
78
|
+
* // Automatically fetches more pages as needed.
|
|
79
|
+
* for await (const leadListResponse of client.leads.list({
|
|
80
|
+
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
81
|
+
* })) {
|
|
82
|
+
* // ...
|
|
83
|
+
* }
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
list(query, options) {
|
|
87
|
+
return this._client.getAPIList('/leads', (CursorPage), { query, ...options });
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=leads.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leads.mjs","sourceRoot":"","sources":["../src/resources/leads.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,EAAU,EACV,OAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,IAAI,CACF,KAAqB,EACrB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAA,UAA4B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF"}
|