@composio/client 0.1.0-alpha.25 → 0.1.0-alpha.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/client.d.mts +4 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +4 -5
  5. package/client.d.ts.map +1 -1
  6. package/client.js +0 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +0 -3
  9. package/client.mjs.map +1 -1
  10. package/internal/request-options.d.mts +42 -0
  11. package/internal/request-options.d.mts.map +1 -1
  12. package/internal/request-options.d.ts +42 -0
  13. package/internal/request-options.d.ts.map +1 -1
  14. package/internal/request-options.js.map +1 -1
  15. package/internal/request-options.mjs.map +1 -1
  16. package/internal/types.d.mts +8 -6
  17. package/internal/types.d.mts.map +1 -1
  18. package/internal/types.d.ts +8 -6
  19. package/internal/types.d.ts.map +1 -1
  20. package/internal/uploads.js +1 -1
  21. package/internal/uploads.js.map +1 -1
  22. package/internal/uploads.mjs +1 -1
  23. package/internal/uploads.mjs.map +1 -1
  24. package/internal/utils/log.js +1 -1
  25. package/internal/utils/log.js.map +1 -1
  26. package/internal/utils/log.mjs +1 -1
  27. package/internal/utils/log.mjs.map +1 -1
  28. package/internal/utils/path.d.mts.map +1 -1
  29. package/internal/utils/path.d.ts.map +1 -1
  30. package/internal/utils/path.js +26 -5
  31. package/internal/utils/path.js.map +1 -1
  32. package/internal/utils/path.mjs +26 -5
  33. package/internal/utils/path.mjs.map +1 -1
  34. package/package.json +1 -1
  35. package/resources/auth-configs.d.mts +22 -4
  36. package/resources/auth-configs.d.mts.map +1 -1
  37. package/resources/auth-configs.d.ts +22 -4
  38. package/resources/auth-configs.d.ts.map +1 -1
  39. package/resources/connected-accounts.d.mts +2153 -633
  40. package/resources/connected-accounts.d.mts.map +1 -1
  41. package/resources/connected-accounts.d.ts +2153 -633
  42. package/resources/connected-accounts.d.ts.map +1 -1
  43. package/resources/connected-accounts.js +7 -2
  44. package/resources/connected-accounts.js.map +1 -1
  45. package/resources/connected-accounts.mjs +7 -2
  46. package/resources/connected-accounts.mjs.map +1 -1
  47. package/resources/files.d.mts +14 -1
  48. package/resources/files.d.mts.map +1 -1
  49. package/resources/files.d.ts +14 -1
  50. package/resources/files.d.ts.map +1 -1
  51. package/resources/index.d.mts +1 -2
  52. package/resources/index.d.mts.map +1 -1
  53. package/resources/index.d.ts +1 -2
  54. package/resources/index.d.ts.map +1 -1
  55. package/resources/index.js +1 -3
  56. package/resources/index.js.map +1 -1
  57. package/resources/index.mjs +0 -1
  58. package/resources/index.mjs.map +1 -1
  59. package/resources/mcp/mcp.d.mts +5 -9
  60. package/resources/mcp/mcp.d.mts.map +1 -1
  61. package/resources/mcp/mcp.d.ts +5 -9
  62. package/resources/mcp/mcp.d.ts.map +1 -1
  63. package/resources/mcp/mcp.js +1 -1
  64. package/resources/mcp/mcp.js.map +1 -1
  65. package/resources/mcp/mcp.mjs +1 -1
  66. package/resources/mcp/mcp.mjs.map +1 -1
  67. package/resources/toolkits.d.mts +17 -2
  68. package/resources/toolkits.d.mts.map +1 -1
  69. package/resources/toolkits.d.ts +17 -2
  70. package/resources/toolkits.d.ts.map +1 -1
  71. package/resources/tools.d.mts +9 -4
  72. package/resources/tools.d.mts.map +1 -1
  73. package/resources/tools.d.ts +9 -4
  74. package/resources/tools.d.ts.map +1 -1
  75. package/resources/trigger-instances/trigger-instances.d.mts +12 -3
  76. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  77. package/resources/trigger-instances/trigger-instances.d.ts +12 -3
  78. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  79. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  80. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  81. package/resources/triggers-types.d.mts +8 -3
  82. package/resources/triggers-types.d.mts.map +1 -1
  83. package/resources/triggers-types.d.ts +8 -3
  84. package/resources/triggers-types.d.ts.map +1 -1
  85. package/src/client.ts +4 -5
  86. package/src/internal/request-options.ts +53 -0
  87. package/src/internal/types.ts +9 -6
  88. package/src/internal/uploads.ts +1 -1
  89. package/src/internal/utils/log.ts +1 -1
  90. package/src/internal/utils/path.ts +32 -7
  91. package/src/resources/auth-configs.ts +27 -4
  92. package/src/resources/connected-accounts.ts +4045 -1211
  93. package/src/resources/files.ts +18 -1
  94. package/src/resources/index.ts +1 -1
  95. package/src/resources/mcp/mcp.ts +6 -11
  96. package/src/resources/toolkits.ts +23 -2
  97. package/src/resources/tools.ts +11 -4
  98. package/src/resources/trigger-instances/trigger-instances.ts +15 -3
  99. package/src/resources/triggers-types.ts +10 -3
  100. package/src/version.ts +1 -1
  101. package/version.d.mts +1 -1
  102. package/version.d.ts +1 -1
  103. package/version.js +1 -1
  104. package/version.mjs +1 -1
  105. package/resources/v3/auth/auth.d.mts +0 -10
  106. package/resources/v3/auth/auth.d.mts.map +0 -1
  107. package/resources/v3/auth/auth.d.ts +0 -10
  108. package/resources/v3/auth/auth.d.ts.map +0 -1
  109. package/resources/v3/auth/auth.js +0 -17
  110. package/resources/v3/auth/auth.js.map +0 -1
  111. package/resources/v3/auth/auth.mjs +0 -12
  112. package/resources/v3/auth/auth.mjs.map +0 -1
  113. package/resources/v3/auth/index.d.mts +0 -3
  114. package/resources/v3/auth/index.d.mts.map +0 -1
  115. package/resources/v3/auth/index.d.ts +0 -3
  116. package/resources/v3/auth/index.d.ts.map +0 -1
  117. package/resources/v3/auth/index.js +0 -9
  118. package/resources/v3/auth/index.js.map +0 -1
  119. package/resources/v3/auth/index.mjs +0 -4
  120. package/resources/v3/auth/index.mjs.map +0 -1
  121. package/resources/v3/auth/session.d.mts +0 -246
  122. package/resources/v3/auth/session.d.mts.map +0 -1
  123. package/resources/v3/auth/session.d.ts +0 -246
  124. package/resources/v3/auth/session.d.ts.map +0 -1
  125. package/resources/v3/auth/session.js +0 -25
  126. package/resources/v3/auth/session.js.map +0 -1
  127. package/resources/v3/auth/session.mjs +0 -21
  128. package/resources/v3/auth/session.mjs.map +0 -1
  129. package/resources/v3/auth.d.mts +0 -2
  130. package/resources/v3/auth.d.mts.map +0 -1
  131. package/resources/v3/auth.d.ts +0 -2
  132. package/resources/v3/auth.d.ts.map +0 -1
  133. package/resources/v3/auth.js +0 -6
  134. package/resources/v3/auth.js.map +0 -1
  135. package/resources/v3/auth.mjs +0 -3
  136. package/resources/v3/auth.mjs.map +0 -1
  137. package/resources/v3/cli.d.mts +0 -167
  138. package/resources/v3/cli.d.mts.map +0 -1
  139. package/resources/v3/cli.d.ts +0 -167
  140. package/resources/v3/cli.d.ts.map +0 -1
  141. package/resources/v3/cli.js +0 -55
  142. package/resources/v3/cli.js.map +0 -1
  143. package/resources/v3/cli.mjs +0 -51
  144. package/resources/v3/cli.mjs.map +0 -1
  145. package/resources/v3/index.d.mts +0 -5
  146. package/resources/v3/index.d.mts.map +0 -1
  147. package/resources/v3/index.d.ts +0 -5
  148. package/resources/v3/index.d.ts.map +0 -1
  149. package/resources/v3/index.js +0 -13
  150. package/resources/v3/index.js.map +0 -1
  151. package/resources/v3/index.mjs +0 -6
  152. package/resources/v3/index.mjs.map +0 -1
  153. package/resources/v3/internal/action-execution.d.mts +0 -169
  154. package/resources/v3/internal/action-execution.d.mts.map +0 -1
  155. package/resources/v3/internal/action-execution.d.ts +0 -169
  156. package/resources/v3/internal/action-execution.d.ts.map +0 -1
  157. package/resources/v3/internal/action-execution.js +0 -38
  158. package/resources/v3/internal/action-execution.js.map +0 -1
  159. package/resources/v3/internal/action-execution.mjs +0 -34
  160. package/resources/v3/internal/action-execution.mjs.map +0 -1
  161. package/resources/v3/internal/index.d.mts +0 -4
  162. package/resources/v3/internal/index.d.mts.map +0 -1
  163. package/resources/v3/internal/index.d.ts +0 -4
  164. package/resources/v3/internal/index.d.ts.map +0 -1
  165. package/resources/v3/internal/index.js +0 -11
  166. package/resources/v3/internal/index.js.map +0 -1
  167. package/resources/v3/internal/index.mjs +0 -5
  168. package/resources/v3/internal/index.mjs.map +0 -1
  169. package/resources/v3/internal/internal.d.mts +0 -14
  170. package/resources/v3/internal/internal.d.mts.map +0 -1
  171. package/resources/v3/internal/internal.d.ts +0 -14
  172. package/resources/v3/internal/internal.d.ts.map +0 -1
  173. package/resources/v3/internal/internal.js +0 -21
  174. package/resources/v3/internal/internal.js.map +0 -1
  175. package/resources/v3/internal/internal.mjs +0 -16
  176. package/resources/v3/internal/internal.mjs.map +0 -1
  177. package/resources/v3/internal/trigger.d.mts +0 -84
  178. package/resources/v3/internal/trigger.d.mts.map +0 -1
  179. package/resources/v3/internal/trigger.d.ts +0 -84
  180. package/resources/v3/internal/trigger.d.ts.map +0 -1
  181. package/resources/v3/internal/trigger.js +0 -23
  182. package/resources/v3/internal/trigger.js.map +0 -1
  183. package/resources/v3/internal/trigger.mjs +0 -19
  184. package/resources/v3/internal/trigger.mjs.map +0 -1
  185. package/resources/v3/internal.d.mts +0 -2
  186. package/resources/v3/internal.d.mts.map +0 -1
  187. package/resources/v3/internal.d.ts +0 -2
  188. package/resources/v3/internal.d.ts.map +0 -1
  189. package/resources/v3/internal.js +0 -6
  190. package/resources/v3/internal.js.map +0 -1
  191. package/resources/v3/internal.mjs +0 -3
  192. package/resources/v3/internal.mjs.map +0 -1
  193. package/resources/v3/v3.d.mts +0 -18
  194. package/resources/v3/v3.d.mts.map +0 -1
  195. package/resources/v3/v3.d.ts +0 -18
  196. package/resources/v3/v3.d.ts.map +0 -1
  197. package/resources/v3/v3.js +0 -25
  198. package/resources/v3/v3.js.map +0 -1
  199. package/resources/v3/v3.mjs +0 -20
  200. package/resources/v3/v3.mjs.map +0 -1
  201. package/resources/v3.d.mts +0 -2
  202. package/resources/v3.d.mts.map +0 -1
  203. package/resources/v3.d.ts +0 -2
  204. package/resources/v3.d.ts.map +0 -1
  205. package/resources/v3.js +0 -6
  206. package/resources/v3.js.map +0 -1
  207. package/resources/v3.mjs +0 -3
  208. package/resources/v3.mjs.map +0 -1
  209. package/src/resources/v3/auth/auth.ts +0 -15
  210. package/src/resources/v3/auth/index.ts +0 -4
  211. package/src/resources/v3/auth/session.ts +0 -298
  212. package/src/resources/v3/auth.ts +0 -3
  213. package/src/resources/v3/cli.ts +0 -209
  214. package/src/resources/v3/index.ts +0 -13
  215. package/src/resources/v3/internal/action-execution.ts +0 -236
  216. package/src/resources/v3/internal/index.ts +0 -10
  217. package/src/resources/v3/internal/internal.ts +0 -35
  218. package/src/resources/v3/internal/trigger.ts +0 -122
  219. package/src/resources/v3/internal.ts +0 -3
  220. package/src/resources/v3/v3.ts +0 -41
  221. package/src/resources/v3.ts +0 -3
@@ -1,236 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../../../core/resource';
4
- import { APIPromise } from '../../../core/api-promise';
5
- import { RequestOptions } from '../../../internal/request-options';
6
- import { path } from '../../../internal/utils/path';
7
-
8
- export class ActionExecution extends APIResource {
9
- /**
10
- * Get detailed execution log by ID
11
- *
12
- * @example
13
- * ```ts
14
- * const response =
15
- * await client.v3.internal.actionExecution.retrieveLog(
16
- * 'id',
17
- * );
18
- * ```
19
- */
20
- retrieveLog(id: string, options?: RequestOptions): APIPromise<ActionExecutionRetrieveLogResponse> {
21
- return this._client.get(path`/api/v3/internal/action_execution/log/${id}`, options);
22
- }
23
-
24
- /**
25
- * Search and retrieve action execution logs
26
- *
27
- * @example
28
- * ```ts
29
- * const response =
30
- * await client.v3.internal.actionExecution.searchLogs({
31
- * cursor: 0,
32
- * });
33
- * ```
34
- */
35
- searchLogs(
36
- body: ActionExecutionSearchLogsParams,
37
- options?: RequestOptions,
38
- ): APIPromise<ActionExecutionSearchLogsResponse> {
39
- return this._client.post('/api/v3/internal/action_execution/logs', { body, ...options });
40
- }
41
- }
42
-
43
- export interface ActionExecutionRetrieveLogResponse {
44
- actionId: string;
45
-
46
- actionLogId: string;
47
-
48
- app: ActionExecutionRetrieveLogResponse.App;
49
-
50
- connection: ActionExecutionRetrieveLogResponse.Connection;
51
-
52
- endTime: number;
53
-
54
- error: { [key: string]: unknown };
55
-
56
- executionMetadata: { [key: string]: unknown };
57
-
58
- payloadReceived: { [key: string]: unknown };
59
-
60
- response: { [key: string]: unknown };
61
-
62
- session: { [key: string]: unknown };
63
-
64
- startTime: number;
65
-
66
- status: 'success' | 'error' | 'warning' | 'info';
67
-
68
- steps: Array<ActionExecutionRetrieveLogResponse.Step>;
69
-
70
- totalDuration: string;
71
-
72
- version: string;
73
- }
74
-
75
- export namespace ActionExecutionRetrieveLogResponse {
76
- export interface App {
77
- icon: string;
78
-
79
- name: string;
80
-
81
- uniqueId: string;
82
- }
83
-
84
- export interface Connection {
85
- id: string;
86
-
87
- entity: string;
88
- }
89
-
90
- export interface Step {
91
- endTime: number;
92
-
93
- message: string;
94
-
95
- startTime: number;
96
-
97
- status: 'success' | 'failure' | 'error';
98
-
99
- totalDuration: number;
100
-
101
- type: 'tool_execution' | 'fetch_connection_details';
102
-
103
- logs?: Array<Step.Log>;
104
-
105
- metadata?: Step.Metadata;
106
- }
107
-
108
- export namespace Step {
109
- export interface Log {
110
- level: string;
111
-
112
- message: string;
113
-
114
- request: Log.Request;
115
-
116
- requestId: string;
117
-
118
- response: Log.Response;
119
-
120
- time: number;
121
-
122
- type: 'network' | 'system';
123
- }
124
-
125
- export namespace Log {
126
- export interface Request {
127
- method: string;
128
-
129
- url: string;
130
-
131
- headers?: { [key: string]: string };
132
-
133
- json?: { [key: string]: unknown };
134
-
135
- params?: { [key: string]: unknown };
136
-
137
- timeout?: number;
138
- }
139
-
140
- export interface Response {
141
- status: number;
142
-
143
- time: string;
144
- }
145
- }
146
-
147
- export interface Metadata {
148
- encryption?: string;
149
- }
150
- }
151
- }
152
-
153
- export interface ActionExecutionSearchLogsResponse {
154
- data: Array<ActionExecutionSearchLogsResponse.Data>;
155
-
156
- nextCursor: number | null;
157
- }
158
-
159
- export namespace ActionExecutionSearchLogsResponse {
160
- export interface Data {
161
- id: string;
162
-
163
- actionKey: string;
164
-
165
- app: Data.App;
166
-
167
- appKey: string;
168
-
169
- connectedAccountId: string;
170
-
171
- createdAt: number;
172
-
173
- entityId: string;
174
-
175
- executionTime: number;
176
-
177
- minimalResponse: string;
178
-
179
- status: 'success' | 'failed';
180
- }
181
-
182
- export namespace Data {
183
- export interface App {
184
- icon: string;
185
-
186
- name: string;
187
- }
188
- }
189
- }
190
-
191
- export interface ActionExecutionSearchLogsParams {
192
- /**
193
- * cursor_that_can_be_used_to_paginate_through_the_logs
194
- */
195
- cursor: number | null;
196
-
197
- /**
198
- * whether_the_search_is_case_sensitive_or_not
199
- */
200
- case_sensitive?: boolean;
201
-
202
- /**
203
- * start_time_of_the_logs_in_epoch_time
204
- */
205
- from?: number;
206
-
207
- /**
208
- * number_of_logs_to_return
209
- */
210
- limit?: number;
211
-
212
- search_params?: Array<ActionExecutionSearchLogsParams.SearchParam>;
213
-
214
- /**
215
- * end_time_of_the_logs_in_epoch_time
216
- */
217
- to?: number;
218
- }
219
-
220
- export namespace ActionExecutionSearchLogsParams {
221
- export interface SearchParam {
222
- field?: string;
223
-
224
- operation?: string;
225
-
226
- value?: string;
227
- }
228
- }
229
-
230
- export declare namespace ActionExecution {
231
- export {
232
- type ActionExecutionRetrieveLogResponse as ActionExecutionRetrieveLogResponse,
233
- type ActionExecutionSearchLogsResponse as ActionExecutionSearchLogsResponse,
234
- type ActionExecutionSearchLogsParams as ActionExecutionSearchLogsParams,
235
- };
236
- }
@@ -1,10 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- export {
4
- ActionExecution,
5
- type ActionExecutionRetrieveLogResponse,
6
- type ActionExecutionSearchLogsResponse,
7
- type ActionExecutionSearchLogsParams,
8
- } from './action-execution';
9
- export { Internal } from './internal';
10
- export { Trigger, type TriggerSearchLogsResponse, type TriggerSearchLogsParams } from './trigger';
@@ -1,35 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../../../core/resource';
4
- import * as ActionExecutionAPI from './action-execution';
5
- import {
6
- ActionExecution,
7
- ActionExecutionRetrieveLogResponse,
8
- ActionExecutionSearchLogsParams,
9
- ActionExecutionSearchLogsResponse,
10
- } from './action-execution';
11
- import * as TriggerAPI from './trigger';
12
- import { Trigger, TriggerSearchLogsParams, TriggerSearchLogsResponse } from './trigger';
13
-
14
- export class Internal extends APIResource {
15
- trigger: TriggerAPI.Trigger = new TriggerAPI.Trigger(this._client);
16
- actionExecution: ActionExecutionAPI.ActionExecution = new ActionExecutionAPI.ActionExecution(this._client);
17
- }
18
-
19
- Internal.Trigger = Trigger;
20
- Internal.ActionExecution = ActionExecution;
21
-
22
- export declare namespace Internal {
23
- export {
24
- Trigger as Trigger,
25
- type TriggerSearchLogsResponse as TriggerSearchLogsResponse,
26
- type TriggerSearchLogsParams as TriggerSearchLogsParams,
27
- };
28
-
29
- export {
30
- ActionExecution as ActionExecution,
31
- type ActionExecutionRetrieveLogResponse as ActionExecutionRetrieveLogResponse,
32
- type ActionExecutionSearchLogsResponse as ActionExecutionSearchLogsResponse,
33
- type ActionExecutionSearchLogsParams as ActionExecutionSearchLogsParams,
34
- };
35
- }
@@ -1,122 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../../../core/resource';
4
- import { APIPromise } from '../../../core/api-promise';
5
- import { RequestOptions } from '../../../internal/request-options';
6
-
7
- export class Trigger extends APIResource {
8
- /**
9
- * Search and retrieve trigger event logs
10
- *
11
- * @example
12
- * ```ts
13
- * const response =
14
- * await client.v3.internal.trigger.searchLogs({
15
- * cursor: 'cursor',
16
- * });
17
- * ```
18
- */
19
- searchLogs(body: TriggerSearchLogsParams, options?: RequestOptions): APIPromise<TriggerSearchLogsResponse> {
20
- return this._client.post('/api/v3/internal/trigger/logs', { body, ...options });
21
- }
22
- }
23
-
24
- export interface TriggerSearchLogsResponse {
25
- nextCursor: string | null;
26
-
27
- data?: Array<TriggerSearchLogsResponse.Data>;
28
- }
29
-
30
- export namespace TriggerSearchLogsResponse {
31
- export interface Data {
32
- id: string;
33
-
34
- appName: string;
35
-
36
- clientId: string;
37
-
38
- connectionId: string;
39
-
40
- createdAt: string;
41
-
42
- entityId: string;
43
-
44
- meta: Data.Meta;
45
-
46
- status: string;
47
-
48
- /**
49
- * Log entity type (trigger or action)
50
- */
51
- type: 'trigger' | 'action';
52
- }
53
-
54
- export namespace Data {
55
- export interface Meta {
56
- id: string;
57
-
58
- clientId: string;
59
-
60
- connectionId: string;
61
-
62
- createdAt: string;
63
-
64
- provider: string;
65
-
66
- /**
67
- * Log entity type (trigger or action)
68
- */
69
- type: 'trigger' | 'action';
70
-
71
- updatedAt: string;
72
-
73
- triggerClientError?: string;
74
-
75
- triggerClientPayload?: string;
76
-
77
- triggerClientResponse?: string;
78
-
79
- triggerName?: string;
80
-
81
- triggerProviderPayload?: string;
82
- }
83
- }
84
- }
85
-
86
- export interface TriggerSearchLogsParams {
87
- /**
88
- * cursor that can be used to paginate through the logs
89
- */
90
- cursor: string | null;
91
-
92
- entityId?: string;
93
-
94
- integrationId?: string;
95
-
96
- /**
97
- * number of logs to return
98
- */
99
- limit?: number;
100
-
101
- /**
102
- * Search term to filter logs
103
- */
104
- search?: string;
105
-
106
- /**
107
- * Filter logs by their status level
108
- */
109
- status?: 'all' | 'success' | 'error';
110
-
111
- /**
112
- * Return logs from the last N time units
113
- */
114
- time?: '5m' | '30m' | '6h' | '1d' | '1w' | '1month' | '1y';
115
- }
116
-
117
- export declare namespace Trigger {
118
- export {
119
- type TriggerSearchLogsResponse as TriggerSearchLogsResponse,
120
- type TriggerSearchLogsParams as TriggerSearchLogsParams,
121
- };
122
- }
@@ -1,3 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- export * from './internal/index';
@@ -1,41 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../../core/resource';
4
- import * as CliAPI from './cli';
5
- import {
6
- Cli,
7
- CliCreateSessionResponse,
8
- CliLinkSessionParams,
9
- CliLinkSessionResponse,
10
- CliRetrieveSessionParams,
11
- CliRetrieveSessionResponse,
12
- } from './cli';
13
- import * as AuthAPI from './auth/auth';
14
- import { Auth } from './auth/auth';
15
- import * as InternalAPI from './internal/internal';
16
- import { Internal } from './internal/internal';
17
-
18
- export class V3 extends APIResource {
19
- auth: AuthAPI.Auth = new AuthAPI.Auth(this._client);
20
- cli: CliAPI.Cli = new CliAPI.Cli(this._client);
21
- internal: InternalAPI.Internal = new InternalAPI.Internal(this._client);
22
- }
23
-
24
- V3.Auth = Auth;
25
- V3.Cli = Cli;
26
- V3.Internal = Internal;
27
-
28
- export declare namespace V3 {
29
- export { Auth as Auth };
30
-
31
- export {
32
- Cli as Cli,
33
- type CliCreateSessionResponse as CliCreateSessionResponse,
34
- type CliLinkSessionResponse as CliLinkSessionResponse,
35
- type CliRetrieveSessionResponse as CliRetrieveSessionResponse,
36
- type CliLinkSessionParams as CliLinkSessionParams,
37
- type CliRetrieveSessionParams as CliRetrieveSessionParams,
38
- };
39
-
40
- export { Internal as Internal };
41
- }
@@ -1,3 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- export * from './v3/index';