@whop/sdk 0.0.25 → 0.0.27
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 +58 -0
- package/client.d.mts +29 -25
- package/client.d.mts.map +1 -1
- package/client.d.ts +29 -25
- package/client.d.ts.map +1 -1
- package/client.js +14 -3
- package/client.js.map +1 -1
- package/client.mjs +16 -5
- 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 +3 -3
- package/resources/access-tokens.d.mts +32 -51
- package/resources/access-tokens.d.mts.map +1 -1
- package/resources/access-tokens.d.ts +32 -51
- package/resources/access-tokens.d.ts.map +1 -1
- package/resources/access-tokens.js +6 -8
- package/resources/access-tokens.js.map +1 -1
- package/resources/access-tokens.mjs +6 -8
- package/resources/access-tokens.mjs.map +1 -1
- package/resources/ai-chats.d.mts +36 -104
- package/resources/ai-chats.d.mts.map +1 -1
- package/resources/ai-chats.d.ts +36 -104
- package/resources/ai-chats.d.ts.map +1 -1
- package/resources/ai-chats.js +1 -1
- package/resources/ai-chats.js.map +1 -1
- package/resources/ai-chats.mjs +1 -1
- package/resources/ai-chats.mjs.map +1 -1
- package/resources/app-builds.d.mts +2 -2
- package/resources/app-builds.d.ts +2 -2
- package/resources/apps.d.mts +5 -4
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +5 -4
- package/resources/apps.d.ts.map +1 -1
- package/resources/authorized-users.d.mts +43 -9
- package/resources/authorized-users.d.mts.map +1 -1
- package/resources/authorized-users.d.ts +43 -9
- 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/chat-channels.d.mts +1 -1
- package/resources/chat-channels.d.ts +1 -1
- package/resources/checkout-configurations.d.mts +24 -16
- package/resources/checkout-configurations.d.mts.map +1 -1
- package/resources/checkout-configurations.d.ts +24 -16
- package/resources/checkout-configurations.d.ts.map +1 -1
- package/resources/companies.d.mts +38 -25
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +38 -25
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.js +7 -4
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +7 -4
- package/resources/companies.mjs.map +1 -1
- package/resources/company-token-transactions.d.mts +23 -109
- package/resources/company-token-transactions.d.mts.map +1 -1
- package/resources/company-token-transactions.d.ts +23 -109
- package/resources/company-token-transactions.d.ts.map +1 -1
- package/resources/course-chapters.d.mts +3 -3
- package/resources/course-chapters.d.ts +3 -3
- package/resources/course-lessons.d.mts +15 -15
- package/resources/course-lessons.d.ts +15 -15
- package/resources/course-students.d.mts +6 -6
- package/resources/course-students.d.ts +6 -6
- package/resources/courses.d.mts +8 -8
- package/resources/courses.d.ts +8 -8
- package/resources/disputes.d.mts +20 -18
- package/resources/disputes.d.mts.map +1 -1
- package/resources/disputes.d.ts +20 -18
- package/resources/disputes.d.ts.map +1 -1
- 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 +14 -66
- package/resources/dm-members.d.mts.map +1 -1
- package/resources/dm-members.d.ts +14 -66
- package/resources/dm-members.d.ts.map +1 -1
- package/resources/entries.d.mts +6 -6
- package/resources/entries.d.ts +6 -6
- package/resources/experiences.d.mts +6 -5
- package/resources/experiences.d.mts.map +1 -1
- package/resources/experiences.d.ts +6 -5
- package/resources/experiences.d.ts.map +1 -1
- package/resources/fee-markups.d.mts +6 -6
- package/resources/fee-markups.d.ts +6 -6
- package/resources/files.d.mts +9 -5
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +9 -5
- package/resources/files.d.ts.map +1 -1
- package/resources/forum-posts.d.mts +8 -4
- package/resources/forum-posts.d.mts.map +1 -1
- package/resources/forum-posts.d.ts +8 -4
- package/resources/forum-posts.d.ts.map +1 -1
- package/resources/forums.d.mts +1 -1
- package/resources/forums.d.ts +1 -1
- package/resources/index.d.mts +12 -11
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +12 -11
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -2
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.mts +28 -20
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +28 -20
- package/resources/invoices.d.ts.map +1 -1
- package/resources/leads.d.mts +21 -189
- package/resources/leads.d.mts.map +1 -1
- package/resources/leads.d.ts +21 -189
- package/resources/leads.d.ts.map +1 -1
- package/resources/ledger-accounts.d.mts +12 -9
- package/resources/ledger-accounts.d.mts.map +1 -1
- package/resources/ledger-accounts.d.ts +12 -9
- 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 +14 -14
- package/resources/members.d.mts.map +1 -1
- package/resources/members.d.ts +14 -14
- 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 +25 -15
- package/resources/memberships.d.mts.map +1 -1
- package/resources/memberships.d.ts +25 -15
- package/resources/memberships.d.ts.map +1 -1
- package/resources/messages.d.mts +7 -3
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +7 -3
- package/resources/messages.d.ts.map +1 -1
- package/resources/payments.d.mts +59 -19
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +59 -19
- package/resources/payments.d.ts.map +1 -1
- package/resources/payout-methods.d.mts +14 -9
- package/resources/payout-methods.d.mts.map +1 -1
- package/resources/payout-methods.d.ts +14 -9
- 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/plans.d.mts +34 -24
- package/resources/plans.d.mts.map +1 -1
- package/resources/plans.d.ts +34 -24
- package/resources/plans.d.ts.map +1 -1
- package/resources/products.d.mts +4 -2
- package/resources/products.d.mts.map +1 -1
- package/resources/products.d.ts +4 -2
- package/resources/products.d.ts.map +1 -1
- package/resources/promo-codes.d.mts +22 -12
- package/resources/promo-codes.d.mts.map +1 -1
- package/resources/promo-codes.d.ts +22 -12
- package/resources/promo-codes.d.ts.map +1 -1
- package/resources/reactions.d.mts +1 -1
- package/resources/reactions.d.ts +1 -1
- package/resources/refunds.d.mts +19 -15
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +19 -15
- package/resources/refunds.d.ts.map +1 -1
- package/resources/reviews.d.mts +10 -10
- package/resources/reviews.d.ts +10 -10
- package/resources/setup-intents.d.mts +18 -20
- package/resources/setup-intents.d.mts.map +1 -1
- package/resources/setup-intents.d.ts +18 -20
- package/resources/setup-intents.d.ts.map +1 -1
- package/resources/shared.d.mts +209 -137
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +209 -137
- package/resources/shared.d.ts.map +1 -1
- package/resources/shipments.d.mts +4 -4
- package/resources/shipments.d.ts +4 -4
- package/resources/support-channels.d.mts +1 -1
- package/resources/support-channels.d.ts +1 -1
- package/resources/topups.d.mts +6 -4
- package/resources/topups.d.mts.map +1 -1
- package/resources/topups.d.ts +6 -4
- package/resources/topups.d.ts.map +1 -1
- package/resources/transfers.d.mts +8 -5
- package/resources/transfers.d.mts.map +1 -1
- package/resources/transfers.d.ts +8 -5
- package/resources/transfers.d.ts.map +1 -1
- package/resources/users.d.mts +46 -8
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +46 -8
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +10 -0
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +10 -0
- package/resources/users.mjs.map +1 -1
- package/resources/verifications.d.mts +12 -4
- package/resources/verifications.d.mts.map +1 -1
- package/resources/verifications.d.ts +12 -4
- package/resources/verifications.d.ts.map +1 -1
- package/resources/webhooks.d.mts +105 -350
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +105 -350
- 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 +32 -139
- package/resources/withdrawals.d.mts.map +1 -1
- package/resources/withdrawals.d.ts +32 -139
- package/resources/withdrawals.d.ts.map +1 -1
- package/src/client.ts +87 -41
- package/src/internal/parse.ts +6 -0
- package/src/resources/access-tokens.ts +35 -56
- package/src/resources/ai-chats.ts +36 -122
- package/src/resources/app-builds.ts +2 -2
- package/src/resources/apps.ts +5 -4
- package/src/resources/authorized-users.ts +49 -9
- package/src/resources/chat-channels.ts +1 -1
- package/src/resources/checkout-configurations.ts +24 -16
- package/src/resources/companies.ts +41 -26
- package/src/resources/company-token-transactions.ts +24 -126
- package/src/resources/course-chapters.ts +3 -3
- package/src/resources/course-lessons.ts +15 -15
- package/src/resources/course-students.ts +6 -6
- package/src/resources/courses.ts +8 -8
- package/src/resources/disputes.ts +20 -18
- package/src/resources/dm-channels.ts +212 -0
- package/src/resources/dm-members.ts +16 -78
- package/src/resources/entries.ts +6 -6
- package/src/resources/experiences.ts +6 -5
- package/src/resources/fee-markups.ts +6 -6
- package/src/resources/files.ts +10 -4
- package/src/resources/forum-posts.ts +8 -4
- package/src/resources/forums.ts +1 -1
- package/src/resources/index.ts +38 -18
- package/src/resources/invoices.ts +28 -20
- package/src/resources/leads.ts +21 -217
- package/src/resources/ledger-accounts.ts +12 -42
- package/src/resources/members.ts +15 -15
- package/src/resources/memberships.ts +34 -30
- package/src/resources/messages.ts +7 -3
- package/src/resources/payments.ts +67 -17
- package/src/resources/payout-methods.ts +21 -8
- package/src/resources/plans.ts +34 -24
- package/src/resources/products.ts +4 -2
- package/src/resources/promo-codes.ts +22 -12
- package/src/resources/reactions.ts +1 -1
- package/src/resources/refunds.ts +20 -15
- package/src/resources/reviews.ts +10 -10
- package/src/resources/setup-intents.ts +18 -20
- package/src/resources/shared.ts +217 -145
- package/src/resources/shipments.ts +4 -4
- package/src/resources/support-channels.ts +1 -1
- package/src/resources/topups.ts +6 -4
- package/src/resources/transfers.ts +8 -5
- package/src/resources/users.ts +58 -8
- package/src/resources/verifications.ts +50 -37
- package/src/resources/webhooks.ts +138 -785
- package/src/resources/withdrawals.ts +39 -216
- 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
|
@@ -3,19 +3,17 @@ import { APIPromise } from "../core/api-promise.mjs";
|
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
4
|
export declare class AccessTokens extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* Create a short-lived access token to authenticate API requests
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* Create a short-lived access token to authenticate API requests. When using API
|
|
7
|
+
* key authentication, provide company_id or user_id. When using OAuth
|
|
8
|
+
* authentication, the user is derived from the token. This token should be used
|
|
9
|
+
* with Whop's web and mobile embedded components.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
13
|
-
* const accessToken = await client.accessTokens.create(
|
|
14
|
-
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
15
|
-
* });
|
|
13
|
+
* const accessToken = await client.accessTokens.create();
|
|
16
14
|
* ```
|
|
17
15
|
*/
|
|
18
|
-
create(body
|
|
16
|
+
create(body?: AccessTokenCreateParams | null | undefined, options?: RequestOptions): APIPromise<AccessTokenCreateResponse>;
|
|
19
17
|
}
|
|
20
18
|
/**
|
|
21
19
|
* An object representing an access token used for authenticating API requests.
|
|
@@ -30,49 +28,32 @@ export interface AccessTokenCreateResponse {
|
|
|
30
28
|
*/
|
|
31
29
|
expires_at: string;
|
|
32
30
|
}
|
|
33
|
-
export
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
* to access this User.
|
|
60
|
-
*/
|
|
61
|
-
user_id: string;
|
|
62
|
-
/**
|
|
63
|
-
* The expiration timestamp for the access token. If not provided, a default
|
|
64
|
-
* expiration time of 1 hour will be used. The expiration can be set to a maximum
|
|
65
|
-
* of 3 hours from the current time.
|
|
66
|
-
*/
|
|
67
|
-
expires_at?: string | null;
|
|
68
|
-
/**
|
|
69
|
-
* Array of desired scoped actions for the access token. If sent as an empty array
|
|
70
|
-
* or not provided, all permissions from the API key making the request will be
|
|
71
|
-
* available on the token. If sending an explicit list, they must be a subset of
|
|
72
|
-
* the API keys's existing permissions. Otherwise, an error will be raised.
|
|
73
|
-
*/
|
|
74
|
-
scoped_actions?: Array<string> | null;
|
|
75
|
-
}
|
|
31
|
+
export interface AccessTokenCreateParams {
|
|
32
|
+
/**
|
|
33
|
+
* The ID of the Company to generate the token for. The API key must have
|
|
34
|
+
* permission to access this Company, such as the being the company the API key
|
|
35
|
+
* belongs to or a sub-merchant of it
|
|
36
|
+
*/
|
|
37
|
+
company_id?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The expiration timestamp for the access token. If not provided, a default
|
|
40
|
+
* expiration time of 1 hour will be used. The expiration can be set to a maximum
|
|
41
|
+
* of 3 hours from the current time.
|
|
42
|
+
*/
|
|
43
|
+
expires_at?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Array of desired scoped actions for the access token. If sent as an empty array
|
|
46
|
+
* or not provided, all permissions from the authenticating credential (API key or
|
|
47
|
+
* OAuth token) will be available on the token. If sending an explicit list, they
|
|
48
|
+
* must be a subset of the credential's existing permissions. Otherwise, an error
|
|
49
|
+
* will be raised.
|
|
50
|
+
*/
|
|
51
|
+
scoped_actions?: Array<string> | null;
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the User to generate the token for. The API key must have permission
|
|
54
|
+
* to access this User.
|
|
55
|
+
*/
|
|
56
|
+
user_id?: string | null;
|
|
76
57
|
}
|
|
77
58
|
export declare namespace AccessTokens {
|
|
78
59
|
export { type AccessTokenCreateResponse as AccessTokenCreateResponse, type AccessTokenCreateParams as AccessTokenCreateParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-tokens.d.mts","sourceRoot":"","sources":["../src/resources/access-tokens.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"access-tokens.d.mts","sourceRoot":"","sources":["../src/resources/access-tokens.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;OAUG;IACH,MAAM,CACJ,IAAI,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;CAGzC;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEtC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -3,19 +3,17 @@ import { APIPromise } from "../core/api-promise.js";
|
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
4
|
export declare class AccessTokens extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* Create a short-lived access token to authenticate API requests
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* Create a short-lived access token to authenticate API requests. When using API
|
|
7
|
+
* key authentication, provide company_id or user_id. When using OAuth
|
|
8
|
+
* authentication, the user is derived from the token. This token should be used
|
|
9
|
+
* with Whop's web and mobile embedded components.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
13
|
-
* const accessToken = await client.accessTokens.create(
|
|
14
|
-
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
15
|
-
* });
|
|
13
|
+
* const accessToken = await client.accessTokens.create();
|
|
16
14
|
* ```
|
|
17
15
|
*/
|
|
18
|
-
create(body
|
|
16
|
+
create(body?: AccessTokenCreateParams | null | undefined, options?: RequestOptions): APIPromise<AccessTokenCreateResponse>;
|
|
19
17
|
}
|
|
20
18
|
/**
|
|
21
19
|
* An object representing an access token used for authenticating API requests.
|
|
@@ -30,49 +28,32 @@ export interface AccessTokenCreateResponse {
|
|
|
30
28
|
*/
|
|
31
29
|
expires_at: string;
|
|
32
30
|
}
|
|
33
|
-
export
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
* to access this User.
|
|
60
|
-
*/
|
|
61
|
-
user_id: string;
|
|
62
|
-
/**
|
|
63
|
-
* The expiration timestamp for the access token. If not provided, a default
|
|
64
|
-
* expiration time of 1 hour will be used. The expiration can be set to a maximum
|
|
65
|
-
* of 3 hours from the current time.
|
|
66
|
-
*/
|
|
67
|
-
expires_at?: string | null;
|
|
68
|
-
/**
|
|
69
|
-
* Array of desired scoped actions for the access token. If sent as an empty array
|
|
70
|
-
* or not provided, all permissions from the API key making the request will be
|
|
71
|
-
* available on the token. If sending an explicit list, they must be a subset of
|
|
72
|
-
* the API keys's existing permissions. Otherwise, an error will be raised.
|
|
73
|
-
*/
|
|
74
|
-
scoped_actions?: Array<string> | null;
|
|
75
|
-
}
|
|
31
|
+
export interface AccessTokenCreateParams {
|
|
32
|
+
/**
|
|
33
|
+
* The ID of the Company to generate the token for. The API key must have
|
|
34
|
+
* permission to access this Company, such as the being the company the API key
|
|
35
|
+
* belongs to or a sub-merchant of it
|
|
36
|
+
*/
|
|
37
|
+
company_id?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The expiration timestamp for the access token. If not provided, a default
|
|
40
|
+
* expiration time of 1 hour will be used. The expiration can be set to a maximum
|
|
41
|
+
* of 3 hours from the current time.
|
|
42
|
+
*/
|
|
43
|
+
expires_at?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Array of desired scoped actions for the access token. If sent as an empty array
|
|
46
|
+
* or not provided, all permissions from the authenticating credential (API key or
|
|
47
|
+
* OAuth token) will be available on the token. If sending an explicit list, they
|
|
48
|
+
* must be a subset of the credential's existing permissions. Otherwise, an error
|
|
49
|
+
* will be raised.
|
|
50
|
+
*/
|
|
51
|
+
scoped_actions?: Array<string> | null;
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the User to generate the token for. The API key must have permission
|
|
54
|
+
* to access this User.
|
|
55
|
+
*/
|
|
56
|
+
user_id?: string | null;
|
|
76
57
|
}
|
|
77
58
|
export declare namespace AccessTokens {
|
|
78
59
|
export { type AccessTokenCreateResponse as AccessTokenCreateResponse, type AccessTokenCreateParams as AccessTokenCreateParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-tokens.d.ts","sourceRoot":"","sources":["../src/resources/access-tokens.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"access-tokens.d.ts","sourceRoot":"","sources":["../src/resources/access-tokens.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;OAUG;IACH,MAAM,CACJ,IAAI,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;CAGzC;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEtC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -5,19 +5,17 @@ exports.AccessTokens = void 0;
|
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
6
|
class AccessTokens extends resource_1.APIResource {
|
|
7
7
|
/**
|
|
8
|
-
* Create a short-lived access token to authenticate API requests
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
8
|
+
* Create a short-lived access token to authenticate API requests. When using API
|
|
9
|
+
* key authentication, provide company_id or user_id. When using OAuth
|
|
10
|
+
* authentication, the user is derived from the token. This token should be used
|
|
11
|
+
* with Whop's web and mobile embedded components.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```ts
|
|
15
|
-
* const accessToken = await client.accessTokens.create(
|
|
16
|
-
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
17
|
-
* });
|
|
15
|
+
* const accessToken = await client.accessTokens.create();
|
|
18
16
|
* ```
|
|
19
17
|
*/
|
|
20
|
-
create(body, options) {
|
|
18
|
+
create(body = {}, options) {
|
|
21
19
|
return this._client.post('/access_tokens', { body, ...options });
|
|
22
20
|
}
|
|
23
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-tokens.js","sourceRoot":"","sources":["../src/resources/access-tokens.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,YAAa,SAAQ,sBAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"access-tokens.js","sourceRoot":"","sources":["../src/resources/access-tokens.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;OAUG;IACH,MAAM,CACJ,OAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AAlBD,oCAkBC"}
|
|
@@ -2,19 +2,17 @@
|
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
3
|
export class AccessTokens extends APIResource {
|
|
4
4
|
/**
|
|
5
|
-
* Create a short-lived access token to authenticate API requests
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* Create a short-lived access token to authenticate API requests. When using API
|
|
6
|
+
* key authentication, provide company_id or user_id. When using OAuth
|
|
7
|
+
* authentication, the user is derived from the token. This token should be used
|
|
8
|
+
* with Whop's web and mobile embedded components.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```ts
|
|
12
|
-
* const accessToken = await client.accessTokens.create(
|
|
13
|
-
* company_id: 'biz_xxxxxxxxxxxxxx',
|
|
14
|
-
* });
|
|
12
|
+
* const accessToken = await client.accessTokens.create();
|
|
15
13
|
* ```
|
|
16
14
|
*/
|
|
17
|
-
create(body, options) {
|
|
15
|
+
create(body = {}, options) {
|
|
18
16
|
return this._client.post('/access_tokens', { body, ...options });
|
|
19
17
|
}
|
|
20
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-tokens.mjs","sourceRoot":"","sources":["../src/resources/access-tokens.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"access-tokens.mjs","sourceRoot":"","sources":["../src/resources/access-tokens.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;OAUG;IACH,MAAM,CACJ,OAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF"}
|
package/resources/ai-chats.d.mts
CHANGED
|
@@ -10,11 +10,11 @@ export declare class AIChats extends APIResource {
|
|
|
10
10
|
*
|
|
11
11
|
* - `ai_chat:create`
|
|
12
12
|
*/
|
|
13
|
-
create(body
|
|
13
|
+
create(body: AIChatCreateParams, options?: RequestOptions): APIPromise<AIChat>;
|
|
14
14
|
/**
|
|
15
15
|
* Fetches a single AI chat by ID
|
|
16
16
|
*/
|
|
17
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<
|
|
17
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<AIChat>;
|
|
18
18
|
/**
|
|
19
19
|
* Updates an AI chat
|
|
20
20
|
*
|
|
@@ -22,7 +22,7 @@ export declare class AIChats extends APIResource {
|
|
|
22
22
|
*
|
|
23
23
|
* - `ai_chat:update`
|
|
24
24
|
*/
|
|
25
|
-
update(id: string, body?: AIChatUpdateParams | null | undefined, options?: RequestOptions): APIPromise<
|
|
25
|
+
update(id: string, body?: AIChatUpdateParams | null | undefined, options?: RequestOptions): APIPromise<AIChat>;
|
|
26
26
|
/**
|
|
27
27
|
* Fetches all AI chats for the current user
|
|
28
28
|
*/
|
|
@@ -40,9 +40,9 @@ export type AIChatListResponsesCursorPage = CursorPage<AIChatListResponse>;
|
|
|
40
40
|
/**
|
|
41
41
|
* An AI chat conversation belonging to a user
|
|
42
42
|
*/
|
|
43
|
-
export interface
|
|
43
|
+
export interface AIChat {
|
|
44
44
|
/**
|
|
45
|
-
* The unique identifier for the
|
|
45
|
+
* The unique identifier for the ai chat.
|
|
46
46
|
*/
|
|
47
47
|
id: string;
|
|
48
48
|
/**
|
|
@@ -50,7 +50,7 @@ export interface AIChatCreateResponse {
|
|
|
50
50
|
*/
|
|
51
51
|
blended_token_usage: string;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* The datetime the ai chat was created.
|
|
54
54
|
*/
|
|
55
55
|
created_at: string;
|
|
56
56
|
/**
|
|
@@ -66,21 +66,21 @@ export interface AIChatCreateResponse {
|
|
|
66
66
|
*/
|
|
67
67
|
title: string | null;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* The datetime the ai chat was last updated.
|
|
70
70
|
*/
|
|
71
71
|
updated_at: string;
|
|
72
72
|
/**
|
|
73
73
|
* The user who owns the AI chat
|
|
74
74
|
*/
|
|
75
|
-
user:
|
|
75
|
+
user: AIChat.User;
|
|
76
76
|
}
|
|
77
|
-
export declare namespace
|
|
77
|
+
export declare namespace AIChat {
|
|
78
78
|
/**
|
|
79
79
|
* The user who owns the AI chat
|
|
80
80
|
*/
|
|
81
81
|
interface User {
|
|
82
82
|
/**
|
|
83
|
-
* The
|
|
83
|
+
* The unique identifier for the user.
|
|
84
84
|
*/
|
|
85
85
|
id: string;
|
|
86
86
|
}
|
|
@@ -88,57 +88,9 @@ export declare namespace AIChatCreateResponse {
|
|
|
88
88
|
/**
|
|
89
89
|
* An AI chat conversation belonging to a user
|
|
90
90
|
*/
|
|
91
|
-
export interface
|
|
92
|
-
/**
|
|
93
|
-
* The unique identifier for the AI chat
|
|
94
|
-
*/
|
|
95
|
-
id: string;
|
|
96
|
-
/**
|
|
97
|
-
* The total number of tokens used in the chat
|
|
98
|
-
*/
|
|
99
|
-
blended_token_usage: string;
|
|
100
|
-
/**
|
|
101
|
-
* When the AI chat was created
|
|
102
|
-
*/
|
|
103
|
-
created_at: string;
|
|
104
|
-
/**
|
|
105
|
-
* When the last message was sent
|
|
106
|
-
*/
|
|
107
|
-
last_message_at: string | null;
|
|
108
|
-
/**
|
|
109
|
-
* The number of messages in the chat
|
|
110
|
-
*/
|
|
111
|
-
message_count: number;
|
|
112
|
-
/**
|
|
113
|
-
* The title of the AI chat
|
|
114
|
-
*/
|
|
115
|
-
title: string | null;
|
|
116
|
-
/**
|
|
117
|
-
* When the AI chat was last updated
|
|
118
|
-
*/
|
|
119
|
-
updated_at: string;
|
|
120
|
-
/**
|
|
121
|
-
* The user who owns the AI chat
|
|
122
|
-
*/
|
|
123
|
-
user: AIChatRetrieveResponse.User;
|
|
124
|
-
}
|
|
125
|
-
export declare namespace AIChatRetrieveResponse {
|
|
126
|
-
/**
|
|
127
|
-
* The user who owns the AI chat
|
|
128
|
-
*/
|
|
129
|
-
interface User {
|
|
130
|
-
/**
|
|
131
|
-
* The internal ID of the user.
|
|
132
|
-
*/
|
|
133
|
-
id: string;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* An AI chat conversation belonging to a user
|
|
138
|
-
*/
|
|
139
|
-
export interface AIChatUpdateResponse {
|
|
91
|
+
export interface AIChatListResponse {
|
|
140
92
|
/**
|
|
141
|
-
* The unique identifier for the
|
|
93
|
+
* The unique identifier for the ai chat.
|
|
142
94
|
*/
|
|
143
95
|
id: string;
|
|
144
96
|
/**
|
|
@@ -146,7 +98,7 @@ export interface AIChatUpdateResponse {
|
|
|
146
98
|
*/
|
|
147
99
|
blended_token_usage: string;
|
|
148
100
|
/**
|
|
149
|
-
*
|
|
101
|
+
* The datetime the ai chat was created.
|
|
150
102
|
*/
|
|
151
103
|
created_at: string;
|
|
152
104
|
/**
|
|
@@ -162,84 +114,64 @@ export interface AIChatUpdateResponse {
|
|
|
162
114
|
*/
|
|
163
115
|
title: string | null;
|
|
164
116
|
/**
|
|
165
|
-
*
|
|
117
|
+
* The datetime the ai chat was last updated.
|
|
166
118
|
*/
|
|
167
119
|
updated_at: string;
|
|
168
120
|
/**
|
|
169
121
|
* The user who owns the AI chat
|
|
170
122
|
*/
|
|
171
|
-
user:
|
|
123
|
+
user: AIChatListResponse.User;
|
|
172
124
|
}
|
|
173
|
-
export declare namespace
|
|
125
|
+
export declare namespace AIChatListResponse {
|
|
174
126
|
/**
|
|
175
127
|
* The user who owns the AI chat
|
|
176
128
|
*/
|
|
177
129
|
interface User {
|
|
178
130
|
/**
|
|
179
|
-
* The
|
|
131
|
+
* The unique identifier for the user.
|
|
180
132
|
*/
|
|
181
133
|
id: string;
|
|
182
134
|
}
|
|
183
135
|
}
|
|
184
136
|
/**
|
|
185
|
-
*
|
|
137
|
+
* Represents `true` or `false` values.
|
|
186
138
|
*/
|
|
187
|
-
export
|
|
188
|
-
|
|
189
|
-
* The unique identifier for the AI chat
|
|
190
|
-
*/
|
|
191
|
-
id: string;
|
|
192
|
-
/**
|
|
193
|
-
* The total number of tokens used in the chat
|
|
194
|
-
*/
|
|
195
|
-
blended_token_usage: string;
|
|
139
|
+
export type AIChatDeleteResponse = boolean;
|
|
140
|
+
export interface AIChatCreateParams {
|
|
196
141
|
/**
|
|
197
|
-
*
|
|
142
|
+
* The text content of the first message sent in the chat
|
|
198
143
|
*/
|
|
199
|
-
|
|
144
|
+
message_text: string;
|
|
200
145
|
/**
|
|
201
|
-
*
|
|
146
|
+
* The ID of the company to set as the current company in context for the AI chat
|
|
202
147
|
*/
|
|
203
|
-
|
|
148
|
+
current_company_id?: string | null;
|
|
204
149
|
/**
|
|
205
|
-
* The
|
|
150
|
+
* The IDs of existing uploaded attachments to include in the first message to the
|
|
151
|
+
* agent
|
|
206
152
|
*/
|
|
207
|
-
|
|
153
|
+
message_attachments?: Array<AIChatCreateParams.MessageAttachment> | null;
|
|
208
154
|
/**
|
|
209
155
|
* The title of the AI chat
|
|
210
156
|
*/
|
|
211
|
-
title
|
|
212
|
-
/**
|
|
213
|
-
* When the AI chat was last updated
|
|
214
|
-
*/
|
|
215
|
-
updated_at: string;
|
|
216
|
-
/**
|
|
217
|
-
* The user who owns the AI chat
|
|
218
|
-
*/
|
|
219
|
-
user: AIChatListResponse.User;
|
|
157
|
+
title?: string | null;
|
|
220
158
|
}
|
|
221
|
-
export declare namespace
|
|
159
|
+
export declare namespace AIChatCreateParams {
|
|
222
160
|
/**
|
|
223
|
-
*
|
|
161
|
+
* Input for an attachment
|
|
224
162
|
*/
|
|
225
|
-
interface
|
|
163
|
+
interface MessageAttachment {
|
|
226
164
|
/**
|
|
227
|
-
* The
|
|
165
|
+
* The ID of an existing file object.
|
|
228
166
|
*/
|
|
229
167
|
id: string;
|
|
230
168
|
}
|
|
231
169
|
}
|
|
232
|
-
|
|
233
|
-
* Represents `true` or `false` values.
|
|
234
|
-
*/
|
|
235
|
-
export type AIChatDeleteResponse = boolean;
|
|
236
|
-
export interface AIChatCreateParams {
|
|
170
|
+
export interface AIChatUpdateParams {
|
|
237
171
|
/**
|
|
238
|
-
* The
|
|
172
|
+
* The ID of the company to set as the current company in context for the AI chat
|
|
239
173
|
*/
|
|
240
|
-
|
|
241
|
-
}
|
|
242
|
-
export interface AIChatUpdateParams {
|
|
174
|
+
current_company_id?: string | null;
|
|
243
175
|
/**
|
|
244
176
|
* The new title for the AI chat
|
|
245
177
|
*/
|
|
@@ -260,6 +192,6 @@ export interface AIChatListParams extends CursorPageParams {
|
|
|
260
192
|
last?: number | null;
|
|
261
193
|
}
|
|
262
194
|
export declare namespace AIChats {
|
|
263
|
-
export { type
|
|
195
|
+
export { type AIChat as AIChat, type AIChatListResponse as AIChatListResponse, type AIChatDeleteResponse as AIChatDeleteResponse, type AIChatListResponsesCursorPage as AIChatListResponsesCursorPage, type AIChatCreateParams as AIChatCreateParams, type AIChatUpdateParams as AIChatUpdateParams, type AIChatListParams as AIChatListParams, };
|
|
264
196
|
}
|
|
265
197
|
//# sourceMappingURL=ai-chats.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-chats.d.mts","sourceRoot":"","sources":["../src/resources/ai-chats.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,OAAQ,SAAQ,WAAW;IACtC;;;;;;OAMG;IACH,MAAM,
|
|
1
|
+
{"version":3,"file":"ai-chats.d.mts","sourceRoot":"","sources":["../src/resources/ai-chats.ts"],"names":[],"mappings":"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"}
|