@onkernel/sdk 0.97.0 → 0.99.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 +15 -0
- package/client.d.mts +5 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -2
- 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/package.json +1 -1
- package/resources/browser-pools.d.mts +9 -0
- package/resources/browser-pools.d.mts.map +1 -1
- package/resources/browser-pools.d.ts +9 -0
- package/resources/browser-pools.d.ts.map +1 -1
- package/resources/browsers/browsers.d.mts +70 -14
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +70 -14
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js +23 -15
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs +23 -15
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/browsers/computer.d.mts +62 -45
- package/resources/browsers/computer.d.mts.map +1 -1
- package/resources/browsers/computer.d.ts +62 -45
- package/resources/browsers/computer.d.ts.map +1 -1
- package/resources/browsers/computer.js +74 -57
- package/resources/browsers/computer.js.map +1 -1
- package/resources/browsers/computer.mjs +74 -57
- package/resources/browsers/computer.mjs.map +1 -1
- package/resources/browsers/fs/fs.d.mts +61 -47
- package/resources/browsers/fs/fs.d.mts.map +1 -1
- package/resources/browsers/fs/fs.d.ts +61 -47
- package/resources/browsers/fs/fs.d.ts.map +1 -1
- package/resources/browsers/fs/fs.js +73 -59
- package/resources/browsers/fs/fs.js.map +1 -1
- package/resources/browsers/fs/fs.mjs +73 -59
- package/resources/browsers/fs/fs.mjs.map +1 -1
- package/resources/browsers/fs/watch.d.mts +8 -8
- package/resources/browsers/fs/watch.d.mts.map +1 -1
- package/resources/browsers/fs/watch.d.ts +8 -8
- package/resources/browsers/fs/watch.d.ts.map +1 -1
- package/resources/browsers/fs/watch.js +9 -9
- package/resources/browsers/fs/watch.js.map +1 -1
- package/resources/browsers/fs/watch.mjs +9 -9
- package/resources/browsers/fs/watch.mjs.map +1 -1
- package/resources/browsers/index.d.mts +2 -1
- package/resources/browsers/index.d.mts.map +1 -1
- package/resources/browsers/index.d.ts +2 -1
- package/resources/browsers/index.d.ts.map +1 -1
- package/resources/browsers/index.js +3 -1
- package/resources/browsers/index.js.map +1 -1
- package/resources/browsers/index.mjs +1 -0
- package/resources/browsers/index.mjs.map +1 -1
- package/resources/browsers/logs.d.mts +5 -4
- package/resources/browsers/logs.d.mts.map +1 -1
- package/resources/browsers/logs.d.ts +5 -4
- package/resources/browsers/logs.d.ts.map +1 -1
- package/resources/browsers/logs.js +6 -5
- package/resources/browsers/logs.js.map +1 -1
- package/resources/browsers/logs.mjs +6 -5
- package/resources/browsers/logs.mjs.map +1 -1
- package/resources/browsers/playwright.d.mts +7 -4
- package/resources/browsers/playwright.d.mts.map +1 -1
- package/resources/browsers/playwright.d.ts +7 -4
- package/resources/browsers/playwright.d.ts.map +1 -1
- package/resources/browsers/playwright.js +8 -5
- package/resources/browsers/playwright.js.map +1 -1
- package/resources/browsers/playwright.mjs +8 -5
- package/resources/browsers/playwright.mjs.map +1 -1
- package/resources/browsers/process.d.mts +31 -23
- package/resources/browsers/process.d.mts.map +1 -1
- package/resources/browsers/process.d.ts +31 -23
- package/resources/browsers/process.d.ts.map +1 -1
- package/resources/browsers/process.js +33 -25
- package/resources/browsers/process.js.map +1 -1
- package/resources/browsers/process.mjs +33 -25
- package/resources/browsers/process.mjs.map +1 -1
- package/resources/browsers/replays.d.mts +14 -10
- package/resources/browsers/replays.d.mts.map +1 -1
- package/resources/browsers/replays.d.ts +14 -10
- package/resources/browsers/replays.d.ts.map +1 -1
- package/resources/browsers/replays.js +16 -12
- package/resources/browsers/replays.js.map +1 -1
- package/resources/browsers/replays.mjs +16 -12
- package/resources/browsers/replays.mjs.map +1 -1
- package/resources/browsers/telemetry.d.mts +4 -4
- package/resources/browsers/telemetry.d.mts.map +1 -1
- package/resources/browsers/telemetry.d.ts +4 -4
- package/resources/browsers/telemetry.d.ts.map +1 -1
- package/resources/browsers/telemetry.js +6 -6
- package/resources/browsers/telemetry.js.map +1 -1
- package/resources/browsers/telemetry.mjs +6 -6
- package/resources/browsers/telemetry.mjs.map +1 -1
- package/resources/browsers/webmcp.d.mts +148 -0
- package/resources/browsers/webmcp.d.mts.map +1 -0
- package/resources/browsers/webmcp.d.ts +148 -0
- package/resources/browsers/webmcp.d.ts.map +1 -0
- package/resources/browsers/webmcp.js +51 -0
- package/resources/browsers/webmcp.js.map +1 -0
- package/resources/browsers/webmcp.mjs +47 -0
- package/resources/browsers/webmcp.mjs.map +1 -0
- package/resources/config-registry/config-registry.d.mts +14 -11
- package/resources/config-registry/config-registry.d.mts.map +1 -1
- package/resources/config-registry/config-registry.d.ts +14 -11
- package/resources/config-registry/config-registry.d.ts.map +1 -1
- package/resources/config-registry/config-registry.js +2 -2
- package/resources/config-registry/config-registry.js.map +1 -1
- package/resources/config-registry/config-registry.mjs +2 -2
- package/resources/config-registry/config-registry.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- 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 +9 -0
- package/resources/invocations.d.mts.map +1 -1
- package/resources/invocations.d.ts +9 -0
- package/resources/invocations.d.ts.map +1 -1
- package/resources/telemetry/destinations.d.mts +46 -12
- package/resources/telemetry/destinations.d.mts.map +1 -1
- package/resources/telemetry/destinations.d.ts +46 -12
- package/resources/telemetry/destinations.d.ts.map +1 -1
- package/resources/telemetry/destinations.js +18 -8
- package/resources/telemetry/destinations.js.map +1 -1
- package/resources/telemetry/destinations.mjs +18 -8
- package/resources/telemetry/destinations.mjs.map +1 -1
- package/resources/vaults/index.d.mts +3 -0
- package/resources/vaults/index.d.mts.map +1 -0
- package/resources/vaults/index.d.ts +3 -0
- package/resources/vaults/index.d.ts.map +1 -0
- package/resources/vaults/index.js +9 -0
- package/resources/vaults/index.js.map +1 -0
- package/resources/vaults/index.mjs +4 -0
- package/resources/vaults/index.mjs.map +1 -0
- package/resources/vaults/items.d.mts +534 -0
- package/resources/vaults/items.d.mts.map +1 -0
- package/resources/vaults/items.d.ts +534 -0
- package/resources/vaults/items.d.ts.map +1 -0
- package/resources/vaults/items.js +68 -0
- package/resources/vaults/items.js.map +1 -0
- package/resources/vaults/items.mjs +64 -0
- package/resources/vaults/items.mjs.map +1 -0
- package/resources/vaults/vaults.d.mts +48 -0
- package/resources/vaults/vaults.d.mts.map +1 -0
- package/resources/vaults/vaults.d.ts +48 -0
- package/resources/vaults/vaults.d.ts.map +1 -0
- package/resources/vaults/vaults.js +47 -0
- package/resources/vaults/vaults.js.map +1 -0
- package/resources/vaults/vaults.mjs +42 -0
- package/resources/vaults/vaults.mjs.map +1 -0
- package/resources/vaults.d.mts +2 -0
- package/resources/vaults.d.mts.map +1 -0
- package/resources/vaults.d.ts +2 -0
- package/resources/vaults.d.ts.map +1 -0
- package/resources/vaults.js +6 -0
- package/resources/vaults.js.map +1 -0
- package/resources/vaults.mjs +3 -0
- package/resources/vaults.mjs.map +1 -0
- package/src/client.ts +19 -0
- package/src/resources/browser-pools.ts +11 -0
- package/src/resources/browsers/browsers.ts +111 -15
- package/src/resources/browsers/computer.ts +78 -57
- package/src/resources/browsers/fs/fs.ts +93 -59
- package/src/resources/browsers/fs/watch.ts +13 -13
- package/src/resources/browsers/index.ts +13 -0
- package/src/resources/browsers/logs.ts +10 -5
- package/src/resources/browsers/playwright.ts +8 -5
- package/src/resources/browsers/process.ts +47 -35
- package/src/resources/browsers/replays.ts +20 -16
- package/src/resources/browsers/telemetry.ts +6 -6
- package/src/resources/browsers/webmcp.ts +196 -0
- package/src/resources/config-registry/config-registry.ts +14 -11
- package/src/resources/index.ts +8 -0
- package/src/resources/invocations.ts +11 -0
- package/src/resources/telemetry/destinations.ts +50 -12
- package/src/resources/vaults/index.ts +30 -0
- package/src/resources/vaults/items.ts +780 -0
- package/src/resources/vaults/vaults.ts +125 -0
- package/src/resources/vaults.ts +3 -0
- 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
|
@@ -0,0 +1,534 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as ItemsAPI from "./items.mjs";
|
|
3
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
4
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
5
|
+
export declare class Items extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* The response advertises operations that are valid in the item's current state
|
|
8
|
+
* and live data that can be requested through `expand`. Read each operation's
|
|
9
|
+
* description before using it. Expanded data is fetched from the provider and is
|
|
10
|
+
* not persisted in the vault item. Requesting an unavailable expansion returns 409
|
|
11
|
+
* instead of a partial item.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(key: string, params: ItemRetrieveParams, options?: RequestOptions): APIPromise<VaultItem>;
|
|
14
|
+
/**
|
|
15
|
+
* Update a card specification before or between authorizations
|
|
16
|
+
*/
|
|
17
|
+
update(key: string, params: ItemUpdateParams, options?: RequestOptions): APIPromise<VaultItem>;
|
|
18
|
+
/**
|
|
19
|
+
* List vault items without secret values
|
|
20
|
+
*/
|
|
21
|
+
list(idOrName: string, options?: RequestOptions): APIPromise<ItemListResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Delete a vault item and invalidate its secret value
|
|
24
|
+
*/
|
|
25
|
+
delete(key: string, params: ItemDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* List immutable audit events for a vault item
|
|
28
|
+
*/
|
|
29
|
+
events(key: string, params: ItemEventsParams, options?: RequestOptions): APIPromise<ItemEventsResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* Retrieve the item first and invoke only an operation listed in
|
|
32
|
+
* `available_operations`, following its natural-language description. Operations
|
|
33
|
+
* may call an external provider and can return the item's updated state.
|
|
34
|
+
*/
|
|
35
|
+
performOperation(key: string, params: ItemPerformOperationParams, options?: RequestOptions): APIPromise<VaultItem>;
|
|
36
|
+
/**
|
|
37
|
+
* Create or retrieve an identical vault item by immutable key
|
|
38
|
+
*/
|
|
39
|
+
upsert(key: string, params: ItemUpsertParams, options?: RequestOptions): APIPromise<VaultItem>;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The in-flight or most recent checkout authorization. Present while a checkout is
|
|
43
|
+
* pending approval and after it settles.
|
|
44
|
+
*/
|
|
45
|
+
export interface AgentcardCheckoutAuthorization {
|
|
46
|
+
id: string;
|
|
47
|
+
amount_cents: number;
|
|
48
|
+
created_at: string;
|
|
49
|
+
currency: string;
|
|
50
|
+
merchant: string;
|
|
51
|
+
psp: string;
|
|
52
|
+
status: 'awaiting_approval' | 'approved' | 'declined' | 'expired';
|
|
53
|
+
actual_cents?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Display amount shown on the approval screen.
|
|
56
|
+
*/
|
|
57
|
+
amount?: string;
|
|
58
|
+
amount_authority?: 'display_only' | 'stripe_payment_intent';
|
|
59
|
+
amount_verified?: boolean;
|
|
60
|
+
approval_url?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Browser session that submitted the checkout.
|
|
63
|
+
*/
|
|
64
|
+
browser_id?: string;
|
|
65
|
+
charged_amount_cents?: number;
|
|
66
|
+
charged_currency?: string;
|
|
67
|
+
charged_kind?: 'captured' | 'authorized' | 'none';
|
|
68
|
+
expected_cents?: number;
|
|
69
|
+
expires_at?: string;
|
|
70
|
+
psp_error_code?: string;
|
|
71
|
+
reason?: string;
|
|
72
|
+
replay_attempted?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Whether the processor response was delivered to the browser.
|
|
75
|
+
*/
|
|
76
|
+
replay_delivered?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* HTTP status of the replayed processor response.
|
|
79
|
+
*/
|
|
80
|
+
replay_status?: number;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* AgentCard reusable card. Each checkout creates an approval-gated authorization
|
|
84
|
+
* for spec.merchant / spec.amount. The card stays ready after each authorization.
|
|
85
|
+
*/
|
|
86
|
+
export type CardVaultItemSpec = CardVaultItemSpec.LinkCardVaultItemSpec | CardVaultItemSpec.AgentCardCardVaultItemSpec;
|
|
87
|
+
export declare namespace CardVaultItemSpec {
|
|
88
|
+
interface LinkCardVaultItemSpec {
|
|
89
|
+
/**
|
|
90
|
+
* Integer amount in minor currency units.
|
|
91
|
+
*/
|
|
92
|
+
amount: number;
|
|
93
|
+
context: string;
|
|
94
|
+
currency: string;
|
|
95
|
+
merchant_name: string;
|
|
96
|
+
merchant_url: string;
|
|
97
|
+
/**
|
|
98
|
+
* Payment-method ID returned by the referenced wallet's payment-method listing.
|
|
99
|
+
* The provider decides whether the selected funding method can satisfy the card
|
|
100
|
+
* request.
|
|
101
|
+
*/
|
|
102
|
+
payment_method_id: string;
|
|
103
|
+
provider: 'link';
|
|
104
|
+
/**
|
|
105
|
+
* Whether Link should return test credentials instead of a live payment
|
|
106
|
+
* credential.
|
|
107
|
+
*/
|
|
108
|
+
test: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Wallet item key used to mint this card.
|
|
111
|
+
*/
|
|
112
|
+
wallet: string;
|
|
113
|
+
expires_at?: number;
|
|
114
|
+
line_items?: Array<LinkCardVaultItemSpec.LineItem>;
|
|
115
|
+
metadata?: {
|
|
116
|
+
[key: string]: string;
|
|
117
|
+
};
|
|
118
|
+
totals?: Array<LinkCardVaultItemSpec.Total>;
|
|
119
|
+
}
|
|
120
|
+
namespace LinkCardVaultItemSpec {
|
|
121
|
+
interface LineItem {
|
|
122
|
+
name: string;
|
|
123
|
+
description?: string;
|
|
124
|
+
image_url?: string;
|
|
125
|
+
product_url?: string;
|
|
126
|
+
quantity?: number;
|
|
127
|
+
sku?: string;
|
|
128
|
+
totals?: Array<LineItem.Total>;
|
|
129
|
+
/**
|
|
130
|
+
* Unit amount in minor currency units.
|
|
131
|
+
*/
|
|
132
|
+
unit_amount?: number;
|
|
133
|
+
url?: string;
|
|
134
|
+
}
|
|
135
|
+
namespace LineItem {
|
|
136
|
+
interface Total {
|
|
137
|
+
/**
|
|
138
|
+
* Total amount in minor currency units.
|
|
139
|
+
*/
|
|
140
|
+
amount: number;
|
|
141
|
+
display_text: string;
|
|
142
|
+
type: string;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
interface Total {
|
|
146
|
+
/**
|
|
147
|
+
* Total amount in minor currency units.
|
|
148
|
+
*/
|
|
149
|
+
amount: number;
|
|
150
|
+
display_text: string;
|
|
151
|
+
type: string;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* AgentCard reusable card. Each checkout creates an approval-gated authorization
|
|
156
|
+
* for spec.merchant / spec.amount. The card stays ready after each authorization.
|
|
157
|
+
*/
|
|
158
|
+
interface AgentCardCardVaultItemSpec {
|
|
159
|
+
/**
|
|
160
|
+
* Integer amount in minor currency units.
|
|
161
|
+
*/
|
|
162
|
+
amount: number;
|
|
163
|
+
currency: string;
|
|
164
|
+
/**
|
|
165
|
+
* Merchant name shown on the cardholder's approval screen.
|
|
166
|
+
*/
|
|
167
|
+
merchant: string;
|
|
168
|
+
provider: 'agentcard';
|
|
169
|
+
/**
|
|
170
|
+
* Wallet item key used to authorize checkouts.
|
|
171
|
+
*/
|
|
172
|
+
wallet: string;
|
|
173
|
+
/**
|
|
174
|
+
* AgentCard vaulted card to pay with. Omitted, the cardholder picks on the
|
|
175
|
+
* approval screen.
|
|
176
|
+
*/
|
|
177
|
+
card_id?: string;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
export type CardVaultItemState = CardVaultItemState.LinkCardState | CardVaultItemState.AgentCardCardState;
|
|
181
|
+
export declare namespace CardVaultItemState {
|
|
182
|
+
interface LinkCardState {
|
|
183
|
+
provider: 'link';
|
|
184
|
+
status: 'requested' | 'pending_authorization' | 'ready' | 'consumed' | 'expired' | 'declined';
|
|
185
|
+
aliases?: ItemsAPI.VaultCardAliases;
|
|
186
|
+
domains?: Array<string>;
|
|
187
|
+
masks?: LinkCardState.Masks;
|
|
188
|
+
status_reason?: string;
|
|
189
|
+
}
|
|
190
|
+
namespace LinkCardState {
|
|
191
|
+
interface Masks {
|
|
192
|
+
brand?: string;
|
|
193
|
+
last4?: string;
|
|
194
|
+
[k: string]: string | undefined;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
interface AgentCardCardState {
|
|
198
|
+
provider: 'agentcard';
|
|
199
|
+
status: 'requested' | 'ready' | 'pending_approval' | 'degraded';
|
|
200
|
+
aliases?: ItemsAPI.VaultCardAliases;
|
|
201
|
+
/**
|
|
202
|
+
* The in-flight or most recent checkout authorization. Present while a checkout is
|
|
203
|
+
* pending approval and after it settles.
|
|
204
|
+
*/
|
|
205
|
+
authorization?: ItemsAPI.AgentcardCheckoutAuthorization;
|
|
206
|
+
masks?: AgentCardCardState.Masks;
|
|
207
|
+
status_reason?: string;
|
|
208
|
+
}
|
|
209
|
+
namespace AgentCardCardState {
|
|
210
|
+
interface Masks {
|
|
211
|
+
brand?: string;
|
|
212
|
+
last4?: string;
|
|
213
|
+
[k: string]: string | undefined;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
export interface VaultCardAliases {
|
|
218
|
+
cvc: string;
|
|
219
|
+
exp_month: string;
|
|
220
|
+
exp_year: string;
|
|
221
|
+
number: string;
|
|
222
|
+
}
|
|
223
|
+
export type VaultItem = VaultItem.WalletVaultItem | VaultItem.CardVaultItem;
|
|
224
|
+
export declare namespace VaultItem {
|
|
225
|
+
interface WalletVaultItem {
|
|
226
|
+
id: string;
|
|
227
|
+
available_expansions: Array<WalletVaultItem.AvailableExpansion>;
|
|
228
|
+
available_operations: Array<WalletVaultItem.AvailableOperation>;
|
|
229
|
+
created_at: string;
|
|
230
|
+
/**
|
|
231
|
+
* Immutable item key assigned when the item is created.
|
|
232
|
+
*/
|
|
233
|
+
key: string;
|
|
234
|
+
/**
|
|
235
|
+
* AgentCard wallet. Mode (sandbox vs live) is fixed by the deployment's AgentCard
|
|
236
|
+
* credential; there is no per-item test flag. user_id may only reference a user
|
|
237
|
+
* already enrolled by a wallet in this organization.
|
|
238
|
+
*/
|
|
239
|
+
spec: ItemsAPI.WalletVaultItemSpec;
|
|
240
|
+
state: ItemsAPI.WalletVaultItemState;
|
|
241
|
+
type: 'wallet';
|
|
242
|
+
updated_at: string;
|
|
243
|
+
action?: ItemsAPI.VaultItemAction;
|
|
244
|
+
/**
|
|
245
|
+
* Live, non-persisted data requested through the item GET expand parameter.
|
|
246
|
+
*/
|
|
247
|
+
expanded?: WalletVaultItem.Expanded;
|
|
248
|
+
expires_at?: string;
|
|
249
|
+
}
|
|
250
|
+
namespace WalletVaultItem {
|
|
251
|
+
/**
|
|
252
|
+
* Live data that can currently be requested by passing its type to the item GET
|
|
253
|
+
* expand parameter.
|
|
254
|
+
*/
|
|
255
|
+
interface AvailableExpansion {
|
|
256
|
+
description: string;
|
|
257
|
+
type: 'payment_methods';
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* An operation that is currently valid for this item. Read the description before
|
|
261
|
+
* invoking it through the item operations endpoint.
|
|
262
|
+
*/
|
|
263
|
+
interface AvailableOperation {
|
|
264
|
+
description: string;
|
|
265
|
+
type: 'authorize';
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Live, non-persisted data requested through the item GET expand parameter.
|
|
269
|
+
*/
|
|
270
|
+
interface Expanded {
|
|
271
|
+
payment_methods?: Array<ItemsAPI.VaultPaymentMethod>;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
interface CardVaultItem {
|
|
275
|
+
id: string;
|
|
276
|
+
available_expansions: Array<CardVaultItem.AvailableExpansion>;
|
|
277
|
+
available_operations: Array<CardVaultItem.AvailableOperation>;
|
|
278
|
+
created_at: string;
|
|
279
|
+
/**
|
|
280
|
+
* Immutable item key assigned when the item is created.
|
|
281
|
+
*/
|
|
282
|
+
key: string;
|
|
283
|
+
/**
|
|
284
|
+
* AgentCard reusable card. Each checkout creates an approval-gated authorization
|
|
285
|
+
* for spec.merchant / spec.amount. The card stays ready after each authorization.
|
|
286
|
+
*/
|
|
287
|
+
spec: ItemsAPI.CardVaultItemSpec;
|
|
288
|
+
state: ItemsAPI.CardVaultItemState;
|
|
289
|
+
type: 'card';
|
|
290
|
+
updated_at: string;
|
|
291
|
+
action?: ItemsAPI.VaultItemAction;
|
|
292
|
+
expires_at?: string;
|
|
293
|
+
}
|
|
294
|
+
namespace CardVaultItem {
|
|
295
|
+
/**
|
|
296
|
+
* Live data that can currently be requested by passing its type to the item GET
|
|
297
|
+
* expand parameter.
|
|
298
|
+
*/
|
|
299
|
+
interface AvailableExpansion {
|
|
300
|
+
description: string;
|
|
301
|
+
type: 'payment_methods';
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* An operation that is currently valid for this item. Read the description before
|
|
305
|
+
* invoking it through the item operations endpoint.
|
|
306
|
+
*/
|
|
307
|
+
interface AvailableOperation {
|
|
308
|
+
description: string;
|
|
309
|
+
type: 'authorize';
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
export type VaultItemAction = VaultItemAction.LinkOAuthAction | VaultItemAction.SpendApprovalAction | VaultItemAction.PushApprovalAction | VaultItemAction.CollectAction | VaultItemAction.MfaAction | VaultItemAction.EmbeddedCeremonyAction | VaultItemAction.CardEnrollmentAction;
|
|
314
|
+
export declare namespace VaultItemAction {
|
|
315
|
+
interface LinkOAuthAction {
|
|
316
|
+
name: 'link_oauth';
|
|
317
|
+
url: string;
|
|
318
|
+
}
|
|
319
|
+
interface SpendApprovalAction {
|
|
320
|
+
name: 'spend_approval';
|
|
321
|
+
url: string;
|
|
322
|
+
}
|
|
323
|
+
interface PushApprovalAction {
|
|
324
|
+
name: 'push_approval';
|
|
325
|
+
}
|
|
326
|
+
interface CollectAction {
|
|
327
|
+
name: 'collect';
|
|
328
|
+
}
|
|
329
|
+
interface MfaAction {
|
|
330
|
+
name: 'mfa';
|
|
331
|
+
}
|
|
332
|
+
interface EmbeddedCeremonyAction {
|
|
333
|
+
name: 'embedded_ceremony';
|
|
334
|
+
}
|
|
335
|
+
interface CardEnrollmentAction {
|
|
336
|
+
name: 'card_enrollment';
|
|
337
|
+
url: string;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
export interface VaultItemEvent {
|
|
341
|
+
id: string;
|
|
342
|
+
created_at: string;
|
|
343
|
+
name: string;
|
|
344
|
+
/**
|
|
345
|
+
* Browser session associated with the event, when applicable.
|
|
346
|
+
*/
|
|
347
|
+
browser_id?: string;
|
|
348
|
+
data?: {
|
|
349
|
+
[key: string]: unknown;
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
export interface VaultPaymentMethod {
|
|
353
|
+
id: string;
|
|
354
|
+
/**
|
|
355
|
+
* Provider-reported advisory capabilities. A missing capability is unknown, not
|
|
356
|
+
* ineligible; only eligible=false is an explicit negative signal.
|
|
357
|
+
*/
|
|
358
|
+
capabilities: VaultPaymentMethod.Capabilities;
|
|
359
|
+
display: VaultPaymentMethod.Display;
|
|
360
|
+
is_default: boolean;
|
|
361
|
+
/**
|
|
362
|
+
* Provider that issued this payment-method ID.
|
|
363
|
+
*/
|
|
364
|
+
provider: string;
|
|
365
|
+
/**
|
|
366
|
+
* Provider-neutral payment-method type normalized to lowercase.
|
|
367
|
+
*/
|
|
368
|
+
type: string;
|
|
369
|
+
}
|
|
370
|
+
export declare namespace VaultPaymentMethod {
|
|
371
|
+
/**
|
|
372
|
+
* Provider-reported advisory capabilities. A missing capability is unknown, not
|
|
373
|
+
* ineligible; only eligible=false is an explicit negative signal.
|
|
374
|
+
*/
|
|
375
|
+
interface Capabilities {
|
|
376
|
+
single_use_card?: Capabilities.SingleUseCard;
|
|
377
|
+
}
|
|
378
|
+
namespace Capabilities {
|
|
379
|
+
interface SingleUseCard {
|
|
380
|
+
eligible: boolean;
|
|
381
|
+
reasons: Array<string>;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
interface Display {
|
|
385
|
+
brand?: string;
|
|
386
|
+
label?: string;
|
|
387
|
+
last4?: string;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* AgentCard wallet. Mode (sandbox vs live) is fixed by the deployment's AgentCard
|
|
392
|
+
* credential; there is no per-item test flag. user_id may only reference a user
|
|
393
|
+
* already enrolled by a wallet in this organization.
|
|
394
|
+
*/
|
|
395
|
+
export type WalletVaultItemSpec = WalletVaultItemSpec.LinkWalletVaultItemSpec | WalletVaultItemSpec.AgentCardWalletVaultItemSpec;
|
|
396
|
+
export declare namespace WalletVaultItemSpec {
|
|
397
|
+
interface LinkWalletVaultItemSpec {
|
|
398
|
+
authorization: LinkWalletVaultItemSpec.Authorization;
|
|
399
|
+
provider: 'link';
|
|
400
|
+
}
|
|
401
|
+
namespace LinkWalletVaultItemSpec {
|
|
402
|
+
interface Authorization {
|
|
403
|
+
client: Authorization.Client;
|
|
404
|
+
method: 'oauth';
|
|
405
|
+
}
|
|
406
|
+
namespace Authorization {
|
|
407
|
+
interface Client {
|
|
408
|
+
type: 'kernel_managed';
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* AgentCard wallet. Mode (sandbox vs live) is fixed by the deployment's AgentCard
|
|
414
|
+
* credential; there is no per-item test flag. user_id may only reference a user
|
|
415
|
+
* already enrolled by a wallet in this organization.
|
|
416
|
+
*/
|
|
417
|
+
interface AgentCardWalletVaultItemSpec {
|
|
418
|
+
provider: 'agentcard';
|
|
419
|
+
user_id?: string;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
export type WalletVaultItemState = WalletVaultItemState.LinkWalletState | WalletVaultItemState.AgentCardWalletState;
|
|
423
|
+
export declare namespace WalletVaultItemState {
|
|
424
|
+
interface LinkWalletState {
|
|
425
|
+
provider: 'link';
|
|
426
|
+
status: 'pending_authorization' | 'connected' | 'declined' | 'reconnect_required' | 'degraded';
|
|
427
|
+
status_reason?: string;
|
|
428
|
+
}
|
|
429
|
+
interface AgentCardWalletState {
|
|
430
|
+
provider: 'agentcard';
|
|
431
|
+
status: 'pending_authorization' | 'connected' | 'degraded';
|
|
432
|
+
status_reason?: string;
|
|
433
|
+
/**
|
|
434
|
+
* AgentCard user id linked to this wallet. Present once connected.
|
|
435
|
+
*/
|
|
436
|
+
user_id?: string;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
export type ItemListResponse = Array<VaultItem>;
|
|
440
|
+
export type ItemEventsResponse = Array<VaultItemEvent>;
|
|
441
|
+
export interface ItemRetrieveParams {
|
|
442
|
+
/**
|
|
443
|
+
* Path param
|
|
444
|
+
*/
|
|
445
|
+
id_or_name: string;
|
|
446
|
+
/**
|
|
447
|
+
* Query param: Live fields advertised by `available_expansions` to include in
|
|
448
|
+
* `expanded`.
|
|
449
|
+
*/
|
|
450
|
+
expand?: Array<'payment_methods'>;
|
|
451
|
+
/**
|
|
452
|
+
* Query param: Hold for up to this many seconds while the item is pending
|
|
453
|
+
* authorization or approval.
|
|
454
|
+
*/
|
|
455
|
+
wait?: number;
|
|
456
|
+
}
|
|
457
|
+
export interface ItemUpdateParams {
|
|
458
|
+
/**
|
|
459
|
+
* Path param
|
|
460
|
+
*/
|
|
461
|
+
id_or_name: string;
|
|
462
|
+
/**
|
|
463
|
+
* Body param: AgentCard reusable card. Each checkout creates an approval-gated
|
|
464
|
+
* authorization for spec.merchant / spec.amount. The card stays ready after each
|
|
465
|
+
* authorization.
|
|
466
|
+
*/
|
|
467
|
+
spec: CardVaultItemSpec;
|
|
468
|
+
}
|
|
469
|
+
export interface ItemDeleteParams {
|
|
470
|
+
id_or_name: string;
|
|
471
|
+
}
|
|
472
|
+
export interface ItemEventsParams {
|
|
473
|
+
/**
|
|
474
|
+
* Path param
|
|
475
|
+
*/
|
|
476
|
+
id_or_name: string;
|
|
477
|
+
/**
|
|
478
|
+
* Query param: Return events after this event ID.
|
|
479
|
+
*/
|
|
480
|
+
after?: string;
|
|
481
|
+
/**
|
|
482
|
+
* Query param: Long-poll for new events for up to this many seconds.
|
|
483
|
+
*/
|
|
484
|
+
wait?: number;
|
|
485
|
+
}
|
|
486
|
+
export interface ItemPerformOperationParams {
|
|
487
|
+
/**
|
|
488
|
+
* Path param
|
|
489
|
+
*/
|
|
490
|
+
id_or_name: string;
|
|
491
|
+
/**
|
|
492
|
+
* Body param
|
|
493
|
+
*/
|
|
494
|
+
type: 'authorize';
|
|
495
|
+
}
|
|
496
|
+
export type ItemUpsertParams = ItemUpsertParams.WalletVaultItemRequest | ItemUpsertParams.CardVaultItemRequest;
|
|
497
|
+
export declare namespace ItemUpsertParams {
|
|
498
|
+
interface WalletVaultItemRequest {
|
|
499
|
+
/**
|
|
500
|
+
* Path param
|
|
501
|
+
*/
|
|
502
|
+
id_or_name: string;
|
|
503
|
+
/**
|
|
504
|
+
* Body param: AgentCard wallet. Mode (sandbox vs live) is fixed by the
|
|
505
|
+
* deployment's AgentCard credential; there is no per-item test flag. user_id may
|
|
506
|
+
* only reference a user already enrolled by a wallet in this organization.
|
|
507
|
+
*/
|
|
508
|
+
spec: WalletVaultItemSpec;
|
|
509
|
+
/**
|
|
510
|
+
* Body param
|
|
511
|
+
*/
|
|
512
|
+
type: 'wallet';
|
|
513
|
+
}
|
|
514
|
+
interface CardVaultItemRequest {
|
|
515
|
+
/**
|
|
516
|
+
* Path param
|
|
517
|
+
*/
|
|
518
|
+
id_or_name: string;
|
|
519
|
+
/**
|
|
520
|
+
* Body param: AgentCard reusable card. Each checkout creates an approval-gated
|
|
521
|
+
* authorization for spec.merchant / spec.amount. The card stays ready after each
|
|
522
|
+
* authorization.
|
|
523
|
+
*/
|
|
524
|
+
spec: CardVaultItemSpec;
|
|
525
|
+
/**
|
|
526
|
+
* Body param
|
|
527
|
+
*/
|
|
528
|
+
type: 'card';
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
export declare namespace Items {
|
|
532
|
+
export { type AgentcardCheckoutAuthorization as AgentcardCheckoutAuthorization, type CardVaultItemSpec as CardVaultItemSpec, type CardVaultItemState as CardVaultItemState, type VaultCardAliases as VaultCardAliases, type VaultItem as VaultItem, type VaultItemAction as VaultItemAction, type VaultItemEvent as VaultItemEvent, type VaultPaymentMethod as VaultPaymentMethod, type WalletVaultItemSpec as WalletVaultItemSpec, type WalletVaultItemState as WalletVaultItemState, type ItemListResponse as ItemListResponse, type ItemEventsResponse as ItemEventsResponse, type ItemRetrieveParams as ItemRetrieveParams, type ItemUpdateParams as ItemUpdateParams, type ItemDeleteParams as ItemDeleteParams, type ItemEventsParams as ItemEventsParams, type ItemPerformOperationParams as ItemPerformOperationParams, type ItemUpsertParams as ItemUpsertParams, };
|
|
533
|
+
}
|
|
534
|
+
//# sourceMappingURL=items.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"items.d.mts","sourceRoot":"","sources":["../../src/resources/vaults/items.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;OAMG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAKlG;;OAEG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAA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