@native-marketing/sdk 0.3.2 → 0.3.4

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.
@@ -109,7 +109,10 @@ export * from './feedback-facts.js';
109
109
  export * from './knowledge-discovery.js';
110
110
  export * from './event-exchange.js';
111
111
  export * from './event-exchange-browser.js';
112
- export { eventDeliveryPageQuerySchema, eventDeliveryPageSchema, eventDeliveryRecoveryResultSchema, eventDeliveryRecoveryReceiptSchema, } from './event-delivery.js';
112
+ export { EVENTSDK_WORKER_OBSERVATION_MAX_AGE_MS, eventDeliveryPageQuerySchema, eventDeliveryPageSchema, eventDeliveryRecoveryResultSchema, eventDeliveryRecoveryReceiptSchema, } from './event-delivery.js';
113
113
  export { knowledgeReferenceAdoptedDataSchema } from './native-event-data.js';
114
114
  export * from './marketing-domain-events.js';
115
115
  export * from './event-backlog.js';
116
+ export * from './event-readiness.js';
117
+ export * from './event-inbox.js';
118
+ export * from './event-outbox-browser.js';
@@ -103,6 +103,35 @@ export type KnowledgeDiscoveryReadQuery = z.infer<typeof knowledgeDiscoveryReadQ
103
103
  export type KnowledgeDiscoveryItem = z.infer<typeof knowledgeDiscoveryItemSchema>;
104
104
  export type KnowledgeDiscoveryPage = z.infer<typeof knowledgeDiscoveryPageSchema>;
105
105
  export type KnowledgeDiscoveryRead = z.infer<typeof knowledgeDiscoveryReadSchema>;
106
+ export declare const knowledgeDiscoveryDescriptionSchema: z.ZodObject<{
107
+ schemaVersion: z.ZodLiteral<1>;
108
+ sourceTenantId: z.ZodString;
109
+ item: z.ZodObject<{
110
+ ref: z.ZodString;
111
+ ownerTenantId: z.ZodString;
112
+ resourceType: z.ZodString;
113
+ originType: z.ZodEnum<{
114
+ LEGACY_PROJECT: "LEGACY_PROJECT";
115
+ TENANT_AUTHOR: "TENANT_AUTHOR";
116
+ TENANT_SOURCE: "TENANT_SOURCE";
117
+ }>;
118
+ identityHash: z.ZodString;
119
+ identityKind: z.ZodEnum<{
120
+ CAS_BYTES: "CAS_BYTES";
121
+ REFERENCE_RECORD_DIGEST: "REFERENCE_RECORD_DIGEST";
122
+ }>;
123
+ kind: z.ZodString;
124
+ classification: z.ZodString;
125
+ mediaType: z.ZodString;
126
+ title: z.ZodString;
127
+ summary: z.ZodString;
128
+ readable: z.ZodBoolean;
129
+ reasonCodes: z.ZodArray<z.ZodString>;
130
+ }, z.core.$strip>;
131
+ byteLength: z.ZodNullable<z.ZodNumber>;
132
+ checkedAt: z.ZodString;
133
+ }, z.core.$strict>;
134
+ export type KnowledgeDiscoveryDescription = z.infer<typeof knowledgeDiscoveryDescriptionSchema>;
106
135
  export declare const knowledgeAdoptionCommandSchema: z.ZodObject<{
107
136
  ref: z.ZodNonOptional<z.ZodString>;
108
137
  expectedContentHash: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
@@ -179,6 +208,7 @@ export declare const knowledgeAdoptionReceiptSchema: z.ZodDiscriminatedUnion<[z.
179
208
  export declare const adoptedKnowledgeResourceSchema: z.ZodObject<{
180
209
  schemaVersion: z.ZodLiteral<1>;
181
210
  sourceTenantId: z.ZodString;
211
+ ownerTenantId: z.ZodOptional<z.ZodString>;
182
212
  ref: z.ZodString;
183
213
  identityHash: z.ZodString;
184
214
  }, z.core.$strict>;
@@ -167,7 +167,79 @@ export declare const knowledgeMaterialCapabilityResponseSchema: z.ZodObject<{
167
167
  }, z.core.$loose>;
168
168
  }, z.core.$loose>;
169
169
  }, z.core.$loose>;
170
- export declare const sourceMaterialCapabilitySchema: z.ZodObject<{
170
+ export declare const knowledgeResourceMaterialCapabilitySchema: z.ZodObject<{
171
+ schemaVersion: z.ZodLiteral<2>;
172
+ context: z.ZodObject<{
173
+ type: z.ZodLiteral<"TENANT">;
174
+ tenantId: z.ZodString;
175
+ tenantRef: z.ZodString;
176
+ }, z.core.$strict>;
177
+ material: z.ZodObject<{
178
+ item: z.ZodObject<{
179
+ ref: z.ZodString;
180
+ ownerTenantId: z.ZodString;
181
+ resourceType: z.ZodString;
182
+ originType: z.ZodEnum<{
183
+ LEGACY_PROJECT: "LEGACY_PROJECT";
184
+ TENANT_AUTHOR: "TENANT_AUTHOR";
185
+ TENANT_SOURCE: "TENANT_SOURCE";
186
+ }>;
187
+ identityHash: z.ZodString;
188
+ identityKind: z.ZodEnum<{
189
+ CAS_BYTES: "CAS_BYTES";
190
+ REFERENCE_RECORD_DIGEST: "REFERENCE_RECORD_DIGEST";
191
+ }>;
192
+ kind: z.ZodString;
193
+ classification: z.ZodString;
194
+ mediaType: z.ZodString;
195
+ title: z.ZodString;
196
+ summary: z.ZodString;
197
+ readable: z.ZodBoolean;
198
+ reasonCodes: z.ZodArray<z.ZodString>;
199
+ }, z.core.$strip>;
200
+ materialAccess: z.ZodObject<{
201
+ action: z.ZodEnum<{
202
+ ALLOW: "ALLOW";
203
+ DENY: "DENY";
204
+ REVIEW_REQUIRED: "REVIEW_REQUIRED";
205
+ }>;
206
+ reasonCodes: z.ZodArray<z.ZodString>;
207
+ assessedAt: z.ZodString;
208
+ }, z.core.$loose>;
209
+ representation: z.ZodObject<{
210
+ state: z.ZodEnum<{
211
+ DENIED: "DENIED";
212
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
213
+ MISSING: "MISSING";
214
+ READY: "READY";
215
+ UNSUPPORTED: "UNSUPPORTED";
216
+ }>;
217
+ format: z.ZodEnum<{
218
+ BYTES: "BYTES";
219
+ JSON: "JSON";
220
+ }>;
221
+ transfer: z.ZodEnum<{
222
+ BUFFERED_JSON: "BUFFERED_JSON";
223
+ UNSUPPORTED: "UNSUPPORTED";
224
+ VERIFIED_STREAM: "VERIFIED_STREAM";
225
+ }>;
226
+ contentHash: z.ZodNullable<z.ZodString>;
227
+ mediaType: z.ZodString;
228
+ byteLength: z.ZodNullable<z.ZodNumber>;
229
+ methods: z.ZodArray<z.ZodEnum<{
230
+ GET: "GET";
231
+ HEAD: "HEAD";
232
+ }>>;
233
+ range: z.ZodEnum<{
234
+ NONE: "NONE";
235
+ SINGLE: "SINGLE";
236
+ }>;
237
+ verification: z.ZodLiteral<"ON_READ">;
238
+ verificationChunkBytes: z.ZodNullable<z.ZodNumber>;
239
+ }, z.core.$loose>;
240
+ }, z.core.$strict>;
241
+ }, z.core.$strict>;
242
+ export declare const sourceDeliveryCapabilitySchema: z.ZodUnion<readonly [z.ZodObject<{
171
243
  schemaVersion: z.ZodLiteral<2>;
172
244
  projectKey: z.ZodString;
173
245
  material: z.ZodObject<{
@@ -230,10 +302,217 @@ export declare const sourceMaterialCapabilitySchema: z.ZodObject<{
230
302
  verificationChunkBytes: z.ZodNullable<z.ZodNumber>;
231
303
  }, z.core.$loose>;
232
304
  }, z.core.$loose>;
305
+ }, z.core.$loose>, z.ZodObject<{
306
+ schemaVersion: z.ZodLiteral<2>;
307
+ context: z.ZodObject<{
308
+ type: z.ZodLiteral<"TENANT">;
309
+ tenantId: z.ZodString;
310
+ tenantRef: z.ZodString;
311
+ }, z.core.$strict>;
312
+ material: z.ZodObject<{
313
+ item: z.ZodObject<{
314
+ ref: z.ZodString;
315
+ ownerTenantId: z.ZodString;
316
+ resourceType: z.ZodString;
317
+ originType: z.ZodEnum<{
318
+ LEGACY_PROJECT: "LEGACY_PROJECT";
319
+ TENANT_AUTHOR: "TENANT_AUTHOR";
320
+ TENANT_SOURCE: "TENANT_SOURCE";
321
+ }>;
322
+ identityHash: z.ZodString;
323
+ identityKind: z.ZodEnum<{
324
+ CAS_BYTES: "CAS_BYTES";
325
+ REFERENCE_RECORD_DIGEST: "REFERENCE_RECORD_DIGEST";
326
+ }>;
327
+ kind: z.ZodString;
328
+ classification: z.ZodString;
329
+ mediaType: z.ZodString;
330
+ title: z.ZodString;
331
+ summary: z.ZodString;
332
+ readable: z.ZodBoolean;
333
+ reasonCodes: z.ZodArray<z.ZodString>;
334
+ }, z.core.$strip>;
335
+ materialAccess: z.ZodObject<{
336
+ action: z.ZodEnum<{
337
+ ALLOW: "ALLOW";
338
+ DENY: "DENY";
339
+ REVIEW_REQUIRED: "REVIEW_REQUIRED";
340
+ }>;
341
+ reasonCodes: z.ZodArray<z.ZodString>;
342
+ assessedAt: z.ZodString;
343
+ }, z.core.$loose>;
344
+ representation: z.ZodObject<{
345
+ state: z.ZodEnum<{
346
+ DENIED: "DENIED";
347
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
348
+ MISSING: "MISSING";
349
+ READY: "READY";
350
+ UNSUPPORTED: "UNSUPPORTED";
351
+ }>;
352
+ format: z.ZodEnum<{
353
+ BYTES: "BYTES";
354
+ JSON: "JSON";
355
+ }>;
356
+ transfer: z.ZodEnum<{
357
+ BUFFERED_JSON: "BUFFERED_JSON";
358
+ UNSUPPORTED: "UNSUPPORTED";
359
+ VERIFIED_STREAM: "VERIFIED_STREAM";
360
+ }>;
361
+ contentHash: z.ZodNullable<z.ZodString>;
362
+ mediaType: z.ZodString;
363
+ byteLength: z.ZodNullable<z.ZodNumber>;
364
+ methods: z.ZodArray<z.ZodEnum<{
365
+ GET: "GET";
366
+ HEAD: "HEAD";
367
+ }>>;
368
+ range: z.ZodEnum<{
369
+ NONE: "NONE";
370
+ SINGLE: "SINGLE";
371
+ }>;
372
+ verification: z.ZodLiteral<"ON_READ">;
373
+ verificationChunkBytes: z.ZodNullable<z.ZodNumber>;
374
+ }, z.core.$loose>;
375
+ }, z.core.$strict>;
376
+ }, z.core.$strict>]>;
377
+ export declare const sourceMaterialCapabilitySchema: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
378
+ schemaVersion: z.ZodLiteral<2>;
379
+ projectKey: z.ZodString;
380
+ material: z.ZodObject<{
381
+ item: z.ZodObject<{
382
+ ref: z.ZodString;
383
+ resourceType: z.ZodString;
384
+ sourceProjectKey: z.ZodString;
385
+ identityHash: z.ZodString;
386
+ kind: z.ZodString;
387
+ classification: z.ZodString;
388
+ mediaType: z.ZodString;
389
+ decision: z.ZodObject<{
390
+ action: z.ZodEnum<{
391
+ ALLOW: "ALLOW";
392
+ DENY: "DENY";
393
+ REVIEW_REQUIRED: "REVIEW_REQUIRED";
394
+ }>;
395
+ reasonCodes: z.ZodArray<z.ZodString>;
396
+ assessedAt: z.ZodString;
397
+ }, z.core.$loose>;
398
+ }, z.core.$loose>;
399
+ materialAccess: z.ZodObject<{
400
+ action: z.ZodEnum<{
401
+ ALLOW: "ALLOW";
402
+ DENY: "DENY";
403
+ REVIEW_REQUIRED: "REVIEW_REQUIRED";
404
+ }>;
405
+ reasonCodes: z.ZodArray<z.ZodString>;
406
+ assessedAt: z.ZodString;
407
+ }, z.core.$loose>;
408
+ representation: z.ZodObject<{
409
+ state: z.ZodEnum<{
410
+ DENIED: "DENIED";
411
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
412
+ MISSING: "MISSING";
413
+ READY: "READY";
414
+ UNSUPPORTED: "UNSUPPORTED";
415
+ }>;
416
+ format: z.ZodEnum<{
417
+ BYTES: "BYTES";
418
+ JSON: "JSON";
419
+ }>;
420
+ transfer: z.ZodEnum<{
421
+ BUFFERED_JSON: "BUFFERED_JSON";
422
+ UNSUPPORTED: "UNSUPPORTED";
423
+ VERIFIED_STREAM: "VERIFIED_STREAM";
424
+ }>;
425
+ contentHash: z.ZodNullable<z.ZodString>;
426
+ mediaType: z.ZodString;
427
+ byteLength: z.ZodNullable<z.ZodNumber>;
428
+ methods: z.ZodArray<z.ZodEnum<{
429
+ GET: "GET";
430
+ HEAD: "HEAD";
431
+ }>>;
432
+ range: z.ZodEnum<{
433
+ NONE: "NONE";
434
+ SINGLE: "SINGLE";
435
+ }>;
436
+ verification: z.ZodLiteral<"ON_READ">;
437
+ verificationChunkBytes: z.ZodNullable<z.ZodNumber>;
438
+ }, z.core.$loose>;
439
+ }, z.core.$loose>;
440
+ }, z.core.$loose>, z.ZodObject<{
441
+ schemaVersion: z.ZodLiteral<2>;
442
+ context: z.ZodObject<{
443
+ type: z.ZodLiteral<"TENANT">;
444
+ tenantId: z.ZodString;
445
+ tenantRef: z.ZodString;
446
+ }, z.core.$strict>;
447
+ material: z.ZodObject<{
448
+ item: z.ZodObject<{
449
+ ref: z.ZodString;
450
+ ownerTenantId: z.ZodString;
451
+ resourceType: z.ZodString;
452
+ originType: z.ZodEnum<{
453
+ LEGACY_PROJECT: "LEGACY_PROJECT";
454
+ TENANT_AUTHOR: "TENANT_AUTHOR";
455
+ TENANT_SOURCE: "TENANT_SOURCE";
456
+ }>;
457
+ identityHash: z.ZodString;
458
+ identityKind: z.ZodEnum<{
459
+ CAS_BYTES: "CAS_BYTES";
460
+ REFERENCE_RECORD_DIGEST: "REFERENCE_RECORD_DIGEST";
461
+ }>;
462
+ kind: z.ZodString;
463
+ classification: z.ZodString;
464
+ mediaType: z.ZodString;
465
+ title: z.ZodString;
466
+ summary: z.ZodString;
467
+ readable: z.ZodBoolean;
468
+ reasonCodes: z.ZodArray<z.ZodString>;
469
+ }, z.core.$strip>;
470
+ materialAccess: z.ZodObject<{
471
+ action: z.ZodEnum<{
472
+ ALLOW: "ALLOW";
473
+ DENY: "DENY";
474
+ REVIEW_REQUIRED: "REVIEW_REQUIRED";
475
+ }>;
476
+ reasonCodes: z.ZodArray<z.ZodString>;
477
+ assessedAt: z.ZodString;
478
+ }, z.core.$loose>;
479
+ representation: z.ZodObject<{
480
+ state: z.ZodEnum<{
481
+ DENIED: "DENIED";
482
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
483
+ MISSING: "MISSING";
484
+ READY: "READY";
485
+ UNSUPPORTED: "UNSUPPORTED";
486
+ }>;
487
+ format: z.ZodEnum<{
488
+ BYTES: "BYTES";
489
+ JSON: "JSON";
490
+ }>;
491
+ transfer: z.ZodEnum<{
492
+ BUFFERED_JSON: "BUFFERED_JSON";
493
+ UNSUPPORTED: "UNSUPPORTED";
494
+ VERIFIED_STREAM: "VERIFIED_STREAM";
495
+ }>;
496
+ contentHash: z.ZodNullable<z.ZodString>;
497
+ mediaType: z.ZodString;
498
+ byteLength: z.ZodNullable<z.ZodNumber>;
499
+ methods: z.ZodArray<z.ZodEnum<{
500
+ GET: "GET";
501
+ HEAD: "HEAD";
502
+ }>>;
503
+ range: z.ZodEnum<{
504
+ NONE: "NONE";
505
+ SINGLE: "SINGLE";
506
+ }>;
507
+ verification: z.ZodLiteral<"ON_READ">;
508
+ verificationChunkBytes: z.ZodNullable<z.ZodNumber>;
509
+ }, z.core.$loose>;
510
+ }, z.core.$strict>;
511
+ }, z.core.$strict>]>, z.ZodObject<{
233
512
  filePath: z.ZodString;
234
513
  fileAuthentication: z.ZodLiteral<"CF_SESSION">;
235
514
  checkedAt: z.ZodString;
236
- }, z.core.$loose>;
515
+ }, z.core.$strip>>;
237
516
  export declare const knowledgeMaterialMediaPageSchema: z.ZodObject<{
238
517
  schemaVersion: z.ZodLiteral<2>;
239
518
  projectKey: z.ZodString;
@@ -308,6 +587,237 @@ export declare const knowledgeMaterialMediaPageSchema: z.ZodObject<{
308
587
  }, z.core.$loose>>;
309
588
  nextAfterOrdinal: z.ZodNullable<z.ZodNumber>;
310
589
  }, z.core.$loose>;
590
+ export declare const knowledgeResourceMaterialMediaPageSchema: z.ZodObject<{
591
+ schemaVersion: z.ZodLiteral<2>;
592
+ ref: z.ZodString;
593
+ sourceContentHash: z.ZodString;
594
+ documentRef: z.ZodNullable<z.ZodString>;
595
+ documentContentHash: z.ZodNullable<z.ZodString>;
596
+ state: z.ZodEnum<{
597
+ DENIED: "DENIED";
598
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
599
+ MISSING: "MISSING";
600
+ READY: "READY";
601
+ UNSUPPORTED: "UNSUPPORTED";
602
+ }>;
603
+ items: z.ZodArray<z.ZodObject<{
604
+ ordinal: z.ZodNumber;
605
+ kind: z.ZodEnum<{
606
+ AUDIO: "AUDIO";
607
+ IMAGE: "IMAGE";
608
+ VIDEO: "VIDEO";
609
+ }>;
610
+ sourceUrl: z.ZodString;
611
+ canonicalUrl: z.ZodNullable<z.ZodString>;
612
+ availability: z.ZodEnum<{
613
+ MIRRORED: "MIRRORED";
614
+ REMOTE_ONLY: "REMOTE_ONLY";
615
+ UNAVAILABLE: "UNAVAILABLE";
616
+ }>;
617
+ mediaRef: z.ZodNullable<z.ZodString>;
618
+ contentHash: z.ZodNullable<z.ZodString>;
619
+ mediaType: z.ZodNullable<z.ZodString>;
620
+ byteLength: z.ZodNullable<z.ZodNumber>;
621
+ state: z.ZodEnum<{
622
+ DENIED: "DENIED";
623
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
624
+ MISSING: "MISSING";
625
+ READY: "READY";
626
+ REMOTE_ONLY: "REMOTE_ONLY";
627
+ UNAVAILABLE: "UNAVAILABLE";
628
+ }>;
629
+ representation: z.ZodNullable<z.ZodObject<{
630
+ state: z.ZodEnum<{
631
+ DENIED: "DENIED";
632
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
633
+ MISSING: "MISSING";
634
+ READY: "READY";
635
+ UNSUPPORTED: "UNSUPPORTED";
636
+ }>;
637
+ format: z.ZodEnum<{
638
+ BYTES: "BYTES";
639
+ JSON: "JSON";
640
+ }>;
641
+ transfer: z.ZodEnum<{
642
+ BUFFERED_JSON: "BUFFERED_JSON";
643
+ UNSUPPORTED: "UNSUPPORTED";
644
+ VERIFIED_STREAM: "VERIFIED_STREAM";
645
+ }>;
646
+ contentHash: z.ZodNullable<z.ZodString>;
647
+ mediaType: z.ZodString;
648
+ byteLength: z.ZodNullable<z.ZodNumber>;
649
+ methods: z.ZodArray<z.ZodEnum<{
650
+ GET: "GET";
651
+ HEAD: "HEAD";
652
+ }>>;
653
+ range: z.ZodEnum<{
654
+ NONE: "NONE";
655
+ SINGLE: "SINGLE";
656
+ }>;
657
+ verification: z.ZodLiteral<"ON_READ">;
658
+ verificationChunkBytes: z.ZodNullable<z.ZodNumber>;
659
+ }, z.core.$loose>>;
660
+ }, z.core.$loose>>;
661
+ nextAfterOrdinal: z.ZodNullable<z.ZodNumber>;
662
+ context: z.ZodObject<{
663
+ type: z.ZodLiteral<"TENANT">;
664
+ tenantId: z.ZodString;
665
+ tenantRef: z.ZodString;
666
+ }, z.core.$strict>;
667
+ }, z.core.$loose>;
668
+ export declare const sourceDeliveryMediaPageSchema: z.ZodUnion<readonly [z.ZodObject<{
669
+ schemaVersion: z.ZodLiteral<2>;
670
+ projectKey: z.ZodString;
671
+ ref: z.ZodString;
672
+ sourceContentHash: z.ZodString;
673
+ documentRef: z.ZodNullable<z.ZodString>;
674
+ documentContentHash: z.ZodNullable<z.ZodString>;
675
+ state: z.ZodEnum<{
676
+ DENIED: "DENIED";
677
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
678
+ MISSING: "MISSING";
679
+ READY: "READY";
680
+ UNSUPPORTED: "UNSUPPORTED";
681
+ }>;
682
+ items: z.ZodArray<z.ZodObject<{
683
+ ordinal: z.ZodNumber;
684
+ kind: z.ZodEnum<{
685
+ AUDIO: "AUDIO";
686
+ IMAGE: "IMAGE";
687
+ VIDEO: "VIDEO";
688
+ }>;
689
+ sourceUrl: z.ZodString;
690
+ canonicalUrl: z.ZodNullable<z.ZodString>;
691
+ availability: z.ZodEnum<{
692
+ MIRRORED: "MIRRORED";
693
+ REMOTE_ONLY: "REMOTE_ONLY";
694
+ UNAVAILABLE: "UNAVAILABLE";
695
+ }>;
696
+ mediaRef: z.ZodNullable<z.ZodString>;
697
+ contentHash: z.ZodNullable<z.ZodString>;
698
+ mediaType: z.ZodNullable<z.ZodString>;
699
+ byteLength: z.ZodNullable<z.ZodNumber>;
700
+ state: z.ZodEnum<{
701
+ DENIED: "DENIED";
702
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
703
+ MISSING: "MISSING";
704
+ READY: "READY";
705
+ REMOTE_ONLY: "REMOTE_ONLY";
706
+ UNAVAILABLE: "UNAVAILABLE";
707
+ }>;
708
+ representation: z.ZodNullable<z.ZodObject<{
709
+ state: z.ZodEnum<{
710
+ DENIED: "DENIED";
711
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
712
+ MISSING: "MISSING";
713
+ READY: "READY";
714
+ UNSUPPORTED: "UNSUPPORTED";
715
+ }>;
716
+ format: z.ZodEnum<{
717
+ BYTES: "BYTES";
718
+ JSON: "JSON";
719
+ }>;
720
+ transfer: z.ZodEnum<{
721
+ BUFFERED_JSON: "BUFFERED_JSON";
722
+ UNSUPPORTED: "UNSUPPORTED";
723
+ VERIFIED_STREAM: "VERIFIED_STREAM";
724
+ }>;
725
+ contentHash: z.ZodNullable<z.ZodString>;
726
+ mediaType: z.ZodString;
727
+ byteLength: z.ZodNullable<z.ZodNumber>;
728
+ methods: z.ZodArray<z.ZodEnum<{
729
+ GET: "GET";
730
+ HEAD: "HEAD";
731
+ }>>;
732
+ range: z.ZodEnum<{
733
+ NONE: "NONE";
734
+ SINGLE: "SINGLE";
735
+ }>;
736
+ verification: z.ZodLiteral<"ON_READ">;
737
+ verificationChunkBytes: z.ZodNullable<z.ZodNumber>;
738
+ }, z.core.$loose>>;
739
+ }, z.core.$loose>>;
740
+ nextAfterOrdinal: z.ZodNullable<z.ZodNumber>;
741
+ }, z.core.$loose>, z.ZodObject<{
742
+ schemaVersion: z.ZodLiteral<2>;
743
+ ref: z.ZodString;
744
+ sourceContentHash: z.ZodString;
745
+ documentRef: z.ZodNullable<z.ZodString>;
746
+ documentContentHash: z.ZodNullable<z.ZodString>;
747
+ state: z.ZodEnum<{
748
+ DENIED: "DENIED";
749
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
750
+ MISSING: "MISSING";
751
+ READY: "READY";
752
+ UNSUPPORTED: "UNSUPPORTED";
753
+ }>;
754
+ items: z.ZodArray<z.ZodObject<{
755
+ ordinal: z.ZodNumber;
756
+ kind: z.ZodEnum<{
757
+ AUDIO: "AUDIO";
758
+ IMAGE: "IMAGE";
759
+ VIDEO: "VIDEO";
760
+ }>;
761
+ sourceUrl: z.ZodString;
762
+ canonicalUrl: z.ZodNullable<z.ZodString>;
763
+ availability: z.ZodEnum<{
764
+ MIRRORED: "MIRRORED";
765
+ REMOTE_ONLY: "REMOTE_ONLY";
766
+ UNAVAILABLE: "UNAVAILABLE";
767
+ }>;
768
+ mediaRef: z.ZodNullable<z.ZodString>;
769
+ contentHash: z.ZodNullable<z.ZodString>;
770
+ mediaType: z.ZodNullable<z.ZodString>;
771
+ byteLength: z.ZodNullable<z.ZodNumber>;
772
+ state: z.ZodEnum<{
773
+ DENIED: "DENIED";
774
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
775
+ MISSING: "MISSING";
776
+ READY: "READY";
777
+ REMOTE_ONLY: "REMOTE_ONLY";
778
+ UNAVAILABLE: "UNAVAILABLE";
779
+ }>;
780
+ representation: z.ZodNullable<z.ZodObject<{
781
+ state: z.ZodEnum<{
782
+ DENIED: "DENIED";
783
+ INTEGRITY_MISMATCH: "INTEGRITY_MISMATCH";
784
+ MISSING: "MISSING";
785
+ READY: "READY";
786
+ UNSUPPORTED: "UNSUPPORTED";
787
+ }>;
788
+ format: z.ZodEnum<{
789
+ BYTES: "BYTES";
790
+ JSON: "JSON";
791
+ }>;
792
+ transfer: z.ZodEnum<{
793
+ BUFFERED_JSON: "BUFFERED_JSON";
794
+ UNSUPPORTED: "UNSUPPORTED";
795
+ VERIFIED_STREAM: "VERIFIED_STREAM";
796
+ }>;
797
+ contentHash: z.ZodNullable<z.ZodString>;
798
+ mediaType: z.ZodString;
799
+ byteLength: z.ZodNullable<z.ZodNumber>;
800
+ methods: z.ZodArray<z.ZodEnum<{
801
+ GET: "GET";
802
+ HEAD: "HEAD";
803
+ }>>;
804
+ range: z.ZodEnum<{
805
+ NONE: "NONE";
806
+ SINGLE: "SINGLE";
807
+ }>;
808
+ verification: z.ZodLiteral<"ON_READ">;
809
+ verificationChunkBytes: z.ZodNullable<z.ZodNumber>;
810
+ }, z.core.$loose>>;
811
+ }, z.core.$loose>>;
812
+ nextAfterOrdinal: z.ZodNullable<z.ZodNumber>;
813
+ context: z.ZodObject<{
814
+ type: z.ZodLiteral<"TENANT">;
815
+ tenantId: z.ZodString;
816
+ tenantRef: z.ZodString;
817
+ }, z.core.$strict>;
818
+ }, z.core.$loose>]>;
819
+ export type KnowledgeResourceMaterialCapability = z.infer<typeof knowledgeResourceMaterialCapabilitySchema>;
820
+ export type KnowledgeResourceMaterialMediaPage = z.infer<typeof knowledgeResourceMaterialMediaPageSchema>;
311
821
  export declare const knowledgeMaterialIndexStatusSchema: z.ZodObject<{
312
822
  schemaVersion: z.ZodLiteral<2>;
313
823
  projectKey: z.ZodString;
@@ -177,8 +177,8 @@ export declare const marketingEventDefinitions: readonly [{
177
177
  resourceKind: z.ZodLiteral<"PACKAGE">;
178
178
  decision: z.ZodLiteral<"REJECTED">;
179
179
  }, z.core.$strict>], "resourceKind">;
180
- readonly description: 'A Native editorial review decision was committed. Package approval uses content.ready only. Not an external publication or marketing outcome.';
181
- readonly tools: readonly ['cf_get_editorial_proposal', 'cf_read_business_document'];
180
+ readonly description: 'A Native editorial review decision was committed. Read current CANDIDATE/KERNEL using cf_get_editorial_proposal, ASSET using cf_get_review_asset with resourceRef as ref, PACKAGE using cf_read_content_package. These readers return current state, not a historical decision receipt. Package approval uses content.ready only. Not publication or outcome.';
181
+ readonly tools: readonly ['cf_get_editorial_proposal', 'cf_get_review_asset', 'cf_read_content_package', 'cf_read_business_document'];
182
182
  readonly providerPath: '/mcp/projects/{projectCode}';
183
183
  }, {
184
184
  readonly type: 'io.nativemarketing.content.ready.v1';
@@ -331,8 +331,8 @@ export declare function marketingEventDefinition(type: string): {
331
331
  resourceKind: z.ZodLiteral<"PACKAGE">;
332
332
  decision: z.ZodLiteral<"REJECTED">;
333
333
  }, z.core.$strict>], "resourceKind">;
334
- readonly description: 'A Native editorial review decision was committed. Package approval uses content.ready only. Not an external publication or marketing outcome.';
335
- readonly tools: readonly ['cf_get_editorial_proposal', 'cf_read_business_document'];
334
+ readonly description: 'A Native editorial review decision was committed. Read current CANDIDATE/KERNEL using cf_get_editorial_proposal, ASSET using cf_get_review_asset with resourceRef as ref, PACKAGE using cf_read_content_package. These readers return current state, not a historical decision receipt. Package approval uses content.ready only. Not publication or outcome.';
335
+ readonly tools: readonly ['cf_get_editorial_proposal', 'cf_get_review_asset', 'cf_read_content_package', 'cf_read_business_document'];
336
336
  readonly providerPath: '/mcp/projects/{projectCode}';
337
337
  } | {
338
338
  readonly type: 'io.nativemarketing.content.ready.v1';