@tinycloud/sdk-core 2.11.0-beta.1 → 2.11.0-beta.11
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/dist/bootstrap/index.cjs +0 -4
- package/dist/delegations/index.cjs +702 -330
- package/dist/delegations/index.cjs.map +1 -1
- package/dist/delegations/index.d.cts +9 -8
- package/dist/delegations/index.d.ts +9 -8
- package/dist/delegations/index.js +722 -263
- package/dist/delegations/index.js.map +1 -1
- package/dist/index.cjs +2338 -1156
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +350 -24
- package/dist/index.d.ts +350 -24
- package/dist/index.js +2333 -810
- package/dist/index.js.map +1 -1
- package/dist/policy/index.cjs +878 -250
- package/dist/policy/index.cjs.map +1 -1
- package/dist/policy/index.d.cts +3 -2
- package/dist/policy/index.d.ts +3 -2
- package/dist/policy/index.js +877 -183
- package/dist/policy/index.js.map +1 -1
- package/dist/{recipient-types.schema-CWIt63Qp.d.cts → recipient-types.schema-CuDpskPd.d.cts} +236 -98
- package/dist/{recipient-types.schema-CWIt63Qp.d.ts → recipient-types.schema-CuDpskPd.d.ts} +236 -98
- package/dist/requester/index.cjs +10 -38
- package/dist/requester/index.cjs.map +1 -1
- package/dist/requester/index.js +10 -8
- package/dist/requester/index.js.map +1 -1
- package/dist/unified-BYPfXp5S.d.ts +429 -0
- package/dist/unified-BdfNHNrx.d.cts +429 -0
- package/package.json +6 -3
- package/dist/signed-object-C6mWbTbB.d.ts +0 -149
- package/dist/signed-object-IMAm5a32.d.cts +0 -149
package/dist/{recipient-types.schema-CWIt63Qp.d.cts → recipient-types.schema-CuDpskPd.d.cts}
RENAMED
|
@@ -49,6 +49,7 @@ declare const JWKSchema: z.ZodObject<{
|
|
|
49
49
|
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
kty: string;
|
|
52
|
+
alg?: string | undefined;
|
|
52
53
|
crv?: string | undefined;
|
|
53
54
|
x?: string | undefined;
|
|
54
55
|
y?: string | undefined;
|
|
@@ -56,11 +57,11 @@ declare const JWKSchema: z.ZodObject<{
|
|
|
56
57
|
e?: string | undefined;
|
|
57
58
|
n?: string | undefined;
|
|
58
59
|
kid?: string | undefined;
|
|
59
|
-
alg?: string | undefined;
|
|
60
60
|
use?: string | undefined;
|
|
61
61
|
key_ops?: string[] | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
kty: string;
|
|
64
|
+
alg?: string | undefined;
|
|
64
65
|
crv?: string | undefined;
|
|
65
66
|
x?: string | undefined;
|
|
66
67
|
y?: string | undefined;
|
|
@@ -68,7 +69,6 @@ declare const JWKSchema: z.ZodObject<{
|
|
|
68
69
|
e?: string | undefined;
|
|
69
70
|
n?: string | undefined;
|
|
70
71
|
kid?: string | undefined;
|
|
71
|
-
alg?: string | undefined;
|
|
72
72
|
use?: string | undefined;
|
|
73
73
|
key_ops?: string[] | undefined;
|
|
74
74
|
}>;
|
|
@@ -114,6 +114,7 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
114
114
|
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
116
|
kty: string;
|
|
117
|
+
alg?: string | undefined;
|
|
117
118
|
crv?: string | undefined;
|
|
118
119
|
x?: string | undefined;
|
|
119
120
|
y?: string | undefined;
|
|
@@ -121,11 +122,11 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
121
122
|
e?: string | undefined;
|
|
122
123
|
n?: string | undefined;
|
|
123
124
|
kid?: string | undefined;
|
|
124
|
-
alg?: string | undefined;
|
|
125
125
|
use?: string | undefined;
|
|
126
126
|
key_ops?: string[] | undefined;
|
|
127
127
|
}, {
|
|
128
128
|
kty: string;
|
|
129
|
+
alg?: string | undefined;
|
|
129
130
|
crv?: string | undefined;
|
|
130
131
|
x?: string | undefined;
|
|
131
132
|
y?: string | undefined;
|
|
@@ -133,7 +134,6 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
133
134
|
e?: string | undefined;
|
|
134
135
|
n?: string | undefined;
|
|
135
136
|
kid?: string | undefined;
|
|
136
|
-
alg?: string | undefined;
|
|
137
137
|
use?: string | undefined;
|
|
138
138
|
key_ops?: string[] | undefined;
|
|
139
139
|
}>>;
|
|
@@ -146,6 +146,7 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
146
146
|
priority: number;
|
|
147
147
|
jwk?: {
|
|
148
148
|
kty: string;
|
|
149
|
+
alg?: string | undefined;
|
|
149
150
|
crv?: string | undefined;
|
|
150
151
|
x?: string | undefined;
|
|
151
152
|
y?: string | undefined;
|
|
@@ -153,7 +154,6 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
153
154
|
e?: string | undefined;
|
|
154
155
|
n?: string | undefined;
|
|
155
156
|
kid?: string | undefined;
|
|
156
|
-
alg?: string | undefined;
|
|
157
157
|
use?: string | undefined;
|
|
158
158
|
key_ops?: string[] | undefined;
|
|
159
159
|
} | undefined;
|
|
@@ -164,6 +164,7 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
164
164
|
priority: number;
|
|
165
165
|
jwk?: {
|
|
166
166
|
kty: string;
|
|
167
|
+
alg?: string | undefined;
|
|
167
168
|
crv?: string | undefined;
|
|
168
169
|
x?: string | undefined;
|
|
169
170
|
y?: string | undefined;
|
|
@@ -171,7 +172,6 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
171
172
|
e?: string | undefined;
|
|
172
173
|
n?: string | undefined;
|
|
173
174
|
kid?: string | undefined;
|
|
174
|
-
alg?: string | undefined;
|
|
175
175
|
use?: string | undefined;
|
|
176
176
|
key_ops?: string[] | undefined;
|
|
177
177
|
} | undefined;
|
|
@@ -588,6 +588,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
588
588
|
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
589
589
|
}, "strip", z.ZodTypeAny, {
|
|
590
590
|
kty: string;
|
|
591
|
+
alg?: string | undefined;
|
|
591
592
|
crv?: string | undefined;
|
|
592
593
|
x?: string | undefined;
|
|
593
594
|
y?: string | undefined;
|
|
@@ -595,11 +596,11 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
595
596
|
e?: string | undefined;
|
|
596
597
|
n?: string | undefined;
|
|
597
598
|
kid?: string | undefined;
|
|
598
|
-
alg?: string | undefined;
|
|
599
599
|
use?: string | undefined;
|
|
600
600
|
key_ops?: string[] | undefined;
|
|
601
601
|
}, {
|
|
602
602
|
kty: string;
|
|
603
|
+
alg?: string | undefined;
|
|
603
604
|
crv?: string | undefined;
|
|
604
605
|
x?: string | undefined;
|
|
605
606
|
y?: string | undefined;
|
|
@@ -607,7 +608,6 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
607
608
|
e?: string | undefined;
|
|
608
609
|
n?: string | undefined;
|
|
609
610
|
kid?: string | undefined;
|
|
610
|
-
alg?: string | undefined;
|
|
611
611
|
use?: string | undefined;
|
|
612
612
|
key_ops?: string[] | undefined;
|
|
613
613
|
}>>;
|
|
@@ -620,6 +620,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
620
620
|
priority: number;
|
|
621
621
|
jwk?: {
|
|
622
622
|
kty: string;
|
|
623
|
+
alg?: string | undefined;
|
|
623
624
|
crv?: string | undefined;
|
|
624
625
|
x?: string | undefined;
|
|
625
626
|
y?: string | undefined;
|
|
@@ -627,7 +628,6 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
627
628
|
e?: string | undefined;
|
|
628
629
|
n?: string | undefined;
|
|
629
630
|
kid?: string | undefined;
|
|
630
|
-
alg?: string | undefined;
|
|
631
631
|
use?: string | undefined;
|
|
632
632
|
key_ops?: string[] | undefined;
|
|
633
633
|
} | undefined;
|
|
@@ -638,6 +638,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
638
638
|
priority: number;
|
|
639
639
|
jwk?: {
|
|
640
640
|
kty: string;
|
|
641
|
+
alg?: string | undefined;
|
|
641
642
|
crv?: string | undefined;
|
|
642
643
|
x?: string | undefined;
|
|
643
644
|
y?: string | undefined;
|
|
@@ -645,7 +646,6 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
645
646
|
e?: string | undefined;
|
|
646
647
|
n?: string | undefined;
|
|
647
648
|
kid?: string | undefined;
|
|
648
|
-
alg?: string | undefined;
|
|
649
649
|
use?: string | undefined;
|
|
650
650
|
key_ops?: string[] | undefined;
|
|
651
651
|
} | undefined;
|
|
@@ -717,6 +717,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
717
717
|
priority: number;
|
|
718
718
|
jwk?: {
|
|
719
719
|
kty: string;
|
|
720
|
+
alg?: string | undefined;
|
|
720
721
|
crv?: string | undefined;
|
|
721
722
|
x?: string | undefined;
|
|
722
723
|
y?: string | undefined;
|
|
@@ -724,7 +725,6 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
724
725
|
e?: string | undefined;
|
|
725
726
|
n?: string | undefined;
|
|
726
727
|
kid?: string | undefined;
|
|
727
|
-
alg?: string | undefined;
|
|
728
728
|
use?: string | undefined;
|
|
729
729
|
key_ops?: string[] | undefined;
|
|
730
730
|
} | undefined;
|
|
@@ -755,6 +755,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
755
755
|
priority: number;
|
|
756
756
|
jwk?: {
|
|
757
757
|
kty: string;
|
|
758
|
+
alg?: string | undefined;
|
|
758
759
|
crv?: string | undefined;
|
|
759
760
|
x?: string | undefined;
|
|
760
761
|
y?: string | undefined;
|
|
@@ -762,7 +763,6 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
762
763
|
e?: string | undefined;
|
|
763
764
|
n?: string | undefined;
|
|
764
765
|
kid?: string | undefined;
|
|
765
|
-
alg?: string | undefined;
|
|
766
766
|
use?: string | undefined;
|
|
767
767
|
key_ops?: string[] | undefined;
|
|
768
768
|
} | undefined;
|
|
@@ -2259,6 +2259,9 @@ type ShareRecipientTarget = {
|
|
|
2259
2259
|
} | {
|
|
2260
2260
|
readonly kind: "emailDomain";
|
|
2261
2261
|
readonly value: string;
|
|
2262
|
+
} | {
|
|
2263
|
+
readonly kind: "recipientDid";
|
|
2264
|
+
readonly value: string;
|
|
2262
2265
|
} | {
|
|
2263
2266
|
readonly kind: "bearer";
|
|
2264
2267
|
};
|
|
@@ -2402,6 +2405,54 @@ interface ShareCapabilityLike {
|
|
|
2402
2405
|
}
|
|
2403
2406
|
declare function shareCapabilityAllows(capability: ShareCapabilityLike, action: ShareAction, path: string): boolean;
|
|
2404
2407
|
|
|
2408
|
+
/** Transport form shared by addressed-share recipients and normal agents. */
|
|
2409
|
+
interface PortableDelegation {
|
|
2410
|
+
readonly cid: string;
|
|
2411
|
+
readonly delegationHeader: {
|
|
2412
|
+
readonly Authorization: string;
|
|
2413
|
+
};
|
|
2414
|
+
readonly ownerAddress: string;
|
|
2415
|
+
readonly chainId: number;
|
|
2416
|
+
readonly host?: string;
|
|
2417
|
+
readonly spaceId: string;
|
|
2418
|
+
readonly path: string;
|
|
2419
|
+
readonly actions: readonly string[];
|
|
2420
|
+
readonly caveats?: readonly Record<string, unknown>[];
|
|
2421
|
+
readonly expiry: Date;
|
|
2422
|
+
readonly delegateDID: string;
|
|
2423
|
+
readonly delegatorDID?: string;
|
|
2424
|
+
readonly parentCid?: string;
|
|
2425
|
+
readonly disableSubDelegation?: boolean;
|
|
2426
|
+
readonly resources?: readonly DelegatedResource[];
|
|
2427
|
+
}
|
|
2428
|
+
/** Validate a normal delegation received from a v3 claim/admission response. */
|
|
2429
|
+
declare function parsePortableDelegation(input: unknown): PortableDelegation;
|
|
2430
|
+
declare function serializePortableDelegation(delegation: PortableDelegation): string;
|
|
2431
|
+
interface PortableDelegationImportReceipt {
|
|
2432
|
+
readonly activated?: readonly string[];
|
|
2433
|
+
readonly skipped?: readonly string[];
|
|
2434
|
+
readonly [key: string]: unknown;
|
|
2435
|
+
}
|
|
2436
|
+
/** Admit a normal delegation through POST /delegate. */
|
|
2437
|
+
declare function importPortableDelegation(fetchFn: FetchFunction, host: string, delegation: PortableDelegation): Promise<PortableDelegationImportReceipt>;
|
|
2438
|
+
/**
|
|
2439
|
+
* Create and admit an ordinary protected descendant below a v3 policy
|
|
2440
|
+
* session. This is the recipient-to-agent path; it deliberately bypasses the
|
|
2441
|
+
* legacy `prepareSession`/`rawAbilities` builder because that builder cannot
|
|
2442
|
+
* preserve the signed policy fact or the exact immediate-parent proof.
|
|
2443
|
+
*/
|
|
2444
|
+
declare function delegatePortablePolicySession(input: {
|
|
2445
|
+
readonly fetch: FetchFunction;
|
|
2446
|
+
readonly host: string;
|
|
2447
|
+
readonly parent: PortableDelegation;
|
|
2448
|
+
readonly issuerPrivateKey: Uint8Array;
|
|
2449
|
+
readonly delegateDID: string;
|
|
2450
|
+
readonly attenuation: Readonly<Record<string, Readonly<Record<string, readonly unknown[]>>>>;
|
|
2451
|
+
readonly now?: number;
|
|
2452
|
+
readonly expiresAt?: number;
|
|
2453
|
+
readonly nonce?: string;
|
|
2454
|
+
}): Promise<PortableDelegation>;
|
|
2455
|
+
|
|
2405
2456
|
/** Native action names used by the addressed Node data plane. */
|
|
2406
2457
|
type ShareNativeAction = "tinycloud.kv/get" | "tinycloud.kv/metadata" | "tinycloud.kv/list" | "tinycloud.kv/put";
|
|
2407
2458
|
type ShareWireAction = ShareNativeAction | "tinycloud.sql/read";
|
|
@@ -2536,6 +2587,19 @@ interface ShareRecipientClientOptions {
|
|
|
2536
2587
|
readonly envelope: ShareEnvelopeV2;
|
|
2537
2588
|
readonly presentation?: unknown;
|
|
2538
2589
|
}) => Promise<SharePolicySession>;
|
|
2590
|
+
/** Direct DID authorization is explicit and may return a resumable device step. */
|
|
2591
|
+
readonly establishRecipientDidSession?: (input: {
|
|
2592
|
+
readonly envelope: ShareEnvelopeV2;
|
|
2593
|
+
readonly recipientDid: string;
|
|
2594
|
+
}) => Promise<SharePolicySession | {
|
|
2595
|
+
readonly state: "authorization-required";
|
|
2596
|
+
readonly method: "openkey-device";
|
|
2597
|
+
readonly continueUrl?: string;
|
|
2598
|
+
readonly resumeToken: string;
|
|
2599
|
+
} | {
|
|
2600
|
+
readonly state: "denied";
|
|
2601
|
+
readonly reason: string;
|
|
2602
|
+
}>;
|
|
2539
2603
|
/**
|
|
2540
2604
|
* Builds the holder presentation/session request after Node returns a
|
|
2541
2605
|
* fresh challenge. The callback is deliberately invoked only after the
|
|
@@ -2564,6 +2628,10 @@ interface ShareRecipientClientOptions {
|
|
|
2564
2628
|
* generic KV bearer session.
|
|
2565
2629
|
*/
|
|
2566
2630
|
readonly nativeInvoke?: (input: ShareNativeInvokeInput) => Promise<ShareNativeInvokeResult>;
|
|
2631
|
+
/** Import a normal policy-session UCAN through the caller's delegation manager. */
|
|
2632
|
+
readonly importDelegation?: (delegation: PortableDelegation) => Promise<void | PortableDelegation>;
|
|
2633
|
+
/** Extractable Ed25519 recipient seed used only to sign fresh S0 descendants/invocations. */
|
|
2634
|
+
readonly policySessionPrivateKey?: Uint8Array;
|
|
2567
2635
|
/** Optional holder signer for the built-in addressed /invoke transport. */
|
|
2568
2636
|
readonly signNativeInvoke?: (input: {
|
|
2569
2637
|
readonly envelope: ShareEnvelopeV2;
|
|
@@ -2740,7 +2808,8 @@ declare class ShareConflict extends Error {
|
|
|
2740
2808
|
}
|
|
2741
2809
|
declare class ShareAccessError extends Error {
|
|
2742
2810
|
readonly code: string;
|
|
2743
|
-
|
|
2811
|
+
readonly details?: unknown;
|
|
2812
|
+
constructor(code: string, message?: string, details?: unknown);
|
|
2744
2813
|
}
|
|
2745
2814
|
interface ShareAccessV2 {
|
|
2746
2815
|
readonly kind: "share-v2";
|
|
@@ -2749,6 +2818,8 @@ interface ShareAccessV2 {
|
|
|
2749
2818
|
readonly resource: ShareResource;
|
|
2750
2819
|
readonly actions: readonly ShareAction[];
|
|
2751
2820
|
readonly expiresAt: Date;
|
|
2821
|
+
/** The normal UCAN admitted for this recipient, when the link is v3. */
|
|
2822
|
+
readonly portableDelegation?: PortableDelegation;
|
|
2752
2823
|
readonly kv?: IKVService;
|
|
2753
2824
|
readonly get: (path?: string) => Promise<ShareReadResult>;
|
|
2754
2825
|
readonly listChildren: (options?: {
|
|
@@ -3183,6 +3254,9 @@ declare class ShareRecipientClient {
|
|
|
3183
3254
|
private readonly now;
|
|
3184
3255
|
constructor(options: ShareRecipientClientOptions);
|
|
3185
3256
|
open(link: string): Promise<ShareAccessV2>;
|
|
3257
|
+
private policySessionDelegation;
|
|
3258
|
+
private policyInvocationSigner;
|
|
3259
|
+
private policySessionProjection;
|
|
3186
3260
|
private createKV;
|
|
3187
3261
|
private nativeGet;
|
|
3188
3262
|
private nativeMetadata;
|
|
@@ -3272,6 +3346,9 @@ type OwnerShareMatcher = {
|
|
|
3272
3346
|
} | {
|
|
3273
3347
|
readonly kind: "emailDomain";
|
|
3274
3348
|
readonly value: string;
|
|
3349
|
+
} | {
|
|
3350
|
+
readonly kind: "recipientDid";
|
|
3351
|
+
readonly value: string;
|
|
3275
3352
|
};
|
|
3276
3353
|
interface OwnerSharePolicyV2 {
|
|
3277
3354
|
readonly type: "TinyCloudSharePolicy";
|
|
@@ -3432,6 +3509,7 @@ interface ShareDeliveryAuthorizationRequest {
|
|
|
3432
3509
|
readonly shareUrl: string;
|
|
3433
3510
|
readonly documentName: string;
|
|
3434
3511
|
readonly jti: string;
|
|
3512
|
+
readonly idempotencyKey: string;
|
|
3435
3513
|
readonly expiresAt: string;
|
|
3436
3514
|
readonly requestBodyDigest: string;
|
|
3437
3515
|
}
|
|
@@ -3642,6 +3720,15 @@ declare const ShareRecipientTargetSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
3642
3720
|
}, {
|
|
3643
3721
|
value: string;
|
|
3644
3722
|
kind: "emailDomain";
|
|
3723
|
+
}>, z.ZodObject<{
|
|
3724
|
+
kind: z.ZodLiteral<"recipientDid">;
|
|
3725
|
+
value: z.ZodString;
|
|
3726
|
+
}, "strict", z.ZodTypeAny, {
|
|
3727
|
+
value: string;
|
|
3728
|
+
kind: "recipientDid";
|
|
3729
|
+
}, {
|
|
3730
|
+
value: string;
|
|
3731
|
+
kind: "recipientDid";
|
|
3645
3732
|
}>, z.ZodObject<{
|
|
3646
3733
|
kind: z.ZodLiteral<"bearer">;
|
|
3647
3734
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3688,6 +3775,15 @@ declare const ShareRecipientPolicySchema: z.ZodObject<{
|
|
|
3688
3775
|
}, {
|
|
3689
3776
|
value: string;
|
|
3690
3777
|
kind: "emailDomain";
|
|
3778
|
+
}>, z.ZodObject<{
|
|
3779
|
+
kind: z.ZodLiteral<"recipientDid">;
|
|
3780
|
+
value: z.ZodString;
|
|
3781
|
+
}, "strict", z.ZodTypeAny, {
|
|
3782
|
+
value: string;
|
|
3783
|
+
kind: "recipientDid";
|
|
3784
|
+
}, {
|
|
3785
|
+
value: string;
|
|
3786
|
+
kind: "recipientDid";
|
|
3691
3787
|
}>, z.ZodObject<{
|
|
3692
3788
|
kind: z.ZodLiteral<"bearer">;
|
|
3693
3789
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3734,6 +3830,9 @@ declare const ShareRecipientPolicySchema: z.ZodObject<{
|
|
|
3734
3830
|
} | {
|
|
3735
3831
|
value: string;
|
|
3736
3832
|
kind: "emailDomain";
|
|
3833
|
+
} | {
|
|
3834
|
+
value: string;
|
|
3835
|
+
kind: "recipientDid";
|
|
3737
3836
|
} | {
|
|
3738
3837
|
kind: "bearer";
|
|
3739
3838
|
};
|
|
@@ -3754,6 +3853,9 @@ declare const ShareRecipientPolicySchema: z.ZodObject<{
|
|
|
3754
3853
|
} | {
|
|
3755
3854
|
value: string;
|
|
3756
3855
|
kind: "emailDomain";
|
|
3856
|
+
} | {
|
|
3857
|
+
value: string;
|
|
3858
|
+
kind: "recipientDid";
|
|
3757
3859
|
} | {
|
|
3758
3860
|
kind: "bearer";
|
|
3759
3861
|
};
|
|
@@ -3800,6 +3902,15 @@ declare const ShareAddressedDelegationRequestV2Schema: z.ZodObject<{
|
|
|
3800
3902
|
}, {
|
|
3801
3903
|
value: string;
|
|
3802
3904
|
kind: "emailDomain";
|
|
3905
|
+
}>, z.ZodObject<{
|
|
3906
|
+
kind: z.ZodLiteral<"recipientDid">;
|
|
3907
|
+
value: z.ZodString;
|
|
3908
|
+
}, "strict", z.ZodTypeAny, {
|
|
3909
|
+
value: string;
|
|
3910
|
+
kind: "recipientDid";
|
|
3911
|
+
}, {
|
|
3912
|
+
value: string;
|
|
3913
|
+
kind: "recipientDid";
|
|
3803
3914
|
}>]>;
|
|
3804
3915
|
targetOrigin: z.ZodString;
|
|
3805
3916
|
nodeAudience: z.ZodString;
|
|
@@ -3816,13 +3927,13 @@ declare const ShareAddressedDelegationRequestV2Schema: z.ZodObject<{
|
|
|
3816
3927
|
}, "strict", z.ZodTypeAny, {
|
|
3817
3928
|
path: string;
|
|
3818
3929
|
space: string;
|
|
3819
|
-
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
3820
3930
|
kind: "kv";
|
|
3931
|
+
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
3821
3932
|
}, {
|
|
3822
3933
|
path: string;
|
|
3823
3934
|
space: string;
|
|
3824
|
-
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
3825
3935
|
kind: "kv";
|
|
3936
|
+
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
3826
3937
|
}>, z.ZodObject<{
|
|
3827
3938
|
kind: z.ZodLiteral<"sql">;
|
|
3828
3939
|
action: z.ZodLiteral<"tinycloud.sql/read">;
|
|
@@ -3836,8 +3947,8 @@ declare const ShareAddressedDelegationRequestV2Schema: z.ZodObject<{
|
|
|
3836
3947
|
path: string;
|
|
3837
3948
|
statement: string;
|
|
3838
3949
|
space: string;
|
|
3839
|
-
action: "tinycloud.sql/read";
|
|
3840
3950
|
kind: "sql";
|
|
3951
|
+
action: "tinycloud.sql/read";
|
|
3841
3952
|
database: string;
|
|
3842
3953
|
arguments: Record<string, number>;
|
|
3843
3954
|
argumentsDigest: string;
|
|
@@ -3845,8 +3956,8 @@ declare const ShareAddressedDelegationRequestV2Schema: z.ZodObject<{
|
|
|
3845
3956
|
path: string;
|
|
3846
3957
|
statement: string;
|
|
3847
3958
|
space: string;
|
|
3848
|
-
action: "tinycloud.sql/read";
|
|
3849
3959
|
kind: "sql";
|
|
3960
|
+
action: "tinycloud.sql/read";
|
|
3850
3961
|
database: string;
|
|
3851
3962
|
arguments: Record<string, number>;
|
|
3852
3963
|
argumentsDigest: string;
|
|
@@ -3873,31 +3984,34 @@ declare const ShareAddressedDelegationRequestV2Schema: z.ZodObject<{
|
|
|
3873
3984
|
value: string;
|
|
3874
3985
|
kind: "exact" | "prefix";
|
|
3875
3986
|
};
|
|
3876
|
-
version: 2;
|
|
3877
|
-
shareId: string;
|
|
3878
|
-
recipientMatcher: {
|
|
3879
|
-
value: string;
|
|
3880
|
-
kind: "exactEmail";
|
|
3881
|
-
} | {
|
|
3882
|
-
value: string;
|
|
3883
|
-
kind: "emailDomain";
|
|
3884
|
-
};
|
|
3885
3987
|
nodeAudience: string;
|
|
3886
3988
|
contentSource: {
|
|
3887
3989
|
path: string;
|
|
3888
3990
|
space: string;
|
|
3889
|
-
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
3890
3991
|
kind: "kv";
|
|
3992
|
+
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
3891
3993
|
} | {
|
|
3892
3994
|
path: string;
|
|
3893
3995
|
statement: string;
|
|
3894
3996
|
space: string;
|
|
3895
|
-
action: "tinycloud.sql/read";
|
|
3896
3997
|
kind: "sql";
|
|
3998
|
+
action: "tinycloud.sql/read";
|
|
3897
3999
|
database: string;
|
|
3898
4000
|
arguments: Record<string, number>;
|
|
3899
4001
|
argumentsDigest: string;
|
|
3900
4002
|
};
|
|
4003
|
+
version: 2;
|
|
4004
|
+
shareId: string;
|
|
4005
|
+
recipientMatcher: {
|
|
4006
|
+
value: string;
|
|
4007
|
+
kind: "exactEmail";
|
|
4008
|
+
} | {
|
|
4009
|
+
value: string;
|
|
4010
|
+
kind: "emailDomain";
|
|
4011
|
+
} | {
|
|
4012
|
+
value: string;
|
|
4013
|
+
kind: "recipientDid";
|
|
4014
|
+
};
|
|
3901
4015
|
contentSourceDigest: string;
|
|
3902
4016
|
jti: string;
|
|
3903
4017
|
senderDid: string;
|
|
@@ -3915,31 +4029,34 @@ declare const ShareAddressedDelegationRequestV2Schema: z.ZodObject<{
|
|
|
3915
4029
|
value: string;
|
|
3916
4030
|
kind: "exact" | "prefix";
|
|
3917
4031
|
};
|
|
3918
|
-
version: 2;
|
|
3919
|
-
shareId: string;
|
|
3920
|
-
recipientMatcher: {
|
|
3921
|
-
value: string;
|
|
3922
|
-
kind: "exactEmail";
|
|
3923
|
-
} | {
|
|
3924
|
-
value: string;
|
|
3925
|
-
kind: "emailDomain";
|
|
3926
|
-
};
|
|
3927
4032
|
nodeAudience: string;
|
|
3928
4033
|
contentSource: {
|
|
3929
4034
|
path: string;
|
|
3930
4035
|
space: string;
|
|
3931
|
-
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
3932
4036
|
kind: "kv";
|
|
4037
|
+
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
3933
4038
|
} | {
|
|
3934
4039
|
path: string;
|
|
3935
4040
|
statement: string;
|
|
3936
4041
|
space: string;
|
|
3937
|
-
action: "tinycloud.sql/read";
|
|
3938
4042
|
kind: "sql";
|
|
4043
|
+
action: "tinycloud.sql/read";
|
|
3939
4044
|
database: string;
|
|
3940
4045
|
arguments: Record<string, number>;
|
|
3941
4046
|
argumentsDigest: string;
|
|
3942
4047
|
};
|
|
4048
|
+
version: 2;
|
|
4049
|
+
shareId: string;
|
|
4050
|
+
recipientMatcher: {
|
|
4051
|
+
value: string;
|
|
4052
|
+
kind: "exactEmail";
|
|
4053
|
+
} | {
|
|
4054
|
+
value: string;
|
|
4055
|
+
kind: "emailDomain";
|
|
4056
|
+
} | {
|
|
4057
|
+
value: string;
|
|
4058
|
+
kind: "recipientDid";
|
|
4059
|
+
};
|
|
3943
4060
|
contentSourceDigest: string;
|
|
3944
4061
|
jti: string;
|
|
3945
4062
|
senderDid: string;
|
|
@@ -3974,6 +4091,15 @@ declare const ShareAddressedDelegationEnvelopeV2Schema: z.ZodObject<{
|
|
|
3974
4091
|
}, {
|
|
3975
4092
|
value: string;
|
|
3976
4093
|
kind: "emailDomain";
|
|
4094
|
+
}>, z.ZodObject<{
|
|
4095
|
+
kind: z.ZodLiteral<"recipientDid">;
|
|
4096
|
+
value: z.ZodString;
|
|
4097
|
+
}, "strict", z.ZodTypeAny, {
|
|
4098
|
+
value: string;
|
|
4099
|
+
kind: "recipientDid";
|
|
4100
|
+
}, {
|
|
4101
|
+
value: string;
|
|
4102
|
+
kind: "recipientDid";
|
|
3977
4103
|
}>]>;
|
|
3978
4104
|
targetOrigin: z.ZodString;
|
|
3979
4105
|
nodeAudience: z.ZodString;
|
|
@@ -3990,13 +4116,13 @@ declare const ShareAddressedDelegationEnvelopeV2Schema: z.ZodObject<{
|
|
|
3990
4116
|
}, "strict", z.ZodTypeAny, {
|
|
3991
4117
|
path: string;
|
|
3992
4118
|
space: string;
|
|
3993
|
-
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
3994
4119
|
kind: "kv";
|
|
4120
|
+
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
3995
4121
|
}, {
|
|
3996
4122
|
path: string;
|
|
3997
4123
|
space: string;
|
|
3998
|
-
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
3999
4124
|
kind: "kv";
|
|
4125
|
+
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
4000
4126
|
}>, z.ZodObject<{
|
|
4001
4127
|
kind: z.ZodLiteral<"sql">;
|
|
4002
4128
|
action: z.ZodLiteral<"tinycloud.sql/read">;
|
|
@@ -4010,8 +4136,8 @@ declare const ShareAddressedDelegationEnvelopeV2Schema: z.ZodObject<{
|
|
|
4010
4136
|
path: string;
|
|
4011
4137
|
statement: string;
|
|
4012
4138
|
space: string;
|
|
4013
|
-
action: "tinycloud.sql/read";
|
|
4014
4139
|
kind: "sql";
|
|
4140
|
+
action: "tinycloud.sql/read";
|
|
4015
4141
|
database: string;
|
|
4016
4142
|
arguments: Record<string, number>;
|
|
4017
4143
|
argumentsDigest: string;
|
|
@@ -4019,8 +4145,8 @@ declare const ShareAddressedDelegationEnvelopeV2Schema: z.ZodObject<{
|
|
|
4019
4145
|
path: string;
|
|
4020
4146
|
statement: string;
|
|
4021
4147
|
space: string;
|
|
4022
|
-
action: "tinycloud.sql/read";
|
|
4023
4148
|
kind: "sql";
|
|
4149
|
+
action: "tinycloud.sql/read";
|
|
4024
4150
|
database: string;
|
|
4025
4151
|
arguments: Record<string, number>;
|
|
4026
4152
|
argumentsDigest: string;
|
|
@@ -4047,31 +4173,34 @@ declare const ShareAddressedDelegationEnvelopeV2Schema: z.ZodObject<{
|
|
|
4047
4173
|
value: string;
|
|
4048
4174
|
kind: "exact" | "prefix";
|
|
4049
4175
|
};
|
|
4050
|
-
version: 2;
|
|
4051
|
-
shareId: string;
|
|
4052
|
-
recipientMatcher: {
|
|
4053
|
-
value: string;
|
|
4054
|
-
kind: "exactEmail";
|
|
4055
|
-
} | {
|
|
4056
|
-
value: string;
|
|
4057
|
-
kind: "emailDomain";
|
|
4058
|
-
};
|
|
4059
4176
|
nodeAudience: string;
|
|
4060
4177
|
contentSource: {
|
|
4061
4178
|
path: string;
|
|
4062
4179
|
space: string;
|
|
4063
|
-
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
4064
4180
|
kind: "kv";
|
|
4181
|
+
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
4065
4182
|
} | {
|
|
4066
4183
|
path: string;
|
|
4067
4184
|
statement: string;
|
|
4068
4185
|
space: string;
|
|
4069
|
-
action: "tinycloud.sql/read";
|
|
4070
4186
|
kind: "sql";
|
|
4187
|
+
action: "tinycloud.sql/read";
|
|
4071
4188
|
database: string;
|
|
4072
4189
|
arguments: Record<string, number>;
|
|
4073
4190
|
argumentsDigest: string;
|
|
4074
4191
|
};
|
|
4192
|
+
version: 2;
|
|
4193
|
+
shareId: string;
|
|
4194
|
+
recipientMatcher: {
|
|
4195
|
+
value: string;
|
|
4196
|
+
kind: "exactEmail";
|
|
4197
|
+
} | {
|
|
4198
|
+
value: string;
|
|
4199
|
+
kind: "emailDomain";
|
|
4200
|
+
} | {
|
|
4201
|
+
value: string;
|
|
4202
|
+
kind: "recipientDid";
|
|
4203
|
+
};
|
|
4075
4204
|
contentSourceDigest: string;
|
|
4076
4205
|
jti: string;
|
|
4077
4206
|
senderDid: string;
|
|
@@ -4089,31 +4218,34 @@ declare const ShareAddressedDelegationEnvelopeV2Schema: z.ZodObject<{
|
|
|
4089
4218
|
value: string;
|
|
4090
4219
|
kind: "exact" | "prefix";
|
|
4091
4220
|
};
|
|
4092
|
-
version: 2;
|
|
4093
|
-
shareId: string;
|
|
4094
|
-
recipientMatcher: {
|
|
4095
|
-
value: string;
|
|
4096
|
-
kind: "exactEmail";
|
|
4097
|
-
} | {
|
|
4098
|
-
value: string;
|
|
4099
|
-
kind: "emailDomain";
|
|
4100
|
-
};
|
|
4101
4221
|
nodeAudience: string;
|
|
4102
4222
|
contentSource: {
|
|
4103
4223
|
path: string;
|
|
4104
4224
|
space: string;
|
|
4105
|
-
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
4106
4225
|
kind: "kv";
|
|
4226
|
+
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
4107
4227
|
} | {
|
|
4108
4228
|
path: string;
|
|
4109
4229
|
statement: string;
|
|
4110
4230
|
space: string;
|
|
4111
|
-
action: "tinycloud.sql/read";
|
|
4112
4231
|
kind: "sql";
|
|
4232
|
+
action: "tinycloud.sql/read";
|
|
4113
4233
|
database: string;
|
|
4114
4234
|
arguments: Record<string, number>;
|
|
4115
4235
|
argumentsDigest: string;
|
|
4116
4236
|
};
|
|
4237
|
+
version: 2;
|
|
4238
|
+
shareId: string;
|
|
4239
|
+
recipientMatcher: {
|
|
4240
|
+
value: string;
|
|
4241
|
+
kind: "exactEmail";
|
|
4242
|
+
} | {
|
|
4243
|
+
value: string;
|
|
4244
|
+
kind: "emailDomain";
|
|
4245
|
+
} | {
|
|
4246
|
+
value: string;
|
|
4247
|
+
kind: "recipientDid";
|
|
4248
|
+
};
|
|
4117
4249
|
contentSourceDigest: string;
|
|
4118
4250
|
jti: string;
|
|
4119
4251
|
senderDid: string;
|
|
@@ -4130,12 +4262,12 @@ declare const ShareAddressedDelegationEnvelopeV2Schema: z.ZodObject<{
|
|
|
4130
4262
|
signature: z.ZodString;
|
|
4131
4263
|
}, "strict", z.ZodTypeAny, {
|
|
4132
4264
|
signature: string;
|
|
4133
|
-
kid: string;
|
|
4134
4265
|
alg: "EdDSA";
|
|
4266
|
+
kid: string;
|
|
4135
4267
|
}, {
|
|
4136
4268
|
signature: string;
|
|
4137
|
-
kid: string;
|
|
4138
4269
|
alg: "EdDSA";
|
|
4270
|
+
kid: string;
|
|
4139
4271
|
}>;
|
|
4140
4272
|
}, "strict", z.ZodTypeAny, {
|
|
4141
4273
|
request: {
|
|
@@ -4146,31 +4278,34 @@ declare const ShareAddressedDelegationEnvelopeV2Schema: z.ZodObject<{
|
|
|
4146
4278
|
value: string;
|
|
4147
4279
|
kind: "exact" | "prefix";
|
|
4148
4280
|
};
|
|
4149
|
-
version: 2;
|
|
4150
|
-
shareId: string;
|
|
4151
|
-
recipientMatcher: {
|
|
4152
|
-
value: string;
|
|
4153
|
-
kind: "exactEmail";
|
|
4154
|
-
} | {
|
|
4155
|
-
value: string;
|
|
4156
|
-
kind: "emailDomain";
|
|
4157
|
-
};
|
|
4158
4281
|
nodeAudience: string;
|
|
4159
4282
|
contentSource: {
|
|
4160
4283
|
path: string;
|
|
4161
4284
|
space: string;
|
|
4162
|
-
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
4163
4285
|
kind: "kv";
|
|
4286
|
+
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
4164
4287
|
} | {
|
|
4165
4288
|
path: string;
|
|
4166
4289
|
statement: string;
|
|
4167
4290
|
space: string;
|
|
4168
|
-
action: "tinycloud.sql/read";
|
|
4169
4291
|
kind: "sql";
|
|
4292
|
+
action: "tinycloud.sql/read";
|
|
4170
4293
|
database: string;
|
|
4171
4294
|
arguments: Record<string, number>;
|
|
4172
4295
|
argumentsDigest: string;
|
|
4173
4296
|
};
|
|
4297
|
+
version: 2;
|
|
4298
|
+
shareId: string;
|
|
4299
|
+
recipientMatcher: {
|
|
4300
|
+
value: string;
|
|
4301
|
+
kind: "exactEmail";
|
|
4302
|
+
} | {
|
|
4303
|
+
value: string;
|
|
4304
|
+
kind: "emailDomain";
|
|
4305
|
+
} | {
|
|
4306
|
+
value: string;
|
|
4307
|
+
kind: "recipientDid";
|
|
4308
|
+
};
|
|
4174
4309
|
contentSourceDigest: string;
|
|
4175
4310
|
jti: string;
|
|
4176
4311
|
senderDid: string;
|
|
@@ -4183,8 +4318,8 @@ declare const ShareAddressedDelegationEnvelopeV2Schema: z.ZodObject<{
|
|
|
4183
4318
|
};
|
|
4184
4319
|
proof: {
|
|
4185
4320
|
signature: string;
|
|
4186
|
-
kid: string;
|
|
4187
4321
|
alg: "EdDSA";
|
|
4322
|
+
kid: string;
|
|
4188
4323
|
};
|
|
4189
4324
|
}, {
|
|
4190
4325
|
request: {
|
|
@@ -4195,31 +4330,34 @@ declare const ShareAddressedDelegationEnvelopeV2Schema: z.ZodObject<{
|
|
|
4195
4330
|
value: string;
|
|
4196
4331
|
kind: "exact" | "prefix";
|
|
4197
4332
|
};
|
|
4198
|
-
version: 2;
|
|
4199
|
-
shareId: string;
|
|
4200
|
-
recipientMatcher: {
|
|
4201
|
-
value: string;
|
|
4202
|
-
kind: "exactEmail";
|
|
4203
|
-
} | {
|
|
4204
|
-
value: string;
|
|
4205
|
-
kind: "emailDomain";
|
|
4206
|
-
};
|
|
4207
4333
|
nodeAudience: string;
|
|
4208
4334
|
contentSource: {
|
|
4209
4335
|
path: string;
|
|
4210
4336
|
space: string;
|
|
4211
|
-
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
4212
4337
|
kind: "kv";
|
|
4338
|
+
action: "tinycloud.kv/get" | "tinycloud.kv/put" | "tinycloud.kv/list" | "tinycloud.kv/metadata";
|
|
4213
4339
|
} | {
|
|
4214
4340
|
path: string;
|
|
4215
4341
|
statement: string;
|
|
4216
4342
|
space: string;
|
|
4217
|
-
action: "tinycloud.sql/read";
|
|
4218
4343
|
kind: "sql";
|
|
4344
|
+
action: "tinycloud.sql/read";
|
|
4219
4345
|
database: string;
|
|
4220
4346
|
arguments: Record<string, number>;
|
|
4221
4347
|
argumentsDigest: string;
|
|
4222
4348
|
};
|
|
4349
|
+
version: 2;
|
|
4350
|
+
shareId: string;
|
|
4351
|
+
recipientMatcher: {
|
|
4352
|
+
value: string;
|
|
4353
|
+
kind: "exactEmail";
|
|
4354
|
+
} | {
|
|
4355
|
+
value: string;
|
|
4356
|
+
kind: "emailDomain";
|
|
4357
|
+
} | {
|
|
4358
|
+
value: string;
|
|
4359
|
+
kind: "recipientDid";
|
|
4360
|
+
};
|
|
4223
4361
|
contentSourceDigest: string;
|
|
4224
4362
|
jti: string;
|
|
4225
4363
|
senderDid: string;
|
|
@@ -4232,8 +4370,8 @@ declare const ShareAddressedDelegationEnvelopeV2Schema: z.ZodObject<{
|
|
|
4232
4370
|
};
|
|
4233
4371
|
proof: {
|
|
4234
4372
|
signature: string;
|
|
4235
|
-
kid: string;
|
|
4236
4373
|
alg: "EdDSA";
|
|
4374
|
+
kid: string;
|
|
4237
4375
|
};
|
|
4238
4376
|
}>;
|
|
4239
4377
|
declare const ShareAddressedDelegationResponseV2Schema: z.ZodObject<{
|
|
@@ -4267,12 +4405,12 @@ declare const ShareAddressedDelegationResponseV2Schema: z.ZodObject<{
|
|
|
4267
4405
|
signature: z.ZodString;
|
|
4268
4406
|
}, "strict", z.ZodTypeAny, {
|
|
4269
4407
|
signature: string;
|
|
4270
|
-
kid: string;
|
|
4271
4408
|
alg: "EdDSA";
|
|
4409
|
+
kid: string;
|
|
4272
4410
|
}, {
|
|
4273
4411
|
signature: string;
|
|
4274
|
-
kid: string;
|
|
4275
4412
|
alg: "EdDSA";
|
|
4413
|
+
kid: string;
|
|
4276
4414
|
}>;
|
|
4277
4415
|
}, "strict", z.ZodTypeAny, {
|
|
4278
4416
|
type: "TinyCloudShareAddressedDelegation";
|
|
@@ -4283,8 +4421,8 @@ declare const ShareAddressedDelegationResponseV2Schema: z.ZodObject<{
|
|
|
4283
4421
|
value: string;
|
|
4284
4422
|
kind: "exact" | "prefix";
|
|
4285
4423
|
};
|
|
4286
|
-
version: 2;
|
|
4287
4424
|
policyCid: string;
|
|
4425
|
+
version: 2;
|
|
4288
4426
|
policyBytes: string;
|
|
4289
4427
|
jti: string;
|
|
4290
4428
|
delegationCid: string;
|
|
@@ -4292,8 +4430,8 @@ declare const ShareAddressedDelegationResponseV2Schema: z.ZodObject<{
|
|
|
4292
4430
|
authorityMaterialDigest: string;
|
|
4293
4431
|
proof: {
|
|
4294
4432
|
signature: string;
|
|
4295
|
-
kid: string;
|
|
4296
4433
|
alg: "EdDSA";
|
|
4434
|
+
kid: string;
|
|
4297
4435
|
};
|
|
4298
4436
|
policyDigest: string;
|
|
4299
4437
|
delegationBytes: string;
|
|
@@ -4307,8 +4445,8 @@ declare const ShareAddressedDelegationResponseV2Schema: z.ZodObject<{
|
|
|
4307
4445
|
value: string;
|
|
4308
4446
|
kind: "exact" | "prefix";
|
|
4309
4447
|
};
|
|
4310
|
-
version: 2;
|
|
4311
4448
|
policyCid: string;
|
|
4449
|
+
version: 2;
|
|
4312
4450
|
policyBytes: string;
|
|
4313
4451
|
jti: string;
|
|
4314
4452
|
delegationCid: string;
|
|
@@ -4316,8 +4454,8 @@ declare const ShareAddressedDelegationResponseV2Schema: z.ZodObject<{
|
|
|
4316
4454
|
authorityMaterialDigest: string;
|
|
4317
4455
|
proof: {
|
|
4318
4456
|
signature: string;
|
|
4319
|
-
kid: string;
|
|
4320
4457
|
alg: "EdDSA";
|
|
4458
|
+
kid: string;
|
|
4321
4459
|
};
|
|
4322
4460
|
policyDigest: string;
|
|
4323
4461
|
delegationBytes: string;
|
|
@@ -4434,4 +4572,4 @@ declare const ShareNativeResponseSchema: z.ZodDiscriminatedUnion<"action", [z.Zo
|
|
|
4434
4572
|
}>]>;
|
|
4435
4573
|
type ShareNativeResponse = z.infer<typeof ShareNativeResponseSchema>;
|
|
4436
4574
|
|
|
4437
|
-
export { type
|
|
4575
|
+
export { type ReceiveOptions as $, type AccountDelegationPage as A, type KeyProvider as B, type CapabilityEntry as C, DelegationManager as D, type EncodedShareData as E, type KeyType as F, type GenerateShareParams as G, MAX_SEALED_SHARE_CONTENT_BYTES as H, type ICapabilityKeyRegistry as I, type JWK as J, type KeyInfo as K, MAX_SHARE_ARTIFACT_BYTES as L, MAX_CONTENT_BYTES as M, MAX_SHARE_CONTENT_BYTES as N, MemorySenderShareKeyStorage as O, MemorySenderShareRecordStorage as P, MemoryShareCache as Q, type Result as R, type OwnerDelegationPermission as S, type OwnerDelegationReceipt as T, type OwnerShareAction as U, type OwnerShareDecryption as V, type OwnerShareMatcher as W, type OwnerSharePolicyRegistration as X, type OwnerSharePolicyRegistrationReceipt as Y, type OwnerSharePolicyV2 as Z, type PortableDelegationImportReceipt as _, type DelegationError as a, ShareRecipientPolicySchema as a$, type RegisterOwnerSharePolicyParams as a0, SHARE_DELIVERY_AUTHORIZATION_DOMAIN as a1, type SenderShareKeyStorage as a2, type SenderShareRecord as a3, type SenderShareRecordStorage as a4, type SenderShareRevocationScope as a5, SenderShareStore as a6, type ShareAccess as a7, ShareAccessError as a8, type ShareAccessV2 as a9, type ShareExpiryBounds as aA, type ShareKvContentSource as aB, type ShareLink as aC, type ShareLinkData as aD, type ShareLinkLocation as aE, type ShareListEntry as aF, type ShareListResult as aG, type ShareNativeAction as aH, type ShareNativeInvokeEnvelopeV1 as aI, type ShareNativeInvokeErrorResult as aJ, type ShareNativeInvokeInput as aK, type ShareNativeInvokeResult as aL, type ShareNativeInvokeSuccessResult as aM, type ShareNativeResponse as aN, ShareNativeResponseSchema as aO, type SharePolicy as aP, type SharePolicyBinding as aQ, type SharePolicySession as aR, type SharePolicySessionV1 as aS, type SharePolicySessionWireV1 as aT, type PortableDelegation as aU, type ShareReadInvocationV1 as aV, type ShareReadResult as aW, ShareRecipientClient as aX, type ShareRecipientClientOptions as aY, ShareRecipientClientOptionsSchema as aZ, type ShareRecipientPolicy as a_, type ShareAction as aa, ShareActionSchema as ab, type ShareAddressedDelegationEnvelopeV2 as ac, ShareAddressedDelegationEnvelopeV2Schema as ad, type ShareAddressedDelegationRequestV2 as ae, ShareAddressedDelegationRequestV2Schema as af, type ShareAddressedDelegationResponseV2 as ag, ShareAddressedDelegationResponseV2Schema as ah, type ShareAddressedRecipientMatcher as ai, type ShareArtifactInput as aj, type ShareArtifactResult as ak, type ShareArtifactV2 as al, type ShareCache as am, type ShareCacheEntry as an, type ShareCacheKey as ao, type ShareCacheMetadata as ap, type ShareCapabilityLike as aq, ShareConflict as ar, type ShareContentMetadata as as, type ShareContentSource as at, type ShareDeliveryAuthorization as au, type ShareDeliveryAuthorizationReceipt as av, type ShareDeliveryAuthorizationRequest as aw, type ShareDetachedProof as ax, ShareEnvelopeError as ay, type ShareEnvelopeV2 as az, type AccountDelegationQueryOptions as b, type ShareRecipientResult as b0, type ShareRecipientTarget as b1, ShareRecipientTargetSchema as b2, type ShareResource as b3, ShareResourceSchema as b4, type ShareSaveOptions as b5, type ShareSchema as b6, type ShareSqlContentSource as b7, type ShareWireAction as b8, SharingService as b9, normalizeShareRecipientTarget as bA, normalizeShareResource as bB, parsePortableDelegation as bC, parseShareArtifact as bD, parseShareUrl as bE, restoreDelegatedShareKey as bF, serializePortableDelegation as bG, shareCapabilityAllows as bH, shareDeliveryTrustedKid as bI, signShareEnvelope as bJ, validateOwnerSharePolicyRegistration as bK, validateOwnerSharePolicyRegistrationBytes as bL, validateShareDeliveryAuthorizationBytes as bM, verifyShareCid as bN, verifyShareEnvelope as bO, CapabilityKeyRegistry as bP, type CapabilityKeyRegistryErrorCode as bQ, CapabilityKeyRegistryErrorCodes as bR, type StoredDelegationChain as bS, createCapabilityKeyRegistry as bT, type SharingServiceConfig as ba, type SignedDelegation as bb, type SpaceInfo as bc, type SpaceOwnership as bd, type ValidateShareDeliveryAuthorizationExpected as be, type VerifyShareEnvelopeOptions as bf, canonicalOwnerSharePolicy as bg, computeOwnerShareRegistrationCid as bh, computeShareCid as bi, createDelegatedShareKey as bj, createPolicyEnforcementDelegation as bk, createShareArtifact as bl, createShareArtifactAsync as bm, createSharePolicy as bn, createSharingService as bo, decryptShareBytesAsync as bp, delegatePortablePolicySession as bq, encodeInlineShareUrl as br, encodeShareArtifact as bs, encodeShareUrl as bt, encryptShareBytes as bu, encryptShareBytesAsync as bv, importPortableDelegation as bw, intersectShareCapabilities as bx, isV2ShareLink as by, normalizeShareActions as bz, type AccountDelegationRecord as c, type AccountDelegationResource as d, type CreateDelegationParams as e, type CreateDelegationWasmParams as f, type CreateDelegationWasmResult as g, type CreateOwnerDelegationParams as h, type DelegateReceivedShareParams as i, type DelegatedResource as j, type DelegatedShareAccess as k, type DelegatedShareKey as l, type Delegation as m, type DelegationApiResponse as n, type DelegationChain as o, type DelegationChainV2 as p, type DelegationDirection as q, type DelegationErrorCode as r, DelegationErrorCodes as s, type DelegationFilters as t, type DelegationManagerConfig as u, type DelegationRecord as v, type DelegationRevocationReceipt as w, type DelegationStatus as x, type ISharingService as y, type IngestOptions as z };
|