@onkernel/sdk 0.127.0 → 0.128.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 (59) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/browser-pools.d.mts +4 -0
  10. package/resources/browser-pools.d.mts.map +1 -1
  11. package/resources/browser-pools.d.ts +4 -0
  12. package/resources/browser-pools.d.ts.map +1 -1
  13. package/resources/browsers/browsers.d.mts +124 -1
  14. package/resources/browsers/browsers.d.mts.map +1 -1
  15. package/resources/browsers/browsers.d.ts +124 -1
  16. package/resources/browsers/browsers.d.ts.map +1 -1
  17. package/resources/browsers/browsers.js.map +1 -1
  18. package/resources/browsers/browsers.mjs.map +1 -1
  19. package/resources/browsers/index.d.mts +1 -1
  20. package/resources/browsers/index.d.mts.map +1 -1
  21. package/resources/browsers/index.d.ts +1 -1
  22. package/resources/browsers/index.d.ts.map +1 -1
  23. package/resources/browsers/index.js.map +1 -1
  24. package/resources/browsers/index.mjs.map +1 -1
  25. package/resources/index.d.mts +1 -1
  26. package/resources/index.d.mts.map +1 -1
  27. package/resources/index.d.ts +1 -1
  28. package/resources/index.d.ts.map +1 -1
  29. package/resources/index.js.map +1 -1
  30. package/resources/index.mjs.map +1 -1
  31. package/resources/invocations.d.mts +4 -0
  32. package/resources/invocations.d.mts.map +1 -1
  33. package/resources/invocations.d.ts +4 -0
  34. package/resources/invocations.d.ts.map +1 -1
  35. package/resources/proxies.d.mts +14 -13
  36. package/resources/proxies.d.mts.map +1 -1
  37. package/resources/proxies.d.ts +14 -13
  38. package/resources/proxies.d.ts.map +1 -1
  39. package/resources/proxies.js +18 -17
  40. package/resources/proxies.js.map +1 -1
  41. package/resources/proxies.mjs +18 -17
  42. package/resources/proxies.mjs.map +1 -1
  43. package/resources/vaults/items.d.mts +61 -15
  44. package/resources/vaults/items.d.mts.map +1 -1
  45. package/resources/vaults/items.d.ts +61 -15
  46. package/resources/vaults/items.d.ts.map +1 -1
  47. package/src/client.ts +10 -0
  48. package/src/resources/browser-pools.ts +5 -0
  49. package/src/resources/browsers/browsers.ts +149 -0
  50. package/src/resources/browsers/index.ts +5 -0
  51. package/src/resources/index.ts +5 -0
  52. package/src/resources/invocations.ts +5 -0
  53. package/src/resources/proxies.ts +22 -17
  54. package/src/resources/vaults/items.ts +61 -15
  55. package/src/version.ts +1 -1
  56. package/version.d.mts +1 -1
  57. package/version.d.ts +1 -1
  58. package/version.js +1 -1
  59. package/version.mjs +1 -1
@@ -368,9 +368,7 @@ export namespace CardVaultItemSpec {
368
368
  */
369
369
  export interface LinkCardVaultItemSpec {
370
370
  /**
371
- * Integer amount in minor currency units. Link Pay Token execution permits at most
372
- * 500000; virtual-card execution permits at most 50000. Authorization rejects a
373
- * larger amount when the checkout requires a virtual card.
371
+ * Integer amount in minor currency units, at most 50000.
374
372
  */
375
373
  amount: number;
376
374
 
@@ -2215,8 +2213,16 @@ export namespace VaultItem {
2215
2213
  * select a customer-owned configuration. Mode (sandbox vs live) is determined by
2216
2214
  * the selected credential; there is no per-item test flag. Without user_id,
2217
2215
  * creation returns a hosted enrollment action and Kernel polls until the user
2218
- * connects. user_id may only reference a user already enrolled by a wallet in this
2219
- * organization under the same configuration.
2216
+ * connects. With a customer-owned provider_config, user_id imports an existing
2217
+ * connection after verifying access with the selected credentials in their sandbox
2218
+ * or live mode; no hosted enrollment is needed, even if the connected user has no
2219
+ * stored cards. With Kernel-managed credentials, user_id may only reference a user
2220
+ * already enrolled by a wallet in this organization under the same configuration.
2221
+ * The user and configuration bindings cannot be changed after creation. Import
2222
+ * validation is read-only and runs before creation: a failed validation leaves no
2223
+ * wallet or reserved key, so the user_id can be corrected and retried. Concurrent
2224
+ * imports of the same key may both validate, but create at most one wallet and
2225
+ * connected event.
2220
2226
  */
2221
2227
  spec: ItemsAPI.WalletVaultItemSpec;
2222
2228
 
@@ -2451,8 +2457,16 @@ export namespace VaultItemOperationResponse {
2451
2457
  * select a customer-owned configuration. Mode (sandbox vs live) is determined by
2452
2458
  * the selected credential; there is no per-item test flag. Without user_id,
2453
2459
  * creation returns a hosted enrollment action and Kernel polls until the user
2454
- * connects. user_id may only reference a user already enrolled by a wallet in this
2455
- * organization under the same configuration.
2460
+ * connects. With a customer-owned provider_config, user_id imports an existing
2461
+ * connection after verifying access with the selected credentials in their sandbox
2462
+ * or live mode; no hosted enrollment is needed, even if the connected user has no
2463
+ * stored cards. With Kernel-managed credentials, user_id may only reference a user
2464
+ * already enrolled by a wallet in this organization under the same configuration.
2465
+ * The user and configuration bindings cannot be changed after creation. Import
2466
+ * validation is read-only and runs before creation: a failed validation leaves no
2467
+ * wallet or reserved key, so the user_id can be corrected and retried. Concurrent
2468
+ * imports of the same key may both validate, but create at most one wallet and
2469
+ * connected event.
2456
2470
  */
2457
2471
  spec: ItemsAPI.WalletVaultItemSpec;
2458
2472
 
@@ -2668,8 +2682,16 @@ export interface VaultWebmcpBinding {
2668
2682
  * select a customer-owned configuration. Mode (sandbox vs live) is determined by
2669
2683
  * the selected credential; there is no per-item test flag. Without user_id,
2670
2684
  * creation returns a hosted enrollment action and Kernel polls until the user
2671
- * connects. user_id may only reference a user already enrolled by a wallet in this
2672
- * organization under the same configuration.
2685
+ * connects. With a customer-owned provider_config, user_id imports an existing
2686
+ * connection after verifying access with the selected credentials in their sandbox
2687
+ * or live mode; no hosted enrollment is needed, even if the connected user has no
2688
+ * stored cards. With Kernel-managed credentials, user_id may only reference a user
2689
+ * already enrolled by a wallet in this organization under the same configuration.
2690
+ * The user and configuration bindings cannot be changed after creation. Import
2691
+ * validation is read-only and runs before creation: a failed validation leaves no
2692
+ * wallet or reserved key, so the user_id can be corrected and retried. Concurrent
2693
+ * imports of the same key may both validate, but create at most one wallet and
2694
+ * connected event.
2673
2695
  */
2674
2696
  export type WalletVaultItemSpec =
2675
2697
  | WalletVaultItemSpec.LinkWalletVaultItemSpec
@@ -2726,8 +2748,16 @@ export namespace WalletVaultItemSpec {
2726
2748
  * select a customer-owned configuration. Mode (sandbox vs live) is determined by
2727
2749
  * the selected credential; there is no per-item test flag. Without user_id,
2728
2750
  * creation returns a hosted enrollment action and Kernel polls until the user
2729
- * connects. user_id may only reference a user already enrolled by a wallet in this
2730
- * organization under the same configuration.
2751
+ * connects. With a customer-owned provider_config, user_id imports an existing
2752
+ * connection after verifying access with the selected credentials in their sandbox
2753
+ * or live mode; no hosted enrollment is needed, even if the connected user has no
2754
+ * stored cards. With Kernel-managed credentials, user_id may only reference a user
2755
+ * already enrolled by a wallet in this organization under the same configuration.
2756
+ * The user and configuration bindings cannot be changed after creation. Import
2757
+ * validation is read-only and runs before creation: a failed validation leaves no
2758
+ * wallet or reserved key, so the user_id can be corrected and retried. Concurrent
2759
+ * imports of the same key may both validate, but create at most one wallet and
2760
+ * connected event.
2731
2761
  */
2732
2762
  export interface AgentCardWalletVaultItemSpec {
2733
2763
  provider: 'agentcard';
@@ -3317,8 +3347,16 @@ export declare namespace ItemUpsertParams {
3317
3347
  * credentials, or select a customer-owned configuration. Mode (sandbox vs live) is
3318
3348
  * determined by the selected credential; there is no per-item test flag. Without
3319
3349
  * user_id, creation returns a hosted enrollment action and Kernel polls until the
3320
- * user connects. user_id may only reference a user already enrolled by a wallet in
3321
- * this organization under the same configuration.
3350
+ * user connects. With a customer-owned provider_config, user_id imports an
3351
+ * existing connection after verifying access with the selected credentials in
3352
+ * their sandbox or live mode; no hosted enrollment is needed, even if the
3353
+ * connected user has no stored cards. With Kernel-managed credentials, user_id may
3354
+ * only reference a user already enrolled by a wallet in this organization under
3355
+ * the same configuration. The user and configuration bindings cannot be changed
3356
+ * after creation. Import validation is read-only and runs before creation: a
3357
+ * failed validation leaves no wallet or reserved key, so the user_id can be
3358
+ * corrected and retried. Concurrent imports of the same key may both validate, but
3359
+ * create at most one wallet and connected event.
3322
3360
  */
3323
3361
  spec:
3324
3362
  | WalletVaultItemRequest.LinkWalletVaultItemRequestSpec
@@ -3447,8 +3485,16 @@ export declare namespace ItemUpsertParams {
3447
3485
  * select a customer-owned configuration. Mode (sandbox vs live) is determined by
3448
3486
  * the selected credential; there is no per-item test flag. Without user_id,
3449
3487
  * creation returns a hosted enrollment action and Kernel polls until the user
3450
- * connects. user_id may only reference a user already enrolled by a wallet in this
3451
- * organization under the same configuration.
3488
+ * connects. With a customer-owned provider_config, user_id imports an existing
3489
+ * connection after verifying access with the selected credentials in their sandbox
3490
+ * or live mode; no hosted enrollment is needed, even if the connected user has no
3491
+ * stored cards. With Kernel-managed credentials, user_id may only reference a user
3492
+ * already enrolled by a wallet in this organization under the same configuration.
3493
+ * The user and configuration bindings cannot be changed after creation. Import
3494
+ * validation is read-only and runs before creation: a failed validation leaves no
3495
+ * wallet or reserved key, so the user_id can be corrected and retried. Concurrent
3496
+ * imports of the same key may both validate, but create at most one wallet and
3497
+ * connected event.
3452
3498
  */
3453
3499
  export interface AgentCardWalletVaultItemSpec {
3454
3500
  provider: 'agentcard';
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.127.0'; // x-release-please-version
1
+ export const VERSION = '0.128.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.127.0";
1
+ export declare const VERSION = "0.128.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.127.0";
1
+ export declare const VERSION = "0.128.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.127.0'; // x-release-please-version
4
+ exports.VERSION = '0.128.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.127.0'; // x-release-please-version
1
+ export const VERSION = '0.128.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map