@onkernel/sdk 0.24.0 → 0.25.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.
Files changed (80) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/LICENSE +1 -1
  3. package/README.md +7 -2
  4. package/client.d.mts +4 -4
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +4 -4
  7. package/client.d.ts.map +1 -1
  8. package/client.js.map +1 -1
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/agents/agents.d.mts +2 -2
  12. package/resources/agents/agents.d.mts.map +1 -1
  13. package/resources/agents/agents.d.ts +2 -2
  14. package/resources/agents/agents.d.ts.map +1 -1
  15. package/resources/agents/agents.js.map +1 -1
  16. package/resources/agents/agents.mjs.map +1 -1
  17. package/resources/agents/auth/auth.d.mts +107 -129
  18. package/resources/agents/auth/auth.d.mts.map +1 -1
  19. package/resources/agents/auth/auth.d.ts +107 -129
  20. package/resources/agents/auth/auth.d.ts.map +1 -1
  21. package/resources/agents/auth/auth.js +2 -18
  22. package/resources/agents/auth/auth.js.map +1 -1
  23. package/resources/agents/auth/auth.mjs +2 -18
  24. package/resources/agents/auth/auth.mjs.map +1 -1
  25. package/resources/agents/auth/index.d.mts +2 -2
  26. package/resources/agents/auth/index.d.mts.map +1 -1
  27. package/resources/agents/auth/index.d.ts +2 -2
  28. package/resources/agents/auth/index.d.ts.map +1 -1
  29. package/resources/agents/auth/index.js.map +1 -1
  30. package/resources/agents/auth/index.mjs.map +1 -1
  31. package/resources/agents/auth/invocations.d.mts +22 -33
  32. package/resources/agents/auth/invocations.d.mts.map +1 -1
  33. package/resources/agents/auth/invocations.d.ts +22 -33
  34. package/resources/agents/auth/invocations.d.ts.map +1 -1
  35. package/resources/agents/auth/invocations.js +5 -20
  36. package/resources/agents/auth/invocations.js.map +1 -1
  37. package/resources/agents/auth/invocations.mjs +5 -20
  38. package/resources/agents/auth/invocations.mjs.map +1 -1
  39. package/resources/agents/index.d.mts +1 -1
  40. package/resources/agents/index.d.mts.map +1 -1
  41. package/resources/agents/index.d.ts +1 -1
  42. package/resources/agents/index.d.ts.map +1 -1
  43. package/resources/agents/index.js.map +1 -1
  44. package/resources/agents/index.mjs.map +1 -1
  45. package/resources/credentials.d.mts +107 -16
  46. package/resources/credentials.d.mts.map +1 -1
  47. package/resources/credentials.d.ts +107 -16
  48. package/resources/credentials.d.ts.map +1 -1
  49. package/resources/credentials.js +33 -14
  50. package/resources/credentials.js.map +1 -1
  51. package/resources/credentials.mjs +33 -14
  52. package/resources/credentials.mjs.map +1 -1
  53. package/resources/index.d.mts +2 -2
  54. package/resources/index.d.mts.map +1 -1
  55. package/resources/index.d.ts +2 -2
  56. package/resources/index.d.ts.map +1 -1
  57. package/resources/index.js.map +1 -1
  58. package/resources/index.mjs.map +1 -1
  59. package/resources/proxies.d.mts +137 -1
  60. package/resources/proxies.d.mts.map +1 -1
  61. package/resources/proxies.d.ts +137 -1
  62. package/resources/proxies.d.ts.map +1 -1
  63. package/resources/proxies.js +6 -0
  64. package/resources/proxies.js.map +1 -1
  65. package/resources/proxies.mjs +6 -0
  66. package/resources/proxies.mjs.map +1 -1
  67. package/src/client.ts +4 -0
  68. package/src/resources/agents/agents.ts +0 -4
  69. package/src/resources/agents/auth/auth.ts +114 -141
  70. package/src/resources/agents/auth/index.ts +0 -3
  71. package/src/resources/agents/auth/invocations.ts +21 -39
  72. package/src/resources/agents/index.ts +0 -2
  73. package/src/resources/credentials.ts +127 -18
  74. package/src/resources/index.ts +2 -0
  75. package/src/resources/proxies.ts +228 -0
  76. package/src/version.ts +1 -1
  77. package/version.d.mts +1 -1
  78. package/version.d.ts +1 -1
  79. package/version.js +1 -1
  80. package/version.mjs +1 -1
@@ -18,8 +18,8 @@ export declare class Invocations extends APIResource {
18
18
  */
19
19
  create(body: InvocationCreateParams, options?: RequestOptions): APIPromise<AuthAPI.AuthAgentInvocationCreateResponse>;
20
20
  /**
21
- * Returns invocation details including app_name and target_domain. Uses the JWT
22
- * returned by the exchange endpoint, or standard API key or JWT authentication.
21
+ * Returns invocation details including status, app_name, and domain. Supports both
22
+ * API key and JWT (from exchange endpoint) authentication.
23
23
  *
24
24
  * @example
25
25
  * ```ts
@@ -30,20 +30,6 @@ export declare class Invocations extends APIResource {
30
30
  * ```
31
31
  */
32
32
  retrieve(invocationID: string, options?: RequestOptions): APIPromise<AuthAPI.AgentAuthInvocationResponse>;
33
- /**
34
- * Inspects the target site to detect logged-in state or discover required fields.
35
- * Returns 200 with success: true when fields are found, or 4xx/5xx for failures.
36
- * Requires the JWT returned by the exchange endpoint.
37
- *
38
- * @example
39
- * ```ts
40
- * const agentAuthDiscoverResponse =
41
- * await client.agents.auth.invocations.discover(
42
- * 'invocation_id',
43
- * );
44
- * ```
45
- */
46
- discover(invocationID: string, body?: InvocationDiscoverParams | null | undefined, options?: RequestOptions): APIPromise<AuthAPI.AgentAuthDiscoverResponse>;
47
33
  /**
48
34
  * Validates the handoff code and returns a JWT token for subsequent requests. No
49
35
  * authentication required (the handoff code serves as the credential).
@@ -59,8 +45,9 @@ export declare class Invocations extends APIResource {
59
45
  */
60
46
  exchange(invocationID: string, body: InvocationExchangeParams, options?: RequestOptions): APIPromise<InvocationExchangeResponse>;
61
47
  /**
62
- * Submits field values for the discovered login form and may return additional
63
- * auth fields or success. Requires the JWT returned by the exchange endpoint.
48
+ * Submits field values for the discovered login form. Returns immediately after
49
+ * submission is accepted. Poll the invocation endpoint to track progress and get
50
+ * results.
64
51
  *
65
52
  * @example
66
53
  * ```ts
@@ -103,28 +90,30 @@ export interface InvocationCreateParams {
103
90
  */
104
91
  save_credential_as?: string;
105
92
  }
106
- export interface InvocationDiscoverParams {
107
- /**
108
- * Optional login page URL. If provided, will override the stored login URL for
109
- * this discovery invocation and skip Phase 1 discovery.
110
- */
111
- login_url?: string;
112
- }
113
93
  export interface InvocationExchangeParams {
114
94
  /**
115
95
  * Handoff code from start endpoint
116
96
  */
117
97
  code: string;
118
98
  }
119
- export interface InvocationSubmitParams {
120
- /**
121
- * Values for the discovered login fields
122
- */
123
- field_values: {
124
- [key: string]: string;
125
- };
99
+ export type InvocationSubmitParams = InvocationSubmitParams.Variant0 | InvocationSubmitParams.Variant1;
100
+ export declare namespace InvocationSubmitParams {
101
+ interface Variant0 {
102
+ /**
103
+ * Values for the discovered login fields
104
+ */
105
+ field_values: {
106
+ [key: string]: string;
107
+ };
108
+ }
109
+ interface Variant1 {
110
+ /**
111
+ * Selector of SSO button to click
112
+ */
113
+ sso_button: string;
114
+ }
126
115
  }
127
116
  export declare namespace Invocations {
128
- export { type InvocationExchangeResponse as InvocationExchangeResponse, type InvocationCreateParams as InvocationCreateParams, type InvocationDiscoverParams as InvocationDiscoverParams, type InvocationExchangeParams as InvocationExchangeParams, type InvocationSubmitParams as InvocationSubmitParams, };
117
+ export { type InvocationExchangeResponse as InvocationExchangeResponse, type InvocationCreateParams as InvocationCreateParams, type InvocationExchangeParams as InvocationExchangeParams, type InvocationSubmitParams as InvocationSubmitParams, };
129
118
  }
130
119
  //# sourceMappingURL=invocations.d.ts.map
@@ -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;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,OAAO,CAAC,iCAAiC,CAAC;IAIxD;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,2BAA2B,CAAC;IAIzG;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,YAAY,EA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AC;AAEvG,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;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"}
@@ -22,8 +22,8 @@ class Invocations extends resource_1.APIResource {
22
22
  return this._client.post('/agents/auth/invocations', { body, ...options });
23
23
  }
24
24
  /**
25
- * Returns invocation details including app_name and target_domain. Uses the JWT
26
- * returned by the exchange endpoint, or standard API key or JWT authentication.
25
+ * Returns invocation details including status, app_name, and domain. Supports both
26
+ * API key and JWT (from exchange endpoint) authentication.
27
27
  *
28
28
  * @example
29
29
  * ```ts
@@ -36,22 +36,6 @@ class Invocations extends resource_1.APIResource {
36
36
  retrieve(invocationID, options) {
37
37
  return this._client.get((0, path_1.path) `/agents/auth/invocations/${invocationID}`, options);
38
38
  }
39
- /**
40
- * Inspects the target site to detect logged-in state or discover required fields.
41
- * Returns 200 with success: true when fields are found, or 4xx/5xx for failures.
42
- * Requires the JWT returned by the exchange endpoint.
43
- *
44
- * @example
45
- * ```ts
46
- * const agentAuthDiscoverResponse =
47
- * await client.agents.auth.invocations.discover(
48
- * 'invocation_id',
49
- * );
50
- * ```
51
- */
52
- discover(invocationID, body = {}, options) {
53
- return this._client.post((0, path_1.path) `/agents/auth/invocations/${invocationID}/discover`, { body, ...options });
54
- }
55
39
  /**
56
40
  * Validates the handoff code and returns a JWT token for subsequent requests. No
57
41
  * authentication required (the handoff code serves as the credential).
@@ -69,8 +53,9 @@ class Invocations extends resource_1.APIResource {
69
53
  return this._client.post((0, path_1.path) `/agents/auth/invocations/${invocationID}/exchange`, { body, ...options });
70
54
  }
71
55
  /**
72
- * Submits field values for the discovered login form and may return additional
73
- * auth fields or success. Requires the JWT returned by the exchange endpoint.
56
+ * Submits field values for the discovered login form. Returns immediately after
57
+ * submission is accepted. Poll the invocation endpoint to track progress and get
58
+ * results.
74
59
  *
75
60
  * @example
76
61
  * ```ts
@@ -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;;;;;;;;;;;;OAYG;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;;;;;;;;;;;OAWG;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;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,YAAoB,EACpB,OAAoD,EAAE,EACtD,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;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,YAAoB,EACpB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,4BAA4B,YAAY,WAA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AAI,EAAA,4BAA4B,YAAY,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxG,CAAC;CACF;AApFD,kCAoFC"}
@@ -19,8 +19,8 @@ export class Invocations extends APIResource {
19
19
  return this._client.post('/agents/auth/invocations', { body, ...options });
20
20
  }
21
21
  /**
22
- * Returns invocation details including app_name and target_domain. Uses the JWT
23
- * returned by the exchange endpoint, or standard API key or JWT authentication.
22
+ * Returns invocation details including status, app_name, and domain. Supports both
23
+ * API key and JWT (from exchange endpoint) authentication.
24
24
  *
25
25
  * @example
26
26
  * ```ts
@@ -33,22 +33,6 @@ export class Invocations extends APIResource {
33
33
  retrieve(invocationID, options) {
34
34
  return this._client.get(path `/agents/auth/invocations/${invocationID}`, options);
35
35
  }
36
- /**
37
- * Inspects the target site to detect logged-in state or discover required fields.
38
- * Returns 200 with success: true when fields are found, or 4xx/5xx for failures.
39
- * Requires the JWT returned by the exchange endpoint.
40
- *
41
- * @example
42
- * ```ts
43
- * const agentAuthDiscoverResponse =
44
- * await client.agents.auth.invocations.discover(
45
- * 'invocation_id',
46
- * );
47
- * ```
48
- */
49
- discover(invocationID, body = {}, options) {
50
- return this._client.post(path `/agents/auth/invocations/${invocationID}/discover`, { body, ...options });
51
- }
52
36
  /**
53
37
  * Validates the handoff code and returns a JWT token for subsequent requests. No
54
38
  * authentication required (the handoff code serves as the credential).
@@ -66,8 +50,9 @@ export class Invocations extends APIResource {
66
50
  return this._client.post(path `/agents/auth/invocations/${invocationID}/exchange`, { body, ...options });
67
51
  }
68
52
  /**
69
- * Submits field values for the discovered login form and may return additional
70
- * auth fields or success. Requires the JWT returned by the exchange endpoint.
53
+ * Submits field values for the discovered login form. Returns immediately after
54
+ * submission is accepted. Poll the invocation endpoint to track progress and get
55
+ * results.
71
56
  *
72
57
  * @example
73
58
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"invocations.mjs","sourceRoot":"","sources":["../../../src/resources/agents/auth/invocations.ts"],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ations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;OAYG;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;;;;;;;;;;;OAWG;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;;;;;;;;;;;;OAYG;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;;;;;;;;;;;;;;;;;;OAkBG;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"}
@@ -1,3 +1,3 @@
1
1
  export { Agents } from "./agents.mjs";
2
- export { Auth, type AgentAuthDiscoverResponse, type AgentAuthInvocationResponse, type AgentAuthSubmitResponse, type AuthAgent, type AuthAgentCreateRequest, type AuthAgentInvocationCreateRequest, type AuthAgentInvocationCreateResponse, type DiscoveredField, type ReauthResponse, type AuthCreateParams, type AuthListParams, type AuthAgentsOffsetPagination, } from "./auth/index.mjs";
2
+ export { Auth, type AgentAuthInvocationResponse, type AgentAuthSubmitResponse, type AuthAgent, type AuthAgentCreateRequest, type AuthAgentInvocationCreateRequest, type AuthAgentInvocationCreateResponse, type DiscoveredField, type AuthCreateParams, type AuthListParams, type AuthAgentsOffsetPagination, } from "./auth/index.mjs";
3
3
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/agents/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE;OACV,EACL,IAAI,EACJ,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,0BAA0B,GAChC"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/agents/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE;OACV,EACL,IAAI,EACJ,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,0BAA0B,GAChC"}
@@ -1,3 +1,3 @@
1
1
  export { Agents } from "./agents.js";
2
- export { Auth, type AgentAuthDiscoverResponse, type AgentAuthInvocationResponse, type AgentAuthSubmitResponse, type AuthAgent, type AuthAgentCreateRequest, type AuthAgentInvocationCreateRequest, type AuthAgentInvocationCreateResponse, type DiscoveredField, type ReauthResponse, type AuthCreateParams, type AuthListParams, type AuthAgentsOffsetPagination, } from "./auth/index.js";
2
+ export { Auth, type AgentAuthInvocationResponse, type AgentAuthSubmitResponse, type AuthAgent, type AuthAgentCreateRequest, type AuthAgentInvocationCreateRequest, type AuthAgentInvocationCreateResponse, type DiscoveredField, type AuthCreateParams, type AuthListParams, type AuthAgentsOffsetPagination, } from "./auth/index.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/agents/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE;OACV,EACL,IAAI,EACJ,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,0BAA0B,GAChC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/agents/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE;OACV,EACL,IAAI,EACJ,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,0BAA0B,GAChC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/agents/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,yCAcsB;AAbpB,6FAAA,IAAI,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/agents/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,yCAYsB;AAXpB,6FAAA,IAAI,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/agents/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,MAAM,EAAE;OACV,EACL,IAAI,GAaL"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/agents/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,MAAM,EAAE;OACV,EACL,IAAI,GAWL"}
@@ -4,8 +4,7 @@ import { OffsetPagination, type OffsetPaginationParams, PagePromise } from "../c
4
4
  import { RequestOptions } from "../internal/request-options.mjs";
5
5
  export declare class Credentials extends APIResource {
6
6
  /**
7
- * Create a new credential for storing login information. Values are encrypted at
8
- * rest.
7
+ * Create a new credential for storing login information.
9
8
  *
10
9
  * @example
11
10
  * ```ts
@@ -21,23 +20,28 @@ export declare class Credentials extends APIResource {
21
20
  */
22
21
  create(body: CredentialCreateParams, options?: RequestOptions): APIPromise<Credential>;
23
22
  /**
24
- * Retrieve a credential by its ID. Credential values are not returned.
23
+ * Retrieve a credential by its ID or name. Credential values are not returned.
25
24
  *
26
25
  * @example
27
26
  * ```ts
28
- * const credential = await client.credentials.retrieve('id');
27
+ * const credential = await client.credentials.retrieve(
28
+ * 'id_or_name',
29
+ * );
29
30
  * ```
30
31
  */
31
- retrieve(id: string, options?: RequestOptions): APIPromise<Credential>;
32
+ retrieve(idOrName: string, options?: RequestOptions): APIPromise<Credential>;
32
33
  /**
33
- * Update a credential's name or values. Values are encrypted at rest.
34
+ * Update a credential's name or values. When values are provided, they are merged
35
+ * with existing values (new keys are added, existing keys are overwritten).
34
36
  *
35
37
  * @example
36
38
  * ```ts
37
- * const credential = await client.credentials.update('id');
39
+ * const credential = await client.credentials.update(
40
+ * 'id_or_name',
41
+ * );
38
42
  * ```
39
43
  */
40
- update(id: string, body: CredentialUpdateParams, options?: RequestOptions): APIPromise<Credential>;
44
+ update(idOrName: string, body: CredentialUpdateParams, options?: RequestOptions): APIPromise<Credential>;
41
45
  /**
42
46
  * List credentials owned by the caller's organization. Credential values are not
43
47
  * returned.
@@ -52,14 +56,27 @@ export declare class Credentials extends APIResource {
52
56
  */
53
57
  list(query?: CredentialListParams | null | undefined, options?: RequestOptions): PagePromise<CredentialsOffsetPagination, Credential>;
54
58
  /**
55
- * Delete a credential by its ID.
59
+ * Delete a credential by its ID or name.
56
60
  *
57
61
  * @example
58
62
  * ```ts
59
- * await client.credentials.delete('id');
63
+ * await client.credentials.delete('id_or_name');
60
64
  * ```
61
65
  */
62
- delete(id: string, options?: RequestOptions): APIPromise<void>;
66
+ delete(idOrName: string, options?: RequestOptions): APIPromise<void>;
67
+ /**
68
+ * Returns the current 6-digit TOTP code for a credential with a configured
69
+ * totp_secret. Use this to complete 2FA setup on sites or when you need a fresh
70
+ * code.
71
+ *
72
+ * @example
73
+ * ```ts
74
+ * const response = await client.credentials.totpCode(
75
+ * 'id_or_name',
76
+ * );
77
+ * ```
78
+ */
79
+ totpCode(idOrName: string, options?: RequestOptions): APIPromise<CredentialTotpCodeResponse>;
63
80
  }
64
81
  export type CredentialsOffsetPagination = OffsetPagination<Credential>;
65
82
  /**
@@ -80,6 +97,18 @@ export interface CreateCredentialRequest {
80
97
  values: {
81
98
  [key: string]: string;
82
99
  };
100
+ /**
101
+ * If set, indicates this credential should be used with the specified SSO provider
102
+ * (e.g., google, github, microsoft). When the target site has a matching SSO
103
+ * button, it will be clicked first before filling credential values on the
104
+ * identity provider's login page.
105
+ */
106
+ sso_provider?: string;
107
+ /**
108
+ * Base32-encoded TOTP secret for generating one-time passwords. Used for automatic
109
+ * 2FA during login.
110
+ */
111
+ totp_secret?: string;
83
112
  }
84
113
  /**
85
114
  * A stored credential for automatic re-authentication
@@ -105,6 +134,26 @@ export interface Credential {
105
134
  * When the credential was last updated
106
135
  */
107
136
  updated_at: string;
137
+ /**
138
+ * Whether this credential has a TOTP secret configured for automatic 2FA
139
+ */
140
+ has_totp_secret?: boolean;
141
+ /**
142
+ * If set, indicates this credential should be used with the specified SSO provider
143
+ * (e.g., google, github, microsoft). When the target site has a matching SSO
144
+ * button, it will be clicked first before filling credential values on the
145
+ * identity provider's login page.
146
+ */
147
+ sso_provider?: string | null;
148
+ /**
149
+ * Current 6-digit TOTP code. Only included in create/update responses when
150
+ * totp_secret was just set.
151
+ */
152
+ totp_code?: string;
153
+ /**
154
+ * When the totp_code expires. Only included when totp_code is present.
155
+ */
156
+ totp_code_expires_at?: string;
108
157
  }
109
158
  /**
110
159
  * Request to update an existing credential
@@ -115,13 +164,33 @@ export interface UpdateCredentialRequest {
115
164
  */
116
165
  name?: string;
117
166
  /**
118
- * Field name to value mapping (e.g., username, password). Replaces all existing
119
- * values.
167
+ * If set, indicates this credential should be used with the specified SSO
168
+ * provider. Set to empty string or null to remove.
169
+ */
170
+ sso_provider?: string | null;
171
+ /**
172
+ * Base32-encoded TOTP secret for generating one-time passwords. Spaces and
173
+ * formatting are automatically normalized. Set to empty string to remove.
174
+ */
175
+ totp_secret?: string;
176
+ /**
177
+ * Field name to value mapping. Values are merged with existing values (new keys
178
+ * added, existing keys overwritten).
120
179
  */
121
180
  values?: {
122
181
  [key: string]: string;
123
182
  };
124
183
  }
184
+ export interface CredentialTotpCodeResponse {
185
+ /**
186
+ * Current 6-digit TOTP code
187
+ */
188
+ code: string;
189
+ /**
190
+ * When this code expires (ISO 8601 timestamp)
191
+ */
192
+ expires_at: string;
193
+ }
125
194
  export interface CredentialCreateParams {
126
195
  /**
127
196
  * Target domain this credential is for
@@ -137,6 +206,18 @@ export interface CredentialCreateParams {
137
206
  values: {
138
207
  [key: string]: string;
139
208
  };
209
+ /**
210
+ * If set, indicates this credential should be used with the specified SSO provider
211
+ * (e.g., google, github, microsoft). When the target site has a matching SSO
212
+ * button, it will be clicked first before filling credential values on the
213
+ * identity provider's login page.
214
+ */
215
+ sso_provider?: string;
216
+ /**
217
+ * Base32-encoded TOTP secret for generating one-time passwords. Used for automatic
218
+ * 2FA during login.
219
+ */
220
+ totp_secret?: string;
140
221
  }
141
222
  export interface CredentialUpdateParams {
142
223
  /**
@@ -144,8 +225,18 @@ export interface CredentialUpdateParams {
144
225
  */
145
226
  name?: string;
146
227
  /**
147
- * Field name to value mapping (e.g., username, password). Replaces all existing
148
- * values.
228
+ * If set, indicates this credential should be used with the specified SSO
229
+ * provider. Set to empty string or null to remove.
230
+ */
231
+ sso_provider?: string | null;
232
+ /**
233
+ * Base32-encoded TOTP secret for generating one-time passwords. Spaces and
234
+ * formatting are automatically normalized. Set to empty string to remove.
235
+ */
236
+ totp_secret?: string;
237
+ /**
238
+ * Field name to value mapping. Values are merged with existing values (new keys
239
+ * added, existing keys overwritten).
149
240
  */
150
241
  values?: {
151
242
  [key: string]: string;
@@ -158,6 +249,6 @@ export interface CredentialListParams extends OffsetPaginationParams {
158
249
  domain?: string;
159
250
  }
160
251
  export declare namespace Credentials {
161
- export { type CreateCredentialRequest as CreateCredentialRequest, type Credential as Credential, type UpdateCredentialRequest as UpdateCredentialRequest, type CredentialsOffsetPagination as CredentialsOffsetPagination, type CredentialCreateParams as CredentialCreateParams, type CredentialUpdateParams as CredentialUpdateParams, type CredentialListParams as CredentialListParams, };
252
+ export { type CreateCredentialRequest as CreateCredentialRequest, type Credential as Credential, type UpdateCredentialRequest as UpdateCredentialRequest, type CredentialTotpCodeResponse as CredentialTotpCodeResponse, type CredentialsOffsetPagination as CredentialsOffsetPagination, type CredentialCreateParams as CredentialCreateParams, type CredentialUpdateParams as CredentialUpdateParams, type CredentialListParams as CredentialListParams, };
162
253
  }
163
254
  //# sourceMappingURL=credentials.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"credentials.d.mts","sourceRoot":"","sources":["../src/resources/credentials.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE;OAE9D,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAAI,EA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