@onkernel/sdk 0.110.0 → 0.111.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 (85) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/client.d.mts +6 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/auth/connections.d.mts +26 -8
  12. package/resources/auth/connections.d.mts.map +1 -1
  13. package/resources/auth/connections.d.ts +26 -8
  14. package/resources/auth/connections.d.ts.map +1 -1
  15. package/resources/browsers/telemetry.d.mts +13 -4
  16. package/resources/browsers/telemetry.d.mts.map +1 -1
  17. package/resources/browsers/telemetry.d.ts +13 -4
  18. package/resources/browsers/telemetry.d.ts.map +1 -1
  19. package/resources/index.d.mts +1 -0
  20. package/resources/index.d.mts.map +1 -1
  21. package/resources/index.d.ts +1 -0
  22. package/resources/index.d.ts.map +1 -1
  23. package/resources/index.js +3 -1
  24. package/resources/index.js.map +1 -1
  25. package/resources/index.mjs +1 -0
  26. package/resources/index.mjs.map +1 -1
  27. package/resources/search/contents.d.mts +267 -0
  28. package/resources/search/contents.d.mts.map +1 -0
  29. package/resources/search/contents.d.ts +267 -0
  30. package/resources/search/contents.d.ts.map +1 -0
  31. package/resources/search/contents.js +31 -0
  32. package/resources/search/contents.js.map +1 -0
  33. package/resources/search/contents.mjs +27 -0
  34. package/resources/search/contents.mjs.map +1 -0
  35. package/resources/search/index.d.mts +4 -0
  36. package/resources/search/index.d.mts.map +1 -0
  37. package/resources/search/index.d.ts +4 -0
  38. package/resources/search/index.d.ts.map +1 -0
  39. package/resources/search/index.js +11 -0
  40. package/resources/search/index.js.map +1 -0
  41. package/resources/search/index.mjs +5 -0
  42. package/resources/search/index.mjs.map +1 -0
  43. package/resources/search/providers.d.mts +141 -0
  44. package/resources/search/providers.d.mts.map +1 -0
  45. package/resources/search/providers.d.ts +141 -0
  46. package/resources/search/providers.d.ts.map +1 -0
  47. package/resources/search/providers.js +25 -0
  48. package/resources/search/providers.js.map +1 -0
  49. package/resources/search/providers.mjs +21 -0
  50. package/resources/search/providers.mjs.map +1 -0
  51. package/resources/search/search.d.mts +1187 -0
  52. package/resources/search/search.d.mts.map +1 -0
  53. package/resources/search/search.d.ts +1187 -0
  54. package/resources/search/search.d.ts.map +1 -0
  55. package/resources/search/search.js +58 -0
  56. package/resources/search/search.js.map +1 -0
  57. package/resources/search/search.mjs +53 -0
  58. package/resources/search/search.mjs.map +1 -0
  59. package/resources/search.d.mts +2 -0
  60. package/resources/search.d.mts.map +1 -0
  61. package/resources/search.d.ts +2 -0
  62. package/resources/search.d.ts.map +1 -0
  63. package/resources/search.js +6 -0
  64. package/resources/search.js.map +1 -0
  65. package/resources/search.mjs +3 -0
  66. package/resources/search.mjs.map +1 -0
  67. package/resources/vaults/items.d.mts +21 -14
  68. package/resources/vaults/items.d.mts.map +1 -1
  69. package/resources/vaults/items.d.ts +21 -14
  70. package/resources/vaults/items.d.ts.map +1 -1
  71. package/src/client.ts +30 -0
  72. package/src/resources/auth/connections.ts +28 -7
  73. package/src/resources/browsers/telemetry.ts +17 -4
  74. package/src/resources/index.ts +12 -0
  75. package/src/resources/search/contents.ts +327 -0
  76. package/src/resources/search/index.ts +16 -0
  77. package/src/resources/search/providers.ts +197 -0
  78. package/src/resources/search/search.ts +1496 -0
  79. package/src/resources/search.ts +3 -0
  80. package/src/resources/vaults/items.ts +27 -14
  81. package/src/version.ts +1 -1
  82. package/version.d.mts +1 -1
  83. package/version.d.ts +1 -1
  84. package/version.js +1 -1
  85. package/version.mjs +1 -1
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './search/index';
@@ -259,8 +259,10 @@ export interface AgentcardCheckoutAuthorization {
259
259
 
260
260
  /**
261
261
  * One-use processor-bound checkout preparation. Keep the approval page open
262
- * through token handoff. The amount is display-only and does not constrain the
263
- * merchant's eventual charge.
262
+ * through device handoff, including Adyen encryption. The amount is declared by
263
+ * the caller and does not constrain the merchant's eventual charge. Adyen device
264
+ * approval and browser Authorised responses are not capture or fulfillment
265
+ * evidence.
264
266
  */
265
267
  export interface AgentcardCheckoutPreparation {
266
268
  browser_id: string;
@@ -293,7 +295,13 @@ export interface AgentcardCheckoutPreparation {
293
295
  expires_at?: string;
294
296
  }
295
297
 
296
- export type AgentcardPreparedProcessor = 'square' | 'braintree' | 'worldpay' | 'bambora' | 'mercado_pago';
298
+ export type AgentcardPreparedProcessor =
299
+ | 'square'
300
+ | 'braintree'
301
+ | 'worldpay'
302
+ | 'bambora'
303
+ | 'mercado_pago'
304
+ | 'adyen';
297
305
 
298
306
  /**
299
307
  * Authorize a Link card using its existing purchase specification. Use only after
@@ -522,8 +530,10 @@ export namespace CardVaultItemState {
522
530
 
523
531
  /**
524
532
  * One-use processor-bound checkout preparation. Keep the approval page open
525
- * through token handoff. The amount is display-only and does not constrain the
526
- * merchant's eventual charge.
533
+ * through device handoff, including Adyen encryption. The amount is declared by
534
+ * the caller and does not constrain the merchant's eventual charge. Adyen device
535
+ * approval and browser Authorised responses are not capture or fulfillment
536
+ * evidence.
527
537
  */
528
538
  preparation?: ItemsAPI.AgentcardCheckoutPreparation;
529
539
 
@@ -997,8 +1007,8 @@ export interface FillVaultItemOperationResult {
997
1007
  }
998
1008
 
999
1009
  /**
1000
- * Prepare an unused AgentCard card for a supported tokenization checkout. Deliver
1001
- * the returned approval URL and keep the approval page open. Poll the item until
1010
+ * Prepare an unused AgentCard card for a supported checkout. Deliver the returned
1011
+ * approval URL and keep the approval page open. Poll the item until
1002
1012
  * ready_to_submit, then submit native Pay before preparation.expires_at. Readiness
1003
1013
  * lasts at most 30 seconds. Unused preparations expire automatically. Preparations
1004
1014
  * are single-use even after failure or expiry; do not automatically retry and
@@ -1006,7 +1016,7 @@ export interface FillVaultItemOperationResult {
1006
1016
  */
1007
1017
  export interface PrepareCheckoutVaultItemOperationRequest {
1008
1018
  /**
1009
- * Required when preparing an unused AgentCard card for a supported tokenization
1019
+ * Required when preparing an unused AgentCard card for a supported checkout
1010
1020
  * processor. Consent is bound to this browser and declared merchant origin, not a
1011
1021
  * tab. Wait for the item's ready_to_submit status before native Pay and submit
1012
1022
  * within its readiness deadline. Unused preparations expire automatically; every
@@ -1083,7 +1093,7 @@ export namespace VaultCardFillField {
1083
1093
  }
1084
1094
 
1085
1095
  /**
1086
- * Required when preparing an unused AgentCard card for a supported tokenization
1096
+ * Required when preparing an unused AgentCard card for a supported checkout
1087
1097
  * processor. Consent is bound to this browser and declared merchant origin, not a
1088
1098
  * tab. Wait for the item's ready_to_submit status before native Pay and submit
1089
1099
  * within its readiness deadline. Unused preparations expire automatically; every
@@ -1096,8 +1106,8 @@ export interface VaultCheckoutContext {
1096
1106
  browser_id: string;
1097
1107
 
1098
1108
  /**
1099
- * Use production or sandbox for Square, Braintree and Worldpay; shared for Bambora
1100
- * and Mercado Pago. Shared endpoints do not establish test mode. Merchant
1109
+ * Use production or sandbox for Square, Braintree, Worldpay and Adyen; shared for
1110
+ * Bambora and Mercado Pago. Shared endpoints do not establish test mode. Merchant
1101
1111
  * credentials/configuration determine processor test mode, independently of the
1102
1112
  * AgentCard credential mode.
1103
1113
  */
@@ -1110,8 +1120,11 @@ export interface VaultCheckoutContext {
1110
1120
  merchant_origin: string;
1111
1121
 
1112
1122
  /**
1113
- * Tokenization processor. Omit for Square compatibility. Non-Square processors
1114
- * require multi-processor preparation enablement.
1123
+ * Checkout processor. Omit for Square compatibility. Adyen supports fresh-card
1124
+ * Sessions requests on Adyen hosts only. Use public dummy card fields, not vault
1125
+ * aliases. The unique armed preparation is associated with the subsequent eligible
1126
+ * request from this browser and declared merchant origin; competing preparations
1127
+ * are rejected.
1115
1128
  */
1116
1129
  psp?: AgentcardPreparedProcessor;
1117
1130
  }
@@ -1791,7 +1804,7 @@ export declare namespace ItemPerformOperationParams {
1791
1804
 
1792
1805
  /**
1793
1806
  * Body param: Required when preparing an unused AgentCard card for a supported
1794
- * tokenization processor. Consent is bound to this browser and declared merchant
1807
+ * checkout processor. Consent is bound to this browser and declared merchant
1795
1808
  * origin, not a tab. Wait for the item's ready_to_submit status before native Pay
1796
1809
  * and submit within its readiness deadline. Unused preparations expire
1797
1810
  * automatically; every preparation is single-use, including after failure or
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.110.0'; // x-release-please-version
1
+ export const VERSION = '0.111.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.110.0";
1
+ export declare const VERSION = "0.111.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.110.0";
1
+ export declare const VERSION = "0.111.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.110.0'; // x-release-please-version
4
+ exports.VERSION = '0.111.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.110.0'; // x-release-please-version
1
+ export const VERSION = '0.111.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map