@onkernel/sdk 0.100.0 → 0.102.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 +30 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/lib/browser-routing.d.mts.map +1 -1
- package/lib/browser-routing.d.ts.map +1 -1
- package/lib/browser-routing.js +23 -6
- package/lib/browser-routing.js.map +1 -1
- package/lib/browser-routing.mjs +23 -6
- package/lib/browser-routing.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth/connections.d.mts +6 -0
- package/resources/auth/connections.d.mts.map +1 -1
- package/resources/auth/connections.d.ts +6 -0
- package/resources/auth/connections.d.ts.map +1 -1
- package/resources/browsers/computer.d.mts +6 -2
- package/resources/browsers/computer.d.mts.map +1 -1
- package/resources/browsers/computer.d.ts +6 -2
- package/resources/browsers/computer.d.ts.map +1 -1
- package/resources/browsers/telemetry.d.mts +4 -3
- package/resources/browsers/telemetry.d.mts.map +1 -1
- package/resources/browsers/telemetry.d.ts +4 -3
- package/resources/browsers/telemetry.d.ts.map +1 -1
- package/resources/config-registry/config-registry.d.mts +58 -8
- package/resources/config-registry/config-registry.d.mts.map +1 -1
- package/resources/config-registry/config-registry.d.ts +58 -8
- package/resources/config-registry/config-registry.d.ts.map +1 -1
- package/resources/config-registry/config-registry.js.map +1 -1
- package/resources/config-registry/config-registry.mjs.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- 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 +44 -15
- package/resources/invocations.d.mts.map +1 -1
- package/resources/invocations.d.ts +44 -15
- package/resources/invocations.d.ts.map +1 -1
- package/resources/organization/entitlements.d.mts +20 -0
- package/resources/organization/entitlements.d.mts.map +1 -1
- package/resources/organization/entitlements.d.ts +20 -0
- package/resources/organization/entitlements.d.ts.map +1 -1
- package/resources/organization/limits.d.mts +10 -1
- package/resources/organization/limits.d.mts.map +1 -1
- package/resources/organization/limits.d.ts +10 -1
- package/resources/organization/limits.d.ts.map +1 -1
- package/resources/organization/limits.js +1 -1
- package/resources/organization/limits.mjs +1 -1
- package/resources/proxies.d.mts +36 -18
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +36 -18
- package/resources/proxies.d.ts.map +1 -1
- package/resources/vault-provider-configs.d.mts +179 -0
- package/resources/vault-provider-configs.d.mts.map +1 -0
- package/resources/vault-provider-configs.d.ts +179 -0
- package/resources/vault-provider-configs.d.ts.map +1 -0
- package/resources/vault-provider-configs.js +99 -0
- package/resources/vault-provider-configs.js.map +1 -0
- package/resources/vault-provider-configs.mjs +95 -0
- package/resources/vault-provider-configs.mjs.map +1 -0
- 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 +662 -36
- package/resources/vaults/items.d.mts.map +1 -1
- package/resources/vaults/items.d.ts +662 -36
- package/resources/vaults/items.d.ts.map +1 -1
- package/resources/vaults/items.js +99 -6
- package/resources/vaults/items.js.map +1 -1
- package/resources/vaults/items.mjs +99 -6
- package/resources/vaults/items.mjs.map +1 -1
- package/resources/vaults/vaults.d.mts +33 -4
- package/resources/vaults/vaults.d.mts.map +1 -1
- package/resources/vaults/vaults.d.ts +33 -4
- package/resources/vaults/vaults.d.ts.map +1 -1
- package/resources/vaults/vaults.js +31 -2
- package/resources/vaults/vaults.js.map +1 -1
- package/resources/vaults/vaults.mjs +31 -2
- package/resources/vaults/vaults.mjs.map +1 -1
- package/src/client.ts +19 -0
- package/src/lib/browser-routing.ts +27 -6
- package/src/resources/auth/connections.ts +7 -0
- package/src/resources/browsers/computer.ts +6 -2
- package/src/resources/browsers/telemetry.ts +5 -2
- package/src/resources/config-registry/config-registry.ts +71 -8
- package/src/resources/index.ts +8 -0
- package/src/resources/invocations.ts +44 -15
- package/src/resources/organization/entitlements.ts +23 -0
- package/src/resources/organization/limits.ts +12 -1
- package/src/resources/proxies.ts +36 -18
- package/src/resources/vault-provider-configs.ts +250 -0
- package/src/resources/vaults/index.ts +9 -0
- package/src/resources/vaults/items.ts +818 -35
- package/src/resources/vaults/vaults.ts +49 -2
- 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
|
@@ -4,8 +4,12 @@ import { APIResource } from '../../core/resource';
|
|
|
4
4
|
import * as ItemsAPI from './items';
|
|
5
5
|
import {
|
|
6
6
|
AgentcardCheckoutAuthorization,
|
|
7
|
+
AgentcardCheckoutPreparation,
|
|
8
|
+
AuthorizeVaultItemOperationRequest,
|
|
7
9
|
CardVaultItemSpec,
|
|
8
10
|
CardVaultItemState,
|
|
11
|
+
FillVaultItemOperationRequest,
|
|
12
|
+
FillVaultItemOperationResult,
|
|
9
13
|
ItemDeleteParams,
|
|
10
14
|
ItemEventsParams,
|
|
11
15
|
ItemEventsResponse,
|
|
@@ -15,10 +19,15 @@ import {
|
|
|
15
19
|
ItemUpdateParams,
|
|
16
20
|
ItemUpsertParams,
|
|
17
21
|
Items,
|
|
22
|
+
PrepareCheckoutVaultItemOperationRequest,
|
|
18
23
|
VaultCardAliases,
|
|
24
|
+
VaultCardFillField,
|
|
25
|
+
VaultCheckoutContext,
|
|
26
|
+
VaultFillFieldResult,
|
|
19
27
|
VaultItem,
|
|
20
28
|
VaultItemAction,
|
|
21
29
|
VaultItemEvent,
|
|
30
|
+
VaultItemOperationResponse,
|
|
22
31
|
VaultPaymentMethod,
|
|
23
32
|
WalletVaultItemSpec,
|
|
24
33
|
WalletVaultItemState,
|
|
@@ -34,6 +43,11 @@ export class Vaults extends APIResource {
|
|
|
34
43
|
|
|
35
44
|
/**
|
|
36
45
|
* Get a vault
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```ts
|
|
49
|
+
* const vault = await client.vaults.retrieve('id_or_name');
|
|
50
|
+
* ```
|
|
37
51
|
*/
|
|
38
52
|
retrieve(idOrName: string, options?: RequestOptions): APIPromise<Vault> {
|
|
39
53
|
return this._client.get(path`/vaults/${idOrName}`, options);
|
|
@@ -41,6 +55,14 @@ export class Vaults extends APIResource {
|
|
|
41
55
|
|
|
42
56
|
/**
|
|
43
57
|
* List vaults in the current project
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* // Automatically fetches more pages as needed.
|
|
62
|
+
* for await (const vault of client.vaults.list()) {
|
|
63
|
+
* // ...
|
|
64
|
+
* }
|
|
65
|
+
* ```
|
|
44
66
|
*/
|
|
45
67
|
list(
|
|
46
68
|
query: VaultListParams | null | undefined = {},
|
|
@@ -50,7 +72,14 @@ export class Vaults extends APIResource {
|
|
|
50
72
|
}
|
|
51
73
|
|
|
52
74
|
/**
|
|
53
|
-
*
|
|
75
|
+
* Unresolved payment operations block deletion. Reconcile the original attempt
|
|
76
|
+
* with the provider or support first; deleting or recreating an item is not proof
|
|
77
|
+
* that a payment did not occur.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```ts
|
|
81
|
+
* await client.vaults.delete('id_or_name');
|
|
82
|
+
* ```
|
|
54
83
|
*/
|
|
55
84
|
delete(idOrName: string, options?: RequestOptions): APIPromise<void> {
|
|
56
85
|
return this._client.delete(path`/vaults/${idOrName}`, {
|
|
@@ -60,7 +89,16 @@ export class Vaults extends APIResource {
|
|
|
60
89
|
}
|
|
61
90
|
|
|
62
91
|
/**
|
|
63
|
-
*
|
|
92
|
+
* Free organizations can store up to 3 non-deleted vaults across all projects.
|
|
93
|
+
* Paid plans and active trials have no vault cap. Retrieving an existing vault by
|
|
94
|
+
* name succeeds even at the limit.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* ```ts
|
|
98
|
+
* const vault = await client.vaults.upsert({
|
|
99
|
+
* name: 'checkout',
|
|
100
|
+
* });
|
|
101
|
+
* ```
|
|
64
102
|
*/
|
|
65
103
|
upsert(body: VaultUpsertParams, options?: RequestOptions): APIPromise<Vault> {
|
|
66
104
|
return this._client.post('/vaults', { body, ...options });
|
|
@@ -104,12 +142,21 @@ export declare namespace Vaults {
|
|
|
104
142
|
export {
|
|
105
143
|
Items as Items,
|
|
106
144
|
type AgentcardCheckoutAuthorization as AgentcardCheckoutAuthorization,
|
|
145
|
+
type AgentcardCheckoutPreparation as AgentcardCheckoutPreparation,
|
|
146
|
+
type AuthorizeVaultItemOperationRequest as AuthorizeVaultItemOperationRequest,
|
|
107
147
|
type CardVaultItemSpec as CardVaultItemSpec,
|
|
108
148
|
type CardVaultItemState as CardVaultItemState,
|
|
149
|
+
type FillVaultItemOperationRequest as FillVaultItemOperationRequest,
|
|
150
|
+
type FillVaultItemOperationResult as FillVaultItemOperationResult,
|
|
151
|
+
type PrepareCheckoutVaultItemOperationRequest as PrepareCheckoutVaultItemOperationRequest,
|
|
109
152
|
type VaultCardAliases as VaultCardAliases,
|
|
153
|
+
type VaultCardFillField as VaultCardFillField,
|
|
154
|
+
type VaultCheckoutContext as VaultCheckoutContext,
|
|
155
|
+
type VaultFillFieldResult as VaultFillFieldResult,
|
|
110
156
|
type VaultItem as VaultItem,
|
|
111
157
|
type VaultItemAction as VaultItemAction,
|
|
112
158
|
type VaultItemEvent as VaultItemEvent,
|
|
159
|
+
type VaultItemOperationResponse as VaultItemOperationResponse,
|
|
113
160
|
type VaultPaymentMethod as VaultPaymentMethod,
|
|
114
161
|
type WalletVaultItemSpec as WalletVaultItemSpec,
|
|
115
162
|
type WalletVaultItemState as WalletVaultItemState,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.102.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.102.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.102.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.102.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|