@company-semantics/contracts 79.0.0 → 79.2.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.
package/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
|
|
2
|
-
export const SPEC_HASH = '
|
|
3
|
-
export const SPEC_HASH_FULL = '
|
|
2
|
+
export const SPEC_HASH = 'c8b7d9ff0c4f' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = 'c8b7d9ff0c4fda27f5db2cc4afa34e2b80015a930d36e2a6d5106987285b503a' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -1666,6 +1666,46 @@ export interface paths {
|
|
|
1666
1666
|
patch?: never;
|
|
1667
1667
|
trace?: never;
|
|
1668
1668
|
};
|
|
1669
|
+
"/api/analysis-workflows/{id}": {
|
|
1670
|
+
parameters: {
|
|
1671
|
+
query?: never;
|
|
1672
|
+
header?: never;
|
|
1673
|
+
path?: never;
|
|
1674
|
+
cookie?: never;
|
|
1675
|
+
};
|
|
1676
|
+
/**
|
|
1677
|
+
* Read one analysis workflow’s generic lifecycle envelope
|
|
1678
|
+
* @description The domain-agnostic projection a client polls: identity, registered type, activity-free lifecycle state, start and completion times, the opaque domain progress and result payloads (null until the domain adapter supplies them), a closed failure class on a failed workflow, and the capabilities the surface may offer — canStop from the generic layer, canContinue as the domain declares it. Org-scoped: a workflow in another workspace answers 404.
|
|
1679
|
+
*/
|
|
1680
|
+
get: operations["getAnalysisWorkflow"];
|
|
1681
|
+
put?: never;
|
|
1682
|
+
post?: never;
|
|
1683
|
+
delete?: never;
|
|
1684
|
+
options?: never;
|
|
1685
|
+
head?: never;
|
|
1686
|
+
patch?: never;
|
|
1687
|
+
trace?: never;
|
|
1688
|
+
};
|
|
1689
|
+
"/api/analysis-workflows/{id}/stop": {
|
|
1690
|
+
parameters: {
|
|
1691
|
+
query?: never;
|
|
1692
|
+
header?: never;
|
|
1693
|
+
path?: never;
|
|
1694
|
+
cookie?: never;
|
|
1695
|
+
};
|
|
1696
|
+
get?: never;
|
|
1697
|
+
put?: never;
|
|
1698
|
+
/**
|
|
1699
|
+
* Request that an analysis workflow stop at its next safe boundary
|
|
1700
|
+
* @description The one generic COMMAND. Records a cooperative stop request and moves a pending or running workflow to draining; nothing is aborted — the worker halts at a boundary the domain chooses. Answers 202 (acknowledged, not landed) when the request was accepted, and 200 with { stopped: false, reason: "not_running" } when the workflow is already draining or already settled, because a retry against a stopped workflow is a success. Runtime posture: intent write, impersonation allow (a stop only reduces spend). Org-scoped: a workflow in another workspace answers 404.
|
|
1701
|
+
*/
|
|
1702
|
+
post: operations["stopAnalysisWorkflow"];
|
|
1703
|
+
delete?: never;
|
|
1704
|
+
options?: never;
|
|
1705
|
+
head?: never;
|
|
1706
|
+
patch?: never;
|
|
1707
|
+
trace?: never;
|
|
1708
|
+
};
|
|
1669
1709
|
"/api/company-md/tree": {
|
|
1670
1710
|
parameters: {
|
|
1671
1711
|
query?: never;
|
|
@@ -4589,6 +4629,30 @@ export interface paths {
|
|
|
4589
4629
|
patch?: never;
|
|
4590
4630
|
trace?: never;
|
|
4591
4631
|
};
|
|
4632
|
+
"/api/source-sync/settings": {
|
|
4633
|
+
parameters: {
|
|
4634
|
+
query?: never;
|
|
4635
|
+
header?: never;
|
|
4636
|
+
path?: never;
|
|
4637
|
+
cookie?: never;
|
|
4638
|
+
};
|
|
4639
|
+
/**
|
|
4640
|
+
* Read whether Source Sync is on for the org
|
|
4641
|
+
* @description The org switch every Source Sync route, job and sweep gates on, and who last changed it and when. Off until an admin turns it on.
|
|
4642
|
+
*/
|
|
4643
|
+
get: operations["getSourceSyncSettings"];
|
|
4644
|
+
/**
|
|
4645
|
+
* Switch Source Sync on or off for the org
|
|
4646
|
+
* @description On lets Source Sync search the connected Drive and propose company.md updates for review. Off pauses it: nothing is read or run, and nothing already brought in is deleted. The caller is recorded as the person who changed it.
|
|
4647
|
+
*/
|
|
4648
|
+
put: operations["putSourceSyncSettings"];
|
|
4649
|
+
post?: never;
|
|
4650
|
+
delete?: never;
|
|
4651
|
+
options?: never;
|
|
4652
|
+
head?: never;
|
|
4653
|
+
patch?: never;
|
|
4654
|
+
trace?: never;
|
|
4655
|
+
};
|
|
4592
4656
|
}
|
|
4593
4657
|
export type webhooks = Record<string, never>;
|
|
4594
4658
|
export interface components {
|
|
@@ -6422,6 +6486,35 @@ export interface components {
|
|
|
6422
6486
|
fingerprint: string;
|
|
6423
6487
|
note?: string;
|
|
6424
6488
|
};
|
|
6489
|
+
AnalysisWorkflowProjectionResponse: {
|
|
6490
|
+
/** Format: uuid */
|
|
6491
|
+
id: string;
|
|
6492
|
+
type: string;
|
|
6493
|
+
/** @enum {string} */
|
|
6494
|
+
state: "pending" | "running" | "draining" | "stopped" | "complete" | "failed";
|
|
6495
|
+
startedAt: string | null;
|
|
6496
|
+
completedAt: string | null;
|
|
6497
|
+
progress: unknown | null;
|
|
6498
|
+
result: unknown | null;
|
|
6499
|
+
error?: string;
|
|
6500
|
+
capabilities: {
|
|
6501
|
+
canStop: boolean;
|
|
6502
|
+
canContinue: boolean;
|
|
6503
|
+
};
|
|
6504
|
+
};
|
|
6505
|
+
StopAnalysisWorkflowResponse: {
|
|
6506
|
+
/** @constant */
|
|
6507
|
+
stopped: true;
|
|
6508
|
+
/** Format: uuid */
|
|
6509
|
+
workflowId: string;
|
|
6510
|
+
/** @constant */
|
|
6511
|
+
state: "draining";
|
|
6512
|
+
} | {
|
|
6513
|
+
/** @constant */
|
|
6514
|
+
stopped: false;
|
|
6515
|
+
/** @constant */
|
|
6516
|
+
reason: "not_running";
|
|
6517
|
+
};
|
|
6425
6518
|
CompanyMdListResponse: {
|
|
6426
6519
|
items: {
|
|
6427
6520
|
id: string;
|
|
@@ -9296,6 +9389,14 @@ export interface components {
|
|
|
9296
9389
|
/** @constant */
|
|
9297
9390
|
confirm: true;
|
|
9298
9391
|
};
|
|
9392
|
+
SourceSyncSettingsResponse: {
|
|
9393
|
+
enabled: boolean;
|
|
9394
|
+
changedAt: string | null;
|
|
9395
|
+
changedByLabel: string | null;
|
|
9396
|
+
};
|
|
9397
|
+
SourceSyncPutSettingsRequest: {
|
|
9398
|
+
enabled: boolean;
|
|
9399
|
+
};
|
|
9299
9400
|
/** @description Server-enforced collaboration size limits, published so clients can pre-check. */
|
|
9300
9401
|
CollabSyncLimits: {
|
|
9301
9402
|
maxUpdateBytes: number;
|
|
@@ -12089,6 +12190,87 @@ export interface operations {
|
|
|
12089
12190
|
};
|
|
12090
12191
|
};
|
|
12091
12192
|
};
|
|
12193
|
+
getAnalysisWorkflow: {
|
|
12194
|
+
parameters: {
|
|
12195
|
+
query?: never;
|
|
12196
|
+
header?: never;
|
|
12197
|
+
path: {
|
|
12198
|
+
id: string;
|
|
12199
|
+
};
|
|
12200
|
+
cookie?: never;
|
|
12201
|
+
};
|
|
12202
|
+
requestBody?: never;
|
|
12203
|
+
responses: {
|
|
12204
|
+
/** @description The workflow’s lifecycle envelope with its capabilities */
|
|
12205
|
+
200: {
|
|
12206
|
+
headers: {
|
|
12207
|
+
[name: string]: unknown;
|
|
12208
|
+
};
|
|
12209
|
+
content: {
|
|
12210
|
+
"application/json": components["schemas"]["AnalysisWorkflowProjectionResponse"];
|
|
12211
|
+
};
|
|
12212
|
+
};
|
|
12213
|
+
/** @description The workflow id is not a uuid */
|
|
12214
|
+
400: {
|
|
12215
|
+
headers: {
|
|
12216
|
+
[name: string]: unknown;
|
|
12217
|
+
};
|
|
12218
|
+
content?: never;
|
|
12219
|
+
};
|
|
12220
|
+
/** @description No such workflow in this workspace */
|
|
12221
|
+
404: {
|
|
12222
|
+
headers: {
|
|
12223
|
+
[name: string]: unknown;
|
|
12224
|
+
};
|
|
12225
|
+
content?: never;
|
|
12226
|
+
};
|
|
12227
|
+
};
|
|
12228
|
+
};
|
|
12229
|
+
stopAnalysisWorkflow: {
|
|
12230
|
+
parameters: {
|
|
12231
|
+
query?: never;
|
|
12232
|
+
header?: never;
|
|
12233
|
+
path: {
|
|
12234
|
+
id: string;
|
|
12235
|
+
};
|
|
12236
|
+
cookie?: never;
|
|
12237
|
+
};
|
|
12238
|
+
requestBody?: never;
|
|
12239
|
+
responses: {
|
|
12240
|
+
/** @description Nothing to stop: the workflow is not running */
|
|
12241
|
+
200: {
|
|
12242
|
+
headers: {
|
|
12243
|
+
[name: string]: unknown;
|
|
12244
|
+
};
|
|
12245
|
+
content: {
|
|
12246
|
+
"application/json": components["schemas"]["StopAnalysisWorkflowResponse"];
|
|
12247
|
+
};
|
|
12248
|
+
};
|
|
12249
|
+
/** @description Stop requested; the workflow is draining */
|
|
12250
|
+
202: {
|
|
12251
|
+
headers: {
|
|
12252
|
+
[name: string]: unknown;
|
|
12253
|
+
};
|
|
12254
|
+
content: {
|
|
12255
|
+
"application/json": components["schemas"]["StopAnalysisWorkflowResponse"];
|
|
12256
|
+
};
|
|
12257
|
+
};
|
|
12258
|
+
/** @description The workflow id is not a uuid */
|
|
12259
|
+
400: {
|
|
12260
|
+
headers: {
|
|
12261
|
+
[name: string]: unknown;
|
|
12262
|
+
};
|
|
12263
|
+
content?: never;
|
|
12264
|
+
};
|
|
12265
|
+
/** @description No such workflow in this workspace */
|
|
12266
|
+
404: {
|
|
12267
|
+
headers: {
|
|
12268
|
+
[name: string]: unknown;
|
|
12269
|
+
};
|
|
12270
|
+
content?: never;
|
|
12271
|
+
};
|
|
12272
|
+
};
|
|
12273
|
+
};
|
|
12092
12274
|
getCompanyMdTree: {
|
|
12093
12275
|
parameters: {
|
|
12094
12276
|
query?: {
|
|
@@ -17248,14 +17430,7 @@ export interface operations {
|
|
|
17248
17430
|
"application/json": components["schemas"]["SourceSyncDiscoveryRunResponse"];
|
|
17249
17431
|
};
|
|
17250
17432
|
};
|
|
17251
|
-
/** @description Source Sync is
|
|
17252
|
-
404: {
|
|
17253
|
-
headers: {
|
|
17254
|
-
[name: string]: unknown;
|
|
17255
|
-
};
|
|
17256
|
-
content?: never;
|
|
17257
|
-
};
|
|
17258
|
-
/** @description The org has no active Google Drive connection (SOURCE_SYNC_DRIVE_NOT_CONNECTED), or a discovery run is already running (SOURCE_DISCOVERY_ALREADY_RUNNING) */
|
|
17433
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF), or The org has no active Google Drive connection (SOURCE_SYNC_DRIVE_NOT_CONNECTED), or a discovery run is already running (SOURCE_DISCOVERY_ALREADY_RUNNING) */
|
|
17259
17434
|
409: {
|
|
17260
17435
|
headers: {
|
|
17261
17436
|
[name: string]: unknown;
|
|
@@ -17282,13 +17457,20 @@ export interface operations {
|
|
|
17282
17457
|
"application/json": components["schemas"]["SourceSyncCandidateSetResponse"];
|
|
17283
17458
|
};
|
|
17284
17459
|
};
|
|
17285
|
-
/** @description
|
|
17460
|
+
/** @description The org has no draft candidate set */
|
|
17286
17461
|
404: {
|
|
17287
17462
|
headers: {
|
|
17288
17463
|
[name: string]: unknown;
|
|
17289
17464
|
};
|
|
17290
17465
|
content?: never;
|
|
17291
17466
|
};
|
|
17467
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF) */
|
|
17468
|
+
409: {
|
|
17469
|
+
headers: {
|
|
17470
|
+
[name: string]: unknown;
|
|
17471
|
+
};
|
|
17472
|
+
content?: never;
|
|
17473
|
+
};
|
|
17292
17474
|
};
|
|
17293
17475
|
};
|
|
17294
17476
|
patchSourceCandidateItem: {
|
|
@@ -17330,14 +17512,14 @@ export interface operations {
|
|
|
17330
17512
|
};
|
|
17331
17513
|
content?: never;
|
|
17332
17514
|
};
|
|
17333
|
-
/** @description
|
|
17515
|
+
/** @description The set, item or target document is not the org’s */
|
|
17334
17516
|
404: {
|
|
17335
17517
|
headers: {
|
|
17336
17518
|
[name: string]: unknown;
|
|
17337
17519
|
};
|
|
17338
17520
|
content?: never;
|
|
17339
17521
|
};
|
|
17340
|
-
/** @description The set is no longer a draft (SOURCE_SYNC_CANDIDATE_SET_NOT_DRAFT), or the item’s scope was already approved (SOURCE_SYNC_CANDIDATE_ITEM_FROZEN) */
|
|
17522
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF), or The set is no longer a draft (SOURCE_SYNC_CANDIDATE_SET_NOT_DRAFT), or the item’s scope was already approved (SOURCE_SYNC_CANDIDATE_ITEM_FROZEN) */
|
|
17341
17523
|
409: {
|
|
17342
17524
|
headers: {
|
|
17343
17525
|
[name: string]: unknown;
|
|
@@ -17377,14 +17559,14 @@ export interface operations {
|
|
|
17377
17559
|
"application/json": components["schemas"]["SourceSyncCandidateSetResponse"];
|
|
17378
17560
|
};
|
|
17379
17561
|
};
|
|
17380
|
-
/** @description
|
|
17562
|
+
/** @description The set, the file or the target document is not the org’s */
|
|
17381
17563
|
404: {
|
|
17382
17564
|
headers: {
|
|
17383
17565
|
[name: string]: unknown;
|
|
17384
17566
|
};
|
|
17385
17567
|
content?: never;
|
|
17386
17568
|
};
|
|
17387
|
-
/** @description No active Google Drive connection (SOURCE_SYNC_DRIVE_NOT_CONNECTED), the set is no longer a draft (SOURCE_SYNC_CANDIDATE_SET_NOT_DRAFT), or the file is already on the list for that document (SOURCE_SYNC_CANDIDATE_ALREADY_IN_SET) */
|
|
17569
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF), or No active Google Drive connection (SOURCE_SYNC_DRIVE_NOT_CONNECTED), the set is no longer a draft (SOURCE_SYNC_CANDIDATE_SET_NOT_DRAFT), or the file is already on the list for that document (SOURCE_SYNC_CANDIDATE_ALREADY_IN_SET) */
|
|
17388
17570
|
409: {
|
|
17389
17571
|
headers: {
|
|
17390
17572
|
[name: string]: unknown;
|
|
@@ -17428,14 +17610,14 @@ export interface operations {
|
|
|
17428
17610
|
};
|
|
17429
17611
|
content?: never;
|
|
17430
17612
|
};
|
|
17431
|
-
/** @description
|
|
17613
|
+
/** @description The set is not the org’s */
|
|
17432
17614
|
404: {
|
|
17433
17615
|
headers: {
|
|
17434
17616
|
[name: string]: unknown;
|
|
17435
17617
|
};
|
|
17436
17618
|
content?: never;
|
|
17437
17619
|
};
|
|
17438
|
-
/** @description Stale revision (SOURCE_SYNC_CANDIDATE_SET_STALE), an unresolved widening (SOURCE_SYNC_TREATMENT_UNRESOLVED), a file with no document (SOURCE_SYNC_TARGET_UNRESOLVED), a scope already approved (SOURCE_SYNC_SCOPE_ALREADY_APPROVED), or a set no longer a draft (SOURCE_SYNC_CANDIDATE_SET_NOT_DRAFT) */
|
|
17620
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF), or Stale revision (SOURCE_SYNC_CANDIDATE_SET_STALE), an unresolved widening (SOURCE_SYNC_TREATMENT_UNRESOLVED), a file with no document (SOURCE_SYNC_TARGET_UNRESOLVED), a scope already approved (SOURCE_SYNC_SCOPE_ALREADY_APPROVED), or a set no longer a draft (SOURCE_SYNC_CANDIDATE_SET_NOT_DRAFT) */
|
|
17439
17621
|
409: {
|
|
17440
17622
|
headers: {
|
|
17441
17623
|
[name: string]: unknown;
|
|
@@ -17462,8 +17644,8 @@ export interface operations {
|
|
|
17462
17644
|
"application/json": components["schemas"]["SourceSyncCurrentSynthesisResponse"];
|
|
17463
17645
|
};
|
|
17464
17646
|
};
|
|
17465
|
-
/** @description Source Sync is
|
|
17466
|
-
|
|
17647
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF) */
|
|
17648
|
+
409: {
|
|
17467
17649
|
headers: {
|
|
17468
17650
|
[name: string]: unknown;
|
|
17469
17651
|
};
|
|
@@ -17491,13 +17673,20 @@ export interface operations {
|
|
|
17491
17673
|
"application/json": components["schemas"]["SourceSyncSynthesisResponse"];
|
|
17492
17674
|
};
|
|
17493
17675
|
};
|
|
17494
|
-
/** @description
|
|
17676
|
+
/** @description The batch is not the org’s */
|
|
17495
17677
|
404: {
|
|
17496
17678
|
headers: {
|
|
17497
17679
|
[name: string]: unknown;
|
|
17498
17680
|
};
|
|
17499
17681
|
content?: never;
|
|
17500
17682
|
};
|
|
17683
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF) */
|
|
17684
|
+
409: {
|
|
17685
|
+
headers: {
|
|
17686
|
+
[name: string]: unknown;
|
|
17687
|
+
};
|
|
17688
|
+
content?: never;
|
|
17689
|
+
};
|
|
17501
17690
|
};
|
|
17502
17691
|
};
|
|
17503
17692
|
applySourceSynthesis: {
|
|
@@ -17537,14 +17726,14 @@ export interface operations {
|
|
|
17537
17726
|
};
|
|
17538
17727
|
content?: never;
|
|
17539
17728
|
};
|
|
17540
|
-
/** @description
|
|
17729
|
+
/** @description The batch or an included change is not the org’s */
|
|
17541
17730
|
404: {
|
|
17542
17731
|
headers: {
|
|
17543
17732
|
[name: string]: unknown;
|
|
17544
17733
|
};
|
|
17545
17734
|
content?: never;
|
|
17546
17735
|
};
|
|
17547
|
-
/** @description An included document still has an open question (SOURCE_SYNC_DOC_BLOCKED), or the review or a change is no longer open to apply (SOURCE_SYNC_SYNTHESIS_NOT_OPEN) */
|
|
17736
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF), or An included document still has an open question (SOURCE_SYNC_DOC_BLOCKED), or the review or a change is no longer open to apply (SOURCE_SYNC_SYNTHESIS_NOT_OPEN) */
|
|
17548
17737
|
409: {
|
|
17549
17738
|
headers: {
|
|
17550
17739
|
[name: string]: unknown;
|
|
@@ -17571,8 +17760,8 @@ export interface operations {
|
|
|
17571
17760
|
"application/json": components["schemas"]["SourceSyncRulesResponse"];
|
|
17572
17761
|
};
|
|
17573
17762
|
};
|
|
17574
|
-
/** @description Source Sync is
|
|
17575
|
-
|
|
17763
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF) */
|
|
17764
|
+
409: {
|
|
17576
17765
|
headers: {
|
|
17577
17766
|
[name: string]: unknown;
|
|
17578
17767
|
};
|
|
@@ -17609,14 +17798,7 @@ export interface operations {
|
|
|
17609
17798
|
};
|
|
17610
17799
|
content?: never;
|
|
17611
17800
|
};
|
|
17612
|
-
/** @description Source Sync is
|
|
17613
|
-
404: {
|
|
17614
|
-
headers: {
|
|
17615
|
-
[name: string]: unknown;
|
|
17616
|
-
};
|
|
17617
|
-
content?: never;
|
|
17618
|
-
};
|
|
17619
|
-
/** @description An active rule already stands for this subject (SOURCE_SYNC_RULE_DUPLICATE); nothing changed */
|
|
17801
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF), or An active rule already stands for this subject (SOURCE_SYNC_RULE_DUPLICATE); nothing changed */
|
|
17620
17802
|
409: {
|
|
17621
17803
|
headers: {
|
|
17622
17804
|
[name: string]: unknown;
|
|
@@ -17645,13 +17827,20 @@ export interface operations {
|
|
|
17645
17827
|
"application/json": components["schemas"]["SourceSyncRule"];
|
|
17646
17828
|
};
|
|
17647
17829
|
};
|
|
17648
|
-
/** @description
|
|
17830
|
+
/** @description The rule is not the org’s or is already retired */
|
|
17649
17831
|
404: {
|
|
17650
17832
|
headers: {
|
|
17651
17833
|
[name: string]: unknown;
|
|
17652
17834
|
};
|
|
17653
17835
|
content?: never;
|
|
17654
17836
|
};
|
|
17837
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF) */
|
|
17838
|
+
409: {
|
|
17839
|
+
headers: {
|
|
17840
|
+
[name: string]: unknown;
|
|
17841
|
+
};
|
|
17842
|
+
content?: never;
|
|
17843
|
+
};
|
|
17655
17844
|
};
|
|
17656
17845
|
};
|
|
17657
17846
|
listSourceSyncFindings: {
|
|
@@ -17679,8 +17868,8 @@ export interface operations {
|
|
|
17679
17868
|
};
|
|
17680
17869
|
content?: never;
|
|
17681
17870
|
};
|
|
17682
|
-
/** @description Source Sync is
|
|
17683
|
-
|
|
17871
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF) */
|
|
17872
|
+
409: {
|
|
17684
17873
|
headers: {
|
|
17685
17874
|
[name: string]: unknown;
|
|
17686
17875
|
};
|
|
@@ -17726,14 +17915,14 @@ export interface operations {
|
|
|
17726
17915
|
};
|
|
17727
17916
|
content?: never;
|
|
17728
17917
|
};
|
|
17729
|
-
/** @description
|
|
17918
|
+
/** @description The finding is not the org’s or names no source */
|
|
17730
17919
|
404: {
|
|
17731
17920
|
headers: {
|
|
17732
17921
|
[name: string]: unknown;
|
|
17733
17922
|
};
|
|
17734
17923
|
content?: never;
|
|
17735
17924
|
};
|
|
17736
|
-
/** @description The finding already settled on its own (SOURCE_SYNC_FINDING_NOT_OPEN); nothing changed */
|
|
17925
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF), or The finding already settled on its own (SOURCE_SYNC_FINDING_NOT_OPEN); nothing changed */
|
|
17737
17926
|
409: {
|
|
17738
17927
|
headers: {
|
|
17739
17928
|
[name: string]: unknown;
|
|
@@ -17767,8 +17956,8 @@ export interface operations {
|
|
|
17767
17956
|
};
|
|
17768
17957
|
content?: never;
|
|
17769
17958
|
};
|
|
17770
|
-
/** @description Source Sync is
|
|
17771
|
-
|
|
17959
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF) */
|
|
17960
|
+
409: {
|
|
17772
17961
|
headers: {
|
|
17773
17962
|
[name: string]: unknown;
|
|
17774
17963
|
};
|
|
@@ -17814,8 +18003,8 @@ export interface operations {
|
|
|
17814
18003
|
};
|
|
17815
18004
|
content?: never;
|
|
17816
18005
|
};
|
|
17817
|
-
/** @description Source Sync is
|
|
17818
|
-
|
|
18006
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF) */
|
|
18007
|
+
409: {
|
|
17819
18008
|
headers: {
|
|
17820
18009
|
[name: string]: unknown;
|
|
17821
18010
|
};
|
|
@@ -17848,8 +18037,8 @@ export interface operations {
|
|
|
17848
18037
|
};
|
|
17849
18038
|
content?: never;
|
|
17850
18039
|
};
|
|
17851
|
-
/** @description Source Sync is
|
|
17852
|
-
|
|
18040
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF) */
|
|
18041
|
+
409: {
|
|
17853
18042
|
headers: {
|
|
17854
18043
|
[name: string]: unknown;
|
|
17855
18044
|
};
|
|
@@ -17893,22 +18082,80 @@ export interface operations {
|
|
|
17893
18082
|
};
|
|
17894
18083
|
content?: never;
|
|
17895
18084
|
};
|
|
17896
|
-
/** @description Source Sync is not
|
|
17897
|
-
|
|
18085
|
+
/** @description Source Sync is off for this org (SOURCE_SYNC_OFF), or Workspace-wide access is off or not set up, Drive is not connected or is not a Workspace account, reach is already domain, or Google did not accept the delegation */
|
|
18086
|
+
409: {
|
|
17898
18087
|
headers: {
|
|
17899
18088
|
[name: string]: unknown;
|
|
17900
18089
|
};
|
|
17901
18090
|
content?: never;
|
|
17902
18091
|
};
|
|
17903
|
-
/** @description
|
|
17904
|
-
|
|
18092
|
+
/** @description Google could not be reached to verify the delegation */
|
|
18093
|
+
502: {
|
|
17905
18094
|
headers: {
|
|
17906
18095
|
[name: string]: unknown;
|
|
17907
18096
|
};
|
|
17908
18097
|
content?: never;
|
|
17909
18098
|
};
|
|
17910
|
-
|
|
17911
|
-
|
|
18099
|
+
};
|
|
18100
|
+
};
|
|
18101
|
+
getSourceSyncSettings: {
|
|
18102
|
+
parameters: {
|
|
18103
|
+
query?: never;
|
|
18104
|
+
header?: never;
|
|
18105
|
+
path?: never;
|
|
18106
|
+
cookie?: never;
|
|
18107
|
+
};
|
|
18108
|
+
requestBody?: never;
|
|
18109
|
+
responses: {
|
|
18110
|
+
/** @description The org’s Source Sync switch */
|
|
18111
|
+
200: {
|
|
18112
|
+
headers: {
|
|
18113
|
+
[name: string]: unknown;
|
|
18114
|
+
};
|
|
18115
|
+
content: {
|
|
18116
|
+
"application/json": components["schemas"]["SourceSyncSettingsResponse"];
|
|
18117
|
+
};
|
|
18118
|
+
};
|
|
18119
|
+
/** @description The caller may not manage integrations */
|
|
18120
|
+
403: {
|
|
18121
|
+
headers: {
|
|
18122
|
+
[name: string]: unknown;
|
|
18123
|
+
};
|
|
18124
|
+
content?: never;
|
|
18125
|
+
};
|
|
18126
|
+
};
|
|
18127
|
+
};
|
|
18128
|
+
putSourceSyncSettings: {
|
|
18129
|
+
parameters: {
|
|
18130
|
+
query?: never;
|
|
18131
|
+
header?: never;
|
|
18132
|
+
path?: never;
|
|
18133
|
+
cookie?: never;
|
|
18134
|
+
};
|
|
18135
|
+
requestBody: {
|
|
18136
|
+
content: {
|
|
18137
|
+
"application/json": components["schemas"]["SourceSyncPutSettingsRequest"];
|
|
18138
|
+
};
|
|
18139
|
+
};
|
|
18140
|
+
responses: {
|
|
18141
|
+
/** @description The switch as it now stands */
|
|
18142
|
+
200: {
|
|
18143
|
+
headers: {
|
|
18144
|
+
[name: string]: unknown;
|
|
18145
|
+
};
|
|
18146
|
+
content: {
|
|
18147
|
+
"application/json": components["schemas"]["SourceSyncSettingsResponse"];
|
|
18148
|
+
};
|
|
18149
|
+
};
|
|
18150
|
+
/** @description Invalid body */
|
|
18151
|
+
400: {
|
|
18152
|
+
headers: {
|
|
18153
|
+
[name: string]: unknown;
|
|
18154
|
+
};
|
|
18155
|
+
content?: never;
|
|
18156
|
+
};
|
|
18157
|
+
/** @description The caller may not manage integrations */
|
|
18158
|
+
403: {
|
|
17912
18159
|
headers: {
|
|
17913
18160
|
[name: string]: unknown;
|
|
17914
18161
|
};
|
|
@@ -9,6 +9,8 @@ export const openApiRoutes = {
|
|
|
9
9
|
'/api/account/deletion-eligibility': ['GET'],
|
|
10
10
|
'/api/account/sessions': ['GET'],
|
|
11
11
|
'/api/account/sessions/{sessionId}': ['DELETE'],
|
|
12
|
+
'/api/analysis-workflows/{id}': ['GET'],
|
|
13
|
+
'/api/analysis-workflows/{id}/stop': ['POST'],
|
|
12
14
|
'/api/auth/consent/grant': ['POST'],
|
|
13
15
|
'/api/billing/price-list': ['GET'],
|
|
14
16
|
'/api/capabilities': ['GET'],
|
|
@@ -191,6 +193,7 @@ export const openApiRoutes = {
|
|
|
191
193
|
'/api/source-sync/reach/upgrade': ['POST'],
|
|
192
194
|
'/api/source-sync/rules': ['GET', 'POST'],
|
|
193
195
|
'/api/source-sync/rules/{ruleId}/retire': ['POST'],
|
|
196
|
+
'/api/source-sync/settings': ['GET', 'PUT'],
|
|
194
197
|
'/api/source-sync/standing-orders': ['GET'],
|
|
195
198
|
'/api/source-sync/standing-orders/{scopeKey}': ['PUT'],
|
|
196
199
|
'/api/source-sync/syntheses/current': ['GET'],
|