@onkernel/sdk 0.109.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 +19 -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 +35 -14
- package/resources/vaults/items.d.mts.map +1 -1
- package/resources/vaults/items.d.ts +35 -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 +43 -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
|
|
|
@@ -630,6 +640,14 @@ export interface CredentialVaultFieldDefinition {
|
|
|
630
640
|
* unsupported.
|
|
631
641
|
*/
|
|
632
642
|
type: CredentialVaultFieldType;
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* Optional human-readable display label. It is returned as non-secret metadata and
|
|
646
|
+
* never affects value keys, updates, or browser fills. Use single-line, trimmed
|
|
647
|
+
* display text without control or formatting characters. The server enforces a
|
|
648
|
+
* 128-byte UTF-8 limit.
|
|
649
|
+
*/
|
|
650
|
+
label?: string;
|
|
633
651
|
}
|
|
634
652
|
|
|
635
653
|
export interface CredentialVaultFieldInput {
|
|
@@ -650,6 +668,14 @@ export interface CredentialVaultFieldInput {
|
|
|
650
668
|
*/
|
|
651
669
|
type: CredentialVaultFieldType;
|
|
652
670
|
|
|
671
|
+
/**
|
|
672
|
+
* Optional human-readable display label. It is returned as non-secret metadata and
|
|
673
|
+
* never affects value keys, updates, or browser fills. Use single-line, trimmed
|
|
674
|
+
* display text without control or formatting characters. The server enforces a
|
|
675
|
+
* 128-byte UTF-8 limit.
|
|
676
|
+
*/
|
|
677
|
+
label?: string;
|
|
678
|
+
|
|
653
679
|
required?: boolean;
|
|
654
680
|
|
|
655
681
|
/**
|
|
@@ -981,8 +1007,8 @@ export interface FillVaultItemOperationResult {
|
|
|
981
1007
|
}
|
|
982
1008
|
|
|
983
1009
|
/**
|
|
984
|
-
* Prepare an unused AgentCard card for a supported
|
|
985
|
-
*
|
|
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
|
|
986
1012
|
* ready_to_submit, then submit native Pay before preparation.expires_at. Readiness
|
|
987
1013
|
* lasts at most 30 seconds. Unused preparations expire automatically. Preparations
|
|
988
1014
|
* are single-use even after failure or expiry; do not automatically retry and
|
|
@@ -990,7 +1016,7 @@ export interface FillVaultItemOperationResult {
|
|
|
990
1016
|
*/
|
|
991
1017
|
export interface PrepareCheckoutVaultItemOperationRequest {
|
|
992
1018
|
/**
|
|
993
|
-
* Required when preparing an unused AgentCard card for a supported
|
|
1019
|
+
* Required when preparing an unused AgentCard card for a supported checkout
|
|
994
1020
|
* processor. Consent is bound to this browser and declared merchant origin, not a
|
|
995
1021
|
* tab. Wait for the item's ready_to_submit status before native Pay and submit
|
|
996
1022
|
* within its readiness deadline. Unused preparations expire automatically; every
|
|
@@ -1067,7 +1093,7 @@ export namespace VaultCardFillField {
|
|
|
1067
1093
|
}
|
|
1068
1094
|
|
|
1069
1095
|
/**
|
|
1070
|
-
* Required when preparing an unused AgentCard card for a supported
|
|
1096
|
+
* Required when preparing an unused AgentCard card for a supported checkout
|
|
1071
1097
|
* processor. Consent is bound to this browser and declared merchant origin, not a
|
|
1072
1098
|
* tab. Wait for the item's ready_to_submit status before native Pay and submit
|
|
1073
1099
|
* within its readiness deadline. Unused preparations expire automatically; every
|
|
@@ -1080,8 +1106,8 @@ export interface VaultCheckoutContext {
|
|
|
1080
1106
|
browser_id: string;
|
|
1081
1107
|
|
|
1082
1108
|
/**
|
|
1083
|
-
* Use production or sandbox for Square, Braintree and
|
|
1084
|
-
* 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
|
|
1085
1111
|
* credentials/configuration determine processor test mode, independently of the
|
|
1086
1112
|
* AgentCard credential mode.
|
|
1087
1113
|
*/
|
|
@@ -1094,8 +1120,11 @@ export interface VaultCheckoutContext {
|
|
|
1094
1120
|
merchant_origin: string;
|
|
1095
1121
|
|
|
1096
1122
|
/**
|
|
1097
|
-
*
|
|
1098
|
-
*
|
|
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.
|
|
1099
1128
|
*/
|
|
1100
1129
|
psp?: AgentcardPreparedProcessor;
|
|
1101
1130
|
}
|
|
@@ -1775,7 +1804,7 @@ export declare namespace ItemPerformOperationParams {
|
|
|
1775
1804
|
|
|
1776
1805
|
/**
|
|
1777
1806
|
* Body param: Required when preparing an unused AgentCard card for a supported
|
|
1778
|
-
*
|
|
1807
|
+
* checkout processor. Consent is bound to this browser and declared merchant
|
|
1779
1808
|
* origin, not a tab. Wait for the item's ready_to_submit status before native Pay
|
|
1780
1809
|
* and submit within its readiness deadline. Unused preparations expire
|
|
1781
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
|