@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.
@@ -43411,6 +43411,7 @@ export interface paths {
43411
43411
  | 'feedback.manage'
43412
43412
  | 'recommendation.create'
43413
43413
  | 'package.download'
43414
+ | 'presentation.share'
43414
43415
  | 'source.read'
43415
43416
  | 'source.ingest'
43416
43417
  | 'source.content.read'
@@ -43461,6 +43462,7 @@ export interface paths {
43461
43462
  | 'feedback.manage'
43462
43463
  | 'recommendation.create'
43463
43464
  | 'package.download'
43465
+ | 'presentation.share'
43464
43466
  | 'source.read'
43465
43467
  | 'source.ingest'
43466
43468
  | 'source.content.read'
@@ -43630,6 +43632,7 @@ export interface paths {
43630
43632
  | 'feedback.manage'
43631
43633
  | 'recommendation.create'
43632
43634
  | 'package.download'
43635
+ | 'presentation.share'
43633
43636
  | 'source.read'
43634
43637
  | 'source.ingest'
43635
43638
  | 'source.content.read'
@@ -43680,6 +43683,7 @@ export interface paths {
43680
43683
  | 'feedback.manage'
43681
43684
  | 'recommendation.create'
43682
43685
  | 'package.download'
43686
+ | 'presentation.share'
43683
43687
  | 'source.read'
43684
43688
  | 'source.ingest'
43685
43689
  | 'source.content.read'
@@ -73381,6 +73385,596 @@ export interface paths {
73381
73385
  patch?: never;
73382
73386
  trace?: never;
73383
73387
  };
73388
+ '/projects/{projectCode}/human/presentation/{packageCode}': {
73389
+ parameters: {
73390
+ query?: never;
73391
+ header?: never;
73392
+ path?: never;
73393
+ cookie?: never;
73394
+ };
73395
+ get: {
73396
+ parameters: {
73397
+ query?: never;
73398
+ header?: never;
73399
+ path: {
73400
+ projectCode: string;
73401
+ packageCode: string;
73402
+ };
73403
+ cookie?: never;
73404
+ };
73405
+ requestBody?: never;
73406
+ responses: {
73407
+ /** @description Default Response */
73408
+ 200: {
73409
+ headers: {
73410
+ [name: string]: unknown;
73411
+ };
73412
+ content: {
73413
+ 'application/json': {
73414
+ human: {
73415
+ /** @enum {number} */
73416
+ schemaVersion: 1;
73417
+ interactions: {
73418
+ interactionRef: string;
73419
+ /** @enum {string} */
73420
+ kind: 'CONTENT_PACKAGE_REVIEW';
73421
+ subjectRef: string;
73422
+ title: string;
73423
+ summary: string;
73424
+ /** @enum {string} */
73425
+ state: 'PENDING' | 'APPROVED' | 'REJECTED' | 'RESOLVED';
73426
+ sourceState: string;
73427
+ actionDigest: string;
73428
+ /** @enum {string|null} */
73429
+ expiresAt: null;
73430
+ /** Format: uri */
73431
+ reviewUrl: string;
73432
+ canReview: boolean;
73433
+ }[];
73434
+ links: (
73435
+ | {
73436
+ linkRef: string;
73437
+ /** @enum {string} */
73438
+ kind: 'READABLE_CONTENT';
73439
+ title: string;
73440
+ subjectRef: string;
73441
+ /** Format: uri */
73442
+ url: string;
73443
+ /** @enum {string} */
73444
+ access: 'AUTHENTICATED';
73445
+ /** @enum {string} */
73446
+ representation: 'CURRENT_VIEW';
73447
+ /** @enum {string|null} */
73448
+ expiresAt: null;
73449
+ }
73450
+ | {
73451
+ linkRef: string;
73452
+ /** @enum {string} */
73453
+ kind: 'READABLE_CONTENT';
73454
+ title: string;
73455
+ subjectRef: string;
73456
+ /** Format: uri */
73457
+ url: string;
73458
+ /** @enum {string} */
73459
+ access: 'TEMPORARY_PUBLIC_READ';
73460
+ /** @enum {string} */
73461
+ representation: 'SNAPSHOT';
73462
+ snapshotRef: string;
73463
+ contentSha256: string;
73464
+ /** Format: date-time */
73465
+ createdAt: string;
73466
+ /** Format: date-time */
73467
+ expiresAt: string;
73468
+ }
73469
+ )[];
73470
+ };
73471
+ };
73472
+ };
73473
+ };
73474
+ };
73475
+ };
73476
+ put?: never;
73477
+ post?: never;
73478
+ delete?: never;
73479
+ options?: never;
73480
+ head?: never;
73481
+ patch?: never;
73482
+ trace?: never;
73483
+ };
73484
+ '/projects/{projectCode}/human/read-links': {
73485
+ parameters: {
73486
+ query?: never;
73487
+ header?: never;
73488
+ path?: never;
73489
+ cookie?: never;
73490
+ };
73491
+ get?: never;
73492
+ put?: never;
73493
+ post: {
73494
+ parameters: {
73495
+ query?: never;
73496
+ header?: never;
73497
+ path: {
73498
+ projectCode: string;
73499
+ };
73500
+ cookie?: never;
73501
+ };
73502
+ requestBody: {
73503
+ content: {
73504
+ 'application/json': {
73505
+ requestId: string;
73506
+ packageCode: string;
73507
+ expectedManifestHash: string;
73508
+ /** @enum {string} */
73509
+ access: 'TEMPORARY_PUBLIC_READ';
73510
+ targetKeys: string[];
73511
+ /** @default 3600 */
73512
+ ttlSeconds?: number;
73513
+ };
73514
+ };
73515
+ };
73516
+ responses: {
73517
+ /** @description Default Response */
73518
+ 200: {
73519
+ headers: {
73520
+ [name: string]: unknown;
73521
+ };
73522
+ content: {
73523
+ 'application/json': {
73524
+ /** Format: uuid */
73525
+ linkRef: string;
73526
+ issuanceRequestId: string;
73527
+ /** @enum {string} */
73528
+ state: 'ACTIVE' | 'EXPIRED' | 'REVOKED' | 'UNAVAILABLE';
73529
+ packageCode: string;
73530
+ manifestHash: string;
73531
+ /** Format: date-time */
73532
+ expiresAt: string;
73533
+ human: {
73534
+ /** @enum {number} */
73535
+ schemaVersion: 1;
73536
+ interactions: {
73537
+ interactionRef: string;
73538
+ /** @enum {string} */
73539
+ kind: 'CONTENT_PACKAGE_REVIEW';
73540
+ subjectRef: string;
73541
+ title: string;
73542
+ summary: string;
73543
+ /** @enum {string} */
73544
+ state: 'PENDING' | 'APPROVED' | 'REJECTED' | 'RESOLVED';
73545
+ sourceState: string;
73546
+ actionDigest: string;
73547
+ /** @enum {string|null} */
73548
+ expiresAt: null;
73549
+ /** Format: uri */
73550
+ reviewUrl: string;
73551
+ canReview: boolean;
73552
+ }[];
73553
+ links: (
73554
+ | {
73555
+ linkRef: string;
73556
+ /** @enum {string} */
73557
+ kind: 'READABLE_CONTENT';
73558
+ title: string;
73559
+ subjectRef: string;
73560
+ /** Format: uri */
73561
+ url: string;
73562
+ /** @enum {string} */
73563
+ access: 'AUTHENTICATED';
73564
+ /** @enum {string} */
73565
+ representation: 'CURRENT_VIEW';
73566
+ /** @enum {string|null} */
73567
+ expiresAt: null;
73568
+ }
73569
+ | {
73570
+ linkRef: string;
73571
+ /** @enum {string} */
73572
+ kind: 'READABLE_CONTENT';
73573
+ title: string;
73574
+ subjectRef: string;
73575
+ /** Format: uri */
73576
+ url: string;
73577
+ /** @enum {string} */
73578
+ access: 'TEMPORARY_PUBLIC_READ';
73579
+ /** @enum {string} */
73580
+ representation: 'SNAPSHOT';
73581
+ snapshotRef: string;
73582
+ contentSha256: string;
73583
+ /** Format: date-time */
73584
+ createdAt: string;
73585
+ /** Format: date-time */
73586
+ expiresAt: string;
73587
+ }
73588
+ )[];
73589
+ };
73590
+ };
73591
+ };
73592
+ };
73593
+ };
73594
+ };
73595
+ delete?: never;
73596
+ options?: never;
73597
+ head?: never;
73598
+ patch?: never;
73599
+ trace?: never;
73600
+ };
73601
+ '/projects/{projectCode}/human/read-links/receipts/{requestId}': {
73602
+ parameters: {
73603
+ query?: never;
73604
+ header?: never;
73605
+ path?: never;
73606
+ cookie?: never;
73607
+ };
73608
+ get: {
73609
+ parameters: {
73610
+ query?: never;
73611
+ header?: never;
73612
+ path: {
73613
+ projectCode: string;
73614
+ requestId: string;
73615
+ };
73616
+ cookie?: never;
73617
+ };
73618
+ requestBody?: never;
73619
+ responses: {
73620
+ /** @description Default Response */
73621
+ 200: {
73622
+ headers: {
73623
+ [name: string]: unknown;
73624
+ };
73625
+ content: {
73626
+ 'application/json':
73627
+ | {
73628
+ /** @enum {string} */
73629
+ status: 'FOUND';
73630
+ receipt: {
73631
+ /** Format: uuid */
73632
+ linkRef: string;
73633
+ issuanceRequestId: string;
73634
+ /** @enum {string} */
73635
+ state: 'ACTIVE' | 'EXPIRED' | 'REVOKED' | 'UNAVAILABLE';
73636
+ packageCode: string;
73637
+ manifestHash: string;
73638
+ /** Format: date-time */
73639
+ expiresAt: string;
73640
+ human: {
73641
+ /** @enum {number} */
73642
+ schemaVersion: 1;
73643
+ interactions: {
73644
+ interactionRef: string;
73645
+ /** @enum {string} */
73646
+ kind: 'CONTENT_PACKAGE_REVIEW';
73647
+ subjectRef: string;
73648
+ title: string;
73649
+ summary: string;
73650
+ /** @enum {string} */
73651
+ state: 'PENDING' | 'APPROVED' | 'REJECTED' | 'RESOLVED';
73652
+ sourceState: string;
73653
+ actionDigest: string;
73654
+ /** @enum {string|null} */
73655
+ expiresAt: null;
73656
+ /** Format: uri */
73657
+ reviewUrl: string;
73658
+ canReview: boolean;
73659
+ }[];
73660
+ links: (
73661
+ | {
73662
+ linkRef: string;
73663
+ /** @enum {string} */
73664
+ kind: 'READABLE_CONTENT';
73665
+ title: string;
73666
+ subjectRef: string;
73667
+ /** Format: uri */
73668
+ url: string;
73669
+ /** @enum {string} */
73670
+ access: 'AUTHENTICATED';
73671
+ /** @enum {string} */
73672
+ representation: 'CURRENT_VIEW';
73673
+ /** @enum {string|null} */
73674
+ expiresAt: null;
73675
+ }
73676
+ | {
73677
+ linkRef: string;
73678
+ /** @enum {string} */
73679
+ kind: 'READABLE_CONTENT';
73680
+ title: string;
73681
+ subjectRef: string;
73682
+ /** Format: uri */
73683
+ url: string;
73684
+ /** @enum {string} */
73685
+ access: 'TEMPORARY_PUBLIC_READ';
73686
+ /** @enum {string} */
73687
+ representation: 'SNAPSHOT';
73688
+ snapshotRef: string;
73689
+ contentSha256: string;
73690
+ /** Format: date-time */
73691
+ createdAt: string;
73692
+ /** Format: date-time */
73693
+ expiresAt: string;
73694
+ }
73695
+ )[];
73696
+ };
73697
+ };
73698
+ }
73699
+ | {
73700
+ /** @enum {string} */
73701
+ status: 'NOT_FOUND';
73702
+ };
73703
+ };
73704
+ };
73705
+ };
73706
+ };
73707
+ put?: never;
73708
+ post?: never;
73709
+ delete?: never;
73710
+ options?: never;
73711
+ head?: never;
73712
+ patch?: never;
73713
+ trace?: never;
73714
+ };
73715
+ '/projects/{projectCode}/human/read-links/{linkRef}': {
73716
+ parameters: {
73717
+ query?: never;
73718
+ header?: never;
73719
+ path?: never;
73720
+ cookie?: never;
73721
+ };
73722
+ get: {
73723
+ parameters: {
73724
+ query?: never;
73725
+ header?: never;
73726
+ path: {
73727
+ projectCode: string;
73728
+ linkRef: string;
73729
+ };
73730
+ cookie?: never;
73731
+ };
73732
+ requestBody?: never;
73733
+ responses: {
73734
+ /** @description Default Response */
73735
+ 200: {
73736
+ headers: {
73737
+ [name: string]: unknown;
73738
+ };
73739
+ content: {
73740
+ 'application/json': {
73741
+ /** Format: uuid */
73742
+ linkRef: string;
73743
+ issuanceRequestId: string;
73744
+ /** @enum {string} */
73745
+ state: 'ACTIVE' | 'EXPIRED' | 'REVOKED' | 'UNAVAILABLE';
73746
+ packageCode: string;
73747
+ manifestHash: string;
73748
+ /** Format: date-time */
73749
+ expiresAt: string;
73750
+ human: {
73751
+ /** @enum {number} */
73752
+ schemaVersion: 1;
73753
+ interactions: {
73754
+ interactionRef: string;
73755
+ /** @enum {string} */
73756
+ kind: 'CONTENT_PACKAGE_REVIEW';
73757
+ subjectRef: string;
73758
+ title: string;
73759
+ summary: string;
73760
+ /** @enum {string} */
73761
+ state: 'PENDING' | 'APPROVED' | 'REJECTED' | 'RESOLVED';
73762
+ sourceState: string;
73763
+ actionDigest: string;
73764
+ /** @enum {string|null} */
73765
+ expiresAt: null;
73766
+ /** Format: uri */
73767
+ reviewUrl: string;
73768
+ canReview: boolean;
73769
+ }[];
73770
+ links: (
73771
+ | {
73772
+ linkRef: string;
73773
+ /** @enum {string} */
73774
+ kind: 'READABLE_CONTENT';
73775
+ title: string;
73776
+ subjectRef: string;
73777
+ /** Format: uri */
73778
+ url: string;
73779
+ /** @enum {string} */
73780
+ access: 'AUTHENTICATED';
73781
+ /** @enum {string} */
73782
+ representation: 'CURRENT_VIEW';
73783
+ /** @enum {string|null} */
73784
+ expiresAt: null;
73785
+ }
73786
+ | {
73787
+ linkRef: string;
73788
+ /** @enum {string} */
73789
+ kind: 'READABLE_CONTENT';
73790
+ title: string;
73791
+ subjectRef: string;
73792
+ /** Format: uri */
73793
+ url: string;
73794
+ /** @enum {string} */
73795
+ access: 'TEMPORARY_PUBLIC_READ';
73796
+ /** @enum {string} */
73797
+ representation: 'SNAPSHOT';
73798
+ snapshotRef: string;
73799
+ contentSha256: string;
73800
+ /** Format: date-time */
73801
+ createdAt: string;
73802
+ /** Format: date-time */
73803
+ expiresAt: string;
73804
+ }
73805
+ )[];
73806
+ };
73807
+ };
73808
+ };
73809
+ };
73810
+ };
73811
+ };
73812
+ put?: never;
73813
+ post?: never;
73814
+ delete?: never;
73815
+ options?: never;
73816
+ head?: never;
73817
+ patch?: never;
73818
+ trace?: never;
73819
+ };
73820
+ '/projects/{projectCode}/human/read-links/{linkRef}/revoke': {
73821
+ parameters: {
73822
+ query?: never;
73823
+ header?: never;
73824
+ path?: never;
73825
+ cookie?: never;
73826
+ };
73827
+ get?: never;
73828
+ put?: never;
73829
+ post: {
73830
+ parameters: {
73831
+ query?: never;
73832
+ header?: never;
73833
+ path: {
73834
+ projectCode: string;
73835
+ linkRef: string;
73836
+ };
73837
+ cookie?: never;
73838
+ };
73839
+ requestBody: {
73840
+ content: {
73841
+ 'application/json': {
73842
+ requestId: string;
73843
+ };
73844
+ };
73845
+ };
73846
+ responses: {
73847
+ /** @description Default Response */
73848
+ 200: {
73849
+ headers: {
73850
+ [name: string]: unknown;
73851
+ };
73852
+ content: {
73853
+ 'application/json': {
73854
+ /** Format: uuid */
73855
+ linkRef: string;
73856
+ issuanceRequestId: string;
73857
+ /** @enum {string} */
73858
+ state: 'ACTIVE' | 'EXPIRED' | 'REVOKED' | 'UNAVAILABLE';
73859
+ packageCode: string;
73860
+ manifestHash: string;
73861
+ /** Format: date-time */
73862
+ expiresAt: string;
73863
+ human: {
73864
+ /** @enum {number} */
73865
+ schemaVersion: 1;
73866
+ interactions: {
73867
+ interactionRef: string;
73868
+ /** @enum {string} */
73869
+ kind: 'CONTENT_PACKAGE_REVIEW';
73870
+ subjectRef: string;
73871
+ title: string;
73872
+ summary: string;
73873
+ /** @enum {string} */
73874
+ state: 'PENDING' | 'APPROVED' | 'REJECTED' | 'RESOLVED';
73875
+ sourceState: string;
73876
+ actionDigest: string;
73877
+ /** @enum {string|null} */
73878
+ expiresAt: null;
73879
+ /** Format: uri */
73880
+ reviewUrl: string;
73881
+ canReview: boolean;
73882
+ }[];
73883
+ links: (
73884
+ | {
73885
+ linkRef: string;
73886
+ /** @enum {string} */
73887
+ kind: 'READABLE_CONTENT';
73888
+ title: string;
73889
+ subjectRef: string;
73890
+ /** Format: uri */
73891
+ url: string;
73892
+ /** @enum {string} */
73893
+ access: 'AUTHENTICATED';
73894
+ /** @enum {string} */
73895
+ representation: 'CURRENT_VIEW';
73896
+ /** @enum {string|null} */
73897
+ expiresAt: null;
73898
+ }
73899
+ | {
73900
+ linkRef: string;
73901
+ /** @enum {string} */
73902
+ kind: 'READABLE_CONTENT';
73903
+ title: string;
73904
+ subjectRef: string;
73905
+ /** Format: uri */
73906
+ url: string;
73907
+ /** @enum {string} */
73908
+ access: 'TEMPORARY_PUBLIC_READ';
73909
+ /** @enum {string} */
73910
+ representation: 'SNAPSHOT';
73911
+ snapshotRef: string;
73912
+ contentSha256: string;
73913
+ /** Format: date-time */
73914
+ createdAt: string;
73915
+ /** Format: date-time */
73916
+ expiresAt: string;
73917
+ }
73918
+ )[];
73919
+ };
73920
+ };
73921
+ };
73922
+ };
73923
+ };
73924
+ };
73925
+ delete?: never;
73926
+ options?: never;
73927
+ head?: never;
73928
+ patch?: never;
73929
+ trace?: never;
73930
+ };
73931
+ '/projects/{projectCode}/human/read-links/cleanup': {
73932
+ parameters: {
73933
+ query?: never;
73934
+ header?: never;
73935
+ path?: never;
73936
+ cookie?: never;
73937
+ };
73938
+ get?: never;
73939
+ put?: never;
73940
+ post: {
73941
+ parameters: {
73942
+ query?: never;
73943
+ header?: never;
73944
+ path: {
73945
+ projectCode: string;
73946
+ };
73947
+ cookie?: never;
73948
+ };
73949
+ requestBody: {
73950
+ content: {
73951
+ 'application/json': {
73952
+ /** @default 16 */
73953
+ limit?: number;
73954
+ };
73955
+ };
73956
+ };
73957
+ responses: {
73958
+ /** @description Default Response */
73959
+ 200: {
73960
+ headers: {
73961
+ [name: string]: unknown;
73962
+ };
73963
+ content: {
73964
+ 'application/json': {
73965
+ reclaimed: number;
73966
+ limit: number;
73967
+ };
73968
+ };
73969
+ };
73970
+ };
73971
+ };
73972
+ delete?: never;
73973
+ options?: never;
73974
+ head?: never;
73975
+ patch?: never;
73976
+ trace?: never;
73977
+ };
73384
73978
  }
73385
73979
  export type webhooks = Record<string, never>;
73386
73980
  export interface components {