@native-marketing/sdk 0.2.0 → 0.3.0

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.
@@ -11951,6 +11951,7 @@ export interface paths {
11951
11951
  };
11952
11952
  get?: never;
11953
11953
  put?: never;
11954
+ /** @deprecated */
11954
11955
  post: {
11955
11956
  parameters: {
11956
11957
  query?: never;
@@ -11958,334 +11959,10 @@ export interface paths {
11958
11959
  path?: never;
11959
11960
  cookie?: never;
11960
11961
  };
11961
- requestBody: {
11962
- content: {
11963
- 'application/json': {
11964
- /** @enum {number} */
11965
- schemaVersion: 1;
11966
- /** @enum {string} */
11967
- handoffType: 'CONTENT_FACTORY_SOURCE';
11968
- deliveryId: string;
11969
- knowledgeProjectKey: string;
11970
- knowledgeProjectRef?: string;
11971
- artifactRef: string;
11972
- contentHash: string;
11973
- createInput: {
11974
- /** Format: uuid */
11975
- tenantId: string;
11976
- /** @enum {string} */
11977
- sourceType: 'KNOWLEDGE' | 'INSIGHT' | 'TREND';
11978
- sourceRef: string;
11979
- /** @enum {string} */
11980
- sourceAuthority: 'knowledge-v2';
11981
- /** Format: date-time */
11982
- observedAt: string | null;
11983
- /** Format: date-time */
11984
- validUntil: string | null;
11985
- evidenceRef: string | null;
11986
- /** @enum {string|null} */
11987
- snapshotHash: null;
11988
- metadata: {
11989
- knowledgeV2ProjectRef?: string;
11990
- knowledgeV2IdentityRef: string;
11991
- knowledgeV2ArtifactRef: string;
11992
- artifactId: string;
11993
- /** @enum {string} */
11994
- artifactKind: 'SIGNAL_GENERATION' | 'RESEARCH' | 'REVIEW' | 'KNOWLEDGE' | 'INSIGHT';
11995
- artifactVersion: number;
11996
- /** @enum {string} */
11997
- artifactStatus:
11998
- | 'GENERATED'
11999
- | 'DRAFT'
12000
- | 'READY_FOR_REVIEW'
12001
- | 'REWORK_REQUIRED'
12002
- | 'APPROVED'
12003
- | 'REJECTED'
12004
- | 'SUPERSEDED';
12005
- /** @enum {string} */
12006
- artifactAccess:
12007
- | 'PUBLIC'
12008
- | 'PUBLIC_METADATA'
12009
- | 'TENANT'
12010
- | 'INTERNAL'
12011
- | 'FDE_INTERNAL'
12012
- | 'ACCESS_CONTROLLED'
12013
- | 'UNKNOWN';
12014
- displayName?: string;
12015
- mediaType?: string;
12016
- coverMediaRef?: string;
12017
- coverAttribution?: {
12018
- mediaRef: string;
12019
- derivedFrom?: string;
12020
- artist?: string;
12021
- license?: string;
12022
- };
12023
- humanPresentation?: {
12024
- title?: string;
12025
- byline?: string;
12026
- summary?: string;
12027
- authorityLabel?: string;
12028
- language?: string;
12029
- topics?: string[];
12030
- geography?: string[];
12031
- /** Format: date-time */
12032
- publishedAt?: string;
12033
- /** Format: date-time */
12034
- effectiveAt?: string;
12035
- /** Format: uri */
12036
- originalUrl?: string;
12037
- coverMediaRef?: string;
12038
- coverAttribution?: {
12039
- mediaRef: string;
12040
- derivedFrom?: string;
12041
- artist?: string;
12042
- license?: string;
12043
- };
12044
- };
12045
- contentHash: string;
12046
- evidenceRefs: string[];
12047
- relatedRefs: string[];
12048
- artifactSupport?: {
12049
- /** @enum {string} */
12050
- semanticStatus: 'REVIEWED' | 'SUPERSEDED';
12051
- /** @enum {string} */
12052
- supportState:
12053
- | 'CURRENTLY_SUPPORTED'
12054
- | 'REFRESH_DUE'
12055
- | 'CURRENTNESS_REVIEW_REQUIRED'
12056
- | 'CURRENTNESS_DENIED'
12057
- | 'SUPERSEDED';
12058
- /** @enum {string} */
12059
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
12060
- /** Format: date-time */
12061
- validUntil: string | null;
12062
- evidence: {
12063
- evidenceRef: string;
12064
- /** @enum {string} */
12065
- state: 'CURRENT' | 'DUE' | 'STALE' | 'BLOCKED' | 'UNKNOWN';
12066
- /** @enum {string} */
12067
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
12068
- /** @enum {string} */
12069
- reasonCode:
12070
- | 'CURRENT_WITHIN_CADENCE'
12071
- | 'REFRESH_DUE'
12072
- | 'STALE_AFTER_THRESHOLD'
12073
- | 'SOURCE_BLOCKED'
12074
- | 'SOURCE_CONTENT_CHANGED'
12075
- | 'NO_SUCCESSFUL_OBSERVATION';
12076
- }[];
12077
- missingEvidenceRefs: string[];
12078
- claims?: {
12079
- [key: string]: unknown;
12080
- }[];
12081
- reasonCodes: string[];
12082
- };
12083
- };
12084
- requestId: string;
12085
- };
12086
- };
12087
- };
12088
- };
11962
+ requestBody?: never;
12089
11963
  responses: {
12090
11964
  /** @description Default Response */
12091
- 200: {
12092
- headers: {
12093
- [name: string]: unknown;
12094
- };
12095
- content: {
12096
- 'application/json': {
12097
- /** @enum {number} */
12098
- schemaVersion: 1;
12099
- deliveryId: string;
12100
- knowledgeProjectKey: string;
12101
- knowledgeProjectRef?: string;
12102
- requestId: string;
12103
- /** Format: date-time */
12104
- deliveredAt: string;
12105
- replayed: boolean;
12106
- source: {
12107
- /** Format: uuid */
12108
- id: string;
12109
- ref: string;
12110
- /** Format: uuid */
12111
- tenantId: string;
12112
- /** @enum {string} */
12113
- sourceType: 'KNOWLEDGE' | 'INSIGHT' | 'TREND';
12114
- sourceRef: string;
12115
- /** @enum {string} */
12116
- sourceAuthority: 'knowledge-v2';
12117
- /** Format: date-time */
12118
- observedAt: string | null;
12119
- /** Format: date-time */
12120
- validUntil: string | null;
12121
- evidenceRef: string | null;
12122
- /** @enum {string|null} */
12123
- snapshotHash: null;
12124
- metadata: {
12125
- knowledgeV2ProjectRef?: string;
12126
- knowledgeV2IdentityRef: string;
12127
- knowledgeV2ArtifactRef: string;
12128
- artifactId: string;
12129
- /** @enum {string} */
12130
- artifactKind:
12131
- 'SIGNAL_GENERATION' | 'RESEARCH' | 'REVIEW' | 'KNOWLEDGE' | 'INSIGHT';
12132
- artifactVersion: number;
12133
- /** @enum {string} */
12134
- artifactStatus:
12135
- | 'GENERATED'
12136
- | 'DRAFT'
12137
- | 'READY_FOR_REVIEW'
12138
- | 'REWORK_REQUIRED'
12139
- | 'APPROVED'
12140
- | 'REJECTED'
12141
- | 'SUPERSEDED';
12142
- /** @enum {string} */
12143
- artifactAccess:
12144
- | 'PUBLIC'
12145
- | 'PUBLIC_METADATA'
12146
- | 'TENANT'
12147
- | 'INTERNAL'
12148
- | 'FDE_INTERNAL'
12149
- | 'ACCESS_CONTROLLED'
12150
- | 'UNKNOWN';
12151
- displayName?: string;
12152
- mediaType?: string;
12153
- coverMediaRef?: string;
12154
- coverAttribution?: {
12155
- mediaRef: string;
12156
- derivedFrom?: string;
12157
- artist?: string;
12158
- license?: string;
12159
- };
12160
- humanPresentation?: {
12161
- title?: string;
12162
- byline?: string;
12163
- summary?: string;
12164
- authorityLabel?: string;
12165
- language?: string;
12166
- topics?: string[];
12167
- geography?: string[];
12168
- /** Format: date-time */
12169
- publishedAt?: string;
12170
- /** Format: date-time */
12171
- effectiveAt?: string;
12172
- /** Format: uri */
12173
- originalUrl?: string;
12174
- coverMediaRef?: string;
12175
- coverAttribution?: {
12176
- mediaRef: string;
12177
- derivedFrom?: string;
12178
- artist?: string;
12179
- license?: string;
12180
- };
12181
- };
12182
- contentHash: string;
12183
- evidenceRefs: string[];
12184
- relatedRefs: string[];
12185
- artifactSupport?: {
12186
- /** @enum {string} */
12187
- semanticStatus: 'REVIEWED' | 'SUPERSEDED';
12188
- /** @enum {string} */
12189
- supportState:
12190
- | 'CURRENTLY_SUPPORTED'
12191
- | 'REFRESH_DUE'
12192
- | 'CURRENTNESS_REVIEW_REQUIRED'
12193
- | 'CURRENTNESS_DENIED'
12194
- | 'SUPERSEDED';
12195
- /** @enum {string} */
12196
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
12197
- /** Format: date-time */
12198
- validUntil: string | null;
12199
- evidence: {
12200
- evidenceRef: string;
12201
- /** @enum {string} */
12202
- state: 'CURRENT' | 'DUE' | 'STALE' | 'BLOCKED' | 'UNKNOWN';
12203
- /** @enum {string} */
12204
- action: 'ALLOW' | 'REVIEW_REQUIRED' | 'DENY';
12205
- /** @enum {string} */
12206
- reasonCode:
12207
- | 'CURRENT_WITHIN_CADENCE'
12208
- | 'REFRESH_DUE'
12209
- | 'STALE_AFTER_THRESHOLD'
12210
- | 'SOURCE_BLOCKED'
12211
- | 'SOURCE_CONTENT_CHANGED'
12212
- | 'NO_SUCCESSFUL_OBSERVATION';
12213
- }[];
12214
- missingEvidenceRefs: string[];
12215
- claims?: {
12216
- [key: string]: unknown;
12217
- }[];
12218
- reasonCodes: string[];
12219
- };
12220
- };
12221
- /** Format: date-time */
12222
- createdAt: string;
12223
- };
12224
- };
12225
- };
12226
- };
12227
- /** @description Default Response */
12228
- 400: {
12229
- headers: {
12230
- [name: string]: unknown;
12231
- };
12232
- content: {
12233
- 'application/json': {
12234
- error: {
12235
- code: string;
12236
- message: string;
12237
- requestId?: string;
12238
- };
12239
- };
12240
- };
12241
- };
12242
- /** @description Default Response */
12243
- 401: {
12244
- headers: {
12245
- [name: string]: unknown;
12246
- };
12247
- content: {
12248
- 'application/json': {
12249
- error: {
12250
- code: string;
12251
- message: string;
12252
- requestId?: string;
12253
- };
12254
- };
12255
- };
12256
- };
12257
- /** @description Default Response */
12258
- 404: {
12259
- headers: {
12260
- [name: string]: unknown;
12261
- };
12262
- content: {
12263
- 'application/json': {
12264
- error: {
12265
- code: string;
12266
- message: string;
12267
- requestId?: string;
12268
- };
12269
- };
12270
- };
12271
- };
12272
- /** @description Default Response */
12273
- 409: {
12274
- headers: {
12275
- [name: string]: unknown;
12276
- };
12277
- content: {
12278
- 'application/json': {
12279
- error: {
12280
- code: string;
12281
- message: string;
12282
- requestId?: string;
12283
- };
12284
- };
12285
- };
12286
- };
12287
- /** @description Default Response */
12288
- 503: {
11965
+ 410: {
12289
11966
  headers: {
12290
11967
  [name: string]: unknown;
12291
11968
  };
@@ -36105,9 +35782,9 @@ export interface paths {
36105
35782
  };
36106
35783
  revision: number;
36107
35784
  settings: {
36108
- /** Format: uri */
36109
35785
  endpoint: string;
36110
35786
  enabled: boolean;
35787
+ resourceTenantId?: string;
36111
35788
  entryProjectKey?: string;
36112
35789
  };
36113
35790
  credential: {
@@ -36319,6 +35996,7 @@ export interface paths {
36319
35996
  settings: {
36320
35997
  endpoint: string;
36321
35998
  enabled: boolean;
35999
+ resourceTenantId?: string;
36322
36000
  entryProjectKey?: string;
36323
36001
  };
36324
36002
  credential:
@@ -36355,9 +36033,9 @@ export interface paths {
36355
36033
  };
36356
36034
  revision: number;
36357
36035
  settings: {
36358
- /** Format: uri */
36359
36036
  endpoint: string;
36360
36037
  enabled: boolean;
36038
+ resourceTenantId?: string;
36361
36039
  entryProjectKey?: string;
36362
36040
  };
36363
36041
  credential: {
@@ -49968,6 +49646,7 @@ export interface paths {
49968
49646
  };
49969
49647
  get?: never;
49970
49648
  put?: never;
49649
+ /** @deprecated */
49971
49650
  post: {
49972
49651
  parameters: {
49973
49652
  query?: never;
@@ -49975,138 +49654,10 @@ export interface paths {
49975
49654
  path?: never;
49976
49655
  cookie?: never;
49977
49656
  };
49978
- requestBody: {
49979
- content: {
49980
- 'application/json': {
49981
- /** @enum {number} */
49982
- schemaVersion: 1;
49983
- /** @enum {string} */
49984
- handoffType: 'CONTENT_FACTORY_EVIDENCE';
49985
- deliveryId: string;
49986
- knowledgeProjectKey: string;
49987
- evidenceRef: string;
49988
- contentHash: string;
49989
- createInput: {
49990
- /** Format: uuid */
49991
- tenantId: string;
49992
- /** @enum {string} */
49993
- sourceType: 'EXTERNAL_REFERENCE';
49994
- sourceRef: string;
49995
- /** @enum {string} */
49996
- sourceAuthority: 'knowledge-v2';
49997
- /** Format: date-time */
49998
- observedAt: string;
49999
- /** @enum {string|null} */
50000
- validUntil: null;
50001
- evidenceRef: string;
50002
- /** @enum {string|null} */
50003
- snapshotHash: null;
50004
- metadata: {
50005
- knowledgeV2EvidenceRef: string;
50006
- knowledgeV2ProjectRef: string | null;
50007
- sourceId: string;
50008
- contentHash: string;
50009
- mediaType: string;
50010
- byteLength: number;
50011
- /** Format: uri */
50012
- originalUrl: string;
50013
- displayName: string;
50014
- /** @enum {string} */
50015
- evidenceAccess: 'PUBLIC' | 'TENANT' | 'INTERNAL';
50016
- };
50017
- requestId: string;
50018
- };
50019
- };
50020
- };
50021
- };
49657
+ requestBody?: never;
50022
49658
  responses: {
50023
49659
  /** @description Default Response */
50024
- 200: {
50025
- headers: {
50026
- [name: string]: unknown;
50027
- };
50028
- content: {
50029
- 'application/json': {
50030
- /** @enum {number} */
50031
- schemaVersion: 1;
50032
- deliveryId: string;
50033
- knowledgeProjectKey: string;
50034
- requestId: string;
50035
- /** Format: date-time */
50036
- deliveredAt: string;
50037
- replayed: boolean;
50038
- source: {
50039
- /** Format: uuid */
50040
- id: string;
50041
- ref: string;
50042
- sourceRef: string;
50043
- contentHash: string;
50044
- };
50045
- };
50046
- };
50047
- };
50048
- /** @description Default Response */
50049
- 400: {
50050
- headers: {
50051
- [name: string]: unknown;
50052
- };
50053
- content: {
50054
- 'application/json': {
50055
- error: {
50056
- code: string;
50057
- message: string;
50058
- requestId?: string;
50059
- };
50060
- };
50061
- };
50062
- };
50063
- /** @description Default Response */
50064
- 401: {
50065
- headers: {
50066
- [name: string]: unknown;
50067
- };
50068
- content: {
50069
- 'application/json': {
50070
- error: {
50071
- code: string;
50072
- message: string;
50073
- requestId?: string;
50074
- };
50075
- };
50076
- };
50077
- };
50078
- /** @description Default Response */
50079
- 404: {
50080
- headers: {
50081
- [name: string]: unknown;
50082
- };
50083
- content: {
50084
- 'application/json': {
50085
- error: {
50086
- code: string;
50087
- message: string;
50088
- requestId?: string;
50089
- };
50090
- };
50091
- };
50092
- };
50093
- /** @description Default Response */
50094
- 409: {
50095
- headers: {
50096
- [name: string]: unknown;
50097
- };
50098
- content: {
50099
- 'application/json': {
50100
- error: {
50101
- code: string;
50102
- message: string;
50103
- requestId?: string;
50104
- };
50105
- };
50106
- };
50107
- };
50108
- /** @description Default Response */
50109
- 503: {
49660
+ 410: {
50110
49661
  headers: {
50111
49662
  [name: string]: unknown;
50112
49663
  };
@@ -50137,6 +49688,7 @@ export interface paths {
50137
49688
  };
50138
49689
  get?: never;
50139
49690
  put?: never;
49691
+ /** @deprecated */
50140
49692
  post: {
50141
49693
  parameters: {
50142
49694
  query?: never;
@@ -50146,130 +49698,10 @@ export interface paths {
50146
49698
  };
50147
49699
  cookie?: never;
50148
49700
  };
50149
- requestBody: {
50150
- content: {
50151
- 'application/json': {
50152
- projectKey: string;
50153
- materialAfter?: string | null;
50154
- materialScan?: boolean;
50155
- artifactAfter?: string | null;
50156
- artifactLimit?: number;
50157
- artifactScan?: boolean;
50158
- evidenceAfter?: string | null;
50159
- evidenceLimit?: number;
50160
- evidenceScan?: boolean;
50161
- dryRun?: boolean;
50162
- };
50163
- };
50164
- };
49701
+ requestBody?: never;
50165
49702
  responses: {
50166
49703
  /** @description Default Response */
50167
- 200: {
50168
- headers: {
50169
- [name: string]: unknown;
50170
- };
50171
- content: {
50172
- 'application/json': {
50173
- /** Format: uuid */
50174
- tenantId: string;
50175
- projectKey: string;
50176
- dryRun: boolean;
50177
- materials: {
50178
- discovered: number;
50179
- registered: number;
50180
- nextAfter: string | null;
50181
- scannedToEnd: boolean;
50182
- scanned: boolean;
50183
- };
50184
- artifacts: {
50185
- discovered: number;
50186
- eligible: number;
50187
- limited: boolean;
50188
- /** @enum {string} */
50189
- coverage: 'SCANNED_TO_END' | 'IN_PROGRESS' | 'LEGACY_LIMITED' | 'NOT_SCANNED';
50190
- versionSelectionComplete: boolean;
50191
- nextAfter: string | null;
50192
- scannedToEnd: boolean;
50193
- /** @enum {string} */
50194
- versionCoverage: 'AUTHORIZED_REFERENCES_ONLY' | 'LEGACY_UNKNOWN' | 'NOT_SCANNED';
50195
- };
50196
- evidence: {
50197
- discovered: number;
50198
- eligible: number;
50199
- nextAfter: string | null;
50200
- scannedToEnd: boolean;
50201
- scanned: boolean;
50202
- };
50203
- sources: {
50204
- created: number;
50205
- reused: number;
50206
- wouldCreate: number;
50207
- };
50208
- };
50209
- };
50210
- };
50211
- /** @description Default Response */
50212
- 400: {
50213
- headers: {
50214
- [name: string]: unknown;
50215
- };
50216
- content: {
50217
- 'application/json': {
50218
- error: {
50219
- code: string;
50220
- message: string;
50221
- requestId?: string;
50222
- };
50223
- };
50224
- };
50225
- };
50226
- /** @description Default Response */
50227
- 401: {
50228
- headers: {
50229
- [name: string]: unknown;
50230
- };
50231
- content: {
50232
- 'application/json': {
50233
- error: {
50234
- code: string;
50235
- message: string;
50236
- requestId?: string;
50237
- };
50238
- };
50239
- };
50240
- };
50241
- /** @description Default Response */
50242
- 403: {
50243
- headers: {
50244
- [name: string]: unknown;
50245
- };
50246
- content: {
50247
- 'application/json': {
50248
- error: {
50249
- code: string;
50250
- message: string;
50251
- requestId?: string;
50252
- };
50253
- };
50254
- };
50255
- };
50256
- /** @description Default Response */
50257
- 404: {
50258
- headers: {
50259
- [name: string]: unknown;
50260
- };
50261
- content: {
50262
- 'application/json': {
50263
- error: {
50264
- code: string;
50265
- message: string;
50266
- requestId?: string;
50267
- };
50268
- };
50269
- };
50270
- };
50271
- /** @description Default Response */
50272
- 503: {
49704
+ 410: {
50273
49705
  headers: {
50274
49706
  [name: string]: unknown;
50275
49707
  };
@@ -50973,6 +50405,7 @@ export interface paths {
50973
50405
  };
50974
50406
  };
50975
50407
  put?: never;
50408
+ /** @deprecated */
50976
50409
  post: {
50977
50410
  parameters: {
50978
50411
  query?: never;
@@ -50982,42 +50415,10 @@ export interface paths {
50982
50415
  };
50983
50416
  cookie?: never;
50984
50417
  };
50985
- requestBody: {
50986
- content: {
50987
- 'application/json': {
50988
- projectKey: string;
50989
- restart?: boolean;
50990
- };
50991
- };
50992
- };
50418
+ requestBody?: never;
50993
50419
  responses: {
50994
50420
  /** @description Default Response */
50995
- 200: {
50996
- headers: {
50997
- [name: string]: unknown;
50998
- };
50999
- content: {
51000
- 'application/json': {
51001
- /** Format: uuid */
51002
- tenantId: string;
51003
- projectKey: string;
51004
- pages: number;
51005
- artifactAfter: string | null;
51006
- evidenceAfter: string | null;
51007
- materialAfter: string | null;
51008
- artifactsDone: boolean;
51009
- evidenceDone: boolean;
51010
- materialsDone: boolean;
51011
- limited: boolean;
51012
- /** @enum {string} */
51013
- status: 'IDLE' | 'RUNNING' | 'FAILED' | 'COMPLETE';
51014
- /** Format: date-time */
51015
- updatedAt: string;
51016
- };
51017
- };
51018
- };
51019
- /** @description Default Response */
51020
- 400: {
50421
+ 410: {
51021
50422
  headers: {
51022
50423
  [name: string]: unknown;
51023
50424
  };
@@ -51031,23 +50432,138 @@ export interface paths {
51031
50432
  };
51032
50433
  };
51033
50434
  };
50435
+ };
50436
+ };
50437
+ delete?: never;
50438
+ options?: never;
50439
+ head?: never;
50440
+ patch?: never;
50441
+ trace?: never;
50442
+ };
50443
+ '/tenants/{tenantCode}/knowledge/catalog/reconcile': {
50444
+ parameters: {
50445
+ query?: never;
50446
+ header?: never;
50447
+ path?: never;
50448
+ cookie?: never;
50449
+ };
50450
+ get?: never;
50451
+ put?: never;
50452
+ post: {
50453
+ parameters: {
50454
+ query?: never;
50455
+ header?: never;
50456
+ path: {
50457
+ tenantCode: string;
50458
+ };
50459
+ cookie?: never;
50460
+ };
50461
+ requestBody: {
50462
+ content: {
50463
+ 'application/json': {
50464
+ projectKey: string;
50465
+ materialAfter?: string | null;
50466
+ artifactAfter?: string | null;
50467
+ evidenceAfter?: string | null;
50468
+ artifactScan?: boolean;
50469
+ evidenceScan?: boolean;
50470
+ materialScan?: boolean;
50471
+ limit?: number;
50472
+ };
50473
+ };
50474
+ };
50475
+ responses: {
51034
50476
  /** @description Default Response */
51035
- 401: {
50477
+ 200: {
51036
50478
  headers: {
51037
50479
  [name: string]: unknown;
51038
50480
  };
51039
50481
  content: {
51040
50482
  'application/json': {
51041
- error: {
51042
- code: string;
51043
- message: string;
51044
- requestId?: string;
50483
+ /** Format: uuid */
50484
+ tenantId: string;
50485
+ projectKey: string;
50486
+ materials: {
50487
+ nextAfter: string | null;
50488
+ scanned: boolean;
50489
+ };
50490
+ artifacts: {
50491
+ nextAfter: string | null;
50492
+ scanned: boolean;
50493
+ legacyLimited: boolean;
50494
+ };
50495
+ evidence: {
50496
+ nextAfter: string | null;
50497
+ scanned: boolean;
50498
+ };
50499
+ items: {
50500
+ upstreamRef: string;
50501
+ kind: string;
50502
+ upstreamContentHash: string;
50503
+ cfSourceRef: string | null;
50504
+ cfContentHash: string | null;
50505
+ identityMatches: boolean;
50506
+ collected: boolean;
50507
+ collectionReceiptPresent: boolean | null;
50508
+ kvDecision: string;
50509
+ sourceRevisionRef: string | null;
50510
+ collectionBatchRef: string | null;
50511
+ projectionRef: string | null;
50512
+ projectionHash: string | null;
50513
+ cfProjectionRef: string | null;
50514
+ cfProjectionHash: string | null;
50515
+ projectionMatches: boolean | null;
50516
+ bodyCharacters: number | null;
50517
+ mediaTotal: number | null;
50518
+ mediaMirrored: number | null;
50519
+ mediaUnavailable: number | null;
50520
+ mediaTooLarge: number | null;
50521
+ formatQuality: {
50522
+ /** @enum {string} */
50523
+ format:
50524
+ | 'HTML'
50525
+ | 'PDF'
50526
+ | 'FEED'
50527
+ | 'XML'
50528
+ | 'MARKDOWN'
50529
+ | 'CSV'
50530
+ | 'JSON'
50531
+ | 'IMAGE'
50532
+ | 'VIDEO'
50533
+ | 'AUDIO'
50534
+ | 'TEXT'
50535
+ | 'OTHER';
50536
+ /** @enum {string} */
50537
+ rawFile: 'AVAILABLE' | 'DENIED';
50538
+ /** @enum {string} */
50539
+ projection: 'READY' | 'EMPTY' | 'MISSING' | 'UNSUPPORTED' | 'DENIED';
50540
+ /** @enum {string} */
50541
+ media: 'COMPLETE' | 'PARTIAL' | 'NONE' | 'UNASSESSED';
50542
+ } | null;
50543
+ metadataAuthorized: boolean;
50544
+ contentReadable: boolean;
50545
+ presentationReady: boolean;
50546
+ /** @enum {boolean} */
50547
+ pageVerified: false;
50548
+ selectable: boolean;
50549
+ }[];
50550
+ counts: {
50551
+ discovered: number;
50552
+ collected: number;
50553
+ collectionReceiptsPresent: number;
50554
+ sourceMatched: number;
50555
+ metadataAuthorized: number;
50556
+ contentReadable: number;
50557
+ presentationReady: number;
50558
+ projectionMatched: number;
50559
+ pageVerified: number;
50560
+ selectable: number;
51045
50561
  };
51046
50562
  };
51047
50563
  };
51048
50564
  };
51049
50565
  /** @description Default Response */
51050
- 403: {
50566
+ 400: {
51051
50567
  headers: {
51052
50568
  [name: string]: unknown;
51053
50569
  };
@@ -51062,7 +50578,7 @@ export interface paths {
51062
50578
  };
51063
50579
  };
51064
50580
  /** @description Default Response */
51065
- 404: {
50581
+ 401: {
51066
50582
  headers: {
51067
50583
  [name: string]: unknown;
51068
50584
  };
@@ -51077,7 +50593,7 @@ export interface paths {
51077
50593
  };
51078
50594
  };
51079
50595
  /** @description Default Response */
51080
- 409: {
50596
+ 403: {
51081
50597
  headers: {
51082
50598
  [name: string]: unknown;
51083
50599
  };
@@ -51092,212 +50608,7 @@ export interface paths {
51092
50608
  };
51093
50609
  };
51094
50610
  /** @description Default Response */
51095
- 502: {
51096
- headers: {
51097
- [name: string]: unknown;
51098
- };
51099
- content: {
51100
- 'application/json': {
51101
- error: {
51102
- code: string;
51103
- message: string;
51104
- requestId?: string;
51105
- };
51106
- };
51107
- };
51108
- };
51109
- /** @description Default Response */
51110
- 503: {
51111
- headers: {
51112
- [name: string]: unknown;
51113
- };
51114
- content: {
51115
- 'application/json': {
51116
- error: {
51117
- code: string;
51118
- message: string;
51119
- requestId?: string;
51120
- };
51121
- };
51122
- };
51123
- };
51124
- };
51125
- };
51126
- delete?: never;
51127
- options?: never;
51128
- head?: never;
51129
- patch?: never;
51130
- trace?: never;
51131
- };
51132
- '/tenants/{tenantCode}/knowledge/catalog/reconcile': {
51133
- parameters: {
51134
- query?: never;
51135
- header?: never;
51136
- path?: never;
51137
- cookie?: never;
51138
- };
51139
- get?: never;
51140
- put?: never;
51141
- post: {
51142
- parameters: {
51143
- query?: never;
51144
- header?: never;
51145
- path: {
51146
- tenantCode: string;
51147
- };
51148
- cookie?: never;
51149
- };
51150
- requestBody: {
51151
- content: {
51152
- 'application/json': {
51153
- projectKey: string;
51154
- materialAfter?: string | null;
51155
- artifactAfter?: string | null;
51156
- evidenceAfter?: string | null;
51157
- artifactScan?: boolean;
51158
- evidenceScan?: boolean;
51159
- materialScan?: boolean;
51160
- limit?: number;
51161
- };
51162
- };
51163
- };
51164
- responses: {
51165
- /** @description Default Response */
51166
- 200: {
51167
- headers: {
51168
- [name: string]: unknown;
51169
- };
51170
- content: {
51171
- 'application/json': {
51172
- /** Format: uuid */
51173
- tenantId: string;
51174
- projectKey: string;
51175
- materials: {
51176
- nextAfter: string | null;
51177
- scanned: boolean;
51178
- };
51179
- artifacts: {
51180
- nextAfter: string | null;
51181
- scanned: boolean;
51182
- legacyLimited: boolean;
51183
- };
51184
- evidence: {
51185
- nextAfter: string | null;
51186
- scanned: boolean;
51187
- };
51188
- items: {
51189
- upstreamRef: string;
51190
- kind: string;
51191
- upstreamContentHash: string;
51192
- cfSourceRef: string | null;
51193
- cfContentHash: string | null;
51194
- identityMatches: boolean;
51195
- collected: boolean;
51196
- collectionReceiptPresent: boolean | null;
51197
- kvDecision: string;
51198
- sourceRevisionRef: string | null;
51199
- collectionBatchRef: string | null;
51200
- projectionRef: string | null;
51201
- projectionHash: string | null;
51202
- cfProjectionRef: string | null;
51203
- cfProjectionHash: string | null;
51204
- projectionMatches: boolean | null;
51205
- bodyCharacters: number | null;
51206
- mediaTotal: number | null;
51207
- mediaMirrored: number | null;
51208
- mediaUnavailable: number | null;
51209
- mediaTooLarge: number | null;
51210
- formatQuality: {
51211
- /** @enum {string} */
51212
- format:
51213
- | 'HTML'
51214
- | 'PDF'
51215
- | 'FEED'
51216
- | 'XML'
51217
- | 'MARKDOWN'
51218
- | 'CSV'
51219
- | 'JSON'
51220
- | 'IMAGE'
51221
- | 'VIDEO'
51222
- | 'AUDIO'
51223
- | 'TEXT'
51224
- | 'OTHER';
51225
- /** @enum {string} */
51226
- rawFile: 'AVAILABLE' | 'DENIED';
51227
- /** @enum {string} */
51228
- projection: 'READY' | 'EMPTY' | 'MISSING' | 'UNSUPPORTED' | 'DENIED';
51229
- /** @enum {string} */
51230
- media: 'COMPLETE' | 'PARTIAL' | 'NONE' | 'UNASSESSED';
51231
- } | null;
51232
- metadataAuthorized: boolean;
51233
- contentReadable: boolean;
51234
- presentationReady: boolean;
51235
- /** @enum {boolean} */
51236
- pageVerified: false;
51237
- selectable: boolean;
51238
- }[];
51239
- counts: {
51240
- discovered: number;
51241
- collected: number;
51242
- collectionReceiptsPresent: number;
51243
- sourceMatched: number;
51244
- metadataAuthorized: number;
51245
- contentReadable: number;
51246
- presentationReady: number;
51247
- projectionMatched: number;
51248
- pageVerified: number;
51249
- selectable: number;
51250
- };
51251
- };
51252
- };
51253
- };
51254
- /** @description Default Response */
51255
- 400: {
51256
- headers: {
51257
- [name: string]: unknown;
51258
- };
51259
- content: {
51260
- 'application/json': {
51261
- error: {
51262
- code: string;
51263
- message: string;
51264
- requestId?: string;
51265
- };
51266
- };
51267
- };
51268
- };
51269
- /** @description Default Response */
51270
- 401: {
51271
- headers: {
51272
- [name: string]: unknown;
51273
- };
51274
- content: {
51275
- 'application/json': {
51276
- error: {
51277
- code: string;
51278
- message: string;
51279
- requestId?: string;
51280
- };
51281
- };
51282
- };
51283
- };
51284
- /** @description Default Response */
51285
- 403: {
51286
- headers: {
51287
- [name: string]: unknown;
51288
- };
51289
- content: {
51290
- 'application/json': {
51291
- error: {
51292
- code: string;
51293
- message: string;
51294
- requestId?: string;
51295
- };
51296
- };
51297
- };
51298
- };
51299
- /** @description Default Response */
51300
- 404: {
50611
+ 404: {
51301
50612
  headers: {
51302
50613
  [name: string]: unknown;
51303
50614
  };
@@ -51503,6 +50814,7 @@ export interface paths {
51503
50814
  };
51504
50815
  get?: never;
51505
50816
  put?: never;
50817
+ /** @deprecated */
51506
50818
  post: {
51507
50819
  parameters: {
51508
50820
  query?: never;
@@ -51510,100 +50822,10 @@ export interface paths {
51510
50822
  path?: never;
51511
50823
  cookie?: never;
51512
50824
  };
51513
- requestBody: {
51514
- content: {
51515
- 'application/json': {
51516
- /** @enum {number} */
51517
- schemaVersion: 1;
51518
- deliveryId: string;
51519
- /** Format: uuid */
51520
- tenantId: string;
51521
- knowledgeProjectKey: string;
51522
- artifactRef: string;
51523
- contentHash: string;
51524
- };
51525
- };
51526
- };
50825
+ requestBody?: never;
51527
50826
  responses: {
51528
50827
  /** @description Default Response */
51529
- 200: {
51530
- headers: {
51531
- [name: string]: unknown;
51532
- };
51533
- content: {
51534
- 'application/json': {
51535
- /** @enum {number} */
51536
- schemaVersion: 1;
51537
- deliveryId: string;
51538
- artifactRef: string;
51539
- contentHash: string;
51540
- sourceRef: string;
51541
- replayed: boolean;
51542
- };
51543
- };
51544
- };
51545
- /** @description Default Response */
51546
- 400: {
51547
- headers: {
51548
- [name: string]: unknown;
51549
- };
51550
- content: {
51551
- 'application/json': {
51552
- error: {
51553
- code: string;
51554
- message: string;
51555
- requestId?: string;
51556
- };
51557
- };
51558
- };
51559
- };
51560
- /** @description Default Response */
51561
- 401: {
51562
- headers: {
51563
- [name: string]: unknown;
51564
- };
51565
- content: {
51566
- 'application/json': {
51567
- error: {
51568
- code: string;
51569
- message: string;
51570
- requestId?: string;
51571
- };
51572
- };
51573
- };
51574
- };
51575
- /** @description Default Response */
51576
- 404: {
51577
- headers: {
51578
- [name: string]: unknown;
51579
- };
51580
- content: {
51581
- 'application/json': {
51582
- error: {
51583
- code: string;
51584
- message: string;
51585
- requestId?: string;
51586
- };
51587
- };
51588
- };
51589
- };
51590
- /** @description Default Response */
51591
- 409: {
51592
- headers: {
51593
- [name: string]: unknown;
51594
- };
51595
- content: {
51596
- 'application/json': {
51597
- error: {
51598
- code: string;
51599
- message: string;
51600
- requestId?: string;
51601
- };
51602
- };
51603
- };
51604
- };
51605
- /** @description Default Response */
51606
- 503: {
50828
+ 410: {
51607
50829
  headers: {
51608
50830
  [name: string]: unknown;
51609
50831
  };
@@ -51932,6 +51154,7 @@ export interface paths {
51932
51154
  };
51933
51155
  };
51934
51156
  put?: never;
51157
+ /** @deprecated */
51935
51158
  post: {
51936
51159
  parameters: {
51937
51160
  query?: never;
@@ -51941,134 +51164,10 @@ export interface paths {
51941
51164
  };
51942
51165
  cookie?: never;
51943
51166
  };
51944
- requestBody: {
51945
- content: {
51946
- 'application/json': {
51947
- projectKey: string;
51948
- restart?: boolean;
51949
- rebind?: boolean;
51950
- };
51951
- };
51952
- };
51167
+ requestBody?: never;
51953
51168
  responses: {
51954
51169
  /** @description Default Response */
51955
- 200: {
51956
- headers: {
51957
- [name: string]: unknown;
51958
- };
51959
- content: {
51960
- 'application/json': {
51961
- /** Format: uuid */
51962
- tenantId: string;
51963
- projectKey: string;
51964
- kvTenantId: string | null;
51965
- after: string | null;
51966
- descriptorAfter: string | null;
51967
- /** @enum {string} */
51968
- phase: 'POINTERS' | 'DESCRIPTORS';
51969
- generation: number;
51970
- pages: number;
51971
- /** @enum {string} */
51972
- status: 'IDLE' | 'RUNNING' | 'FAILED' | 'COMPLETE';
51973
- acknowledgedSeq: number;
51974
- pendingSeq: number | null;
51975
- /** Format: date-time */
51976
- updatedAt: string;
51977
- };
51978
- };
51979
- };
51980
- /** @description Default Response */
51981
- 400: {
51982
- headers: {
51983
- [name: string]: unknown;
51984
- };
51985
- content: {
51986
- 'application/json': {
51987
- error: {
51988
- code: string;
51989
- message: string;
51990
- requestId?: string;
51991
- };
51992
- };
51993
- };
51994
- };
51995
- /** @description Default Response */
51996
- 401: {
51997
- headers: {
51998
- [name: string]: unknown;
51999
- };
52000
- content: {
52001
- 'application/json': {
52002
- error: {
52003
- code: string;
52004
- message: string;
52005
- requestId?: string;
52006
- };
52007
- };
52008
- };
52009
- };
52010
- /** @description Default Response */
52011
- 403: {
52012
- headers: {
52013
- [name: string]: unknown;
52014
- };
52015
- content: {
52016
- 'application/json': {
52017
- error: {
52018
- code: string;
52019
- message: string;
52020
- requestId?: string;
52021
- };
52022
- };
52023
- };
52024
- };
52025
- /** @description Default Response */
52026
- 404: {
52027
- headers: {
52028
- [name: string]: unknown;
52029
- };
52030
- content: {
52031
- 'application/json': {
52032
- error: {
52033
- code: string;
52034
- message: string;
52035
- requestId?: string;
52036
- };
52037
- };
52038
- };
52039
- };
52040
- /** @description Default Response */
52041
- 409: {
52042
- headers: {
52043
- [name: string]: unknown;
52044
- };
52045
- content: {
52046
- 'application/json': {
52047
- error: {
52048
- code: string;
52049
- message: string;
52050
- requestId?: string;
52051
- };
52052
- };
52053
- };
52054
- };
52055
- /** @description Default Response */
52056
- 502: {
52057
- headers: {
52058
- [name: string]: unknown;
52059
- };
52060
- content: {
52061
- 'application/json': {
52062
- error: {
52063
- code: string;
52064
- message: string;
52065
- requestId?: string;
52066
- };
52067
- };
52068
- };
52069
- };
52070
- /** @description Default Response */
52071
- 503: {
51170
+ 410: {
52072
51171
  headers: {
52073
51172
  [name: string]: unknown;
52074
51173
  };
@@ -52611,6 +51710,7 @@ export interface paths {
52611
51710
  } & {
52612
51711
  [key: string]: unknown;
52613
51712
  };
51713
+ /** Format: starts_with */
52614
51714
  filePath: string;
52615
51715
  /** @enum {string} */
52616
51716
  fileAuthentication: 'CF_SESSION';
@@ -52873,6 +51973,7 @@ export interface paths {
52873
51973
  } & {
52874
51974
  [key: string]: unknown;
52875
51975
  };
51976
+ /** Format: starts_with */
52876
51977
  filePath: string;
52877
51978
  /** @enum {string} */
52878
51979
  fileAuthentication: 'CF_SESSION';
@@ -58456,6 +57557,7 @@ export interface paths {
58456
57557
  } & {
58457
57558
  [key: string]: unknown;
58458
57559
  };
57560
+ /** Format: starts_with */
58459
57561
  filePath: string;
58460
57562
  /** @enum {string} */
58461
57563
  fileAuthentication: 'CF_SESSION';
@@ -58739,6 +57841,7 @@ export interface paths {
58739
57841
  } & {
58740
57842
  [key: string]: unknown;
58741
57843
  };
57844
+ /** Format: starts_with */
58742
57845
  filePath: string;
58743
57846
  /** @enum {string} */
58744
57847
  fileAuthentication: 'CF_SESSION';
@@ -59026,6 +58129,7 @@ export interface paths {
59026
58129
  } & {
59027
58130
  [key: string]: unknown;
59028
58131
  };
58132
+ /** Format: starts_with */
59029
58133
  filePath: string;
59030
58134
  /** @enum {string} */
59031
58135
  fileAuthentication: 'CF_SESSION';
@@ -70438,6 +69542,1988 @@ export interface paths {
70438
69542
  patch?: never;
70439
69543
  trace?: never;
70440
69544
  };
69545
+ '/tenants/{tenantCode}/knowledge/discovery': {
69546
+ parameters: {
69547
+ query?: never;
69548
+ header?: never;
69549
+ path?: never;
69550
+ cookie?: never;
69551
+ };
69552
+ get: {
69553
+ parameters: {
69554
+ query?: {
69555
+ q?: string;
69556
+ cursor?: string;
69557
+ resourceType?: string;
69558
+ limit?: number;
69559
+ };
69560
+ header?: never;
69561
+ path: {
69562
+ tenantCode: string;
69563
+ };
69564
+ cookie?: never;
69565
+ };
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
+ };
69603
+ };
69604
+ };
69605
+ /** @description Default Response */
69606
+ 400: {
69607
+ headers: {
69608
+ [name: string]: unknown;
69609
+ };
69610
+ content: {
69611
+ 'application/json': {
69612
+ error: {
69613
+ code: string;
69614
+ message: string;
69615
+ requestId?: string;
69616
+ };
69617
+ };
69618
+ };
69619
+ };
69620
+ /** @description Default Response */
69621
+ 401: {
69622
+ headers: {
69623
+ [name: string]: unknown;
69624
+ };
69625
+ content: {
69626
+ 'application/json': {
69627
+ error: {
69628
+ code: string;
69629
+ message: string;
69630
+ requestId?: string;
69631
+ };
69632
+ };
69633
+ };
69634
+ };
69635
+ /** @description Default Response */
69636
+ 403: {
69637
+ headers: {
69638
+ [name: string]: unknown;
69639
+ };
69640
+ content: {
69641
+ 'application/json': {
69642
+ error: {
69643
+ code: string;
69644
+ message: string;
69645
+ requestId?: string;
69646
+ };
69647
+ };
69648
+ };
69649
+ };
69650
+ /** @description Default Response */
69651
+ 404: {
69652
+ headers: {
69653
+ [name: string]: unknown;
69654
+ };
69655
+ content: {
69656
+ 'application/json': {
69657
+ error: {
69658
+ code: string;
69659
+ message: string;
69660
+ requestId?: string;
69661
+ };
69662
+ };
69663
+ };
69664
+ };
69665
+ /** @description Default Response */
69666
+ 409: {
69667
+ headers: {
69668
+ [name: string]: unknown;
69669
+ };
69670
+ content: {
69671
+ 'application/json': {
69672
+ error: {
69673
+ code: string;
69674
+ message: string;
69675
+ requestId?: string;
69676
+ };
69677
+ };
69678
+ };
69679
+ };
69680
+ /** @description Default Response */
69681
+ 413: {
69682
+ headers: {
69683
+ [name: string]: unknown;
69684
+ };
69685
+ content: {
69686
+ 'application/json': {
69687
+ error: {
69688
+ code: string;
69689
+ message: string;
69690
+ requestId?: string;
69691
+ };
69692
+ };
69693
+ };
69694
+ };
69695
+ /** @description Default Response */
69696
+ 415: {
69697
+ headers: {
69698
+ [name: string]: unknown;
69699
+ };
69700
+ content: {
69701
+ 'application/json': {
69702
+ error: {
69703
+ code: string;
69704
+ message: string;
69705
+ requestId?: string;
69706
+ };
69707
+ };
69708
+ };
69709
+ };
69710
+ /** @description Default Response */
69711
+ 502: {
69712
+ headers: {
69713
+ [name: string]: unknown;
69714
+ };
69715
+ content: {
69716
+ 'application/json': {
69717
+ error: {
69718
+ code: string;
69719
+ message: string;
69720
+ requestId?: string;
69721
+ };
69722
+ };
69723
+ };
69724
+ };
69725
+ /** @description Default Response */
69726
+ 503: {
69727
+ headers: {
69728
+ [name: string]: unknown;
69729
+ };
69730
+ content: {
69731
+ 'application/json': {
69732
+ error: {
69733
+ code: string;
69734
+ message: string;
69735
+ requestId?: string;
69736
+ };
69737
+ };
69738
+ };
69739
+ };
69740
+ };
69741
+ };
69742
+ put?: never;
69743
+ post?: never;
69744
+ delete?: never;
69745
+ options?: never;
69746
+ head?: never;
69747
+ patch?: never;
69748
+ trace?: never;
69749
+ };
69750
+ '/tenants/{tenantCode}/knowledge/discovery/read': {
69751
+ parameters: {
69752
+ query?: never;
69753
+ header?: never;
69754
+ path?: never;
69755
+ cookie?: never;
69756
+ };
69757
+ get: {
69758
+ parameters: {
69759
+ query: {
69760
+ ref: string;
69761
+ expectedContentHash?: string;
69762
+ };
69763
+ header?: never;
69764
+ path: {
69765
+ tenantCode: string;
69766
+ };
69767
+ cookie?: never;
69768
+ };
69769
+ requestBody?: never;
69770
+ responses: {
69771
+ /** @description Default Response */
69772
+ 200: {
69773
+ headers: {
69774
+ [name: string]: unknown;
69775
+ };
69776
+ content: {
69777
+ 'application/json': {
69778
+ /** @enum {number} */
69779
+ schemaVersion: 1;
69780
+ sourceTenantId: string;
69781
+ item: {
69782
+ ref: string;
69783
+ ownerTenantId: string;
69784
+ resourceType: string;
69785
+ /** @enum {string} */
69786
+ originType: 'LEGACY_PROJECT' | 'TENANT_AUTHOR' | 'TENANT_SOURCE';
69787
+ identityHash: string;
69788
+ /** @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[];
69797
+ };
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;
69806
+ };
69807
+ };
69808
+ };
69809
+ /** @description Default Response */
69810
+ 400: {
69811
+ headers: {
69812
+ [name: string]: unknown;
69813
+ };
69814
+ content: {
69815
+ 'application/json': {
69816
+ error: {
69817
+ code: string;
69818
+ message: string;
69819
+ requestId?: string;
69820
+ };
69821
+ };
69822
+ };
69823
+ };
69824
+ /** @description Default Response */
69825
+ 401: {
69826
+ headers: {
69827
+ [name: string]: unknown;
69828
+ };
69829
+ content: {
69830
+ 'application/json': {
69831
+ error: {
69832
+ code: string;
69833
+ message: string;
69834
+ requestId?: string;
69835
+ };
69836
+ };
69837
+ };
69838
+ };
69839
+ /** @description Default Response */
69840
+ 403: {
69841
+ headers: {
69842
+ [name: string]: unknown;
69843
+ };
69844
+ content: {
69845
+ 'application/json': {
69846
+ error: {
69847
+ code: string;
69848
+ message: string;
69849
+ requestId?: string;
69850
+ };
69851
+ };
69852
+ };
69853
+ };
69854
+ /** @description Default Response */
69855
+ 404: {
69856
+ headers: {
69857
+ [name: string]: unknown;
69858
+ };
69859
+ content: {
69860
+ 'application/json': {
69861
+ error: {
69862
+ code: string;
69863
+ message: string;
69864
+ requestId?: string;
69865
+ };
69866
+ };
69867
+ };
69868
+ };
69869
+ /** @description Default Response */
69870
+ 409: {
69871
+ headers: {
69872
+ [name: string]: unknown;
69873
+ };
69874
+ content: {
69875
+ 'application/json': {
69876
+ error: {
69877
+ code: string;
69878
+ message: string;
69879
+ requestId?: string;
69880
+ };
69881
+ };
69882
+ };
69883
+ };
69884
+ /** @description Default Response */
69885
+ 413: {
69886
+ headers: {
69887
+ [name: string]: unknown;
69888
+ };
69889
+ content: {
69890
+ 'application/json': {
69891
+ error: {
69892
+ code: string;
69893
+ message: string;
69894
+ requestId?: string;
69895
+ };
69896
+ };
69897
+ };
69898
+ };
69899
+ /** @description Default Response */
69900
+ 415: {
69901
+ headers: {
69902
+ [name: string]: unknown;
69903
+ };
69904
+ content: {
69905
+ 'application/json': {
69906
+ error: {
69907
+ code: string;
69908
+ message: string;
69909
+ requestId?: string;
69910
+ };
69911
+ };
69912
+ };
69913
+ };
69914
+ /** @description Default Response */
69915
+ 502: {
69916
+ headers: {
69917
+ [name: string]: unknown;
69918
+ };
69919
+ content: {
69920
+ 'application/json': {
69921
+ error: {
69922
+ code: string;
69923
+ message: string;
69924
+ requestId?: string;
69925
+ };
69926
+ };
69927
+ };
69928
+ };
69929
+ /** @description Default Response */
69930
+ 503: {
69931
+ headers: {
69932
+ [name: string]: unknown;
69933
+ };
69934
+ content: {
69935
+ 'application/json': {
69936
+ error: {
69937
+ code: string;
69938
+ message: string;
69939
+ requestId?: string;
69940
+ };
69941
+ };
69942
+ };
69943
+ };
69944
+ };
69945
+ };
69946
+ put?: never;
69947
+ post?: never;
69948
+ delete?: never;
69949
+ options?: never;
69950
+ head?: never;
69951
+ patch?: never;
69952
+ trace?: never;
69953
+ };
69954
+ '/tenants/{tenantCode}/knowledge/discovery/adoption': {
69955
+ parameters: {
69956
+ query?: never;
69957
+ header?: never;
69958
+ path?: never;
69959
+ cookie?: never;
69960
+ };
69961
+ get?: never;
69962
+ put?: never;
69963
+ post: {
69964
+ parameters: {
69965
+ query?: never;
69966
+ header?: never;
69967
+ path: {
69968
+ tenantCode: string;
69969
+ };
69970
+ cookie?: never;
69971
+ };
69972
+ requestBody: {
69973
+ content: {
69974
+ 'application/json': {
69975
+ ref: string;
69976
+ expectedContentHash: string;
69977
+ requestId: string;
69978
+ };
69979
+ };
69980
+ };
69981
+ responses: {
69982
+ /** @description Default Response */
69983
+ 200: {
69984
+ headers: {
69985
+ [name: string]: unknown;
69986
+ };
69987
+ content: {
69988
+ 'application/json': {
69989
+ result: {
69990
+ /** Format: uuid */
69991
+ id: string;
69992
+ ref: string;
69993
+ /** Format: uuid */
69994
+ tenantId: string;
69995
+ /** @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;
70021
+ };
70022
+ };
70023
+ };
70024
+ /** @description Default Response */
70025
+ 400: {
70026
+ headers: {
70027
+ [name: string]: unknown;
70028
+ };
70029
+ content: {
70030
+ 'application/json': {
70031
+ error: {
70032
+ code: string;
70033
+ message: string;
70034
+ requestId?: string;
70035
+ };
70036
+ };
70037
+ };
70038
+ };
70039
+ /** @description Default Response */
70040
+ 401: {
70041
+ headers: {
70042
+ [name: string]: unknown;
70043
+ };
70044
+ content: {
70045
+ 'application/json': {
70046
+ error: {
70047
+ code: string;
70048
+ message: string;
70049
+ requestId?: string;
70050
+ };
70051
+ };
70052
+ };
70053
+ };
70054
+ /** @description Default Response */
70055
+ 403: {
70056
+ headers: {
70057
+ [name: string]: unknown;
70058
+ };
70059
+ content: {
70060
+ 'application/json': {
70061
+ error: {
70062
+ code: string;
70063
+ message: string;
70064
+ requestId?: string;
70065
+ };
70066
+ };
70067
+ };
70068
+ };
70069
+ /** @description Default Response */
70070
+ 404: {
70071
+ headers: {
70072
+ [name: string]: unknown;
70073
+ };
70074
+ content: {
70075
+ 'application/json': {
70076
+ error: {
70077
+ code: string;
70078
+ message: string;
70079
+ requestId?: string;
70080
+ };
70081
+ };
70082
+ };
70083
+ };
70084
+ /** @description Default Response */
70085
+ 409: {
70086
+ headers: {
70087
+ [name: string]: unknown;
70088
+ };
70089
+ content: {
70090
+ 'application/json': {
70091
+ error: {
70092
+ code: string;
70093
+ message: string;
70094
+ requestId?: string;
70095
+ };
70096
+ };
70097
+ };
70098
+ };
70099
+ /** @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
+ 503: {
70146
+ headers: {
70147
+ [name: string]: unknown;
70148
+ };
70149
+ content: {
70150
+ 'application/json': {
70151
+ error: {
70152
+ code: string;
70153
+ message: string;
70154
+ requestId?: string;
70155
+ };
70156
+ };
70157
+ };
70158
+ };
70159
+ };
70160
+ };
70161
+ delete?: never;
70162
+ options?: never;
70163
+ head?: never;
70164
+ patch?: never;
70165
+ trace?: never;
70166
+ };
70167
+ '/tenants/{tenantCode}/knowledge/discovery/adoption-receipt': {
70168
+ parameters: {
70169
+ query?: never;
70170
+ header?: never;
70171
+ path?: never;
70172
+ cookie?: never;
70173
+ };
70174
+ get: {
70175
+ parameters: {
70176
+ query: {
70177
+ requestId: string;
70178
+ };
70179
+ header?: never;
70180
+ path: {
70181
+ tenantCode: string;
70182
+ };
70183
+ cookie?: never;
70184
+ };
70185
+ requestBody?: never;
70186
+ responses: {
70187
+ /** @description Default Response */
70188
+ 200: {
70189
+ headers: {
70190
+ [name: string]: unknown;
70191
+ };
70192
+ 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
+ };
70247
+ };
70248
+ };
70249
+ /** @description Default Response */
70250
+ 400: {
70251
+ headers: {
70252
+ [name: string]: unknown;
70253
+ };
70254
+ content: {
70255
+ 'application/json': {
70256
+ error: {
70257
+ code: string;
70258
+ message: string;
70259
+ requestId?: string;
70260
+ };
70261
+ };
70262
+ };
70263
+ };
70264
+ /** @description Default Response */
70265
+ 401: {
70266
+ headers: {
70267
+ [name: string]: unknown;
70268
+ };
70269
+ content: {
70270
+ 'application/json': {
70271
+ error: {
70272
+ code: string;
70273
+ message: string;
70274
+ requestId?: string;
70275
+ };
70276
+ };
70277
+ };
70278
+ };
70279
+ /** @description Default Response */
70280
+ 403: {
70281
+ headers: {
70282
+ [name: string]: unknown;
70283
+ };
70284
+ content: {
70285
+ 'application/json': {
70286
+ error: {
70287
+ code: string;
70288
+ message: string;
70289
+ requestId?: string;
70290
+ };
70291
+ };
70292
+ };
70293
+ };
70294
+ /** @description Default Response */
70295
+ 404: {
70296
+ headers: {
70297
+ [name: string]: unknown;
70298
+ };
70299
+ content: {
70300
+ 'application/json': {
70301
+ error: {
70302
+ code: string;
70303
+ message: string;
70304
+ requestId?: string;
70305
+ };
70306
+ };
70307
+ };
70308
+ };
70309
+ /** @description Default Response */
70310
+ 409: {
70311
+ headers: {
70312
+ [name: string]: unknown;
70313
+ };
70314
+ content: {
70315
+ 'application/json': {
70316
+ error: {
70317
+ code: string;
70318
+ message: string;
70319
+ requestId?: string;
70320
+ };
70321
+ };
70322
+ };
70323
+ };
70324
+ /** @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
+ 503: {
70371
+ headers: {
70372
+ [name: string]: unknown;
70373
+ };
70374
+ content: {
70375
+ 'application/json': {
70376
+ error: {
70377
+ code: string;
70378
+ message: string;
70379
+ requestId?: string;
70380
+ };
70381
+ };
70382
+ };
70383
+ };
70384
+ };
70385
+ };
70386
+ put?: never;
70387
+ post?: never;
70388
+ delete?: never;
70389
+ options?: never;
70390
+ head?: never;
70391
+ patch?: never;
70392
+ trace?: never;
70393
+ };
70394
+ '/tenants/{tenantCode}/event-exchanges': {
70395
+ parameters: {
70396
+ query?: never;
70397
+ header?: never;
70398
+ path?: never;
70399
+ cookie?: never;
70400
+ };
70401
+ get: {
70402
+ parameters: {
70403
+ query?: {
70404
+ after?: string;
70405
+ limit?: number;
70406
+ };
70407
+ header?: never;
70408
+ path: {
70409
+ tenantCode: string;
70410
+ };
70411
+ cookie?: never;
70412
+ };
70413
+ requestBody?: never;
70414
+ responses: {
70415
+ /** @description Default Response */
70416
+ 200: {
70417
+ headers: {
70418
+ [name: string]: unknown;
70419
+ };
70420
+ content: {
70421
+ 'application/json': {
70422
+ /** @enum {number} */
70423
+ schemaVersion: 1;
70424
+ localTenant?: {
70425
+ serviceRef: string;
70426
+ tenantRef: string;
70427
+ };
70428
+ items: {
70429
+ connectionRef: string;
70430
+ revision: number;
70431
+ /** @enum {string} */
70432
+ direction: 'OUTBOUND' | 'RECEIVE';
70433
+ /** @enum {string} */
70434
+ status: 'ACTIVE' | 'REVOKED';
70435
+ source?: {
70436
+ source: string;
70437
+ serviceRef: string;
70438
+ tenantRef: string;
70439
+ issuer: string;
70440
+ subject: string;
70441
+ };
70442
+ target?: {
70443
+ serviceRef: string;
70444
+ tenantRef: string;
70445
+ };
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
+ };
70463
+ /** @enum {string} */
70464
+ status: 'ACTIVE' | 'REVOKED';
70465
+ }[];
70466
+ }[];
70467
+ nextAfter: string | null;
70468
+ };
70469
+ };
70470
+ };
70471
+ /** @description Default Response */
70472
+ 400: {
70473
+ headers: {
70474
+ [name: string]: unknown;
70475
+ };
70476
+ content: {
70477
+ 'application/json': {
70478
+ error: {
70479
+ code: string;
70480
+ message: string;
70481
+ requestId?: string;
70482
+ };
70483
+ };
70484
+ };
70485
+ };
70486
+ /** @description Default Response */
70487
+ 401: {
70488
+ headers: {
70489
+ [name: string]: unknown;
70490
+ };
70491
+ content: {
70492
+ 'application/json': {
70493
+ error: {
70494
+ code: string;
70495
+ message: string;
70496
+ requestId?: string;
70497
+ };
70498
+ };
70499
+ };
70500
+ };
70501
+ /** @description Default Response */
70502
+ 403: {
70503
+ headers: {
70504
+ [name: string]: unknown;
70505
+ };
70506
+ content: {
70507
+ 'application/json': {
70508
+ error: {
70509
+ code: string;
70510
+ message: string;
70511
+ requestId?: string;
70512
+ };
70513
+ };
70514
+ };
70515
+ };
70516
+ /** @description Default Response */
70517
+ 404: {
70518
+ headers: {
70519
+ [name: string]: unknown;
70520
+ };
70521
+ content: {
70522
+ 'application/json': {
70523
+ error: {
70524
+ code: string;
70525
+ message: string;
70526
+ requestId?: string;
70527
+ };
70528
+ };
70529
+ };
70530
+ };
70531
+ /** @description Default Response */
70532
+ 409: {
70533
+ headers: {
70534
+ [name: string]: unknown;
70535
+ };
70536
+ content: {
70537
+ 'application/json': {
70538
+ error: {
70539
+ code: string;
70540
+ message: string;
70541
+ requestId?: string;
70542
+ };
70543
+ };
70544
+ };
70545
+ };
70546
+ /** @description Default Response */
70547
+ 503: {
70548
+ headers: {
70549
+ [name: string]: unknown;
70550
+ };
70551
+ content: {
70552
+ 'application/json': {
70553
+ error: {
70554
+ code: string;
70555
+ message: string;
70556
+ requestId?: string;
70557
+ };
70558
+ };
70559
+ };
70560
+ };
70561
+ };
70562
+ };
70563
+ put?: never;
70564
+ post: {
70565
+ parameters: {
70566
+ query?: never;
70567
+ header?: never;
70568
+ path: {
70569
+ tenantCode: string;
70570
+ };
70571
+ cookie?: never;
70572
+ };
70573
+ requestBody: {
70574
+ content: {
70575
+ 'application/json': {
70576
+ /** @enum {number} */
70577
+ schemaVersion: 1;
70578
+ 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';
70602
+ };
70603
+ };
70604
+ };
70605
+ responses: {
70606
+ /** @description Default Response */
70607
+ 200: {
70608
+ headers: {
70609
+ [name: string]: unknown;
70610
+ };
70611
+ content: {
70612
+ 'application/json': {
70613
+ /** @enum {number} */
70614
+ schemaVersion: 1;
70615
+ connectionRef: string;
70616
+ revision: number;
70617
+ /** @enum {string} */
70618
+ direction: 'OUTBOUND' | 'RECEIVE';
70619
+ /** @enum {string} */
70620
+ status: 'ACTIVE' | 'REVOKED';
70621
+ grantRef: string;
70622
+ grantVersion: number;
70623
+ eventType?: string;
70624
+ };
70625
+ };
70626
+ };
70627
+ /** @description Default Response */
70628
+ 400: {
70629
+ headers: {
70630
+ [name: string]: unknown;
70631
+ };
70632
+ content: {
70633
+ 'application/json': {
70634
+ error: {
70635
+ code: string;
70636
+ message: string;
70637
+ requestId?: string;
70638
+ };
70639
+ };
70640
+ };
70641
+ };
70642
+ /** @description Default Response */
70643
+ 401: {
70644
+ headers: {
70645
+ [name: string]: unknown;
70646
+ };
70647
+ content: {
70648
+ 'application/json': {
70649
+ error: {
70650
+ code: string;
70651
+ message: string;
70652
+ requestId?: string;
70653
+ };
70654
+ };
70655
+ };
70656
+ };
70657
+ /** @description Default Response */
70658
+ 403: {
70659
+ headers: {
70660
+ [name: string]: unknown;
70661
+ };
70662
+ content: {
70663
+ 'application/json': {
70664
+ error: {
70665
+ code: string;
70666
+ message: string;
70667
+ requestId?: string;
70668
+ };
70669
+ };
70670
+ };
70671
+ };
70672
+ /** @description Default Response */
70673
+ 404: {
70674
+ headers: {
70675
+ [name: string]: unknown;
70676
+ };
70677
+ content: {
70678
+ 'application/json': {
70679
+ error: {
70680
+ code: string;
70681
+ message: string;
70682
+ requestId?: string;
70683
+ };
70684
+ };
70685
+ };
70686
+ };
70687
+ /** @description Default Response */
70688
+ 409: {
70689
+ headers: {
70690
+ [name: string]: unknown;
70691
+ };
70692
+ content: {
70693
+ 'application/json': {
70694
+ error: {
70695
+ code: string;
70696
+ message: string;
70697
+ requestId?: string;
70698
+ };
70699
+ };
70700
+ };
70701
+ };
70702
+ /** @description Default Response */
70703
+ 503: {
70704
+ headers: {
70705
+ [name: string]: unknown;
70706
+ };
70707
+ content: {
70708
+ 'application/json': {
70709
+ error: {
70710
+ code: string;
70711
+ message: string;
70712
+ requestId?: string;
70713
+ };
70714
+ };
70715
+ };
70716
+ };
70717
+ };
70718
+ };
70719
+ delete?: never;
70720
+ options?: never;
70721
+ head?: never;
70722
+ patch?: never;
70723
+ trace?: never;
70724
+ };
70725
+ '/tenants/{tenantCode}/event-exchanges/receipt': {
70726
+ parameters: {
70727
+ query?: never;
70728
+ header?: never;
70729
+ path?: never;
70730
+ cookie?: never;
70731
+ };
70732
+ get: {
70733
+ parameters: {
70734
+ query: {
70735
+ requestId: string;
70736
+ };
70737
+ header?: never;
70738
+ path: {
70739
+ tenantCode: string;
70740
+ };
70741
+ cookie?: never;
70742
+ };
70743
+ requestBody?: never;
70744
+ responses: {
70745
+ /** @description Default Response */
70746
+ 200: {
70747
+ headers: {
70748
+ [name: string]: unknown;
70749
+ };
70750
+ content: {
70751
+ 'application/json': {
70752
+ /** @enum {number} */
70753
+ schemaVersion: 1;
70754
+ requestId: string;
70755
+ result: {
70756
+ /** @enum {number} */
70757
+ schemaVersion: 1;
70758
+ connectionRef: string;
70759
+ revision: number;
70760
+ /** @enum {string} */
70761
+ direction: 'OUTBOUND' | 'RECEIVE';
70762
+ /** @enum {string} */
70763
+ status: 'ACTIVE' | 'REVOKED';
70764
+ grantRef: string;
70765
+ grantVersion: number;
70766
+ eventType?: string;
70767
+ } | null;
70768
+ };
70769
+ };
70770
+ };
70771
+ /** @description Default Response */
70772
+ 400: {
70773
+ headers: {
70774
+ [name: string]: unknown;
70775
+ };
70776
+ content: {
70777
+ 'application/json': {
70778
+ error: {
70779
+ code: string;
70780
+ message: string;
70781
+ requestId?: string;
70782
+ };
70783
+ };
70784
+ };
70785
+ };
70786
+ /** @description Default Response */
70787
+ 401: {
70788
+ headers: {
70789
+ [name: string]: unknown;
70790
+ };
70791
+ content: {
70792
+ 'application/json': {
70793
+ error: {
70794
+ code: string;
70795
+ message: string;
70796
+ requestId?: string;
70797
+ };
70798
+ };
70799
+ };
70800
+ };
70801
+ /** @description Default Response */
70802
+ 403: {
70803
+ headers: {
70804
+ [name: string]: unknown;
70805
+ };
70806
+ content: {
70807
+ 'application/json': {
70808
+ error: {
70809
+ code: string;
70810
+ message: string;
70811
+ requestId?: string;
70812
+ };
70813
+ };
70814
+ };
70815
+ };
70816
+ /** @description Default Response */
70817
+ 404: {
70818
+ headers: {
70819
+ [name: string]: unknown;
70820
+ };
70821
+ content: {
70822
+ 'application/json': {
70823
+ error: {
70824
+ code: string;
70825
+ message: string;
70826
+ requestId?: string;
70827
+ };
70828
+ };
70829
+ };
70830
+ };
70831
+ /** @description Default Response */
70832
+ 409: {
70833
+ headers: {
70834
+ [name: string]: unknown;
70835
+ };
70836
+ content: {
70837
+ 'application/json': {
70838
+ error: {
70839
+ code: string;
70840
+ message: string;
70841
+ requestId?: string;
70842
+ };
70843
+ };
70844
+ };
70845
+ };
70846
+ /** @description Default Response */
70847
+ 503: {
70848
+ headers: {
70849
+ [name: string]: unknown;
70850
+ };
70851
+ content: {
70852
+ 'application/json': {
70853
+ error: {
70854
+ code: string;
70855
+ message: string;
70856
+ requestId?: string;
70857
+ };
70858
+ };
70859
+ };
70860
+ };
70861
+ };
70862
+ };
70863
+ put?: never;
70864
+ post?: never;
70865
+ delete?: never;
70866
+ options?: never;
70867
+ head?: never;
70868
+ patch?: never;
70869
+ trace?: never;
70870
+ };
70871
+ '/tenants/{tenantCode}/knowledge/discovery/refresh': {
70872
+ parameters: {
70873
+ query?: never;
70874
+ header?: never;
70875
+ path?: never;
70876
+ cookie?: never;
70877
+ };
70878
+ get: {
70879
+ parameters: {
70880
+ query?: never;
70881
+ header?: never;
70882
+ path: {
70883
+ tenantCode: string;
70884
+ };
70885
+ cookie?: never;
70886
+ };
70887
+ requestBody?: never;
70888
+ responses: {
70889
+ /** @description Default Response */
70890
+ 200: {
70891
+ headers: {
70892
+ [name: string]: unknown;
70893
+ };
70894
+ content: {
70895
+ '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;
70911
+ };
70912
+ };
70913
+ };
70914
+ /** @description Default Response */
70915
+ 400: {
70916
+ headers: {
70917
+ [name: string]: unknown;
70918
+ };
70919
+ content: {
70920
+ 'application/json': {
70921
+ error: {
70922
+ code: string;
70923
+ message: string;
70924
+ requestId?: string;
70925
+ };
70926
+ };
70927
+ };
70928
+ };
70929
+ /** @description Default Response */
70930
+ 401: {
70931
+ headers: {
70932
+ [name: string]: unknown;
70933
+ };
70934
+ content: {
70935
+ 'application/json': {
70936
+ error: {
70937
+ code: string;
70938
+ message: string;
70939
+ requestId?: string;
70940
+ };
70941
+ };
70942
+ };
70943
+ };
70944
+ /** @description Default Response */
70945
+ 403: {
70946
+ headers: {
70947
+ [name: string]: unknown;
70948
+ };
70949
+ content: {
70950
+ 'application/json': {
70951
+ error: {
70952
+ code: string;
70953
+ message: string;
70954
+ requestId?: string;
70955
+ };
70956
+ };
70957
+ };
70958
+ };
70959
+ /** @description Default Response */
70960
+ 404: {
70961
+ headers: {
70962
+ [name: string]: unknown;
70963
+ };
70964
+ content: {
70965
+ 'application/json': {
70966
+ error: {
70967
+ code: string;
70968
+ message: string;
70969
+ requestId?: string;
70970
+ };
70971
+ };
70972
+ };
70973
+ };
70974
+ /** @description Default Response */
70975
+ 409: {
70976
+ headers: {
70977
+ [name: string]: unknown;
70978
+ };
70979
+ content: {
70980
+ 'application/json': {
70981
+ error: {
70982
+ code: string;
70983
+ message: string;
70984
+ requestId?: string;
70985
+ };
70986
+ };
70987
+ };
70988
+ };
70989
+ /** @description Default Response */
70990
+ 503: {
70991
+ headers: {
70992
+ [name: string]: unknown;
70993
+ };
70994
+ content: {
70995
+ 'application/json': {
70996
+ error: {
70997
+ code: string;
70998
+ message: string;
70999
+ requestId?: string;
71000
+ };
71001
+ };
71002
+ };
71003
+ };
71004
+ };
71005
+ };
71006
+ put?: never;
71007
+ post?: never;
71008
+ delete?: never;
71009
+ options?: never;
71010
+ head?: never;
71011
+ patch?: never;
71012
+ trace?: never;
71013
+ };
71014
+ '/tenants/{tenantCode}/event-exchanges/outbox': {
71015
+ parameters: {
71016
+ query?: never;
71017
+ header?: never;
71018
+ path?: never;
71019
+ cookie?: never;
71020
+ };
71021
+ get: {
71022
+ parameters: {
71023
+ query?: {
71024
+ after?: string;
71025
+ limit?: number;
71026
+ };
71027
+ header?: never;
71028
+ path: {
71029
+ tenantCode: string;
71030
+ };
71031
+ cookie?: never;
71032
+ };
71033
+ requestBody?: never;
71034
+ responses: {
71035
+ /** @description Default Response */
71036
+ 200: {
71037
+ headers: {
71038
+ [name: string]: unknown;
71039
+ };
71040
+ content: {
71041
+ 'application/json': {
71042
+ /** @enum {number} */
71043
+ schemaVersion: 1;
71044
+ items: {
71045
+ source: string;
71046
+ id: string;
71047
+ deliveryid: string;
71048
+ /** @enum {string} */
71049
+ status: 'PENDING' | 'UNKNOWN' | 'PUBLISHED' | 'HOLD';
71050
+ generation: number;
71051
+ attempt: number;
71052
+ nextAttemptAt: number;
71053
+ reasonCode: string | null;
71054
+ queuedAt?: number | null;
71055
+ }[];
71056
+ 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
+ };
71126
+ };
71127
+ };
71128
+ };
71129
+ /** @description Default Response */
71130
+ 400: {
71131
+ headers: {
71132
+ [name: string]: unknown;
71133
+ };
71134
+ content: {
71135
+ 'application/json': {
71136
+ error: {
71137
+ code: string;
71138
+ message: string;
71139
+ requestId?: string;
71140
+ };
71141
+ };
71142
+ };
71143
+ };
71144
+ /** @description Default Response */
71145
+ 401: {
71146
+ headers: {
71147
+ [name: string]: unknown;
71148
+ };
71149
+ content: {
71150
+ 'application/json': {
71151
+ error: {
71152
+ code: string;
71153
+ message: string;
71154
+ requestId?: string;
71155
+ };
71156
+ };
71157
+ };
71158
+ };
71159
+ /** @description Default Response */
71160
+ 403: {
71161
+ headers: {
71162
+ [name: string]: unknown;
71163
+ };
71164
+ content: {
71165
+ 'application/json': {
71166
+ error: {
71167
+ code: string;
71168
+ message: string;
71169
+ requestId?: string;
71170
+ };
71171
+ };
71172
+ };
71173
+ };
71174
+ /** @description Default Response */
71175
+ 404: {
71176
+ headers: {
71177
+ [name: string]: unknown;
71178
+ };
71179
+ content: {
71180
+ 'application/json': {
71181
+ error: {
71182
+ code: string;
71183
+ message: string;
71184
+ requestId?: string;
71185
+ };
71186
+ };
71187
+ };
71188
+ };
71189
+ /** @description Default Response */
71190
+ 409: {
71191
+ headers: {
71192
+ [name: string]: unknown;
71193
+ };
71194
+ content: {
71195
+ 'application/json': {
71196
+ error: {
71197
+ code: string;
71198
+ message: string;
71199
+ requestId?: string;
71200
+ };
71201
+ };
71202
+ };
71203
+ };
71204
+ /** @description Default Response */
71205
+ 503: {
71206
+ headers: {
71207
+ [name: string]: unknown;
71208
+ };
71209
+ content: {
71210
+ 'application/json': {
71211
+ error: {
71212
+ code: string;
71213
+ message: string;
71214
+ requestId?: string;
71215
+ };
71216
+ };
71217
+ };
71218
+ };
71219
+ };
71220
+ };
71221
+ put?: never;
71222
+ post?: never;
71223
+ delete?: never;
71224
+ options?: never;
71225
+ head?: never;
71226
+ patch?: never;
71227
+ trace?: never;
71228
+ };
71229
+ '/tenants/{tenantCode}/event-exchanges/outbox/recover': {
71230
+ parameters: {
71231
+ query?: never;
71232
+ header?: never;
71233
+ path?: never;
71234
+ cookie?: never;
71235
+ };
71236
+ get?: never;
71237
+ put?: never;
71238
+ post: {
71239
+ parameters: {
71240
+ query?: never;
71241
+ header?: never;
71242
+ path: {
71243
+ tenantCode: string;
71244
+ };
71245
+ cookie?: never;
71246
+ };
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
+ };
71261
+ responses: {
71262
+ /** @description Default Response */
71263
+ 200: {
71264
+ headers: {
71265
+ [name: string]: unknown;
71266
+ };
71267
+ content: {
71268
+ 'application/json': {
71269
+ source: string;
71270
+ id: string;
71271
+ deliveryid: string;
71272
+ /** @enum {number} */
71273
+ schemaVersion: 1;
71274
+ requestId: string;
71275
+ /** @enum {string} */
71276
+ status: 'REQUEUED';
71277
+ generation: number;
71278
+ attempt: number;
71279
+ previousReasonCode: string | null;
71280
+ };
71281
+ };
71282
+ };
71283
+ /** @description Default Response */
71284
+ 400: {
71285
+ headers: {
71286
+ [name: string]: unknown;
71287
+ };
71288
+ content: {
71289
+ 'application/json': {
71290
+ error: {
71291
+ code: string;
71292
+ message: string;
71293
+ requestId?: string;
71294
+ };
71295
+ };
71296
+ };
71297
+ };
71298
+ /** @description Default Response */
71299
+ 401: {
71300
+ headers: {
71301
+ [name: string]: unknown;
71302
+ };
71303
+ content: {
71304
+ 'application/json': {
71305
+ error: {
71306
+ code: string;
71307
+ message: string;
71308
+ requestId?: string;
71309
+ };
71310
+ };
71311
+ };
71312
+ };
71313
+ /** @description Default Response */
71314
+ 403: {
71315
+ headers: {
71316
+ [name: string]: unknown;
71317
+ };
71318
+ content: {
71319
+ 'application/json': {
71320
+ error: {
71321
+ code: string;
71322
+ message: string;
71323
+ requestId?: string;
71324
+ };
71325
+ };
71326
+ };
71327
+ };
71328
+ /** @description Default Response */
71329
+ 404: {
71330
+ headers: {
71331
+ [name: string]: unknown;
71332
+ };
71333
+ content: {
71334
+ 'application/json': {
71335
+ error: {
71336
+ code: string;
71337
+ message: string;
71338
+ requestId?: string;
71339
+ };
71340
+ };
71341
+ };
71342
+ };
71343
+ /** @description Default Response */
71344
+ 409: {
71345
+ headers: {
71346
+ [name: string]: unknown;
71347
+ };
71348
+ content: {
71349
+ 'application/json': {
71350
+ error: {
71351
+ code: string;
71352
+ message: string;
71353
+ requestId?: string;
71354
+ };
71355
+ };
71356
+ };
71357
+ };
71358
+ /** @description Default Response */
71359
+ 503: {
71360
+ headers: {
71361
+ [name: string]: unknown;
71362
+ };
71363
+ content: {
71364
+ 'application/json': {
71365
+ error: {
71366
+ code: string;
71367
+ message: string;
71368
+ requestId?: string;
71369
+ };
71370
+ };
71371
+ };
71372
+ };
71373
+ };
71374
+ };
71375
+ delete?: never;
71376
+ options?: never;
71377
+ head?: never;
71378
+ patch?: never;
71379
+ trace?: never;
71380
+ };
71381
+ '/tenants/{tenantCode}/event-exchanges/outbox/receipt': {
71382
+ parameters: {
71383
+ query?: never;
71384
+ header?: never;
71385
+ path?: never;
71386
+ cookie?: never;
71387
+ };
71388
+ get: {
71389
+ parameters: {
71390
+ query: {
71391
+ requestId: string;
71392
+ };
71393
+ header?: never;
71394
+ path: {
71395
+ tenantCode: string;
71396
+ };
71397
+ cookie?: never;
71398
+ };
71399
+ requestBody?: never;
71400
+ responses: {
71401
+ /** @description Default Response */
71402
+ 200: {
71403
+ headers: {
71404
+ [name: string]: unknown;
71405
+ };
71406
+ content: {
71407
+ 'application/json': {
71408
+ /** @enum {number} */
71409
+ schemaVersion: 1;
71410
+ requestId: string;
71411
+ result: {
71412
+ source: string;
71413
+ id: string;
71414
+ deliveryid: string;
71415
+ /** @enum {number} */
71416
+ schemaVersion: 1;
71417
+ requestId: string;
71418
+ /** @enum {string} */
71419
+ status: 'REQUEUED';
71420
+ generation: number;
71421
+ attempt: number;
71422
+ previousReasonCode: string | null;
71423
+ } | null;
71424
+ };
71425
+ };
71426
+ };
71427
+ /** @description Default Response */
71428
+ 400: {
71429
+ headers: {
71430
+ [name: string]: unknown;
71431
+ };
71432
+ content: {
71433
+ 'application/json': {
71434
+ error: {
71435
+ code: string;
71436
+ message: string;
71437
+ requestId?: string;
71438
+ };
71439
+ };
71440
+ };
71441
+ };
71442
+ /** @description Default Response */
71443
+ 401: {
71444
+ headers: {
71445
+ [name: string]: unknown;
71446
+ };
71447
+ content: {
71448
+ 'application/json': {
71449
+ error: {
71450
+ code: string;
71451
+ message: string;
71452
+ requestId?: string;
71453
+ };
71454
+ };
71455
+ };
71456
+ };
71457
+ /** @description Default Response */
71458
+ 403: {
71459
+ headers: {
71460
+ [name: string]: unknown;
71461
+ };
71462
+ content: {
71463
+ 'application/json': {
71464
+ error: {
71465
+ code: string;
71466
+ message: string;
71467
+ requestId?: string;
71468
+ };
71469
+ };
71470
+ };
71471
+ };
71472
+ /** @description Default Response */
71473
+ 404: {
71474
+ headers: {
71475
+ [name: string]: unknown;
71476
+ };
71477
+ content: {
71478
+ 'application/json': {
71479
+ error: {
71480
+ code: string;
71481
+ message: string;
71482
+ requestId?: string;
71483
+ };
71484
+ };
71485
+ };
71486
+ };
71487
+ /** @description Default Response */
71488
+ 409: {
71489
+ headers: {
71490
+ [name: string]: unknown;
71491
+ };
71492
+ content: {
71493
+ 'application/json': {
71494
+ error: {
71495
+ code: string;
71496
+ message: string;
71497
+ requestId?: string;
71498
+ };
71499
+ };
71500
+ };
71501
+ };
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
+ };
71518
+ };
71519
+ put?: never;
71520
+ post?: never;
71521
+ delete?: never;
71522
+ options?: never;
71523
+ head?: never;
71524
+ patch?: never;
71525
+ trace?: never;
71526
+ };
70441
71527
  }
70442
71528
  export type webhooks = Record<string, never>;
70443
71529
  export interface components {