@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.
- package/CHANGELOG.md +12 -0
- package/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth/connections.d.mts +26 -8
- package/resources/auth/connections.d.mts.map +1 -1
- package/resources/auth/connections.d.ts +26 -8
- package/resources/auth/connections.d.ts.map +1 -1
- package/resources/browsers/telemetry.d.mts +13 -4
- package/resources/browsers/telemetry.d.mts.map +1 -1
- package/resources/browsers/telemetry.d.ts +13 -4
- package/resources/browsers/telemetry.d.ts.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/search/contents.d.mts +267 -0
- package/resources/search/contents.d.mts.map +1 -0
- package/resources/search/contents.d.ts +267 -0
- package/resources/search/contents.d.ts.map +1 -0
- package/resources/search/contents.js +31 -0
- package/resources/search/contents.js.map +1 -0
- package/resources/search/contents.mjs +27 -0
- package/resources/search/contents.mjs.map +1 -0
- package/resources/search/index.d.mts +4 -0
- package/resources/search/index.d.mts.map +1 -0
- package/resources/search/index.d.ts +4 -0
- package/resources/search/index.d.ts.map +1 -0
- package/resources/search/index.js +11 -0
- package/resources/search/index.js.map +1 -0
- package/resources/search/index.mjs +5 -0
- package/resources/search/index.mjs.map +1 -0
- package/resources/search/providers.d.mts +141 -0
- package/resources/search/providers.d.mts.map +1 -0
- package/resources/search/providers.d.ts +141 -0
- package/resources/search/providers.d.ts.map +1 -0
- package/resources/search/providers.js +25 -0
- package/resources/search/providers.js.map +1 -0
- package/resources/search/providers.mjs +21 -0
- package/resources/search/providers.mjs.map +1 -0
- package/resources/search/search.d.mts +1187 -0
- package/resources/search/search.d.mts.map +1 -0
- package/resources/search/search.d.ts +1187 -0
- package/resources/search/search.d.ts.map +1 -0
- package/resources/search/search.js +58 -0
- package/resources/search/search.js.map +1 -0
- package/resources/search/search.mjs +53 -0
- package/resources/search/search.mjs.map +1 -0
- package/resources/search.d.mts +2 -0
- package/resources/search.d.mts.map +1 -0
- package/resources/search.d.ts +2 -0
- package/resources/search.d.ts.map +1 -0
- package/resources/search.js +6 -0
- package/resources/search.js.map +1 -0
- package/resources/search.mjs +3 -0
- package/resources/search.mjs.map +1 -0
- package/resources/vaults/items.d.mts +21 -14
- package/resources/vaults/items.d.mts.map +1 -1
- package/resources/vaults/items.d.ts +21 -14
- package/resources/vaults/items.d.ts.map +1 -1
- package/src/client.ts +30 -0
- package/src/resources/auth/connections.ts +28 -7
- package/src/resources/browsers/telemetry.ts +17 -4
- package/src/resources/index.ts +12 -0
- package/src/resources/search/contents.ts +327 -0
- package/src/resources/search/index.ts +16 -0
- package/src/resources/search/providers.ts +197 -0
- package/src/resources/search/search.ts +1496 -0
- package/src/resources/search.ts +3 -0
- package/src/resources/vaults/items.ts +27 -14
- 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
|
@@ -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
|
|
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 =
|
|
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
|
|
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
|
|
1001
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
1114
|
-
*
|
|
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
|
-
*
|
|
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.
|
|
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.
|
|
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.
|
|
1
|
+
export declare const VERSION = "0.111.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.111.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|