@onkernel/sdk 0.113.0 → 0.114.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 +12 -0
- package/package.json +1 -1
- package/resources/auth/connections.d.mts +113 -1
- package/resources/auth/connections.d.mts.map +1 -1
- package/resources/auth/connections.d.ts +113 -1
- package/resources/auth/connections.d.ts.map +1 -1
- package/resources/browser-pools.d.mts +45 -0
- package/resources/browser-pools.d.mts.map +1 -1
- package/resources/browser-pools.d.ts +45 -0
- package/resources/browser-pools.d.ts.map +1 -1
- package/resources/browsers/browsers.d.mts +32 -2
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +32 -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/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/browsers/telemetry.d.mts +17 -1
- package/resources/browsers/telemetry.d.mts.map +1 -1
- package/resources/browsers/telemetry.d.ts +17 -1
- package/resources/browsers/telemetry.d.ts.map +1 -1
- package/resources/vault-provider-configs.d.mts +18 -0
- package/resources/vault-provider-configs.d.mts.map +1 -1
- package/resources/vault-provider-configs.d.ts +18 -0
- package/resources/vault-provider-configs.d.ts.map +1 -1
- package/resources/vault-provider-configs.js +1 -0
- package/resources/vault-provider-configs.js.map +1 -1
- package/resources/vault-provider-configs.mjs +1 -0
- package/resources/vault-provider-configs.mjs.map +1 -1
- package/resources/vaults/index.d.mts +1 -1
- package/resources/vaults/index.d.mts.map +1 -1
- package/resources/vaults/index.d.ts +1 -1
- package/resources/vaults/index.d.ts.map +1 -1
- package/resources/vaults/index.js.map +1 -1
- package/resources/vaults/index.mjs.map +1 -1
- package/resources/vaults/items.d.mts +573 -72
- package/resources/vaults/items.d.mts.map +1 -1
- package/resources/vaults/items.d.ts +573 -72
- package/resources/vaults/items.d.ts.map +1 -1
- package/resources/vaults/vaults.d.mts +2 -2
- package/resources/vaults/vaults.d.mts.map +1 -1
- package/resources/vaults/vaults.d.ts +2 -2
- package/resources/vaults/vaults.d.ts.map +1 -1
- package/resources/vaults/vaults.js.map +1 -1
- package/resources/vaults/vaults.mjs.map +1 -1
- package/src/resources/auth/connections.ts +128 -1
- package/src/resources/browser-pools.ts +51 -0
- package/src/resources/browsers/browsers.ts +36 -0
- package/src/resources/browsers/index.ts +1 -0
- package/src/resources/browsers/telemetry.ts +19 -0
- package/src/resources/vault-provider-configs.ts +21 -0
- package/src/resources/vaults/index.ts +15 -0
- package/src/resources/vaults/items.ts +787 -70
- package/src/resources/vaults/vaults.ts +30 -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
|
@@ -4694,6 +4694,12 @@ export interface BrowserTelemetryConfig {
|
|
|
4694
4694
|
* export state is unknown.
|
|
4695
4695
|
*/
|
|
4696
4696
|
export?: BrowserTelemetryExportConfig;
|
|
4697
|
+
|
|
4698
|
+
/**
|
|
4699
|
+
* Whether the session's captured telemetry is persisted to Kernel storage. Omitted
|
|
4700
|
+
* for browsers created before this setting existed, which persist it.
|
|
4701
|
+
*/
|
|
4702
|
+
storage?: BrowserTelemetryStorageConfig;
|
|
4697
4703
|
}
|
|
4698
4704
|
|
|
4699
4705
|
/**
|
|
@@ -4789,6 +4795,18 @@ export interface BrowserTelemetryOtlpExportConfig {
|
|
|
4789
4795
|
enabled?: boolean;
|
|
4790
4796
|
}
|
|
4791
4797
|
|
|
4798
|
+
/**
|
|
4799
|
+
* Kernel storage state for a session's captured telemetry.
|
|
4800
|
+
*/
|
|
4801
|
+
export interface BrowserTelemetryStorageConfig {
|
|
4802
|
+
/**
|
|
4803
|
+
* Whether captured telemetry is persisted to Kernel storage. When off, the
|
|
4804
|
+
* session's events are only available on the live stream and through any
|
|
4805
|
+
* configured export.
|
|
4806
|
+
*/
|
|
4807
|
+
enabled?: boolean;
|
|
4808
|
+
}
|
|
4809
|
+
|
|
4792
4810
|
/**
|
|
4793
4811
|
* Envelope wrapping a browser telemetry event with its monotonic sequence number.
|
|
4794
4812
|
* Each SSE data: frame carries one envelope as JSON. The seq value is also emitted
|
|
@@ -4955,6 +4973,7 @@ export declare namespace Telemetry {
|
|
|
4955
4973
|
type BrowserTelemetryEvent as BrowserTelemetryEvent,
|
|
4956
4974
|
type BrowserTelemetryExportConfig as BrowserTelemetryExportConfig,
|
|
4957
4975
|
type BrowserTelemetryOtlpExportConfig as BrowserTelemetryOtlpExportConfig,
|
|
4976
|
+
type BrowserTelemetryStorageConfig as BrowserTelemetryStorageConfig,
|
|
4958
4977
|
type TelemetryEventsResponse as TelemetryEventsResponse,
|
|
4959
4978
|
type TelemetryStreamResponse as TelemetryStreamResponse,
|
|
4960
4979
|
type TelemetryEventsResponsesOffsetPagination as TelemetryEventsResponsesOffsetPagination,
|
|
@@ -22,6 +22,7 @@ export class VaultProviderConfigs extends APIResource {
|
|
|
22
22
|
* credentials: {
|
|
23
23
|
* client_id: 'example-client-id',
|
|
24
24
|
* client_secret: 'example-client-secret',
|
|
25
|
+
* publishable_key: 'pk_live_example',
|
|
25
26
|
* },
|
|
26
27
|
* name: 'my-link-client',
|
|
27
28
|
* provider: 'link',
|
|
@@ -143,6 +144,12 @@ export namespace VaultProviderConfig {
|
|
|
143
144
|
provider: 'link';
|
|
144
145
|
|
|
145
146
|
updated_at: string;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Stripe publishable key sent to Link when refreshing and revoking wallet grants.
|
|
150
|
+
* Omitted when not configured.
|
|
151
|
+
*/
|
|
152
|
+
publishable_key?: string;
|
|
146
153
|
}
|
|
147
154
|
|
|
148
155
|
/**
|
|
@@ -191,6 +198,14 @@ export declare namespace VaultProviderConfigCreateParams {
|
|
|
191
198
|
client_id: string;
|
|
192
199
|
|
|
193
200
|
client_secret: string;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Stripe publishable key for the account that owns the Link OAuth client. Link
|
|
204
|
+
* requires it as the bearer credential when Kernel refreshes or revokes imported
|
|
205
|
+
* wallet grants; without it, those wallets stop working when the imported access
|
|
206
|
+
* token expires.
|
|
207
|
+
*/
|
|
208
|
+
publishable_key?: string;
|
|
194
209
|
}
|
|
195
210
|
}
|
|
196
211
|
|
|
@@ -234,6 +249,12 @@ export namespace VaultProviderConfigUpdateParams {
|
|
|
234
249
|
*/
|
|
235
250
|
export interface Credentials {
|
|
236
251
|
client_secret?: string;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Link configurations only. Stripe publishable key sent to Link when refreshing
|
|
255
|
+
* and revoking wallet grants.
|
|
256
|
+
*/
|
|
257
|
+
publishable_key?: string;
|
|
237
258
|
}
|
|
238
259
|
}
|
|
239
260
|
|
|
@@ -9,6 +9,8 @@ export {
|
|
|
9
9
|
type CardVaultItemSpec,
|
|
10
10
|
type CardVaultItemState,
|
|
11
11
|
type CollectVaultItemOperationRequest,
|
|
12
|
+
type CredentialAccountVaultItem,
|
|
13
|
+
type CredentialAccountVaultItemRequest,
|
|
12
14
|
type CredentialCollectionAction,
|
|
13
15
|
type CredentialVaultFieldDefinition,
|
|
14
16
|
type CredentialVaultFieldInput,
|
|
@@ -24,6 +26,19 @@ export {
|
|
|
24
26
|
type CredentialVaultItemUpdateRequest,
|
|
25
27
|
type FillVaultItemOperationRequest,
|
|
26
28
|
type FillVaultItemOperationResult,
|
|
29
|
+
type KernelCredentialVaultItemSpec,
|
|
30
|
+
type KernelCredentialVaultItemSpecInput,
|
|
31
|
+
type KernelCredentialVaultItemState,
|
|
32
|
+
type OnePasswordCredentialAccountSpec,
|
|
33
|
+
type OnePasswordCredentialAccountState,
|
|
34
|
+
type OnePasswordCredentialVaultItemSpec,
|
|
35
|
+
type OnePasswordCredentialVaultItemSpecInput,
|
|
36
|
+
type OnePasswordCredentialVaultItemState,
|
|
37
|
+
type OnePasswordFillVaultItemOperationRequest,
|
|
38
|
+
type OnePasswordFillVaultItemOperationResult,
|
|
39
|
+
type OnePasswordOAuthAction,
|
|
40
|
+
type OnePasswordRecoverVaultItemOperationRequest,
|
|
41
|
+
type OnePasswordRequestAccessVaultItemOperationRequest,
|
|
27
42
|
type PrepareCheckoutVaultItemOperationRequest,
|
|
28
43
|
type VaultCardAliases,
|
|
29
44
|
type VaultCardFillField,
|