@composio/client 0.1.0-alpha.15 → 0.1.0-alpha.17

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 (256) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +12 -24
  3. package/client.d.mts +5 -5
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +5 -5
  6. package/client.d.ts.map +1 -1
  7. package/client.js +3 -3
  8. package/client.js.map +1 -1
  9. package/client.mjs +3 -3
  10. package/client.mjs.map +1 -1
  11. package/internal/detect-platform.js +3 -3
  12. package/internal/detect-platform.js.map +1 -1
  13. package/internal/detect-platform.mjs +3 -3
  14. package/internal/detect-platform.mjs.map +1 -1
  15. package/internal/shim-types.d.mts +11 -22
  16. package/internal/shim-types.d.mts.map +1 -0
  17. package/internal/shim-types.d.ts +11 -22
  18. package/internal/shim-types.d.ts.map +1 -0
  19. package/internal/shim-types.js +4 -0
  20. package/internal/shim-types.js.map +1 -0
  21. package/internal/shim-types.mjs +3 -0
  22. package/internal/shim-types.mjs.map +1 -0
  23. package/internal/shims.d.mts +2 -2
  24. package/internal/shims.d.mts.map +1 -1
  25. package/internal/shims.d.ts +2 -2
  26. package/internal/shims.d.ts.map +1 -1
  27. package/internal/uploads.js.map +1 -1
  28. package/internal/uploads.mjs.map +1 -1
  29. package/package.json +1 -4
  30. package/resources/auth-configs.d.mts +3 -3
  31. package/resources/auth-configs.d.mts.map +1 -1
  32. package/resources/auth-configs.d.ts +3 -3
  33. package/resources/auth-configs.d.ts.map +1 -1
  34. package/resources/connected-accounts.d.mts +5262 -52
  35. package/resources/connected-accounts.d.mts.map +1 -1
  36. package/resources/connected-accounts.d.ts +5262 -52
  37. package/resources/connected-accounts.d.ts.map +1 -1
  38. package/resources/index.d.mts +2 -2
  39. package/resources/index.d.mts.map +1 -1
  40. package/resources/index.d.ts +2 -2
  41. package/resources/index.d.ts.map +1 -1
  42. package/resources/index.js +3 -3
  43. package/resources/index.js.map +1 -1
  44. package/resources/index.mjs +1 -1
  45. package/resources/index.mjs.map +1 -1
  46. package/resources/mcp/index.d.mts +1 -1
  47. package/resources/mcp/index.d.mts.map +1 -1
  48. package/resources/mcp/index.d.ts +1 -1
  49. package/resources/mcp/index.d.ts.map +1 -1
  50. package/resources/mcp/index.js.map +1 -1
  51. package/resources/mcp/index.mjs.map +1 -1
  52. package/resources/mcp/mcp.d.mts +99 -1
  53. package/resources/mcp/mcp.d.mts.map +1 -1
  54. package/resources/mcp/mcp.d.ts +99 -1
  55. package/resources/mcp/mcp.d.ts.map +1 -1
  56. package/resources/mcp/mcp.js +22 -0
  57. package/resources/mcp/mcp.js.map +1 -1
  58. package/resources/mcp/mcp.mjs +22 -0
  59. package/resources/mcp/mcp.mjs.map +1 -1
  60. package/resources/org/project/api-keys.d.mts +0 -15
  61. package/resources/org/project/api-keys.d.mts.map +1 -1
  62. package/resources/org/project/api-keys.d.ts +0 -15
  63. package/resources/org/project/api-keys.d.ts.map +1 -1
  64. package/resources/org/project/trigger.d.mts +3 -5
  65. package/resources/org/project/trigger.d.mts.map +1 -1
  66. package/resources/org/project/trigger.d.ts +3 -5
  67. package/resources/org/project/trigger.d.ts.map +1 -1
  68. package/resources/org/project/trigger.js +3 -5
  69. package/resources/org/project/trigger.js.map +1 -1
  70. package/resources/org/project/trigger.mjs +3 -5
  71. package/resources/org/project/trigger.mjs.map +1 -1
  72. package/resources/toolkits.d.mts +15 -0
  73. package/resources/toolkits.d.mts.map +1 -1
  74. package/resources/toolkits.d.ts +15 -0
  75. package/resources/toolkits.d.ts.map +1 -1
  76. package/resources/tools.d.mts +38 -10
  77. package/resources/tools.d.mts.map +1 -1
  78. package/resources/tools.d.ts +38 -10
  79. package/resources/tools.d.ts.map +1 -1
  80. package/resources/trigger-instances/trigger-instances.d.mts +9 -46
  81. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  82. package/resources/trigger-instances/trigger-instances.d.ts +9 -46
  83. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  84. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  85. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  86. package/resources/triggers-types.d.mts +4 -0
  87. package/resources/triggers-types.d.mts.map +1 -1
  88. package/resources/triggers-types.d.ts +4 -0
  89. package/resources/triggers-types.d.ts.map +1 -1
  90. package/resources/v3/admin.d.mts +100 -0
  91. package/resources/v3/admin.d.mts.map +1 -0
  92. package/resources/v3/admin.d.ts +100 -0
  93. package/resources/v3/admin.d.ts.map +1 -0
  94. package/resources/v3/admin.js +54 -0
  95. package/resources/v3/admin.js.map +1 -0
  96. package/resources/v3/admin.mjs +50 -0
  97. package/resources/v3/admin.mjs.map +1 -0
  98. package/resources/v3/auth/auth.d.mts +10 -0
  99. package/resources/v3/auth/auth.d.mts.map +1 -0
  100. package/resources/v3/auth/auth.d.ts +10 -0
  101. package/resources/v3/auth/auth.d.ts.map +1 -0
  102. package/resources/{auth → v3/auth}/auth.js +2 -2
  103. package/resources/v3/auth/auth.js.map +1 -0
  104. package/resources/{auth → v3/auth}/auth.mjs +1 -1
  105. package/resources/v3/auth/auth.mjs.map +1 -0
  106. package/resources/v3/auth/index.d.mts +3 -0
  107. package/resources/v3/auth/index.d.mts.map +1 -0
  108. package/resources/v3/auth/index.d.ts +3 -0
  109. package/resources/v3/auth/index.d.ts.map +1 -0
  110. package/resources/v3/auth/index.js.map +1 -0
  111. package/resources/v3/auth/index.mjs.map +1 -0
  112. package/resources/{auth → v3/auth}/session.d.mts +16 -10
  113. package/resources/v3/auth/session.d.mts.map +1 -0
  114. package/resources/{auth → v3/auth}/session.d.ts +16 -10
  115. package/resources/v3/auth/session.d.ts.map +1 -0
  116. package/resources/{auth → v3/auth}/session.js +8 -2
  117. package/resources/v3/auth/session.js.map +1 -0
  118. package/resources/{auth → v3/auth}/session.mjs +8 -2
  119. package/resources/v3/auth/session.mjs.map +1 -0
  120. package/resources/{auth.d.mts.map → v3/auth.d.mts.map} +1 -1
  121. package/resources/v3/auth.d.ts.map +1 -0
  122. package/resources/{auth.js → v3/auth.js} +1 -1
  123. package/resources/v3/auth.js.map +1 -0
  124. package/resources/v3/auth.mjs.map +1 -0
  125. package/resources/v3/cli.d.mts +167 -0
  126. package/resources/v3/cli.d.mts.map +1 -0
  127. package/resources/v3/cli.d.ts +167 -0
  128. package/resources/v3/cli.d.ts.map +1 -0
  129. package/resources/v3/cli.js +55 -0
  130. package/resources/v3/cli.js.map +1 -0
  131. package/resources/v3/cli.mjs +51 -0
  132. package/resources/v3/cli.mjs.map +1 -0
  133. package/resources/v3/index.d.mts +6 -0
  134. package/resources/v3/index.d.mts.map +1 -0
  135. package/resources/v3/index.d.ts +6 -0
  136. package/resources/v3/index.d.ts.map +1 -0
  137. package/resources/v3/index.js +15 -0
  138. package/resources/v3/index.js.map +1 -0
  139. package/resources/v3/index.mjs +7 -0
  140. package/resources/v3/index.mjs.map +1 -0
  141. package/resources/v3/internal/action-execution.d.mts +153 -0
  142. package/resources/v3/internal/action-execution.d.mts.map +1 -0
  143. package/resources/v3/internal/action-execution.d.ts +153 -0
  144. package/resources/v3/internal/action-execution.d.ts.map +1 -0
  145. package/resources/v3/internal/action-execution.js +38 -0
  146. package/resources/v3/internal/action-execution.js.map +1 -0
  147. package/resources/v3/internal/action-execution.mjs +34 -0
  148. package/resources/v3/internal/action-execution.mjs.map +1 -0
  149. package/resources/v3/internal/index.d.mts +4 -0
  150. package/resources/v3/internal/index.d.mts.map +1 -0
  151. package/resources/v3/internal/index.d.ts +4 -0
  152. package/resources/v3/internal/index.d.ts.map +1 -0
  153. package/resources/v3/internal/index.js +11 -0
  154. package/resources/v3/internal/index.js.map +1 -0
  155. package/resources/v3/internal/index.mjs +5 -0
  156. package/resources/v3/internal/index.mjs.map +1 -0
  157. package/resources/v3/internal/internal.d.mts +14 -0
  158. package/resources/v3/internal/internal.d.mts.map +1 -0
  159. package/resources/v3/internal/internal.d.ts +14 -0
  160. package/resources/v3/internal/internal.d.ts.map +1 -0
  161. package/resources/v3/internal/internal.js +21 -0
  162. package/resources/v3/internal/internal.js.map +1 -0
  163. package/resources/v3/internal/internal.mjs +16 -0
  164. package/resources/v3/internal/internal.mjs.map +1 -0
  165. package/resources/v3/internal/trigger.d.mts +84 -0
  166. package/resources/v3/internal/trigger.d.mts.map +1 -0
  167. package/resources/v3/internal/trigger.d.ts +84 -0
  168. package/resources/v3/internal/trigger.d.ts.map +1 -0
  169. package/resources/v3/internal/trigger.js +23 -0
  170. package/resources/v3/internal/trigger.js.map +1 -0
  171. package/resources/v3/internal/trigger.mjs +19 -0
  172. package/resources/v3/internal/trigger.mjs.map +1 -0
  173. package/resources/v3/internal.d.mts +2 -0
  174. package/resources/v3/internal.d.mts.map +1 -0
  175. package/resources/v3/internal.d.ts +2 -0
  176. package/resources/v3/internal.d.ts.map +1 -0
  177. package/resources/v3/internal.js +6 -0
  178. package/resources/v3/internal.js.map +1 -0
  179. package/resources/v3/internal.mjs +3 -0
  180. package/resources/v3/internal.mjs.map +1 -0
  181. package/resources/v3/v3.d.mts +22 -0
  182. package/resources/v3/v3.d.mts.map +1 -0
  183. package/resources/v3/v3.d.ts +22 -0
  184. package/resources/v3/v3.d.ts.map +1 -0
  185. package/resources/v3/v3.js +29 -0
  186. package/resources/v3/v3.js.map +1 -0
  187. package/resources/v3/v3.mjs +24 -0
  188. package/resources/v3/v3.mjs.map +1 -0
  189. package/resources/v3.d.mts +2 -0
  190. package/resources/v3.d.mts.map +1 -0
  191. package/resources/v3.d.ts +2 -0
  192. package/resources/v3.d.ts.map +1 -0
  193. package/resources/v3.js +6 -0
  194. package/resources/v3.js.map +1 -0
  195. package/resources/v3.mjs +3 -0
  196. package/resources/v3.mjs.map +1 -0
  197. package/src/client.ts +9 -5
  198. package/src/internal/detect-platform.ts +3 -3
  199. package/src/internal/shim-types.ts +26 -0
  200. package/src/internal/shims.ts +2 -2
  201. package/src/internal/uploads.ts +1 -1
  202. package/src/resources/auth-configs.ts +0 -3
  203. package/src/resources/connected-accounts.ts +10261 -298
  204. package/src/resources/index.ts +3 -1
  205. package/src/resources/mcp/index.ts +2 -0
  206. package/src/resources/mcp/mcp.ts +128 -0
  207. package/src/resources/org/project/api-keys.ts +0 -18
  208. package/src/resources/org/project/trigger.ts +7 -6
  209. package/src/resources/toolkits.ts +20 -0
  210. package/src/resources/tools.ts +46 -11
  211. package/src/resources/trigger-instances/trigger-instances.ts +9 -49
  212. package/src/resources/triggers-types.ts +5 -0
  213. package/src/resources/v3/admin.ts +141 -0
  214. package/src/resources/{auth → v3/auth}/auth.ts +3 -3
  215. package/src/resources/{auth → v3/auth}/index.ts +1 -1
  216. package/src/resources/{auth → v3/auth}/session.ts +16 -10
  217. package/src/resources/v3/cli.ts +209 -0
  218. package/src/resources/v3/index.ts +20 -0
  219. package/src/resources/v3/internal/action-execution.ts +236 -0
  220. package/src/resources/v3/internal/index.ts +10 -0
  221. package/src/resources/v3/internal/internal.ts +35 -0
  222. package/src/resources/v3/internal/trigger.ts +122 -0
  223. package/src/resources/v3/internal.ts +3 -0
  224. package/src/resources/v3/v3.ts +59 -0
  225. package/src/resources/v3.ts +3 -0
  226. package/src/version.ts +1 -1
  227. package/version.d.mts +1 -1
  228. package/version.d.ts +1 -1
  229. package/version.js +1 -1
  230. package/version.mjs +1 -1
  231. package/resources/auth/auth.d.mts +0 -10
  232. package/resources/auth/auth.d.mts.map +0 -1
  233. package/resources/auth/auth.d.ts +0 -10
  234. package/resources/auth/auth.d.ts.map +0 -1
  235. package/resources/auth/auth.js.map +0 -1
  236. package/resources/auth/auth.mjs.map +0 -1
  237. package/resources/auth/index.d.mts +0 -3
  238. package/resources/auth/index.d.mts.map +0 -1
  239. package/resources/auth/index.d.ts +0 -3
  240. package/resources/auth/index.d.ts.map +0 -1
  241. package/resources/auth/index.js.map +0 -1
  242. package/resources/auth/index.mjs.map +0 -1
  243. package/resources/auth/session.d.mts.map +0 -1
  244. package/resources/auth/session.d.ts.map +0 -1
  245. package/resources/auth/session.js.map +0 -1
  246. package/resources/auth/session.mjs.map +0 -1
  247. package/resources/auth.d.ts.map +0 -1
  248. package/resources/auth.js.map +0 -1
  249. package/resources/auth.mjs.map +0 -1
  250. package/src/internal/shim-types.d.ts +0 -28
  251. /package/resources/{auth → v3/auth}/index.js +0 -0
  252. /package/resources/{auth → v3/auth}/index.mjs +0 -0
  253. /package/resources/{auth.d.mts → v3/auth.d.mts} +0 -0
  254. /package/resources/{auth.d.ts → v3/auth.d.ts} +0 -0
  255. /package/resources/{auth.mjs → v3/auth.mjs} +0 -0
  256. /package/src/resources/{auth.ts → v3/auth.ts} +0 -0
@@ -0,0 +1,35 @@
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
+ }
@@ -0,0 +1,122 @@
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
+ }
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './internal/index';
@@ -0,0 +1,59 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as AdminAPI from './admin';
5
+ import {
6
+ Admin,
7
+ AdminListConnectionsParams,
8
+ AdminListConnectionsResponse,
9
+ AdminRefreshAuthTokensParams,
10
+ AdminRefreshAuthTokensResponse,
11
+ } from './admin';
12
+ import * as CliAPI from './cli';
13
+ import {
14
+ Cli,
15
+ CliCreateSessionResponse,
16
+ CliLinkSessionParams,
17
+ CliLinkSessionResponse,
18
+ CliRetrieveSessionParams,
19
+ CliRetrieveSessionResponse,
20
+ } from './cli';
21
+ import * as AuthAPI from './auth/auth';
22
+ import { Auth } from './auth/auth';
23
+ import * as InternalAPI from './internal/internal';
24
+ import { Internal } from './internal/internal';
25
+
26
+ export class V3 extends APIResource {
27
+ auth: AuthAPI.Auth = new AuthAPI.Auth(this._client);
28
+ admin: AdminAPI.Admin = new AdminAPI.Admin(this._client);
29
+ cli: CliAPI.Cli = new CliAPI.Cli(this._client);
30
+ internal: InternalAPI.Internal = new InternalAPI.Internal(this._client);
31
+ }
32
+
33
+ V3.Auth = Auth;
34
+ V3.Admin = Admin;
35
+ V3.Cli = Cli;
36
+ V3.Internal = Internal;
37
+
38
+ export declare namespace V3 {
39
+ export { Auth as Auth };
40
+
41
+ export {
42
+ Admin as Admin,
43
+ type AdminListConnectionsResponse as AdminListConnectionsResponse,
44
+ type AdminRefreshAuthTokensResponse as AdminRefreshAuthTokensResponse,
45
+ type AdminListConnectionsParams as AdminListConnectionsParams,
46
+ type AdminRefreshAuthTokensParams as AdminRefreshAuthTokensParams,
47
+ };
48
+
49
+ export {
50
+ Cli as Cli,
51
+ type CliCreateSessionResponse as CliCreateSessionResponse,
52
+ type CliLinkSessionResponse as CliLinkSessionResponse,
53
+ type CliRetrieveSessionResponse as CliRetrieveSessionResponse,
54
+ type CliLinkSessionParams as CliLinkSessionParams,
55
+ type CliRetrieveSessionParams as CliRetrieveSessionParams,
56
+ };
57
+
58
+ export { Internal as Internal };
59
+ }
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './v3/index';
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-alpha.15'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.17'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.15";
1
+ export declare const VERSION = "0.1.0-alpha.17";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.15";
1
+ export declare const VERSION = "0.1.0-alpha.17";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.1.0-alpha.15'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-alpha.17'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.1.0-alpha.15'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.17'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
@@ -1,10 +0,0 @@
1
- import { APIResource } from "../../core/resource.mjs";
2
- import * as SessionAPI from "./session.mjs";
3
- import { Session, SessionRetrieveResponse } from "./session.mjs";
4
- export declare class Auth extends APIResource {
5
- session: SessionAPI.Session;
6
- }
7
- export declare namespace Auth {
8
- export { Session as Session, type SessionRetrieveResponse as SessionRetrieveResponse };
9
- }
10
- //# sourceMappingURL=auth.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.d.mts","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,uBAAuB,EAAE;AAE3C,qBAAa,IAAK,SAAQ,WAAW;IACnC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACxF"}
@@ -1,10 +0,0 @@
1
- import { APIResource } from "../../core/resource.js";
2
- import * as SessionAPI from "./session.js";
3
- import { Session, SessionRetrieveResponse } from "./session.js";
4
- export declare class Auth extends APIResource {
5
- session: SessionAPI.Session;
6
- }
7
- export declare namespace Auth {
8
- export { Session as Session, type SessionRetrieveResponse as SessionRetrieveResponse };
9
- }
10
- //# sourceMappingURL=auth.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,uBAAuB,EAAE;AAE3C,qBAAa,IAAK,SAAQ,WAAW;IACnC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACxF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,iEAAwC;AACxC,0CAA6D;AAE7D,MAAa,IAAK,SAAQ,sBAAW;IAArC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAFD,oBAEC;AAED,IAAI,CAAC,OAAO,GAAG,iBAAO,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.mjs","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAA2B;AAE3C,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC"}
@@ -1,3 +0,0 @@
1
- export { Auth } from "./auth.mjs";
2
- export { Session, type SessionRetrieveResponse } from "./session.mjs";
3
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EAAE,OAAO,EAAE,KAAK,uBAAuB,EAAE"}
@@ -1,3 +0,0 @@
1
- export { Auth } from "./auth.js";
2
- export { Session, type SessionRetrieveResponse } from "./session.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EAAE,OAAO,EAAE,KAAK,uBAAuB,EAAE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,wCAAkE;AAAzD,kGAAA,OAAO,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAAE;OACR,EAAE,OAAO,EAAgC"}
@@ -1 +0,0 @@
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,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAGxE;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,OAAO,EAAE,uBAAuB,CAAC,MAAM,GAAG,IAAI,CAAC;IAE/C;;OAEG;IACH,UAAU,EAAE,uBAAuB,CAAC,SAAS,CAAC;IAE9C;;;OAGG;IACH,OAAO,EAAE,uBAAuB,CAAC,OAAO,GAAG,IAAI,CAAC;CACjD;AAED,yBAAiB,uBAAuB,CAAC;IACvC;;OAEG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QAC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AEf;;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,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACpE"}
@@ -1 +0,0 @@
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,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;CACF;AAXD,0BAWC"}
@@ -1 +0,0 @@
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,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.js","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAA6B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.mjs","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -1,28 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- /**
4
- * Shims for types that we can't always rely on being available globally.
5
- *
6
- * Note: these only exist at the type-level, there is no corresponding runtime
7
- * version for any of these symbols.
8
- */
9
-
10
- /**
11
- * In order to properly access the global `NodeJS` type, if it's available, we
12
- * need to make use of declaration shadowing. Without this, any checks for the
13
- * presence of `NodeJS.ReadableStream` will fail.
14
- */
15
- declare namespace NodeJS {
16
- interface ReadableStream {}
17
- }
18
-
19
- type HasProperties<T> = keyof T extends never ? false : true;
20
-
21
- // @ts-ignore
22
- type _ReadableStream<R = any> =
23
- // @ts-ignore
24
- HasProperties<NodeJS.ReadableStream> extends true ? NodeJS.ReadableStream<R> : ReadableStream<R>;
25
-
26
- // @ts-ignore
27
- declare const _ReadableStream: unknown extends typeof ReadableStream ? never : typeof ReadableStream;
28
- export { _ReadableStream as ReadableStream };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes