@composio/client 0.1.0-alpha.12 → 0.1.0-alpha.13
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 +8 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth/auth.d.mts +10 -0
- package/resources/auth/auth.d.mts.map +1 -0
- package/resources/auth/auth.d.ts +10 -0
- package/resources/auth/auth.d.ts.map +1 -0
- package/resources/auth/auth.js +17 -0
- package/resources/auth/auth.js.map +1 -0
- package/resources/auth/auth.mjs +12 -0
- package/resources/auth/auth.mjs.map +1 -0
- package/resources/auth/index.d.mts +3 -0
- package/resources/auth/index.d.mts.map +1 -0
- package/resources/auth/index.d.ts +3 -0
- package/resources/auth/index.d.ts.map +1 -0
- package/resources/auth/index.js +9 -0
- package/resources/auth/index.js.map +1 -0
- package/resources/auth/index.mjs +4 -0
- package/resources/auth/index.mjs.map +1 -0
- package/resources/auth/session.d.mts +240 -0
- package/resources/auth/session.d.mts.map +1 -0
- package/resources/auth/session.d.ts +240 -0
- package/resources/auth/session.d.ts.map +1 -0
- package/resources/auth/session.js +19 -0
- package/resources/auth/session.js.map +1 -0
- package/resources/auth/session.mjs +15 -0
- package/resources/auth/session.mjs.map +1 -0
- package/resources/auth.d.mts +2 -0
- package/resources/auth.d.mts.map +1 -0
- package/resources/auth.d.ts +2 -0
- package/resources/auth.d.ts.map +1 -0
- package/resources/auth.js +6 -0
- package/resources/auth.js.map +1 -0
- package/resources/auth.mjs +3 -0
- package/resources/auth.mjs.map +1 -0
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- 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 +1 -0
- package/resources/index.mjs.map +1 -1
- package/src/client.ts +5 -0
- package/src/resources/auth/auth.ts +15 -0
- package/src/resources/auth/index.ts +4 -0
- package/src/resources/auth/session.ts +292 -0
- package/src/resources/auth.ts +3 -0
- package/src/resources/index.ts +1 -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,240 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
export declare class Session extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieves detailed information about the current authenticated user session,
|
|
7
|
+
* including project details, organization membership, and API key information if
|
|
8
|
+
* applicable. This endpoint is useful for verifying authentication status and
|
|
9
|
+
* retrieving contextual information about the authenticated user and their access
|
|
10
|
+
* privileges.
|
|
11
|
+
*/
|
|
12
|
+
info(options?: RequestOptions): APIPromise<SessionInfoResponse>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Response containing user session information
|
|
16
|
+
*/
|
|
17
|
+
export interface SessionInfoResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Details of the API key used for authentication (null if using session auth)
|
|
20
|
+
*/
|
|
21
|
+
api_key: SessionInfoResponse.APIKey | null;
|
|
22
|
+
/**
|
|
23
|
+
* Information about the authenticated user
|
|
24
|
+
*/
|
|
25
|
+
org_member: SessionInfoResponse.OrgMember;
|
|
26
|
+
/**
|
|
27
|
+
* Details of the current active project (null if accessing with org-level
|
|
28
|
+
* credentials)
|
|
29
|
+
*/
|
|
30
|
+
project: SessionInfoResponse.Project | null;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace SessionInfoResponse {
|
|
33
|
+
/**
|
|
34
|
+
* Details of the API key used for authentication (null if using session auth)
|
|
35
|
+
*/
|
|
36
|
+
interface APIKey {
|
|
37
|
+
/**
|
|
38
|
+
* UUID identifier for the API key
|
|
39
|
+
*/
|
|
40
|
+
id: string;
|
|
41
|
+
/**
|
|
42
|
+
* Internal auto-incrementing ID for the API key
|
|
43
|
+
*/
|
|
44
|
+
auto_id: number;
|
|
45
|
+
/**
|
|
46
|
+
* Date and time when the API key was created
|
|
47
|
+
*/
|
|
48
|
+
created_at: string;
|
|
49
|
+
/**
|
|
50
|
+
* Flag indicating if the API key has been deleted
|
|
51
|
+
*/
|
|
52
|
+
deleted: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Date and time when the API key was deleted (if applicable)
|
|
55
|
+
*/
|
|
56
|
+
deleted_at: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* The actual API key value (usually only shown once during creation)
|
|
59
|
+
*/
|
|
60
|
+
key: string;
|
|
61
|
+
/**
|
|
62
|
+
* User-defined name for the API key
|
|
63
|
+
*/
|
|
64
|
+
name: string;
|
|
65
|
+
/**
|
|
66
|
+
* UUID identifier for the organization member who owns this API key
|
|
67
|
+
*/
|
|
68
|
+
org_member_id: string;
|
|
69
|
+
/**
|
|
70
|
+
* Short, URL-friendly unique identifier for the associated project
|
|
71
|
+
*/
|
|
72
|
+
project_id: string;
|
|
73
|
+
/**
|
|
74
|
+
* Date and time when the API key was last modified
|
|
75
|
+
*/
|
|
76
|
+
updated_at: string;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Information about the authenticated user
|
|
80
|
+
*/
|
|
81
|
+
interface OrgMember {
|
|
82
|
+
/**
|
|
83
|
+
* UUID identifier for the organization member
|
|
84
|
+
*/
|
|
85
|
+
id: string;
|
|
86
|
+
/**
|
|
87
|
+
* Email address of the authenticated user
|
|
88
|
+
*/
|
|
89
|
+
email: string;
|
|
90
|
+
/**
|
|
91
|
+
* Display name of the authenticated user
|
|
92
|
+
*/
|
|
93
|
+
name: string;
|
|
94
|
+
/**
|
|
95
|
+
* Access role of the authenticated user within the organization
|
|
96
|
+
*/
|
|
97
|
+
role: string;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Details of the current active project (null if accessing with org-level
|
|
101
|
+
* credentials)
|
|
102
|
+
*/
|
|
103
|
+
interface Project {
|
|
104
|
+
/**
|
|
105
|
+
* UUID identifier for the project
|
|
106
|
+
*/
|
|
107
|
+
id: string;
|
|
108
|
+
/**
|
|
109
|
+
* Internal auto-incrementing ID for the project
|
|
110
|
+
*/
|
|
111
|
+
auto_id: number;
|
|
112
|
+
/**
|
|
113
|
+
* Date and time when the project was created
|
|
114
|
+
*/
|
|
115
|
+
created_at: string;
|
|
116
|
+
/**
|
|
117
|
+
* Flag indicating if the project has been deleted
|
|
118
|
+
*/
|
|
119
|
+
deleted: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Email address used for project notifications
|
|
122
|
+
*/
|
|
123
|
+
email: string;
|
|
124
|
+
/**
|
|
125
|
+
* Endpoint URL for event webhook notifications
|
|
126
|
+
*/
|
|
127
|
+
event_webhook_url: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* Flag indicating if the project uses the new webhook format
|
|
130
|
+
*/
|
|
131
|
+
is_new_webhook: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Date and time when the project last subscribed to updates
|
|
134
|
+
*/
|
|
135
|
+
last_subscribed_at: string | null;
|
|
136
|
+
/**
|
|
137
|
+
* User-defined name for the project
|
|
138
|
+
*/
|
|
139
|
+
name: string;
|
|
140
|
+
/**
|
|
141
|
+
* Short, URL-friendly unique identifier for the project
|
|
142
|
+
*/
|
|
143
|
+
nano_id: string;
|
|
144
|
+
/**
|
|
145
|
+
* Organization details including members
|
|
146
|
+
*/
|
|
147
|
+
org: Project.Org;
|
|
148
|
+
/**
|
|
149
|
+
* Organization UUID that this project belongs to
|
|
150
|
+
*/
|
|
151
|
+
org_id: string;
|
|
152
|
+
/**
|
|
153
|
+
* Flag indicating if triggers are enabled for this project
|
|
154
|
+
*/
|
|
155
|
+
triggers_enabled: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Date and time when the project was last modified
|
|
158
|
+
*/
|
|
159
|
+
updated_at: string;
|
|
160
|
+
/**
|
|
161
|
+
* Secret used to verify webhook signatures
|
|
162
|
+
*/
|
|
163
|
+
webhook_secret: string | null;
|
|
164
|
+
/**
|
|
165
|
+
* Endpoint URL for trigger webhook notifications
|
|
166
|
+
*/
|
|
167
|
+
webhook_url: string | null;
|
|
168
|
+
}
|
|
169
|
+
namespace Project {
|
|
170
|
+
/**
|
|
171
|
+
* Organization details including members
|
|
172
|
+
*/
|
|
173
|
+
interface Org {
|
|
174
|
+
/**
|
|
175
|
+
* Short, URL-friendly unique identifier for the organization
|
|
176
|
+
*/
|
|
177
|
+
id: string;
|
|
178
|
+
/**
|
|
179
|
+
* User-defined name for the organization
|
|
180
|
+
*/
|
|
181
|
+
name: string;
|
|
182
|
+
/**
|
|
183
|
+
* Array of members belonging to this organization
|
|
184
|
+
*/
|
|
185
|
+
org_members: Array<Org.OrgMember>;
|
|
186
|
+
/**
|
|
187
|
+
* Current subscription plan level
|
|
188
|
+
*/
|
|
189
|
+
plan: string;
|
|
190
|
+
}
|
|
191
|
+
namespace Org {
|
|
192
|
+
interface OrgMember {
|
|
193
|
+
/**
|
|
194
|
+
* UUID identifier for the organization member
|
|
195
|
+
*/
|
|
196
|
+
id: string;
|
|
197
|
+
/**
|
|
198
|
+
* Internal auto-incrementing ID for the organization member
|
|
199
|
+
*/
|
|
200
|
+
auto_id: number;
|
|
201
|
+
/**
|
|
202
|
+
* Date and time when the member was added to the organization
|
|
203
|
+
*/
|
|
204
|
+
created_at: string;
|
|
205
|
+
/**
|
|
206
|
+
* Date and time when the member was removed from the organization (if applicable)
|
|
207
|
+
*/
|
|
208
|
+
deleted_at: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* Email address of the organization member
|
|
211
|
+
*/
|
|
212
|
+
email: string;
|
|
213
|
+
/**
|
|
214
|
+
* User-defined name for the organization member
|
|
215
|
+
*/
|
|
216
|
+
name: string;
|
|
217
|
+
/**
|
|
218
|
+
* Organization UUID that this member belongs to
|
|
219
|
+
*/
|
|
220
|
+
org_id: string;
|
|
221
|
+
/**
|
|
222
|
+
* Access role of the member within the organization
|
|
223
|
+
*/
|
|
224
|
+
role: string;
|
|
225
|
+
/**
|
|
226
|
+
* Date and time when the member was last modified
|
|
227
|
+
*/
|
|
228
|
+
updated_at: string;
|
|
229
|
+
/**
|
|
230
|
+
* Optional custom metadata for the organization member
|
|
231
|
+
*/
|
|
232
|
+
metadata?: unknown;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
export declare namespace Session {
|
|
238
|
+
export { type SessionInfoResponse as SessionInfoResponse };
|
|
239
|
+
}
|
|
240
|
+
//# sourceMappingURL=session.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.d.mts","sourceRoot":"","sources":["../../src/resources/auth/session.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;OAMG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAGhE;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,OAAO,EAAE,mBAAmB,CAAC,MAAM,GAAG,IAAI,CAAC;IAE3C;;OAEG;IACH,UAAU,EAAE,mBAAmB,CAAC,SAAS,CAAC;IAE1C;;;OAGG;IACH,OAAO,EAAE,mBAAmB,CAAC,OAAO,GAAG,IAAI,CAAC;CAC7C;AAED,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,UAAU,EAAE,MAAM,CAA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AM,GAAG,IAAI,CAAC;QAE9B;;WAEG;QACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;KAC5B;IAED,UAAiB,OAAO,CAAC;QACvB;;WAEG;QACH,UAAiB,GAAG;YAClB;;eAEG;YACH,EAAE,EAAE,MAAM,CAAC;YAEX;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YAEb;;eAEG;YACH,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YAElC;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;SACd;QAED,UAAiB,GAAG,CAAC;YACnB,UAAiB,SAAS;gBACxB;;mBAEG;gBACH,EAAE,EAAE,MAAM,CAAC;gBAEX;;mBAEG;gBACH,OAAO,EAAE,MAAM,CAAC;gBAEhB;;mBAEG;gBACH,UAAU,EAAE,MAAM,CAAC;gBAEnB;;mBAEG;gBACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;gBAE1B;;mBAEG;gBACH,KAAK,EAAE,MAAM,CAAC;gBAEd;;mBAEG;gBACH,IAAI,EAAE,MAAM,CAAC;gBAEb;;mBAEG;gBACH,MAAM,EAAE,MAAM,CAAC;gBAEf;;mBAEG;gBACH,IAAI,EAAE,MAAM,CAAC;gBAEb;;mBAEG;gBACH,UAAU,EAAE,MAAM,CAAC;gBAEnB;;mBAEG;gBACH,QAAQ,CAAC,EAAE,OAAO,CAAC;aACpB;SACF;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAC5D"}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
export declare class Session extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieves detailed information about the current authenticated user session,
|
|
7
|
+
* including project details, organization membership, and API key information if
|
|
8
|
+
* applicable. This endpoint is useful for verifying authentication status and
|
|
9
|
+
* retrieving contextual information about the authenticated user and their access
|
|
10
|
+
* privileges.
|
|
11
|
+
*/
|
|
12
|
+
info(options?: RequestOptions): APIPromise<SessionInfoResponse>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Response containing user session information
|
|
16
|
+
*/
|
|
17
|
+
export interface SessionInfoResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Details of the API key used for authentication (null if using session auth)
|
|
20
|
+
*/
|
|
21
|
+
api_key: SessionInfoResponse.APIKey | null;
|
|
22
|
+
/**
|
|
23
|
+
* Information about the authenticated user
|
|
24
|
+
*/
|
|
25
|
+
org_member: SessionInfoResponse.OrgMember;
|
|
26
|
+
/**
|
|
27
|
+
* Details of the current active project (null if accessing with org-level
|
|
28
|
+
* credentials)
|
|
29
|
+
*/
|
|
30
|
+
project: SessionInfoResponse.Project | null;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace SessionInfoResponse {
|
|
33
|
+
/**
|
|
34
|
+
* Details of the API key used for authentication (null if using session auth)
|
|
35
|
+
*/
|
|
36
|
+
interface APIKey {
|
|
37
|
+
/**
|
|
38
|
+
* UUID identifier for the API key
|
|
39
|
+
*/
|
|
40
|
+
id: string;
|
|
41
|
+
/**
|
|
42
|
+
* Internal auto-incrementing ID for the API key
|
|
43
|
+
*/
|
|
44
|
+
auto_id: number;
|
|
45
|
+
/**
|
|
46
|
+
* Date and time when the API key was created
|
|
47
|
+
*/
|
|
48
|
+
created_at: string;
|
|
49
|
+
/**
|
|
50
|
+
* Flag indicating if the API key has been deleted
|
|
51
|
+
*/
|
|
52
|
+
deleted: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Date and time when the API key was deleted (if applicable)
|
|
55
|
+
*/
|
|
56
|
+
deleted_at: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* The actual API key value (usually only shown once during creation)
|
|
59
|
+
*/
|
|
60
|
+
key: string;
|
|
61
|
+
/**
|
|
62
|
+
* User-defined name for the API key
|
|
63
|
+
*/
|
|
64
|
+
name: string;
|
|
65
|
+
/**
|
|
66
|
+
* UUID identifier for the organization member who owns this API key
|
|
67
|
+
*/
|
|
68
|
+
org_member_id: string;
|
|
69
|
+
/**
|
|
70
|
+
* Short, URL-friendly unique identifier for the associated project
|
|
71
|
+
*/
|
|
72
|
+
project_id: string;
|
|
73
|
+
/**
|
|
74
|
+
* Date and time when the API key was last modified
|
|
75
|
+
*/
|
|
76
|
+
updated_at: string;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Information about the authenticated user
|
|
80
|
+
*/
|
|
81
|
+
interface OrgMember {
|
|
82
|
+
/**
|
|
83
|
+
* UUID identifier for the organization member
|
|
84
|
+
*/
|
|
85
|
+
id: string;
|
|
86
|
+
/**
|
|
87
|
+
* Email address of the authenticated user
|
|
88
|
+
*/
|
|
89
|
+
email: string;
|
|
90
|
+
/**
|
|
91
|
+
* Display name of the authenticated user
|
|
92
|
+
*/
|
|
93
|
+
name: string;
|
|
94
|
+
/**
|
|
95
|
+
* Access role of the authenticated user within the organization
|
|
96
|
+
*/
|
|
97
|
+
role: string;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Details of the current active project (null if accessing with org-level
|
|
101
|
+
* credentials)
|
|
102
|
+
*/
|
|
103
|
+
interface Project {
|
|
104
|
+
/**
|
|
105
|
+
* UUID identifier for the project
|
|
106
|
+
*/
|
|
107
|
+
id: string;
|
|
108
|
+
/**
|
|
109
|
+
* Internal auto-incrementing ID for the project
|
|
110
|
+
*/
|
|
111
|
+
auto_id: number;
|
|
112
|
+
/**
|
|
113
|
+
* Date and time when the project was created
|
|
114
|
+
*/
|
|
115
|
+
created_at: string;
|
|
116
|
+
/**
|
|
117
|
+
* Flag indicating if the project has been deleted
|
|
118
|
+
*/
|
|
119
|
+
deleted: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Email address used for project notifications
|
|
122
|
+
*/
|
|
123
|
+
email: string;
|
|
124
|
+
/**
|
|
125
|
+
* Endpoint URL for event webhook notifications
|
|
126
|
+
*/
|
|
127
|
+
event_webhook_url: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* Flag indicating if the project uses the new webhook format
|
|
130
|
+
*/
|
|
131
|
+
is_new_webhook: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Date and time when the project last subscribed to updates
|
|
134
|
+
*/
|
|
135
|
+
last_subscribed_at: string | null;
|
|
136
|
+
/**
|
|
137
|
+
* User-defined name for the project
|
|
138
|
+
*/
|
|
139
|
+
name: string;
|
|
140
|
+
/**
|
|
141
|
+
* Short, URL-friendly unique identifier for the project
|
|
142
|
+
*/
|
|
143
|
+
nano_id: string;
|
|
144
|
+
/**
|
|
145
|
+
* Organization details including members
|
|
146
|
+
*/
|
|
147
|
+
org: Project.Org;
|
|
148
|
+
/**
|
|
149
|
+
* Organization UUID that this project belongs to
|
|
150
|
+
*/
|
|
151
|
+
org_id: string;
|
|
152
|
+
/**
|
|
153
|
+
* Flag indicating if triggers are enabled for this project
|
|
154
|
+
*/
|
|
155
|
+
triggers_enabled: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Date and time when the project was last modified
|
|
158
|
+
*/
|
|
159
|
+
updated_at: string;
|
|
160
|
+
/**
|
|
161
|
+
* Secret used to verify webhook signatures
|
|
162
|
+
*/
|
|
163
|
+
webhook_secret: string | null;
|
|
164
|
+
/**
|
|
165
|
+
* Endpoint URL for trigger webhook notifications
|
|
166
|
+
*/
|
|
167
|
+
webhook_url: string | null;
|
|
168
|
+
}
|
|
169
|
+
namespace Project {
|
|
170
|
+
/**
|
|
171
|
+
* Organization details including members
|
|
172
|
+
*/
|
|
173
|
+
interface Org {
|
|
174
|
+
/**
|
|
175
|
+
* Short, URL-friendly unique identifier for the organization
|
|
176
|
+
*/
|
|
177
|
+
id: string;
|
|
178
|
+
/**
|
|
179
|
+
* User-defined name for the organization
|
|
180
|
+
*/
|
|
181
|
+
name: string;
|
|
182
|
+
/**
|
|
183
|
+
* Array of members belonging to this organization
|
|
184
|
+
*/
|
|
185
|
+
org_members: Array<Org.OrgMember>;
|
|
186
|
+
/**
|
|
187
|
+
* Current subscription plan level
|
|
188
|
+
*/
|
|
189
|
+
plan: string;
|
|
190
|
+
}
|
|
191
|
+
namespace Org {
|
|
192
|
+
interface OrgMember {
|
|
193
|
+
/**
|
|
194
|
+
* UUID identifier for the organization member
|
|
195
|
+
*/
|
|
196
|
+
id: string;
|
|
197
|
+
/**
|
|
198
|
+
* Internal auto-incrementing ID for the organization member
|
|
199
|
+
*/
|
|
200
|
+
auto_id: number;
|
|
201
|
+
/**
|
|
202
|
+
* Date and time when the member was added to the organization
|
|
203
|
+
*/
|
|
204
|
+
created_at: string;
|
|
205
|
+
/**
|
|
206
|
+
* Date and time when the member was removed from the organization (if applicable)
|
|
207
|
+
*/
|
|
208
|
+
deleted_at: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* Email address of the organization member
|
|
211
|
+
*/
|
|
212
|
+
email: string;
|
|
213
|
+
/**
|
|
214
|
+
* User-defined name for the organization member
|
|
215
|
+
*/
|
|
216
|
+
name: string;
|
|
217
|
+
/**
|
|
218
|
+
* Organization UUID that this member belongs to
|
|
219
|
+
*/
|
|
220
|
+
org_id: string;
|
|
221
|
+
/**
|
|
222
|
+
* Access role of the member within the organization
|
|
223
|
+
*/
|
|
224
|
+
role: string;
|
|
225
|
+
/**
|
|
226
|
+
* Date and time when the member was last modified
|
|
227
|
+
*/
|
|
228
|
+
updated_at: string;
|
|
229
|
+
/**
|
|
230
|
+
* Optional custom metadata for the organization member
|
|
231
|
+
*/
|
|
232
|
+
metadata?: unknown;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
export declare namespace Session {
|
|
238
|
+
export { type SessionInfoResponse as SessionInfoResponse };
|
|
239
|
+
}
|
|
240
|
+
//# sourceMappingURL=session.d.ts.map
|
|
@@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,EAAE,MAAM,CAAC;gBAEnB;;mBAEG;gBACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;gBAE1B;;mBAEG;gBACH,KAAK,EAAE,MAAM,CAAC;gBAEd;;mBAEG;gBACH,IAAI,EAAE,MAAM,CAAC;gBAEb;;mBAEG;gBACH,MAAM,EAAE,MAAM,CAAC;gBAEf;;mBAEG;gBACH,IAAI,EAAE,MAAM,CAAC;gBAEb;;mBAEG;gBACH,UAAU,EAAE,MAAM,CAAC;gBAEnB;;mBAEG;gBACH,QAAQ,CAAC,EAAE,OAAO,CAAC;aACpB;SACF;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAC5D"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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.Session = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
class Session extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves detailed information about the current authenticated user session,
|
|
9
|
+
* including project details, organization membership, and API key information if
|
|
10
|
+
* applicable. This endpoint is useful for verifying authentication status and
|
|
11
|
+
* retrieving contextual information about the authenticated user and their access
|
|
12
|
+
* privileges.
|
|
13
|
+
*/
|
|
14
|
+
info(options) {
|
|
15
|
+
return this._client.get('/api/v3/auth/session/info', options);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.Session = Session;
|
|
19
|
+
//# sourceMappingURL=session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.js","sourceRoot":"","sources":["../../src/resources/auth/session.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;OAMG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;CACF;AAXD,0BAWC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
export class Session extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Retrieves detailed information about the current authenticated user session,
|
|
6
|
+
* including project details, organization membership, and API key information if
|
|
7
|
+
* applicable. This endpoint is useful for verifying authentication status and
|
|
8
|
+
* retrieving contextual information about the authenticated user and their access
|
|
9
|
+
* privileges.
|
|
10
|
+
*/
|
|
11
|
+
info(options) {
|
|
12
|
+
return this._client.get('/api/v3/auth/session/info', options);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=session.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.mjs","sourceRoot":"","sources":["../../src/resources/auth/session.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;OAMG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.mts","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./auth/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.mjs","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Auth } from "./auth/auth.mjs";
|
|
1
2
|
export { AuthConfigs, type AuthConfigCreateResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateResponse, type AuthConfigListResponse, type AuthConfigDeleteResponse, type AuthConfigUpdateStatusResponse, type AuthConfigCreateParams, type AuthConfigUpdateParams, type AuthConfigListParams, type AuthConfigUpdateStatusParams, } from "./auth-configs.mjs";
|
|
2
3
|
export { ConnectedAccounts, type ConnectedAccountCreateResponse, type ConnectedAccountRetrieveResponse, type ConnectedAccountListResponse, type ConnectedAccountDeleteResponse, type ConnectedAccountRefreshResponse, type ConnectedAccountUpdateStatusResponse, type ConnectedAccountCreateParams, type ConnectedAccountListParams, type ConnectedAccountUpdateStatusParams, } from "./connected-accounts.mjs";
|
|
3
4
|
export { Files, type FileListResponse, type FileCreatePresignedURLResponse, type FileListParams, type FileCreatePresignedURLParams, } from "./files.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KA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vB,KAAK,eAAe,GACrB;OACM,EACL,gBAAgB,EAChB,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,GACjC;OACM,EACL,aAAa,EACb,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,GAC5B"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,GAClC;OACM,EACL,iBAAiB,EACjB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,GACxC;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,KAAK,cAAc,EACnB,KAAK,4BAA4B,GAClC;OACM,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,oBAAoB,GAC1B;OACM,EACL,SAAS,EACT,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EAAE,GAAG,EAAE;OACP,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iCAAiC,EACtC,KAAK,iBAAiB,EACtB,KAAK,+BAA+B,GACrC;OACM,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,GACrB;OACM,EACL,gBAAgB,EAChB,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,GACjC;OACM,EACL,aAAa,EACb,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,GAC5B"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Auth } from "./auth/auth.js";
|
|
1
2
|
export { AuthConfigs, type AuthConfigCreateResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateResponse, type AuthConfigListResponse, type AuthConfigDeleteResponse, type AuthConfigUpdateStatusResponse, type AuthConfigCreateParams, type AuthConfigUpdateParams, type AuthConfigListParams, type AuthConfigUpdateStatusParams, } from "./auth-configs.js";
|
|
2
3
|
export { ConnectedAccounts, type ConnectedAccountCreateResponse, type ConnectedAccountRetrieveResponse, type ConnectedAccountListResponse, type ConnectedAccountDeleteResponse, type ConnectedAccountRefreshResponse, type ConnectedAccountUpdateStatusResponse, type ConnectedAccountCreateParams, type ConnectedAccountListParams, type ConnectedAccountUpdateStatusParams, } from "./connected-accounts.js";
|
|
3
4
|
export { Files, type FileListResponse, type FileCreatePresignedURLResponse, type FileListParams, type FileCreatePresignedURLParams, } from "./files.js";
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,GAClC;OACM,EACL,iBAAiB,EACjB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,GACxC;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,KAAK,cAAc,EACnB,KAAK,4BAA4B,GAClC;OACM,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,oBAAoB,GAC1B;OACM,EACL,SAAS,EACT,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EAAE,GAAG,EAAE;OACP,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iCAAiC,EACtC,KAAK,iBAAiB,EACtB,KAAK,+BAA+B,GACrC;OACM,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,GACrB;OACM,EACL,gBAAgB,EAChB,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,GACjC;OACM,EACL,aAAa,EACb,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,GAC5B"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,GAClC;OACM,EACL,iBAAiB,EACjB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,GACxC;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,KAAK,cAAc,EACnB,KAAK,4BAA4B,GAClC;OACM,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,oBAAoB,GAC1B;OACM,EACL,SAAS,EACT,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EAAE,GAAG,EAAE;OACP,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iCAAiC,EACtC,KAAK,iBAAiB,EACtB,KAAK,+BAA+B,GACrC;OACM,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,GACrB;OACM,EACL,gBAAgB,EAChB,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,GACjC;OACM,EACL,aAAa,EACb,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,GAC5B"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.TriggersTypes = exports.TriggerInstances = exports.Tools = exports.Toolkits = exports.TeamMembers = exports.Org = exports.Migration = exports.Mcp = exports.Files = exports.ConnectedAccounts = exports.AuthConfigs = void 0;
|
|
4
|
+
exports.TriggersTypes = exports.TriggerInstances = exports.Tools = exports.Toolkits = exports.TeamMembers = exports.Org = exports.Migration = exports.Mcp = exports.Files = exports.ConnectedAccounts = exports.AuthConfigs = exports.Auth = void 0;
|
|
5
|
+
var auth_1 = require("./auth/auth.js");
|
|
6
|
+
Object.defineProperty(exports, "Auth", { enumerable: true, get: function () { return auth_1.Auth; } });
|
|
5
7
|
var auth_configs_1 = require("./auth-configs.js");
|
|
6
8
|
Object.defineProperty(exports, "AuthConfigs", { enumerable: true, get: function () { return auth_configs_1.AuthConfigs; } });
|
|
7
9
|
var connected_accounts_1 = require("./connected-accounts.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAYwB;AAXtB,2GAAA,WAAW,OAAA;AAYb,8DAW8B;AAV5B,uHAAA,iBAAiB,OAAA;AAWnB,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,oCAYmB;AAXjB,0FAAA,GAAG,OAAA;AAYL,4CAIqB;AAHnB,sGAAA,SAAS,OAAA;AAIX,oCAAgC;AAAvB,0FAAA,GAAG,OAAA;AACZ,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,0CAOoB;AANlB,oGAAA,QAAQ,OAAA;AAOV,oCAYiB;AAXf,8FAAA,KAAK,OAAA;AAYP,8EAS+C;AAR7C,qHAAA,gBAAgB,OAAA;AASlB,sDAM0B;AALxB,+GAAA,aAAa,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,kDAYwB;AAXtB,2GAAA,WAAW,OAAA;AAYb,8DAW8B;AAV5B,uHAAA,iBAAiB,OAAA;AAWnB,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,oCAYmB;AAXjB,0FAAA,GAAG,OAAA;AAYL,4CAIqB;AAHnB,sGAAA,SAAS,OAAA;AAIX,oCAAgC;AAAvB,0FAAA,GAAG,OAAA;AACZ,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,0CAOoB;AANlB,oGAAA,QAAQ,OAAA;AAOV,oCAYiB;AAXf,8FAAA,KAAK,OAAA;AAYP,8EAS+C;AAR7C,qHAAA,gBAAgB,OAAA;AASlB,sDAM0B;AALxB,+GAAA,aAAa,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { Auth } from "./auth/auth.mjs";
|
|
2
3
|
export { AuthConfigs, } from "./auth-configs.mjs";
|
|
3
4
|
export { ConnectedAccounts, } from "./connected-accounts.mjs";
|
|
4
5
|
export { Files, } from "./files.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAWZ;OACM,EACL,iBAAiB,GAUlB;OACM,EACL,KAAK,GAKN;OACM,EACL,GAAG,GAWJ;OACM,EACL,SAAS,GAGV;OACM,EAAE,GAAG,EAAE;OACP,EACL,WAAW,GAOZ;OACM,EACL,QAAQ,GAMT;OACM,EACL,KAAK,GAWN;OACM,EACL,gBAAgB,GAQjB;OACM,EACL,aAAa,GAKd"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAAE;OACR,EACL,WAAW,GAWZ;OACM,EACL,iBAAiB,GAUlB;OACM,EACL,KAAK,GAKN;OACM,EACL,GAAG,GAWJ;OACM,EACL,SAAS,GAGV;OACM,EAAE,GAAG,EAAE;OACP,EACL,WAAW,GAOZ;OACM,EACL,QAAQ,GAMT;OACM,EACL,KAAK,GAWN;OACM,EACL,gBAAgB,GAQjB;OACM,EACL,aAAa,GAKd"}
|