@capxul/sdk 4.20.0-beta.36 → 4.20.0-beta.38
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/README.md +8 -0
- package/dist/{access-D5D77YLI.mjs → access-D6IJnZ7g.mjs} +7359 -6190
- package/dist/{index-9tVY0-g7.d.mts → index-DsTgIvlo.d.mts} +777 -294
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +41 -37
- package/dist/node/index.d.mts +1 -1
- package/dist/node/index.mjs +1 -1
- package/dist/{organizations-BKiw2PjB.mjs → organizations-oVQI9Tag.mjs} +123 -132
- package/dist/{permission-approvals-B2LrXyRx.mjs → permission-approvals-BgLgturM.mjs} +4 -4
- package/dist/{production-CLAx7XAB.mjs → production-INChf5BM.mjs} +731 -264
- package/dist/testing/index.d.mts +1 -1
- package/dist/testing/index.mjs +21 -8
- package/package.json +5 -5
|
@@ -20,11 +20,13 @@ declare const EXPECTED_OPERATION_OUTCOMES: ReadonlySet<CapxulErrorCode>;
|
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region ../protocol/src/errors/failure-modes.d.ts
|
|
22
22
|
/**
|
|
23
|
-
* Why an operation failed — the one flat vocabulary. The first
|
|
24
|
-
* auth
|
|
25
|
-
* path. `
|
|
26
|
-
* (
|
|
27
|
-
*
|
|
23
|
+
* Why an operation failed — the one flat vocabulary. The first five are the
|
|
24
|
+
* auth and signer diagnoses that predate this file. The next eleven name the
|
|
25
|
+
* chain path. `refused` and `defect` name a provider refusal and a Capxul
|
|
26
|
+
* fault on any path (ADR-0039 D2). `FailureMode` is derived from this list so
|
|
27
|
+
* a runtime membership check (the SDK's `$exception` projection, the
|
|
28
|
+
* observability schema) and the type can never drift apart. Every word has a
|
|
29
|
+
* failure class in `classes.ts`.
|
|
28
30
|
*/
|
|
29
31
|
declare const FAILURE_MODES: readonly [
|
|
30
32
|
/** OTP cookies live on `localhost:PORT` but OpenFort hits the Convex host. */
|
|
@@ -41,7 +43,12 @@ declare const FAILURE_MODES: readonly [
|
|
|
41
43
|
"rate-limited",
|
|
42
44
|
/** No answer inside the budget. Retryable. */
|
|
43
45
|
"timeout",
|
|
44
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* HTTP 5xx, a connection failure, an answer cut off in transit, or a chain
|
|
48
|
+
* RPC answer of the wrong shape (the next upstream may answer it). Retryable.
|
|
49
|
+
* A complete HTTP provider answer Capxul cannot use is
|
|
50
|
+
* `PROVIDER_RESPONSE_INVALID`, with no mode.
|
|
51
|
+
*/
|
|
45
52
|
"upstream-down",
|
|
46
53
|
/** Simulation or execution reverted; `chain.revert` names it when decodable. */
|
|
47
54
|
"revert",
|
|
@@ -59,6 +66,10 @@ declare const FAILURE_MODES: readonly [
|
|
|
59
66
|
"bad-request",
|
|
60
67
|
/** The node does not serve the method (JSON-RPC -32601). The next upstream may. */
|
|
61
68
|
"method-unsupported",
|
|
69
|
+
/** The provider understood the request and refused it: an account, permission or policy refusal. */
|
|
70
|
+
"refused",
|
|
71
|
+
/** A Capxul bug or misconfiguration: Capxul's own code or settings failed. */
|
|
72
|
+
"defect",
|
|
62
73
|
/** No cause could be determined. */
|
|
63
74
|
"unknown"];
|
|
64
75
|
type FailureMode = (typeof FAILURE_MODES)[number];
|
|
@@ -212,6 +223,98 @@ type NetworkErrorOptions = {
|
|
|
212
223
|
readonly ms_since_browser_event?: number;
|
|
213
224
|
};
|
|
214
225
|
//#endregion
|
|
226
|
+
//#region ../protocol/src/errors/provider-evidence.d.ts
|
|
227
|
+
/**
|
|
228
|
+
* The providers a failure can name: Capxul's integrations and the ports the
|
|
229
|
+
* SDK and the backend call. Closed, so `details.provider` is a known word and
|
|
230
|
+
* a projection with no free text can still send it (ADR-0039 D6).
|
|
231
|
+
*/
|
|
232
|
+
declare const PROVIDERS: readonly ["account-abstraction", "agent-exchange", "auth-cache", "auth-client", "better-auth", "bootstrap", "bridge", "browserBridge", "capxul-backend", "chain", "chain-evidence", "chain-rpc", "clock", "convex", "convex-storage", "credentials", "indexer", "invoice", "openfort", "openfort.shield", "ponder", "posthog", "resend", "sdk", "sdk-react", "signer", "verification"];
|
|
233
|
+
type ProviderName = (typeof PROVIDERS)[number];
|
|
234
|
+
/** What is wrong with the part of a provider's answer that `field` names (ADR-0039 D1). */
|
|
235
|
+
declare const PROVIDER_PROBLEMS: readonly ["missing", "invalid", "conflict"];
|
|
236
|
+
type ProviderProblem = (typeof PROVIDER_PROBLEMS)[number];
|
|
237
|
+
/**
|
|
238
|
+
* The modes of a provider failure with no usable answer: none arrived, or
|
|
239
|
+
* Capxul diagnosed what in the caller's environment kept the provider from
|
|
240
|
+
* answering (the five auth and signer diagnoses). The mode is the evidence.
|
|
241
|
+
* Every other mode names a refusal, which needs the status that refused, so
|
|
242
|
+
* each mode belongs to exactly one provider factory.
|
|
243
|
+
*/
|
|
244
|
+
declare const PROVIDER_UNAVAILABLE_MODES: readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "defect", "unknown"];
|
|
245
|
+
type ProviderUnavailableMode = (typeof PROVIDER_UNAVAILABLE_MODES)[number];
|
|
246
|
+
/** The modes of a provider that understood the request and refused it. */
|
|
247
|
+
type ProviderRefusalMode = Exclude<FailureMode, ProviderUnavailableMode>;
|
|
248
|
+
/**
|
|
249
|
+
* What was caught, never a sentence about it: a string does not compile
|
|
250
|
+
* (ADR-0039 guard T1). A value typed `unknown` passes, because it is the
|
|
251
|
+
* caught value itself.
|
|
252
|
+
*/
|
|
253
|
+
type Caught<C> = C extends string ? never : C;
|
|
254
|
+
/**
|
|
255
|
+
* The evidence a provider failure names (ADR-0039 D1). Each fact becomes the
|
|
256
|
+
* `details` key of the same name. `operation` is the provider's own operation,
|
|
257
|
+
* such as `virtualAccountHistory` or `eth_call`.
|
|
258
|
+
*/
|
|
259
|
+
interface ProviderEvidence {
|
|
260
|
+
readonly provider: ProviderName;
|
|
261
|
+
readonly operation: string;
|
|
262
|
+
readonly httpStatus?: number | undefined;
|
|
263
|
+
/** The provider's own error code, such as Bridge's `code`. */
|
|
264
|
+
readonly providerCode?: string | undefined;
|
|
265
|
+
/** The request or answer field the failure names. */
|
|
266
|
+
readonly field?: string | undefined;
|
|
267
|
+
/** The provider's id for this request, for its support. */
|
|
268
|
+
readonly requestId?: string | undefined;
|
|
269
|
+
/** More evidence for an operator. The wire masks every credential in it. */
|
|
270
|
+
readonly details?: Readonly<Record<string, unknown>> | undefined;
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* A refusal names what refused: the HTTP status, the chain cause that carries
|
|
274
|
+
* it, or, when the answer kept no status, the mode Capxul read from the
|
|
275
|
+
* provider's error class or code (Openfort's `AuthorizationError` has none).
|
|
276
|
+
*/
|
|
277
|
+
type RefusalEvidence = {
|
|
278
|
+
readonly httpStatus: number;
|
|
279
|
+
readonly chain?: ChainCause | undefined;
|
|
280
|
+
} | {
|
|
281
|
+
readonly chain: ChainCause;
|
|
282
|
+
readonly httpStatus?: undefined;
|
|
283
|
+
} | {
|
|
284
|
+
readonly mode: ProviderRefusalMode;
|
|
285
|
+
readonly httpStatus?: undefined;
|
|
286
|
+
readonly chain?: undefined;
|
|
287
|
+
};
|
|
288
|
+
/** `Errors.providerUnavailable`: no usable answer arrived. */
|
|
289
|
+
type ProviderUnavailableInput<C> = ProviderEvidence & {
|
|
290
|
+
readonly mode: ProviderUnavailableMode;
|
|
291
|
+
readonly chain?: ChainCause | undefined;
|
|
292
|
+
readonly cause?: Caught<C>;
|
|
293
|
+
};
|
|
294
|
+
/** `Errors.providerRefused`: the provider understood the request and refused it. */
|
|
295
|
+
type ProviderRefusalInput<C> = Omit<ProviderEvidence, "httpStatus"> & RefusalEvidence & {
|
|
296
|
+
readonly mode?: ProviderRefusalMode | undefined;
|
|
297
|
+
readonly cause?: Caught<C>;
|
|
298
|
+
};
|
|
299
|
+
/** `Errors.providerResponseInvalid`: the provider answered, and Capxul cannot use the answer. */
|
|
300
|
+
type ProviderResponseInvalidInput<C> = ProviderEvidence & {
|
|
301
|
+
readonly field: string;
|
|
302
|
+
readonly problem: ProviderProblem;
|
|
303
|
+
readonly reason?: string | undefined;
|
|
304
|
+
readonly cause?: Caught<C>;
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* `Errors.providerRefusedInput`: the provider understood the request and
|
|
308
|
+
* refused the person's own input (ADR-0039 D2). `field` names that input in
|
|
309
|
+
* Capxul's words, and `reason` is the provider's own reason for it.
|
|
310
|
+
*/
|
|
311
|
+
type ProviderInputRefusalInput<C> = Omit<ProviderEvidence, "httpStatus" | "field"> & {
|
|
312
|
+
readonly httpStatus: number;
|
|
313
|
+
readonly field: string;
|
|
314
|
+
readonly reason: string;
|
|
315
|
+
readonly cause?: Caught<C>;
|
|
316
|
+
};
|
|
317
|
+
//#endregion
|
|
215
318
|
//#region ../protocol/src/errors/factories.d.ts
|
|
216
319
|
declare const Errors: {
|
|
217
320
|
readonly notAuthenticated: (message?: string, opts?: {
|
|
@@ -239,33 +342,48 @@ declare const Errors: {
|
|
|
239
342
|
readonly expectedOwner: string;
|
|
240
343
|
readonly signerAddress: string;
|
|
241
344
|
}) => CapxulError<"ACCOUNT_CLAIMED_BY_OTHER_SIGNER">;
|
|
242
|
-
readonly providerError: (provider: string, operation: string, cause: unknown, opts?: {
|
|
243
|
-
readonly failure_mode?: FailureMode;
|
|
244
|
-
readonly httpStatus?: number;
|
|
245
|
-
/** Extra evidence for the operator (response body, edge error code). */
|
|
246
|
-
readonly details?: Readonly<Record<string, unknown>>;
|
|
247
|
-
/** The structured chain-path cause; sets `mode` and `details.failure_mode` too. */
|
|
248
|
-
readonly chain?: ChainCause;
|
|
249
|
-
}) => CapxulError<"PROVIDER_ERROR">;
|
|
250
345
|
/**
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
346
|
+
* No usable answer came from the provider. `mode` says why: `timeout`,
|
|
347
|
+
* `upstream-down` or `rate-limited` when the provider is at fault (retry
|
|
348
|
+
* later); `signer-not-ready` or `no-secure-context` when the local signer
|
|
349
|
+
* cannot answer; `defect` when Capxul's own side failed before an answer
|
|
350
|
+
* could be used; `unknown` when nothing says. A chain cause, when given,
|
|
351
|
+
* names the same mode with its upstream evidence.
|
|
352
|
+
*/
|
|
353
|
+
readonly providerUnavailable: <C = never>(input: ProviderUnavailableInput<C>) => CapxulError<"PROVIDER_ERROR">;
|
|
354
|
+
/**
|
|
355
|
+
* The provider understood the request and refused it. The HTTP status is
|
|
356
|
+
* required, or the chain cause that carries the refusal. `mode` says how,
|
|
357
|
+
* and is `refused` unless the answer says more (`unauthorized`,
|
|
358
|
+
* `forbidden`, `bad-request`, `revert`, ...).
|
|
359
|
+
*/
|
|
360
|
+
readonly providerRefused: <C = never>(input: ProviderRefusalInput<C>) => CapxulError<"PROVIDER_ERROR">;
|
|
361
|
+
/**
|
|
362
|
+
* The provider answered, but Capxul cannot use its answer: `field` names
|
|
363
|
+
* the part, and `problem` says what is wrong with it (`missing`, `invalid`
|
|
364
|
+
* or `conflict`). `reason` adds the specific words. Distinct from
|
|
365
|
+
* `PROVIDER_ERROR`, where no usable answer arrived or the provider refused.
|
|
366
|
+
*/
|
|
367
|
+
readonly providerResponseInvalid: <C = never>(input: ProviderResponseInvalidInput<C>) => CapxulError<"PROVIDER_RESPONSE_INVALID">;
|
|
368
|
+
/**
|
|
369
|
+
* The provider understood the request and refused the person's own input,
|
|
370
|
+
* such as an amount below its minimum: `INVALID_INPUT`, so the caller acts
|
|
371
|
+
* (ADR-0039 D2). `field` names the input as Capxul's caller knows it, and
|
|
372
|
+
* `reason` is the provider's reason, which the person reads. The status that
|
|
373
|
+
* refused is required. The field never sits before the colon, as in
|
|
374
|
+
* `invalidInput` (CAP-441).
|
|
254
375
|
*/
|
|
255
|
-
readonly
|
|
376
|
+
readonly providerRefusedInput: <C = never>(input: ProviderInputRefusalInput<C>) => CapxulError<"INVALID_INPUT">;
|
|
256
377
|
readonly capabilityUnavailable: (provider: string, operation: string) => CapxulError<"CAPABILITY_UNAVAILABLE">;
|
|
257
|
-
readonly invalidInput: (field: string, reason: string) => CapxulError<"INVALID_INPUT">;
|
|
258
|
-
readonly envMissing: (name: string) => CapxulError<"ENV_MISSING">;
|
|
259
|
-
readonly notImplemented: (domain: string, method: string) => CapxulError<"NOT_IMPLEMENTED">;
|
|
260
378
|
/**
|
|
261
|
-
*
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
* downstream observers can distinguish failure modes without parsing the
|
|
265
|
-
* message string. The redacted message names the timeout budget; the
|
|
266
|
-
* native `cause` carries the same information for `reportError` fidelity.
|
|
379
|
+
* The caller's input is wrong: `field` names it. `cause` is what refused it, such as a decode failure.
|
|
380
|
+
* The field never sits before the colon: the prose mask reads `signature:` as a credential label
|
|
381
|
+
* and would cut the next word on every surface that masks the text again (CAP-441).
|
|
267
382
|
*/
|
|
268
|
-
readonly
|
|
383
|
+
readonly invalidInput: <C = never>(field: string, reason: string, cause?: Caught<C>) => CapxulError<"INVALID_INPUT">;
|
|
384
|
+
/** `cause` is what refused the value, when it is set but unusable. */
|
|
385
|
+
readonly envMissing: <C = never>(name: string, cause?: Caught<C>) => CapxulError<"ENV_MISSING">;
|
|
386
|
+
readonly notImplemented: (domain: string, method: string) => CapxulError<"NOT_IMPLEMENTED">;
|
|
269
387
|
readonly verificationRequired: (details: VerificationRequiredDetails) => CapxulError<"VERIFICATION_REQUIRED">;
|
|
270
388
|
readonly insufficientBalance: (asset: string, available: string, required: string) => CapxulError<"INSUFFICIENT_BALANCE">;
|
|
271
389
|
readonly invalidRecipient: (reason: string) => CapxulError<"INVALID_RECIPIENT">;
|
|
@@ -295,33 +413,34 @@ declare const Errors: {
|
|
|
295
413
|
* Roles condition violation) from an inconclusive infra failure. A confirmed
|
|
296
414
|
* revert is the ONLY mode the org spend port may map to a roles denial.
|
|
297
415
|
*/
|
|
298
|
-
readonly transactionFailed: (operation: string, cause?:
|
|
416
|
+
readonly transactionFailed: <C = never>(operation: string, cause?: Caught<C>, extra?: {
|
|
299
417
|
readonly reason?: string;
|
|
418
|
+
readonly userOpHash?: string;
|
|
300
419
|
}) => CapxulError<"TRANSACTION_FAILED">;
|
|
301
420
|
readonly rateLimited: (details?: {
|
|
302
421
|
readonly retryAfterMs?: number;
|
|
303
422
|
readonly resource?: string;
|
|
304
423
|
}) => CapxulError<"RATE_LIMITED">;
|
|
305
|
-
readonly networkError: (operation: string, cause?:
|
|
306
|
-
readonly unknown: (cause?:
|
|
424
|
+
readonly networkError: <C = never>(operation: string, cause?: Caught<C>, opts?: NetworkErrorOptions) => CapxulError<"NETWORK_ERROR">;
|
|
425
|
+
readonly unknown: <C = never>(cause?: Caught<C>) => CapxulError<"UNKNOWN">;
|
|
307
426
|
readonly otpExpired: (details?: {
|
|
308
427
|
readonly email?: string;
|
|
309
428
|
readonly expiredAt?: number;
|
|
310
429
|
}) => CapxulError<"OTP_EXPIRED">;
|
|
311
|
-
readonly signerRejected: (details: {
|
|
430
|
+
readonly signerRejected: <C = never>(details: {
|
|
312
431
|
readonly source: SignerSource;
|
|
313
432
|
readonly reason?: string;
|
|
314
|
-
readonly cause?:
|
|
433
|
+
readonly cause?: Caught<C>;
|
|
315
434
|
}) => CapxulError<"SIGNER_REJECTED">;
|
|
316
435
|
readonly superseded: (details: {
|
|
317
436
|
readonly operation: string;
|
|
318
437
|
readonly reason: string;
|
|
319
438
|
readonly executionId?: string;
|
|
320
439
|
}) => CapxulError<"SUPERSEDED">;
|
|
321
|
-
readonly cancelled: (details?: {
|
|
440
|
+
readonly cancelled: <C = never>(details?: {
|
|
322
441
|
readonly operation?: string;
|
|
323
442
|
readonly reason?: string;
|
|
324
|
-
}) => CapxulError<"CANCELLED">;
|
|
443
|
+
}, cause?: Caught<C>) => CapxulError<"CANCELLED">;
|
|
325
444
|
/**
|
|
326
445
|
* Method called from a flow state where its precondition fails (TA16). The
|
|
327
446
|
* SDK's method API short-circuits with this error before driving the
|
|
@@ -338,6 +457,37 @@ declare const Errors: {
|
|
|
338
457
|
}) => CapxulError<"WRONG_STATE">;
|
|
339
458
|
};
|
|
340
459
|
//#endregion
|
|
460
|
+
//#region ../protocol/src/errors/classes.d.ts
|
|
461
|
+
/**
|
|
462
|
+
* Who acts on a failure (ADR-0039 D2). A class is derived from code and mode
|
|
463
|
+
* by the two tables below and is never stored, so it cannot disagree with
|
|
464
|
+
* them. No layer rewrites it (ADR-0023 R10).
|
|
465
|
+
*/
|
|
466
|
+
declare const FAILURE_CLASSES: readonly [
|
|
467
|
+
/** The caller's request or environment is wrong. The caller (the person or the calling app) acts. */
|
|
468
|
+
"input",
|
|
469
|
+
/** The request is valid; the current state refuses it. The person or another party acts after a re-read, or waits. */
|
|
470
|
+
"state",
|
|
471
|
+
/** No usable answer arrived (timeout, 5xx, rate limit). Nobody acts now: retry later. Operations act if it persists. */
|
|
472
|
+
"provider-unavailable",
|
|
473
|
+
/** The provider understood the request and refused it. Capxul operations act: account, permission or policy. */
|
|
474
|
+
"provider-refused",
|
|
475
|
+
/** The provider answered; Capxul could not use it. Capxul engineering acts: the parser or a provider change. */
|
|
476
|
+
"provider-answer",
|
|
477
|
+
/** A Capxul bug or misconfiguration, or no known cause. Capxul engineering acts. */
|
|
478
|
+
"defect"];
|
|
479
|
+
type FailureClass = (typeof FAILURE_CLASSES)[number];
|
|
480
|
+
/**
|
|
481
|
+
* Who acts on this failure. A fixed class wins over the mode; a catch-all
|
|
482
|
+
* code takes the class of its mode, and a catch-all with no mode is a defect,
|
|
483
|
+
* because nothing classified it. Total on any value: a code or mode outside
|
|
484
|
+
* the vocabulary (a hand-built object, a newer peer) is a defect too.
|
|
485
|
+
*/
|
|
486
|
+
declare function failureClass(failure: {
|
|
487
|
+
readonly code: CapxulErrorCode;
|
|
488
|
+
readonly mode?: FailureMode | undefined;
|
|
489
|
+
}): FailureClass;
|
|
490
|
+
//#endregion
|
|
341
491
|
//#region ../protocol/src/errors/schema.d.ts
|
|
342
492
|
declare const SerializedCapxulErrorSchema: Schema.Struct<{
|
|
343
493
|
readonly code: Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "PROVIDER_RESPONSE_INVALID", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>;
|
|
@@ -345,9 +495,9 @@ declare const SerializedCapxulErrorSchema: Schema.Struct<{
|
|
|
345
495
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
346
496
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
347
497
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
348
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
498
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
349
499
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
350
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
500
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
351
501
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
352
502
|
readonly method: Schema.String;
|
|
353
503
|
readonly retryable: Schema.Boolean;
|
|
@@ -361,7 +511,7 @@ declare const SerializedCapxulErrorSchema: Schema.Struct<{
|
|
|
361
511
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
362
512
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
363
513
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
364
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
514
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
365
515
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
366
516
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
367
517
|
readonly durationMs: Schema.Finite;
|
|
@@ -586,7 +736,15 @@ type OperationError<O extends Operation> = O["errors"][number];
|
|
|
586
736
|
* through the SDK can return any of them.
|
|
587
737
|
*/
|
|
588
738
|
declare const CALLER_SIDE: readonly ["NETWORK_ERROR", "CANCELLED", "UNKNOWN", "NOT_IMPLEMENTED", "CAPABILITY_UNAVAILABLE"];
|
|
589
|
-
|
|
739
|
+
/**
|
|
740
|
+
* Why a call ran signed out when the auth provider gave no token for the
|
|
741
|
+
* session (CAP-404): `PROVIDER_ERROR` or `PROVIDER_RESPONSE_INVALID`, naming
|
|
742
|
+
* the provider and its operation, or `RATE_LIMITED`. A call through the SDK can
|
|
743
|
+
* return any of them. The backend's own failure with one of these codes still
|
|
744
|
+
* needs its row to declare it.
|
|
745
|
+
*/
|
|
746
|
+
declare const TOKEN_FAILURES: readonly ["PROVIDER_ERROR", "PROVIDER_RESPONSE_INVALID", "RATE_LIMITED"];
|
|
747
|
+
type CallerSideCode = (typeof CALLER_SIDE)[number] | (typeof TOKEN_FAILURES)[number];
|
|
590
748
|
/** Every code a caller of this operation can receive: the row's, plus the caller side's. */
|
|
591
749
|
type CallError<O extends Operation> = OperationError<O> | CallerSideCode;
|
|
592
750
|
type Spec<Input extends WireInput, Output extends WireSchema, Code extends CapxulErrorCode> = {
|
|
@@ -786,6 +944,11 @@ interface SdkFailureDetail {
|
|
|
786
944
|
readonly navigator_online?: boolean;
|
|
787
945
|
readonly last_browser_event?: string;
|
|
788
946
|
readonly ms_since_browser_event?: number;
|
|
947
|
+
/**
|
|
948
|
+
* CAP-387: how long a redacted backend refusal ran, in whole milliseconds,
|
|
949
|
+
* as the SDK measured it. Evidence only: it never sets the code or the mode.
|
|
950
|
+
*/
|
|
951
|
+
readonly elapsed_ms?: number;
|
|
789
952
|
/** ADR-0023 R7: the chain cause, flat, same keys as every other producer. */
|
|
790
953
|
readonly chain_upstream?: string;
|
|
791
954
|
readonly chain_method?: string;
|
|
@@ -923,6 +1086,12 @@ declare class ConvexCallError extends ConvexCallError_base<{
|
|
|
923
1086
|
readonly cause: unknown;
|
|
924
1087
|
readonly details?: CapxulErrorDetails;
|
|
925
1088
|
readonly transport?: ConvexTransportFailure;
|
|
1089
|
+
/**
|
|
1090
|
+
* The call ran signed out because the auth provider failed to give the
|
|
1091
|
+
* session's token, and `publicError` is that failure, not the backend's
|
|
1092
|
+
* refusal (CAP-404).
|
|
1093
|
+
*/
|
|
1094
|
+
readonly tokenFailure?: true;
|
|
926
1095
|
}> {}
|
|
927
1096
|
interface ConvexCallPort {
|
|
928
1097
|
query<TArgs extends Record<string, unknown>, TOutput>(fn: FunctionReference<"query", "public", TArgs, TOutput>, args: TArgs, options?: {
|
|
@@ -1158,6 +1327,12 @@ declare const items: {
|
|
|
1158
1327
|
readonly decimals: Schema.Finite;
|
|
1159
1328
|
readonly asset: Schema.optional<Schema.Never>;
|
|
1160
1329
|
}>>;
|
|
1330
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
1331
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
1332
|
+
readonly value: Schema.String;
|
|
1333
|
+
readonly decimals: Schema.Finite;
|
|
1334
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
1335
|
+
}>>;
|
|
1161
1336
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
1162
1337
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
1163
1338
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -1572,7 +1747,7 @@ declare const claims: {
|
|
|
1572
1747
|
readonly deployedAt: Schema.NullOr<Schema.Finite>;
|
|
1573
1748
|
readonly claimedAt: Schema.NullOr<Schema.Finite>;
|
|
1574
1749
|
readonly createdAt: Schema.Finite;
|
|
1575
|
-
}>, "ACCOUNT_CLAIMED_BY_OTHER_SIGNER" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROFILE_NOT_FOUND" | "PROVIDER_ERROR" | "UNKNOWN" | "WRONG_STATE">;
|
|
1750
|
+
}>, "ACCOUNT_CLAIMED_BY_OTHER_SIGNER" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROFILE_NOT_FOUND" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "UNKNOWN" | "WRONG_STATE">;
|
|
1576
1751
|
};
|
|
1577
1752
|
declare const balances: {
|
|
1578
1753
|
/** Every settlement asset's raw balance in the caller's personal Safe on this chain. */
|
|
@@ -1599,7 +1774,7 @@ declare const grants: {
|
|
|
1599
1774
|
readonly rawAmount: Schema.String;
|
|
1600
1775
|
}>, Schema.Struct<{
|
|
1601
1776
|
readonly txHash: Schema.String;
|
|
1602
|
-
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "SMART_ACCOUNT_MISSING" | "TRANSACTION_FAILED" | "UNKNOWN" | "WRONG_STATE">;
|
|
1777
|
+
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "SMART_ACCOUNT_MISSING" | "TRANSACTION_FAILED" | "UNKNOWN" | "WRONG_STATE">;
|
|
1603
1778
|
};
|
|
1604
1779
|
/**
|
|
1605
1780
|
* A prepared money action waits here for the person to sign it with their own
|
|
@@ -1643,7 +1818,7 @@ declare const approvals: {
|
|
|
1643
1818
|
readonly explorerUrl: Schema.String;
|
|
1644
1819
|
}>;
|
|
1645
1820
|
readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1646
|
-
readonly code: Schema.
|
|
1821
|
+
readonly code: Schema.String;
|
|
1647
1822
|
readonly message: Schema.String;
|
|
1648
1823
|
}>>>;
|
|
1649
1824
|
}>;
|
|
@@ -1718,7 +1893,7 @@ declare const approvals: {
|
|
|
1718
1893
|
readonly explorerUrl: Schema.String;
|
|
1719
1894
|
}>;
|
|
1720
1895
|
readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1721
|
-
readonly code: Schema.
|
|
1896
|
+
readonly code: Schema.String;
|
|
1722
1897
|
readonly message: Schema.String;
|
|
1723
1898
|
}>>>;
|
|
1724
1899
|
}>;
|
|
@@ -1794,7 +1969,7 @@ declare const approvals: {
|
|
|
1794
1969
|
readonly explorerUrl: Schema.String;
|
|
1795
1970
|
}>;
|
|
1796
1971
|
readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1797
|
-
readonly code: Schema.
|
|
1972
|
+
readonly code: Schema.String;
|
|
1798
1973
|
readonly message: Schema.String;
|
|
1799
1974
|
}>>>;
|
|
1800
1975
|
}>;
|
|
@@ -1871,7 +2046,7 @@ declare const approvals: {
|
|
|
1871
2046
|
readonly explorerUrl: Schema.String;
|
|
1872
2047
|
}>;
|
|
1873
2048
|
readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1874
|
-
readonly code: Schema.
|
|
2049
|
+
readonly code: Schema.String;
|
|
1875
2050
|
readonly message: Schema.String;
|
|
1876
2051
|
}>>>;
|
|
1877
2052
|
}>;
|
|
@@ -1950,7 +2125,7 @@ declare const approvals: {
|
|
|
1950
2125
|
readonly explorerUrl: Schema.String;
|
|
1951
2126
|
}>;
|
|
1952
2127
|
readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1953
|
-
readonly code: Schema.
|
|
2128
|
+
readonly code: Schema.String;
|
|
1954
2129
|
readonly message: Schema.String;
|
|
1955
2130
|
}>>>;
|
|
1956
2131
|
}>;
|
|
@@ -2025,7 +2200,7 @@ declare const approvals: {
|
|
|
2025
2200
|
readonly explorerUrl: Schema.String;
|
|
2026
2201
|
}>;
|
|
2027
2202
|
readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2028
|
-
readonly code: Schema.
|
|
2203
|
+
readonly code: Schema.String;
|
|
2029
2204
|
readonly message: Schema.String;
|
|
2030
2205
|
}>>>;
|
|
2031
2206
|
}>;
|
|
@@ -2101,7 +2276,7 @@ declare const approvals: {
|
|
|
2101
2276
|
readonly explorerUrl: Schema.String;
|
|
2102
2277
|
}>;
|
|
2103
2278
|
readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2104
|
-
readonly code: Schema.
|
|
2279
|
+
readonly code: Schema.String;
|
|
2105
2280
|
readonly message: Schema.String;
|
|
2106
2281
|
}>>>;
|
|
2107
2282
|
}>;
|
|
@@ -3976,9 +4151,9 @@ declare const workspaces: {
|
|
|
3976
4151
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
3977
4152
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
3978
4153
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
3979
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
4154
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
3980
4155
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
3981
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4156
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
3982
4157
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
3983
4158
|
readonly method: Schema.String;
|
|
3984
4159
|
readonly retryable: Schema.Boolean;
|
|
@@ -3992,7 +4167,7 @@ declare const workspaces: {
|
|
|
3992
4167
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
3993
4168
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3994
4169
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
3995
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4170
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
3996
4171
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
3997
4172
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
3998
4173
|
readonly durationMs: Schema.Finite;
|
|
@@ -4013,9 +4188,9 @@ declare const workspaces: {
|
|
|
4013
4188
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4014
4189
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
4015
4190
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
4016
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
4191
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
4017
4192
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
4018
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4193
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4019
4194
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4020
4195
|
readonly method: Schema.String;
|
|
4021
4196
|
readonly retryable: Schema.Boolean;
|
|
@@ -4029,7 +4204,7 @@ declare const workspaces: {
|
|
|
4029
4204
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
4030
4205
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4031
4206
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4032
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4207
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4033
4208
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
4034
4209
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
4035
4210
|
readonly durationMs: Schema.Finite;
|
|
@@ -4268,9 +4443,9 @@ declare const setups: {
|
|
|
4268
4443
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4269
4444
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
4270
4445
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
4271
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
4446
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
4272
4447
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
4273
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4448
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4274
4449
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4275
4450
|
readonly method: Schema.String;
|
|
4276
4451
|
readonly retryable: Schema.Boolean;
|
|
@@ -4284,7 +4459,7 @@ declare const setups: {
|
|
|
4284
4459
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
4285
4460
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4286
4461
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4287
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4462
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4288
4463
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
4289
4464
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
4290
4465
|
readonly durationMs: Schema.Finite;
|
|
@@ -4305,9 +4480,9 @@ declare const setups: {
|
|
|
4305
4480
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4306
4481
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
4307
4482
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
4308
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
4483
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
4309
4484
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
4310
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4485
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4311
4486
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4312
4487
|
readonly method: Schema.String;
|
|
4313
4488
|
readonly retryable: Schema.Boolean;
|
|
@@ -4321,7 +4496,7 @@ declare const setups: {
|
|
|
4321
4496
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
4322
4497
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4323
4498
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4324
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4499
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4325
4500
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
4326
4501
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
4327
4502
|
readonly durationMs: Schema.Finite;
|
|
@@ -4355,9 +4530,9 @@ declare const setups: {
|
|
|
4355
4530
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4356
4531
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
4357
4532
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
4358
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
4533
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
4359
4534
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
4360
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4535
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4361
4536
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4362
4537
|
readonly method: Schema.String;
|
|
4363
4538
|
readonly retryable: Schema.Boolean;
|
|
@@ -4371,7 +4546,7 @@ declare const setups: {
|
|
|
4371
4546
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
4372
4547
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4373
4548
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4374
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4549
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4375
4550
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
4376
4551
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
4377
4552
|
readonly durationMs: Schema.Finite;
|
|
@@ -4392,9 +4567,9 @@ declare const setups: {
|
|
|
4392
4567
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4393
4568
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
4394
4569
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
4395
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
4570
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
4396
4571
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
4397
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4572
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4398
4573
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4399
4574
|
readonly method: Schema.String;
|
|
4400
4575
|
readonly retryable: Schema.Boolean;
|
|
@@ -4408,7 +4583,7 @@ declare const setups: {
|
|
|
4408
4583
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
4409
4584
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4410
4585
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4411
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4586
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4412
4587
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
4413
4588
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
4414
4589
|
readonly durationMs: Schema.Finite;
|
|
@@ -4469,9 +4644,9 @@ declare const setups: {
|
|
|
4469
4644
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4470
4645
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
4471
4646
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
4472
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
4647
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
4473
4648
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
4474
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4649
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4475
4650
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4476
4651
|
readonly method: Schema.String;
|
|
4477
4652
|
readonly retryable: Schema.Boolean;
|
|
@@ -4485,7 +4660,7 @@ declare const setups: {
|
|
|
4485
4660
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
4486
4661
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4487
4662
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4488
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4663
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4489
4664
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
4490
4665
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
4491
4666
|
readonly durationMs: Schema.Finite;
|
|
@@ -4506,9 +4681,9 @@ declare const setups: {
|
|
|
4506
4681
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4507
4682
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
4508
4683
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
4509
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
4684
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
4510
4685
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
4511
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4686
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4512
4687
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4513
4688
|
readonly method: Schema.String;
|
|
4514
4689
|
readonly retryable: Schema.Boolean;
|
|
@@ -4522,7 +4697,7 @@ declare const setups: {
|
|
|
4522
4697
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
4523
4698
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4524
4699
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4525
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4700
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4526
4701
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
4527
4702
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
4528
4703
|
readonly durationMs: Schema.Finite;
|
|
@@ -4557,9 +4732,9 @@ declare const setups: {
|
|
|
4557
4732
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4558
4733
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
4559
4734
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
4560
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
4735
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
4561
4736
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
4562
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4737
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4563
4738
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4564
4739
|
readonly method: Schema.String;
|
|
4565
4740
|
readonly retryable: Schema.Boolean;
|
|
@@ -4573,7 +4748,7 @@ declare const setups: {
|
|
|
4573
4748
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
4574
4749
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4575
4750
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4576
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4751
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4577
4752
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
4578
4753
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
4579
4754
|
readonly durationMs: Schema.Finite;
|
|
@@ -4594,9 +4769,9 @@ declare const setups: {
|
|
|
4594
4769
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4595
4770
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
4596
4771
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
4597
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
4772
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
4598
4773
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
4599
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4774
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4600
4775
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4601
4776
|
readonly method: Schema.String;
|
|
4602
4777
|
readonly retryable: Schema.Boolean;
|
|
@@ -4610,7 +4785,7 @@ declare const setups: {
|
|
|
4610
4785
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
4611
4786
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4612
4787
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4613
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4788
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4614
4789
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
4615
4790
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
4616
4791
|
readonly durationMs: Schema.Finite;
|
|
@@ -4654,7 +4829,7 @@ declare const setups: {
|
|
|
4654
4829
|
readonly paymasterPostOpGasLimit: Schema.optional<Schema.Codec<`0x${string}`, string, never, never>>;
|
|
4655
4830
|
readonly paymasterData: Schema.Codec<`0x${string}`, string, never, never>;
|
|
4656
4831
|
}>;
|
|
4657
|
-
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "UNKNOWN" | "WRONG_STATE">;
|
|
4832
|
+
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "UNKNOWN" | "WRONG_STATE">;
|
|
4658
4833
|
/** Accept the signed bootstrap's hash, then send it from the one elected sender. */
|
|
4659
4834
|
submitAuthorization: Operation<"action", "organizations.setups.submitAuthorization", Schema.Struct<{
|
|
4660
4835
|
readonly orgId: Schema.NonEmptyString;
|
|
@@ -4690,9 +4865,9 @@ declare const setups: {
|
|
|
4690
4865
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4691
4866
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
4692
4867
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
4693
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
4868
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
4694
4869
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
4695
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4870
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4696
4871
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4697
4872
|
readonly method: Schema.String;
|
|
4698
4873
|
readonly retryable: Schema.Boolean;
|
|
@@ -4706,7 +4881,7 @@ declare const setups: {
|
|
|
4706
4881
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
4707
4882
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4708
4883
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4709
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4884
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4710
4885
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
4711
4886
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
4712
4887
|
readonly durationMs: Schema.Finite;
|
|
@@ -4727,9 +4902,9 @@ declare const setups: {
|
|
|
4727
4902
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4728
4903
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
4729
4904
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
4730
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
4905
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
4731
4906
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
4732
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4907
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4733
4908
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4734
4909
|
readonly method: Schema.String;
|
|
4735
4910
|
readonly retryable: Schema.Boolean;
|
|
@@ -4743,7 +4918,7 @@ declare const setups: {
|
|
|
4743
4918
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
4744
4919
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4745
4920
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
4746
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
4921
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
4747
4922
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
4748
4923
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
4749
4924
|
readonly durationMs: Schema.Finite;
|
|
@@ -5041,7 +5216,7 @@ declare const verifications$1: {
|
|
|
5041
5216
|
readonly argv: Schema.$Array<Schema.String>;
|
|
5042
5217
|
}>;
|
|
5043
5218
|
readonly status: Schema.Literals<readonly ["in_review", "approved", "rejected", "restricted"]>;
|
|
5044
|
-
}>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
5219
|
+
}>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
5045
5220
|
start: Operation<"action", "parties.verifications.start", Schema.Struct<{
|
|
5046
5221
|
readonly orgId: Schema.optionalKey<Schema.String>;
|
|
5047
5222
|
readonly invitationId: Schema.optionalKey<Schema.String>;
|
|
@@ -5167,7 +5342,7 @@ declare const verifications$1: {
|
|
|
5167
5342
|
readonly argv: Schema.$Array<Schema.String>;
|
|
5168
5343
|
}>;
|
|
5169
5344
|
readonly status: Schema.Literals<readonly ["in_review", "approved", "rejected", "restricted"]>;
|
|
5170
|
-
}>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
5345
|
+
}>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
5171
5346
|
status: Operation<"action", "parties.verifications.status", Schema.Struct<{
|
|
5172
5347
|
orgId: Schema.optionalKey<Schema.String>;
|
|
5173
5348
|
invitationId: Schema.optionalKey<Schema.String>;
|
|
@@ -5292,7 +5467,7 @@ declare const verifications$1: {
|
|
|
5292
5467
|
readonly argv: Schema.$Array<Schema.String>;
|
|
5293
5468
|
}>;
|
|
5294
5469
|
readonly status: Schema.Literals<readonly ["in_review", "approved", "rejected", "restricted"]>;
|
|
5295
|
-
}>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
5470
|
+
}>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
5296
5471
|
answer: Operation<"action", "parties.verifications.answer", Schema.Struct<{
|
|
5297
5472
|
readonly orgId: Schema.optionalKey<Schema.String>;
|
|
5298
5473
|
readonly invitationId: Schema.optionalKey<Schema.String>;
|
|
@@ -5419,7 +5594,7 @@ declare const verifications$1: {
|
|
|
5419
5594
|
readonly argv: Schema.$Array<Schema.String>;
|
|
5420
5595
|
}>;
|
|
5421
5596
|
readonly status: Schema.Literals<readonly ["in_review", "approved", "rejected", "restricted"]>;
|
|
5422
|
-
}>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
5597
|
+
}>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
5423
5598
|
};
|
|
5424
5599
|
declare const contacts: {
|
|
5425
5600
|
/** The actor's address book, most recent activity first. Hidden entries only when asked. */
|
|
@@ -5882,6 +6057,12 @@ declare const quotes: {
|
|
|
5882
6057
|
readonly currency: import("effect/Schema").optional<import("effect/Schema").Never>;
|
|
5883
6058
|
readonly decimals: import("effect/Schema").optional<import("effect/Schema").Never>;
|
|
5884
6059
|
}>;
|
|
6060
|
+
readonly slippage: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
6061
|
+
readonly asset: import("effect/Schema").refine<AssetId, import("effect/Schema").String>;
|
|
6062
|
+
readonly value: import("effect/Schema").String;
|
|
6063
|
+
readonly currency: import("effect/Schema").optional<import("effect/Schema").Never>;
|
|
6064
|
+
readonly decimals: import("effect/Schema").optional<import("effect/Schema").Never>;
|
|
6065
|
+
}>>;
|
|
5885
6066
|
readonly expiresAt: import("effect/Schema").Finite;
|
|
5886
6067
|
readonly recipient: import("effect/Schema").Struct<{
|
|
5887
6068
|
readonly label: import("effect/Schema").String;
|
|
@@ -5892,10 +6073,10 @@ declare const quotes: {
|
|
|
5892
6073
|
}>;
|
|
5893
6074
|
readonly rate: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
5894
6075
|
readonly warnings: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
5895
|
-
readonly code: import("effect/Schema").
|
|
6076
|
+
readonly code: import("effect/Schema").String;
|
|
5896
6077
|
readonly message: import("effect/Schema").String;
|
|
5897
6078
|
}>>;
|
|
5898
|
-
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "VERIFICATION_REQUIRED" | "WRONG_STATE">;
|
|
6079
|
+
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "VERIFICATION_REQUIRED" | "WRONG_STATE">;
|
|
5899
6080
|
};
|
|
5900
6081
|
//#endregion
|
|
5901
6082
|
//#region ../protocol/src/payments/operations.d.ts
|
|
@@ -5974,6 +6155,12 @@ declare const records: {
|
|
|
5974
6155
|
readonly decimals: Schema.Finite;
|
|
5975
6156
|
readonly asset: Schema.optional<Schema.Never>;
|
|
5976
6157
|
}>>;
|
|
6158
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
6159
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
6160
|
+
readonly value: Schema.String;
|
|
6161
|
+
readonly decimals: Schema.Finite;
|
|
6162
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
6163
|
+
}>>;
|
|
5977
6164
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
5978
6165
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
5979
6166
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -6065,6 +6252,12 @@ declare const records: {
|
|
|
6065
6252
|
readonly decimals: Schema.Finite;
|
|
6066
6253
|
readonly asset: Schema.optional<Schema.Never>;
|
|
6067
6254
|
}>>;
|
|
6255
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
6256
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
6257
|
+
readonly value: Schema.String;
|
|
6258
|
+
readonly decimals: Schema.Finite;
|
|
6259
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
6260
|
+
}>>;
|
|
6068
6261
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
6069
6262
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
6070
6263
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -6155,6 +6348,12 @@ declare const records: {
|
|
|
6155
6348
|
readonly decimals: Schema.Finite;
|
|
6156
6349
|
readonly asset: Schema.optional<Schema.Never>;
|
|
6157
6350
|
}>>;
|
|
6351
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
6352
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
6353
|
+
readonly value: Schema.String;
|
|
6354
|
+
readonly decimals: Schema.Finite;
|
|
6355
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
6356
|
+
}>>;
|
|
6158
6357
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
6159
6358
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
6160
6359
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -6250,6 +6449,12 @@ declare const records: {
|
|
|
6250
6449
|
readonly decimals: Schema.Finite;
|
|
6251
6450
|
readonly asset: Schema.optional<Schema.Never>;
|
|
6252
6451
|
}>>;
|
|
6452
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
6453
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
6454
|
+
readonly value: Schema.String;
|
|
6455
|
+
readonly decimals: Schema.Finite;
|
|
6456
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
6457
|
+
}>>;
|
|
6253
6458
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
6254
6459
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
6255
6460
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -6823,6 +7028,12 @@ declare const commands$1: {
|
|
|
6823
7028
|
readonly decimals: Schema.Finite;
|
|
6824
7029
|
readonly asset: Schema.optional<Schema.Never>;
|
|
6825
7030
|
}>>;
|
|
7031
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
7032
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
7033
|
+
readonly value: Schema.String;
|
|
7034
|
+
readonly decimals: Schema.Finite;
|
|
7035
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
7036
|
+
}>>;
|
|
6826
7037
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
6827
7038
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
6828
7039
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -6839,7 +7050,7 @@ declare const commands$1: {
|
|
|
6839
7050
|
readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
|
|
6840
7051
|
}>;
|
|
6841
7052
|
}>>;
|
|
6842
|
-
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
7053
|
+
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
6843
7054
|
/** A batch of Payments from an Organization Budget the caller may spend from. */
|
|
6844
7055
|
prepareOrganization: Operation<"action", "payments.commands.prepareOrganization", Schema.Struct<{
|
|
6845
7056
|
readonly orgId: Schema.refine<string, Schema.String>;
|
|
@@ -7052,14 +7263,14 @@ declare const commands$1: {
|
|
|
7052
7263
|
readonly items: Schema.$Array<Schema.refine<{
|
|
7053
7264
|
readonly operation: "send";
|
|
7054
7265
|
readonly recipient: {
|
|
7055
|
-
readonly kind: "party_account";
|
|
7056
|
-
readonly partyAccountId: string;
|
|
7057
|
-
} | {
|
|
7058
7266
|
readonly kind: "account";
|
|
7059
7267
|
readonly accountId: string;
|
|
7060
7268
|
} | {
|
|
7061
7269
|
readonly kind: "organization";
|
|
7062
7270
|
readonly orgId: string;
|
|
7271
|
+
} | {
|
|
7272
|
+
readonly kind: "party_account";
|
|
7273
|
+
readonly partyAccountId: string;
|
|
7063
7274
|
} | {
|
|
7064
7275
|
readonly kind: "destination";
|
|
7065
7276
|
readonly destinationId: string;
|
|
@@ -7073,10 +7284,6 @@ declare const commands$1: {
|
|
|
7073
7284
|
readonly quoteId?: string | undefined;
|
|
7074
7285
|
readonly purposeKind: PaymentPurposeKind;
|
|
7075
7286
|
readonly document?: {
|
|
7076
|
-
readonly kind: "memo";
|
|
7077
|
-
readonly reference: string;
|
|
7078
|
-
readonly note: string;
|
|
7079
|
-
} | {
|
|
7080
7287
|
readonly kind: "invoice";
|
|
7081
7288
|
readonly invoiceNumber: string;
|
|
7082
7289
|
readonly payerRef: string;
|
|
@@ -7089,6 +7296,10 @@ declare const commands$1: {
|
|
|
7089
7296
|
readonly quantity: number;
|
|
7090
7297
|
readonly unitMinor: string;
|
|
7091
7298
|
}[];
|
|
7299
|
+
} | {
|
|
7300
|
+
readonly kind: "memo";
|
|
7301
|
+
readonly reference: string;
|
|
7302
|
+
readonly note: string;
|
|
7092
7303
|
} | {
|
|
7093
7304
|
readonly kind: "envelope";
|
|
7094
7305
|
readonly bytesBase64: string;
|
|
@@ -7125,14 +7336,14 @@ declare const commands$1: {
|
|
|
7125
7336
|
} | {
|
|
7126
7337
|
readonly operation: "create_commitment";
|
|
7127
7338
|
readonly recipient: {
|
|
7128
|
-
readonly kind: "party_account";
|
|
7129
|
-
readonly partyAccountId: string;
|
|
7130
|
-
} | {
|
|
7131
7339
|
readonly kind: "account";
|
|
7132
7340
|
readonly accountId: string;
|
|
7133
7341
|
} | {
|
|
7134
7342
|
readonly kind: "organization";
|
|
7135
7343
|
readonly orgId: string;
|
|
7344
|
+
} | {
|
|
7345
|
+
readonly kind: "party_account";
|
|
7346
|
+
readonly partyAccountId: string;
|
|
7136
7347
|
} | {
|
|
7137
7348
|
readonly kind: "destination";
|
|
7138
7349
|
readonly destinationId: string;
|
|
@@ -7155,10 +7366,6 @@ declare const commands$1: {
|
|
|
7155
7366
|
};
|
|
7156
7367
|
readonly purposeKind: PaymentPurposeKind;
|
|
7157
7368
|
readonly document?: {
|
|
7158
|
-
readonly kind: "memo";
|
|
7159
|
-
readonly reference: string;
|
|
7160
|
-
readonly note: string;
|
|
7161
|
-
} | {
|
|
7162
7369
|
readonly kind: "invoice";
|
|
7163
7370
|
readonly invoiceNumber: string;
|
|
7164
7371
|
readonly payerRef: string;
|
|
@@ -7171,6 +7378,10 @@ declare const commands$1: {
|
|
|
7171
7378
|
readonly quantity: number;
|
|
7172
7379
|
readonly unitMinor: string;
|
|
7173
7380
|
}[];
|
|
7381
|
+
} | {
|
|
7382
|
+
readonly kind: "memo";
|
|
7383
|
+
readonly reference: string;
|
|
7384
|
+
readonly note: string;
|
|
7174
7385
|
} | {
|
|
7175
7386
|
readonly kind: "envelope";
|
|
7176
7387
|
readonly bytesBase64: string;
|
|
@@ -7832,14 +8043,14 @@ declare const commands$1: {
|
|
|
7832
8043
|
readonly items: readonly ({
|
|
7833
8044
|
readonly operation: "send";
|
|
7834
8045
|
readonly recipient: {
|
|
7835
|
-
readonly kind: "party_account";
|
|
7836
|
-
readonly partyAccountId: string;
|
|
7837
|
-
} | {
|
|
7838
8046
|
readonly kind: "account";
|
|
7839
8047
|
readonly accountId: string;
|
|
7840
8048
|
} | {
|
|
7841
8049
|
readonly kind: "organization";
|
|
7842
8050
|
readonly orgId: string;
|
|
8051
|
+
} | {
|
|
8052
|
+
readonly kind: "party_account";
|
|
8053
|
+
readonly partyAccountId: string;
|
|
7843
8054
|
} | {
|
|
7844
8055
|
readonly kind: "destination";
|
|
7845
8056
|
readonly destinationId: string;
|
|
@@ -7853,10 +8064,6 @@ declare const commands$1: {
|
|
|
7853
8064
|
readonly quoteId?: string | undefined;
|
|
7854
8065
|
readonly purposeKind: PaymentPurposeKind;
|
|
7855
8066
|
readonly document?: {
|
|
7856
|
-
readonly kind: "memo";
|
|
7857
|
-
readonly reference: string;
|
|
7858
|
-
readonly note: string;
|
|
7859
|
-
} | {
|
|
7860
8067
|
readonly kind: "invoice";
|
|
7861
8068
|
readonly invoiceNumber: string;
|
|
7862
8069
|
readonly payerRef: string;
|
|
@@ -7869,6 +8076,10 @@ declare const commands$1: {
|
|
|
7869
8076
|
readonly quantity: number;
|
|
7870
8077
|
readonly unitMinor: string;
|
|
7871
8078
|
}[];
|
|
8079
|
+
} | {
|
|
8080
|
+
readonly kind: "memo";
|
|
8081
|
+
readonly reference: string;
|
|
8082
|
+
readonly note: string;
|
|
7872
8083
|
} | {
|
|
7873
8084
|
readonly kind: "envelope";
|
|
7874
8085
|
readonly bytesBase64: string;
|
|
@@ -7905,14 +8116,14 @@ declare const commands$1: {
|
|
|
7905
8116
|
} | {
|
|
7906
8117
|
readonly operation: "create_commitment";
|
|
7907
8118
|
readonly recipient: {
|
|
7908
|
-
readonly kind: "party_account";
|
|
7909
|
-
readonly partyAccountId: string;
|
|
7910
|
-
} | {
|
|
7911
8119
|
readonly kind: "account";
|
|
7912
8120
|
readonly accountId: string;
|
|
7913
8121
|
} | {
|
|
7914
8122
|
readonly kind: "organization";
|
|
7915
8123
|
readonly orgId: string;
|
|
8124
|
+
} | {
|
|
8125
|
+
readonly kind: "party_account";
|
|
8126
|
+
readonly partyAccountId: string;
|
|
7916
8127
|
} | {
|
|
7917
8128
|
readonly kind: "destination";
|
|
7918
8129
|
readonly destinationId: string;
|
|
@@ -7935,10 +8146,6 @@ declare const commands$1: {
|
|
|
7935
8146
|
};
|
|
7936
8147
|
readonly purposeKind: PaymentPurposeKind;
|
|
7937
8148
|
readonly document?: {
|
|
7938
|
-
readonly kind: "memo";
|
|
7939
|
-
readonly reference: string;
|
|
7940
|
-
readonly note: string;
|
|
7941
|
-
} | {
|
|
7942
8149
|
readonly kind: "invoice";
|
|
7943
8150
|
readonly invoiceNumber: string;
|
|
7944
8151
|
readonly payerRef: string;
|
|
@@ -7951,6 +8158,10 @@ declare const commands$1: {
|
|
|
7951
8158
|
readonly quantity: number;
|
|
7952
8159
|
readonly unitMinor: string;
|
|
7953
8160
|
}[];
|
|
8161
|
+
} | {
|
|
8162
|
+
readonly kind: "memo";
|
|
8163
|
+
readonly reference: string;
|
|
8164
|
+
readonly note: string;
|
|
7954
8165
|
} | {
|
|
7955
8166
|
readonly kind: "envelope";
|
|
7956
8167
|
readonly bytesBase64: string;
|
|
@@ -8000,14 +8211,14 @@ declare const commands$1: {
|
|
|
8000
8211
|
readonly items: Schema.$Array<Schema.refine<{
|
|
8001
8212
|
readonly operation: "send";
|
|
8002
8213
|
readonly recipient: {
|
|
8003
|
-
readonly kind: "party_account";
|
|
8004
|
-
readonly partyAccountId: string;
|
|
8005
|
-
} | {
|
|
8006
8214
|
readonly kind: "account";
|
|
8007
8215
|
readonly accountId: string;
|
|
8008
8216
|
} | {
|
|
8009
8217
|
readonly kind: "organization";
|
|
8010
8218
|
readonly orgId: string;
|
|
8219
|
+
} | {
|
|
8220
|
+
readonly kind: "party_account";
|
|
8221
|
+
readonly partyAccountId: string;
|
|
8011
8222
|
} | {
|
|
8012
8223
|
readonly kind: "destination";
|
|
8013
8224
|
readonly destinationId: string;
|
|
@@ -8021,10 +8232,6 @@ declare const commands$1: {
|
|
|
8021
8232
|
readonly quoteId?: string | undefined;
|
|
8022
8233
|
readonly purposeKind: PaymentPurposeKind;
|
|
8023
8234
|
readonly document?: {
|
|
8024
|
-
readonly kind: "memo";
|
|
8025
|
-
readonly reference: string;
|
|
8026
|
-
readonly note: string;
|
|
8027
|
-
} | {
|
|
8028
8235
|
readonly kind: "invoice";
|
|
8029
8236
|
readonly invoiceNumber: string;
|
|
8030
8237
|
readonly payerRef: string;
|
|
@@ -8037,6 +8244,10 @@ declare const commands$1: {
|
|
|
8037
8244
|
readonly quantity: number;
|
|
8038
8245
|
readonly unitMinor: string;
|
|
8039
8246
|
}[];
|
|
8247
|
+
} | {
|
|
8248
|
+
readonly kind: "memo";
|
|
8249
|
+
readonly reference: string;
|
|
8250
|
+
readonly note: string;
|
|
8040
8251
|
} | {
|
|
8041
8252
|
readonly kind: "envelope";
|
|
8042
8253
|
readonly bytesBase64: string;
|
|
@@ -8073,14 +8284,14 @@ declare const commands$1: {
|
|
|
8073
8284
|
} | {
|
|
8074
8285
|
readonly operation: "create_commitment";
|
|
8075
8286
|
readonly recipient: {
|
|
8076
|
-
readonly kind: "party_account";
|
|
8077
|
-
readonly partyAccountId: string;
|
|
8078
|
-
} | {
|
|
8079
8287
|
readonly kind: "account";
|
|
8080
8288
|
readonly accountId: string;
|
|
8081
8289
|
} | {
|
|
8082
8290
|
readonly kind: "organization";
|
|
8083
8291
|
readonly orgId: string;
|
|
8292
|
+
} | {
|
|
8293
|
+
readonly kind: "party_account";
|
|
8294
|
+
readonly partyAccountId: string;
|
|
8084
8295
|
} | {
|
|
8085
8296
|
readonly kind: "destination";
|
|
8086
8297
|
readonly destinationId: string;
|
|
@@ -8103,10 +8314,6 @@ declare const commands$1: {
|
|
|
8103
8314
|
};
|
|
8104
8315
|
readonly purposeKind: PaymentPurposeKind;
|
|
8105
8316
|
readonly document?: {
|
|
8106
|
-
readonly kind: "memo";
|
|
8107
|
-
readonly reference: string;
|
|
8108
|
-
readonly note: string;
|
|
8109
|
-
} | {
|
|
8110
8317
|
readonly kind: "invoice";
|
|
8111
8318
|
readonly invoiceNumber: string;
|
|
8112
8319
|
readonly payerRef: string;
|
|
@@ -8119,6 +8326,10 @@ declare const commands$1: {
|
|
|
8119
8326
|
readonly quantity: number;
|
|
8120
8327
|
readonly unitMinor: string;
|
|
8121
8328
|
}[];
|
|
8329
|
+
} | {
|
|
8330
|
+
readonly kind: "memo";
|
|
8331
|
+
readonly reference: string;
|
|
8332
|
+
readonly note: string;
|
|
8122
8333
|
} | {
|
|
8123
8334
|
readonly kind: "envelope";
|
|
8124
8335
|
readonly bytesBase64: string;
|
|
@@ -8638,6 +8849,12 @@ declare const commands$1: {
|
|
|
8638
8849
|
readonly decimals: Schema.Finite;
|
|
8639
8850
|
readonly asset: Schema.optional<Schema.Never>;
|
|
8640
8851
|
}>>;
|
|
8852
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
8853
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
8854
|
+
readonly value: Schema.String;
|
|
8855
|
+
readonly decimals: Schema.Finite;
|
|
8856
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
8857
|
+
}>>;
|
|
8641
8858
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
8642
8859
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
8643
8860
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -8654,7 +8871,7 @@ declare const commands$1: {
|
|
|
8654
8871
|
readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
|
|
8655
8872
|
}>>;
|
|
8656
8873
|
}>>;
|
|
8657
|
-
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
8874
|
+
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
8658
8875
|
/** The Payment a payer confirmed for a request, exactly as the request froze it. */
|
|
8659
8876
|
prepareRequest: Operation<"action", "payments.commands.prepareRequest", Schema.Struct<{
|
|
8660
8877
|
readonly confirmation: Schema.Union<readonly [Schema.Struct<{
|
|
@@ -8845,14 +9062,14 @@ declare const commands$1: {
|
|
|
8845
9062
|
readonly items: Schema.$Array<Schema.refine<{
|
|
8846
9063
|
readonly operation: "send";
|
|
8847
9064
|
readonly recipient: {
|
|
8848
|
-
readonly kind: "party_account";
|
|
8849
|
-
readonly partyAccountId: string;
|
|
8850
|
-
} | {
|
|
8851
9065
|
readonly kind: "account";
|
|
8852
9066
|
readonly accountId: string;
|
|
8853
9067
|
} | {
|
|
8854
9068
|
readonly kind: "organization";
|
|
8855
9069
|
readonly orgId: string;
|
|
9070
|
+
} | {
|
|
9071
|
+
readonly kind: "party_account";
|
|
9072
|
+
readonly partyAccountId: string;
|
|
8856
9073
|
} | {
|
|
8857
9074
|
readonly kind: "destination";
|
|
8858
9075
|
readonly destinationId: string;
|
|
@@ -8866,10 +9083,6 @@ declare const commands$1: {
|
|
|
8866
9083
|
readonly quoteId?: string | undefined;
|
|
8867
9084
|
readonly purposeKind: PaymentPurposeKind;
|
|
8868
9085
|
readonly document?: {
|
|
8869
|
-
readonly kind: "memo";
|
|
8870
|
-
readonly reference: string;
|
|
8871
|
-
readonly note: string;
|
|
8872
|
-
} | {
|
|
8873
9086
|
readonly kind: "invoice";
|
|
8874
9087
|
readonly invoiceNumber: string;
|
|
8875
9088
|
readonly payerRef: string;
|
|
@@ -8882,6 +9095,10 @@ declare const commands$1: {
|
|
|
8882
9095
|
readonly quantity: number;
|
|
8883
9096
|
readonly unitMinor: string;
|
|
8884
9097
|
}[];
|
|
9098
|
+
} | {
|
|
9099
|
+
readonly kind: "memo";
|
|
9100
|
+
readonly reference: string;
|
|
9101
|
+
readonly note: string;
|
|
8885
9102
|
} | {
|
|
8886
9103
|
readonly kind: "envelope";
|
|
8887
9104
|
readonly bytesBase64: string;
|
|
@@ -8918,14 +9135,14 @@ declare const commands$1: {
|
|
|
8918
9135
|
} | {
|
|
8919
9136
|
readonly operation: "create_commitment";
|
|
8920
9137
|
readonly recipient: {
|
|
8921
|
-
readonly kind: "party_account";
|
|
8922
|
-
readonly partyAccountId: string;
|
|
8923
|
-
} | {
|
|
8924
9138
|
readonly kind: "account";
|
|
8925
9139
|
readonly accountId: string;
|
|
8926
9140
|
} | {
|
|
8927
9141
|
readonly kind: "organization";
|
|
8928
9142
|
readonly orgId: string;
|
|
9143
|
+
} | {
|
|
9144
|
+
readonly kind: "party_account";
|
|
9145
|
+
readonly partyAccountId: string;
|
|
8929
9146
|
} | {
|
|
8930
9147
|
readonly kind: "destination";
|
|
8931
9148
|
readonly destinationId: string;
|
|
@@ -8948,10 +9165,6 @@ declare const commands$1: {
|
|
|
8948
9165
|
};
|
|
8949
9166
|
readonly purposeKind: PaymentPurposeKind;
|
|
8950
9167
|
readonly document?: {
|
|
8951
|
-
readonly kind: "memo";
|
|
8952
|
-
readonly reference: string;
|
|
8953
|
-
readonly note: string;
|
|
8954
|
-
} | {
|
|
8955
9168
|
readonly kind: "invoice";
|
|
8956
9169
|
readonly invoiceNumber: string;
|
|
8957
9170
|
readonly payerRef: string;
|
|
@@ -8964,6 +9177,10 @@ declare const commands$1: {
|
|
|
8964
9177
|
readonly quantity: number;
|
|
8965
9178
|
readonly unitMinor: string;
|
|
8966
9179
|
}[];
|
|
9180
|
+
} | {
|
|
9181
|
+
readonly kind: "memo";
|
|
9182
|
+
readonly reference: string;
|
|
9183
|
+
readonly note: string;
|
|
8967
9184
|
} | {
|
|
8968
9185
|
readonly kind: "envelope";
|
|
8969
9186
|
readonly bytesBase64: string;
|
|
@@ -9625,14 +9842,14 @@ declare const commands$1: {
|
|
|
9625
9842
|
readonly items: readonly ({
|
|
9626
9843
|
readonly operation: "send";
|
|
9627
9844
|
readonly recipient: {
|
|
9628
|
-
readonly kind: "party_account";
|
|
9629
|
-
readonly partyAccountId: string;
|
|
9630
|
-
} | {
|
|
9631
9845
|
readonly kind: "account";
|
|
9632
9846
|
readonly accountId: string;
|
|
9633
9847
|
} | {
|
|
9634
9848
|
readonly kind: "organization";
|
|
9635
9849
|
readonly orgId: string;
|
|
9850
|
+
} | {
|
|
9851
|
+
readonly kind: "party_account";
|
|
9852
|
+
readonly partyAccountId: string;
|
|
9636
9853
|
} | {
|
|
9637
9854
|
readonly kind: "destination";
|
|
9638
9855
|
readonly destinationId: string;
|
|
@@ -9646,10 +9863,6 @@ declare const commands$1: {
|
|
|
9646
9863
|
readonly quoteId?: string | undefined;
|
|
9647
9864
|
readonly purposeKind: PaymentPurposeKind;
|
|
9648
9865
|
readonly document?: {
|
|
9649
|
-
readonly kind: "memo";
|
|
9650
|
-
readonly reference: string;
|
|
9651
|
-
readonly note: string;
|
|
9652
|
-
} | {
|
|
9653
9866
|
readonly kind: "invoice";
|
|
9654
9867
|
readonly invoiceNumber: string;
|
|
9655
9868
|
readonly payerRef: string;
|
|
@@ -9662,6 +9875,10 @@ declare const commands$1: {
|
|
|
9662
9875
|
readonly quantity: number;
|
|
9663
9876
|
readonly unitMinor: string;
|
|
9664
9877
|
}[];
|
|
9878
|
+
} | {
|
|
9879
|
+
readonly kind: "memo";
|
|
9880
|
+
readonly reference: string;
|
|
9881
|
+
readonly note: string;
|
|
9665
9882
|
} | {
|
|
9666
9883
|
readonly kind: "envelope";
|
|
9667
9884
|
readonly bytesBase64: string;
|
|
@@ -9698,14 +9915,14 @@ declare const commands$1: {
|
|
|
9698
9915
|
} | {
|
|
9699
9916
|
readonly operation: "create_commitment";
|
|
9700
9917
|
readonly recipient: {
|
|
9701
|
-
readonly kind: "party_account";
|
|
9702
|
-
readonly partyAccountId: string;
|
|
9703
|
-
} | {
|
|
9704
9918
|
readonly kind: "account";
|
|
9705
9919
|
readonly accountId: string;
|
|
9706
9920
|
} | {
|
|
9707
9921
|
readonly kind: "organization";
|
|
9708
9922
|
readonly orgId: string;
|
|
9923
|
+
} | {
|
|
9924
|
+
readonly kind: "party_account";
|
|
9925
|
+
readonly partyAccountId: string;
|
|
9709
9926
|
} | {
|
|
9710
9927
|
readonly kind: "destination";
|
|
9711
9928
|
readonly destinationId: string;
|
|
@@ -9728,10 +9945,6 @@ declare const commands$1: {
|
|
|
9728
9945
|
};
|
|
9729
9946
|
readonly purposeKind: PaymentPurposeKind;
|
|
9730
9947
|
readonly document?: {
|
|
9731
|
-
readonly kind: "memo";
|
|
9732
|
-
readonly reference: string;
|
|
9733
|
-
readonly note: string;
|
|
9734
|
-
} | {
|
|
9735
9948
|
readonly kind: "invoice";
|
|
9736
9949
|
readonly invoiceNumber: string;
|
|
9737
9950
|
readonly payerRef: string;
|
|
@@ -9744,6 +9957,10 @@ declare const commands$1: {
|
|
|
9744
9957
|
readonly quantity: number;
|
|
9745
9958
|
readonly unitMinor: string;
|
|
9746
9959
|
}[];
|
|
9960
|
+
} | {
|
|
9961
|
+
readonly kind: "memo";
|
|
9962
|
+
readonly reference: string;
|
|
9963
|
+
readonly note: string;
|
|
9747
9964
|
} | {
|
|
9748
9965
|
readonly kind: "envelope";
|
|
9749
9966
|
readonly bytesBase64: string;
|
|
@@ -9793,14 +10010,14 @@ declare const commands$1: {
|
|
|
9793
10010
|
readonly items: Schema.$Array<Schema.refine<{
|
|
9794
10011
|
readonly operation: "send";
|
|
9795
10012
|
readonly recipient: {
|
|
9796
|
-
readonly kind: "party_account";
|
|
9797
|
-
readonly partyAccountId: string;
|
|
9798
|
-
} | {
|
|
9799
10013
|
readonly kind: "account";
|
|
9800
10014
|
readonly accountId: string;
|
|
9801
10015
|
} | {
|
|
9802
10016
|
readonly kind: "organization";
|
|
9803
10017
|
readonly orgId: string;
|
|
10018
|
+
} | {
|
|
10019
|
+
readonly kind: "party_account";
|
|
10020
|
+
readonly partyAccountId: string;
|
|
9804
10021
|
} | {
|
|
9805
10022
|
readonly kind: "destination";
|
|
9806
10023
|
readonly destinationId: string;
|
|
@@ -9814,10 +10031,6 @@ declare const commands$1: {
|
|
|
9814
10031
|
readonly quoteId?: string | undefined;
|
|
9815
10032
|
readonly purposeKind: PaymentPurposeKind;
|
|
9816
10033
|
readonly document?: {
|
|
9817
|
-
readonly kind: "memo";
|
|
9818
|
-
readonly reference: string;
|
|
9819
|
-
readonly note: string;
|
|
9820
|
-
} | {
|
|
9821
10034
|
readonly kind: "invoice";
|
|
9822
10035
|
readonly invoiceNumber: string;
|
|
9823
10036
|
readonly payerRef: string;
|
|
@@ -9830,6 +10043,10 @@ declare const commands$1: {
|
|
|
9830
10043
|
readonly quantity: number;
|
|
9831
10044
|
readonly unitMinor: string;
|
|
9832
10045
|
}[];
|
|
10046
|
+
} | {
|
|
10047
|
+
readonly kind: "memo";
|
|
10048
|
+
readonly reference: string;
|
|
10049
|
+
readonly note: string;
|
|
9833
10050
|
} | {
|
|
9834
10051
|
readonly kind: "envelope";
|
|
9835
10052
|
readonly bytesBase64: string;
|
|
@@ -9866,14 +10083,14 @@ declare const commands$1: {
|
|
|
9866
10083
|
} | {
|
|
9867
10084
|
readonly operation: "create_commitment";
|
|
9868
10085
|
readonly recipient: {
|
|
9869
|
-
readonly kind: "party_account";
|
|
9870
|
-
readonly partyAccountId: string;
|
|
9871
|
-
} | {
|
|
9872
10086
|
readonly kind: "account";
|
|
9873
10087
|
readonly accountId: string;
|
|
9874
10088
|
} | {
|
|
9875
10089
|
readonly kind: "organization";
|
|
9876
10090
|
readonly orgId: string;
|
|
10091
|
+
} | {
|
|
10092
|
+
readonly kind: "party_account";
|
|
10093
|
+
readonly partyAccountId: string;
|
|
9877
10094
|
} | {
|
|
9878
10095
|
readonly kind: "destination";
|
|
9879
10096
|
readonly destinationId: string;
|
|
@@ -9896,10 +10113,6 @@ declare const commands$1: {
|
|
|
9896
10113
|
};
|
|
9897
10114
|
readonly purposeKind: PaymentPurposeKind;
|
|
9898
10115
|
readonly document?: {
|
|
9899
|
-
readonly kind: "memo";
|
|
9900
|
-
readonly reference: string;
|
|
9901
|
-
readonly note: string;
|
|
9902
|
-
} | {
|
|
9903
10116
|
readonly kind: "invoice";
|
|
9904
10117
|
readonly invoiceNumber: string;
|
|
9905
10118
|
readonly payerRef: string;
|
|
@@ -9912,6 +10125,10 @@ declare const commands$1: {
|
|
|
9912
10125
|
readonly quantity: number;
|
|
9913
10126
|
readonly unitMinor: string;
|
|
9914
10127
|
}[];
|
|
10128
|
+
} | {
|
|
10129
|
+
readonly kind: "memo";
|
|
10130
|
+
readonly reference: string;
|
|
10131
|
+
readonly note: string;
|
|
9915
10132
|
} | {
|
|
9916
10133
|
readonly kind: "envelope";
|
|
9917
10134
|
readonly bytesBase64: string;
|
|
@@ -10431,6 +10648,12 @@ declare const commands$1: {
|
|
|
10431
10648
|
readonly decimals: Schema.Finite;
|
|
10432
10649
|
readonly asset: Schema.optional<Schema.Never>;
|
|
10433
10650
|
}>>;
|
|
10651
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
10652
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
10653
|
+
readonly value: Schema.String;
|
|
10654
|
+
readonly decimals: Schema.Finite;
|
|
10655
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
10656
|
+
}>>;
|
|
10434
10657
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
10435
10658
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
10436
10659
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -10447,7 +10670,7 @@ declare const commands$1: {
|
|
|
10447
10670
|
readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
|
|
10448
10671
|
}>>;
|
|
10449
10672
|
}>>;
|
|
10450
|
-
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
10673
|
+
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
10451
10674
|
/** A registered payer's Payment for an Offer checkout. */
|
|
10452
10675
|
prepareOfferCheckout: Operation<"action", "payments.commands.prepareOfferCheckout", Schema.Struct<{
|
|
10453
10676
|
readonly checkoutId: Schema.String;
|
|
@@ -10590,7 +10813,7 @@ declare const commands$1: {
|
|
|
10590
10813
|
readonly documentHash: Schema.Codec<DocumentHash, string, never, never>;
|
|
10591
10814
|
}>]>>;
|
|
10592
10815
|
}>;
|
|
10593
|
-
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
10816
|
+
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
10594
10817
|
/** A registered payer's Payment for an Invoice checkout link. */
|
|
10595
10818
|
prepareInvoiceCheckout: Operation<"action", "payments.commands.prepareInvoiceCheckout", Schema.Struct<{
|
|
10596
10819
|
readonly linkToken: Schema.String;
|
|
@@ -10723,7 +10946,7 @@ declare const commands$1: {
|
|
|
10723
10946
|
readonly contractAddress: Schema.Codec<Address$1, string, never, never>;
|
|
10724
10947
|
readonly settlementId: Schema.Codec<`0x${string}`, string, never, never>;
|
|
10725
10948
|
}>;
|
|
10726
|
-
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
10949
|
+
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
10727
10950
|
};
|
|
10728
10951
|
/** An existing Payment: retry its send, or claim, cancel or redirect its commitment. */
|
|
10729
10952
|
declare const lifecycles: {
|
|
@@ -10893,14 +11116,14 @@ declare const lifecycles: {
|
|
|
10893
11116
|
readonly items: Schema.$Array<Schema.refine<{
|
|
10894
11117
|
readonly operation: "send";
|
|
10895
11118
|
readonly recipient: {
|
|
10896
|
-
readonly kind: "party_account";
|
|
10897
|
-
readonly partyAccountId: string;
|
|
10898
|
-
} | {
|
|
10899
11119
|
readonly kind: "account";
|
|
10900
11120
|
readonly accountId: string;
|
|
10901
11121
|
} | {
|
|
10902
11122
|
readonly kind: "organization";
|
|
10903
11123
|
readonly orgId: string;
|
|
11124
|
+
} | {
|
|
11125
|
+
readonly kind: "party_account";
|
|
11126
|
+
readonly partyAccountId: string;
|
|
10904
11127
|
} | {
|
|
10905
11128
|
readonly kind: "destination";
|
|
10906
11129
|
readonly destinationId: string;
|
|
@@ -10914,10 +11137,6 @@ declare const lifecycles: {
|
|
|
10914
11137
|
readonly quoteId?: string | undefined;
|
|
10915
11138
|
readonly purposeKind: PaymentPurposeKind;
|
|
10916
11139
|
readonly document?: {
|
|
10917
|
-
readonly kind: "memo";
|
|
10918
|
-
readonly reference: string;
|
|
10919
|
-
readonly note: string;
|
|
10920
|
-
} | {
|
|
10921
11140
|
readonly kind: "invoice";
|
|
10922
11141
|
readonly invoiceNumber: string;
|
|
10923
11142
|
readonly payerRef: string;
|
|
@@ -10930,6 +11149,10 @@ declare const lifecycles: {
|
|
|
10930
11149
|
readonly quantity: number;
|
|
10931
11150
|
readonly unitMinor: string;
|
|
10932
11151
|
}[];
|
|
11152
|
+
} | {
|
|
11153
|
+
readonly kind: "memo";
|
|
11154
|
+
readonly reference: string;
|
|
11155
|
+
readonly note: string;
|
|
10933
11156
|
} | {
|
|
10934
11157
|
readonly kind: "envelope";
|
|
10935
11158
|
readonly bytesBase64: string;
|
|
@@ -10966,14 +11189,14 @@ declare const lifecycles: {
|
|
|
10966
11189
|
} | {
|
|
10967
11190
|
readonly operation: "create_commitment";
|
|
10968
11191
|
readonly recipient: {
|
|
10969
|
-
readonly kind: "party_account";
|
|
10970
|
-
readonly partyAccountId: string;
|
|
10971
|
-
} | {
|
|
10972
11192
|
readonly kind: "account";
|
|
10973
11193
|
readonly accountId: string;
|
|
10974
11194
|
} | {
|
|
10975
11195
|
readonly kind: "organization";
|
|
10976
11196
|
readonly orgId: string;
|
|
11197
|
+
} | {
|
|
11198
|
+
readonly kind: "party_account";
|
|
11199
|
+
readonly partyAccountId: string;
|
|
10977
11200
|
} | {
|
|
10978
11201
|
readonly kind: "destination";
|
|
10979
11202
|
readonly destinationId: string;
|
|
@@ -10996,10 +11219,6 @@ declare const lifecycles: {
|
|
|
10996
11219
|
};
|
|
10997
11220
|
readonly purposeKind: PaymentPurposeKind;
|
|
10998
11221
|
readonly document?: {
|
|
10999
|
-
readonly kind: "memo";
|
|
11000
|
-
readonly reference: string;
|
|
11001
|
-
readonly note: string;
|
|
11002
|
-
} | {
|
|
11003
11222
|
readonly kind: "invoice";
|
|
11004
11223
|
readonly invoiceNumber: string;
|
|
11005
11224
|
readonly payerRef: string;
|
|
@@ -11012,6 +11231,10 @@ declare const lifecycles: {
|
|
|
11012
11231
|
readonly quantity: number;
|
|
11013
11232
|
readonly unitMinor: string;
|
|
11014
11233
|
}[];
|
|
11234
|
+
} | {
|
|
11235
|
+
readonly kind: "memo";
|
|
11236
|
+
readonly reference: string;
|
|
11237
|
+
readonly note: string;
|
|
11015
11238
|
} | {
|
|
11016
11239
|
readonly kind: "envelope";
|
|
11017
11240
|
readonly bytesBase64: string;
|
|
@@ -11673,14 +11896,14 @@ declare const lifecycles: {
|
|
|
11673
11896
|
readonly items: readonly ({
|
|
11674
11897
|
readonly operation: "send";
|
|
11675
11898
|
readonly recipient: {
|
|
11676
|
-
readonly kind: "party_account";
|
|
11677
|
-
readonly partyAccountId: string;
|
|
11678
|
-
} | {
|
|
11679
11899
|
readonly kind: "account";
|
|
11680
11900
|
readonly accountId: string;
|
|
11681
11901
|
} | {
|
|
11682
11902
|
readonly kind: "organization";
|
|
11683
11903
|
readonly orgId: string;
|
|
11904
|
+
} | {
|
|
11905
|
+
readonly kind: "party_account";
|
|
11906
|
+
readonly partyAccountId: string;
|
|
11684
11907
|
} | {
|
|
11685
11908
|
readonly kind: "destination";
|
|
11686
11909
|
readonly destinationId: string;
|
|
@@ -11694,10 +11917,6 @@ declare const lifecycles: {
|
|
|
11694
11917
|
readonly quoteId?: string | undefined;
|
|
11695
11918
|
readonly purposeKind: PaymentPurposeKind;
|
|
11696
11919
|
readonly document?: {
|
|
11697
|
-
readonly kind: "memo";
|
|
11698
|
-
readonly reference: string;
|
|
11699
|
-
readonly note: string;
|
|
11700
|
-
} | {
|
|
11701
11920
|
readonly kind: "invoice";
|
|
11702
11921
|
readonly invoiceNumber: string;
|
|
11703
11922
|
readonly payerRef: string;
|
|
@@ -11710,6 +11929,10 @@ declare const lifecycles: {
|
|
|
11710
11929
|
readonly quantity: number;
|
|
11711
11930
|
readonly unitMinor: string;
|
|
11712
11931
|
}[];
|
|
11932
|
+
} | {
|
|
11933
|
+
readonly kind: "memo";
|
|
11934
|
+
readonly reference: string;
|
|
11935
|
+
readonly note: string;
|
|
11713
11936
|
} | {
|
|
11714
11937
|
readonly kind: "envelope";
|
|
11715
11938
|
readonly bytesBase64: string;
|
|
@@ -11746,14 +11969,14 @@ declare const lifecycles: {
|
|
|
11746
11969
|
} | {
|
|
11747
11970
|
readonly operation: "create_commitment";
|
|
11748
11971
|
readonly recipient: {
|
|
11749
|
-
readonly kind: "party_account";
|
|
11750
|
-
readonly partyAccountId: string;
|
|
11751
|
-
} | {
|
|
11752
11972
|
readonly kind: "account";
|
|
11753
11973
|
readonly accountId: string;
|
|
11754
11974
|
} | {
|
|
11755
11975
|
readonly kind: "organization";
|
|
11756
11976
|
readonly orgId: string;
|
|
11977
|
+
} | {
|
|
11978
|
+
readonly kind: "party_account";
|
|
11979
|
+
readonly partyAccountId: string;
|
|
11757
11980
|
} | {
|
|
11758
11981
|
readonly kind: "destination";
|
|
11759
11982
|
readonly destinationId: string;
|
|
@@ -11776,10 +11999,6 @@ declare const lifecycles: {
|
|
|
11776
11999
|
};
|
|
11777
12000
|
readonly purposeKind: PaymentPurposeKind;
|
|
11778
12001
|
readonly document?: {
|
|
11779
|
-
readonly kind: "memo";
|
|
11780
|
-
readonly reference: string;
|
|
11781
|
-
readonly note: string;
|
|
11782
|
-
} | {
|
|
11783
12002
|
readonly kind: "invoice";
|
|
11784
12003
|
readonly invoiceNumber: string;
|
|
11785
12004
|
readonly payerRef: string;
|
|
@@ -11792,6 +12011,10 @@ declare const lifecycles: {
|
|
|
11792
12011
|
readonly quantity: number;
|
|
11793
12012
|
readonly unitMinor: string;
|
|
11794
12013
|
}[];
|
|
12014
|
+
} | {
|
|
12015
|
+
readonly kind: "memo";
|
|
12016
|
+
readonly reference: string;
|
|
12017
|
+
readonly note: string;
|
|
11795
12018
|
} | {
|
|
11796
12019
|
readonly kind: "envelope";
|
|
11797
12020
|
readonly bytesBase64: string;
|
|
@@ -11841,14 +12064,14 @@ declare const lifecycles: {
|
|
|
11841
12064
|
readonly items: Schema.$Array<Schema.refine<{
|
|
11842
12065
|
readonly operation: "send";
|
|
11843
12066
|
readonly recipient: {
|
|
11844
|
-
readonly kind: "party_account";
|
|
11845
|
-
readonly partyAccountId: string;
|
|
11846
|
-
} | {
|
|
11847
12067
|
readonly kind: "account";
|
|
11848
12068
|
readonly accountId: string;
|
|
11849
12069
|
} | {
|
|
11850
12070
|
readonly kind: "organization";
|
|
11851
12071
|
readonly orgId: string;
|
|
12072
|
+
} | {
|
|
12073
|
+
readonly kind: "party_account";
|
|
12074
|
+
readonly partyAccountId: string;
|
|
11852
12075
|
} | {
|
|
11853
12076
|
readonly kind: "destination";
|
|
11854
12077
|
readonly destinationId: string;
|
|
@@ -11862,10 +12085,6 @@ declare const lifecycles: {
|
|
|
11862
12085
|
readonly quoteId?: string | undefined;
|
|
11863
12086
|
readonly purposeKind: PaymentPurposeKind;
|
|
11864
12087
|
readonly document?: {
|
|
11865
|
-
readonly kind: "memo";
|
|
11866
|
-
readonly reference: string;
|
|
11867
|
-
readonly note: string;
|
|
11868
|
-
} | {
|
|
11869
12088
|
readonly kind: "invoice";
|
|
11870
12089
|
readonly invoiceNumber: string;
|
|
11871
12090
|
readonly payerRef: string;
|
|
@@ -11878,6 +12097,10 @@ declare const lifecycles: {
|
|
|
11878
12097
|
readonly quantity: number;
|
|
11879
12098
|
readonly unitMinor: string;
|
|
11880
12099
|
}[];
|
|
12100
|
+
} | {
|
|
12101
|
+
readonly kind: "memo";
|
|
12102
|
+
readonly reference: string;
|
|
12103
|
+
readonly note: string;
|
|
11881
12104
|
} | {
|
|
11882
12105
|
readonly kind: "envelope";
|
|
11883
12106
|
readonly bytesBase64: string;
|
|
@@ -11914,14 +12137,14 @@ declare const lifecycles: {
|
|
|
11914
12137
|
} | {
|
|
11915
12138
|
readonly operation: "create_commitment";
|
|
11916
12139
|
readonly recipient: {
|
|
11917
|
-
readonly kind: "party_account";
|
|
11918
|
-
readonly partyAccountId: string;
|
|
11919
|
-
} | {
|
|
11920
12140
|
readonly kind: "account";
|
|
11921
12141
|
readonly accountId: string;
|
|
11922
12142
|
} | {
|
|
11923
12143
|
readonly kind: "organization";
|
|
11924
12144
|
readonly orgId: string;
|
|
12145
|
+
} | {
|
|
12146
|
+
readonly kind: "party_account";
|
|
12147
|
+
readonly partyAccountId: string;
|
|
11925
12148
|
} | {
|
|
11926
12149
|
readonly kind: "destination";
|
|
11927
12150
|
readonly destinationId: string;
|
|
@@ -11944,10 +12167,6 @@ declare const lifecycles: {
|
|
|
11944
12167
|
};
|
|
11945
12168
|
readonly purposeKind: PaymentPurposeKind;
|
|
11946
12169
|
readonly document?: {
|
|
11947
|
-
readonly kind: "memo";
|
|
11948
|
-
readonly reference: string;
|
|
11949
|
-
readonly note: string;
|
|
11950
|
-
} | {
|
|
11951
12170
|
readonly kind: "invoice";
|
|
11952
12171
|
readonly invoiceNumber: string;
|
|
11953
12172
|
readonly payerRef: string;
|
|
@@ -11960,6 +12179,10 @@ declare const lifecycles: {
|
|
|
11960
12179
|
readonly quantity: number;
|
|
11961
12180
|
readonly unitMinor: string;
|
|
11962
12181
|
}[];
|
|
12182
|
+
} | {
|
|
12183
|
+
readonly kind: "memo";
|
|
12184
|
+
readonly reference: string;
|
|
12185
|
+
readonly note: string;
|
|
11963
12186
|
} | {
|
|
11964
12187
|
readonly kind: "envelope";
|
|
11965
12188
|
readonly bytesBase64: string;
|
|
@@ -12479,6 +12702,12 @@ declare const lifecycles: {
|
|
|
12479
12702
|
readonly decimals: Schema.Finite;
|
|
12480
12703
|
readonly asset: Schema.optional<Schema.Never>;
|
|
12481
12704
|
}>>;
|
|
12705
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
12706
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
12707
|
+
readonly value: Schema.String;
|
|
12708
|
+
readonly decimals: Schema.Finite;
|
|
12709
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
12710
|
+
}>>;
|
|
12482
12711
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
12483
12712
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
12484
12713
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -12495,7 +12724,7 @@ declare const lifecycles: {
|
|
|
12495
12724
|
readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
|
|
12496
12725
|
}>>;
|
|
12497
12726
|
}>>;
|
|
12498
|
-
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
12727
|
+
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
12499
12728
|
/** The same, refused unless the Payment belongs to the scope the caller names. */
|
|
12500
12729
|
prepareScoped: Operation<"action", "payments.lifecycles.prepareScoped", Schema.Struct<{
|
|
12501
12730
|
readonly signerAddress: Schema.Codec<Address$1, string, never, never>;
|
|
@@ -12668,14 +12897,14 @@ declare const lifecycles: {
|
|
|
12668
12897
|
readonly items: Schema.$Array<Schema.refine<{
|
|
12669
12898
|
readonly operation: "send";
|
|
12670
12899
|
readonly recipient: {
|
|
12671
|
-
readonly kind: "party_account";
|
|
12672
|
-
readonly partyAccountId: string;
|
|
12673
|
-
} | {
|
|
12674
12900
|
readonly kind: "account";
|
|
12675
12901
|
readonly accountId: string;
|
|
12676
12902
|
} | {
|
|
12677
12903
|
readonly kind: "organization";
|
|
12678
12904
|
readonly orgId: string;
|
|
12905
|
+
} | {
|
|
12906
|
+
readonly kind: "party_account";
|
|
12907
|
+
readonly partyAccountId: string;
|
|
12679
12908
|
} | {
|
|
12680
12909
|
readonly kind: "destination";
|
|
12681
12910
|
readonly destinationId: string;
|
|
@@ -12689,10 +12918,6 @@ declare const lifecycles: {
|
|
|
12689
12918
|
readonly quoteId?: string | undefined;
|
|
12690
12919
|
readonly purposeKind: PaymentPurposeKind;
|
|
12691
12920
|
readonly document?: {
|
|
12692
|
-
readonly kind: "memo";
|
|
12693
|
-
readonly reference: string;
|
|
12694
|
-
readonly note: string;
|
|
12695
|
-
} | {
|
|
12696
12921
|
readonly kind: "invoice";
|
|
12697
12922
|
readonly invoiceNumber: string;
|
|
12698
12923
|
readonly payerRef: string;
|
|
@@ -12705,6 +12930,10 @@ declare const lifecycles: {
|
|
|
12705
12930
|
readonly quantity: number;
|
|
12706
12931
|
readonly unitMinor: string;
|
|
12707
12932
|
}[];
|
|
12933
|
+
} | {
|
|
12934
|
+
readonly kind: "memo";
|
|
12935
|
+
readonly reference: string;
|
|
12936
|
+
readonly note: string;
|
|
12708
12937
|
} | {
|
|
12709
12938
|
readonly kind: "envelope";
|
|
12710
12939
|
readonly bytesBase64: string;
|
|
@@ -12741,14 +12970,14 @@ declare const lifecycles: {
|
|
|
12741
12970
|
} | {
|
|
12742
12971
|
readonly operation: "create_commitment";
|
|
12743
12972
|
readonly recipient: {
|
|
12744
|
-
readonly kind: "party_account";
|
|
12745
|
-
readonly partyAccountId: string;
|
|
12746
|
-
} | {
|
|
12747
12973
|
readonly kind: "account";
|
|
12748
12974
|
readonly accountId: string;
|
|
12749
12975
|
} | {
|
|
12750
12976
|
readonly kind: "organization";
|
|
12751
12977
|
readonly orgId: string;
|
|
12978
|
+
} | {
|
|
12979
|
+
readonly kind: "party_account";
|
|
12980
|
+
readonly partyAccountId: string;
|
|
12752
12981
|
} | {
|
|
12753
12982
|
readonly kind: "destination";
|
|
12754
12983
|
readonly destinationId: string;
|
|
@@ -12771,10 +13000,6 @@ declare const lifecycles: {
|
|
|
12771
13000
|
};
|
|
12772
13001
|
readonly purposeKind: PaymentPurposeKind;
|
|
12773
13002
|
readonly document?: {
|
|
12774
|
-
readonly kind: "memo";
|
|
12775
|
-
readonly reference: string;
|
|
12776
|
-
readonly note: string;
|
|
12777
|
-
} | {
|
|
12778
13003
|
readonly kind: "invoice";
|
|
12779
13004
|
readonly invoiceNumber: string;
|
|
12780
13005
|
readonly payerRef: string;
|
|
@@ -12787,6 +13012,10 @@ declare const lifecycles: {
|
|
|
12787
13012
|
readonly quantity: number;
|
|
12788
13013
|
readonly unitMinor: string;
|
|
12789
13014
|
}[];
|
|
13015
|
+
} | {
|
|
13016
|
+
readonly kind: "memo";
|
|
13017
|
+
readonly reference: string;
|
|
13018
|
+
readonly note: string;
|
|
12790
13019
|
} | {
|
|
12791
13020
|
readonly kind: "envelope";
|
|
12792
13021
|
readonly bytesBase64: string;
|
|
@@ -13448,14 +13677,14 @@ declare const lifecycles: {
|
|
|
13448
13677
|
readonly items: readonly ({
|
|
13449
13678
|
readonly operation: "send";
|
|
13450
13679
|
readonly recipient: {
|
|
13451
|
-
readonly kind: "party_account";
|
|
13452
|
-
readonly partyAccountId: string;
|
|
13453
|
-
} | {
|
|
13454
13680
|
readonly kind: "account";
|
|
13455
13681
|
readonly accountId: string;
|
|
13456
13682
|
} | {
|
|
13457
13683
|
readonly kind: "organization";
|
|
13458
13684
|
readonly orgId: string;
|
|
13685
|
+
} | {
|
|
13686
|
+
readonly kind: "party_account";
|
|
13687
|
+
readonly partyAccountId: string;
|
|
13459
13688
|
} | {
|
|
13460
13689
|
readonly kind: "destination";
|
|
13461
13690
|
readonly destinationId: string;
|
|
@@ -13469,10 +13698,6 @@ declare const lifecycles: {
|
|
|
13469
13698
|
readonly quoteId?: string | undefined;
|
|
13470
13699
|
readonly purposeKind: PaymentPurposeKind;
|
|
13471
13700
|
readonly document?: {
|
|
13472
|
-
readonly kind: "memo";
|
|
13473
|
-
readonly reference: string;
|
|
13474
|
-
readonly note: string;
|
|
13475
|
-
} | {
|
|
13476
13701
|
readonly kind: "invoice";
|
|
13477
13702
|
readonly invoiceNumber: string;
|
|
13478
13703
|
readonly payerRef: string;
|
|
@@ -13485,6 +13710,10 @@ declare const lifecycles: {
|
|
|
13485
13710
|
readonly quantity: number;
|
|
13486
13711
|
readonly unitMinor: string;
|
|
13487
13712
|
}[];
|
|
13713
|
+
} | {
|
|
13714
|
+
readonly kind: "memo";
|
|
13715
|
+
readonly reference: string;
|
|
13716
|
+
readonly note: string;
|
|
13488
13717
|
} | {
|
|
13489
13718
|
readonly kind: "envelope";
|
|
13490
13719
|
readonly bytesBase64: string;
|
|
@@ -13521,14 +13750,14 @@ declare const lifecycles: {
|
|
|
13521
13750
|
} | {
|
|
13522
13751
|
readonly operation: "create_commitment";
|
|
13523
13752
|
readonly recipient: {
|
|
13524
|
-
readonly kind: "party_account";
|
|
13525
|
-
readonly partyAccountId: string;
|
|
13526
|
-
} | {
|
|
13527
13753
|
readonly kind: "account";
|
|
13528
13754
|
readonly accountId: string;
|
|
13529
13755
|
} | {
|
|
13530
13756
|
readonly kind: "organization";
|
|
13531
13757
|
readonly orgId: string;
|
|
13758
|
+
} | {
|
|
13759
|
+
readonly kind: "party_account";
|
|
13760
|
+
readonly partyAccountId: string;
|
|
13532
13761
|
} | {
|
|
13533
13762
|
readonly kind: "destination";
|
|
13534
13763
|
readonly destinationId: string;
|
|
@@ -13551,10 +13780,6 @@ declare const lifecycles: {
|
|
|
13551
13780
|
};
|
|
13552
13781
|
readonly purposeKind: PaymentPurposeKind;
|
|
13553
13782
|
readonly document?: {
|
|
13554
|
-
readonly kind: "memo";
|
|
13555
|
-
readonly reference: string;
|
|
13556
|
-
readonly note: string;
|
|
13557
|
-
} | {
|
|
13558
13783
|
readonly kind: "invoice";
|
|
13559
13784
|
readonly invoiceNumber: string;
|
|
13560
13785
|
readonly payerRef: string;
|
|
@@ -13567,6 +13792,10 @@ declare const lifecycles: {
|
|
|
13567
13792
|
readonly quantity: number;
|
|
13568
13793
|
readonly unitMinor: string;
|
|
13569
13794
|
}[];
|
|
13795
|
+
} | {
|
|
13796
|
+
readonly kind: "memo";
|
|
13797
|
+
readonly reference: string;
|
|
13798
|
+
readonly note: string;
|
|
13570
13799
|
} | {
|
|
13571
13800
|
readonly kind: "envelope";
|
|
13572
13801
|
readonly bytesBase64: string;
|
|
@@ -13616,14 +13845,14 @@ declare const lifecycles: {
|
|
|
13616
13845
|
readonly items: Schema.$Array<Schema.refine<{
|
|
13617
13846
|
readonly operation: "send";
|
|
13618
13847
|
readonly recipient: {
|
|
13619
|
-
readonly kind: "party_account";
|
|
13620
|
-
readonly partyAccountId: string;
|
|
13621
|
-
} | {
|
|
13622
13848
|
readonly kind: "account";
|
|
13623
13849
|
readonly accountId: string;
|
|
13624
13850
|
} | {
|
|
13625
13851
|
readonly kind: "organization";
|
|
13626
13852
|
readonly orgId: string;
|
|
13853
|
+
} | {
|
|
13854
|
+
readonly kind: "party_account";
|
|
13855
|
+
readonly partyAccountId: string;
|
|
13627
13856
|
} | {
|
|
13628
13857
|
readonly kind: "destination";
|
|
13629
13858
|
readonly destinationId: string;
|
|
@@ -13637,10 +13866,6 @@ declare const lifecycles: {
|
|
|
13637
13866
|
readonly quoteId?: string | undefined;
|
|
13638
13867
|
readonly purposeKind: PaymentPurposeKind;
|
|
13639
13868
|
readonly document?: {
|
|
13640
|
-
readonly kind: "memo";
|
|
13641
|
-
readonly reference: string;
|
|
13642
|
-
readonly note: string;
|
|
13643
|
-
} | {
|
|
13644
13869
|
readonly kind: "invoice";
|
|
13645
13870
|
readonly invoiceNumber: string;
|
|
13646
13871
|
readonly payerRef: string;
|
|
@@ -13653,6 +13878,10 @@ declare const lifecycles: {
|
|
|
13653
13878
|
readonly quantity: number;
|
|
13654
13879
|
readonly unitMinor: string;
|
|
13655
13880
|
}[];
|
|
13881
|
+
} | {
|
|
13882
|
+
readonly kind: "memo";
|
|
13883
|
+
readonly reference: string;
|
|
13884
|
+
readonly note: string;
|
|
13656
13885
|
} | {
|
|
13657
13886
|
readonly kind: "envelope";
|
|
13658
13887
|
readonly bytesBase64: string;
|
|
@@ -13689,14 +13918,14 @@ declare const lifecycles: {
|
|
|
13689
13918
|
} | {
|
|
13690
13919
|
readonly operation: "create_commitment";
|
|
13691
13920
|
readonly recipient: {
|
|
13692
|
-
readonly kind: "party_account";
|
|
13693
|
-
readonly partyAccountId: string;
|
|
13694
|
-
} | {
|
|
13695
13921
|
readonly kind: "account";
|
|
13696
13922
|
readonly accountId: string;
|
|
13697
13923
|
} | {
|
|
13698
13924
|
readonly kind: "organization";
|
|
13699
13925
|
readonly orgId: string;
|
|
13926
|
+
} | {
|
|
13927
|
+
readonly kind: "party_account";
|
|
13928
|
+
readonly partyAccountId: string;
|
|
13700
13929
|
} | {
|
|
13701
13930
|
readonly kind: "destination";
|
|
13702
13931
|
readonly destinationId: string;
|
|
@@ -13719,10 +13948,6 @@ declare const lifecycles: {
|
|
|
13719
13948
|
};
|
|
13720
13949
|
readonly purposeKind: PaymentPurposeKind;
|
|
13721
13950
|
readonly document?: {
|
|
13722
|
-
readonly kind: "memo";
|
|
13723
|
-
readonly reference: string;
|
|
13724
|
-
readonly note: string;
|
|
13725
|
-
} | {
|
|
13726
13951
|
readonly kind: "invoice";
|
|
13727
13952
|
readonly invoiceNumber: string;
|
|
13728
13953
|
readonly payerRef: string;
|
|
@@ -13735,6 +13960,10 @@ declare const lifecycles: {
|
|
|
13735
13960
|
readonly quantity: number;
|
|
13736
13961
|
readonly unitMinor: string;
|
|
13737
13962
|
}[];
|
|
13963
|
+
} | {
|
|
13964
|
+
readonly kind: "memo";
|
|
13965
|
+
readonly reference: string;
|
|
13966
|
+
readonly note: string;
|
|
13738
13967
|
} | {
|
|
13739
13968
|
readonly kind: "envelope";
|
|
13740
13969
|
readonly bytesBase64: string;
|
|
@@ -14254,6 +14483,12 @@ declare const lifecycles: {
|
|
|
14254
14483
|
readonly decimals: Schema.Finite;
|
|
14255
14484
|
readonly asset: Schema.optional<Schema.Never>;
|
|
14256
14485
|
}>>;
|
|
14486
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
14487
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
14488
|
+
readonly value: Schema.String;
|
|
14489
|
+
readonly decimals: Schema.Finite;
|
|
14490
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
14491
|
+
}>>;
|
|
14257
14492
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
14258
14493
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
14259
14494
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -14270,7 +14505,7 @@ declare const lifecycles: {
|
|
|
14270
14505
|
readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
|
|
14271
14506
|
}>>;
|
|
14272
14507
|
}>>;
|
|
14273
|
-
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
14508
|
+
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
14274
14509
|
/** What retrying an Organization's failed Payment would send again, before anyone signs. */
|
|
14275
14510
|
previewRetry: Operation<"query", "payments.lifecycles.previewRetry", Schema.Struct<{
|
|
14276
14511
|
readonly orgId: Schema.NonEmptyString;
|
|
@@ -14351,6 +14586,12 @@ declare const lifecycles: {
|
|
|
14351
14586
|
readonly decimals: Schema.Finite;
|
|
14352
14587
|
readonly asset: Schema.optional<Schema.Never>;
|
|
14353
14588
|
}>>;
|
|
14589
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
14590
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
14591
|
+
readonly value: Schema.String;
|
|
14592
|
+
readonly decimals: Schema.Finite;
|
|
14593
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
14594
|
+
}>>;
|
|
14354
14595
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
14355
14596
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
14356
14597
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -14449,6 +14690,12 @@ declare const executions: {
|
|
|
14449
14690
|
readonly decimals: Schema.Finite;
|
|
14450
14691
|
readonly asset: Schema.optional<Schema.Never>;
|
|
14451
14692
|
}>>;
|
|
14693
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
14694
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
14695
|
+
readonly value: Schema.String;
|
|
14696
|
+
readonly decimals: Schema.Finite;
|
|
14697
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
14698
|
+
}>>;
|
|
14452
14699
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
14453
14700
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
14454
14701
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -14464,7 +14711,7 @@ declare const executions: {
|
|
|
14464
14711
|
readonly createdAt: Schema.Codec<EpochMs, number, never, never>;
|
|
14465
14712
|
readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
|
|
14466
14713
|
}>;
|
|
14467
|
-
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
|
|
14714
|
+
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
|
|
14468
14715
|
/** Send any prepared command's signed execution and record every Payment it carries. */
|
|
14469
14716
|
submitCommand: Operation<"action", "payments.executions.submitCommand", Schema.Struct<{
|
|
14470
14717
|
readonly executionId: Schema.refine<string, Schema.String>;
|
|
@@ -14544,6 +14791,12 @@ declare const executions: {
|
|
|
14544
14791
|
readonly decimals: Schema.Finite;
|
|
14545
14792
|
readonly asset: Schema.optional<Schema.Never>;
|
|
14546
14793
|
}>>;
|
|
14794
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
14795
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
14796
|
+
readonly value: Schema.String;
|
|
14797
|
+
readonly decimals: Schema.Finite;
|
|
14798
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
14799
|
+
}>>;
|
|
14547
14800
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
14548
14801
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
14549
14802
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -14559,7 +14812,7 @@ declare const executions: {
|
|
|
14559
14812
|
readonly createdAt: Schema.Codec<EpochMs, number, never, never>;
|
|
14560
14813
|
readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
|
|
14561
14814
|
}>>;
|
|
14562
|
-
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
|
|
14815
|
+
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
|
|
14563
14816
|
/** Close a prepared execution the signer refused or the caller dropped; false when it moved on. */
|
|
14564
14817
|
abandon: Operation<"action", "payments.executions.abandon", Schema.Struct<{
|
|
14565
14818
|
readonly executionId: Schema.refine<string, Schema.String>;
|
|
@@ -16356,6 +16609,12 @@ declare const runs: {
|
|
|
16356
16609
|
readonly decimals: Schema.Finite;
|
|
16357
16610
|
readonly asset: Schema.optional<Schema.Never>;
|
|
16358
16611
|
}>>;
|
|
16612
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
16613
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
16614
|
+
readonly value: Schema.String;
|
|
16615
|
+
readonly decimals: Schema.Finite;
|
|
16616
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
16617
|
+
}>>;
|
|
16359
16618
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
16360
16619
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
16361
16620
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -16454,6 +16713,12 @@ declare const runs: {
|
|
|
16454
16713
|
readonly decimals: Schema.Finite;
|
|
16455
16714
|
readonly asset: Schema.optional<Schema.Never>;
|
|
16456
16715
|
}>>;
|
|
16716
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
16717
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
16718
|
+
readonly value: Schema.String;
|
|
16719
|
+
readonly decimals: Schema.Finite;
|
|
16720
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
16721
|
+
}>>;
|
|
16457
16722
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
16458
16723
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
16459
16724
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -16471,7 +16736,7 @@ declare const runs: {
|
|
|
16471
16736
|
}>>;
|
|
16472
16737
|
}>;
|
|
16473
16738
|
}>]>;
|
|
16474
|
-
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
16739
|
+
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
16475
16740
|
/** One saved run with its exact Payslips and Payments; null when the Organization has none by that id. */
|
|
16476
16741
|
get: Operation<"query", "payroll.runs.get", Schema.Struct<{
|
|
16477
16742
|
readonly orgId: Schema.NonEmptyString;
|
|
@@ -16587,6 +16852,12 @@ declare const runs: {
|
|
|
16587
16852
|
readonly decimals: Schema.Finite;
|
|
16588
16853
|
readonly asset: Schema.optional<Schema.Never>;
|
|
16589
16854
|
}>>;
|
|
16855
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
16856
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
16857
|
+
readonly value: Schema.String;
|
|
16858
|
+
readonly decimals: Schema.Finite;
|
|
16859
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
16860
|
+
}>>;
|
|
16590
16861
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
16591
16862
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
16592
16863
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -19212,7 +19483,7 @@ declare const commands: {
|
|
|
19212
19483
|
readonly limitRaw: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
19213
19484
|
readonly allowanceKey: Schema.optional<Schema.Codec<AllowanceKey, string, never, never>>;
|
|
19214
19485
|
}>>]>;
|
|
19215
|
-
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
|
|
19486
|
+
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
|
|
19216
19487
|
/** Send the signed UserOperation, record it, and schedule its verification. */
|
|
19217
19488
|
submitExecution: Operation<"action", "permissions.commands.submitExecution", Schema.Struct<{
|
|
19218
19489
|
readonly executionId: Schema.refine<string, Schema.String>;
|
|
@@ -19308,7 +19579,7 @@ declare const commands: {
|
|
|
19308
19579
|
readonly limitRaw: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
19309
19580
|
readonly allowanceKey: Schema.optional<Schema.Codec<AllowanceKey, string, never, never>>;
|
|
19310
19581
|
}>>]>;
|
|
19311
|
-
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
|
|
19582
|
+
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
|
|
19312
19583
|
};
|
|
19313
19584
|
declare const replacements: {
|
|
19314
19585
|
/** What replacing the Organization's Roles module would carry over, with its snapshot hash. */
|
|
@@ -20164,7 +20435,7 @@ declare const replacements: {
|
|
|
20164
20435
|
readonly limitRaw: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
20165
20436
|
readonly allowanceKey: Schema.optional<Schema.Codec<AllowanceKey, string, never, never>>;
|
|
20166
20437
|
}>>]>;
|
|
20167
|
-
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
|
|
20438
|
+
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
|
|
20168
20439
|
};
|
|
20169
20440
|
declare const verifications: {
|
|
20170
20441
|
/** Read the receipt of the caller's submitted command and apply what it proves. */
|
|
@@ -20392,7 +20663,7 @@ declare const authorities: {
|
|
|
20392
20663
|
readonly everyDays: Schema.Finite;
|
|
20393
20664
|
readonly nextAt: Schema.Codec<EpochMs, number, never, never>;
|
|
20394
20665
|
}>>>;
|
|
20395
|
-
}>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN">;
|
|
20666
|
+
}>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN">;
|
|
20396
20667
|
/** Whether the caller's Account may spend this amount from this Budget right now. */
|
|
20397
20668
|
authorize: Operation<"query", "permissions.authorities.authorize", Schema.Struct<{
|
|
20398
20669
|
readonly orgId: Schema.refine<string, Schema.String>;
|
|
@@ -20474,7 +20745,7 @@ declare const configurations: {
|
|
|
20474
20745
|
readonly signerAddress: Schema.Codec<Address$1, string, never, never>;
|
|
20475
20746
|
readonly userOpSenderSafe: Schema.Codec<SafeAddress, string, never, never>;
|
|
20476
20747
|
readonly digest: Schema.Codec<`0x${string}`, string, never, never>;
|
|
20477
|
-
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
|
|
20748
|
+
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
|
|
20478
20749
|
/** Send the signed configuration, record it, and schedule its verification. */
|
|
20479
20750
|
submitExecution: Operation<"action", "permissions.configurations.submitExecution", Schema.Struct<{
|
|
20480
20751
|
readonly executionId: Schema.refine<string, Schema.String>;
|
|
@@ -20484,7 +20755,7 @@ declare const configurations: {
|
|
|
20484
20755
|
readonly executionId: Schema.refine<string, Schema.String>;
|
|
20485
20756
|
readonly commandId: Schema.Codec<PaymentCommandId, string, never, never>;
|
|
20486
20757
|
readonly userOpHash: Schema.Codec<`0x${string}`, string, never, never>;
|
|
20487
|
-
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
|
|
20758
|
+
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
|
|
20488
20759
|
};
|
|
20489
20760
|
//#endregion
|
|
20490
20761
|
//#region ../protocol/src/profiles/operations.d.ts
|
|
@@ -20809,6 +21080,12 @@ declare const receivables: {
|
|
|
20809
21080
|
readonly decimals: Schema.Finite;
|
|
20810
21081
|
readonly asset: Schema.optional<Schema.Never>;
|
|
20811
21082
|
}>>;
|
|
21083
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
21084
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
21085
|
+
readonly value: Schema.String;
|
|
21086
|
+
readonly decimals: Schema.Finite;
|
|
21087
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
21088
|
+
}>>;
|
|
20812
21089
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
20813
21090
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
20814
21091
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -20959,6 +21236,12 @@ declare const receivables: {
|
|
|
20959
21236
|
readonly decimals: Schema.Finite;
|
|
20960
21237
|
readonly asset: Schema.optional<Schema.Never>;
|
|
20961
21238
|
}>>;
|
|
21239
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
21240
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
21241
|
+
readonly value: Schema.String;
|
|
21242
|
+
readonly decimals: Schema.Finite;
|
|
21243
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
21244
|
+
}>>;
|
|
20962
21245
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
20963
21246
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
20964
21247
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -21111,6 +21394,12 @@ declare const receivables: {
|
|
|
21111
21394
|
readonly decimals: Schema.Finite;
|
|
21112
21395
|
readonly asset: Schema.optional<Schema.Never>;
|
|
21113
21396
|
}>>;
|
|
21397
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
21398
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
21399
|
+
readonly value: Schema.String;
|
|
21400
|
+
readonly decimals: Schema.Finite;
|
|
21401
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
21402
|
+
}>>;
|
|
21114
21403
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
21115
21404
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
21116
21405
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -21261,6 +21550,12 @@ declare const receivables: {
|
|
|
21261
21550
|
readonly decimals: Schema.Finite;
|
|
21262
21551
|
readonly asset: Schema.optional<Schema.Never>;
|
|
21263
21552
|
}>>;
|
|
21553
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
21554
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
21555
|
+
readonly value: Schema.String;
|
|
21556
|
+
readonly decimals: Schema.Finite;
|
|
21557
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
21558
|
+
}>>;
|
|
21264
21559
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
21265
21560
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
21266
21561
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -21411,6 +21706,12 @@ declare const receivables: {
|
|
|
21411
21706
|
readonly decimals: Schema.Finite;
|
|
21412
21707
|
readonly asset: Schema.optional<Schema.Never>;
|
|
21413
21708
|
}>>;
|
|
21709
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
21710
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
21711
|
+
readonly value: Schema.String;
|
|
21712
|
+
readonly decimals: Schema.Finite;
|
|
21713
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
21714
|
+
}>>;
|
|
21414
21715
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
21415
21716
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
21416
21717
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -21561,6 +21862,12 @@ declare const receivables: {
|
|
|
21561
21862
|
readonly decimals: Schema.Finite;
|
|
21562
21863
|
readonly asset: Schema.optional<Schema.Never>;
|
|
21563
21864
|
}>>;
|
|
21865
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
21866
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
21867
|
+
readonly value: Schema.String;
|
|
21868
|
+
readonly decimals: Schema.Finite;
|
|
21869
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
21870
|
+
}>>;
|
|
21564
21871
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
21565
21872
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
21566
21873
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -21713,6 +22020,12 @@ declare const receivables: {
|
|
|
21713
22020
|
readonly decimals: Schema.Finite;
|
|
21714
22021
|
readonly asset: Schema.optional<Schema.Never>;
|
|
21715
22022
|
}>>;
|
|
22023
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
22024
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
22025
|
+
readonly value: Schema.String;
|
|
22026
|
+
readonly decimals: Schema.Finite;
|
|
22027
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
22028
|
+
}>>;
|
|
21716
22029
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
21717
22030
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
21718
22031
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -21863,6 +22176,12 @@ declare const receivables: {
|
|
|
21863
22176
|
readonly decimals: Schema.Finite;
|
|
21864
22177
|
readonly asset: Schema.optional<Schema.Never>;
|
|
21865
22178
|
}>>;
|
|
22179
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
22180
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
22181
|
+
readonly value: Schema.String;
|
|
22182
|
+
readonly decimals: Schema.Finite;
|
|
22183
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
22184
|
+
}>>;
|
|
21866
22185
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
21867
22186
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
21868
22187
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -22016,6 +22335,12 @@ declare const inboxes: {
|
|
|
22016
22335
|
readonly decimals: Schema.Finite;
|
|
22017
22336
|
readonly asset: Schema.optional<Schema.Never>;
|
|
22018
22337
|
}>>;
|
|
22338
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
22339
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
22340
|
+
readonly value: Schema.String;
|
|
22341
|
+
readonly decimals: Schema.Finite;
|
|
22342
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
22343
|
+
}>>;
|
|
22019
22344
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
22020
22345
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
22021
22346
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -22168,6 +22493,12 @@ declare const inboxes: {
|
|
|
22168
22493
|
readonly decimals: Schema.Finite;
|
|
22169
22494
|
readonly asset: Schema.optional<Schema.Never>;
|
|
22170
22495
|
}>>;
|
|
22496
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
22497
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
22498
|
+
readonly value: Schema.String;
|
|
22499
|
+
readonly decimals: Schema.Finite;
|
|
22500
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
22501
|
+
}>>;
|
|
22171
22502
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
22172
22503
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
22173
22504
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -22682,6 +23013,12 @@ declare const inboxes: {
|
|
|
22682
23013
|
readonly decimals: Schema.Finite;
|
|
22683
23014
|
readonly asset: Schema.optional<Schema.Never>;
|
|
22684
23015
|
}>>;
|
|
23016
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
23017
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
23018
|
+
readonly value: Schema.String;
|
|
23019
|
+
readonly decimals: Schema.Finite;
|
|
23020
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
23021
|
+
}>>;
|
|
22685
23022
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
22686
23023
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
22687
23024
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -25251,7 +25588,7 @@ declare const checkouts: {
|
|
|
25251
25588
|
readonly settlementId: Schema.Codec<`0x${string}`, string, never, never>;
|
|
25252
25589
|
readonly documentKind: Schema.Literals<readonly ["memo", "invoice"]>;
|
|
25253
25590
|
}>;
|
|
25254
|
-
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
25591
|
+
}>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
25255
25592
|
/** An Invoice link's public terms, or null when the link names no Invoice. */
|
|
25256
25593
|
invoice: Operation<"query", "requests.checkouts.invoice", Schema.Struct<{
|
|
25257
25594
|
readonly linkToken: Schema.String;
|
|
@@ -26409,7 +26746,16 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
26409
26746
|
};
|
|
26410
26747
|
readonly auth: {
|
|
26411
26748
|
readonly canSendOtp: "auth.canSendOtp";
|
|
26749
|
+
readonly createEncryptionSession: "auth.createEncryptionSession";
|
|
26750
|
+
readonly clientRequests: {
|
|
26751
|
+
readonly accept: "auth.clientRequests.accept";
|
|
26752
|
+
readonly cancel: "auth.clientRequests.cancel";
|
|
26753
|
+
readonly read: "auth.clientRequests.read";
|
|
26754
|
+
readonly sendOtp: "auth.clientRequests.sendOtp";
|
|
26755
|
+
readonly verifyOtp: "auth.clientRequests.verifyOtp";
|
|
26756
|
+
};
|
|
26412
26757
|
readonly getSession: "auth.getSession";
|
|
26758
|
+
readonly resumeOtp: "auth.resumeOtp";
|
|
26413
26759
|
readonly signIn: "auth.signIn";
|
|
26414
26760
|
readonly signOut: "auth.signOut";
|
|
26415
26761
|
readonly sendVerificationOtp: "auth.sendVerificationOTP";
|
|
@@ -26419,10 +26765,6 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
26419
26765
|
readonly createOrg: "createOrg";
|
|
26420
26766
|
readonly orgs: "orgs";
|
|
26421
26767
|
};
|
|
26422
|
-
readonly clientRequests: {
|
|
26423
|
-
readonly decide: "clientRequests.decide";
|
|
26424
|
-
readonly read: "clientRequests.read";
|
|
26425
|
-
};
|
|
26426
26768
|
readonly currentUser: {
|
|
26427
26769
|
readonly get: "currentUser.get";
|
|
26428
26770
|
};
|
|
@@ -26467,8 +26809,10 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
26467
26809
|
readonly get: "me.get";
|
|
26468
26810
|
};
|
|
26469
26811
|
readonly onboarding: {
|
|
26812
|
+
readonly beginOrganization: "onboarding.beginOrganization";
|
|
26470
26813
|
readonly completeOrganization: "onboarding.completeOrganization";
|
|
26471
26814
|
readonly completePerson: "onboarding.completePerson";
|
|
26815
|
+
readonly listOrganizationSetups: "onboarding.listOrganizationSetups";
|
|
26472
26816
|
};
|
|
26473
26817
|
readonly smartAccount: {
|
|
26474
26818
|
readonly claim: "smartAccount.claim";
|
|
@@ -26553,6 +26897,9 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
26553
26897
|
};
|
|
26554
26898
|
readonly retry: "org.retry";
|
|
26555
26899
|
readonly roles: "org.roles";
|
|
26900
|
+
readonly setup: {
|
|
26901
|
+
readonly subscribe: "org.setup.subscribe";
|
|
26902
|
+
};
|
|
26556
26903
|
readonly treasury: "org.treasury";
|
|
26557
26904
|
};
|
|
26558
26905
|
readonly organization: {
|
|
@@ -26889,6 +27236,9 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
26889
27236
|
readonly health: "system.health";
|
|
26890
27237
|
readonly ping: "system.ping";
|
|
26891
27238
|
};
|
|
27239
|
+
readonly mcp: {
|
|
27240
|
+
readonly request: "mcp.request";
|
|
27241
|
+
};
|
|
26892
27242
|
readonly _internal: {
|
|
26893
27243
|
readonly accounts: {
|
|
26894
27244
|
readonly fund: "_internal.accounts.fund";
|
|
@@ -28856,9 +29206,9 @@ declare const OrganizationSetupSchema: Schema.Struct<{
|
|
|
28856
29206
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
28857
29207
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
28858
29208
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
28859
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
29209
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
28860
29210
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
28861
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
29211
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
28862
29212
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
28863
29213
|
readonly method: Schema.String;
|
|
28864
29214
|
readonly retryable: Schema.Boolean;
|
|
@@ -28872,7 +29222,7 @@ declare const OrganizationSetupSchema: Schema.Struct<{
|
|
|
28872
29222
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
28873
29223
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
28874
29224
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
28875
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
29225
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
28876
29226
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
28877
29227
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
28878
29228
|
readonly durationMs: Schema.Finite;
|
|
@@ -28893,9 +29243,9 @@ declare const OrganizationSetupSchema: Schema.Struct<{
|
|
|
28893
29243
|
readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
28894
29244
|
readonly correlationId: Schema.optionalKey<Schema.String>;
|
|
28895
29245
|
readonly layer: Schema.optionalKey<Schema.String>;
|
|
28896
|
-
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
29246
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
|
|
28897
29247
|
readonly chain: Schema.optionalKey<Schema.Struct<{
|
|
28898
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
29248
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
28899
29249
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
28900
29250
|
readonly method: Schema.String;
|
|
28901
29251
|
readonly retryable: Schema.Boolean;
|
|
@@ -28909,7 +29259,7 @@ declare const OrganizationSetupSchema: Schema.Struct<{
|
|
|
28909
29259
|
readonly providerMessage: Schema.optionalKey<Schema.String>;
|
|
28910
29260
|
readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
28911
29261
|
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
28912
|
-
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
29262
|
+
readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
|
|
28913
29263
|
readonly httpStatus: Schema.optionalKey<Schema.Finite>;
|
|
28914
29264
|
readonly rpcCode: Schema.optionalKey<Schema.Finite>;
|
|
28915
29265
|
readonly durationMs: Schema.Finite;
|
|
@@ -29039,6 +29389,13 @@ declare const PaymentQuoteSchema: Schema.Struct<{
|
|
|
29039
29389
|
readonly currency: Schema.optional<Schema.Never>;
|
|
29040
29390
|
readonly decimals: Schema.optional<Schema.Never>;
|
|
29041
29391
|
}>;
|
|
29392
|
+
/** The part of `funding` that covers rate movement before the transfer is funded. */
|
|
29393
|
+
readonly slippage: Schema.optionalKey<Schema.Struct<{
|
|
29394
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
29395
|
+
readonly value: Schema.String;
|
|
29396
|
+
readonly currency: Schema.optional<Schema.Never>;
|
|
29397
|
+
readonly decimals: Schema.optional<Schema.Never>;
|
|
29398
|
+
}>>;
|
|
29042
29399
|
readonly expiresAt: Schema.Finite;
|
|
29043
29400
|
readonly recipient: Schema.Struct<{
|
|
29044
29401
|
readonly label: Schema.String;
|
|
@@ -29048,8 +29405,9 @@ declare const PaymentQuoteSchema: Schema.Struct<{
|
|
|
29048
29405
|
readonly onCapxul: Schema.Boolean;
|
|
29049
29406
|
}>;
|
|
29050
29407
|
readonly rate: Schema.optionalKey<Schema.String>;
|
|
29408
|
+
/** Read with any code: an unknown one does not make the quote unreadable. */
|
|
29051
29409
|
readonly warnings: Schema.$Array<Schema.Struct<{
|
|
29052
|
-
readonly code: Schema.
|
|
29410
|
+
readonly code: Schema.String;
|
|
29053
29411
|
readonly message: Schema.String;
|
|
29054
29412
|
}>>;
|
|
29055
29413
|
}>;
|
|
@@ -29146,6 +29504,13 @@ declare const Payment$1: Schema.Struct<{
|
|
|
29146
29504
|
readonly decimals: Schema.Finite;
|
|
29147
29505
|
readonly asset: Schema.optional<Schema.Never>;
|
|
29148
29506
|
}>>;
|
|
29507
|
+
/** What Bridge reports reached the recipient's bank. Present once delivery is done. */
|
|
29508
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
29509
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
29510
|
+
readonly value: Schema.String;
|
|
29511
|
+
readonly decimals: Schema.Finite;
|
|
29512
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
29513
|
+
}>>;
|
|
29149
29514
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
29150
29515
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
29151
29516
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -29238,6 +29603,12 @@ declare const SubmittedPaymentCommandExecutionSchema: Schema.Struct<{
|
|
|
29238
29603
|
readonly decimals: Schema.Finite;
|
|
29239
29604
|
readonly asset: Schema.optional<Schema.Never>;
|
|
29240
29605
|
}>>;
|
|
29606
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
29607
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
29608
|
+
readonly value: Schema.String;
|
|
29609
|
+
readonly decimals: Schema.Finite;
|
|
29610
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
29611
|
+
}>>;
|
|
29241
29612
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
29242
29613
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
29243
29614
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -34211,8 +34582,9 @@ declare const ApprovalSchema: Schema.Struct<{
|
|
|
34211
34582
|
readonly name: Schema.String;
|
|
34212
34583
|
readonly explorerUrl: Schema.String;
|
|
34213
34584
|
}>;
|
|
34585
|
+
/** Read with any code: an unknown one does not make the approval unreadable. */
|
|
34214
34586
|
readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
34215
|
-
readonly code: Schema.
|
|
34587
|
+
readonly code: Schema.String;
|
|
34216
34588
|
readonly message: Schema.String;
|
|
34217
34589
|
}>>>;
|
|
34218
34590
|
}>;
|
|
@@ -34370,6 +34742,12 @@ declare const PayrollRunDetailSchema: Schema.Struct<{
|
|
|
34370
34742
|
readonly decimals: Schema.Finite;
|
|
34371
34743
|
readonly asset: Schema.optional<Schema.Never>;
|
|
34372
34744
|
}>>;
|
|
34745
|
+
readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
|
|
34746
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
34747
|
+
readonly value: Schema.String;
|
|
34748
|
+
readonly decimals: Schema.Finite;
|
|
34749
|
+
readonly asset: Schema.optional<Schema.Never>;
|
|
34750
|
+
}>>;
|
|
34373
34751
|
readonly outputExact: Schema.optionalKey<Schema.Boolean>;
|
|
34374
34752
|
readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
|
|
34375
34753
|
readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -36802,6 +37180,7 @@ interface Payment {
|
|
|
36802
37180
|
} | null;
|
|
36803
37181
|
readonly recipient: WirePayment["recipient"];
|
|
36804
37182
|
readonly requestedOutput?: NonNullable<WirePayment["requestedOutput"]>;
|
|
37183
|
+
readonly deliveredOutput?: NonNullable<WirePayment["deliveredOutput"]>;
|
|
36805
37184
|
readonly outputExact?: boolean;
|
|
36806
37185
|
readonly recipientOnCapxul?: boolean;
|
|
36807
37186
|
readonly recipientWarning?: NonNullable<WirePayment["recipientWarning"]>;
|
|
@@ -38331,6 +38710,8 @@ type Readiness = {
|
|
|
38331
38710
|
readonly failure: Failure;
|
|
38332
38711
|
readonly retryable: boolean;
|
|
38333
38712
|
};
|
|
38713
|
+
/** The calls whose failed work faults the identity machine. */
|
|
38714
|
+
type FaultingCall = "RequestOtp" | "VerifyOtp" | "ReadSession" | "SignOut";
|
|
38334
38715
|
type IdentityState =
|
|
38335
38716
|
/** The INITIAL state: a session probe is in flight and the machine knows
|
|
38336
38717
|
* nothing yet. Distinct from `signed_out`, which is a settled answer. Without
|
|
@@ -38361,6 +38742,10 @@ type IdentityState =
|
|
|
38361
38742
|
} | {
|
|
38362
38743
|
readonly phase: "faulted";
|
|
38363
38744
|
readonly failure: Failure;
|
|
38745
|
+
/** The call whose work faulted the machine. A failed `ReadSession` is
|
|
38746
|
+
* the one fault after which the machine does not know whether the
|
|
38747
|
+
* person is signed in (CAP-420). */
|
|
38748
|
+
readonly failedAt: FaultingCall;
|
|
38364
38749
|
/** Non-null exactly when an OTP entry is resumable — the incumbent's
|
|
38365
38750
|
* `email !== null && otpRequestedAt !== null` pair,
|
|
38366
38751
|
* made structural. */
|
|
@@ -39261,10 +39646,15 @@ interface SystemMethods {
|
|
|
39261
39646
|
}
|
|
39262
39647
|
//#endregion
|
|
39263
39648
|
//#region src/media/images.d.ts
|
|
39264
|
-
/**
|
|
39649
|
+
/**
|
|
39650
|
+
* The upload's URL request can fail as its row says. The POST itself fails as
|
|
39651
|
+
* `PROVIDER_ERROR` (no answer, or a refusal), or as `PROVIDER_RESPONSE_INVALID`
|
|
39652
|
+
* when its answer names no storage id.
|
|
39653
|
+
*/
|
|
39265
39654
|
type UploadImageResult = CapxulResult<{
|
|
39266
39655
|
readonly storageId: string;
|
|
39267
|
-
}, CallError<typeof images.generateUploadUrl> |
|
|
39656
|
+
}, CallError<typeof images.generateUploadUrl> | UploadFailureCode>;
|
|
39657
|
+
type UploadFailureCode = "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID";
|
|
39268
39658
|
interface MediaMethods {
|
|
39269
39659
|
uploadImage(blob: Blob, options?: InvocationControls): Promise<UploadImageResult>;
|
|
39270
39660
|
setProfileImage(input: OperationInput<typeof images.setProfileImage>, options?: InvocationControls): Promise<OperationResult<typeof images.setProfileImage>>;
|
|
@@ -39522,6 +39912,62 @@ declare function formatMoney(money: FormattableMoney, options?: {
|
|
|
39522
39912
|
readonly grammar?: "symbol" | "code";
|
|
39523
39913
|
}): string;
|
|
39524
39914
|
//#endregion
|
|
39915
|
+
//#region ../protocol/src/errors/withheld.d.ts
|
|
39916
|
+
/**
|
|
39917
|
+
* A cause deliberately not carried (ADR-0023 R11): the result keeps the name
|
|
39918
|
+
* of what was caught and says why the rest is withheld. The one licensed way
|
|
39919
|
+
* to drop a cause.
|
|
39920
|
+
*/
|
|
39921
|
+
declare function withheld(cause: unknown, reason: string): Error;
|
|
39922
|
+
//#endregion
|
|
39923
|
+
//#region ../protocol/src/errors/projection.d.ts
|
|
39924
|
+
/**
|
|
39925
|
+
* How much text a producer may send. `full` (backend, SDK) sends every key,
|
|
39926
|
+
* each string masked and bounded. `none` (CLI) sends closed facts only: no
|
|
39927
|
+
* message, no cause and no provider request id.
|
|
39928
|
+
*/
|
|
39929
|
+
type FailureTextPolicy = "full" | "none";
|
|
39930
|
+
/** The properties of one failure row. Each key is absent when the failure does not name it. */
|
|
39931
|
+
interface FailureProperties {
|
|
39932
|
+
/** The error code. */
|
|
39933
|
+
readonly error_kind: CapxulErrorCode;
|
|
39934
|
+
/** Who acts on the failure. */
|
|
39935
|
+
readonly failure_class: FailureClass;
|
|
39936
|
+
/** The Capxul operation that failed. */
|
|
39937
|
+
readonly operation?: string;
|
|
39938
|
+
readonly failure_mode?: FailureMode;
|
|
39939
|
+
readonly provider?: ProviderName;
|
|
39940
|
+
/** The provider's own operation (`details.operation` of a provider failure). */
|
|
39941
|
+
readonly provider_operation?: string;
|
|
39942
|
+
readonly provider_code?: string;
|
|
39943
|
+
readonly http_status?: number;
|
|
39944
|
+
readonly field?: string;
|
|
39945
|
+
readonly problem?: ProviderProblem;
|
|
39946
|
+
readonly request_id?: string;
|
|
39947
|
+
/**
|
|
39948
|
+
* How long the call ran before it failed, in whole milliseconds, as the
|
|
39949
|
+
* producer measured it (`details.elapsed_ms`, CAP-387). Evidence only.
|
|
39950
|
+
*/
|
|
39951
|
+
readonly elapsed_ms?: number;
|
|
39952
|
+
readonly error_message?: string;
|
|
39953
|
+
/** The cause chain, outermost first. */
|
|
39954
|
+
readonly error_cause?: string;
|
|
39955
|
+
readonly $issue_name: string;
|
|
39956
|
+
/** `code:mode:operation`, so one issue is one cause at one operation. */
|
|
39957
|
+
readonly $exception_fingerprint: string;
|
|
39958
|
+
}
|
|
39959
|
+
/**
|
|
39960
|
+
* The PostHog properties of a failure, under one text policy. `operation` is
|
|
39961
|
+
* the Capxul operation that failed. `details.operation` is the provider's
|
|
39962
|
+
* operation only on a provider failure (one that names `details.provider`);
|
|
39963
|
+
* on any other failure it is not sent, because it names a step of Capxul's
|
|
39964
|
+
* own and not a provider call.
|
|
39965
|
+
*/
|
|
39966
|
+
declare function failureProperties(error: CapxulError, options: {
|
|
39967
|
+
readonly operation: string;
|
|
39968
|
+
readonly text: FailureTextPolicy;
|
|
39969
|
+
}): FailureProperties;
|
|
39970
|
+
//#endregion
|
|
39525
39971
|
//#region ../protocol/src/evm/payments-abi.d.ts
|
|
39526
39972
|
/** Immutable CapxulPaymentsV2 deployment on Base Sepolia. */
|
|
39527
39973
|
declare const CAPXUL_PAYMENTS_V2_ADDRESS: Address;
|
|
@@ -39673,6 +40119,10 @@ interface HostObservability {
|
|
|
39673
40119
|
readonly failures: ObservationAdapter;
|
|
39674
40120
|
readonly product: TelemetryPort;
|
|
39675
40121
|
}
|
|
40122
|
+
/**
|
|
40123
|
+
* The subset of a posthog-js client the SDK may call. Only `capture` is
|
|
40124
|
+
* required: a host that only wants event capture can omit the others.
|
|
40125
|
+
*/
|
|
39676
40126
|
interface PostHogObservabilityClient {
|
|
39677
40127
|
capture(event: string, properties?: Readonly<Record<string, unknown>>): unknown;
|
|
39678
40128
|
captureException?(exception: Error, properties?: Readonly<Record<string, unknown>>): unknown;
|
|
@@ -39680,7 +40130,20 @@ interface PostHogObservabilityClient {
|
|
|
39680
40130
|
group?(groupType: string, groupKey: string, properties?: Readonly<Record<string, unknown>>): unknown;
|
|
39681
40131
|
reset?(): unknown;
|
|
39682
40132
|
}
|
|
40133
|
+
/** Masked factory words from the SDK's private original typed-failure path.
|
|
40134
|
+
* These are an in-process host capability, never serialized event authority.
|
|
40135
|
+
*/
|
|
40136
|
+
interface PostHogFailureCanonicalWords {
|
|
40137
|
+
readonly error_message?: string;
|
|
40138
|
+
readonly $exception_message?: string;
|
|
40139
|
+
readonly $issue_description?: string;
|
|
40140
|
+
readonly exceptionValue?: string;
|
|
40141
|
+
}
|
|
40142
|
+
/** Host capture seam for SDK failures only. Delivery remains best effort. */
|
|
40143
|
+
type PostHogFailureCapture = (event: string, properties: Readonly<Record<string, unknown>>, canonicalWords?: PostHogFailureCanonicalWords) => unknown;
|
|
39683
40144
|
interface PostHogObservabilityOptions {
|
|
40145
|
+
/** Optional failure-only capture hook; omission uses the client's capture. */
|
|
40146
|
+
readonly failureCapture?: PostHogFailureCapture;
|
|
39684
40147
|
/** Consent / kill-switch seam. Defaults to enabled. */
|
|
39685
40148
|
readonly enabled?: boolean | (() => boolean);
|
|
39686
40149
|
/** Omission preserves bootstrap engineering. False/throw closes the acquired runtime's collection. */
|
|
@@ -39757,16 +40220,19 @@ interface HandledErrorReportContext {
|
|
|
39757
40220
|
readonly layer?: string;
|
|
39758
40221
|
/** Host input is normalized at the reporting boundary. */
|
|
39759
40222
|
readonly operation?: string;
|
|
40223
|
+
/** The provider of an error that is not a `CapxulError`; a `CapxulError` names its own. */
|
|
39760
40224
|
readonly provider?: string;
|
|
39761
|
-
|
|
40225
|
+
/** The mode of an error that is not a `CapxulError`; a `CapxulError` names its own. */
|
|
39762
40226
|
readonly failure_mode?: FailureMode;
|
|
39763
40227
|
}
|
|
39764
40228
|
/**
|
|
39765
40229
|
* Capture an error as a `$exception` event through the telemetry port,
|
|
39766
40230
|
* formatted for PostHog Error Tracking.
|
|
39767
40231
|
*
|
|
39768
|
-
*
|
|
39769
|
-
*
|
|
40232
|
+
* The failure facts are the failure row (`failureProperties`, ADR-0039 D6)
|
|
40233
|
+
* under the full text policy. An error that is not a `CapxulError` is
|
|
40234
|
+
* reported as `UNKNOWN`; its text is withheld, since a host error can quote
|
|
40235
|
+
* anything. Parses stack traces into `$exception_list` format.
|
|
39770
40236
|
* Fire-and-forget: telemetry defects are silently swallowed.
|
|
39771
40237
|
* Returns `Effect<void, never>` for use in Effect pipelines; the underlying
|
|
39772
40238
|
* adapter work is synchronous, so callers outside Effect contexts can
|
|
@@ -39796,4 +40262,21 @@ type CheckoutLinkReference = {
|
|
|
39796
40262
|
/** Build a reference URL. The consumer still reads authoritative terms from the backend. */
|
|
39797
40263
|
declare function checkoutUrl(frontendOrigin: string, reference: CheckoutLinkReference): string;
|
|
39798
40264
|
//#endregion
|
|
39799
|
-
export { AuthMethods as $, RequestPaymentConfirmation as $a, PaymentDocumentsMethods as $i, PaymentPrepared as $n, ORGANIZATION_SETUP_REASONS as $o, PayrollRunApprovalInput as $r, AddressBookMethods as $t, formatAssetAmount as A, localPrivateKeyAccountProvider as Aa, MeProfile as Ai, VerificationInput as An, TelemetryIdentifyInput as Ao, ApprovalsMethods as Ar, Money as As, Budget as At, IdentityProfileDetails as B, PreparedOfferCheckoutExecution as Ba, ActivityKind as Bi, TargetReference as Bn, oauthBearerAuthClient as Bo, PermissionMethods as Br, FAILURE_MODES as Bs, DestinationAddInput as Bt, OpenfortBrowserSigner as C, SignerStatusStore as Ca, AccountLifecycle as Ci, BankDetailsOverview as Cn, OfferedAuthority as Co, valueActivitySummary as Cr, AuthUserId as Cs, InvitationSubscriptionOptions as Ct, CAPXUL_PAYMENTS_V2_ADDRESS as D, AccountRequirement as Da, DepositInstructions as Di, BankAccountField as Dn, CurrentPolicy as Do, ApprovalInput as Dr, Errors as Ds, InvitePreviewInput as Dt, createOpenfortBrowserSigner as E, AccountProviderSource as Ea, AccountMethods as Ei, BankAccountDetails as En, BudgetIntent as Eo, TOKENS as Er, toAddress as Es, InvitePrepared as Et, MoneyParseErrorReason as F, FixedOfferDraft as Fa, ActivityAnnotation as Fi, VerificationQuestion as Fn, CapxulOperation as Fo, BudgetLeft as Fr, isCapxulError as Fs, BankingMethods as Ft, SystemHealth as G, PrepareInvoiceCheckoutExecutionInput as Ga, ActivityReference as Gi, OrganizationPaymentRetryPreview as Gn, AuthCacheError as Go, PermissionReplaceInput as Gr, DestinationRemoveInput as Gt, IdentityRuntimeSendResult as H, InvoiceCheckoutReconciliation as Ha, ActivityMethods as Hi, OrganizationPaymentBatchInput as Hn, ObservationContext as Ho, PermissionPolicyChange as Hr, CAPXUL_ERROR_CODES as Hs, DestinationListInput as Ht, isMoneyParseError as I, FixedOfferDraftSchema as Ia, ActivityAnnotationInput as Ii, VerificationStatus as In, NormalizedCapxulOperation as Io, PermissionAssignInput as Ir, CHAIN_UPSTREAMS as Is, BankDepositCandidatesOptions as It, destination as J, PreparedRequestCheckoutExecution as Ja, ActivitySummaryTotal as Ji, Payment as Jn, CachedJwt as Jo, PermissionCommandView as Jr, ActorProfileMethods as Jt, SystemMethods as K, PrepareRequestCheckoutExecutionInput as Ka, ActivitySummary as Ki, OrganizationPaymentsMethods as Kn, AuthCachePort as Ko, PermissionRevokeInput as Kr, DestinationsMethods as Kt, parseMoney as L, OfferCheckout as La, ActivityDetail as Li, RecipientResolution as Ln, isCapxulOperation as Lo, PermissionAssignmentEffect as Lr, ChainCause as Ls, BankDepositMethods as Lt, requireAsset as M, CheckoutReconciliation as Ma, inboxPhase as Mi, VerificationOperations as Mn, TelemetryPortEvent as Mo, PermissionApprovalInput as Mr, toCurrencyCode as Ms, OrgMeMethod as Mt, toRaw as N, CheckoutState as Na, paymentPhase as Ni, VerificationAnswers as Nn, TelemetryPort as No, PermissionWrite as Nr, CapxulError as Ns, OrgMeOptions as Nt, formatMoney as O, Eip1193Provider as Oa, Home as Oi, BankAccountFilter as On, Permission as Oo, ApprovalOutcome as Or, AssetAmount as Os, OrgInvitations as Ot, MoneyParseError as P, FixedOffer as Pa, requestPhase as Pi, VerificationPersonInput as Pn, CAPXUL_OPERATIONS as Po, decodePermissionIntent as Pr, CapxulErrorDetails as Ps, BankDetailsMethods as Pt, CurrentUserMethods as Q, RequestCheckoutSummary as Qa, PAYMENT_STATUSES as Qi, PaymentMoney as Qn, Page as Qo, CancelApprovalInput as Qr, AddressBookLabelInput as Qt, CapxulClient as R, OfferCheckoutPreparation as Ra, ActivityFilter as Ri, Ref$1 as Rn, normalizeCapxulOperation as Ro, PermissionChangeInput as Rr, ChainUpstream as Rs, BankDepositsListOptions as Rt, OpenfortBrowserAuth as S, SignerStatus as Sa, Approval as Si, BankDetails as Sn, InvitePreview as So, Valuation as Sr, AuthSession as Ss, InvitationSnapshot as St, OpenfortBrowserSignerOptions as T, AccountProvider as Ta, isSettingUpLifecycle as Ti, BankAccount as Tn, PermissionReplacementPreview as To, AssetMetadata as Tr, EVM_ADDRESS_RE as Ts, InviteOptions as Tt, MediaMethods as U, InvoiceCheckoutState as Ua, ActivityPage as Ui, OrganizationPaymentInput as Un, ObservationDelivery as Uo, PermissionPrepared as Ur, CapxulErrorCode as Us, DestinationPayload as Ut, IdentityRuntime as V, InvoiceCheckoutPreparation as Va, ActivityListParams as Vi, TargetsMethods as Vn, ObservationAdapter as Vo, PermissionOptions as Vr, FailureMode as Vs, DestinationKind as Vt, UploadImageResult as W, InvoiceCheckoutSummary as Wa, ActivityRange as Wi, OrganizationPaymentItemInput as Wn, SdkFailureObservation as Wo, PermissionReadResult as Wr, EXPECTED_OPERATION_OUTCOMES as Ws, DestinationRail as Wt, isRestoring as X, RequestCheckoutReconciliation as Xa, PaymentActivityEvidence as Xi, PaymentDocumentKind as Xn, CapxulResult as Xo, PermissionIntent as Xr, AddressBookAddInput as Xt, isClaimed as Y, RequestCheckoutPreparation as Ya, MovementActivityEvidence as Yi, PaymentDirection as Yn, ActorReference as Yo, SubmittedPermissionExecution as Yr, ActorRelationshipMethods as Yt, CurrentUserContext as Z, RequestCheckoutState as Za, PAYMENT_DIRECTIONS as Zi, PaymentDocumentRef as Zn, OperationResult as Zo, OrganizationApprovalInput as Zr, AddressBookEntry as Zt, OpenfortEmbeddedWalletPort as _, ActorRef as _a, PayrollTermsUnit as _i, BankCurrency as _n, InvitationRecovery as _o, HoldingsMethods as _r, HANDLE_RE as _s, OrganizationAccess as _t, captureExceptionSync as a, CompletedPersonProfile as aa, AuthorizeRunOptions as ai, InboxFulfillOptions as an, OrganizationSetupPageInput as ao, PaymentsPayInput as ar, BudgetId as as, IdentityTransition as at, deriveDevPrivateKey as b, CapxulSigner as ba, PayrollGroupInputSchema as bi, BankDepositMatchCandidate as bn, InviteGrant as bo, Rate as br, toHandle as bs, RoleDefinition as bt, CapxulClientInput as c, OrganizationOnboardingInput as ca, PayrollGroupInput as ci, CheckoutsMethods as cn, Unsubscribe as co, PaymentDocumentOptions as cr, toBudgetId as cs, Readiness as ct, PostHogObservabilityOptions as d, PersonOnboardingInput as da, PayrollMethods as di, PayRequestRegisteredInput as dn, GranteeRef as do, SupportingReceiptInput as dr, Account$1 as ds, MemberIdentityProjection as dt, PaymentDocumentDownload as ea, RedirectApprovalInput as ei, ActorRequest as en, RequestPaymentTerms as eo, PaymentSnapshot as er, OrgId as es, Session as et, postHogObservability as f, ReadyAccountLifecycle as fa, PayrollOptions as fi, isCheckoutSettlementConsumed as fn, InvitationAcceptInput as fo, PaymentQuoteInput as fr, AccountId as fs, MemberStatus as ft, OpenfortEmbeddedWalletApi as g, PayoutAddress as ga, PayrollRuns as gi, BankAccountsMethods as gn, InvitationPhase as go, positionPeg as gr, toCountryCode as gs, OrgView as gt, openfortEmbeddedSignerFromWallet as h, Profile as ha, PayrollRunStatus as hi, BankAccountRequirementsInput as hn, InvitationPageInput as ho, SmartAccountMethods as hr, TesterKind as hs, OrgScopedMethods as ht, captureException as i, LineItemV3 as ia, AuthorizeRunInput as ii, InboxApproveInput as in, OrganizationSetupPage as io, PaymentType as ir, toPayrollGroupId as is, IdentityEvent as it, parseAssetAmount as j, CheckoutReceipt as ja, ActivityPhase as ji, VerificationMethods as jn, TelemetryEvent as jo, InvitationApprovalInput as jr, toAssetId as js, OrgMe as jt, assetSymbolFor as k, eip1193AccountProvider as ka, MeMethods as ki, BankAccountTarget as kn, TelemetryGroupInput as ko, ApprovalWaitOptions as kr, AssetId as ks, OwnInvitationsMethod as kt, HostObservability as l, OrganizationOnboardingOptions as la, PayrollGroupMember as li, CreateOfferCheckoutInput as ln, AuthorityRef as lo, PaymentDocumentOptionsSchema as lr, toPermissionAssignmentId as ls, StateLabel as lt, embeddedSigner as m, IdentityMethods as ma, PayrollRunItemInput as mi, BankAccountRequirements as mn, InvitationPage as mo, SmartAccount as mr, CountryCode as ms, OrgMethods as mt, checkoutUrl as n, PaymentDocumentRender as na, RetryApprovalInput as ni, ActorRequestsMethods as nn, InvocationControls as no, PaymentSubscriptionOptions as nr, PayrollGroupId as ns, ClientRequests as nt, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT as o, OnboardingMethods as oa, PayrollEngagementTerms as oi, InboxItem as on, OrganizationSetupSnapshot as oo, PaymentsPayOptions as or, PermissionId as os, IdentityState as ot, OpenfortEmbeddedSignerInput as p, CompleteProfileInput as pa, PayrollRun as pi, BankAccountAddInput as pn, InvitationId as po, FinancialOpsMethods as pr, toAccountId as ps, MemberView as pt, Destination as q, PreparedInvoiceCheckoutExecution as qa, ActivitySummaryParams as qi, PaymentsMethods as qn, AuthCachePortTag as qo, PermissionCommandSnapshot as qr, ActorProfile as qt, HandledErrorReportContext as r, PaymentDocumentVerification as ra, decodePayrollRunInput as ri, OffersMethods as rn, OrganizationSetup as ro, PaymentTiming as rr, PayrollRunId as rs, ClientRequestView as rt, createCapxulClient as s, OrganizationOnboarding as sa, PayrollGroup as si, InboxMethods as sn, SetupIssue as so, InvoiceDraft as sr, RoleKey as ss, OrgLane as st, CheckoutLinkReference as t, PaymentDocumentReadRef as ta, RequestApprovalInput as ti, ActorRequestIssueInput as tn, PaymentQuote as to, PaymentStatus as tr, toOrgId as ts, AccountSetupPolicy as tt, PostHogObservabilityClient as u, PersonOnboarding as ua, PayrollGroupsMethods as ui, PayInvoiceRegisteredInput as un, EndingReason as uo, PaymentInstructionInput as ur, toPermissionId as us, AssignmentProjection as ut, openfortEmbeddedWalletPort as v, fingerprintPaymentIntent as va, PayrollRunSnapshot as vi, BankDeposit as vn, InvitationTarget as vo, CurrentHoldings as vr, Handle as vs, OrganizationAccount as vt, OpenfortBrowserSignerBootstrap as w, injectedWalletSigner as wa, AccountSetupStep as wi, SettlementToken as wn, SpendingScope as wo, valueIn as wr, Address$1 as ws, InviteMethod as wt, devPrivateKeySigner as x, Eip1193RequestProvider as xa, PayrollRunDetail as xi, BankDepositsPage as xn, InviteInput as xo, RateSource as xr, toPartyId as xs, RoleView as xt, DevPrivateKeySignerInput as y, CapxulDigestSigner as ya, PayrollGroupIdSchema as yi, BankDepositCandidatesPage as yn, InvitationView as yo, AccountsMethods as yr, PartyId as ys, OrganizationAuditLogItem as yt, CreateCapxulClientInput as z, PrepareOfferCheckoutExecutionInput as za, ActivityItem as zi, ResolvedTarget as zn, OAuthBearerAuthClientInput as zo, PermissionCreateInput as zr, RevertSummary as zs, Destination$1 as zt };
|
|
40265
|
+
//#region ../protocol/src/primitives/warning.d.ts
|
|
40266
|
+
/** The warning codes this build writes and acts on. */
|
|
40267
|
+
declare const WARNING_CODES: readonly [
|
|
40268
|
+
/** The recipient is on Capxul: paying their Capxul account is free and instant. */
|
|
40269
|
+
"RECIPIENT_ON_CAPXUL"];
|
|
40270
|
+
type WarningCode = (typeof WARNING_CODES)[number];
|
|
40271
|
+
/** A warning as a client reads it: any code, and the sentence to show. */
|
|
40272
|
+
declare const WarningSchema: Schema.Struct<{
|
|
40273
|
+
readonly code: Schema.String;
|
|
40274
|
+
readonly message: Schema.String;
|
|
40275
|
+
}>;
|
|
40276
|
+
type Warning = typeof WarningSchema.Type;
|
|
40277
|
+
/** Whether `warning` has this known code. */
|
|
40278
|
+
declare function hasWarningCode<Code extends WarningCode>(warning: Warning, code: Code): warning is Warning & {
|
|
40279
|
+
readonly code: Code;
|
|
40280
|
+
};
|
|
40281
|
+
//#endregion
|
|
40282
|
+
export { MediaMethods as $, InvoiceCheckoutState as $a, ActivityPage as $i, OrganizationPaymentInput as $n, ObservationDelivery as $o, PermissionPrepared as $r, CapxulError as $s, DestinationPayload as $t, OpenfortBrowserSignerBootstrap as A, CapxulSigner as Aa, PayrollGroupInputSchema as Ai, BankDepositMatchCandidate as An, InviteGrant as Ao, Rate as Ar, toHandle as As, RoleDefinition as At, formatAssetAmount as B, localPrivateKeyAccountProvider as Ba, MeProfile as Bi, VerificationInput as Bn, TelemetryIdentifyInput as Bo, ApprovalsMethods as Br, Errors as Bs, Budget as Bt, OpenfortEmbeddedWalletPort as C, CompleteProfileInput as Ca, PayrollRun as Ci, BankAccountAddInput as Cn, InvitationId as Co, FinancialOpsMethods as Cr, toAccountId as Cs, MemberView as Ct, devPrivateKeySigner as D, ActorRef as Da, PayrollTermsUnit as Di, BankCurrency as Dn, InvitationRecovery as Do, HoldingsMethods as Dr, HANDLE_RE as Ds, OrganizationAccess as Dt, deriveDevPrivateKey as E, PayoutAddress as Ea, PayrollRuns as Ei, BankAccountsMethods as En, InvitationPhase as Eo, positionPeg as Er, toCountryCode as Es, OrgView as Et, FailureTextPolicy as F, AccountProvider as Fa, isSettingUpLifecycle as Fi, BankAccount as Fn, PermissionReplacementPreview as Fo, AssetMetadata as Fr, EVM_ADDRESS_RE as Fs, InviteOptions as Ft, MoneyParseErrorReason as G, FixedOfferDraft as Ga, ActivityAnnotation as Gi, VerificationQuestion as Gn, CapxulOperation as Go, BudgetLeft as Gr, ProviderProblem as Gs, BankingMethods as Gt, requireAsset as H, CheckoutReconciliation as Ha, inboxPhase as Hi, VerificationOperations as Hn, TelemetryPortEvent as Ho, PermissionApprovalInput as Hr, PROVIDER_PROBLEMS as Hs, OrgMeMethod as Ht, failureProperties as I, AccountProviderSource as Ia, AccountMethods as Ii, BankAccountDetails as In, BudgetIntent as Io, TOKENS as Ir, toAddress as Is, InvitePrepared as It, CapxulClient as J, OfferCheckoutPreparation as Ja, ActivityFilter as Ji, Ref$1 as Jn, normalizeCapxulOperation as Jo, PermissionChangeInput as Jr, AssetAmount as Js, BankDepositsListOptions as Jt, isMoneyParseError as K, FixedOfferDraftSchema as Ka, ActivityAnnotationInput as Ki, VerificationStatus as Kn, NormalizedCapxulOperation as Ko, PermissionAssignInput as Kr, ProviderRefusalMode as Ks, BankDepositCandidatesOptions as Kt, withheld as L, AccountRequirement as La, DepositInstructions as Li, BankAccountField as Ln, CurrentPolicy as Lo, ApprovalInput as Lr, FAILURE_CLASSES as Ls, InvitePreviewInput as Lt, createOpenfortBrowserSigner as M, SignerStatus as Ma, Approval as Mi, BankDetails as Mn, InvitePreview as Mo, Valuation as Mr, AuthSession as Ms, InvitationSnapshot as Mt, CAPXUL_PAYMENTS_V2_ADDRESS as N, SignerStatusStore as Na, AccountLifecycle as Ni, BankDetailsOverview as Nn, OfferedAuthority as No, valueActivitySummary as Nr, AuthUserId as Ns, InvitationSubscriptionOptions as Nt, OpenfortBrowserAuth as O, fingerprintPaymentIntent as Oa, PayrollRunSnapshot as Oi, BankDeposit as On, InvitationTarget as Oo, CurrentHoldings as Or, Handle as Os, OrganizationAccount as Ot, FailureProperties as P, injectedWalletSigner as Pa, AccountSetupStep as Pi, SettlementToken as Pn, SpendingScope as Po, valueIn as Pr, Address$1 as Ps, InviteMethod as Pt, IdentityRuntimeSendResult as Q, InvoiceCheckoutReconciliation as Qa, ActivityMethods as Qi, OrganizationPaymentBatchInput as Qn, ObservationContext as Qo, PermissionPolicyChange as Qr, toCurrencyCode as Qs, DestinationListInput as Qt, formatMoney as R, Eip1193Provider as Ra, Home as Ri, BankAccountFilter as Rn, Permission as Ro, ApprovalOutcome as Rr, FailureClass as Rs, OrgInvitations as Rt, OpenfortEmbeddedWalletApi as S, ReadyAccountLifecycle as Sa, PayrollOptions as Si, isCheckoutSettlementConsumed as Sn, InvitationAcceptInput as So, PaymentQuoteInput as Sr, AccountId as Ss, MemberStatus as St, DevPrivateKeySignerInput as T, Profile as Ta, PayrollRunStatus as Ti, BankAccountRequirementsInput as Tn, InvitationPageInput as To, SmartAccountMethods as Tr, TesterKind as Ts, OrgScopedMethods as Tt, toRaw as U, CheckoutState as Ua, paymentPhase as Ui, VerificationAnswers as Un, TelemetryPort as Uo, PermissionWrite as Ur, ProviderEvidence as Us, OrgMeOptions as Ut, parseAssetAmount as V, CheckoutReceipt as Va, ActivityPhase as Vi, VerificationMethods as Vn, TelemetryEvent as Vo, InvitationApprovalInput as Vr, PROVIDERS as Vs, OrgMe as Vt, MoneyParseError as W, FixedOffer as Wa, requestPhase as Wi, VerificationPersonInput as Wn, CAPXUL_OPERATIONS as Wo, decodePermissionIntent as Wr, ProviderName as Ws, BankDetailsMethods as Wt, IdentityProfileDetails as X, PreparedOfferCheckoutExecution as Xa, ActivityKind as Xi, TargetReference as Xn, oauthBearerAuthClient as Xo, PermissionMethods as Xr, Money as Xs, DestinationAddInput as Xt, CreateCapxulClientInput as Y, PrepareOfferCheckoutExecutionInput as Ya, ActivityItem as Yi, ResolvedTarget as Yn, OAuthBearerAuthClientInput as Yo, PermissionCreateInput as Yr, AssetId as Ys, Destination$1 as Yt, IdentityRuntime as Z, InvoiceCheckoutPreparation as Za, ActivityListParams as Zi, TargetsMethods as Zn, ObservationAdapter as Zo, PermissionOptions as Zr, toAssetId as Zs, DestinationKind as Zt, PostHogObservabilityOptions as _, OrganizationOnboarding as _a, PayrollGroup as _i, InboxMethods as _n, SetupIssue as _o, InvoiceDraft as _r, RoleKey as _s, OrgLane as _t, CheckoutLinkReference as a, MovementActivityEvidence as aa, RevertSummary as ac, SubmittedPermissionExecution as ai, ActorRelationshipMethods as an, RequestCheckoutPreparation as ao, PaymentDirection as ar, ActorReference as as, isClaimed as at, embeddedSigner as b, PersonOnboarding as ba, PayrollGroupsMethods as bi, PayInvoiceRegisteredInput as bn, EndingReason as bo, PaymentInstructionInput as br, toPermissionId as bs, AssignmentProjection as bt, captureException as c, PAYMENT_STATUSES as ca, CAPXUL_ERROR_CODES as cc, CancelApprovalInput as ci, AddressBookLabelInput as cn, RequestCheckoutSummary as co, PaymentMoney as cr, Page as cs, CurrentUserMethods as ct, createCapxulClient as d, PaymentDocumentReadRef as da, RequestApprovalInput as di, ActorRequestIssueInput as dn, PaymentQuote as do, PaymentStatus as dr, toOrgId as ds, AccountSetupPolicy as dt, ActivityRange as ea, CapxulErrorDetails as ec, PermissionReadResult as ei, DestinationRail as en, InvoiceCheckoutSummary as eo, OrganizationPaymentItemInput as er, SdkFailureObservation as es, UploadImageResult as et, CapxulClientInput as f, PaymentDocumentRender as fa, RetryApprovalInput as fi, ActorRequestsMethods as fn, InvocationControls as fo, PaymentSubscriptionOptions as fr, PayrollGroupId as fs, ClientRequests as ft, PostHogObservabilityClient as g, OnboardingMethods as ga, PayrollEngagementTerms as gi, InboxItem as gn, OrganizationSetupSnapshot as go, PaymentsPayOptions as gr, PermissionId as gs, IdentityState as gt, PostHogFailureCapture as h, CompletedPersonProfile as ha, AuthorizeRunOptions as hi, InboxFulfillOptions as hn, OrganizationSetupPageInput as ho, PaymentsPayInput as hr, BudgetId as hs, IdentityTransition as ht, hasWarningCode as i, ActivitySummaryTotal as ia, ChainUpstream as ic, PermissionCommandView as ii, ActorProfileMethods as in, PreparedRequestCheckoutExecution as io, Payment as ir, CachedJwt as is, destination as it, OpenfortBrowserSignerOptions as j, Eip1193RequestProvider as ja, PayrollRunDetail as ji, BankDepositsPage as jn, InviteInput as jo, RateSource as jr, toPartyId as js, RoleView as jt, OpenfortBrowserSigner as k, CapxulDigestSigner as ka, PayrollGroupIdSchema as ki, BankDepositCandidatesPage as kn, InvitationView as ko, AccountsMethods as kr, PartyId as ks, OrganizationAuditLogItem as kt, captureExceptionSync as l, PaymentDocumentsMethods as la, CapxulErrorCode as lc, PayrollRunApprovalInput as li, AddressBookMethods as ln, RequestPaymentConfirmation as lo, PaymentPrepared as lr, ORGANIZATION_SETUP_REASONS as ls, AuthMethods as lt, PostHogFailureCanonicalWords as m, LineItemV3 as ma, AuthorizeRunInput as mi, InboxApproveInput as mn, OrganizationSetupPage as mo, PaymentType as mr, toPayrollGroupId as ms, IdentityEvent as mt, Warning as n, ActivitySummary as na, CHAIN_UPSTREAMS as nc, PermissionRevokeInput as ni, DestinationsMethods as nn, PrepareRequestCheckoutExecutionInput as no, OrganizationPaymentsMethods as nr, AuthCachePort as ns, SystemMethods as nt, checkoutUrl as o, PaymentActivityEvidence as oa, FAILURE_MODES as oc, PermissionIntent as oi, AddressBookAddInput as on, RequestCheckoutReconciliation as oo, PaymentDocumentKind as or, CapxulResult as os, isRestoring as ot, HostObservability as p, PaymentDocumentVerification as pa, decodePayrollRunInput as pi, OffersMethods as pn, OrganizationSetup as po, PaymentTiming as pr, PayrollRunId as ps, ClientRequestView as pt, parseMoney as q, OfferCheckout as qa, ActivityDetail as qi, RecipientResolution as qn, isCapxulOperation as qo, PermissionAssignmentEffect as qr, ProviderUnavailableMode as qs, BankDepositMethods as qt, WarningCode as r, ActivitySummaryParams as ra, ChainCause as rc, PermissionCommandSnapshot as ri, ActorProfile as rn, PreparedInvoiceCheckoutExecution as ro, PaymentsMethods as rr, AuthCachePortTag as rs, Destination as rt, HandledErrorReportContext as s, PAYMENT_DIRECTIONS as sa, FailureMode as sc, OrganizationApprovalInput as si, AddressBookEntry as sn, RequestCheckoutState as so, PaymentDocumentRef as sr, OperationResult as ss, CurrentUserContext as st, WARNING_CODES as t, ActivityReference as ta, isCapxulError as tc, PermissionReplaceInput as ti, DestinationRemoveInput as tn, PrepareInvoiceCheckoutExecutionInput as to, OrganizationPaymentRetryPreview as tr, AuthCacheError as ts, SystemHealth as tt, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT as u, PaymentDocumentDownload as ua, EXPECTED_OPERATION_OUTCOMES as uc, RedirectApprovalInput as ui, ActorRequest as un, RequestPaymentTerms as uo, PaymentSnapshot as ur, OrgId as us, Session as ut, postHogObservability as v, OrganizationOnboardingInput as va, PayrollGroupInput as vi, CheckoutsMethods as vn, Unsubscribe as vo, PaymentDocumentOptions as vr, toBudgetId as vs, Readiness as vt, openfortEmbeddedWalletPort as w, IdentityMethods as wa, PayrollRunItemInput as wi, BankAccountRequirements as wn, InvitationPage as wo, SmartAccount as wr, CountryCode as ws, OrgMethods as wt, openfortEmbeddedSignerFromWallet as x, PersonOnboardingInput as xa, PayrollMethods as xi, PayRequestRegisteredInput as xn, GranteeRef as xo, SupportingReceiptInput as xr, Account$1 as xs, MemberIdentityProjection as xt, OpenfortEmbeddedSignerInput as y, OrganizationOnboardingOptions as ya, PayrollGroupMember as yi, CreateOfferCheckoutInput as yn, AuthorityRef as yo, PaymentDocumentOptionsSchema as yr, toPermissionAssignmentId as ys, StateLabel as yt, assetSymbolFor as z, eip1193AccountProvider as za, MeMethods as zi, BankAccountTarget as zn, TelemetryGroupInput as zo, ApprovalWaitOptions as zr, failureClass as zs, OwnInvitationsMethod as zt };
|