@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,14 +0,0 @@
1
- import { APIResource } from "../../../core/resource.mjs";
2
- import * as ActionExecutionAPI from "./action-execution.mjs";
3
- import { ActionExecution, ActionExecutionRetrieveLogResponse, ActionExecutionSearchLogsParams, ActionExecutionSearchLogsResponse } from "./action-execution.mjs";
4
- import * as TriggerAPI from "./trigger.mjs";
5
- import { Trigger, TriggerSearchLogsParams, TriggerSearchLogsResponse } from "./trigger.mjs";
6
- export declare class Internal extends APIResource {
7
- trigger: TriggerAPI.Trigger;
8
- actionExecution: ActionExecutionAPI.ActionExecution;
9
- }
10
- export declare namespace Internal {
11
- export { Trigger as Trigger, type TriggerSearchLogsResponse as TriggerSearchLogsResponse, type TriggerSearchLogsParams as TriggerSearchLogsParams, };
12
- export { ActionExecution as ActionExecution, type ActionExecutionRetrieveLogResponse as ActionExecutionRetrieveLogResponse, type ActionExecutionSearchLogsResponse as ActionExecutionSearchLogsResponse, type ActionExecutionSearchLogsParams as ActionExecutionSearchLogsParams, };
13
- }
14
- //# sourceMappingURL=internal.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal.d.mts","sourceRoot":"","sources":["../../../src/resources/v3/internal/internal.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,kBAAkB;OACvB,EACL,eAAe,EACf,kCAAkC,EAClC,+BAA+B,EAC/B,iCAAiC,EAClC;OACM,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE;AAEtE,qBAAa,QAAS,SAAQ,WAAW;IACvC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,eAAe,EAAE,kBAAkB,CAAC,eAAe,CAAwD;CAC5G;AAKD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,eAAe,IAAI,eAAe,EAClC,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
@@ -1,14 +0,0 @@
1
- import { APIResource } from "../../../core/resource.js";
2
- import * as ActionExecutionAPI from "./action-execution.js";
3
- import { ActionExecution, ActionExecutionRetrieveLogResponse, ActionExecutionSearchLogsParams, ActionExecutionSearchLogsResponse } from "./action-execution.js";
4
- import * as TriggerAPI from "./trigger.js";
5
- import { Trigger, TriggerSearchLogsParams, TriggerSearchLogsResponse } from "./trigger.js";
6
- export declare class Internal extends APIResource {
7
- trigger: TriggerAPI.Trigger;
8
- actionExecution: ActionExecutionAPI.ActionExecution;
9
- }
10
- export declare namespace Internal {
11
- export { Trigger as Trigger, type TriggerSearchLogsResponse as TriggerSearchLogsResponse, type TriggerSearchLogsParams as TriggerSearchLogsParams, };
12
- export { ActionExecution as ActionExecution, type ActionExecutionRetrieveLogResponse as ActionExecutionRetrieveLogResponse, type ActionExecutionSearchLogsResponse as ActionExecutionSearchLogsResponse, type ActionExecutionSearchLogsParams as ActionExecutionSearchLogsParams, };
13
- }
14
- //# sourceMappingURL=internal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/resources/v3/internal/internal.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,kBAAkB;OACvB,EACL,eAAe,EACf,kCAAkC,EAClC,+BAA+B,EAC/B,iCAAiC,EAClC;OACM,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE;AAEtE,qBAAa,QAAS,SAAQ,WAAW;IACvC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,eAAe,EAAE,kBAAkB,CAAC,eAAe,CAAwD;CAC5G;AAKD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,eAAe,IAAI,eAAe,EAClC,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
@@ -1,21 +0,0 @@
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.Internal = void 0;
5
- const tslib_1 = require("../../../internal/tslib.js");
6
- const resource_1 = require("../../../core/resource.js");
7
- const ActionExecutionAPI = tslib_1.__importStar(require("./action-execution.js"));
8
- const action_execution_1 = require("./action-execution.js");
9
- const TriggerAPI = tslib_1.__importStar(require("./trigger.js"));
10
- const trigger_1 = require("./trigger.js");
11
- class Internal extends resource_1.APIResource {
12
- constructor() {
13
- super(...arguments);
14
- this.trigger = new TriggerAPI.Trigger(this._client);
15
- this.actionExecution = new ActionExecutionAPI.ActionExecution(this._client);
16
- }
17
- }
18
- exports.Internal = Internal;
19
- Internal.Trigger = trigger_1.Trigger;
20
- Internal.ActionExecution = action_execution_1.ActionExecution;
21
- //# sourceMappingURL=internal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/resources/v3/internal/internal.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,kFAAyD;AACzD,4DAK4B;AAC5B,iEAAwC;AACxC,0CAAwF;AAExF,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,oBAAe,GAAuC,IAAI,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC7G,CAAC;CAAA;AAHD,4BAGC;AAED,QAAQ,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC3B,QAAQ,CAAC,eAAe,GAAG,kCAAe,CAAC"}
@@ -1,16 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../core/resource.mjs";
3
- import * as ActionExecutionAPI from "./action-execution.mjs";
4
- import { ActionExecution, } from "./action-execution.mjs";
5
- import * as TriggerAPI from "./trigger.mjs";
6
- import { Trigger } from "./trigger.mjs";
7
- export class Internal extends APIResource {
8
- constructor() {
9
- super(...arguments);
10
- this.trigger = new TriggerAPI.Trigger(this._client);
11
- this.actionExecution = new ActionExecutionAPI.ActionExecution(this._client);
12
- }
13
- }
14
- Internal.Trigger = Trigger;
15
- Internal.ActionExecution = ActionExecution;
16
- //# sourceMappingURL=internal.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal.mjs","sourceRoot":"","sources":["../../../src/resources/v3/internal/internal.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,kBAAkB;OACvB,EACL,eAAe,GAIhB;OACM,KAAK,UAAU;OACf,EAAE,OAAO,EAAsD;AAEtE,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,oBAAe,GAAuC,IAAI,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC7G,CAAC;CAAA;AAED,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC;AAC3B,QAAQ,CAAC,eAAe,GAAG,eAAe,CAAC"}
@@ -1,84 +0,0 @@
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 Trigger extends APIResource {
5
- /**
6
- * Search and retrieve trigger event logs
7
- *
8
- * @example
9
- * ```ts
10
- * const response =
11
- * await client.v3.internal.trigger.searchLogs({
12
- * cursor: 'cursor',
13
- * });
14
- * ```
15
- */
16
- searchLogs(body: TriggerSearchLogsParams, options?: RequestOptions): APIPromise<TriggerSearchLogsResponse>;
17
- }
18
- export interface TriggerSearchLogsResponse {
19
- nextCursor: string | null;
20
- data?: Array<TriggerSearchLogsResponse.Data>;
21
- }
22
- export declare namespace TriggerSearchLogsResponse {
23
- interface Data {
24
- id: string;
25
- appName: string;
26
- clientId: string;
27
- connectionId: string;
28
- createdAt: string;
29
- entityId: string;
30
- meta: Data.Meta;
31
- status: string;
32
- /**
33
- * Log entity type (trigger or action)
34
- */
35
- type: 'trigger' | 'action';
36
- }
37
- namespace Data {
38
- interface Meta {
39
- id: string;
40
- clientId: string;
41
- connectionId: string;
42
- createdAt: string;
43
- provider: string;
44
- /**
45
- * Log entity type (trigger or action)
46
- */
47
- type: 'trigger' | 'action';
48
- updatedAt: string;
49
- triggerClientError?: string;
50
- triggerClientPayload?: string;
51
- triggerClientResponse?: string;
52
- triggerName?: string;
53
- triggerProviderPayload?: string;
54
- }
55
- }
56
- }
57
- export interface TriggerSearchLogsParams {
58
- /**
59
- * cursor that can be used to paginate through the logs
60
- */
61
- cursor: string | null;
62
- entityId?: string;
63
- integrationId?: string;
64
- /**
65
- * number of logs to return
66
- */
67
- limit?: number;
68
- /**
69
- * Search term to filter logs
70
- */
71
- search?: string;
72
- /**
73
- * Filter logs by their status level
74
- */
75
- status?: 'all' | 'success' | 'error';
76
- /**
77
- * Return logs from the last N time units
78
- */
79
- time?: '5m' | '30m' | '6h' | '1d' | '1w' | '1month' | '1y';
80
- }
81
- export declare namespace Trigger {
82
- export { type TriggerSearchLogsResponse as TriggerSearchLogsResponse, type TriggerSearchLogsParams as TriggerSearchLogsParams, };
83
- }
84
- //# sourceMappingURL=trigger.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"trigger.d.mts","sourceRoot":"","sources":["../../../src/resources/v3/internal/trigger.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,UAAU,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;CAG3G;AAED,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,IAAI,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;CAC9C;AAED,yBAAiB,yBAAyB,CAAC;IACzC,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,OAAO,EAAE,MAAM,CAAC;QAEhB,QAAQ,EAAE,MAAM,CAAC;QAEjB,YAAY,EAAE,MAAM,CAAC;QAErB,SAAS,EAAE,MAAM,CAAC;QAElB,QAAQ,EAAE,MAAM,CAAC;QAEjB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAEhB,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;KAC5B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,IAAI;YACnB,EAAE,EAAE,MAAM,CAAC;YAEX,QAAQ,EAAE,MAAM,CAAC;YAEjB,YAAY,EAAE,MAAM,CAAC;YAErB,SAAS,EAAE,MAAM,CAAC;YAElB,QAAQ,EAAE,MAAM,CAAC;YAEjB;;eAEG;YACH,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;YAE3B,SAAS,EAAE,MAAM,CAAC;YAElB,kBAAkB,CAAC,EAAE,MAAM,CAAC;YAE5B,oBAAoB,CAAC,EAAE,MAAM,CAAC;YAE9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;YAE/B,WAAW,CAAC,EAAE,MAAM,CAAC;YAErB,sBAAsB,CAAC,EAAE,MAAM,CAAC;SACjC;KACF;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,GAAG,SAAS,GAAG,OAAO,CAAC;IAErC;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,QAAQ,GAAG,IAAI,CAAC;CAC5D;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -1,84 +0,0 @@
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 Trigger extends APIResource {
5
- /**
6
- * Search and retrieve trigger event logs
7
- *
8
- * @example
9
- * ```ts
10
- * const response =
11
- * await client.v3.internal.trigger.searchLogs({
12
- * cursor: 'cursor',
13
- * });
14
- * ```
15
- */
16
- searchLogs(body: TriggerSearchLogsParams, options?: RequestOptions): APIPromise<TriggerSearchLogsResponse>;
17
- }
18
- export interface TriggerSearchLogsResponse {
19
- nextCursor: string | null;
20
- data?: Array<TriggerSearchLogsResponse.Data>;
21
- }
22
- export declare namespace TriggerSearchLogsResponse {
23
- interface Data {
24
- id: string;
25
- appName: string;
26
- clientId: string;
27
- connectionId: string;
28
- createdAt: string;
29
- entityId: string;
30
- meta: Data.Meta;
31
- status: string;
32
- /**
33
- * Log entity type (trigger or action)
34
- */
35
- type: 'trigger' | 'action';
36
- }
37
- namespace Data {
38
- interface Meta {
39
- id: string;
40
- clientId: string;
41
- connectionId: string;
42
- createdAt: string;
43
- provider: string;
44
- /**
45
- * Log entity type (trigger or action)
46
- */
47
- type: 'trigger' | 'action';
48
- updatedAt: string;
49
- triggerClientError?: string;
50
- triggerClientPayload?: string;
51
- triggerClientResponse?: string;
52
- triggerName?: string;
53
- triggerProviderPayload?: string;
54
- }
55
- }
56
- }
57
- export interface TriggerSearchLogsParams {
58
- /**
59
- * cursor that can be used to paginate through the logs
60
- */
61
- cursor: string | null;
62
- entityId?: string;
63
- integrationId?: string;
64
- /**
65
- * number of logs to return
66
- */
67
- limit?: number;
68
- /**
69
- * Search term to filter logs
70
- */
71
- search?: string;
72
- /**
73
- * Filter logs by their status level
74
- */
75
- status?: 'all' | 'success' | 'error';
76
- /**
77
- * Return logs from the last N time units
78
- */
79
- time?: '5m' | '30m' | '6h' | '1d' | '1w' | '1month' | '1y';
80
- }
81
- export declare namespace Trigger {
82
- export { type TriggerSearchLogsResponse as TriggerSearchLogsResponse, type TriggerSearchLogsParams as TriggerSearchLogsParams, };
83
- }
84
- //# sourceMappingURL=trigger.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"trigger.d.ts","sourceRoot":"","sources":["../../../src/resources/v3/internal/trigger.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,UAAU,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;CAG3G;AAED,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,IAAI,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;CAC9C;AAED,yBAAiB,yBAAyB,CAAC;IACzC,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,OAAO,EAAE,MAAM,CAAC;QAEhB,QAAQ,EAAE,MAAM,CAAC;QAEjB,YAAY,EAAE,MAAM,CAAC;QAErB,SAAS,EAAE,MAAM,CAAC;QAElB,QAAQ,EAAE,MAAM,CAAC;QAEjB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAEhB,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;KAC5B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,IAAI;YACnB,EAAE,EAAE,MAAM,CAAC;YAEX,QAAQ,EAAE,MAAM,CAAC;YAEjB,YAAY,EAAE,MAAM,CAAC;YAErB,SAAS,EAAE,MAAM,CAAC;YAElB,QAAQ,EAAE,MAAM,CAAC;YAEjB;;eAEG;YACH,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;YAE3B,SAAS,EAAE,MAAM,CAAC;YAElB,kBAAkB,CAAC,EAAE,MAAM,CAAC;YAE5B,oBAAoB,CAAC,EAAE,MAAM,CAAC;YAE9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;YAE/B,WAAW,CAAC,EAAE,MAAM,CAAC;YAErB,sBAAsB,CAAC,EAAE,MAAM,CAAC;SACjC;KACF;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,GAAG,SAAS,GAAG,OAAO,CAAC;IAErC;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,QAAQ,GAAG,IAAI,CAAC;CAC5D;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -1,23 +0,0 @@
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.Trigger = void 0;
5
- const resource_1 = require("../../../core/resource.js");
6
- class Trigger extends resource_1.APIResource {
7
- /**
8
- * Search and retrieve trigger event logs
9
- *
10
- * @example
11
- * ```ts
12
- * const response =
13
- * await client.v3.internal.trigger.searchLogs({
14
- * cursor: 'cursor',
15
- * });
16
- * ```
17
- */
18
- searchLogs(body, options) {
19
- return this._client.post('/api/v3/internal/trigger/logs', { body, ...options });
20
- }
21
- }
22
- exports.Trigger = Trigger;
23
- //# sourceMappingURL=trigger.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../../src/resources/v3/internal/trigger.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,UAAU,CAAC,IAA6B,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF;AAfD,0BAeC"}
@@ -1,19 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../core/resource.mjs";
3
- export class Trigger extends APIResource {
4
- /**
5
- * Search and retrieve trigger event logs
6
- *
7
- * @example
8
- * ```ts
9
- * const response =
10
- * await client.v3.internal.trigger.searchLogs({
11
- * cursor: 'cursor',
12
- * });
13
- * ```
14
- */
15
- searchLogs(body, options) {
16
- return this._client.post('/api/v3/internal/trigger/logs', { body, ...options });
17
- }
18
- }
19
- //# sourceMappingURL=trigger.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"trigger.mjs","sourceRoot":"","sources":["../../../src/resources/v3/internal/trigger.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,UAAU,CAAC,IAA6B,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF"}
@@ -1,2 +0,0 @@
1
- export * from "./internal/index.mjs";
2
- //# sourceMappingURL=internal.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal.d.mts","sourceRoot":"","sources":["../../src/resources/v3/internal.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export * from "./internal/index.js";
2
- //# sourceMappingURL=internal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/resources/v3/internal.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
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("./internal/index.js"), exports);
6
- //# sourceMappingURL=internal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../src/resources/v3/internal.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAAiC"}
@@ -1,3 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export * from "./internal/index.mjs";
3
- //# sourceMappingURL=internal.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal.mjs","sourceRoot":"","sources":["../../src/resources/v3/internal.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -1,18 +0,0 @@
1
- import { APIResource } from "../../core/resource.mjs";
2
- import * as CliAPI from "./cli.mjs";
3
- import { Cli, CliCreateSessionResponse, CliLinkSessionParams, CliLinkSessionResponse, CliRetrieveSessionParams, CliRetrieveSessionResponse } from "./cli.mjs";
4
- import * as AuthAPI from "./auth/auth.mjs";
5
- import { Auth } from "./auth/auth.mjs";
6
- import * as InternalAPI from "./internal/internal.mjs";
7
- import { Internal } from "./internal/internal.mjs";
8
- export declare class V3 extends APIResource {
9
- auth: AuthAPI.Auth;
10
- cli: CliAPI.Cli;
11
- internal: InternalAPI.Internal;
12
- }
13
- export declare namespace V3 {
14
- export { Auth as Auth };
15
- export { Cli as Cli, type CliCreateSessionResponse as CliCreateSessionResponse, type CliLinkSessionResponse as CliLinkSessionResponse, type CliRetrieveSessionResponse as CliRetrieveSessionResponse, type CliLinkSessionParams as CliLinkSessionParams, type CliRetrieveSessionParams as CliRetrieveSessionParams, };
16
- export { Internal as Internal };
17
- }
18
- //# sourceMappingURL=v3.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v3.d.mts","sourceRoot":"","sources":["../../src/resources/v3/v3.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EACL,GAAG,EACH,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC3B;OACM,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE;OACR,KAAK,WAAW;OAChB,EAAE,QAAQ,EAAE;AAEnB,qBAAa,EAAG,SAAQ,WAAW;IACjC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,GAAG,EAAE,MAAM,CAAC,GAAG,CAAgC;IAC/C,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;CACzE;AAMD,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;IAExB,OAAO,EACL,GAAG,IAAI,GAAG,EACV,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EAAE,QAAQ,IAAI,QAAQ,EAAE,CAAC;CACjC"}
@@ -1,18 +0,0 @@
1
- import { APIResource } from "../../core/resource.js";
2
- import * as CliAPI from "./cli.js";
3
- import { Cli, CliCreateSessionResponse, CliLinkSessionParams, CliLinkSessionResponse, CliRetrieveSessionParams, CliRetrieveSessionResponse } from "./cli.js";
4
- import * as AuthAPI from "./auth/auth.js";
5
- import { Auth } from "./auth/auth.js";
6
- import * as InternalAPI from "./internal/internal.js";
7
- import { Internal } from "./internal/internal.js";
8
- export declare class V3 extends APIResource {
9
- auth: AuthAPI.Auth;
10
- cli: CliAPI.Cli;
11
- internal: InternalAPI.Internal;
12
- }
13
- export declare namespace V3 {
14
- export { Auth as Auth };
15
- export { Cli as Cli, type CliCreateSessionResponse as CliCreateSessionResponse, type CliLinkSessionResponse as CliLinkSessionResponse, type CliRetrieveSessionResponse as CliRetrieveSessionResponse, type CliLinkSessionParams as CliLinkSessionParams, type CliRetrieveSessionParams as CliRetrieveSessionParams, };
16
- export { Internal as Internal };
17
- }
18
- //# sourceMappingURL=v3.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v3.d.ts","sourceRoot":"","sources":["../../src/resources/v3/v3.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EACL,GAAG,EACH,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC3B;OACM,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE;OACR,KAAK,WAAW;OAChB,EAAE,QAAQ,EAAE;AAEnB,qBAAa,EAAG,SAAQ,WAAW;IACjC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,GAAG,EAAE,MAAM,CAAC,GAAG,CAAgC;IAC/C,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;CACzE;AAMD,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;IAExB,OAAO,EACL,GAAG,IAAI,GAAG,EACV,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EAAE,QAAQ,IAAI,QAAQ,EAAE,CAAC;CACjC"}
@@ -1,25 +0,0 @@
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.V3 = void 0;
5
- const tslib_1 = require("../../internal/tslib.js");
6
- const resource_1 = require("../../core/resource.js");
7
- const CliAPI = tslib_1.__importStar(require("./cli.js"));
8
- const cli_1 = require("./cli.js");
9
- const AuthAPI = tslib_1.__importStar(require("./auth/auth.js"));
10
- const auth_1 = require("./auth/auth.js");
11
- const InternalAPI = tslib_1.__importStar(require("./internal/internal.js"));
12
- const internal_1 = require("./internal/internal.js");
13
- class V3 extends resource_1.APIResource {
14
- constructor() {
15
- super(...arguments);
16
- this.auth = new AuthAPI.Auth(this._client);
17
- this.cli = new CliAPI.Cli(this._client);
18
- this.internal = new InternalAPI.Internal(this._client);
19
- }
20
- }
21
- exports.V3 = V3;
22
- V3.Auth = auth_1.Auth;
23
- V3.Cli = cli_1.Cli;
24
- V3.Internal = internal_1.Internal;
25
- //# sourceMappingURL=v3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v3.js","sourceRoot":"","sources":["../../src/resources/v3/v3.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,yDAAgC;AAChC,kCAOe;AACf,gEAAuC;AACvC,yCAAmC;AACnC,4EAAmD;AACnD,qDAA+C;AAE/C,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC1E,CAAC;CAAA;AAJD,gBAIC;AAED,EAAE,CAAC,IAAI,GAAG,WAAI,CAAC;AACf,EAAE,CAAC,GAAG,GAAG,SAAG,CAAC;AACb,EAAE,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
@@ -1,20 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../core/resource.mjs";
3
- import * as CliAPI from "./cli.mjs";
4
- import { Cli, } from "./cli.mjs";
5
- import * as AuthAPI from "./auth/auth.mjs";
6
- import { Auth } from "./auth/auth.mjs";
7
- import * as InternalAPI from "./internal/internal.mjs";
8
- import { Internal } from "./internal/internal.mjs";
9
- export class V3 extends APIResource {
10
- constructor() {
11
- super(...arguments);
12
- this.auth = new AuthAPI.Auth(this._client);
13
- this.cli = new CliAPI.Cli(this._client);
14
- this.internal = new InternalAPI.Internal(this._client);
15
- }
16
- }
17
- V3.Auth = Auth;
18
- V3.Cli = Cli;
19
- V3.Internal = Internal;
20
- //# sourceMappingURL=v3.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v3.mjs","sourceRoot":"","sources":["../../src/resources/v3/v3.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EACL,GAAG,GAMJ;OACM,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE;OACR,KAAK,WAAW;OAChB,EAAE,QAAQ,EAAE;AAEnB,MAAM,OAAO,EAAG,SAAQ,WAAW;IAAnC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC1E,CAAC;CAAA;AAED,EAAE,CAAC,IAAI,GAAG,IAAI,CAAC;AACf,EAAE,CAAC,GAAG,GAAG,GAAG,CAAC;AACb,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./v3/index.mjs";
2
- //# sourceMappingURL=v3.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v3.d.mts","sourceRoot":"","sources":["../src/resources/v3.ts"],"names":[],"mappings":""}
package/resources/v3.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from "./v3/index.js";
2
- //# sourceMappingURL=v3.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v3.d.ts","sourceRoot":"","sources":["../src/resources/v3.ts"],"names":[],"mappings":""}
package/resources/v3.js DELETED
@@ -1,6 +0,0 @@
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("./v3/index.js"), exports);
6
- //# sourceMappingURL=v3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v3.js","sourceRoot":"","sources":["../src/resources/v3.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAA2B"}
package/resources/v3.mjs DELETED
@@ -1,3 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export * from "./v3/index.mjs";
3
- //# sourceMappingURL=v3.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v3.mjs","sourceRoot":"","sources":["../src/resources/v3.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -1,15 +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 SessionAPI from './session';
5
- import { Session, SessionRetrieveInfoResponse } from './session';
6
-
7
- export class Auth extends APIResource {
8
- session: SessionAPI.Session = new SessionAPI.Session(this._client);
9
- }
10
-
11
- Auth.Session = Session;
12
-
13
- export declare namespace Auth {
14
- export { Session as Session, type SessionRetrieveInfoResponse as SessionRetrieveInfoResponse };
15
- }
@@ -1,4 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- export { Auth } from './auth';
4
- export { Session, type SessionRetrieveInfoResponse } from './session';