@native-marketing/sdk 0.3.7 → 0.3.8
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/http.js +7363 -526
- package/dist/index.js +475 -54
- package/package.json +4 -4
- package/release.json +3 -3
- package/types/contracts/access/permission.d.ts +3 -0
- package/types/contracts/access/project-access.d.ts +2 -0
- package/types/contracts/agent/human-presentation-validation.d.ts +4 -0
- package/types/contracts/agent/human-presentation.d.ts +300 -0
- package/types/contracts/generated/client-release.d.ts +2 -2
- package/types/contracts/index.d.ts +2 -0
- package/types/http/generated/schema.d.ts +594 -0
- package/types/http/human-presentation.d.ts +247 -0
- package/types/http/index.d.ts +2 -0
- package/types/sdk/cli/commands.d.ts +1 -1
- package/types/sdk/cli/output.d.ts +8 -0
- package/types/sdk/client.d.ts +7 -0
- package/types/sdk/human-presentation.d.ts +566 -0
- package/types/sdk/index.d.ts +3 -0
- package/types/sdk/updates/version.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@native-marketing/sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"engines": {
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"apiMajor": 1,
|
|
12
12
|
"nodeMajor": 24,
|
|
13
13
|
"changes": [
|
|
14
|
-
"Unified
|
|
15
|
-
"
|
|
16
|
-
"
|
|
14
|
+
"Unified typed human interaction cards and authenticated reading links across SDK, CLI and MCP.",
|
|
15
|
+
"Explicitly authorized expiring public read-only package text snapshots with original request recovery and revocation.",
|
|
16
|
+
"Bound human presentation responses to the configured Project, original issuance request and source version."
|
|
17
17
|
]
|
|
18
18
|
},
|
|
19
19
|
"publishConfig": {
|
package/release.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sourceCommit": "
|
|
2
|
+
"sourceCommit": "5d24ed0dd6a4464dfc7dbe20275c546919268f25",
|
|
3
3
|
"workingTreeDirty": false,
|
|
4
|
-
"version": "0.3.
|
|
5
|
-
"openapiTypesSha256": "
|
|
4
|
+
"version": "0.3.8",
|
|
5
|
+
"openapiTypesSha256": "ad906135a3c4706a888cb1cbb411d7b032c42120fcd13f5468e748a7f8db6651",
|
|
6
6
|
"localBuild": true
|
|
7
7
|
}
|
|
@@ -32,6 +32,7 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
32
32
|
"package.review": "package.review";
|
|
33
33
|
"permissions.manage": "permissions.manage";
|
|
34
34
|
"personal-context.read": "personal-context.read";
|
|
35
|
+
"presentation.share": "presentation.share";
|
|
35
36
|
"project-representation.manage": "project-representation.manage";
|
|
36
37
|
"project-representation.read": "project-representation.read";
|
|
37
38
|
"project-survey.read": "project-survey.read";
|
|
@@ -90,6 +91,7 @@ export declare const permissionGrantSchema: z.ZodObject<{
|
|
|
90
91
|
"package.review": "package.review";
|
|
91
92
|
"permissions.manage": "permissions.manage";
|
|
92
93
|
"personal-context.read": "personal-context.read";
|
|
94
|
+
"presentation.share": "presentation.share";
|
|
93
95
|
"project-representation.manage": "project-representation.manage";
|
|
94
96
|
"project-representation.read": "project-representation.read";
|
|
95
97
|
"project-survey.read": "project-survey.read";
|
|
@@ -152,6 +154,7 @@ export declare const createPermissionGrantInputSchema: z.ZodObject<{
|
|
|
152
154
|
"package.review": "package.review";
|
|
153
155
|
"permissions.manage": "permissions.manage";
|
|
154
156
|
"personal-context.read": "personal-context.read";
|
|
157
|
+
"presentation.share": "presentation.share";
|
|
155
158
|
"project-representation.manage": "project-representation.manage";
|
|
156
159
|
"project-representation.read": "project-representation.read";
|
|
157
160
|
"project-survey.read": "project-survey.read";
|
|
@@ -52,6 +52,7 @@ export declare const projectAccessViewSchema: z.ZodObject<{
|
|
|
52
52
|
"package.review": "package.review";
|
|
53
53
|
"permissions.manage": "permissions.manage";
|
|
54
54
|
"personal-context.read": "personal-context.read";
|
|
55
|
+
"presentation.share": "presentation.share";
|
|
55
56
|
"project-representation.manage": "project-representation.manage";
|
|
56
57
|
"project-representation.read": "project-representation.read";
|
|
57
58
|
"project-survey.read": "project-survey.read";
|
|
@@ -102,6 +103,7 @@ export declare const projectAccessViewSchema: z.ZodObject<{
|
|
|
102
103
|
"package.review": "package.review";
|
|
103
104
|
"permissions.manage": "permissions.manage";
|
|
104
105
|
"personal-context.read": "personal-context.read";
|
|
106
|
+
"presentation.share": "presentation.share";
|
|
105
107
|
"project-representation.manage": "project-representation.manage";
|
|
106
108
|
"project-representation.read": "project-representation.read";
|
|
107
109
|
"project-survey.read": "project-survey.read";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { HumanPresentation } from './human-presentation.js';
|
|
2
|
+
/** Bind externally returned URLs to the configured product and exact Project. */
|
|
3
|
+
export declare function validateHumanPresentationResource(human: HumanPresentation, resource: string, packageCode?: string): boolean;
|
|
4
|
+
export declare function validateHumanPresentationResponse(parsed: Record<string, unknown>, resource: string, input: Record<string, unknown>, operation: string): boolean;
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const humanPresentationCapability = "com.native-marketing/human-presentation";
|
|
3
|
+
export declare const humanPresentationFeatures: Readonly<{
|
|
4
|
+
version: 1;
|
|
5
|
+
subjects: string[];
|
|
6
|
+
interactions: string[];
|
|
7
|
+
links: string[];
|
|
8
|
+
publicRead: "SNAPSHOT";
|
|
9
|
+
}>;
|
|
10
|
+
export declare const humanPresentationInputSchema: z.ZodObject<{
|
|
11
|
+
packageCode: z.ZodString;
|
|
12
|
+
}, z.core.$strict>;
|
|
13
|
+
export declare const humanReadLinkSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14
|
+
linkRef: z.ZodString;
|
|
15
|
+
kind: z.ZodLiteral<"READABLE_CONTENT">;
|
|
16
|
+
title: z.ZodString;
|
|
17
|
+
subjectRef: z.ZodString;
|
|
18
|
+
url: z.ZodString;
|
|
19
|
+
access: z.ZodLiteral<"AUTHENTICATED">;
|
|
20
|
+
representation: z.ZodLiteral<"CURRENT_VIEW">;
|
|
21
|
+
expiresAt: z.ZodNull;
|
|
22
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
23
|
+
linkRef: z.ZodString;
|
|
24
|
+
kind: z.ZodLiteral<"READABLE_CONTENT">;
|
|
25
|
+
title: z.ZodString;
|
|
26
|
+
subjectRef: z.ZodString;
|
|
27
|
+
url: z.ZodString;
|
|
28
|
+
access: z.ZodLiteral<"TEMPORARY_PUBLIC_READ">;
|
|
29
|
+
representation: z.ZodLiteral<"SNAPSHOT">;
|
|
30
|
+
snapshotRef: z.ZodString;
|
|
31
|
+
contentSha256: z.ZodString;
|
|
32
|
+
createdAt: z.ZodString;
|
|
33
|
+
expiresAt: z.ZodString;
|
|
34
|
+
}, z.core.$strict>], "access">;
|
|
35
|
+
export declare const humanInteractionSchema: z.ZodObject<{
|
|
36
|
+
interactionRef: z.ZodString;
|
|
37
|
+
kind: z.ZodLiteral<"CONTENT_PACKAGE_REVIEW">;
|
|
38
|
+
subjectRef: z.ZodString;
|
|
39
|
+
title: z.ZodString;
|
|
40
|
+
summary: z.ZodString;
|
|
41
|
+
state: z.ZodEnum<{
|
|
42
|
+
APPROVED: "APPROVED";
|
|
43
|
+
PENDING: "PENDING";
|
|
44
|
+
REJECTED: "REJECTED";
|
|
45
|
+
RESOLVED: "RESOLVED";
|
|
46
|
+
}>;
|
|
47
|
+
sourceState: z.ZodString;
|
|
48
|
+
actionDigest: z.ZodString;
|
|
49
|
+
expiresAt: z.ZodNull;
|
|
50
|
+
reviewUrl: z.ZodString;
|
|
51
|
+
canReview: z.ZodBoolean;
|
|
52
|
+
}, z.core.$strict>;
|
|
53
|
+
export declare const humanPresentationSchema: z.ZodObject<{
|
|
54
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
55
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
56
|
+
interactionRef: z.ZodString;
|
|
57
|
+
kind: z.ZodLiteral<"CONTENT_PACKAGE_REVIEW">;
|
|
58
|
+
subjectRef: z.ZodString;
|
|
59
|
+
title: z.ZodString;
|
|
60
|
+
summary: z.ZodString;
|
|
61
|
+
state: z.ZodEnum<{
|
|
62
|
+
APPROVED: "APPROVED";
|
|
63
|
+
PENDING: "PENDING";
|
|
64
|
+
REJECTED: "REJECTED";
|
|
65
|
+
RESOLVED: "RESOLVED";
|
|
66
|
+
}>;
|
|
67
|
+
sourceState: z.ZodString;
|
|
68
|
+
actionDigest: z.ZodString;
|
|
69
|
+
expiresAt: z.ZodNull;
|
|
70
|
+
reviewUrl: z.ZodString;
|
|
71
|
+
canReview: z.ZodBoolean;
|
|
72
|
+
}, z.core.$strict>>;
|
|
73
|
+
links: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
74
|
+
linkRef: z.ZodString;
|
|
75
|
+
kind: z.ZodLiteral<"READABLE_CONTENT">;
|
|
76
|
+
title: z.ZodString;
|
|
77
|
+
subjectRef: z.ZodString;
|
|
78
|
+
url: z.ZodString;
|
|
79
|
+
access: z.ZodLiteral<"AUTHENTICATED">;
|
|
80
|
+
representation: z.ZodLiteral<"CURRENT_VIEW">;
|
|
81
|
+
expiresAt: z.ZodNull;
|
|
82
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
83
|
+
linkRef: z.ZodString;
|
|
84
|
+
kind: z.ZodLiteral<"READABLE_CONTENT">;
|
|
85
|
+
title: z.ZodString;
|
|
86
|
+
subjectRef: z.ZodString;
|
|
87
|
+
url: z.ZodString;
|
|
88
|
+
access: z.ZodLiteral<"TEMPORARY_PUBLIC_READ">;
|
|
89
|
+
representation: z.ZodLiteral<"SNAPSHOT">;
|
|
90
|
+
snapshotRef: z.ZodString;
|
|
91
|
+
contentSha256: z.ZodString;
|
|
92
|
+
createdAt: z.ZodString;
|
|
93
|
+
expiresAt: z.ZodString;
|
|
94
|
+
}, z.core.$strict>], "access">>;
|
|
95
|
+
}, z.core.$strict>;
|
|
96
|
+
export declare const humanReadableDocumentSchema: z.ZodObject<{
|
|
97
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
98
|
+
title: z.ZodString;
|
|
99
|
+
subjectRef: z.ZodString;
|
|
100
|
+
manifestHash: z.ZodString;
|
|
101
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
102
|
+
heading: z.ZodString;
|
|
103
|
+
text: z.ZodString;
|
|
104
|
+
}, z.core.$strict>>;
|
|
105
|
+
}, z.core.$strict>;
|
|
106
|
+
export declare const issueHumanReadLinkInputSchema: z.ZodObject<{
|
|
107
|
+
requestId: z.ZodString;
|
|
108
|
+
packageCode: z.ZodString;
|
|
109
|
+
expectedManifestHash: z.ZodString;
|
|
110
|
+
access: z.ZodLiteral<"TEMPORARY_PUBLIC_READ">;
|
|
111
|
+
targetKeys: z.ZodArray<z.ZodString>;
|
|
112
|
+
ttlSeconds: z.ZodDefault<z.ZodNumber>;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
export declare const humanReadLinkLookupSchema: z.ZodObject<{
|
|
115
|
+
linkRef: z.ZodString;
|
|
116
|
+
}, z.core.$strict>;
|
|
117
|
+
export declare const humanReadLinkReceiptQuerySchema: z.ZodObject<{
|
|
118
|
+
requestId: z.ZodString;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
export declare const revokeHumanReadLinkInputSchema: z.ZodObject<{
|
|
121
|
+
linkRef: z.ZodString;
|
|
122
|
+
requestId: z.ZodString;
|
|
123
|
+
}, z.core.$strict>;
|
|
124
|
+
export declare const humanReadLinkResultSchema: z.ZodObject<{
|
|
125
|
+
linkRef: z.ZodString;
|
|
126
|
+
issuanceRequestId: z.ZodString;
|
|
127
|
+
state: z.ZodEnum<{
|
|
128
|
+
ACTIVE: "ACTIVE";
|
|
129
|
+
EXPIRED: "EXPIRED";
|
|
130
|
+
REVOKED: "REVOKED";
|
|
131
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
132
|
+
}>;
|
|
133
|
+
packageCode: z.ZodString;
|
|
134
|
+
manifestHash: z.ZodString;
|
|
135
|
+
expiresAt: z.ZodString;
|
|
136
|
+
human: z.ZodObject<{
|
|
137
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
138
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
139
|
+
interactionRef: z.ZodString;
|
|
140
|
+
kind: z.ZodLiteral<"CONTENT_PACKAGE_REVIEW">;
|
|
141
|
+
subjectRef: z.ZodString;
|
|
142
|
+
title: z.ZodString;
|
|
143
|
+
summary: z.ZodString;
|
|
144
|
+
state: z.ZodEnum<{
|
|
145
|
+
APPROVED: "APPROVED";
|
|
146
|
+
PENDING: "PENDING";
|
|
147
|
+
REJECTED: "REJECTED";
|
|
148
|
+
RESOLVED: "RESOLVED";
|
|
149
|
+
}>;
|
|
150
|
+
sourceState: z.ZodString;
|
|
151
|
+
actionDigest: z.ZodString;
|
|
152
|
+
expiresAt: z.ZodNull;
|
|
153
|
+
reviewUrl: z.ZodString;
|
|
154
|
+
canReview: z.ZodBoolean;
|
|
155
|
+
}, z.core.$strict>>;
|
|
156
|
+
links: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
157
|
+
linkRef: z.ZodString;
|
|
158
|
+
kind: z.ZodLiteral<"READABLE_CONTENT">;
|
|
159
|
+
title: z.ZodString;
|
|
160
|
+
subjectRef: z.ZodString;
|
|
161
|
+
url: z.ZodString;
|
|
162
|
+
access: z.ZodLiteral<"AUTHENTICATED">;
|
|
163
|
+
representation: z.ZodLiteral<"CURRENT_VIEW">;
|
|
164
|
+
expiresAt: z.ZodNull;
|
|
165
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
166
|
+
linkRef: z.ZodString;
|
|
167
|
+
kind: z.ZodLiteral<"READABLE_CONTENT">;
|
|
168
|
+
title: z.ZodString;
|
|
169
|
+
subjectRef: z.ZodString;
|
|
170
|
+
url: z.ZodString;
|
|
171
|
+
access: z.ZodLiteral<"TEMPORARY_PUBLIC_READ">;
|
|
172
|
+
representation: z.ZodLiteral<"SNAPSHOT">;
|
|
173
|
+
snapshotRef: z.ZodString;
|
|
174
|
+
contentSha256: z.ZodString;
|
|
175
|
+
createdAt: z.ZodString;
|
|
176
|
+
expiresAt: z.ZodString;
|
|
177
|
+
}, z.core.$strict>], "access">>;
|
|
178
|
+
}, z.core.$strict>;
|
|
179
|
+
}, z.core.$strict>;
|
|
180
|
+
export declare const humanReadLinkReceiptSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
181
|
+
status: z.ZodLiteral<"FOUND">;
|
|
182
|
+
receipt: z.ZodObject<{
|
|
183
|
+
linkRef: z.ZodString;
|
|
184
|
+
issuanceRequestId: z.ZodString;
|
|
185
|
+
state: z.ZodEnum<{
|
|
186
|
+
ACTIVE: "ACTIVE";
|
|
187
|
+
EXPIRED: "EXPIRED";
|
|
188
|
+
REVOKED: "REVOKED";
|
|
189
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
190
|
+
}>;
|
|
191
|
+
packageCode: z.ZodString;
|
|
192
|
+
manifestHash: z.ZodString;
|
|
193
|
+
expiresAt: z.ZodString;
|
|
194
|
+
human: z.ZodObject<{
|
|
195
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
196
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
197
|
+
interactionRef: z.ZodString;
|
|
198
|
+
kind: z.ZodLiteral<"CONTENT_PACKAGE_REVIEW">;
|
|
199
|
+
subjectRef: z.ZodString;
|
|
200
|
+
title: z.ZodString;
|
|
201
|
+
summary: z.ZodString;
|
|
202
|
+
state: z.ZodEnum<{
|
|
203
|
+
APPROVED: "APPROVED";
|
|
204
|
+
PENDING: "PENDING";
|
|
205
|
+
REJECTED: "REJECTED";
|
|
206
|
+
RESOLVED: "RESOLVED";
|
|
207
|
+
}>;
|
|
208
|
+
sourceState: z.ZodString;
|
|
209
|
+
actionDigest: z.ZodString;
|
|
210
|
+
expiresAt: z.ZodNull;
|
|
211
|
+
reviewUrl: z.ZodString;
|
|
212
|
+
canReview: z.ZodBoolean;
|
|
213
|
+
}, z.core.$strict>>;
|
|
214
|
+
links: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
215
|
+
linkRef: z.ZodString;
|
|
216
|
+
kind: z.ZodLiteral<"READABLE_CONTENT">;
|
|
217
|
+
title: z.ZodString;
|
|
218
|
+
subjectRef: z.ZodString;
|
|
219
|
+
url: z.ZodString;
|
|
220
|
+
access: z.ZodLiteral<"AUTHENTICATED">;
|
|
221
|
+
representation: z.ZodLiteral<"CURRENT_VIEW">;
|
|
222
|
+
expiresAt: z.ZodNull;
|
|
223
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
224
|
+
linkRef: z.ZodString;
|
|
225
|
+
kind: z.ZodLiteral<"READABLE_CONTENT">;
|
|
226
|
+
title: z.ZodString;
|
|
227
|
+
subjectRef: z.ZodString;
|
|
228
|
+
url: z.ZodString;
|
|
229
|
+
access: z.ZodLiteral<"TEMPORARY_PUBLIC_READ">;
|
|
230
|
+
representation: z.ZodLiteral<"SNAPSHOT">;
|
|
231
|
+
snapshotRef: z.ZodString;
|
|
232
|
+
contentSha256: z.ZodString;
|
|
233
|
+
createdAt: z.ZodString;
|
|
234
|
+
expiresAt: z.ZodString;
|
|
235
|
+
}, z.core.$strict>], "access">>;
|
|
236
|
+
}, z.core.$strict>;
|
|
237
|
+
}, z.core.$strict>;
|
|
238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
239
|
+
status: z.ZodLiteral<"NOT_FOUND">;
|
|
240
|
+
}, z.core.$strict>], "status">;
|
|
241
|
+
export type HumanPresentation = z.infer<typeof humanPresentationSchema>;
|
|
242
|
+
export type HumanInteraction = z.infer<typeof humanInteractionSchema>;
|
|
243
|
+
export type HumanReadLink = z.infer<typeof humanReadLinkSchema>;
|
|
244
|
+
export type HumanReadableDocument = z.infer<typeof humanReadableDocumentSchema>;
|
|
245
|
+
export type IssueHumanReadLinkInput = z.input<typeof issueHumanReadLinkInputSchema>;
|
|
246
|
+
export type HumanPresentationContract<T> = z.ZodType<T>;
|
|
247
|
+
export type HumanPresentationContractInput<T extends z.ZodType> = z.input<T>;
|
|
248
|
+
export type HumanReadLinkResult = z.infer<typeof humanReadLinkResultSchema>;
|
|
249
|
+
export declare const cleanupHumanReadLinksInputSchema: z.ZodObject<{
|
|
250
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
251
|
+
}, z.core.$strict>;
|
|
252
|
+
export declare const cleanupHumanReadLinksResultSchema: z.ZodObject<{
|
|
253
|
+
reclaimed: z.ZodNumber;
|
|
254
|
+
limit: z.ZodNumber;
|
|
255
|
+
}, z.core.$strict>;
|
|
256
|
+
export declare const humanPresentationResultSchema: z.ZodObject<{
|
|
257
|
+
human: z.ZodObject<{
|
|
258
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
259
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
260
|
+
interactionRef: z.ZodString;
|
|
261
|
+
kind: z.ZodLiteral<"CONTENT_PACKAGE_REVIEW">;
|
|
262
|
+
subjectRef: z.ZodString;
|
|
263
|
+
title: z.ZodString;
|
|
264
|
+
summary: z.ZodString;
|
|
265
|
+
state: z.ZodEnum<{
|
|
266
|
+
APPROVED: "APPROVED";
|
|
267
|
+
PENDING: "PENDING";
|
|
268
|
+
REJECTED: "REJECTED";
|
|
269
|
+
RESOLVED: "RESOLVED";
|
|
270
|
+
}>;
|
|
271
|
+
sourceState: z.ZodString;
|
|
272
|
+
actionDigest: z.ZodString;
|
|
273
|
+
expiresAt: z.ZodNull;
|
|
274
|
+
reviewUrl: z.ZodString;
|
|
275
|
+
canReview: z.ZodBoolean;
|
|
276
|
+
}, z.core.$strict>>;
|
|
277
|
+
links: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
278
|
+
linkRef: z.ZodString;
|
|
279
|
+
kind: z.ZodLiteral<"READABLE_CONTENT">;
|
|
280
|
+
title: z.ZodString;
|
|
281
|
+
subjectRef: z.ZodString;
|
|
282
|
+
url: z.ZodString;
|
|
283
|
+
access: z.ZodLiteral<"AUTHENTICATED">;
|
|
284
|
+
representation: z.ZodLiteral<"CURRENT_VIEW">;
|
|
285
|
+
expiresAt: z.ZodNull;
|
|
286
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
287
|
+
linkRef: z.ZodString;
|
|
288
|
+
kind: z.ZodLiteral<"READABLE_CONTENT">;
|
|
289
|
+
title: z.ZodString;
|
|
290
|
+
subjectRef: z.ZodString;
|
|
291
|
+
url: z.ZodString;
|
|
292
|
+
access: z.ZodLiteral<"TEMPORARY_PUBLIC_READ">;
|
|
293
|
+
representation: z.ZodLiteral<"SNAPSHOT">;
|
|
294
|
+
snapshotRef: z.ZodString;
|
|
295
|
+
contentSha256: z.ZodString;
|
|
296
|
+
createdAt: z.ZodString;
|
|
297
|
+
expiresAt: z.ZodString;
|
|
298
|
+
}, z.core.$strict>], "access">>;
|
|
299
|
+
}, z.core.$strict>;
|
|
300
|
+
}, z.core.$strict>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const nativeClientRelease: {
|
|
2
2
|
readonly schemaVersion: 1;
|
|
3
3
|
readonly product: 'native-marketing';
|
|
4
|
-
readonly version: '0.3.
|
|
4
|
+
readonly version: '0.3.8';
|
|
5
5
|
readonly packages: {
|
|
6
6
|
readonly sdk: '@native-marketing/sdk';
|
|
7
7
|
readonly cli: '@native-marketing/cli';
|
|
@@ -10,5 +10,5 @@ export declare const nativeClientRelease: {
|
|
|
10
10
|
readonly minimumClientVersion: '0.3.6';
|
|
11
11
|
readonly apiMajor: 1;
|
|
12
12
|
readonly nodeMajor: 24;
|
|
13
|
-
readonly changes: readonly ['Unified
|
|
13
|
+
readonly changes: readonly ['Unified typed human interaction cards and authenticated reading links across SDK, CLI and MCP.', 'Explicitly authorized expiring public read-only package text snapshots with original request recovery and revocation.', 'Bound human presentation responses to the configured Project, original issuance request and source version.'];
|
|
14
14
|
};
|
|
@@ -119,3 +119,5 @@ export * from './event-inbox.js';
|
|
|
119
119
|
export * from './event-outbox-browser.js';
|
|
120
120
|
export * from './client-lifecycle.js';
|
|
121
121
|
export * from './client-update-policy.js';
|
|
122
|
+
export * from './agent/human-presentation.js';
|
|
123
|
+
export * from './agent/human-presentation-validation.js';
|