@onkernel/sdk 0.29.0 → 0.32.0
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 +66 -0
- package/client.d.mts +10 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -6
- package/client.d.ts.map +1 -1
- package/client.js +14 -3
- package/client.js.map +1 -1
- package/client.mjs +14 -3
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/package.json +3 -2
- package/resources/agents/auth/auth.d.mts +115 -46
- package/resources/agents/auth/auth.d.mts.map +1 -1
- package/resources/agents/auth/auth.d.ts +115 -46
- package/resources/agents/auth/auth.d.ts.map +1 -1
- package/resources/agents/auth/auth.js +15 -30
- package/resources/agents/auth/auth.js.map +1 -1
- package/resources/agents/auth/auth.mjs +15 -30
- package/resources/agents/auth/auth.mjs.map +1 -1
- package/resources/agents/auth/invocations.d.mts +18 -47
- package/resources/agents/auth/invocations.d.mts.map +1 -1
- package/resources/agents/auth/invocations.d.ts +18 -47
- package/resources/agents/auth/invocations.d.ts.map +1 -1
- package/resources/agents/auth/invocations.js +16 -45
- package/resources/agents/auth/invocations.js.map +1 -1
- package/resources/agents/auth/invocations.mjs +16 -45
- package/resources/agents/auth/invocations.mjs.map +1 -1
- package/resources/auth/auth.d.mts +10 -0
- package/resources/auth/auth.d.mts.map +1 -0
- package/resources/auth/auth.d.ts +10 -0
- package/resources/auth/auth.d.ts.map +1 -0
- package/resources/auth/auth.js +17 -0
- package/resources/auth/auth.js.map +1 -0
- package/resources/auth/auth.mjs +12 -0
- package/resources/auth/auth.mjs.map +1 -0
- package/resources/auth/connections.d.mts +688 -0
- package/resources/auth/connections.d.mts.map +1 -0
- package/resources/auth/connections.d.ts +688 -0
- package/resources/auth/connections.d.ts.map +1 -0
- package/resources/auth/connections.js +123 -0
- package/resources/auth/connections.js.map +1 -0
- package/resources/auth/connections.mjs +119 -0
- package/resources/auth/connections.mjs.map +1 -0
- package/resources/auth/index.d.mts +3 -0
- package/resources/auth/index.d.mts.map +1 -0
- package/resources/auth/index.d.ts +3 -0
- package/resources/auth/index.d.ts.map +1 -0
- package/resources/auth/index.js +9 -0
- package/resources/auth/index.js.map +1 -0
- package/resources/auth/index.mjs +4 -0
- package/resources/auth/index.mjs.map +1 -0
- package/resources/auth.d.mts +2 -0
- package/resources/auth.d.mts.map +1 -0
- package/resources/auth.d.ts +2 -0
- package/resources/auth.d.ts.map +1 -0
- package/resources/auth.js +6 -0
- package/resources/auth.js.map +1 -0
- package/resources/auth.mjs +3 -0
- package/resources/auth.mjs.map +1 -0
- package/resources/browsers/browsers.d.mts +2 -2
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +2 -2
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/browsers/computer.d.mts +199 -1
- package/resources/browsers/computer.d.mts.map +1 -1
- package/resources/browsers/computer.d.ts +199 -1
- package/resources/browsers/computer.d.ts.map +1 -1
- package/resources/browsers/computer.js +31 -0
- package/resources/browsers/computer.js.map +1 -1
- package/resources/browsers/computer.mjs +31 -0
- package/resources/browsers/computer.mjs.map +1 -1
- package/resources/browsers/index.d.mts +1 -1
- package/resources/browsers/index.d.mts.map +1 -1
- package/resources/browsers/index.d.ts +1 -1
- package/resources/browsers/index.d.ts.map +1 -1
- package/resources/browsers/index.js.map +1 -1
- package/resources/browsers/index.mjs.map +1 -1
- package/resources/credential-providers.d.mts +66 -1
- package/resources/credential-providers.d.mts.map +1 -1
- package/resources/credential-providers.d.ts +66 -1
- package/resources/credential-providers.d.ts.map +1 -1
- package/resources/credential-providers.js +21 -6
- package/resources/credential-providers.js.map +1 -1
- package/resources/credential-providers.mjs +21 -6
- package/resources/credential-providers.mjs.map +1 -1
- package/resources/index.d.mts +3 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/invocations.d.mts +81 -1
- package/resources/invocations.d.mts.map +1 -1
- package/resources/invocations.d.ts +81 -1
- package/resources/invocations.d.ts.map +1 -1
- package/resources/invocations.js +13 -0
- package/resources/invocations.js.map +1 -1
- package/resources/invocations.mjs +13 -0
- package/resources/invocations.mjs.map +1 -1
- package/src/client.ts +28 -5
- package/src/internal/parse.ts +6 -0
- package/src/resources/agents/auth/auth.ts +121 -46
- package/src/resources/agents/auth/invocations.ts +18 -47
- package/src/resources/auth/auth.ts +43 -0
- package/src/resources/auth/connections.ts +848 -0
- package/src/resources/auth/index.ts +18 -0
- package/src/resources/auth.ts +3 -0
- package/src/resources/browsers/browsers.ts +4 -0
- package/src/resources/browsers/computer.ts +257 -0
- package/src/resources/browsers/index.ts +2 -0
- package/src/resources/credential-providers.ts +88 -6
- package/src/resources/index.ts +4 -0
- package/src/resources/invocations.ts +98 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invocations.d.ts","sourceRoot":"","sources":["../../../src/resources/agents/auth/invocations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"invocations.d.ts","sourceRoot":"","sources":["../../../src/resources/agents/auth/invocations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;OAMG;IACH,MAAM,CACJ,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,OAAO,CAAC,iCAAiC,CAAC;IAIxD;;;;;;OAMG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,2BAA2B,CAAC;IAIzG;;;;;;OAMG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;;;;;OAMG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAG/C;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,sBAAsB,GAC9B,sBAAsB,CAAC,QAAQ,GAC/B,sBAAsB,CAAC,QAAQ,GAC/B,sBAAsB,CAAC,QAAQ,CAAC;AAEpC,MAAM,CAAC,OAAO,WAAW,sBAAsB,CAAC;IAC9C,UAAiB,QAAQ;QACvB;;WAEG;QACH,YAAY,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;KACzC;IAED,UAAiB,QAAQ;QACvB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;KACpB;IAED,UAAiB,QAAQ;QACvB;;WAEG;QACH,iBAAiB,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;KAC5E;CACF;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -6,70 +6,41 @@ const resource_1 = require("../../../core/resource.js");
|
|
|
6
6
|
const path_1 = require("../../../internal/utils/path.js");
|
|
7
7
|
class Invocations extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* authentication.
|
|
9
|
+
* **Deprecated: Use POST /auth/connections/{id}/login instead.** Creates a new
|
|
10
|
+
* authentication invocation for the specified auth agent. This starts the auth
|
|
11
|
+
* flow and returns a hosted URL for the user to complete authentication.
|
|
12
12
|
*
|
|
13
|
-
* @
|
|
14
|
-
* ```ts
|
|
15
|
-
* const authAgentInvocationCreateResponse =
|
|
16
|
-
* await client.agents.auth.invocations.create({
|
|
17
|
-
* auth_agent_id: 'abc123xyz',
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
13
|
+
* @deprecated
|
|
20
14
|
*/
|
|
21
15
|
create(body, options) {
|
|
22
16
|
return this._client.post('/agents/auth/invocations', { body, ...options });
|
|
23
17
|
}
|
|
24
18
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
19
|
+
* **Deprecated: Use GET /auth/connections/{id} instead.** Returns invocation
|
|
20
|
+
* details including status, app_name, and domain. Supports both API key and JWT
|
|
21
|
+
* (from exchange endpoint) authentication.
|
|
27
22
|
*
|
|
28
|
-
* @
|
|
29
|
-
* ```ts
|
|
30
|
-
* const agentAuthInvocationResponse =
|
|
31
|
-
* await client.agents.auth.invocations.retrieve(
|
|
32
|
-
* 'invocation_id',
|
|
33
|
-
* );
|
|
34
|
-
* ```
|
|
23
|
+
* @deprecated
|
|
35
24
|
*/
|
|
36
25
|
retrieve(invocationID, options) {
|
|
37
26
|
return this._client.get((0, path_1.path) `/agents/auth/invocations/${invocationID}`, options);
|
|
38
27
|
}
|
|
39
28
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
29
|
+
* **Deprecated: Use POST /auth/connections/{id}/exchange instead.** Validates the
|
|
30
|
+
* handoff code and returns a JWT token for subsequent requests. No authentication
|
|
31
|
+
* required (the handoff code serves as the credential).
|
|
42
32
|
*
|
|
43
|
-
* @
|
|
44
|
-
* ```ts
|
|
45
|
-
* const response =
|
|
46
|
-
* await client.agents.auth.invocations.exchange(
|
|
47
|
-
* 'invocation_id',
|
|
48
|
-
* { code: 'abc123xyz' },
|
|
49
|
-
* );
|
|
50
|
-
* ```
|
|
33
|
+
* @deprecated
|
|
51
34
|
*/
|
|
52
35
|
exchange(invocationID, body, options) {
|
|
53
36
|
return this._client.post((0, path_1.path) `/agents/auth/invocations/${invocationID}/exchange`, { body, ...options });
|
|
54
37
|
}
|
|
55
38
|
/**
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* results.
|
|
39
|
+
* **Deprecated: Use POST /auth/connections/{id}/submit instead.** Submits field
|
|
40
|
+
* values for the discovered login form. Returns immediately after submission is
|
|
41
|
+
* accepted. Poll the invocation endpoint to track progress and get results.
|
|
59
42
|
*
|
|
60
|
-
* @
|
|
61
|
-
* ```ts
|
|
62
|
-
* const agentAuthSubmitResponse =
|
|
63
|
-
* await client.agents.auth.invocations.submit(
|
|
64
|
-
* 'invocation_id',
|
|
65
|
-
* {
|
|
66
|
-
* field_values: {
|
|
67
|
-
* email: 'user@example.com',
|
|
68
|
-
* password: '********',
|
|
69
|
-
* },
|
|
70
|
-
* },
|
|
71
|
-
* );
|
|
72
|
-
* ```
|
|
43
|
+
* @deprecated
|
|
73
44
|
*/
|
|
74
45
|
submit(invocationID, body, options) {
|
|
75
46
|
return this._client.post((0, path_1.path) `/agents/auth/invocations/${invocationID}/submit`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invocations.js","sourceRoot":"","sources":["../../../src/resources/agents/auth/invocations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD,0DAAoD;AAEpD,MAAa,WAAY,SAAQ,sBAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"invocations.js","sourceRoot":"","sources":["../../../src/resources/agents/auth/invocations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD,0DAAoD;AAEpD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;OAMG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,YAAoB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,4BAA4B,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CACN,YAAoB,EACpB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,4BAA4B,YAAY,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,YAAoB,EACpB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,4BAA4B,YAAY,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxG,CAAC;CACF;AAvDD,kCAuDC"}
|
|
@@ -3,70 +3,41 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../../../internal/utils/path.mjs";
|
|
4
4
|
export class Invocations extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* authentication.
|
|
6
|
+
* **Deprecated: Use POST /auth/connections/{id}/login instead.** Creates a new
|
|
7
|
+
* authentication invocation for the specified auth agent. This starts the auth
|
|
8
|
+
* flow and returns a hosted URL for the user to complete authentication.
|
|
9
9
|
*
|
|
10
|
-
* @
|
|
11
|
-
* ```ts
|
|
12
|
-
* const authAgentInvocationCreateResponse =
|
|
13
|
-
* await client.agents.auth.invocations.create({
|
|
14
|
-
* auth_agent_id: 'abc123xyz',
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
10
|
+
* @deprecated
|
|
17
11
|
*/
|
|
18
12
|
create(body, options) {
|
|
19
13
|
return this._client.post('/agents/auth/invocations', { body, ...options });
|
|
20
14
|
}
|
|
21
15
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
16
|
+
* **Deprecated: Use GET /auth/connections/{id} instead.** Returns invocation
|
|
17
|
+
* details including status, app_name, and domain. Supports both API key and JWT
|
|
18
|
+
* (from exchange endpoint) authentication.
|
|
24
19
|
*
|
|
25
|
-
* @
|
|
26
|
-
* ```ts
|
|
27
|
-
* const agentAuthInvocationResponse =
|
|
28
|
-
* await client.agents.auth.invocations.retrieve(
|
|
29
|
-
* 'invocation_id',
|
|
30
|
-
* );
|
|
31
|
-
* ```
|
|
20
|
+
* @deprecated
|
|
32
21
|
*/
|
|
33
22
|
retrieve(invocationID, options) {
|
|
34
23
|
return this._client.get(path `/agents/auth/invocations/${invocationID}`, options);
|
|
35
24
|
}
|
|
36
25
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
26
|
+
* **Deprecated: Use POST /auth/connections/{id}/exchange instead.** Validates the
|
|
27
|
+
* handoff code and returns a JWT token for subsequent requests. No authentication
|
|
28
|
+
* required (the handoff code serves as the credential).
|
|
39
29
|
*
|
|
40
|
-
* @
|
|
41
|
-
* ```ts
|
|
42
|
-
* const response =
|
|
43
|
-
* await client.agents.auth.invocations.exchange(
|
|
44
|
-
* 'invocation_id',
|
|
45
|
-
* { code: 'abc123xyz' },
|
|
46
|
-
* );
|
|
47
|
-
* ```
|
|
30
|
+
* @deprecated
|
|
48
31
|
*/
|
|
49
32
|
exchange(invocationID, body, options) {
|
|
50
33
|
return this._client.post(path `/agents/auth/invocations/${invocationID}/exchange`, { body, ...options });
|
|
51
34
|
}
|
|
52
35
|
/**
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* results.
|
|
36
|
+
* **Deprecated: Use POST /auth/connections/{id}/submit instead.** Submits field
|
|
37
|
+
* values for the discovered login form. Returns immediately after submission is
|
|
38
|
+
* accepted. Poll the invocation endpoint to track progress and get results.
|
|
56
39
|
*
|
|
57
|
-
* @
|
|
58
|
-
* ```ts
|
|
59
|
-
* const agentAuthSubmitResponse =
|
|
60
|
-
* await client.agents.auth.invocations.submit(
|
|
61
|
-
* 'invocation_id',
|
|
62
|
-
* {
|
|
63
|
-
* field_values: {
|
|
64
|
-
* email: 'user@example.com',
|
|
65
|
-
* password: '********',
|
|
66
|
-
* },
|
|
67
|
-
* },
|
|
68
|
-
* );
|
|
69
|
-
* ```
|
|
40
|
+
* @deprecated
|
|
70
41
|
*/
|
|
71
42
|
submit(invocationID, body, options) {
|
|
72
43
|
return this._client.post(path `/agents/auth/invocations/${invocationID}/submit`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invocations.mjs","sourceRoot":"","sources":["../../../src/resources/agents/auth/invocations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"invocations.mjs","sourceRoot":"","sources":["../../../src/resources/agents/auth/invocations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;OAMG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,YAAoB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,4BAA4B,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CACN,YAAoB,EACpB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,4BAA4B,YAAY,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,YAAoB,EACpB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,4BAA4B,YAAY,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxG,CAAC;CACF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as ConnectionsAPI from "./connections.mjs";
|
|
3
|
+
import { ConnectionCreateParams, ConnectionFollowResponse, ConnectionListParams, ConnectionLoginParams, ConnectionSubmitParams, Connections, LoginRequest, LoginResponse, ManagedAuth, ManagedAuthCreateRequest, ManagedAuthsOffsetPagination, SubmitFieldsRequest, SubmitFieldsResponse } from "./connections.mjs";
|
|
4
|
+
export declare class Auth extends APIResource {
|
|
5
|
+
connections: ConnectionsAPI.Connections;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Auth {
|
|
8
|
+
export { Connections as Connections, type LoginRequest as LoginRequest, type LoginResponse as LoginResponse, type ManagedAuth as ManagedAuth, type ManagedAuthCreateRequest as ManagedAuthCreateRequest, type SubmitFieldsRequest as SubmitFieldsRequest, type SubmitFieldsResponse as SubmitFieldsResponse, type ConnectionFollowResponse as ConnectionFollowResponse, type ManagedAuthsOffsetPagination as ManagedAuthsOffsetPagination, type ConnectionCreateParams as ConnectionCreateParams, type ConnectionListParams as ConnectionListParams, type ConnectionLoginParams as ConnectionLoginParams, type ConnectionSubmitParams as ConnectionSubmitParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=auth.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.mts","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,WAAW,EACX,wBAAwB,EACxB,4BAA4B,EAC5B,mBAAmB,EACnB,oBAAoB,EACrB;AAED,qBAAa,IAAK,SAAQ,WAAW;IACnC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;CACxF;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as ConnectionsAPI from "./connections.js";
|
|
3
|
+
import { ConnectionCreateParams, ConnectionFollowResponse, ConnectionListParams, ConnectionLoginParams, ConnectionSubmitParams, Connections, LoginRequest, LoginResponse, ManagedAuth, ManagedAuthCreateRequest, ManagedAuthsOffsetPagination, SubmitFieldsRequest, SubmitFieldsResponse } from "./connections.js";
|
|
4
|
+
export declare class Auth extends APIResource {
|
|
5
|
+
connections: ConnectionsAPI.Connections;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Auth {
|
|
8
|
+
export { Connections as Connections, type LoginRequest as LoginRequest, type LoginResponse as LoginResponse, type ManagedAuth as ManagedAuth, type ManagedAuthCreateRequest as ManagedAuthCreateRequest, type SubmitFieldsRequest as SubmitFieldsRequest, type SubmitFieldsResponse as SubmitFieldsResponse, type ConnectionFollowResponse as ConnectionFollowResponse, type ManagedAuthsOffsetPagination as ManagedAuthsOffsetPagination, type ConnectionCreateParams as ConnectionCreateParams, type ConnectionListParams as ConnectionListParams, type ConnectionLoginParams as ConnectionLoginParams, type ConnectionSubmitParams as ConnectionSubmitParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,WAAW,EACX,wBAAwB,EACxB,4BAA4B,EAC5B,mBAAmB,EACnB,oBAAoB,EACrB;AAED,qBAAa,IAAK,SAAQ,WAAW;IACnC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;CACxF;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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.Auth = void 0;
|
|
5
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../core/resource.js");
|
|
7
|
+
const ConnectionsAPI = tslib_1.__importStar(require("./connections.js"));
|
|
8
|
+
const connections_1 = require("./connections.js");
|
|
9
|
+
class Auth extends resource_1.APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.connections = new ConnectionsAPI.Connections(this._client);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.Auth = Auth;
|
|
16
|
+
Auth.Connections = connections_1.Connections;
|
|
17
|
+
//# sourceMappingURL=auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,yEAAgD;AAChD,kDAcuB;AAEvB,MAAa,IAAK,SAAQ,sBAAW;IAArC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzF,CAAC;CAAA;AAFD,oBAEC;AAED,IAAI,CAAC,WAAW,GAAG,yBAAW,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as ConnectionsAPI from "./connections.mjs";
|
|
4
|
+
import { Connections, } from "./connections.mjs";
|
|
5
|
+
export class Auth extends APIResource {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.connections = new ConnectionsAPI.Connections(this._client);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
Auth.Connections = Connections;
|
|
12
|
+
//# sourceMappingURL=auth.mjs.map
|
|
@@ -0,0 +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,cAAc;OACnB,EAML,WAAW,GAQZ;AAED,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzF,CAAC;CAAA;AAED,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC"}
|