@composio/client 0.1.0-alpha.13 → 0.1.0-alpha.14

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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.14 (2025-05-26)
4
+
5
+ Full Changelog: [v0.1.0-alpha.13...v0.1.0-alpha.14](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.13...v0.1.0-alpha.14)
6
+
7
+ ### Features
8
+
9
+ * **api:** update info to be retrieve ([f4b0b9b](https://github.com/ComposioHQ/composio-base-ts/commit/f4b0b9b0aa0e9d82870d2817b64a038845e55f93))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **api:** skip breaking tests ([96d37b1](https://github.com/ComposioHQ/composio-base-ts/commit/96d37b1d1a98108069aa66d27763d685496aefe7))
15
+
3
16
  ## 0.1.0-alpha.13 (2025-05-26)
4
17
 
5
18
  Full Changelog: [v0.1.0-alpha.12...v0.1.0-alpha.13](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.12...v0.1.0-alpha.13)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@composio/client",
3
- "version": "0.1.0-alpha.13",
3
+ "version": "0.1.0-alpha.14",
4
4
  "description": "The official TypeScript library for the Composio API",
5
5
  "author": "Composio <tech@composio.com>",
6
6
  "types": "./index.d.ts",
@@ -1,10 +1,10 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
2
  import * as SessionAPI from "./session.mjs";
3
- import { Session, SessionInfoResponse } from "./session.mjs";
3
+ import { Session, SessionRetrieveResponse } from "./session.mjs";
4
4
  export declare class Auth extends APIResource {
5
5
  session: SessionAPI.Session;
6
6
  }
7
7
  export declare namespace Auth {
8
- export { Session as Session, type SessionInfoResponse as SessionInfoResponse };
8
+ export { Session as Session, type SessionRetrieveResponse as SessionRetrieveResponse };
9
9
  }
10
10
  //# sourceMappingURL=auth.d.mts.map
@@ -1 +1 @@
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,mBAAmB,EAAE;AAEvC,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,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAChF"}
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 +1,10 @@
1
1
  import { APIResource } from "../../core/resource.js";
2
2
  import * as SessionAPI from "./session.js";
3
- import { Session, SessionInfoResponse } from "./session.js";
3
+ import { Session, SessionRetrieveResponse } from "./session.js";
4
4
  export declare class Auth extends APIResource {
5
5
  session: SessionAPI.Session;
6
6
  }
7
7
  export declare namespace Auth {
8
- export { Session as Session, type SessionInfoResponse as SessionInfoResponse };
8
+ export { Session as Session, type SessionRetrieveResponse as SessionRetrieveResponse };
9
9
  }
10
10
  //# sourceMappingURL=auth.d.ts.map
@@ -1 +1 @@
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,mBAAmB,EAAE;AAEvC,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,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAChF"}
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 +1 @@
1
- {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,iEAAwC;AACxC,0CAAyD;AAEzD,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
+ {"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 +1 @@
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,EAAuB;AAEvC,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
+ {"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 +1,3 @@
1
1
  export { Auth } from "./auth.mjs";
2
- export { Session, type SessionInfoResponse } from "./session.mjs";
2
+ export { Session, type SessionRetrieveResponse } from "./session.mjs";
3
3
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
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,mBAAmB,EAAE"}
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 +1,3 @@
1
1
  export { Auth } from "./auth.js";
2
- export { Session, type SessionInfoResponse } from "./session.js";
2
+ export { Session, type SessionRetrieveResponse } from "./session.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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,mBAAmB,EAAE"}
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 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,wCAA8D;AAArD,kGAAA,OAAO,OAAA"}
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 +1 @@
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,EAA4B"}
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"}
@@ -9,27 +9,27 @@ export declare class Session extends APIResource {
9
9
  * retrieving contextual information about the authenticated user and their access
10
10
  * privileges.
11
11
  */
12
- info(options?: RequestOptions): APIPromise<SessionInfoResponse>;
12
+ retrieve(options?: RequestOptions): APIPromise<SessionRetrieveResponse>;
13
13
  }
14
14
  /**
15
15
  * Response containing user session information
16
16
  */
17
- export interface SessionInfoResponse {
17
+ export interface SessionRetrieveResponse {
18
18
  /**
19
19
  * Details of the API key used for authentication (null if using session auth)
20
20
  */
21
- api_key: SessionInfoResponse.APIKey | null;
21
+ api_key: SessionRetrieveResponse.APIKey | null;
22
22
  /**
23
23
  * Information about the authenticated user
24
24
  */
25
- org_member: SessionInfoResponse.OrgMember;
25
+ org_member: SessionRetrieveResponse.OrgMember;
26
26
  /**
27
27
  * Details of the current active project (null if accessing with org-level
28
28
  * credentials)
29
29
  */
30
- project: SessionInfoResponse.Project | null;
30
+ project: SessionRetrieveResponse.Project | null;
31
31
  }
32
- export declare namespace SessionInfoResponse {
32
+ export declare namespace SessionRetrieveResponse {
33
33
  /**
34
34
  * Details of the API key used for authentication (null if using session auth)
35
35
  */
@@ -235,6 +235,6 @@ export declare namespace SessionInfoResponse {
235
235
  }
236
236
  }
237
237
  export declare namespace Session {
238
- export { type SessionInfoResponse as SessionInfoResponse };
238
+ export { type SessionRetrieveResponse as SessionRetrieveResponse };
239
239
  }
240
240
  //# sourceMappingURL=session.d.mts.map
@@ -1 +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,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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,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACpE"}
@@ -9,27 +9,27 @@ export declare class Session extends APIResource {
9
9
  * retrieving contextual information about the authenticated user and their access
10
10
  * privileges.
11
11
  */
12
- info(options?: RequestOptions): APIPromise<SessionInfoResponse>;
12
+ retrieve(options?: RequestOptions): APIPromise<SessionRetrieveResponse>;
13
13
  }
14
14
  /**
15
15
  * Response containing user session information
16
16
  */
17
- export interface SessionInfoResponse {
17
+ export interface SessionRetrieveResponse {
18
18
  /**
19
19
  * Details of the API key used for authentication (null if using session auth)
20
20
  */
21
- api_key: SessionInfoResponse.APIKey | null;
21
+ api_key: SessionRetrieveResponse.APIKey | null;
22
22
  /**
23
23
  * Information about the authenticated user
24
24
  */
25
- org_member: SessionInfoResponse.OrgMember;
25
+ org_member: SessionRetrieveResponse.OrgMember;
26
26
  /**
27
27
  * Details of the current active project (null if accessing with org-level
28
28
  * credentials)
29
29
  */
30
- project: SessionInfoResponse.Project | null;
30
+ project: SessionRetrieveResponse.Project | null;
31
31
  }
32
- export declare namespace SessionInfoResponse {
32
+ export declare namespace SessionRetrieveResponse {
33
33
  /**
34
34
  * Details of the API key used for authentication (null if using session auth)
35
35
  */
@@ -235,6 +235,6 @@ export declare namespace SessionInfoResponse {
235
235
  }
236
236
  }
237
237
  export declare namespace Session {
238
- export { type SessionInfoResponse as SessionInfoResponse };
238
+ export { type SessionRetrieveResponse as SessionRetrieveResponse };
239
239
  }
240
240
  //# sourceMappingURL=session.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"session.d.ts","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,CAAC;QAEnB;;WAEG;QACH,OAAO,EAAE,OAAO,CAAC;QAEjB;;WAEG;QACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;QAE1B;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QAEZ;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;KACpB;IAED;;OAEG;IACH,UAAiB,SAAS;QACxB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,KAA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,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,cAAc,EAAE,MAAM,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,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACpE"}
@@ -11,7 +11,7 @@ class Session extends resource_1.APIResource {
11
11
  * retrieving contextual information about the authenticated user and their access
12
12
  * privileges.
13
13
  */
14
- info(options) {
14
+ retrieve(options) {
15
15
  return this._client.get('/api/v3/auth/session/info', options);
16
16
  }
17
17
  }
@@ -1 +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"}
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"}
@@ -8,7 +8,7 @@ export class Session extends APIResource {
8
8
  * retrieving contextual information about the authenticated user and their access
9
9
  * privileges.
10
10
  */
11
- info(options) {
11
+ retrieve(options) {
12
12
  return this._client.get('/api/v3/auth/session/info', options);
13
13
  }
14
14
  }
@@ -1 +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"}
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"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
4
  import * as SessionAPI from './session';
5
- import { Session, SessionInfoResponse } from './session';
5
+ import { Session, SessionRetrieveResponse } from './session';
6
6
 
7
7
  export class Auth extends APIResource {
8
8
  session: SessionAPI.Session = new SessionAPI.Session(this._client);
@@ -11,5 +11,5 @@ export class Auth extends APIResource {
11
11
  Auth.Session = Session;
12
12
 
13
13
  export declare namespace Auth {
14
- export { Session as Session, type SessionInfoResponse as SessionInfoResponse };
14
+ export { Session as Session, type SessionRetrieveResponse as SessionRetrieveResponse };
15
15
  }
@@ -1,4 +1,4 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  export { Auth } from './auth';
4
- export { Session, type SessionInfoResponse } from './session';
4
+ export { Session, type SessionRetrieveResponse } from './session';
@@ -12,7 +12,7 @@ export class Session extends APIResource {
12
12
  * retrieving contextual information about the authenticated user and their access
13
13
  * privileges.
14
14
  */
15
- info(options?: RequestOptions): APIPromise<SessionInfoResponse> {
15
+ retrieve(options?: RequestOptions): APIPromise<SessionRetrieveResponse> {
16
16
  return this._client.get('/api/v3/auth/session/info', options);
17
17
  }
18
18
  }
@@ -20,25 +20,25 @@ export class Session extends APIResource {
20
20
  /**
21
21
  * Response containing user session information
22
22
  */
23
- export interface SessionInfoResponse {
23
+ export interface SessionRetrieveResponse {
24
24
  /**
25
25
  * Details of the API key used for authentication (null if using session auth)
26
26
  */
27
- api_key: SessionInfoResponse.APIKey | null;
27
+ api_key: SessionRetrieveResponse.APIKey | null;
28
28
 
29
29
  /**
30
30
  * Information about the authenticated user
31
31
  */
32
- org_member: SessionInfoResponse.OrgMember;
32
+ org_member: SessionRetrieveResponse.OrgMember;
33
33
 
34
34
  /**
35
35
  * Details of the current active project (null if accessing with org-level
36
36
  * credentials)
37
37
  */
38
- project: SessionInfoResponse.Project | null;
38
+ project: SessionRetrieveResponse.Project | null;
39
39
  }
40
40
 
41
- export namespace SessionInfoResponse {
41
+ export namespace SessionRetrieveResponse {
42
42
  /**
43
43
  * Details of the API key used for authentication (null if using session auth)
44
44
  */
@@ -288,5 +288,5 @@ export namespace SessionInfoResponse {
288
288
  }
289
289
 
290
290
  export declare namespace Session {
291
- export { type SessionInfoResponse as SessionInfoResponse };
291
+ export { type SessionRetrieveResponse as SessionRetrieveResponse };
292
292
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-alpha.13'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.14'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.13";
1
+ export declare const VERSION = "0.1.0-alpha.14";
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.13";
1
+ export declare const VERSION = "0.1.0-alpha.14";
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.13'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-alpha.14'; // 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.13'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.14'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map