@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.
@@ -51653,72 +51653,135 @@ export interface paths {
51653
51653
  [name: string]: unknown;
51654
51654
  };
51655
51655
  content: {
51656
- 'application/json': {
51657
- /** @enum {number} */
51658
- schemaVersion: 2;
51659
- projectKey: string;
51660
- material: {
51661
- item: {
51662
- /** Format: uri */
51663
- ref: string;
51664
- resourceType: string;
51665
- sourceProjectKey: string;
51666
- identityHash: string;
51667
- kind: string;
51668
- classification: string;
51669
- mediaType: string;
51670
- decision: {
51671
- /** @enum {string} */
51672
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
51673
- reasonCodes: string[];
51674
- /** Format: date-time */
51675
- assessedAt: string;
51656
+ 'application/json':
51657
+ | {
51658
+ /** Format: starts_with */
51659
+ filePath: string;
51660
+ /** @enum {string} */
51661
+ fileAuthentication: 'CF_SESSION';
51662
+ /** Format: date-time */
51663
+ checkedAt: string;
51664
+ /** @enum {number} */
51665
+ schemaVersion: 2;
51666
+ projectKey: string;
51667
+ material: {
51668
+ item: {
51669
+ /** Format: uri */
51670
+ ref: string;
51671
+ resourceType: string;
51672
+ sourceProjectKey: string;
51673
+ identityHash: string;
51674
+ kind: string;
51675
+ classification: string;
51676
+ mediaType: string;
51677
+ decision: {
51678
+ /** @enum {string} */
51679
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
51680
+ reasonCodes: string[];
51681
+ /** Format: date-time */
51682
+ assessedAt: string;
51683
+ } & {
51684
+ [key: string]: unknown;
51685
+ };
51686
+ } & {
51687
+ [key: string]: unknown;
51688
+ };
51689
+ materialAccess: {
51690
+ /** @enum {string} */
51691
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
51692
+ reasonCodes: string[];
51693
+ /** Format: date-time */
51694
+ assessedAt: string;
51695
+ } & {
51696
+ [key: string]: unknown;
51697
+ };
51698
+ representation: {
51699
+ /** @enum {string} */
51700
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
51701
+ /** @enum {string} */
51702
+ format: 'BYTES' | 'JSON';
51703
+ /** @enum {string} */
51704
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
51705
+ contentHash: string | null;
51706
+ mediaType: string;
51707
+ byteLength: number | null;
51708
+ methods: ('GET' | 'HEAD')[];
51709
+ /** @enum {string} */
51710
+ range: 'SINGLE' | 'NONE';
51711
+ /** @enum {string} */
51712
+ verification: 'ON_READ';
51713
+ verificationChunkBytes: number | null;
51714
+ } & {
51715
+ [key: string]: unknown;
51716
+ };
51676
51717
  } & {
51677
51718
  [key: string]: unknown;
51678
51719
  };
51679
- } & {
51680
- [key: string]: unknown;
51681
- };
51682
- materialAccess: {
51720
+ }
51721
+ | {
51722
+ /** Format: starts_with */
51723
+ filePath: string;
51683
51724
  /** @enum {string} */
51684
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
51685
- reasonCodes: string[];
51725
+ fileAuthentication: 'CF_SESSION';
51686
51726
  /** Format: date-time */
51687
- assessedAt: string;
51688
- } & {
51689
- [key: string]: unknown;
51690
- };
51691
- representation: {
51692
- /** @enum {string} */
51693
- state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
51694
- /** @enum {string} */
51695
- format: 'BYTES' | 'JSON';
51696
- /** @enum {string} */
51697
- transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
51698
- contentHash: string | null;
51699
- mediaType: string;
51700
- byteLength: number | null;
51701
- methods: ('GET' | 'HEAD')[];
51702
- /** @enum {string} */
51703
- range: 'SINGLE' | 'NONE';
51704
- /** @enum {string} */
51705
- verification: 'ON_READ';
51706
- verificationChunkBytes: number | null;
51707
- } & {
51708
- [key: string]: unknown;
51727
+ checkedAt: string;
51728
+ /** @enum {number} */
51729
+ schemaVersion: 2;
51730
+ context: {
51731
+ /** @enum {string} */
51732
+ type: 'TENANT';
51733
+ tenantId: string;
51734
+ /** Format: uri */
51735
+ tenantRef: string;
51736
+ };
51737
+ material: {
51738
+ item: {
51739
+ ref: string;
51740
+ ownerTenantId: string;
51741
+ resourceType: string;
51742
+ /** @enum {string} */
51743
+ originType: 'LEGACY_PROJECT' | 'TENANT_AUTHOR' | 'TENANT_SOURCE';
51744
+ identityHash: string;
51745
+ /** @enum {string} */
51746
+ identityKind: 'CAS_BYTES' | 'REFERENCE_RECORD_DIGEST';
51747
+ kind: string;
51748
+ classification: string;
51749
+ mediaType: string;
51750
+ title: string;
51751
+ summary: string;
51752
+ readable: boolean;
51753
+ reasonCodes: string[];
51754
+ };
51755
+ materialAccess: {
51756
+ /** @enum {string} */
51757
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
51758
+ reasonCodes: string[];
51759
+ /** Format: date-time */
51760
+ assessedAt: string;
51761
+ } & {
51762
+ [key: string]: unknown;
51763
+ };
51764
+ representation: {
51765
+ /** @enum {string} */
51766
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
51767
+ /** @enum {string} */
51768
+ format: 'BYTES' | 'JSON';
51769
+ /** @enum {string} */
51770
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
51771
+ contentHash: string | null;
51772
+ mediaType: string;
51773
+ byteLength: number | null;
51774
+ methods: ('GET' | 'HEAD')[];
51775
+ /** @enum {string} */
51776
+ range: 'SINGLE' | 'NONE';
51777
+ /** @enum {string} */
51778
+ verification: 'ON_READ';
51779
+ verificationChunkBytes: number | null;
51780
+ } & {
51781
+ [key: string]: unknown;
51782
+ };
51783
+ };
51709
51784
  };
51710
- } & {
51711
- [key: string]: unknown;
51712
- };
51713
- /** Format: starts_with */
51714
- filePath: string;
51715
- /** @enum {string} */
51716
- fileAuthentication: 'CF_SESSION';
51717
- /** Format: date-time */
51718
- checkedAt: string;
51719
- } & {
51720
- [key: string]: unknown;
51721
- };
51722
51785
  };
51723
51786
  };
51724
51787
  };
@@ -51760,69 +51823,141 @@ export interface paths {
51760
51823
  [name: string]: unknown;
51761
51824
  };
51762
51825
  content: {
51763
- 'application/json': {
51764
- /** @enum {number} */
51765
- schemaVersion: 2;
51766
- projectKey: string;
51767
- /** Format: uri */
51768
- ref: string;
51769
- sourceContentHash: string;
51770
- /** Format: uri */
51771
- documentRef: string | null;
51772
- documentContentHash: string | null;
51773
- /** @enum {string} */
51774
- state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
51775
- items: ({
51776
- ordinal: number;
51777
- /** @enum {string} */
51778
- kind: 'IMAGE' | 'VIDEO' | 'AUDIO';
51779
- /** Format: uri */
51780
- sourceUrl: string;
51781
- /** Format: uri */
51782
- canonicalUrl: string | null;
51783
- /** @enum {string} */
51784
- availability: 'MIRRORED' | 'REMOTE_ONLY' | 'UNAVAILABLE';
51785
- /** Format: uri */
51786
- mediaRef: string | null;
51787
- contentHash: string | null;
51788
- mediaType: string | null;
51789
- byteLength: number | null;
51790
- /** @enum {string} */
51791
- state:
51792
- | 'READY'
51793
- | 'REMOTE_ONLY'
51794
- | 'UNAVAILABLE'
51795
- | 'MISSING'
51796
- | 'DENIED'
51797
- | 'INTEGRITY_MISMATCH';
51798
- representation:
51799
- | ({
51800
- /** @enum {string} */
51801
- state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
51802
- /** @enum {string} */
51803
- format: 'BYTES' | 'JSON';
51804
- /** @enum {string} */
51805
- transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
51806
- contentHash: string | null;
51807
- mediaType: string;
51808
- byteLength: number | null;
51809
- methods: ('GET' | 'HEAD')[];
51810
- /** @enum {string} */
51811
- range: 'SINGLE' | 'NONE';
51812
- /** @enum {string} */
51813
- verification: 'ON_READ';
51814
- verificationChunkBytes: number | null;
51815
- } & {
51816
- [key: string]: unknown;
51817
- })
51818
- | null;
51819
- } & {
51820
- [key: string]: unknown;
51821
- })[];
51822
- nextAfterOrdinal: number | null;
51823
- } & {
51824
- [key: string]: unknown;
51825
- };
51826
+ 'application/json':
51827
+ | ({
51828
+ /** @enum {number} */
51829
+ schemaVersion: 2;
51830
+ projectKey: string;
51831
+ /** Format: uri */
51832
+ ref: string;
51833
+ sourceContentHash: string;
51834
+ /** Format: uri */
51835
+ documentRef: string | null;
51836
+ documentContentHash: string | null;
51837
+ /** @enum {string} */
51838
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
51839
+ items: ({
51840
+ ordinal: number;
51841
+ /** @enum {string} */
51842
+ kind: 'IMAGE' | 'VIDEO' | 'AUDIO';
51843
+ /** Format: uri */
51844
+ sourceUrl: string;
51845
+ /** Format: uri */
51846
+ canonicalUrl: string | null;
51847
+ /** @enum {string} */
51848
+ availability: 'MIRRORED' | 'REMOTE_ONLY' | 'UNAVAILABLE';
51849
+ /** Format: uri */
51850
+ mediaRef: string | null;
51851
+ contentHash: string | null;
51852
+ mediaType: string | null;
51853
+ byteLength: number | null;
51854
+ /** @enum {string} */
51855
+ state:
51856
+ | 'READY'
51857
+ | 'REMOTE_ONLY'
51858
+ | 'UNAVAILABLE'
51859
+ | 'MISSING'
51860
+ | 'DENIED'
51861
+ | 'INTEGRITY_MISMATCH';
51862
+ representation:
51863
+ | ({
51864
+ /** @enum {string} */
51865
+ state:
51866
+ 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
51867
+ /** @enum {string} */
51868
+ format: 'BYTES' | 'JSON';
51869
+ /** @enum {string} */
51870
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
51871
+ contentHash: string | null;
51872
+ mediaType: string;
51873
+ byteLength: number | null;
51874
+ methods: ('GET' | 'HEAD')[];
51875
+ /** @enum {string} */
51876
+ range: 'SINGLE' | 'NONE';
51877
+ /** @enum {string} */
51878
+ verification: 'ON_READ';
51879
+ verificationChunkBytes: number | null;
51880
+ } & {
51881
+ [key: string]: unknown;
51882
+ })
51883
+ | null;
51884
+ } & {
51885
+ [key: string]: unknown;
51886
+ })[];
51887
+ nextAfterOrdinal: number | null;
51888
+ } & {
51889
+ [key: string]: unknown;
51890
+ })
51891
+ | ({
51892
+ /** @enum {number} */
51893
+ schemaVersion: 2;
51894
+ /** Format: uri */
51895
+ ref: string;
51896
+ sourceContentHash: string;
51897
+ /** Format: uri */
51898
+ documentRef: string | null;
51899
+ documentContentHash: string | null;
51900
+ /** @enum {string} */
51901
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
51902
+ items: ({
51903
+ ordinal: number;
51904
+ /** @enum {string} */
51905
+ kind: 'IMAGE' | 'VIDEO' | 'AUDIO';
51906
+ /** Format: uri */
51907
+ sourceUrl: string;
51908
+ /** Format: uri */
51909
+ canonicalUrl: string | null;
51910
+ /** @enum {string} */
51911
+ availability: 'MIRRORED' | 'REMOTE_ONLY' | 'UNAVAILABLE';
51912
+ /** Format: uri */
51913
+ mediaRef: string | null;
51914
+ contentHash: string | null;
51915
+ mediaType: string | null;
51916
+ byteLength: number | null;
51917
+ /** @enum {string} */
51918
+ state:
51919
+ | 'READY'
51920
+ | 'REMOTE_ONLY'
51921
+ | 'UNAVAILABLE'
51922
+ | 'MISSING'
51923
+ | 'DENIED'
51924
+ | 'INTEGRITY_MISMATCH';
51925
+ representation:
51926
+ | ({
51927
+ /** @enum {string} */
51928
+ state:
51929
+ 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
51930
+ /** @enum {string} */
51931
+ format: 'BYTES' | 'JSON';
51932
+ /** @enum {string} */
51933
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
51934
+ contentHash: string | null;
51935
+ mediaType: string;
51936
+ byteLength: number | null;
51937
+ methods: ('GET' | 'HEAD')[];
51938
+ /** @enum {string} */
51939
+ range: 'SINGLE' | 'NONE';
51940
+ /** @enum {string} */
51941
+ verification: 'ON_READ';
51942
+ verificationChunkBytes: number | null;
51943
+ } & {
51944
+ [key: string]: unknown;
51945
+ })
51946
+ | null;
51947
+ } & {
51948
+ [key: string]: unknown;
51949
+ })[];
51950
+ nextAfterOrdinal: number | null;
51951
+ context: {
51952
+ /** @enum {string} */
51953
+ type: 'TENANT';
51954
+ tenantId: string;
51955
+ /** Format: uri */
51956
+ tenantRef: string;
51957
+ };
51958
+ } & {
51959
+ [key: string]: unknown;
51960
+ });
51826
51961
  };
51827
51962
  };
51828
51963
  };
@@ -51916,75 +52051,138 @@ export interface paths {
51916
52051
  [name: string]: unknown;
51917
52052
  };
51918
52053
  content: {
51919
- 'application/json': {
51920
- /** @enum {number} */
51921
- schemaVersion: 2;
51922
- projectKey: string;
51923
- material: {
51924
- item: {
51925
- /** Format: uri */
51926
- ref: string;
51927
- resourceType: string;
51928
- sourceProjectKey: string;
51929
- identityHash: string;
51930
- kind: string;
51931
- classification: string;
51932
- mediaType: string;
51933
- decision: {
51934
- /** @enum {string} */
51935
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
51936
- reasonCodes: string[];
51937
- /** Format: date-time */
51938
- assessedAt: string;
51939
- } & {
51940
- [key: string]: unknown;
51941
- };
51942
- } & {
51943
- [key: string]: unknown;
51944
- };
51945
- materialAccess: {
52054
+ 'application/json':
52055
+ | {
52056
+ /** Format: starts_with */
52057
+ filePath: string;
51946
52058
  /** @enum {string} */
51947
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
51948
- reasonCodes: string[];
52059
+ fileAuthentication: 'CF_SESSION';
51949
52060
  /** Format: date-time */
51950
- assessedAt: string;
51951
- } & {
51952
- [key: string]: unknown;
51953
- };
51954
- representation: {
51955
- /** @enum {string} */
51956
- state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
51957
- /** @enum {string} */
51958
- format: 'BYTES' | 'JSON';
51959
- /** @enum {string} */
51960
- transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
51961
- contentHash: string | null;
51962
- mediaType: string;
51963
- byteLength: number | null;
51964
- methods: ('GET' | 'HEAD')[];
51965
- /** @enum {string} */
51966
- range: 'SINGLE' | 'NONE';
51967
- /** @enum {string} */
51968
- verification: 'ON_READ';
51969
- verificationChunkBytes: number | null;
51970
- } & {
51971
- [key: string]: unknown;
51972
- };
51973
- } & {
51974
- [key: string]: unknown;
51975
- };
51976
- /** Format: starts_with */
51977
- filePath: string;
51978
- /** @enum {string} */
51979
- fileAuthentication: 'CF_SESSION';
51980
- /** Format: date-time */
51981
- checkedAt: string;
51982
- } & {
51983
- [key: string]: unknown;
51984
- };
51985
- };
51986
- };
51987
- };
52061
+ checkedAt: string;
52062
+ /** @enum {number} */
52063
+ schemaVersion: 2;
52064
+ projectKey: string;
52065
+ material: {
52066
+ item: {
52067
+ /** Format: uri */
52068
+ ref: string;
52069
+ resourceType: string;
52070
+ sourceProjectKey: string;
52071
+ identityHash: string;
52072
+ kind: string;
52073
+ classification: string;
52074
+ mediaType: string;
52075
+ decision: {
52076
+ /** @enum {string} */
52077
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
52078
+ reasonCodes: string[];
52079
+ /** Format: date-time */
52080
+ assessedAt: string;
52081
+ } & {
52082
+ [key: string]: unknown;
52083
+ };
52084
+ } & {
52085
+ [key: string]: unknown;
52086
+ };
52087
+ materialAccess: {
52088
+ /** @enum {string} */
52089
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
52090
+ reasonCodes: string[];
52091
+ /** Format: date-time */
52092
+ assessedAt: string;
52093
+ } & {
52094
+ [key: string]: unknown;
52095
+ };
52096
+ representation: {
52097
+ /** @enum {string} */
52098
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
52099
+ /** @enum {string} */
52100
+ format: 'BYTES' | 'JSON';
52101
+ /** @enum {string} */
52102
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
52103
+ contentHash: string | null;
52104
+ mediaType: string;
52105
+ byteLength: number | null;
52106
+ methods: ('GET' | 'HEAD')[];
52107
+ /** @enum {string} */
52108
+ range: 'SINGLE' | 'NONE';
52109
+ /** @enum {string} */
52110
+ verification: 'ON_READ';
52111
+ verificationChunkBytes: number | null;
52112
+ } & {
52113
+ [key: string]: unknown;
52114
+ };
52115
+ } & {
52116
+ [key: string]: unknown;
52117
+ };
52118
+ }
52119
+ | {
52120
+ /** Format: starts_with */
52121
+ filePath: string;
52122
+ /** @enum {string} */
52123
+ fileAuthentication: 'CF_SESSION';
52124
+ /** Format: date-time */
52125
+ checkedAt: string;
52126
+ /** @enum {number} */
52127
+ schemaVersion: 2;
52128
+ context: {
52129
+ /** @enum {string} */
52130
+ type: 'TENANT';
52131
+ tenantId: string;
52132
+ /** Format: uri */
52133
+ tenantRef: string;
52134
+ };
52135
+ material: {
52136
+ item: {
52137
+ ref: string;
52138
+ ownerTenantId: string;
52139
+ resourceType: string;
52140
+ /** @enum {string} */
52141
+ originType: 'LEGACY_PROJECT' | 'TENANT_AUTHOR' | 'TENANT_SOURCE';
52142
+ identityHash: string;
52143
+ /** @enum {string} */
52144
+ identityKind: 'CAS_BYTES' | 'REFERENCE_RECORD_DIGEST';
52145
+ kind: string;
52146
+ classification: string;
52147
+ mediaType: string;
52148
+ title: string;
52149
+ summary: string;
52150
+ readable: boolean;
52151
+ reasonCodes: string[];
52152
+ };
52153
+ materialAccess: {
52154
+ /** @enum {string} */
52155
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
52156
+ reasonCodes: string[];
52157
+ /** Format: date-time */
52158
+ assessedAt: string;
52159
+ } & {
52160
+ [key: string]: unknown;
52161
+ };
52162
+ representation: {
52163
+ /** @enum {string} */
52164
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
52165
+ /** @enum {string} */
52166
+ format: 'BYTES' | 'JSON';
52167
+ /** @enum {string} */
52168
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
52169
+ contentHash: string | null;
52170
+ mediaType: string;
52171
+ byteLength: number | null;
52172
+ methods: ('GET' | 'HEAD')[];
52173
+ /** @enum {string} */
52174
+ range: 'SINGLE' | 'NONE';
52175
+ /** @enum {string} */
52176
+ verification: 'ON_READ';
52177
+ verificationChunkBytes: number | null;
52178
+ } & {
52179
+ [key: string]: unknown;
52180
+ };
52181
+ };
52182
+ };
52183
+ };
52184
+ };
52185
+ };
51988
52186
  };
51989
52187
  put?: never;
51990
52188
  post?: never;
@@ -52023,69 +52221,141 @@ export interface paths {
52023
52221
  [name: string]: unknown;
52024
52222
  };
52025
52223
  content: {
52026
- 'application/json': {
52027
- /** @enum {number} */
52028
- schemaVersion: 2;
52029
- projectKey: string;
52030
- /** Format: uri */
52031
- ref: string;
52032
- sourceContentHash: string;
52033
- /** Format: uri */
52034
- documentRef: string | null;
52035
- documentContentHash: string | null;
52036
- /** @enum {string} */
52037
- state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
52038
- items: ({
52039
- ordinal: number;
52040
- /** @enum {string} */
52041
- kind: 'IMAGE' | 'VIDEO' | 'AUDIO';
52042
- /** Format: uri */
52043
- sourceUrl: string;
52044
- /** Format: uri */
52045
- canonicalUrl: string | null;
52046
- /** @enum {string} */
52047
- availability: 'MIRRORED' | 'REMOTE_ONLY' | 'UNAVAILABLE';
52048
- /** Format: uri */
52049
- mediaRef: string | null;
52050
- contentHash: string | null;
52051
- mediaType: string | null;
52052
- byteLength: number | null;
52053
- /** @enum {string} */
52054
- state:
52055
- | 'READY'
52056
- | 'REMOTE_ONLY'
52057
- | 'UNAVAILABLE'
52058
- | 'MISSING'
52059
- | 'DENIED'
52060
- | 'INTEGRITY_MISMATCH';
52061
- representation:
52062
- | ({
52063
- /** @enum {string} */
52064
- state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
52065
- /** @enum {string} */
52066
- format: 'BYTES' | 'JSON';
52067
- /** @enum {string} */
52068
- transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
52069
- contentHash: string | null;
52070
- mediaType: string;
52071
- byteLength: number | null;
52072
- methods: ('GET' | 'HEAD')[];
52073
- /** @enum {string} */
52074
- range: 'SINGLE' | 'NONE';
52075
- /** @enum {string} */
52076
- verification: 'ON_READ';
52077
- verificationChunkBytes: number | null;
52078
- } & {
52079
- [key: string]: unknown;
52080
- })
52081
- | null;
52082
- } & {
52083
- [key: string]: unknown;
52084
- })[];
52085
- nextAfterOrdinal: number | null;
52086
- } & {
52087
- [key: string]: unknown;
52088
- };
52224
+ 'application/json':
52225
+ | ({
52226
+ /** @enum {number} */
52227
+ schemaVersion: 2;
52228
+ projectKey: string;
52229
+ /** Format: uri */
52230
+ ref: string;
52231
+ sourceContentHash: string;
52232
+ /** Format: uri */
52233
+ documentRef: string | null;
52234
+ documentContentHash: string | null;
52235
+ /** @enum {string} */
52236
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
52237
+ items: ({
52238
+ ordinal: number;
52239
+ /** @enum {string} */
52240
+ kind: 'IMAGE' | 'VIDEO' | 'AUDIO';
52241
+ /** Format: uri */
52242
+ sourceUrl: string;
52243
+ /** Format: uri */
52244
+ canonicalUrl: string | null;
52245
+ /** @enum {string} */
52246
+ availability: 'MIRRORED' | 'REMOTE_ONLY' | 'UNAVAILABLE';
52247
+ /** Format: uri */
52248
+ mediaRef: string | null;
52249
+ contentHash: string | null;
52250
+ mediaType: string | null;
52251
+ byteLength: number | null;
52252
+ /** @enum {string} */
52253
+ state:
52254
+ | 'READY'
52255
+ | 'REMOTE_ONLY'
52256
+ | 'UNAVAILABLE'
52257
+ | 'MISSING'
52258
+ | 'DENIED'
52259
+ | 'INTEGRITY_MISMATCH';
52260
+ representation:
52261
+ | ({
52262
+ /** @enum {string} */
52263
+ state:
52264
+ 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
52265
+ /** @enum {string} */
52266
+ format: 'BYTES' | 'JSON';
52267
+ /** @enum {string} */
52268
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
52269
+ contentHash: string | null;
52270
+ mediaType: string;
52271
+ byteLength: number | null;
52272
+ methods: ('GET' | 'HEAD')[];
52273
+ /** @enum {string} */
52274
+ range: 'SINGLE' | 'NONE';
52275
+ /** @enum {string} */
52276
+ verification: 'ON_READ';
52277
+ verificationChunkBytes: number | null;
52278
+ } & {
52279
+ [key: string]: unknown;
52280
+ })
52281
+ | null;
52282
+ } & {
52283
+ [key: string]: unknown;
52284
+ })[];
52285
+ nextAfterOrdinal: number | null;
52286
+ } & {
52287
+ [key: string]: unknown;
52288
+ })
52289
+ | ({
52290
+ /** @enum {number} */
52291
+ schemaVersion: 2;
52292
+ /** Format: uri */
52293
+ ref: string;
52294
+ sourceContentHash: string;
52295
+ /** Format: uri */
52296
+ documentRef: string | null;
52297
+ documentContentHash: string | null;
52298
+ /** @enum {string} */
52299
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
52300
+ items: ({
52301
+ ordinal: number;
52302
+ /** @enum {string} */
52303
+ kind: 'IMAGE' | 'VIDEO' | 'AUDIO';
52304
+ /** Format: uri */
52305
+ sourceUrl: string;
52306
+ /** Format: uri */
52307
+ canonicalUrl: string | null;
52308
+ /** @enum {string} */
52309
+ availability: 'MIRRORED' | 'REMOTE_ONLY' | 'UNAVAILABLE';
52310
+ /** Format: uri */
52311
+ mediaRef: string | null;
52312
+ contentHash: string | null;
52313
+ mediaType: string | null;
52314
+ byteLength: number | null;
52315
+ /** @enum {string} */
52316
+ state:
52317
+ | 'READY'
52318
+ | 'REMOTE_ONLY'
52319
+ | 'UNAVAILABLE'
52320
+ | 'MISSING'
52321
+ | 'DENIED'
52322
+ | 'INTEGRITY_MISMATCH';
52323
+ representation:
52324
+ | ({
52325
+ /** @enum {string} */
52326
+ state:
52327
+ 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
52328
+ /** @enum {string} */
52329
+ format: 'BYTES' | 'JSON';
52330
+ /** @enum {string} */
52331
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
52332
+ contentHash: string | null;
52333
+ mediaType: string;
52334
+ byteLength: number | null;
52335
+ methods: ('GET' | 'HEAD')[];
52336
+ /** @enum {string} */
52337
+ range: 'SINGLE' | 'NONE';
52338
+ /** @enum {string} */
52339
+ verification: 'ON_READ';
52340
+ verificationChunkBytes: number | null;
52341
+ } & {
52342
+ [key: string]: unknown;
52343
+ })
52344
+ | null;
52345
+ } & {
52346
+ [key: string]: unknown;
52347
+ })[];
52348
+ nextAfterOrdinal: number | null;
52349
+ context: {
52350
+ /** @enum {string} */
52351
+ type: 'TENANT';
52352
+ tenantId: string;
52353
+ /** Format: uri */
52354
+ tenantRef: string;
52355
+ };
52356
+ } & {
52357
+ [key: string]: unknown;
52358
+ });
52089
52359
  };
52090
52360
  };
52091
52361
  };
@@ -57500,72 +57770,135 @@ export interface paths {
57500
57770
  [name: string]: unknown;
57501
57771
  };
57502
57772
  content: {
57503
- 'application/json': {
57504
- /** @enum {number} */
57505
- schemaVersion: 2;
57506
- projectKey: string;
57507
- material: {
57508
- item: {
57509
- /** Format: uri */
57510
- ref: string;
57511
- resourceType: string;
57512
- sourceProjectKey: string;
57513
- identityHash: string;
57514
- kind: string;
57515
- classification: string;
57516
- mediaType: string;
57517
- decision: {
57518
- /** @enum {string} */
57519
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
57520
- reasonCodes: string[];
57521
- /** Format: date-time */
57522
- assessedAt: string;
57773
+ 'application/json':
57774
+ | {
57775
+ /** Format: starts_with */
57776
+ filePath: string;
57777
+ /** @enum {string} */
57778
+ fileAuthentication: 'CF_SESSION';
57779
+ /** Format: date-time */
57780
+ checkedAt: string;
57781
+ /** @enum {number} */
57782
+ schemaVersion: 2;
57783
+ projectKey: string;
57784
+ material: {
57785
+ item: {
57786
+ /** Format: uri */
57787
+ ref: string;
57788
+ resourceType: string;
57789
+ sourceProjectKey: string;
57790
+ identityHash: string;
57791
+ kind: string;
57792
+ classification: string;
57793
+ mediaType: string;
57794
+ decision: {
57795
+ /** @enum {string} */
57796
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
57797
+ reasonCodes: string[];
57798
+ /** Format: date-time */
57799
+ assessedAt: string;
57800
+ } & {
57801
+ [key: string]: unknown;
57802
+ };
57803
+ } & {
57804
+ [key: string]: unknown;
57805
+ };
57806
+ materialAccess: {
57807
+ /** @enum {string} */
57808
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
57809
+ reasonCodes: string[];
57810
+ /** Format: date-time */
57811
+ assessedAt: string;
57812
+ } & {
57813
+ [key: string]: unknown;
57814
+ };
57815
+ representation: {
57816
+ /** @enum {string} */
57817
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
57818
+ /** @enum {string} */
57819
+ format: 'BYTES' | 'JSON';
57820
+ /** @enum {string} */
57821
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
57822
+ contentHash: string | null;
57823
+ mediaType: string;
57824
+ byteLength: number | null;
57825
+ methods: ('GET' | 'HEAD')[];
57826
+ /** @enum {string} */
57827
+ range: 'SINGLE' | 'NONE';
57828
+ /** @enum {string} */
57829
+ verification: 'ON_READ';
57830
+ verificationChunkBytes: number | null;
57831
+ } & {
57832
+ [key: string]: unknown;
57833
+ };
57523
57834
  } & {
57524
57835
  [key: string]: unknown;
57525
57836
  };
57526
- } & {
57527
- [key: string]: unknown;
57528
- };
57529
- materialAccess: {
57837
+ }
57838
+ | {
57839
+ /** Format: starts_with */
57840
+ filePath: string;
57530
57841
  /** @enum {string} */
57531
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
57532
- reasonCodes: string[];
57842
+ fileAuthentication: 'CF_SESSION';
57533
57843
  /** Format: date-time */
57534
- assessedAt: string;
57535
- } & {
57536
- [key: string]: unknown;
57537
- };
57538
- representation: {
57539
- /** @enum {string} */
57540
- state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
57541
- /** @enum {string} */
57542
- format: 'BYTES' | 'JSON';
57543
- /** @enum {string} */
57544
- transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
57545
- contentHash: string | null;
57546
- mediaType: string;
57547
- byteLength: number | null;
57548
- methods: ('GET' | 'HEAD')[];
57549
- /** @enum {string} */
57550
- range: 'SINGLE' | 'NONE';
57551
- /** @enum {string} */
57552
- verification: 'ON_READ';
57553
- verificationChunkBytes: number | null;
57554
- } & {
57555
- [key: string]: unknown;
57556
- };
57557
- } & {
57558
- [key: string]: unknown;
57559
- };
57560
- /** Format: starts_with */
57561
- filePath: string;
57562
- /** @enum {string} */
57563
- fileAuthentication: 'CF_SESSION';
57564
- /** Format: date-time */
57565
- checkedAt: string;
57566
- } & {
57567
- [key: string]: unknown;
57568
- };
57844
+ checkedAt: string;
57845
+ /** @enum {number} */
57846
+ schemaVersion: 2;
57847
+ context: {
57848
+ /** @enum {string} */
57849
+ type: 'TENANT';
57850
+ tenantId: string;
57851
+ /** Format: uri */
57852
+ tenantRef: string;
57853
+ };
57854
+ material: {
57855
+ item: {
57856
+ ref: string;
57857
+ ownerTenantId: string;
57858
+ resourceType: string;
57859
+ /** @enum {string} */
57860
+ originType: 'LEGACY_PROJECT' | 'TENANT_AUTHOR' | 'TENANT_SOURCE';
57861
+ identityHash: string;
57862
+ /** @enum {string} */
57863
+ identityKind: 'CAS_BYTES' | 'REFERENCE_RECORD_DIGEST';
57864
+ kind: string;
57865
+ classification: string;
57866
+ mediaType: string;
57867
+ title: string;
57868
+ summary: string;
57869
+ readable: boolean;
57870
+ reasonCodes: string[];
57871
+ };
57872
+ materialAccess: {
57873
+ /** @enum {string} */
57874
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
57875
+ reasonCodes: string[];
57876
+ /** Format: date-time */
57877
+ assessedAt: string;
57878
+ } & {
57879
+ [key: string]: unknown;
57880
+ };
57881
+ representation: {
57882
+ /** @enum {string} */
57883
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
57884
+ /** @enum {string} */
57885
+ format: 'BYTES' | 'JSON';
57886
+ /** @enum {string} */
57887
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
57888
+ contentHash: string | null;
57889
+ mediaType: string;
57890
+ byteLength: number | null;
57891
+ methods: ('GET' | 'HEAD')[];
57892
+ /** @enum {string} */
57893
+ range: 'SINGLE' | 'NONE';
57894
+ /** @enum {string} */
57895
+ verification: 'ON_READ';
57896
+ verificationChunkBytes: number | null;
57897
+ } & {
57898
+ [key: string]: unknown;
57899
+ };
57900
+ };
57901
+ };
57569
57902
  };
57570
57903
  };
57571
57904
  };
@@ -57784,72 +58117,135 @@ export interface paths {
57784
58117
  [name: string]: unknown;
57785
58118
  };
57786
58119
  content: {
57787
- 'application/json': {
57788
- /** @enum {number} */
57789
- schemaVersion: 2;
57790
- projectKey: string;
57791
- material: {
57792
- item: {
57793
- /** Format: uri */
57794
- ref: string;
57795
- resourceType: string;
57796
- sourceProjectKey: string;
57797
- identityHash: string;
57798
- kind: string;
57799
- classification: string;
57800
- mediaType: string;
57801
- decision: {
57802
- /** @enum {string} */
57803
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
57804
- reasonCodes: string[];
57805
- /** Format: date-time */
57806
- assessedAt: string;
58120
+ 'application/json':
58121
+ | {
58122
+ /** Format: starts_with */
58123
+ filePath: string;
58124
+ /** @enum {string} */
58125
+ fileAuthentication: 'CF_SESSION';
58126
+ /** Format: date-time */
58127
+ checkedAt: string;
58128
+ /** @enum {number} */
58129
+ schemaVersion: 2;
58130
+ projectKey: string;
58131
+ material: {
58132
+ item: {
58133
+ /** Format: uri */
58134
+ ref: string;
58135
+ resourceType: string;
58136
+ sourceProjectKey: string;
58137
+ identityHash: string;
58138
+ kind: string;
58139
+ classification: string;
58140
+ mediaType: string;
58141
+ decision: {
58142
+ /** @enum {string} */
58143
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
58144
+ reasonCodes: string[];
58145
+ /** Format: date-time */
58146
+ assessedAt: string;
58147
+ } & {
58148
+ [key: string]: unknown;
58149
+ };
58150
+ } & {
58151
+ [key: string]: unknown;
58152
+ };
58153
+ materialAccess: {
58154
+ /** @enum {string} */
58155
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
58156
+ reasonCodes: string[];
58157
+ /** Format: date-time */
58158
+ assessedAt: string;
58159
+ } & {
58160
+ [key: string]: unknown;
58161
+ };
58162
+ representation: {
58163
+ /** @enum {string} */
58164
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
58165
+ /** @enum {string} */
58166
+ format: 'BYTES' | 'JSON';
58167
+ /** @enum {string} */
58168
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
58169
+ contentHash: string | null;
58170
+ mediaType: string;
58171
+ byteLength: number | null;
58172
+ methods: ('GET' | 'HEAD')[];
58173
+ /** @enum {string} */
58174
+ range: 'SINGLE' | 'NONE';
58175
+ /** @enum {string} */
58176
+ verification: 'ON_READ';
58177
+ verificationChunkBytes: number | null;
58178
+ } & {
58179
+ [key: string]: unknown;
58180
+ };
57807
58181
  } & {
57808
58182
  [key: string]: unknown;
57809
58183
  };
57810
- } & {
57811
- [key: string]: unknown;
57812
- };
57813
- materialAccess: {
58184
+ }
58185
+ | {
58186
+ /** Format: starts_with */
58187
+ filePath: string;
57814
58188
  /** @enum {string} */
57815
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
57816
- reasonCodes: string[];
58189
+ fileAuthentication: 'CF_SESSION';
57817
58190
  /** Format: date-time */
57818
- assessedAt: string;
57819
- } & {
57820
- [key: string]: unknown;
57821
- };
57822
- representation: {
57823
- /** @enum {string} */
57824
- state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
57825
- /** @enum {string} */
57826
- format: 'BYTES' | 'JSON';
57827
- /** @enum {string} */
57828
- transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
57829
- contentHash: string | null;
57830
- mediaType: string;
57831
- byteLength: number | null;
57832
- methods: ('GET' | 'HEAD')[];
57833
- /** @enum {string} */
57834
- range: 'SINGLE' | 'NONE';
57835
- /** @enum {string} */
57836
- verification: 'ON_READ';
57837
- verificationChunkBytes: number | null;
57838
- } & {
57839
- [key: string]: unknown;
58191
+ checkedAt: string;
58192
+ /** @enum {number} */
58193
+ schemaVersion: 2;
58194
+ context: {
58195
+ /** @enum {string} */
58196
+ type: 'TENANT';
58197
+ tenantId: string;
58198
+ /** Format: uri */
58199
+ tenantRef: string;
58200
+ };
58201
+ material: {
58202
+ item: {
58203
+ ref: string;
58204
+ ownerTenantId: string;
58205
+ resourceType: string;
58206
+ /** @enum {string} */
58207
+ originType: 'LEGACY_PROJECT' | 'TENANT_AUTHOR' | 'TENANT_SOURCE';
58208
+ identityHash: string;
58209
+ /** @enum {string} */
58210
+ identityKind: 'CAS_BYTES' | 'REFERENCE_RECORD_DIGEST';
58211
+ kind: string;
58212
+ classification: string;
58213
+ mediaType: string;
58214
+ title: string;
58215
+ summary: string;
58216
+ readable: boolean;
58217
+ reasonCodes: string[];
58218
+ };
58219
+ materialAccess: {
58220
+ /** @enum {string} */
58221
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
58222
+ reasonCodes: string[];
58223
+ /** Format: date-time */
58224
+ assessedAt: string;
58225
+ } & {
58226
+ [key: string]: unknown;
58227
+ };
58228
+ representation: {
58229
+ /** @enum {string} */
58230
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
58231
+ /** @enum {string} */
58232
+ format: 'BYTES' | 'JSON';
58233
+ /** @enum {string} */
58234
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
58235
+ contentHash: string | null;
58236
+ mediaType: string;
58237
+ byteLength: number | null;
58238
+ methods: ('GET' | 'HEAD')[];
58239
+ /** @enum {string} */
58240
+ range: 'SINGLE' | 'NONE';
58241
+ /** @enum {string} */
58242
+ verification: 'ON_READ';
58243
+ verificationChunkBytes: number | null;
58244
+ } & {
58245
+ [key: string]: unknown;
58246
+ };
58247
+ };
57840
58248
  };
57841
- } & {
57842
- [key: string]: unknown;
57843
- };
57844
- /** Format: starts_with */
57845
- filePath: string;
57846
- /** @enum {string} */
57847
- fileAuthentication: 'CF_SESSION';
57848
- /** Format: date-time */
57849
- checkedAt: string;
57850
- } & {
57851
- [key: string]: unknown;
57852
- };
57853
58249
  };
57854
58250
  };
57855
58251
  };
@@ -58072,72 +58468,135 @@ export interface paths {
58072
58468
  [name: string]: unknown;
58073
58469
  };
58074
58470
  content: {
58075
- 'application/json': {
58076
- /** @enum {number} */
58077
- schemaVersion: 2;
58078
- projectKey: string;
58079
- material: {
58080
- item: {
58081
- /** Format: uri */
58082
- ref: string;
58083
- resourceType: string;
58084
- sourceProjectKey: string;
58085
- identityHash: string;
58086
- kind: string;
58087
- classification: string;
58088
- mediaType: string;
58089
- decision: {
58090
- /** @enum {string} */
58091
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
58092
- reasonCodes: string[];
58093
- /** Format: date-time */
58094
- assessedAt: string;
58471
+ 'application/json':
58472
+ | {
58473
+ /** Format: starts_with */
58474
+ filePath: string;
58475
+ /** @enum {string} */
58476
+ fileAuthentication: 'CF_SESSION';
58477
+ /** Format: date-time */
58478
+ checkedAt: string;
58479
+ /** @enum {number} */
58480
+ schemaVersion: 2;
58481
+ projectKey: string;
58482
+ material: {
58483
+ item: {
58484
+ /** Format: uri */
58485
+ ref: string;
58486
+ resourceType: string;
58487
+ sourceProjectKey: string;
58488
+ identityHash: string;
58489
+ kind: string;
58490
+ classification: string;
58491
+ mediaType: string;
58492
+ decision: {
58493
+ /** @enum {string} */
58494
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
58495
+ reasonCodes: string[];
58496
+ /** Format: date-time */
58497
+ assessedAt: string;
58498
+ } & {
58499
+ [key: string]: unknown;
58500
+ };
58501
+ } & {
58502
+ [key: string]: unknown;
58503
+ };
58504
+ materialAccess: {
58505
+ /** @enum {string} */
58506
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
58507
+ reasonCodes: string[];
58508
+ /** Format: date-time */
58509
+ assessedAt: string;
58510
+ } & {
58511
+ [key: string]: unknown;
58512
+ };
58513
+ representation: {
58514
+ /** @enum {string} */
58515
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
58516
+ /** @enum {string} */
58517
+ format: 'BYTES' | 'JSON';
58518
+ /** @enum {string} */
58519
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
58520
+ contentHash: string | null;
58521
+ mediaType: string;
58522
+ byteLength: number | null;
58523
+ methods: ('GET' | 'HEAD')[];
58524
+ /** @enum {string} */
58525
+ range: 'SINGLE' | 'NONE';
58526
+ /** @enum {string} */
58527
+ verification: 'ON_READ';
58528
+ verificationChunkBytes: number | null;
58529
+ } & {
58530
+ [key: string]: unknown;
58531
+ };
58095
58532
  } & {
58096
58533
  [key: string]: unknown;
58097
58534
  };
58098
- } & {
58099
- [key: string]: unknown;
58100
- };
58101
- materialAccess: {
58535
+ }
58536
+ | {
58537
+ /** Format: starts_with */
58538
+ filePath: string;
58102
58539
  /** @enum {string} */
58103
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
58104
- reasonCodes: string[];
58540
+ fileAuthentication: 'CF_SESSION';
58105
58541
  /** Format: date-time */
58106
- assessedAt: string;
58107
- } & {
58108
- [key: string]: unknown;
58542
+ checkedAt: string;
58543
+ /** @enum {number} */
58544
+ schemaVersion: 2;
58545
+ context: {
58546
+ /** @enum {string} */
58547
+ type: 'TENANT';
58548
+ tenantId: string;
58549
+ /** Format: uri */
58550
+ tenantRef: string;
58551
+ };
58552
+ material: {
58553
+ item: {
58554
+ ref: string;
58555
+ ownerTenantId: string;
58556
+ resourceType: string;
58557
+ /** @enum {string} */
58558
+ originType: 'LEGACY_PROJECT' | 'TENANT_AUTHOR' | 'TENANT_SOURCE';
58559
+ identityHash: string;
58560
+ /** @enum {string} */
58561
+ identityKind: 'CAS_BYTES' | 'REFERENCE_RECORD_DIGEST';
58562
+ kind: string;
58563
+ classification: string;
58564
+ mediaType: string;
58565
+ title: string;
58566
+ summary: string;
58567
+ readable: boolean;
58568
+ reasonCodes: string[];
58569
+ };
58570
+ materialAccess: {
58571
+ /** @enum {string} */
58572
+ action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
58573
+ reasonCodes: string[];
58574
+ /** Format: date-time */
58575
+ assessedAt: string;
58576
+ } & {
58577
+ [key: string]: unknown;
58578
+ };
58579
+ representation: {
58580
+ /** @enum {string} */
58581
+ state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
58582
+ /** @enum {string} */
58583
+ format: 'BYTES' | 'JSON';
58584
+ /** @enum {string} */
58585
+ transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
58586
+ contentHash: string | null;
58587
+ mediaType: string;
58588
+ byteLength: number | null;
58589
+ methods: ('GET' | 'HEAD')[];
58590
+ /** @enum {string} */
58591
+ range: 'SINGLE' | 'NONE';
58592
+ /** @enum {string} */
58593
+ verification: 'ON_READ';
58594
+ verificationChunkBytes: number | null;
58595
+ } & {
58596
+ [key: string]: unknown;
58597
+ };
58598
+ };
58109
58599
  };
58110
- representation: {
58111
- /** @enum {string} */
58112
- state: 'READY' | 'UNSUPPORTED' | 'MISSING' | 'INTEGRITY_MISMATCH' | 'DENIED';
58113
- /** @enum {string} */
58114
- format: 'BYTES' | 'JSON';
58115
- /** @enum {string} */
58116
- transfer: 'VERIFIED_STREAM' | 'BUFFERED_JSON' | 'UNSUPPORTED';
58117
- contentHash: string | null;
58118
- mediaType: string;
58119
- byteLength: number | null;
58120
- methods: ('GET' | 'HEAD')[];
58121
- /** @enum {string} */
58122
- range: 'SINGLE' | 'NONE';
58123
- /** @enum {string} */
58124
- verification: 'ON_READ';
58125
- verificationChunkBytes: number | null;
58126
- } & {
58127
- [key: string]: unknown;
58128
- };
58129
- } & {
58130
- [key: string]: unknown;
58131
- };
58132
- /** Format: starts_with */
58133
- filePath: string;
58134
- /** @enum {string} */
58135
- fileAuthentication: 'CF_SESSION';
58136
- /** Format: date-time */
58137
- checkedAt: string;
58138
- } & {
58139
- [key: string]: unknown;
58140
- };
58141
58600
  };
58142
58601
  };
58143
58602
  };
@@ -69296,26 +69755,548 @@ export interface paths {
69296
69755
  operation: 'WITHDRAW';
69297
69756
  };
69298
69757
  };
69299
- };
69300
- responses: {
69758
+ };
69759
+ responses: {
69760
+ /** @description Default Response */
69761
+ 200: {
69762
+ headers: {
69763
+ [name: string]: unknown;
69764
+ };
69765
+ content: {
69766
+ 'application/json': {
69767
+ observationCode: string;
69768
+ revision: number;
69769
+ /** @enum {string} */
69770
+ state: 'CURRENT' | 'WITHDRAWN';
69771
+ destinationCode: string;
69772
+ replayed: boolean;
69773
+ };
69774
+ };
69775
+ };
69776
+ /** @description Default Response */
69777
+ 400: {
69778
+ headers: {
69779
+ [name: string]: unknown;
69780
+ };
69781
+ content: {
69782
+ 'application/json': {
69783
+ error: {
69784
+ code: string;
69785
+ message: string;
69786
+ requestId?: string;
69787
+ };
69788
+ };
69789
+ };
69790
+ };
69791
+ /** @description Default Response */
69792
+ 401: {
69793
+ headers: {
69794
+ [name: string]: unknown;
69795
+ };
69796
+ content: {
69797
+ 'application/json': {
69798
+ error: {
69799
+ code: string;
69800
+ message: string;
69801
+ requestId?: string;
69802
+ };
69803
+ };
69804
+ };
69805
+ };
69806
+ /** @description Default Response */
69807
+ 403: {
69808
+ headers: {
69809
+ [name: string]: unknown;
69810
+ };
69811
+ content: {
69812
+ 'application/json': {
69813
+ error: {
69814
+ code: string;
69815
+ message: string;
69816
+ requestId?: string;
69817
+ };
69818
+ };
69819
+ };
69820
+ };
69821
+ /** @description Default Response */
69822
+ 404: {
69823
+ headers: {
69824
+ [name: string]: unknown;
69825
+ };
69826
+ content: {
69827
+ 'application/json': {
69828
+ error: {
69829
+ code: string;
69830
+ message: string;
69831
+ requestId?: string;
69832
+ };
69833
+ };
69834
+ };
69835
+ };
69836
+ /** @description Default Response */
69837
+ 409: {
69838
+ headers: {
69839
+ [name: string]: unknown;
69840
+ };
69841
+ content: {
69842
+ 'application/json': {
69843
+ error: {
69844
+ code: string;
69845
+ message: string;
69846
+ requestId?: string;
69847
+ };
69848
+ };
69849
+ };
69850
+ };
69851
+ };
69852
+ };
69853
+ delete?: never;
69854
+ options?: never;
69855
+ head?: never;
69856
+ patch?: never;
69857
+ trace?: never;
69858
+ };
69859
+ '/projects/{projectCode}/distribution/destinations/{destinationCode}/feedback/fact-changes/receipt': {
69860
+ parameters: {
69861
+ query?: never;
69862
+ header?: never;
69863
+ path?: never;
69864
+ cookie?: never;
69865
+ };
69866
+ get: {
69867
+ parameters: {
69868
+ query: {
69869
+ requestId: string;
69870
+ };
69871
+ header?: never;
69872
+ path: {
69873
+ projectCode: string;
69874
+ destinationCode: string;
69875
+ };
69876
+ cookie?: never;
69877
+ };
69878
+ requestBody?: never;
69879
+ responses: {
69880
+ /** @description Default Response */
69881
+ 200: {
69882
+ headers: {
69883
+ [name: string]: unknown;
69884
+ };
69885
+ content: {
69886
+ 'application/json':
69887
+ | {
69888
+ /** @enum {string} */
69889
+ state: 'FOUND';
69890
+ result: {
69891
+ observationCode: string;
69892
+ revision: number;
69893
+ /** @enum {string} */
69894
+ state: 'CURRENT' | 'WITHDRAWN';
69895
+ destinationCode: string;
69896
+ replayed: boolean;
69897
+ };
69898
+ }
69899
+ | {
69900
+ /** @enum {string} */
69901
+ state: 'NOT_FOUND';
69902
+ /** @enum {string|null} */
69903
+ result: null;
69904
+ }
69905
+ | {
69906
+ /** @enum {string} */
69907
+ state: 'REJECTED';
69908
+ /** @enum {string|null} */
69909
+ result: null;
69910
+ error: {
69911
+ code: string;
69912
+ /** @enum {string} */
69913
+ outcome: 'REJECTED';
69914
+ recovery: string;
69915
+ };
69916
+ };
69917
+ };
69918
+ };
69919
+ /** @description Default Response */
69920
+ 400: {
69921
+ headers: {
69922
+ [name: string]: unknown;
69923
+ };
69924
+ content: {
69925
+ 'application/json': {
69926
+ error: {
69927
+ code: string;
69928
+ message: string;
69929
+ requestId?: string;
69930
+ };
69931
+ };
69932
+ };
69933
+ };
69934
+ /** @description Default Response */
69935
+ 401: {
69936
+ headers: {
69937
+ [name: string]: unknown;
69938
+ };
69939
+ content: {
69940
+ 'application/json': {
69941
+ error: {
69942
+ code: string;
69943
+ message: string;
69944
+ requestId?: string;
69945
+ };
69946
+ };
69947
+ };
69948
+ };
69949
+ /** @description Default Response */
69950
+ 403: {
69951
+ headers: {
69952
+ [name: string]: unknown;
69953
+ };
69954
+ content: {
69955
+ 'application/json': {
69956
+ error: {
69957
+ code: string;
69958
+ message: string;
69959
+ requestId?: string;
69960
+ };
69961
+ };
69962
+ };
69963
+ };
69964
+ /** @description Default Response */
69965
+ 404: {
69966
+ headers: {
69967
+ [name: string]: unknown;
69968
+ };
69969
+ content: {
69970
+ 'application/json': {
69971
+ error: {
69972
+ code: string;
69973
+ message: string;
69974
+ requestId?: string;
69975
+ };
69976
+ };
69977
+ };
69978
+ };
69979
+ /** @description Default Response */
69980
+ 409: {
69981
+ headers: {
69982
+ [name: string]: unknown;
69983
+ };
69984
+ content: {
69985
+ 'application/json': {
69986
+ error: {
69987
+ code: string;
69988
+ message: string;
69989
+ requestId?: string;
69990
+ };
69991
+ };
69992
+ };
69993
+ };
69994
+ };
69995
+ };
69996
+ put?: never;
69997
+ post?: never;
69998
+ delete?: never;
69999
+ options?: never;
70000
+ head?: never;
70001
+ patch?: never;
70002
+ trace?: never;
70003
+ };
70004
+ '/tenants/{tenantCode}/knowledge/discovery': {
70005
+ parameters: {
70006
+ query?: never;
70007
+ header?: never;
70008
+ path?: never;
70009
+ cookie?: never;
70010
+ };
70011
+ get: {
70012
+ parameters: {
70013
+ query?: {
70014
+ q?: string;
70015
+ cursor?: string;
70016
+ resourceType?: string;
70017
+ limit?: number;
70018
+ };
70019
+ header?: never;
70020
+ path: {
70021
+ tenantCode: string;
70022
+ };
70023
+ cookie?: never;
70024
+ };
70025
+ requestBody?: never;
70026
+ responses: {
70027
+ /** @description Default Response */
70028
+ 200: {
70029
+ headers: {
70030
+ [name: string]: unknown;
70031
+ };
70032
+ content: {
70033
+ 'application/json': {
70034
+ /** @enum {number} */
70035
+ schemaVersion: 1;
70036
+ sourceTenantId: string;
70037
+ items: {
70038
+ ref: string;
70039
+ ownerTenantId: string;
70040
+ resourceType: string;
70041
+ /** @enum {string} */
70042
+ originType: 'LEGACY_PROJECT' | 'TENANT_AUTHOR' | 'TENANT_SOURCE';
70043
+ identityHash: string;
70044
+ /** @enum {string} */
70045
+ identityKind: 'CAS_BYTES' | 'REFERENCE_RECORD_DIGEST';
70046
+ kind: string;
70047
+ classification: string;
70048
+ mediaType: string;
70049
+ title: string;
70050
+ summary: string;
70051
+ readable: boolean;
70052
+ reasonCodes: string[];
70053
+ }[];
70054
+ pageInfo: {
70055
+ nextCursor: string | null;
70056
+ };
70057
+ /** @enum {string} */
70058
+ coverage: 'CURRENT_AUTHORIZED_DIRECTORY' | 'INDEXED_DESCRIPTIONS_ONLY';
70059
+ /** Format: date-time */
70060
+ checkedAt: string;
70061
+ };
70062
+ };
70063
+ };
70064
+ /** @description Default Response */
70065
+ 400: {
70066
+ headers: {
70067
+ [name: string]: unknown;
70068
+ };
70069
+ content: {
70070
+ 'application/json': {
70071
+ error: {
70072
+ code: string;
70073
+ message: string;
70074
+ requestId?: string;
70075
+ };
70076
+ };
70077
+ };
70078
+ };
70079
+ /** @description Default Response */
70080
+ 401: {
70081
+ headers: {
70082
+ [name: string]: unknown;
70083
+ };
70084
+ content: {
70085
+ 'application/json': {
70086
+ error: {
70087
+ code: string;
70088
+ message: string;
70089
+ requestId?: string;
70090
+ };
70091
+ };
70092
+ };
70093
+ };
70094
+ /** @description Default Response */
70095
+ 403: {
70096
+ headers: {
70097
+ [name: string]: unknown;
70098
+ };
70099
+ content: {
70100
+ 'application/json': {
70101
+ error: {
70102
+ code: string;
70103
+ message: string;
70104
+ requestId?: string;
70105
+ };
70106
+ };
70107
+ };
70108
+ };
70109
+ /** @description Default Response */
70110
+ 404: {
70111
+ headers: {
70112
+ [name: string]: unknown;
70113
+ };
70114
+ content: {
70115
+ 'application/json': {
70116
+ error: {
70117
+ code: string;
70118
+ message: string;
70119
+ requestId?: string;
70120
+ };
70121
+ };
70122
+ };
70123
+ };
70124
+ /** @description Default Response */
70125
+ 409: {
70126
+ headers: {
70127
+ [name: string]: unknown;
70128
+ };
70129
+ content: {
70130
+ 'application/json': {
70131
+ error: {
70132
+ code: string;
70133
+ message: string;
70134
+ requestId?: string;
70135
+ };
70136
+ };
70137
+ };
70138
+ };
70139
+ /** @description Default Response */
70140
+ 413: {
70141
+ headers: {
70142
+ [name: string]: unknown;
70143
+ };
70144
+ content: {
70145
+ 'application/json': {
70146
+ error: {
70147
+ code: string;
70148
+ message: string;
70149
+ requestId?: string;
70150
+ };
70151
+ };
70152
+ };
70153
+ };
70154
+ /** @description Default Response */
70155
+ 415: {
70156
+ headers: {
70157
+ [name: string]: unknown;
70158
+ };
70159
+ content: {
70160
+ 'application/json': {
70161
+ error: {
70162
+ code: string;
70163
+ message: string;
70164
+ requestId?: string;
70165
+ };
70166
+ };
70167
+ };
70168
+ };
70169
+ /** @description Default Response */
70170
+ 502: {
70171
+ headers: {
70172
+ [name: string]: unknown;
70173
+ };
70174
+ content: {
70175
+ 'application/json': {
70176
+ error: {
70177
+ code: string;
70178
+ message: string;
70179
+ requestId?: string;
70180
+ };
70181
+ };
70182
+ };
70183
+ };
70184
+ /** @description Default Response */
70185
+ 503: {
70186
+ headers: {
70187
+ [name: string]: unknown;
70188
+ };
70189
+ content: {
70190
+ 'application/json': {
70191
+ error: {
70192
+ code: string;
70193
+ message: string;
70194
+ requestId?: string;
70195
+ };
70196
+ };
70197
+ };
70198
+ };
70199
+ };
70200
+ };
70201
+ put?: never;
70202
+ post?: never;
70203
+ delete?: never;
70204
+ options?: never;
70205
+ head?: never;
70206
+ patch?: never;
70207
+ trace?: never;
70208
+ };
70209
+ '/tenants/{tenantCode}/knowledge/discovery/read': {
70210
+ parameters: {
70211
+ query?: never;
70212
+ header?: never;
70213
+ path?: never;
70214
+ cookie?: never;
70215
+ };
70216
+ get: {
70217
+ parameters: {
70218
+ query: {
70219
+ ref: string;
70220
+ expectedContentHash?: string;
70221
+ };
70222
+ header?: never;
70223
+ path: {
70224
+ tenantCode: string;
70225
+ };
70226
+ cookie?: never;
70227
+ };
70228
+ requestBody?: never;
70229
+ responses: {
70230
+ /** @description Default Response */
70231
+ 200: {
70232
+ headers: {
70233
+ [name: string]: unknown;
70234
+ };
70235
+ content: {
70236
+ 'application/json': {
70237
+ /** @enum {number} */
70238
+ schemaVersion: 1;
70239
+ sourceTenantId: string;
70240
+ item: {
70241
+ ref: string;
70242
+ ownerTenantId: string;
70243
+ resourceType: string;
70244
+ /** @enum {string} */
70245
+ originType: 'LEGACY_PROJECT' | 'TENANT_AUTHOR' | 'TENANT_SOURCE';
70246
+ identityHash: string;
70247
+ /** @enum {string} */
70248
+ identityKind: 'CAS_BYTES' | 'REFERENCE_RECORD_DIGEST';
70249
+ kind: string;
70250
+ classification: string;
70251
+ mediaType: string;
70252
+ title: string;
70253
+ summary: string;
70254
+ readable: boolean;
70255
+ reasonCodes: string[];
70256
+ };
70257
+ contentHash: string;
70258
+ mediaType: string;
70259
+ byteLength: number;
70260
+ content: string;
70261
+ /** @enum {boolean} */
70262
+ verified: true;
70263
+ /** Format: date-time */
70264
+ checkedAt: string;
70265
+ };
70266
+ };
70267
+ };
70268
+ /** @description Default Response */
70269
+ 400: {
70270
+ headers: {
70271
+ [name: string]: unknown;
70272
+ };
70273
+ content: {
70274
+ 'application/json': {
70275
+ error: {
70276
+ code: string;
70277
+ message: string;
70278
+ requestId?: string;
70279
+ };
70280
+ };
70281
+ };
70282
+ };
69301
70283
  /** @description Default Response */
69302
- 200: {
70284
+ 401: {
69303
70285
  headers: {
69304
70286
  [name: string]: unknown;
69305
70287
  };
69306
70288
  content: {
69307
70289
  'application/json': {
69308
- observationCode: string;
69309
- revision: number;
69310
- /** @enum {string} */
69311
- state: 'CURRENT' | 'WITHDRAWN';
69312
- destinationCode: string;
69313
- replayed: boolean;
70290
+ error: {
70291
+ code: string;
70292
+ message: string;
70293
+ requestId?: string;
70294
+ };
69314
70295
  };
69315
70296
  };
69316
70297
  };
69317
70298
  /** @description Default Response */
69318
- 400: {
70299
+ 403: {
69319
70300
  headers: {
69320
70301
  [name: string]: unknown;
69321
70302
  };
@@ -69330,7 +70311,7 @@ export interface paths {
69330
70311
  };
69331
70312
  };
69332
70313
  /** @description Default Response */
69333
- 401: {
70314
+ 404: {
69334
70315
  headers: {
69335
70316
  [name: string]: unknown;
69336
70317
  };
@@ -69345,7 +70326,7 @@ export interface paths {
69345
70326
  };
69346
70327
  };
69347
70328
  /** @description Default Response */
69348
- 403: {
70329
+ 409: {
69349
70330
  headers: {
69350
70331
  [name: string]: unknown;
69351
70332
  };
@@ -69360,7 +70341,7 @@ export interface paths {
69360
70341
  };
69361
70342
  };
69362
70343
  /** @description Default Response */
69363
- 404: {
70344
+ 413: {
69364
70345
  headers: {
69365
70346
  [name: string]: unknown;
69366
70347
  };
@@ -69375,7 +70356,37 @@ export interface paths {
69375
70356
  };
69376
70357
  };
69377
70358
  /** @description Default Response */
69378
- 409: {
70359
+ 415: {
70360
+ headers: {
70361
+ [name: string]: unknown;
70362
+ };
70363
+ content: {
70364
+ 'application/json': {
70365
+ error: {
70366
+ code: string;
70367
+ message: string;
70368
+ requestId?: string;
70369
+ };
70370
+ };
70371
+ };
70372
+ };
70373
+ /** @description Default Response */
70374
+ 502: {
70375
+ headers: {
70376
+ [name: string]: unknown;
70377
+ };
70378
+ content: {
70379
+ 'application/json': {
70380
+ error: {
70381
+ code: string;
70382
+ message: string;
70383
+ requestId?: string;
70384
+ };
70385
+ };
70386
+ };
70387
+ };
70388
+ /** @description Default Response */
70389
+ 503: {
69379
70390
  headers: {
69380
70391
  [name: string]: unknown;
69381
70392
  };
@@ -69391,32 +70402,41 @@ export interface paths {
69391
70402
  };
69392
70403
  };
69393
70404
  };
70405
+ put?: never;
70406
+ post?: never;
69394
70407
  delete?: never;
69395
70408
  options?: never;
69396
70409
  head?: never;
69397
70410
  patch?: never;
69398
70411
  trace?: never;
69399
70412
  };
69400
- '/projects/{projectCode}/distribution/destinations/{destinationCode}/feedback/fact-changes/receipt': {
70413
+ '/tenants/{tenantCode}/knowledge/discovery/adoption': {
69401
70414
  parameters: {
69402
70415
  query?: never;
69403
70416
  header?: never;
69404
70417
  path?: never;
69405
70418
  cookie?: never;
69406
70419
  };
69407
- get: {
70420
+ get?: never;
70421
+ put?: never;
70422
+ post: {
69408
70423
  parameters: {
69409
- query: {
69410
- requestId: string;
69411
- };
70424
+ query?: never;
69412
70425
  header?: never;
69413
70426
  path: {
69414
- projectCode: string;
69415
- destinationCode: string;
70427
+ tenantCode: string;
69416
70428
  };
69417
70429
  cookie?: never;
69418
70430
  };
69419
- requestBody?: never;
70431
+ requestBody: {
70432
+ content: {
70433
+ 'application/json': {
70434
+ ref: string;
70435
+ expectedContentHash: string;
70436
+ requestId: string;
70437
+ };
70438
+ };
70439
+ };
69420
70440
  responses: {
69421
70441
  /** @description Default Response */
69422
70442
  200: {
@@ -69424,37 +70444,40 @@ export interface paths {
69424
70444
  [name: string]: unknown;
69425
70445
  };
69426
70446
  content: {
69427
- 'application/json':
69428
- | {
69429
- /** @enum {string} */
69430
- state: 'FOUND';
69431
- result: {
69432
- observationCode: string;
69433
- revision: number;
69434
- /** @enum {string} */
69435
- state: 'CURRENT' | 'WITHDRAWN';
69436
- destinationCode: string;
69437
- replayed: boolean;
69438
- };
69439
- }
69440
- | {
69441
- /** @enum {string} */
69442
- state: 'NOT_FOUND';
69443
- /** @enum {string|null} */
69444
- result: null;
69445
- }
69446
- | {
69447
- /** @enum {string} */
69448
- state: 'REJECTED';
69449
- /** @enum {string|null} */
69450
- result: null;
69451
- error: {
69452
- code: string;
69453
- /** @enum {string} */
69454
- outcome: 'REJECTED';
69455
- recovery: string;
69456
- };
70447
+ 'application/json': {
70448
+ result: {
70449
+ /** Format: uuid */
70450
+ id: string;
70451
+ ref: string;
70452
+ /** Format: uuid */
70453
+ tenantId: string;
70454
+ /** @enum {string} */
70455
+ sourceType:
70456
+ | 'KNOWLEDGE'
70457
+ | 'INSIGHT'
70458
+ | 'TREND'
70459
+ | 'HOT_TOPIC'
70460
+ | 'WORLD_FACT'
70461
+ | 'NEWS'
70462
+ | 'CASE_EVIDENCE'
70463
+ | 'HUMAN_IDEA'
70464
+ | 'EXTERNAL_REFERENCE';
70465
+ sourceRef: string;
70466
+ sourceAuthority: string;
70467
+ /** Format: date-time */
70468
+ observedAt: string | null;
70469
+ /** Format: date-time */
70470
+ validUntil: string | null;
70471
+ evidenceRef: string | null;
70472
+ snapshotHash: string | null;
70473
+ metadata: {
70474
+ [key: string]: unknown;
69457
70475
  };
70476
+ /** Format: date-time */
70477
+ createdAt: string;
70478
+ };
70479
+ replayed: boolean;
70480
+ };
69458
70481
  };
69459
70482
  };
69460
70483
  /** @description Default Response */
@@ -69532,17 +70555,75 @@ export interface paths {
69532
70555
  };
69533
70556
  };
69534
70557
  };
70558
+ /** @description Default Response */
70559
+ 413: {
70560
+ headers: {
70561
+ [name: string]: unknown;
70562
+ };
70563
+ content: {
70564
+ 'application/json': {
70565
+ error: {
70566
+ code: string;
70567
+ message: string;
70568
+ requestId?: string;
70569
+ };
70570
+ };
70571
+ };
70572
+ };
70573
+ /** @description Default Response */
70574
+ 415: {
70575
+ headers: {
70576
+ [name: string]: unknown;
70577
+ };
70578
+ content: {
70579
+ 'application/json': {
70580
+ error: {
70581
+ code: string;
70582
+ message: string;
70583
+ requestId?: string;
70584
+ };
70585
+ };
70586
+ };
70587
+ };
70588
+ /** @description Default Response */
70589
+ 502: {
70590
+ headers: {
70591
+ [name: string]: unknown;
70592
+ };
70593
+ content: {
70594
+ 'application/json': {
70595
+ error: {
70596
+ code: string;
70597
+ message: string;
70598
+ requestId?: string;
70599
+ };
70600
+ };
70601
+ };
70602
+ };
70603
+ /** @description Default Response */
70604
+ 503: {
70605
+ headers: {
70606
+ [name: string]: unknown;
70607
+ };
70608
+ content: {
70609
+ 'application/json': {
70610
+ error: {
70611
+ code: string;
70612
+ message: string;
70613
+ requestId?: string;
70614
+ };
70615
+ };
70616
+ };
70617
+ };
69535
70618
  };
69536
70619
  };
69537
- put?: never;
69538
- post?: never;
69539
70620
  delete?: never;
69540
70621
  options?: never;
69541
70622
  head?: never;
69542
70623
  patch?: never;
69543
70624
  trace?: never;
69544
70625
  };
69545
- '/tenants/{tenantCode}/knowledge/discovery': {
70626
+ '/tenants/{tenantCode}/knowledge/discovery/adoption-receipt': {
69546
70627
  parameters: {
69547
70628
  query?: never;
69548
70629
  header?: never;
@@ -69551,11 +70632,8 @@ export interface paths {
69551
70632
  };
69552
70633
  get: {
69553
70634
  parameters: {
69554
- query?: {
69555
- q?: string;
69556
- cursor?: string;
69557
- resourceType?: string;
69558
- limit?: number;
70635
+ query: {
70636
+ requestId: string;
69559
70637
  };
69560
70638
  header?: never;
69561
70639
  path: {
@@ -69563,43 +70641,68 @@ export interface paths {
69563
70641
  };
69564
70642
  cookie?: never;
69565
70643
  };
69566
- requestBody?: never;
69567
- responses: {
69568
- /** @description Default Response */
69569
- 200: {
69570
- headers: {
69571
- [name: string]: unknown;
69572
- };
69573
- content: {
69574
- 'application/json': {
69575
- /** @enum {number} */
69576
- schemaVersion: 1;
69577
- sourceTenantId: string;
69578
- items: {
69579
- ref: string;
69580
- ownerTenantId: string;
69581
- resourceType: string;
69582
- /** @enum {string} */
69583
- originType: 'LEGACY_PROJECT' | 'TENANT_AUTHOR' | 'TENANT_SOURCE';
69584
- identityHash: string;
69585
- /** @enum {string} */
69586
- identityKind: 'CAS_BYTES' | 'REFERENCE_RECORD_DIGEST';
69587
- kind: string;
69588
- classification: string;
69589
- mediaType: string;
69590
- title: string;
69591
- summary: string;
69592
- readable: boolean;
69593
- reasonCodes: string[];
69594
- }[];
69595
- pageInfo: {
69596
- nextCursor: string | null;
69597
- };
69598
- /** @enum {string} */
69599
- coverage: 'CURRENT_AUTHORIZED_DIRECTORY' | 'INDEXED_DESCRIPTIONS_ONLY';
69600
- /** Format: date-time */
69601
- checkedAt: string;
69602
- };
70644
+ requestBody?: never;
70645
+ responses: {
70646
+ /** @description Default Response */
70647
+ 200: {
70648
+ headers: {
70649
+ [name: string]: unknown;
70650
+ };
70651
+ content: {
70652
+ 'application/json':
70653
+ | {
70654
+ /** @enum {string} */
70655
+ state: 'FOUND';
70656
+ result: {
70657
+ /** Format: uuid */
70658
+ id: string;
70659
+ ref: string;
70660
+ /** Format: uuid */
70661
+ tenantId: string;
70662
+ /** @enum {string} */
70663
+ sourceType:
70664
+ | 'KNOWLEDGE'
70665
+ | 'INSIGHT'
70666
+ | 'TREND'
70667
+ | 'HOT_TOPIC'
70668
+ | 'WORLD_FACT'
70669
+ | 'NEWS'
70670
+ | 'CASE_EVIDENCE'
70671
+ | 'HUMAN_IDEA'
70672
+ | 'EXTERNAL_REFERENCE';
70673
+ sourceRef: string;
70674
+ sourceAuthority: string;
70675
+ /** Format: date-time */
70676
+ observedAt: string | null;
70677
+ /** Format: date-time */
70678
+ validUntil: string | null;
70679
+ evidenceRef: string | null;
70680
+ snapshotHash: string | null;
70681
+ metadata: {
70682
+ [key: string]: unknown;
70683
+ };
70684
+ /** Format: date-time */
70685
+ createdAt: string;
70686
+ };
70687
+ }
70688
+ | {
70689
+ /** @enum {string} */
70690
+ state: 'NOT_FOUND';
70691
+ /** @enum {string|null} */
70692
+ result: null;
70693
+ }
70694
+ | {
70695
+ /** @enum {string} */
70696
+ state: 'REJECTED';
70697
+ /** @enum {string|null} */
70698
+ result: null;
70699
+ error: {
70700
+ code: string;
70701
+ /** @enum {string} */
70702
+ outcome: 'REJECTED';
70703
+ recovery: string;
70704
+ };
70705
+ };
69603
70706
  };
69604
70707
  };
69605
70708
  /** @description Default Response */
@@ -69747,7 +70850,7 @@ export interface paths {
69747
70850
  patch?: never;
69748
70851
  trace?: never;
69749
70852
  };
69750
- '/tenants/{tenantCode}/knowledge/discovery/read': {
70853
+ '/tenants/{tenantCode}/event-exchanges': {
69751
70854
  parameters: {
69752
70855
  query?: never;
69753
70856
  header?: never;
@@ -69756,9 +70859,9 @@ export interface paths {
69756
70859
  };
69757
70860
  get: {
69758
70861
  parameters: {
69759
- query: {
69760
- ref: string;
69761
- expectedContentHash?: string;
70862
+ query?: {
70863
+ after?: string;
70864
+ limit?: number;
69762
70865
  };
69763
70866
  header?: never;
69764
70867
  path: {
@@ -69777,32 +70880,91 @@ export interface paths {
69777
70880
  'application/json': {
69778
70881
  /** @enum {number} */
69779
70882
  schemaVersion: 1;
69780
- sourceTenantId: string;
69781
- item: {
69782
- ref: string;
69783
- ownerTenantId: string;
69784
- resourceType: string;
70883
+ localTenant?: {
70884
+ serviceRef: string;
70885
+ tenantRef: string;
70886
+ };
70887
+ runtimeConfiguration?: {
70888
+ /** @enum {number} */
70889
+ schemaVersion: 1;
69785
70890
  /** @enum {string} */
69786
- originType: 'LEGACY_PROJECT' | 'TENANT_AUTHOR' | 'TENANT_SOURCE';
69787
- identityHash: string;
70891
+ status: 'NOT_CONFIGURED' | 'VALID' | 'UNAVAILABLE';
70892
+ /** @enum {string|null} */
70893
+ mode: 'DISABLED' | 'SHADOW' | 'ACTIVE' | null;
70894
+ publisherConfigured: boolean;
70895
+ consumerConfigured: boolean;
69788
70896
  /** @enum {string} */
69789
- identityKind: 'CAS_BYTES' | 'REFERENCE_RECORD_DIGEST';
69790
- kind: string;
69791
- classification: string;
69792
- mediaType: string;
69793
- title: string;
69794
- summary: string;
69795
- readable: boolean;
69796
- reasonCodes: string[];
70897
+ workerConfiguration: 'MATCHED' | 'DIFFERENT' | 'NOT_OBSERVED';
70898
+ /** Format: date-time */
70899
+ checkedAt: string;
69797
70900
  };
69798
- contentHash: string;
69799
- mediaType: string;
69800
- byteLength: number;
69801
- content: string;
69802
- /** @enum {boolean} */
69803
- verified: true;
69804
- /** Format: date-time */
69805
- checkedAt: string;
70901
+ items: {
70902
+ connectionRef: string;
70903
+ revision: number;
70904
+ /** @enum {string} */
70905
+ direction: 'OUTBOUND' | 'RECEIVE';
70906
+ /** @enum {string} */
70907
+ status: 'ACTIVE' | 'REVOKED';
70908
+ source?: {
70909
+ source: string;
70910
+ serviceRef: string;
70911
+ tenantRef: string;
70912
+ issuer: string;
70913
+ subject: string;
70914
+ };
70915
+ target?: {
70916
+ serviceRef: string;
70917
+ tenantRef: string;
70918
+ };
70919
+ grantsTruncated?: boolean;
70920
+ readiness?: {
70921
+ /** @enum {string} */
70922
+ state: 'CONFIGURED' | 'PARTIAL' | 'BLOCKED' | 'UNAVAILABLE';
70923
+ issues: (
70924
+ | 'PROFILE_NOT_CONFIGURED'
70925
+ | 'PROFILE_UNAVAILABLE'
70926
+ | 'PROFILE_NOT_ACTIVE'
70927
+ | 'LOCAL_AUTHORIZATION_INACTIVE'
70928
+ | 'BINDING_UNAVAILABLE'
70929
+ | 'GRANTS_TRUNCATED'
70930
+ | 'PUBLISHER_NOT_CONFIGURED'
70931
+ | 'SIGNER_NOT_CONFIGURED'
70932
+ | 'INSTALLATION_SOURCE_MISMATCH'
70933
+ | 'SIGNER_IDENTITY_MISMATCH'
70934
+ | 'AUDIENCE_NOT_CONFIGURED'
70935
+ | 'OWN_PUBLIC_IDENTITY_UNAVAILABLE'
70936
+ | 'CONSUMER_NOT_CONFIGURED'
70937
+ | 'CONSUMER_REF_MISMATCH'
70938
+ | 'SOURCE_NOT_TRUSTED'
70939
+ | 'SOURCE_TRUST_UNAVAILABLE'
70940
+ )[];
70941
+ blockedEventTypes: string[];
70942
+ /** @enum {string} */
70943
+ peerConsent: 'NOT_OBSERVED';
70944
+ /** Format: date-time */
70945
+ checkedAt: string;
70946
+ };
70947
+ grants?: {
70948
+ eventType: string;
70949
+ grantRef: string;
70950
+ grantVersion: number;
70951
+ consumerRef?: string;
70952
+ source?: {
70953
+ source: string;
70954
+ serviceRef: string;
70955
+ tenantRef: string;
70956
+ issuer: string;
70957
+ subject: string;
70958
+ };
70959
+ target?: {
70960
+ serviceRef: string;
70961
+ tenantRef: string;
70962
+ };
70963
+ /** @enum {string} */
70964
+ status: 'ACTIVE' | 'REVOKED';
70965
+ }[];
70966
+ }[];
70967
+ nextAfter: string | null;
69806
70968
  };
69807
70969
  };
69808
70970
  };
@@ -69852,7 +71014,118 @@ export interface paths {
69852
71014
  };
69853
71015
  };
69854
71016
  /** @description Default Response */
69855
- 404: {
71017
+ 404: {
71018
+ headers: {
71019
+ [name: string]: unknown;
71020
+ };
71021
+ content: {
71022
+ 'application/json': {
71023
+ error: {
71024
+ code: string;
71025
+ message: string;
71026
+ requestId?: string;
71027
+ };
71028
+ };
71029
+ };
71030
+ };
71031
+ /** @description Default Response */
71032
+ 409: {
71033
+ headers: {
71034
+ [name: string]: unknown;
71035
+ };
71036
+ content: {
71037
+ 'application/json': {
71038
+ error: {
71039
+ code: string;
71040
+ message: string;
71041
+ requestId?: string;
71042
+ };
71043
+ };
71044
+ };
71045
+ };
71046
+ /** @description Default Response */
71047
+ 503: {
71048
+ headers: {
71049
+ [name: string]: unknown;
71050
+ };
71051
+ content: {
71052
+ 'application/json': {
71053
+ error: {
71054
+ code: string;
71055
+ message: string;
71056
+ requestId?: string;
71057
+ };
71058
+ };
71059
+ };
71060
+ };
71061
+ };
71062
+ };
71063
+ put?: never;
71064
+ post: {
71065
+ parameters: {
71066
+ query?: never;
71067
+ header?: never;
71068
+ path: {
71069
+ tenantCode: string;
71070
+ };
71071
+ cookie?: never;
71072
+ };
71073
+ requestBody: {
71074
+ content: {
71075
+ 'application/json': {
71076
+ /** @enum {number} */
71077
+ schemaVersion: 1;
71078
+ requestId: string;
71079
+ expectedRevision: number | null;
71080
+ source: {
71081
+ /** Format: uri */
71082
+ source: string;
71083
+ serviceRef: string;
71084
+ tenantRef: string;
71085
+ /** Format: uri */
71086
+ issuer: string;
71087
+ subject: string;
71088
+ };
71089
+ /** TenantContext */
71090
+ target: {
71091
+ serviceRef: string;
71092
+ tenantRef: string;
71093
+ };
71094
+ grant: {
71095
+ grantRef: string;
71096
+ version: number;
71097
+ eventType: string;
71098
+ consumerRef: string;
71099
+ };
71100
+ /** @enum {string} */
71101
+ status: 'ACTIVE' | 'REVOKED';
71102
+ };
71103
+ };
71104
+ };
71105
+ responses: {
71106
+ /** @description Default Response */
71107
+ 200: {
71108
+ headers: {
71109
+ [name: string]: unknown;
71110
+ };
71111
+ content: {
71112
+ 'application/json': {
71113
+ /** @enum {number} */
71114
+ schemaVersion: 1;
71115
+ connectionRef: string;
71116
+ revision: number;
71117
+ /** @enum {string} */
71118
+ direction: 'OUTBOUND' | 'RECEIVE';
71119
+ /** @enum {string} */
71120
+ status: 'ACTIVE' | 'REVOKED';
71121
+ grantRef: string;
71122
+ grantVersion: number;
71123
+ eventType?: string;
71124
+ };
71125
+ };
71126
+ };
71127
+ /** @description Default Response */
71128
+ 400: {
69856
71129
  headers: {
69857
71130
  [name: string]: unknown;
69858
71131
  };
@@ -69867,7 +71140,7 @@ export interface paths {
69867
71140
  };
69868
71141
  };
69869
71142
  /** @description Default Response */
69870
- 409: {
71143
+ 401: {
69871
71144
  headers: {
69872
71145
  [name: string]: unknown;
69873
71146
  };
@@ -69882,7 +71155,7 @@ export interface paths {
69882
71155
  };
69883
71156
  };
69884
71157
  /** @description Default Response */
69885
- 413: {
71158
+ 403: {
69886
71159
  headers: {
69887
71160
  [name: string]: unknown;
69888
71161
  };
@@ -69897,7 +71170,7 @@ export interface paths {
69897
71170
  };
69898
71171
  };
69899
71172
  /** @description Default Response */
69900
- 415: {
71173
+ 404: {
69901
71174
  headers: {
69902
71175
  [name: string]: unknown;
69903
71176
  };
@@ -69912,7 +71185,7 @@ export interface paths {
69912
71185
  };
69913
71186
  };
69914
71187
  /** @description Default Response */
69915
- 502: {
71188
+ 409: {
69916
71189
  headers: {
69917
71190
  [name: string]: unknown;
69918
71191
  };
@@ -69943,41 +71216,31 @@ export interface paths {
69943
71216
  };
69944
71217
  };
69945
71218
  };
69946
- put?: never;
69947
- post?: never;
69948
71219
  delete?: never;
69949
71220
  options?: never;
69950
71221
  head?: never;
69951
71222
  patch?: never;
69952
71223
  trace?: never;
69953
71224
  };
69954
- '/tenants/{tenantCode}/knowledge/discovery/adoption': {
71225
+ '/tenants/{tenantCode}/event-exchanges/receipt': {
69955
71226
  parameters: {
69956
71227
  query?: never;
69957
71228
  header?: never;
69958
71229
  path?: never;
69959
71230
  cookie?: never;
69960
71231
  };
69961
- get?: never;
69962
- put?: never;
69963
- post: {
71232
+ get: {
69964
71233
  parameters: {
69965
- query?: never;
71234
+ query: {
71235
+ requestId: string;
71236
+ };
69966
71237
  header?: never;
69967
71238
  path: {
69968
71239
  tenantCode: string;
69969
71240
  };
69970
71241
  cookie?: never;
69971
71242
  };
69972
- requestBody: {
69973
- content: {
69974
- 'application/json': {
69975
- ref: string;
69976
- expectedContentHash: string;
69977
- requestId: string;
69978
- };
69979
- };
69980
- };
71243
+ requestBody?: never;
69981
71244
  responses: {
69982
71245
  /** @description Default Response */
69983
71246
  200: {
@@ -69986,38 +71249,22 @@ export interface paths {
69986
71249
  };
69987
71250
  content: {
69988
71251
  'application/json': {
71252
+ /** @enum {number} */
71253
+ schemaVersion: 1;
71254
+ requestId: string;
69989
71255
  result: {
69990
- /** Format: uuid */
69991
- id: string;
69992
- ref: string;
69993
- /** Format: uuid */
69994
- tenantId: string;
71256
+ /** @enum {number} */
71257
+ schemaVersion: 1;
71258
+ connectionRef: string;
71259
+ revision: number;
69995
71260
  /** @enum {string} */
69996
- sourceType:
69997
- | 'KNOWLEDGE'
69998
- | 'INSIGHT'
69999
- | 'TREND'
70000
- | 'HOT_TOPIC'
70001
- | 'WORLD_FACT'
70002
- | 'NEWS'
70003
- | 'CASE_EVIDENCE'
70004
- | 'HUMAN_IDEA'
70005
- | 'EXTERNAL_REFERENCE';
70006
- sourceRef: string;
70007
- sourceAuthority: string;
70008
- /** Format: date-time */
70009
- observedAt: string | null;
70010
- /** Format: date-time */
70011
- validUntil: string | null;
70012
- evidenceRef: string | null;
70013
- snapshotHash: string | null;
70014
- metadata: {
70015
- [key: string]: unknown;
70016
- };
70017
- /** Format: date-time */
70018
- createdAt: string;
70019
- };
70020
- replayed: boolean;
71261
+ direction: 'OUTBOUND' | 'RECEIVE';
71262
+ /** @enum {string} */
71263
+ status: 'ACTIVE' | 'REVOKED';
71264
+ grantRef: string;
71265
+ grantVersion: number;
71266
+ eventType?: string;
71267
+ } | null;
70021
71268
  };
70022
71269
  };
70023
71270
  };
@@ -70097,51 +71344,6 @@ export interface paths {
70097
71344
  };
70098
71345
  };
70099
71346
  /** @description Default Response */
70100
- 413: {
70101
- headers: {
70102
- [name: string]: unknown;
70103
- };
70104
- content: {
70105
- 'application/json': {
70106
- error: {
70107
- code: string;
70108
- message: string;
70109
- requestId?: string;
70110
- };
70111
- };
70112
- };
70113
- };
70114
- /** @description Default Response */
70115
- 415: {
70116
- headers: {
70117
- [name: string]: unknown;
70118
- };
70119
- content: {
70120
- 'application/json': {
70121
- error: {
70122
- code: string;
70123
- message: string;
70124
- requestId?: string;
70125
- };
70126
- };
70127
- };
70128
- };
70129
- /** @description Default Response */
70130
- 502: {
70131
- headers: {
70132
- [name: string]: unknown;
70133
- };
70134
- content: {
70135
- 'application/json': {
70136
- error: {
70137
- code: string;
70138
- message: string;
70139
- requestId?: string;
70140
- };
70141
- };
70142
- };
70143
- };
70144
- /** @description Default Response */
70145
71347
  503: {
70146
71348
  headers: {
70147
71349
  [name: string]: unknown;
@@ -70158,13 +71360,15 @@ export interface paths {
70158
71360
  };
70159
71361
  };
70160
71362
  };
71363
+ put?: never;
71364
+ post?: never;
70161
71365
  delete?: never;
70162
71366
  options?: never;
70163
71367
  head?: never;
70164
71368
  patch?: never;
70165
71369
  trace?: never;
70166
71370
  };
70167
- '/tenants/{tenantCode}/knowledge/discovery/adoption-receipt': {
71371
+ '/tenants/{tenantCode}/knowledge/discovery/refresh': {
70168
71372
  parameters: {
70169
71373
  query?: never;
70170
71374
  header?: never;
@@ -70173,9 +71377,7 @@ export interface paths {
70173
71377
  };
70174
71378
  get: {
70175
71379
  parameters: {
70176
- query: {
70177
- requestId: string;
70178
- };
71380
+ query?: never;
70179
71381
  header?: never;
70180
71382
  path: {
70181
71383
  tenantCode: string;
@@ -70190,60 +71392,23 @@ export interface paths {
70190
71392
  [name: string]: unknown;
70191
71393
  };
70192
71394
  content: {
70193
- 'application/json':
70194
- | {
70195
- /** @enum {string} */
70196
- state: 'FOUND';
70197
- result: {
70198
- /** Format: uuid */
70199
- id: string;
70200
- ref: string;
70201
- /** Format: uuid */
70202
- tenantId: string;
70203
- /** @enum {string} */
70204
- sourceType:
70205
- | 'KNOWLEDGE'
70206
- | 'INSIGHT'
70207
- | 'TREND'
70208
- | 'HOT_TOPIC'
70209
- | 'WORLD_FACT'
70210
- | 'NEWS'
70211
- | 'CASE_EVIDENCE'
70212
- | 'HUMAN_IDEA'
70213
- | 'EXTERNAL_REFERENCE';
70214
- sourceRef: string;
70215
- sourceAuthority: string;
70216
- /** Format: date-time */
70217
- observedAt: string | null;
70218
- /** Format: date-time */
70219
- validUntil: string | null;
70220
- evidenceRef: string | null;
70221
- snapshotHash: string | null;
70222
- metadata: {
70223
- [key: string]: unknown;
70224
- };
70225
- /** Format: date-time */
70226
- createdAt: string;
70227
- };
70228
- }
70229
- | {
70230
- /** @enum {string} */
70231
- state: 'NOT_FOUND';
70232
- /** @enum {string|null} */
70233
- result: null;
70234
- }
70235
- | {
70236
- /** @enum {string} */
70237
- state: 'REJECTED';
70238
- /** @enum {string|null} */
70239
- result: null;
70240
- error: {
70241
- code: string;
70242
- /** @enum {string} */
70243
- outcome: 'REJECTED';
70244
- recovery: string;
70245
- };
70246
- };
71395
+ 'application/json': {
71396
+ /** @enum {number} */
71397
+ schemaVersion: 1;
71398
+ revision: string;
71399
+ /** Format: date-time */
71400
+ recordedAt: string | null;
71401
+ /** @default [] */
71402
+ baselines: {
71403
+ connectionRef: string;
71404
+ source: string;
71405
+ baselineRef: string;
71406
+ watermark: string;
71407
+ sourceRevision: string;
71408
+ }[];
71409
+ /** @default false */
71410
+ baselinesTruncated: boolean;
71411
+ };
70247
71412
  };
70248
71413
  };
70249
71414
  /** @description Default Response */
@@ -70322,51 +71487,6 @@ export interface paths {
70322
71487
  };
70323
71488
  };
70324
71489
  /** @description Default Response */
70325
- 413: {
70326
- headers: {
70327
- [name: string]: unknown;
70328
- };
70329
- content: {
70330
- 'application/json': {
70331
- error: {
70332
- code: string;
70333
- message: string;
70334
- requestId?: string;
70335
- };
70336
- };
70337
- };
70338
- };
70339
- /** @description Default Response */
70340
- 415: {
70341
- headers: {
70342
- [name: string]: unknown;
70343
- };
70344
- content: {
70345
- 'application/json': {
70346
- error: {
70347
- code: string;
70348
- message: string;
70349
- requestId?: string;
70350
- };
70351
- };
70352
- };
70353
- };
70354
- /** @description Default Response */
70355
- 502: {
70356
- headers: {
70357
- [name: string]: unknown;
70358
- };
70359
- content: {
70360
- 'application/json': {
70361
- error: {
70362
- code: string;
70363
- message: string;
70364
- requestId?: string;
70365
- };
70366
- };
70367
- };
70368
- };
70369
- /** @description Default Response */
70370
71490
  503: {
70371
71491
  headers: {
70372
71492
  [name: string]: unknown;
@@ -70391,7 +71511,7 @@ export interface paths {
70391
71511
  patch?: never;
70392
71512
  trace?: never;
70393
71513
  };
70394
- '/tenants/{tenantCode}/event-exchanges': {
71514
+ '/tenants/{tenantCode}/event-exchanges/outbox': {
70395
71515
  parameters: {
70396
71516
  query?: never;
70397
71517
  header?: never;
@@ -70421,50 +71541,102 @@ export interface paths {
70421
71541
  'application/json': {
70422
71542
  /** @enum {number} */
70423
71543
  schemaVersion: 1;
70424
- localTenant?: {
70425
- serviceRef: string;
70426
- tenantRef: string;
71544
+ items: {
71545
+ source: string;
71546
+ id: string;
71547
+ deliveryid: string;
71548
+ /** @enum {string} */
71549
+ status: 'PENDING' | 'UNKNOWN' | 'PUBLISHED' | 'HOLD';
71550
+ generation: number;
71551
+ attempt: number;
71552
+ nextAttemptAt: number;
71553
+ reasonCode: string | null;
71554
+ queuedAt?: number | null;
71555
+ }[];
71556
+ nextAfter: string | null;
71557
+ counts: {
71558
+ [key: string]: number;
70427
71559
  };
70428
- items: {
70429
- connectionRef: string;
70430
- revision: number;
71560
+ worker: {
71561
+ /** @enum {number} */
71562
+ schemaVersion: 1;
70431
71563
  /** @enum {string} */
70432
- direction: 'OUTBOUND' | 'RECEIVE';
71564
+ status: 'DISABLED' | 'CONNECTED' | 'RECONNECTING' | 'STOPPED';
71565
+ connected: boolean;
71566
+ /** Format: date-time */
71567
+ at: string;
71568
+ revision?: string;
71569
+ stale: boolean;
71570
+ } | null;
71571
+ runtimeConfiguration?: {
71572
+ /** @enum {number} */
71573
+ schemaVersion: 1;
70433
71574
  /** @enum {string} */
70434
- status: 'ACTIVE' | 'REVOKED';
70435
- source?: {
70436
- source: string;
70437
- serviceRef: string;
70438
- tenantRef: string;
70439
- issuer: string;
70440
- subject: string;
71575
+ status: 'NOT_CONFIGURED' | 'VALID' | 'UNAVAILABLE';
71576
+ /** @enum {string|null} */
71577
+ mode: 'DISABLED' | 'SHADOW' | 'ACTIVE' | null;
71578
+ publisherConfigured: boolean;
71579
+ consumerConfigured: boolean;
71580
+ /** @enum {string} */
71581
+ workerConfiguration: 'MATCHED' | 'DIFFERENT' | 'NOT_OBSERVED';
71582
+ /** Format: date-time */
71583
+ checkedAt: string;
71584
+ };
71585
+ backlog?: {
71586
+ /** @enum {number} */
71587
+ schemaVersion: 1;
71588
+ /** Format: date-time */
71589
+ observedAt: string;
71590
+ outbox: {
71591
+ pendingCount: number;
71592
+ /** Format: date-time */
71593
+ oldestPendingAt: string | null;
71594
+ oldestPendingAgeMs: number | null;
71595
+ /** Format: date-time */
71596
+ oldestKnownPendingAt: string | null;
71597
+ unknownAgeCount: number;
71598
+ reasons: {
71599
+ status: string;
71600
+ reasonCode: string | null;
71601
+ count: number;
71602
+ }[];
71603
+ reasonsTruncated: boolean;
70441
71604
  };
70442
- target?: {
70443
- serviceRef: string;
70444
- tenantRef: string;
71605
+ unstaged: {
71606
+ deliveryCount: number;
71607
+ /** Format: date-time */
71608
+ oldestRecordedAt: string | null;
70445
71609
  };
70446
- grantsTruncated?: boolean;
70447
- grants?: {
70448
- eventType: string;
70449
- grantRef: string;
70450
- grantVersion: number;
70451
- consumerRef?: string;
70452
- source?: {
70453
- source: string;
70454
- serviceRef: string;
70455
- tenantRef: string;
70456
- issuer: string;
70457
- subject: string;
70458
- };
70459
- target?: {
70460
- serviceRef: string;
70461
- tenantRef: string;
70462
- };
71610
+ inbox: {
71611
+ pendingCount: number;
71612
+ /** Format: date-time */
71613
+ oldestPendingAt: string | null;
71614
+ oldestPendingAgeMs: number | null;
71615
+ /** Format: date-time */
71616
+ oldestKnownPendingAt: string | null;
71617
+ unknownAgeCount: number;
71618
+ reasons: {
71619
+ status: string;
71620
+ reasonCode: string | null;
71621
+ count: number;
71622
+ }[];
71623
+ reasonsTruncated: boolean;
71624
+ pendingBaselines: number;
70463
71625
  /** @enum {string} */
70464
- status: 'ACTIVE' | 'REVOKED';
70465
- }[];
70466
- }[];
70467
- nextAfter: string | null;
71626
+ sourceGapState: 'NOT_OBSERVED';
71627
+ };
71628
+ quarantine: {
71629
+ attributedRouteAttempts: number;
71630
+ /** @enum {string} */
71631
+ coverage: 'LOCAL_ROUTE_ATTEMPTS_ONLY';
71632
+ reasons: {
71633
+ status: string;
71634
+ reasonCode: string | null;
71635
+ count: number;
71636
+ }[];
71637
+ reasonsTruncated: boolean;
71638
+ };
71639
+ };
70468
71640
  };
70469
71641
  };
70470
71642
  };
@@ -70561,6 +71733,22 @@ export interface paths {
70561
71733
  };
70562
71734
  };
70563
71735
  put?: never;
71736
+ post?: never;
71737
+ delete?: never;
71738
+ options?: never;
71739
+ head?: never;
71740
+ patch?: never;
71741
+ trace?: never;
71742
+ };
71743
+ '/tenants/{tenantCode}/event-exchanges/outbox/recover': {
71744
+ parameters: {
71745
+ query?: never;
71746
+ header?: never;
71747
+ path?: never;
71748
+ cookie?: never;
71749
+ };
71750
+ get?: never;
71751
+ put?: never;
70564
71752
  post: {
70565
71753
  parameters: {
70566
71754
  query?: never;
@@ -70576,29 +71764,11 @@ export interface paths {
70576
71764
  /** @enum {number} */
70577
71765
  schemaVersion: 1;
70578
71766
  requestId: string;
70579
- expectedRevision: number | null;
70580
- source: {
70581
- /** Format: uri */
70582
- source: string;
70583
- serviceRef: string;
70584
- tenantRef: string;
70585
- /** Format: uri */
70586
- issuer: string;
70587
- subject: string;
70588
- };
70589
- /** TenantContext */
70590
- target: {
70591
- serviceRef: string;
70592
- tenantRef: string;
70593
- };
70594
- grant: {
70595
- grantRef: string;
70596
- version: number;
70597
- eventType: string;
70598
- consumerRef: string;
70599
- };
70600
- /** @enum {string} */
70601
- status: 'ACTIVE' | 'REVOKED';
71767
+ /** Format: uri */
71768
+ source: string;
71769
+ id: string;
71770
+ deliveryid: string;
71771
+ expectedGeneration: number;
70602
71772
  };
70603
71773
  };
70604
71774
  };
@@ -70610,17 +71780,17 @@ export interface paths {
70610
71780
  };
70611
71781
  content: {
70612
71782
  'application/json': {
71783
+ source: string;
71784
+ id: string;
71785
+ deliveryid: string;
70613
71786
  /** @enum {number} */
70614
71787
  schemaVersion: 1;
70615
- connectionRef: string;
70616
- revision: number;
70617
- /** @enum {string} */
70618
- direction: 'OUTBOUND' | 'RECEIVE';
71788
+ requestId: string;
70619
71789
  /** @enum {string} */
70620
- status: 'ACTIVE' | 'REVOKED';
70621
- grantRef: string;
70622
- grantVersion: number;
70623
- eventType?: string;
71790
+ status: 'REQUEUED';
71791
+ generation: number;
71792
+ attempt: number;
71793
+ previousReasonCode: string | null;
70624
71794
  };
70625
71795
  };
70626
71796
  };
@@ -70722,7 +71892,7 @@ export interface paths {
70722
71892
  patch?: never;
70723
71893
  trace?: never;
70724
71894
  };
70725
- '/tenants/{tenantCode}/event-exchanges/receipt': {
71895
+ '/tenants/{tenantCode}/event-exchanges/outbox/receipt': {
70726
71896
  parameters: {
70727
71897
  query?: never;
70728
71898
  header?: never;
@@ -70753,17 +71923,17 @@ export interface paths {
70753
71923
  schemaVersion: 1;
70754
71924
  requestId: string;
70755
71925
  result: {
71926
+ source: string;
71927
+ id: string;
71928
+ deliveryid: string;
70756
71929
  /** @enum {number} */
70757
71930
  schemaVersion: 1;
70758
- connectionRef: string;
70759
- revision: number;
70760
- /** @enum {string} */
70761
- direction: 'OUTBOUND' | 'RECEIVE';
71931
+ requestId: string;
70762
71932
  /** @enum {string} */
70763
- status: 'ACTIVE' | 'REVOKED';
70764
- grantRef: string;
70765
- grantVersion: number;
70766
- eventType?: string;
71933
+ status: 'REQUEUED';
71934
+ generation: number;
71935
+ attempt: number;
71936
+ previousReasonCode: string | null;
70767
71937
  } | null;
70768
71938
  };
70769
71939
  };
@@ -70868,7 +72038,7 @@ export interface paths {
70868
72038
  patch?: never;
70869
72039
  trace?: never;
70870
72040
  };
70871
- '/tenants/{tenantCode}/knowledge/discovery/refresh': {
72041
+ '/tenants/{tenantCode}/knowledge/discovery/describe': {
70872
72042
  parameters: {
70873
72043
  query?: never;
70874
72044
  header?: never;
@@ -70877,42 +72047,98 @@ export interface paths {
70877
72047
  };
70878
72048
  get: {
70879
72049
  parameters: {
70880
- query?: never;
72050
+ query: {
72051
+ ref: string;
72052
+ expectedContentHash?: string;
72053
+ };
70881
72054
  header?: never;
70882
72055
  path: {
70883
72056
  tenantCode: string;
70884
72057
  };
70885
- cookie?: never;
70886
- };
70887
- requestBody?: never;
70888
- responses: {
72058
+ cookie?: never;
72059
+ };
72060
+ requestBody?: never;
72061
+ responses: {
72062
+ /** @description Default Response */
72063
+ 200: {
72064
+ headers: {
72065
+ [name: string]: unknown;
72066
+ };
72067
+ content: {
72068
+ 'application/json': {
72069
+ /** @enum {number} */
72070
+ schemaVersion: 1;
72071
+ sourceTenantId: string;
72072
+ item: {
72073
+ ref: string;
72074
+ ownerTenantId: string;
72075
+ resourceType: string;
72076
+ /** @enum {string} */
72077
+ originType: 'LEGACY_PROJECT' | 'TENANT_AUTHOR' | 'TENANT_SOURCE';
72078
+ identityHash: string;
72079
+ /** @enum {string} */
72080
+ identityKind: 'CAS_BYTES' | 'REFERENCE_RECORD_DIGEST';
72081
+ kind: string;
72082
+ classification: string;
72083
+ mediaType: string;
72084
+ title: string;
72085
+ summary: string;
72086
+ readable: boolean;
72087
+ reasonCodes: string[];
72088
+ };
72089
+ byteLength: number | null;
72090
+ /** Format: date-time */
72091
+ checkedAt: string;
72092
+ };
72093
+ };
72094
+ };
72095
+ /** @description Default Response */
72096
+ 400: {
72097
+ headers: {
72098
+ [name: string]: unknown;
72099
+ };
72100
+ content: {
72101
+ 'application/json': {
72102
+ error: {
72103
+ code: string;
72104
+ message: string;
72105
+ requestId?: string;
72106
+ };
72107
+ };
72108
+ };
72109
+ };
72110
+ /** @description Default Response */
72111
+ 401: {
72112
+ headers: {
72113
+ [name: string]: unknown;
72114
+ };
72115
+ content: {
72116
+ 'application/json': {
72117
+ error: {
72118
+ code: string;
72119
+ message: string;
72120
+ requestId?: string;
72121
+ };
72122
+ };
72123
+ };
72124
+ };
70889
72125
  /** @description Default Response */
70890
- 200: {
72126
+ 403: {
70891
72127
  headers: {
70892
72128
  [name: string]: unknown;
70893
72129
  };
70894
72130
  content: {
70895
72131
  'application/json': {
70896
- /** @enum {number} */
70897
- schemaVersion: 1;
70898
- revision: string;
70899
- /** Format: date-time */
70900
- recordedAt: string | null;
70901
- /** @default [] */
70902
- baselines: {
70903
- connectionRef: string;
70904
- source: string;
70905
- baselineRef: string;
70906
- watermark: string;
70907
- sourceRevision: string;
70908
- }[];
70909
- /** @default false */
70910
- baselinesTruncated: boolean;
72132
+ error: {
72133
+ code: string;
72134
+ message: string;
72135
+ requestId?: string;
72136
+ };
70911
72137
  };
70912
72138
  };
70913
72139
  };
70914
72140
  /** @description Default Response */
70915
- 400: {
72141
+ 404: {
70916
72142
  headers: {
70917
72143
  [name: string]: unknown;
70918
72144
  };
@@ -70927,7 +72153,7 @@ export interface paths {
70927
72153
  };
70928
72154
  };
70929
72155
  /** @description Default Response */
70930
- 401: {
72156
+ 409: {
70931
72157
  headers: {
70932
72158
  [name: string]: unknown;
70933
72159
  };
@@ -70942,7 +72168,7 @@ export interface paths {
70942
72168
  };
70943
72169
  };
70944
72170
  /** @description Default Response */
70945
- 403: {
72171
+ 413: {
70946
72172
  headers: {
70947
72173
  [name: string]: unknown;
70948
72174
  };
@@ -70957,7 +72183,7 @@ export interface paths {
70957
72183
  };
70958
72184
  };
70959
72185
  /** @description Default Response */
70960
- 404: {
72186
+ 415: {
70961
72187
  headers: {
70962
72188
  [name: string]: unknown;
70963
72189
  };
@@ -70972,7 +72198,7 @@ export interface paths {
70972
72198
  };
70973
72199
  };
70974
72200
  /** @description Default Response */
70975
- 409: {
72201
+ 502: {
70976
72202
  headers: {
70977
72203
  [name: string]: unknown;
70978
72204
  };
@@ -71011,7 +72237,7 @@ export interface paths {
71011
72237
  patch?: never;
71012
72238
  trace?: never;
71013
72239
  };
71014
- '/tenants/{tenantCode}/event-exchanges/outbox': {
72240
+ '/tenants/{tenantCode}/event-exchanges/inbox': {
71015
72241
  parameters: {
71016
72242
  query?: never;
71017
72243
  header?: never;
@@ -71023,6 +72249,7 @@ export interface paths {
71023
72249
  query?: {
71024
72250
  after?: string;
71025
72251
  limit?: number;
72252
+ disposition?: 'RECEIVED' | 'HOLD' | 'APPLIED' | 'REJECTED' | 'UNKNOWN';
71026
72253
  };
71027
72254
  header?: never;
71028
72255
  path: {
@@ -71042,87 +72269,38 @@ export interface paths {
71042
72269
  /** @enum {number} */
71043
72270
  schemaVersion: 1;
71044
72271
  items: {
72272
+ consumerRef: string;
72273
+ /** Format: uri */
71045
72274
  source: string;
71046
72275
  id: string;
71047
- deliveryid: string;
72276
+ eventType: string;
72277
+ connectionRef: string;
71048
72278
  /** @enum {string} */
71049
- status: 'PENDING' | 'UNKNOWN' | 'PUBLISHED' | 'HOLD';
71050
- generation: number;
72279
+ disposition: 'RECEIVED' | 'HOLD' | 'APPLIED' | 'REJECTED' | 'UNKNOWN';
72280
+ receiptRef: string;
72281
+ receiptRevision: number;
72282
+ /** Format: date-time */
72283
+ receiptRecordedAt: string;
72284
+ reasonCode: string | null;
72285
+ lastAttemptReason: string | null;
72286
+ /** Format: date-time */
72287
+ receivedAt: string | null;
71051
72288
  attempt: number;
71052
72289
  nextAttemptAt: number;
71053
- reasonCode: string | null;
71054
- queuedAt?: number | null;
72290
+ deliveryCount: number;
72291
+ baseline: {
72292
+ baselineRef: string;
72293
+ watermark: string;
72294
+ sourceRevision: string;
72295
+ } | null;
72296
+ /** @enum {string} */
72297
+ appliedEffect: 'REFRESH_NOTICE_RECORDED' | 'NOT_CONFIRMED';
71055
72298
  }[];
71056
72299
  nextAfter: string | null;
71057
- counts: {
71058
- [key: string]: number;
71059
- };
71060
- worker: {
71061
- /** @enum {number} */
71062
- schemaVersion: 1;
71063
- /** @enum {string} */
71064
- status: 'DISABLED' | 'CONNECTED' | 'RECONNECTING' | 'STOPPED';
71065
- connected: boolean;
71066
- /** Format: date-time */
71067
- at: string;
71068
- revision?: string;
71069
- stale: boolean;
71070
- } | null;
71071
- backlog?: {
71072
- /** @enum {number} */
71073
- schemaVersion: 1;
71074
- /** Format: date-time */
71075
- observedAt: string;
71076
- outbox: {
71077
- pendingCount: number;
71078
- /** Format: date-time */
71079
- oldestPendingAt: string | null;
71080
- oldestPendingAgeMs: number | null;
71081
- /** Format: date-time */
71082
- oldestKnownPendingAt: string | null;
71083
- unknownAgeCount: number;
71084
- reasons: {
71085
- status: string;
71086
- reasonCode: string | null;
71087
- count: number;
71088
- }[];
71089
- reasonsTruncated: boolean;
71090
- };
71091
- unstaged: {
71092
- deliveryCount: number;
71093
- /** Format: date-time */
71094
- oldestRecordedAt: string | null;
71095
- };
71096
- inbox: {
71097
- pendingCount: number;
71098
- /** Format: date-time */
71099
- oldestPendingAt: string | null;
71100
- oldestPendingAgeMs: number | null;
71101
- /** Format: date-time */
71102
- oldestKnownPendingAt: string | null;
71103
- unknownAgeCount: number;
71104
- reasons: {
71105
- status: string;
71106
- reasonCode: string | null;
71107
- count: number;
71108
- }[];
71109
- reasonsTruncated: boolean;
71110
- pendingBaselines: number;
71111
- /** @enum {string} */
71112
- sourceGapState: 'NOT_OBSERVED';
71113
- };
71114
- quarantine: {
71115
- attributedRouteAttempts: number;
71116
- /** @enum {string} */
71117
- coverage: 'LOCAL_ROUTE_ATTEMPTS_ONLY';
71118
- reasons: {
71119
- status: string;
71120
- reasonCode: string | null;
71121
- count: number;
71122
- }[];
71123
- reasonsTruncated: boolean;
71124
- };
71125
- };
72300
+ /** @enum {string} */
72301
+ sourceGapState: 'NOT_OBSERVED';
72302
+ /** Format: date-time */
72303
+ checkedAt: string;
71126
72304
  };
71127
72305
  };
71128
72306
  };
@@ -71226,38 +72404,28 @@ export interface paths {
71226
72404
  patch?: never;
71227
72405
  trace?: never;
71228
72406
  };
71229
- '/tenants/{tenantCode}/event-exchanges/outbox/recover': {
72407
+ '/tenants/{tenantCode}/event-exchanges/inbox/receipt': {
71230
72408
  parameters: {
71231
72409
  query?: never;
71232
72410
  header?: never;
71233
72411
  path?: never;
71234
72412
  cookie?: never;
71235
72413
  };
71236
- get?: never;
71237
- put?: never;
71238
- post: {
72414
+ get: {
71239
72415
  parameters: {
71240
- query?: never;
72416
+ query: {
72417
+ consumerRef: string;
72418
+ source: string;
72419
+ id: string;
72420
+ deliveryid?: string;
72421
+ };
71241
72422
  header?: never;
71242
72423
  path: {
71243
72424
  tenantCode: string;
71244
72425
  };
71245
72426
  cookie?: never;
71246
72427
  };
71247
- requestBody: {
71248
- content: {
71249
- 'application/json': {
71250
- /** @enum {number} */
71251
- schemaVersion: 1;
71252
- requestId: string;
71253
- /** Format: uri */
71254
- source: string;
71255
- id: string;
71256
- deliveryid: string;
71257
- expectedGeneration: number;
71258
- };
71259
- };
71260
- };
72428
+ requestBody?: never;
71261
72429
  responses: {
71262
72430
  /** @description Default Response */
71263
72431
  200: {
@@ -71266,17 +72434,40 @@ export interface paths {
71266
72434
  };
71267
72435
  content: {
71268
72436
  'application/json': {
71269
- source: string;
71270
- id: string;
71271
- deliveryid: string;
71272
72437
  /** @enum {number} */
71273
72438
  schemaVersion: 1;
71274
- requestId: string;
71275
72439
  /** @enum {string} */
71276
- status: 'REQUEUED';
71277
- generation: number;
71278
- attempt: number;
71279
- previousReasonCode: string | null;
72440
+ state: 'FOUND' | 'NOT_FOUND';
72441
+ item: {
72442
+ consumerRef: string;
72443
+ /** Format: uri */
72444
+ source: string;
72445
+ id: string;
72446
+ eventType: string;
72447
+ connectionRef: string;
72448
+ /** @enum {string} */
72449
+ disposition: 'RECEIVED' | 'HOLD' | 'APPLIED' | 'REJECTED' | 'UNKNOWN';
72450
+ receiptRef: string;
72451
+ receiptRevision: number;
72452
+ /** Format: date-time */
72453
+ receiptRecordedAt: string;
72454
+ reasonCode: string | null;
72455
+ lastAttemptReason: string | null;
72456
+ /** Format: date-time */
72457
+ receivedAt: string | null;
72458
+ attempt: number;
72459
+ nextAttemptAt: number;
72460
+ deliveryCount: number;
72461
+ baseline: {
72462
+ baselineRef: string;
72463
+ watermark: string;
72464
+ sourceRevision: string;
72465
+ } | null;
72466
+ /** @enum {string} */
72467
+ appliedEffect: 'REFRESH_NOTICE_RECORDED' | 'NOT_CONFIRMED';
72468
+ } | null;
72469
+ /** Format: date-time */
72470
+ checkedAt: string;
71280
72471
  };
71281
72472
  };
71282
72473
  };
@@ -71372,13 +72563,15 @@ export interface paths {
71372
72563
  };
71373
72564
  };
71374
72565
  };
72566
+ put?: never;
72567
+ post?: never;
71375
72568
  delete?: never;
71376
72569
  options?: never;
71377
72570
  head?: never;
71378
72571
  patch?: never;
71379
72572
  trace?: never;
71380
72573
  };
71381
- '/tenants/{tenantCode}/event-exchanges/outbox/receipt': {
72574
+ '/projects/{projectCode}/editorial/review-asset': {
71382
72575
  parameters: {
71383
72576
  query?: never;
71384
72577
  header?: never;
@@ -71388,11 +72581,11 @@ export interface paths {
71388
72581
  get: {
71389
72582
  parameters: {
71390
72583
  query: {
71391
- requestId: string;
72584
+ ref: string;
71392
72585
  };
71393
72586
  header?: never;
71394
72587
  path: {
71395
- tenantCode: string;
72588
+ projectCode: string;
71396
72589
  };
71397
72590
  cookie?: never;
71398
72591
  };
@@ -71407,20 +72600,56 @@ export interface paths {
71407
72600
  'application/json': {
71408
72601
  /** @enum {number} */
71409
72602
  schemaVersion: 1;
71410
- requestId: string;
71411
- result: {
71412
- source: string;
72603
+ projectCode: string;
72604
+ /** @enum {string} */
72605
+ resourceKind: 'ASSET';
72606
+ resourceRef: string;
72607
+ record: {
72608
+ /** Format: uuid */
71413
72609
  id: string;
71414
- deliveryid: string;
71415
- /** @enum {number} */
71416
- schemaVersion: 1;
71417
- requestId: string;
72610
+ ref: string;
72611
+ /** Format: uuid */
72612
+ projectId: string;
72613
+ kernelRef: string;
72614
+ expansionJobRef: string | null;
71418
72615
  /** @enum {string} */
71419
- status: 'REQUEUED';
71420
- generation: number;
71421
- attempt: number;
71422
- previousReasonCode: string | null;
71423
- } | null;
72616
+ assetType:
72617
+ | 'LINKEDIN_LONG'
72618
+ | 'LINKEDIN_SHORT'
72619
+ | 'FACEBOOK_POST'
72620
+ | 'X_POST'
72621
+ | 'THREADS_POST'
72622
+ | 'WECHAT_COPY'
72623
+ | 'WEBSITE_BRIEF'
72624
+ | 'VIDEO_30S_SCRIPT'
72625
+ | 'VIDEO_60S_SCRIPT'
72626
+ | 'VIDEO_120S_SCRIPT'
72627
+ | 'HOOK_SET'
72628
+ | 'TALKING_POINTS'
72629
+ | 'SHOT_LIST'
72630
+ | 'SALES_BRIEF'
72631
+ | 'AGENT_TALKING_POINTS'
72632
+ | 'TEXT_POST'
72633
+ | 'ARTICLE'
72634
+ | 'TEXT_THREAD';
72635
+ editorialProfile: string;
72636
+ platformProfile: string;
72637
+ language: string;
72638
+ content: string;
72639
+ contentHash: string;
72640
+ usedClaims: string[];
72641
+ kernelGuardrailHash: string;
72642
+ /** @enum {string} */
72643
+ status: 'DRAFT' | 'READY_FOR_REVIEW' | 'APPROVED' | 'REJECTED' | 'SUPERSEDED';
72644
+ /** Format: date-time */
72645
+ createdAt: string;
72646
+ /** Format: date-time */
72647
+ reviewedAt: string | null;
72648
+ reviewNote: string | null;
72649
+ };
72650
+ recordSha256: string;
72651
+ /** @enum {boolean} */
72652
+ currentStateOnly: true;
71424
72653
  };
71425
72654
  };
71426
72655
  };
@@ -71499,21 +72728,6 @@ export interface paths {
71499
72728
  };
71500
72729
  };
71501
72730
  };
71502
- /** @description Default Response */
71503
- 503: {
71504
- headers: {
71505
- [name: string]: unknown;
71506
- };
71507
- content: {
71508
- 'application/json': {
71509
- error: {
71510
- code: string;
71511
- message: string;
71512
- requestId?: string;
71513
- };
71514
- };
71515
- };
71516
- };
71517
72731
  };
71518
72732
  };
71519
72733
  put?: never;