@onkernel/sdk 0.25.0 → 0.27.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 (82) hide show
  1. package/CHANGELOG.md +44 -7
  2. package/README.md +2 -2
  3. package/client.d.mts +5 -2
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +5 -2
  6. package/client.d.ts.map +1 -1
  7. package/client.js +3 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +3 -0
  10. package/client.mjs.map +1 -1
  11. package/package.json +2 -2
  12. package/resources/agents/auth/auth.d.mts +35 -0
  13. package/resources/agents/auth/auth.d.mts.map +1 -1
  14. package/resources/agents/auth/auth.d.ts +35 -0
  15. package/resources/agents/auth/auth.d.ts.map +1 -1
  16. package/resources/agents/auth/auth.js.map +1 -1
  17. package/resources/agents/auth/auth.mjs.map +1 -1
  18. package/resources/agents/auth/invocations.d.mts +7 -1
  19. package/resources/agents/auth/invocations.d.mts.map +1 -1
  20. package/resources/agents/auth/invocations.d.ts +7 -1
  21. package/resources/agents/auth/invocations.d.ts.map +1 -1
  22. package/resources/browser-pools.d.mts +9 -3
  23. package/resources/browser-pools.d.mts.map +1 -1
  24. package/resources/browser-pools.d.ts +9 -3
  25. package/resources/browser-pools.d.ts.map +1 -1
  26. package/resources/browsers/browsers.d.mts +100 -8
  27. package/resources/browsers/browsers.d.mts.map +1 -1
  28. package/resources/browsers/browsers.d.ts +100 -8
  29. package/resources/browsers/browsers.d.ts.map +1 -1
  30. package/resources/browsers/browsers.js +17 -4
  31. package/resources/browsers/browsers.js.map +1 -1
  32. package/resources/browsers/browsers.mjs +17 -4
  33. package/resources/browsers/browsers.mjs.map +1 -1
  34. package/resources/browsers/index.d.mts +2 -2
  35. package/resources/browsers/index.d.mts.map +1 -1
  36. package/resources/browsers/index.d.ts +2 -2
  37. package/resources/browsers/index.d.ts.map +1 -1
  38. package/resources/browsers/index.js.map +1 -1
  39. package/resources/browsers/index.mjs.map +1 -1
  40. package/resources/browsers/process.d.mts +52 -1
  41. package/resources/browsers/process.d.mts.map +1 -1
  42. package/resources/browsers/process.d.ts +52 -1
  43. package/resources/browsers/process.d.ts.map +1 -1
  44. package/resources/browsers/process.js +19 -0
  45. package/resources/browsers/process.js.map +1 -1
  46. package/resources/browsers/process.mjs +19 -0
  47. package/resources/browsers/process.mjs.map +1 -1
  48. package/resources/credential-providers.d.mts +202 -0
  49. package/resources/credential-providers.d.mts.map +1 -0
  50. package/resources/credential-providers.d.ts +202 -0
  51. package/resources/credential-providers.d.ts.map +1 -0
  52. package/resources/credential-providers.js +89 -0
  53. package/resources/credential-providers.js.map +1 -0
  54. package/resources/credential-providers.mjs +85 -0
  55. package/resources/credential-providers.mjs.map +1 -0
  56. package/resources/index.d.mts +2 -1
  57. package/resources/index.d.mts.map +1 -1
  58. package/resources/index.d.ts +2 -1
  59. package/resources/index.d.ts.map +1 -1
  60. package/resources/index.js +3 -1
  61. package/resources/index.js.map +1 -1
  62. package/resources/index.mjs +1 -0
  63. package/resources/index.mjs.map +1 -1
  64. package/resources/proxies.d.mts +16 -0
  65. package/resources/proxies.d.mts.map +1 -1
  66. package/resources/proxies.d.ts +16 -0
  67. package/resources/proxies.d.ts.map +1 -1
  68. package/src/client.ts +29 -0
  69. package/src/resources/agents/auth/auth.ts +42 -0
  70. package/src/resources/agents/auth/invocations.ts +11 -1
  71. package/src/resources/browser-pools.ts +9 -3
  72. package/src/resources/browsers/browsers.ts +128 -6
  73. package/src/resources/browsers/index.ts +5 -0
  74. package/src/resources/browsers/process.ts +68 -0
  75. package/src/resources/credential-providers.ts +265 -0
  76. package/src/resources/index.ts +13 -0
  77. package/src/resources/proxies.ts +20 -0
  78. package/src/version.ts +1 -1
  79. package/version.d.mts +1 -1
  80. package/version.d.ts +1 -1
  81. package/version.js +1 -1
  82. package/version.mjs +1 -1
@@ -31,6 +31,25 @@ export class Process extends APIResource {
31
31
  const { id, ...body } = params;
32
32
  return this._client.post(path `/browsers/${id}/process/${processID}/kill`, { body, ...options });
33
33
  }
34
+ /**
35
+ * Resize a PTY-backed process terminal
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * const response = await client.browsers.process.resize(
40
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
41
+ * {
42
+ * id: 'id',
43
+ * cols: 1,
44
+ * rows: 1,
45
+ * },
46
+ * );
47
+ * ```
48
+ */
49
+ resize(processID, params, options) {
50
+ const { id, ...body } = params;
51
+ return this._client.post(path `/browsers/${id}/process/${processID}/resize`, { body, ...options });
52
+ }
34
53
  /**
35
54
  * Execute a command asynchronously
36
55
  *
@@ -1 +1 @@
1
- {"version":3,"file":"process.mjs","sourceRoot":"","sources":["../../src/resources/browsers/process.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAU,EAAE,IAAuB,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,aAAa,EAAE,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,SAAiB,EACjB,MAAyB,EACzB,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,aAAa,EAAE,YAAY,SAAS,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAU,EAAE,IAAwB,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAA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AAS,SAAS,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;OAUG;IACH,KAAK,CACH,SAAiB,EACjB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,aAAa,EAAE,YAAY,SAAS,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;IAED;;;;;;;;;;OAUG;IACH,YAAY,CACV,SAAiB,EACjB,MAAiC,EACjC,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,EAAE,YAAY,SAAS,gBAAgB,EAAE;YAChF,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,mBAAmB,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAC1E,MAAM,EAAE,IAAI;SACb,CAAoD,CAAC;IACxD,CAAC;CACF"}
@@ -0,0 +1,202 @@
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 CredentialProviders extends APIResource {
5
+ /**
6
+ * Configure an external credential provider (e.g., 1Password) for automatic
7
+ * credential lookup.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const credentialProvider =
12
+ * await client.credentialProviders.create({
13
+ * token: 'ops_eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...',
14
+ * provider_type: 'onepassword',
15
+ * });
16
+ * ```
17
+ */
18
+ create(body: CredentialProviderCreateParams, options?: RequestOptions): APIPromise<CredentialProvider>;
19
+ /**
20
+ * Retrieve a credential provider by its ID.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const credentialProvider =
25
+ * await client.credentialProviders.retrieve('id');
26
+ * ```
27
+ */
28
+ retrieve(id: string, options?: RequestOptions): APIPromise<CredentialProvider>;
29
+ /**
30
+ * Update a credential provider's configuration.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const credentialProvider =
35
+ * await client.credentialProviders.update('id');
36
+ * ```
37
+ */
38
+ update(id: string, body: CredentialProviderUpdateParams, options?: RequestOptions): APIPromise<CredentialProvider>;
39
+ /**
40
+ * List external credential providers configured for the organization.
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * const credentialProviders =
45
+ * await client.credentialProviders.list();
46
+ * ```
47
+ */
48
+ list(options?: RequestOptions): APIPromise<CredentialProviderListResponse>;
49
+ /**
50
+ * Delete a credential provider by its ID.
51
+ *
52
+ * @example
53
+ * ```ts
54
+ * await client.credentialProviders.delete('id');
55
+ * ```
56
+ */
57
+ delete(id: string, options?: RequestOptions): APIPromise<void>;
58
+ /**
59
+ * Validate the credential provider's token and list accessible vaults.
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * const credentialProviderTestResult =
64
+ * await client.credentialProviders.test('id');
65
+ * ```
66
+ */
67
+ test(id: string, options?: RequestOptions): APIPromise<CredentialProviderTestResult>;
68
+ }
69
+ /**
70
+ * Request to create an external credential provider
71
+ */
72
+ export interface CreateCredentialProviderRequest {
73
+ /**
74
+ * Service account token for the provider (e.g., 1Password service account token)
75
+ */
76
+ token: string;
77
+ /**
78
+ * Type of credential provider
79
+ */
80
+ provider_type: 'onepassword';
81
+ /**
82
+ * How long to cache credential lists (default 300 seconds)
83
+ */
84
+ cache_ttl_seconds?: number;
85
+ }
86
+ /**
87
+ * An external credential provider (e.g., 1Password) for automatic credential
88
+ * lookup
89
+ */
90
+ export interface CredentialProvider {
91
+ /**
92
+ * Unique identifier for the credential provider
93
+ */
94
+ id: string;
95
+ /**
96
+ * When the credential provider was created
97
+ */
98
+ created_at: string;
99
+ /**
100
+ * Whether the provider is enabled for credential lookups
101
+ */
102
+ enabled: boolean;
103
+ /**
104
+ * Priority order for credential lookups (lower numbers are checked first)
105
+ */
106
+ priority: number;
107
+ /**
108
+ * Type of credential provider
109
+ */
110
+ provider_type: 'onepassword';
111
+ /**
112
+ * When the credential provider was last updated
113
+ */
114
+ updated_at: string;
115
+ }
116
+ /**
117
+ * Result of testing a credential provider connection
118
+ */
119
+ export interface CredentialProviderTestResult {
120
+ /**
121
+ * Whether the connection test was successful
122
+ */
123
+ success: boolean;
124
+ /**
125
+ * List of vaults accessible by the service account
126
+ */
127
+ vaults: Array<CredentialProviderTestResult.Vault>;
128
+ /**
129
+ * Error message if the test failed
130
+ */
131
+ error?: string;
132
+ }
133
+ export declare namespace CredentialProviderTestResult {
134
+ interface Vault {
135
+ /**
136
+ * Vault ID
137
+ */
138
+ id: string;
139
+ /**
140
+ * Vault name
141
+ */
142
+ name: string;
143
+ }
144
+ }
145
+ /**
146
+ * Request to update a credential provider
147
+ */
148
+ export interface UpdateCredentialProviderRequest {
149
+ /**
150
+ * New service account token (to rotate credentials)
151
+ */
152
+ token?: string;
153
+ /**
154
+ * How long to cache credential lists
155
+ */
156
+ cache_ttl_seconds?: number;
157
+ /**
158
+ * Whether the provider is enabled for credential lookups
159
+ */
160
+ enabled?: boolean;
161
+ /**
162
+ * Priority order for credential lookups (lower numbers are checked first)
163
+ */
164
+ priority?: number;
165
+ }
166
+ export type CredentialProviderListResponse = Array<CredentialProvider>;
167
+ export interface CredentialProviderCreateParams {
168
+ /**
169
+ * Service account token for the provider (e.g., 1Password service account token)
170
+ */
171
+ token: string;
172
+ /**
173
+ * Type of credential provider
174
+ */
175
+ provider_type: 'onepassword';
176
+ /**
177
+ * How long to cache credential lists (default 300 seconds)
178
+ */
179
+ cache_ttl_seconds?: number;
180
+ }
181
+ export interface CredentialProviderUpdateParams {
182
+ /**
183
+ * New service account token (to rotate credentials)
184
+ */
185
+ token?: string;
186
+ /**
187
+ * How long to cache credential lists
188
+ */
189
+ cache_ttl_seconds?: number;
190
+ /**
191
+ * Whether the provider is enabled for credential lookups
192
+ */
193
+ enabled?: boolean;
194
+ /**
195
+ * Priority order for credential lookups (lower numbers are checked first)
196
+ */
197
+ priority?: number;
198
+ }
199
+ export declare namespace CredentialProviders {
200
+ export { type CreateCredentialProviderRequest as CreateCredentialProviderRequest, type CredentialProvider as CredentialProvider, type CredentialProviderTestResult as CredentialProviderTestResult, type UpdateCredentialProviderRequest as UpdateCredentialProviderRequest, type CredentialProviderListResponse as CredentialProviderListResponse, type CredentialProviderCreateParams as CredentialProviderCreateParams, type CredentialProviderUpdateParams as CredentialProviderUpdateParams, };
201
+ }
202
+ //# sourceMappingURL=credential-providers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credential-providers.d.mts","sourceRoot":"","sources":["../src/resources/credential-providers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,mBAAoB,SAAQ,WAAW;IAClD;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,8BAA8B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAItG;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI9E;;;;;;;;OAQG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI1E;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAO9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KAAK,CAAC,kBAAkB,CAAC,CAAC;AAEvE,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,aAAa,EAAE,aAAa,CAAC;IAE7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
@@ -0,0 +1,202 @@
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 CredentialProviders extends APIResource {
5
+ /**
6
+ * Configure an external credential provider (e.g., 1Password) for automatic
7
+ * credential lookup.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const credentialProvider =
12
+ * await client.credentialProviders.create({
13
+ * token: 'ops_eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...',
14
+ * provider_type: 'onepassword',
15
+ * });
16
+ * ```
17
+ */
18
+ create(body: CredentialProviderCreateParams, options?: RequestOptions): APIPromise<CredentialProvider>;
19
+ /**
20
+ * Retrieve a credential provider by its ID.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const credentialProvider =
25
+ * await client.credentialProviders.retrieve('id');
26
+ * ```
27
+ */
28
+ retrieve(id: string, options?: RequestOptions): APIPromise<CredentialProvider>;
29
+ /**
30
+ * Update a credential provider's configuration.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const credentialProvider =
35
+ * await client.credentialProviders.update('id');
36
+ * ```
37
+ */
38
+ update(id: string, body: CredentialProviderUpdateParams, options?: RequestOptions): APIPromise<CredentialProvider>;
39
+ /**
40
+ * List external credential providers configured for the organization.
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * const credentialProviders =
45
+ * await client.credentialProviders.list();
46
+ * ```
47
+ */
48
+ list(options?: RequestOptions): APIPromise<CredentialProviderListResponse>;
49
+ /**
50
+ * Delete a credential provider by its ID.
51
+ *
52
+ * @example
53
+ * ```ts
54
+ * await client.credentialProviders.delete('id');
55
+ * ```
56
+ */
57
+ delete(id: string, options?: RequestOptions): APIPromise<void>;
58
+ /**
59
+ * Validate the credential provider's token and list accessible vaults.
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * const credentialProviderTestResult =
64
+ * await client.credentialProviders.test('id');
65
+ * ```
66
+ */
67
+ test(id: string, options?: RequestOptions): APIPromise<CredentialProviderTestResult>;
68
+ }
69
+ /**
70
+ * Request to create an external credential provider
71
+ */
72
+ export interface CreateCredentialProviderRequest {
73
+ /**
74
+ * Service account token for the provider (e.g., 1Password service account token)
75
+ */
76
+ token: string;
77
+ /**
78
+ * Type of credential provider
79
+ */
80
+ provider_type: 'onepassword';
81
+ /**
82
+ * How long to cache credential lists (default 300 seconds)
83
+ */
84
+ cache_ttl_seconds?: number;
85
+ }
86
+ /**
87
+ * An external credential provider (e.g., 1Password) for automatic credential
88
+ * lookup
89
+ */
90
+ export interface CredentialProvider {
91
+ /**
92
+ * Unique identifier for the credential provider
93
+ */
94
+ id: string;
95
+ /**
96
+ * When the credential provider was created
97
+ */
98
+ created_at: string;
99
+ /**
100
+ * Whether the provider is enabled for credential lookups
101
+ */
102
+ enabled: boolean;
103
+ /**
104
+ * Priority order for credential lookups (lower numbers are checked first)
105
+ */
106
+ priority: number;
107
+ /**
108
+ * Type of credential provider
109
+ */
110
+ provider_type: 'onepassword';
111
+ /**
112
+ * When the credential provider was last updated
113
+ */
114
+ updated_at: string;
115
+ }
116
+ /**
117
+ * Result of testing a credential provider connection
118
+ */
119
+ export interface CredentialProviderTestResult {
120
+ /**
121
+ * Whether the connection test was successful
122
+ */
123
+ success: boolean;
124
+ /**
125
+ * List of vaults accessible by the service account
126
+ */
127
+ vaults: Array<CredentialProviderTestResult.Vault>;
128
+ /**
129
+ * Error message if the test failed
130
+ */
131
+ error?: string;
132
+ }
133
+ export declare namespace CredentialProviderTestResult {
134
+ interface Vault {
135
+ /**
136
+ * Vault ID
137
+ */
138
+ id: string;
139
+ /**
140
+ * Vault name
141
+ */
142
+ name: string;
143
+ }
144
+ }
145
+ /**
146
+ * Request to update a credential provider
147
+ */
148
+ export interface UpdateCredentialProviderRequest {
149
+ /**
150
+ * New service account token (to rotate credentials)
151
+ */
152
+ token?: string;
153
+ /**
154
+ * How long to cache credential lists
155
+ */
156
+ cache_ttl_seconds?: number;
157
+ /**
158
+ * Whether the provider is enabled for credential lookups
159
+ */
160
+ enabled?: boolean;
161
+ /**
162
+ * Priority order for credential lookups (lower numbers are checked first)
163
+ */
164
+ priority?: number;
165
+ }
166
+ export type CredentialProviderListResponse = Array<CredentialProvider>;
167
+ export interface CredentialProviderCreateParams {
168
+ /**
169
+ * Service account token for the provider (e.g., 1Password service account token)
170
+ */
171
+ token: string;
172
+ /**
173
+ * Type of credential provider
174
+ */
175
+ provider_type: 'onepassword';
176
+ /**
177
+ * How long to cache credential lists (default 300 seconds)
178
+ */
179
+ cache_ttl_seconds?: number;
180
+ }
181
+ export interface CredentialProviderUpdateParams {
182
+ /**
183
+ * New service account token (to rotate credentials)
184
+ */
185
+ token?: string;
186
+ /**
187
+ * How long to cache credential lists
188
+ */
189
+ cache_ttl_seconds?: number;
190
+ /**
191
+ * Whether the provider is enabled for credential lookups
192
+ */
193
+ enabled?: boolean;
194
+ /**
195
+ * Priority order for credential lookups (lower numbers are checked first)
196
+ */
197
+ priority?: number;
198
+ }
199
+ export declare namespace CredentialProviders {
200
+ export { type CreateCredentialProviderRequest as CreateCredentialProviderRequest, type CredentialProvider as CredentialProvider, type CredentialProviderTestResult as CredentialProviderTestResult, type UpdateCredentialProviderRequest as UpdateCredentialProviderRequest, type CredentialProviderListResponse as CredentialProviderListResponse, type CredentialProviderCreateParams as CredentialProviderCreateParams, type CredentialProviderUpdateParams as CredentialProviderUpdateParams, };
201
+ }
202
+ //# sourceMappingURL=credential-providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credential-providers.d.ts","sourceRoot":"","sources":["../src/resources/credential-providers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,mBAAoB,SAAQ,WAAW;IAClD;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,8BAA8B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAItG;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI9E;;;;;;;;OAQG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI1E;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAO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,KAAK,CAAC,kBAAkB,CAAC,CAAC;AAEvE,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,aAAa,EAAE,aAAa,CAAC;IAE7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
@@ -0,0 +1,89 @@
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.CredentialProviders = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const headers_1 = require("../internal/headers.js");
7
+ const path_1 = require("../internal/utils/path.js");
8
+ class CredentialProviders extends resource_1.APIResource {
9
+ /**
10
+ * Configure an external credential provider (e.g., 1Password) for automatic
11
+ * credential lookup.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const credentialProvider =
16
+ * await client.credentialProviders.create({
17
+ * token: 'ops_eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...',
18
+ * provider_type: 'onepassword',
19
+ * });
20
+ * ```
21
+ */
22
+ create(body, options) {
23
+ return this._client.post('/org/credential-providers', { body, ...options });
24
+ }
25
+ /**
26
+ * Retrieve a credential provider by its ID.
27
+ *
28
+ * @example
29
+ * ```ts
30
+ * const credentialProvider =
31
+ * await client.credentialProviders.retrieve('id');
32
+ * ```
33
+ */
34
+ retrieve(id, options) {
35
+ return this._client.get((0, path_1.path) `/org/credential-providers/${id}`, options);
36
+ }
37
+ /**
38
+ * Update a credential provider's configuration.
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const credentialProvider =
43
+ * await client.credentialProviders.update('id');
44
+ * ```
45
+ */
46
+ update(id, body, options) {
47
+ return this._client.patch((0, path_1.path) `/org/credential-providers/${id}`, { body, ...options });
48
+ }
49
+ /**
50
+ * List external credential providers configured for the organization.
51
+ *
52
+ * @example
53
+ * ```ts
54
+ * const credentialProviders =
55
+ * await client.credentialProviders.list();
56
+ * ```
57
+ */
58
+ list(options) {
59
+ return this._client.get('/org/credential-providers', options);
60
+ }
61
+ /**
62
+ * Delete a credential provider by its ID.
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * await client.credentialProviders.delete('id');
67
+ * ```
68
+ */
69
+ delete(id, options) {
70
+ return this._client.delete((0, path_1.path) `/org/credential-providers/${id}`, {
71
+ ...options,
72
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
73
+ });
74
+ }
75
+ /**
76
+ * Validate the credential provider's token and list accessible vaults.
77
+ *
78
+ * @example
79
+ * ```ts
80
+ * const credentialProviderTestResult =
81
+ * await client.credentialProviders.test('id');
82
+ * ```
83
+ */
84
+ test(id, options) {
85
+ return this._client.post((0, path_1.path) `/org/credential-providers/${id}/test`, options);
86
+ }
87
+ }
88
+ exports.CredentialProviders = CredentialProviders;
89
+ //# sourceMappingURL=credential-providers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credential-providers.js","sourceRoot":"","sources":["../src/resources/credential-providers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,k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,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF;AAxFD,kDAwFC"}
@@ -0,0 +1,85 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { buildHeaders } from "../internal/headers.mjs";
4
+ import { path } from "../internal/utils/path.mjs";
5
+ export class CredentialProviders extends APIResource {
6
+ /**
7
+ * Configure an external credential provider (e.g., 1Password) for automatic
8
+ * credential lookup.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const credentialProvider =
13
+ * await client.credentialProviders.create({
14
+ * token: 'ops_eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...',
15
+ * provider_type: 'onepassword',
16
+ * });
17
+ * ```
18
+ */
19
+ create(body, options) {
20
+ return this._client.post('/org/credential-providers', { body, ...options });
21
+ }
22
+ /**
23
+ * Retrieve a credential provider by its ID.
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const credentialProvider =
28
+ * await client.credentialProviders.retrieve('id');
29
+ * ```
30
+ */
31
+ retrieve(id, options) {
32
+ return this._client.get(path `/org/credential-providers/${id}`, options);
33
+ }
34
+ /**
35
+ * Update a credential provider's configuration.
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * const credentialProvider =
40
+ * await client.credentialProviders.update('id');
41
+ * ```
42
+ */
43
+ update(id, body, options) {
44
+ return this._client.patch(path `/org/credential-providers/${id}`, { body, ...options });
45
+ }
46
+ /**
47
+ * List external credential providers configured for the organization.
48
+ *
49
+ * @example
50
+ * ```ts
51
+ * const credentialProviders =
52
+ * await client.credentialProviders.list();
53
+ * ```
54
+ */
55
+ list(options) {
56
+ return this._client.get('/org/credential-providers', options);
57
+ }
58
+ /**
59
+ * Delete a credential provider by its ID.
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * await client.credentialProviders.delete('id');
64
+ * ```
65
+ */
66
+ delete(id, options) {
67
+ return this._client.delete(path `/org/credential-providers/${id}`, {
68
+ ...options,
69
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
70
+ });
71
+ }
72
+ /**
73
+ * Validate the credential provider's token and list accessible vaults.
74
+ *
75
+ * @example
76
+ * ```ts
77
+ * const credentialProviderTestResult =
78
+ * await client.credentialProviders.test('id');
79
+ * ```
80
+ */
81
+ test(id, options) {
82
+ return this._client.post(path `/org/credential-providers/${id}/test`, options);
83
+ }
84
+ }
85
+ //# sourceMappingURL=credential-providers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credential-providers.mjs","sourceRoot":"","sources":["../src/resources/credential-providers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAoC,EAAE,OAAwB;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CACJ,EAAU,EACV,IAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE;YAChE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,6BAA6B,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF"}
@@ -2,7 +2,8 @@ export * from "./shared.mjs";
2
2
  export { Agents } from "./agents/agents.mjs";
3
3
  export { Apps, type AppListResponse, type AppListParams, type AppListResponsesOffsetPagination, } from "./apps.mjs";
4
4
  export { BrowserPools, type BrowserPool, type BrowserPoolListResponse, type BrowserPoolAcquireResponse, type BrowserPoolCreateParams, type BrowserPoolUpdateParams, type BrowserPoolDeleteParams, type BrowserPoolAcquireParams, type BrowserPoolReleaseParams, } from "./browser-pools.mjs";
5
- export { Browsers, type BrowserPersistence, type Profile, type BrowserCreateResponse, type BrowserRetrieveResponse, type BrowserListResponse, type BrowserCreateParams, type BrowserListParams, type BrowserDeleteParams, type BrowserLoadExtensionsParams, type BrowserListResponsesOffsetPagination, } from "./browsers/browsers.mjs";
5
+ export { Browsers, type BrowserPersistence, type Profile, type BrowserCreateResponse, type BrowserRetrieveResponse, type BrowserUpdateResponse, type BrowserListResponse, type BrowserCreateParams, type BrowserRetrieveParams, type BrowserUpdateParams, type BrowserListParams, type BrowserDeleteParams, type BrowserLoadExtensionsParams, type BrowserListResponsesOffsetPagination, } from "./browsers/browsers.mjs";
6
+ export { CredentialProviders, type CreateCredentialProviderRequest, type CredentialProvider, type CredentialProviderTestResult, type UpdateCredentialProviderRequest, type CredentialProviderListResponse, type CredentialProviderCreateParams, type CredentialProviderUpdateParams, } from "./credential-providers.mjs";
6
7
  export { Credentials, type CreateCredentialRequest, type Credential, type UpdateCredentialRequest, type CredentialTotpCodeResponse, type CredentialCreateParams, type CredentialUpdateParams, type CredentialListParams, type CredentialsOffsetPagination, } from "./credentials.mjs";
7
8
  export { Deployments, type DeploymentStateEvent, type DeploymentCreateResponse, type DeploymentRetrieveResponse, type DeploymentListResponse, type DeploymentFollowResponse, type DeploymentCreateParams, type DeploymentListParams, type DeploymentFollowParams, type DeploymentListResponsesOffsetPagination, } from "./deployments.mjs";
8
9
  export { Extensions, type ExtensionListResponse, type ExtensionUploadResponse, type ExtensionDownloadFromChromeStoreParams, type ExtensionUploadParams, } from "./extensions.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EAAE,MAAM,EAAE;OACV,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,gCAAgC,GACtC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,oCAAoC,GAC1C;OACM,EACL,WAAW,EACX,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B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,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB"}
@@ -2,7 +2,8 @@ export * from "./shared.js";
2
2
  export { Agents } from "./agents/agents.js";
3
3
  export { Apps, type AppListResponse, type AppListParams, type AppListResponsesOffsetPagination, } from "./apps.js";
4
4
  export { BrowserPools, type BrowserPool, type BrowserPoolListResponse, type BrowserPoolAcquireResponse, type BrowserPoolCreateParams, type BrowserPoolUpdateParams, type BrowserPoolDeleteParams, type BrowserPoolAcquireParams, type BrowserPoolReleaseParams, } from "./browser-pools.js";
5
- export { Browsers, type BrowserPersistence, type Profile, type BrowserCreateResponse, type BrowserRetrieveResponse, type BrowserListResponse, type BrowserCreateParams, type BrowserListParams, type BrowserDeleteParams, type BrowserLoadExtensionsParams, type BrowserListResponsesOffsetPagination, } from "./browsers/browsers.js";
5
+ export { Browsers, type BrowserPersistence, type Profile, type BrowserCreateResponse, type BrowserRetrieveResponse, type BrowserUpdateResponse, type BrowserListResponse, type BrowserCreateParams, type BrowserRetrieveParams, type BrowserUpdateParams, type BrowserListParams, type BrowserDeleteParams, type BrowserLoadExtensionsParams, type BrowserListResponsesOffsetPagination, } from "./browsers/browsers.js";
6
+ export { CredentialProviders, type CreateCredentialProviderRequest, type CredentialProvider, type CredentialProviderTestResult, type UpdateCredentialProviderRequest, type CredentialProviderListResponse, type CredentialProviderCreateParams, type CredentialProviderUpdateParams, } from "./credential-providers.js";
6
7
  export { Credentials, type CreateCredentialRequest, type Credential, type UpdateCredentialRequest, type CredentialTotpCodeResponse, type CredentialCreateParams, type CredentialUpdateParams, type CredentialListParams, type CredentialsOffsetPagination, } from "./credentials.js";
7
8
  export { Deployments, type DeploymentStateEvent, type DeploymentCreateResponse, type DeploymentRetrieveResponse, type DeploymentListResponse, type DeploymentFollowResponse, type DeploymentCreateParams, type DeploymentListParams, type DeploymentFollowParams, type DeploymentListResponsesOffsetPagination, } from "./deployments.js";
8
9
  export { Extensions, type ExtensionListResponse, type ExtensionUploadResponse, type ExtensionDownloadFromChromeStoreParams, type ExtensionUploadParams, } from "./extensions.js";