@deepraxis/sdk 0.1.1-dev.877a000 → 0.1.1-dev.8b570e7
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/METHODS.md +31 -10
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +71 -35
- package/dist/generated/sdk.gen.js +163 -63
- package/dist/generated/types.gen.d.ts +1105 -508
- package/dist/operations.generated.js +577 -218
- package/dist/resources.generated.d.ts +19 -6
- package/dist/resources.generated.js +18 -6
- package/package.json +1 -1
|
@@ -15610,6 +15610,50 @@ export type DevopsProgressiveRolloutReason = {
|
|
|
15610
15610
|
*/
|
|
15611
15611
|
reason: string;
|
|
15612
15612
|
};
|
|
15613
|
+
/**
|
|
15614
|
+
* An OpenTofu state document. Praxis stores it as written and reads only serial and lineage; every other member passes through untouched.
|
|
15615
|
+
*/
|
|
15616
|
+
export type DevopsTofuState = {
|
|
15617
|
+
/**
|
|
15618
|
+
* The state format version OpenTofu wrote.
|
|
15619
|
+
*/
|
|
15620
|
+
version?: number;
|
|
15621
|
+
/**
|
|
15622
|
+
* Increases with every state change; a write lower than the stored serial of the same lineage is refused as stale.
|
|
15623
|
+
*/
|
|
15624
|
+
serial: number;
|
|
15625
|
+
/**
|
|
15626
|
+
* Identifies one state history; it does not change across writes.
|
|
15627
|
+
*/
|
|
15628
|
+
lineage: string;
|
|
15629
|
+
[key: string]: unknown;
|
|
15630
|
+
};
|
|
15631
|
+
/**
|
|
15632
|
+
* The lock info OpenTofu sends and reads back. Only ID is required; the rest tells the next caller who holds the lock.
|
|
15633
|
+
*/
|
|
15634
|
+
export type DevopsTofuLockInfo = {
|
|
15635
|
+
/**
|
|
15636
|
+
* Identifies the lock; every write and the unlock must carry it.
|
|
15637
|
+
*/
|
|
15638
|
+
ID: string;
|
|
15639
|
+
/**
|
|
15640
|
+
* What the holder is doing, such as OperationTypeApply.
|
|
15641
|
+
*/
|
|
15642
|
+
Operation?: string;
|
|
15643
|
+
/**
|
|
15644
|
+
* The holder, user@host, shown to the caller that finds the lock held.
|
|
15645
|
+
*/
|
|
15646
|
+
Who?: string;
|
|
15647
|
+
/**
|
|
15648
|
+
* When the holder took the lock, RFC 3339.
|
|
15649
|
+
*/
|
|
15650
|
+
Created?: string;
|
|
15651
|
+
/**
|
|
15652
|
+
* Where the holder keeps its working state, informational.
|
|
15653
|
+
*/
|
|
15654
|
+
Path?: string;
|
|
15655
|
+
[key: string]: unknown;
|
|
15656
|
+
};
|
|
15613
15657
|
export type KnowledgeNativeVectorStore = {
|
|
15614
15658
|
/**
|
|
15615
15659
|
* Resource ID.
|
|
@@ -16779,6 +16823,14 @@ export type MediaJob = {
|
|
|
16779
16823
|
* Domain error code explaining the individual item failure.
|
|
16780
16824
|
*/
|
|
16781
16825
|
code: MediaMediaErrorCode;
|
|
16826
|
+
/**
|
|
16827
|
+
* The upstream model service’s finer reason for this failure, such as MODEL_PROTOCOL_LINE_UNAVAILABLE or VOICE_SAMPLE_REJECTED. Present only when the failure came from a model call; code stays the media error code to branch on.
|
|
16828
|
+
*/
|
|
16829
|
+
detail_code?: string;
|
|
16830
|
+
/**
|
|
16831
|
+
* Request id of the model call that failed, the same id shown in the model request log, so the failure can be traced there. Present only when the failure came from a model call.
|
|
16832
|
+
*/
|
|
16833
|
+
model_request_id?: string;
|
|
16782
16834
|
}>;
|
|
16783
16835
|
/**
|
|
16784
16836
|
* Generation intent used by this job; v1 supports video.generate.
|
|
@@ -17844,6 +17896,10 @@ export type SandboxSandbox = {
|
|
|
17844
17896
|
* Base domain where the sandbox traffic is accessible
|
|
17845
17897
|
*/
|
|
17846
17898
|
domain?: string;
|
|
17899
|
+
/**
|
|
17900
|
+
* What kind of machine this sandbox is, so you can decide whether to drive it as a computer without knowing which vendor placed it. full: a complete environment that runs files, commands, terminals and background processes through the data plane — drive it as a computer. light: a light machine without that. none: a single-use box that is reachable but must not be driven as a computer.
|
|
17901
|
+
*/
|
|
17902
|
+
machine?: 'light' | 'full' | 'none';
|
|
17847
17903
|
};
|
|
17848
17904
|
/**
|
|
17849
17905
|
* State of the sandbox
|
|
@@ -17886,6 +17942,10 @@ export type SandboxListedSandbox = {
|
|
|
17886
17942
|
metadata?: SandboxSandboxMetadata;
|
|
17887
17943
|
state: SandboxSandboxState;
|
|
17888
17944
|
envdVersion: SandboxEnvdVersion;
|
|
17945
|
+
/**
|
|
17946
|
+
* What kind of machine this sandbox is, so you can decide whether to drive it as a computer without knowing which vendor placed it. full: a complete environment that runs files, commands, terminals and background processes through the data plane — drive it as a computer. light: a light machine without that. none: a single-use box that is reachable but must not be driven as a computer.
|
|
17947
|
+
*/
|
|
17948
|
+
machine?: 'light' | 'full' | 'none';
|
|
17889
17949
|
/**
|
|
17890
17950
|
* Volumes mounted into the sandbox.
|
|
17891
17951
|
*/
|
|
@@ -18466,15 +18526,22 @@ export type StudioWorkCreateInput = {
|
|
|
18466
18526
|
*/
|
|
18467
18527
|
slug?: string;
|
|
18468
18528
|
goal: StudioGoal;
|
|
18469
|
-
brief?: StudioBriefInput;
|
|
18470
18529
|
/**
|
|
18471
|
-
*
|
|
18530
|
+
* Shared reference libraries to attach at creation, on top of the work's own library, which is always created with it; a library owned by another organization is refused rather than attached.
|
|
18472
18531
|
*/
|
|
18473
18532
|
codexes?: Array<string>;
|
|
18474
18533
|
/**
|
|
18475
|
-
* Style to attach to the work, whose samples and glossary then reach every context pack unless a draft overrides it.
|
|
18534
|
+
* Style to attach to the work, whose samples and glossary then reach every context pack unless a draft overrides it. A new work has no styles of its own yet, so leave this out and attach one after creating a style with work set to this work.
|
|
18476
18535
|
*/
|
|
18477
18536
|
style?: string;
|
|
18537
|
+
/**
|
|
18538
|
+
* Cover image for the work, by a file identifier that belongs to this organization; leave it out for a work with no cover.
|
|
18539
|
+
*/
|
|
18540
|
+
cover?: string;
|
|
18541
|
+
/**
|
|
18542
|
+
* Work to copy at creation, by its wk_ identifier or its slug: its own library's entries, its styles and the style it uses come into this new work as its own copies, and the source is recorded as this work's baseline. The two works are independent afterwards, and drafts are not copied. Use it to start a sequel or a variant from an existing setting instead of rebuilding the setting; a source work this organization does not own answers BASELINE_NOT_FOUND.
|
|
18543
|
+
*/
|
|
18544
|
+
based_on?: string;
|
|
18478
18545
|
labels?: StudioLabels;
|
|
18479
18546
|
/**
|
|
18480
18547
|
* Caller-chosen key that makes this create safe to repeat: the same value answers the first result instead of creating a second work.
|
|
@@ -18482,7 +18549,7 @@ export type StudioWorkCreateInput = {
|
|
|
18482
18549
|
request_id?: string;
|
|
18483
18550
|
};
|
|
18484
18551
|
/**
|
|
18485
|
-
* One work: a piece that can be delivered on its own, together with the goal it serves, the
|
|
18552
|
+
* One work: a piece that can be delivered on its own, together with the goal it serves, its cover, its drafts, the reference library of its own setting, and the libraries it draws on.
|
|
18486
18553
|
*/
|
|
18487
18554
|
export type StudioWork = {
|
|
18488
18555
|
/**
|
|
@@ -18518,15 +18585,19 @@ export type StudioWork = {
|
|
|
18518
18585
|
* Revision of the goal message alone; a draft derived from the message records the value it was built on and turns stale when this moves past it.
|
|
18519
18586
|
*/
|
|
18520
18587
|
message_revision?: number;
|
|
18521
|
-
brief: StudioBrief;
|
|
18522
18588
|
/**
|
|
18523
|
-
* Reference libraries attached to this work; their entries are what the context pack draws on while a unit is written.
|
|
18589
|
+
* Reference libraries attached to this work, the work's own library first; their entries are what the context pack draws on while a unit is written.
|
|
18524
18590
|
*/
|
|
18525
|
-
codexes
|
|
18591
|
+
codexes: Array<string>;
|
|
18526
18592
|
/**
|
|
18527
|
-
* Style attached to the work, which drafts inherit unless one overrides it; null means the work carries no style.
|
|
18593
|
+
* Style attached to the work, which drafts inherit unless one overrides it; null means the work carries no style. It is always one of this work's own styles, because a work may not use the style of another work.
|
|
18528
18594
|
*/
|
|
18529
|
-
style
|
|
18595
|
+
style: string;
|
|
18596
|
+
/**
|
|
18597
|
+
* Identifier of the cover image, or null when the work has no cover yet; the file stays in the file service and can be replaced or cleared at any time.
|
|
18598
|
+
*/
|
|
18599
|
+
cover: string;
|
|
18600
|
+
baseline: StudioWorkBaseline;
|
|
18530
18601
|
adapted_from?: StudioDerivation;
|
|
18531
18602
|
labels?: StudioLabels;
|
|
18532
18603
|
/**
|
|
@@ -18633,9 +18704,13 @@ export type StudioWorkUpdateInput = {
|
|
|
18633
18704
|
*/
|
|
18634
18705
|
codexes?: Array<string>;
|
|
18635
18706
|
/**
|
|
18636
|
-
* Style to attach to the work, replacing the previous one; send an empty value to detach the style entirely.
|
|
18707
|
+
* Style to attach to the work, replacing the previous one; send an empty value to detach the style entirely. It must be one of this work's own styles — name a style created with work set to this work — and the style of another work is refused with STYLE_NOT_IN_WORK.
|
|
18637
18708
|
*/
|
|
18638
18709
|
style?: string;
|
|
18710
|
+
/**
|
|
18711
|
+
* Cover image to set, by a file identifier that belongs to this organization, replacing the previous cover; send null with cover named in the update mask to clear the cover.
|
|
18712
|
+
*/
|
|
18713
|
+
cover?: string;
|
|
18639
18714
|
labels?: StudioLabels;
|
|
18640
18715
|
/**
|
|
18641
18716
|
* Set to true to archive the work, which hides it from the default list without deleting anything.
|
|
@@ -18657,56 +18732,17 @@ export type StudioWorkWriteResult = {
|
|
|
18657
18732
|
next?: Array<StudioTodo>;
|
|
18658
18733
|
};
|
|
18659
18734
|
/**
|
|
18660
|
-
*
|
|
18661
|
-
*/
|
|
18662
|
-
export type StudioBriefUpdateInput = {
|
|
18663
|
-
/**
|
|
18664
|
-
* Brief revision the caller read; a mismatch is refused with REVISION_CONFLICT rather than merged.
|
|
18665
|
-
*/
|
|
18666
|
-
expected_revision?: number;
|
|
18667
|
-
/**
|
|
18668
|
-
* Text to append to the stored brief, added after what is already there and never replacing it.
|
|
18669
|
-
*/
|
|
18670
|
-
text?: string;
|
|
18671
|
-
/**
|
|
18672
|
-
* Source files to keep with the brief, added to the ones already attached.
|
|
18673
|
-
*/
|
|
18674
|
-
attachments?: Array<string>;
|
|
18675
|
-
/**
|
|
18676
|
-
* New requirement points to split out of the brief; each receives the next free key in order. A plain string is a unit point; pass { text, scope: work } for a constraint on the whole piece (period, voice, point of view, cast, words to avoid).
|
|
18677
|
-
*/
|
|
18678
|
-
add_points?: Array<string | StudioBriefPointInput>;
|
|
18679
|
-
/**
|
|
18680
|
-
* Existing points to reword, each naming the key it keeps and the text that replaces it.
|
|
18681
|
-
*/
|
|
18682
|
-
edit_points?: Array<StudioBriefPointEdit>;
|
|
18683
|
-
/**
|
|
18684
|
-
* Keys of points to drop; a dropped key is never reused, so later points keep their own keys.
|
|
18685
|
-
*/
|
|
18686
|
-
remove_points?: Array<string>;
|
|
18687
|
-
};
|
|
18688
|
-
/**
|
|
18689
|
-
* The updated brief with the checks it now fails and the next items of work, so the caller continues without re-reading.
|
|
18690
|
-
*/
|
|
18691
|
-
export type StudioBriefWriteResult = {
|
|
18692
|
-
value: StudioBrief;
|
|
18693
|
-
/**
|
|
18694
|
-
* Deterministic checks run against what was just written, such as whether every brief point is claimed by a unit.
|
|
18695
|
-
*/
|
|
18696
|
-
checks?: Array<StudioCheckResult>;
|
|
18697
|
-
/**
|
|
18698
|
-
* The first few outstanding items now, which after a brief change often includes unplaced points.
|
|
18699
|
-
*/
|
|
18700
|
-
next?: Array<StudioTodo>;
|
|
18701
|
-
};
|
|
18702
|
-
/**
|
|
18703
|
-
* The draft to create inside a work: the genre it is written in, and what it starts from.
|
|
18735
|
+
* The draft to create inside a work: the genre it is written in, what it starts from, and its own brief. A draft derived from another one starts with an empty brief: the source's points and length are not its requirement.
|
|
18704
18736
|
*/
|
|
18705
18737
|
export type StudioDraftCreateInput = {
|
|
18706
18738
|
/**
|
|
18707
18739
|
* Genre key the draft is written in, taken from the genre list; it decides the unit kinds, the properties and the checks.
|
|
18708
18740
|
*/
|
|
18709
18741
|
genre: string;
|
|
18742
|
+
/**
|
|
18743
|
+
* Short name of the draft inside the work, used in every later path in place of its id; omit it and the genre gives one (novel, xiaohongshu, a numbered one when taken). Lowercase letters, digits and hyphens.
|
|
18744
|
+
*/
|
|
18745
|
+
key?: string;
|
|
18710
18746
|
/**
|
|
18711
18747
|
* Page title of the new draft; omit it and one is derived from the genre and the work title.
|
|
18712
18748
|
*/
|
|
@@ -18724,6 +18760,7 @@ export type StudioDraftCreateInput = {
|
|
|
18724
18760
|
*/
|
|
18725
18761
|
outline?: Array<StudioOutlineInput>;
|
|
18726
18762
|
derived_from?: StudioDraftSourceInput;
|
|
18763
|
+
brief?: StudioBriefInput;
|
|
18727
18764
|
/**
|
|
18728
18765
|
* Initial values for the genre properties, keyed by property key; a value the genre does not define is refused rather than stored.
|
|
18729
18766
|
*/
|
|
@@ -18803,6 +18840,53 @@ export type StudioDraftWriteResult = {
|
|
|
18803
18840
|
*/
|
|
18804
18841
|
next?: Array<StudioTodo>;
|
|
18805
18842
|
};
|
|
18843
|
+
/**
|
|
18844
|
+
* A change to one draft's brief: new material appended, the constraints replaced, points added, corrected or dropped.
|
|
18845
|
+
*/
|
|
18846
|
+
export type StudioBriefUpdateInput = {
|
|
18847
|
+
/**
|
|
18848
|
+
* Brief revision the caller read; a mismatch is refused with REVISION_CONFLICT rather than merged.
|
|
18849
|
+
*/
|
|
18850
|
+
expected_revision?: number;
|
|
18851
|
+
/**
|
|
18852
|
+
* Text to append to the stored brief, added after what is already there and never replacing it.
|
|
18853
|
+
*/
|
|
18854
|
+
text?: string;
|
|
18855
|
+
/**
|
|
18856
|
+
* The draft's constraints as one text, replacing what is there; pass an empty string to clear them.
|
|
18857
|
+
*/
|
|
18858
|
+
constraints?: string;
|
|
18859
|
+
/**
|
|
18860
|
+
* Source files to keep with the brief, added to the ones already attached.
|
|
18861
|
+
*/
|
|
18862
|
+
attachments?: Array<string>;
|
|
18863
|
+
/**
|
|
18864
|
+
* New requirement points to split out of the brief; each receives the next free key in order. A plain string is a unit point; pass { text, scope: work } for a constraint on the whole piece (period, voice, point of view, cast, words to avoid).
|
|
18865
|
+
*/
|
|
18866
|
+
add_points?: Array<string | StudioBriefPointInput>;
|
|
18867
|
+
/**
|
|
18868
|
+
* Existing points to reword, each naming the key it keeps and the text that replaces it.
|
|
18869
|
+
*/
|
|
18870
|
+
edit_points?: Array<StudioBriefPointEdit>;
|
|
18871
|
+
/**
|
|
18872
|
+
* Keys of points to drop; a dropped key is never reused, so later points keep their own keys.
|
|
18873
|
+
*/
|
|
18874
|
+
remove_points?: Array<string>;
|
|
18875
|
+
};
|
|
18876
|
+
/**
|
|
18877
|
+
* The updated brief with the checks it now fails and the next items of work, so the caller continues without re-reading.
|
|
18878
|
+
*/
|
|
18879
|
+
export type StudioBriefWriteResult = {
|
|
18880
|
+
value: StudioBrief;
|
|
18881
|
+
/**
|
|
18882
|
+
* Deterministic checks run against what was just written, such as whether every brief point is claimed by a unit.
|
|
18883
|
+
*/
|
|
18884
|
+
checks?: Array<StudioCheckResult>;
|
|
18885
|
+
/**
|
|
18886
|
+
* The first few outstanding items now, which after a brief change often includes unplaced points.
|
|
18887
|
+
*/
|
|
18888
|
+
next?: Array<StudioTodo>;
|
|
18889
|
+
};
|
|
18806
18890
|
/**
|
|
18807
18891
|
* The draft structure as one Markdown page, together with the unit list it was rendered from.
|
|
18808
18892
|
*/
|
|
@@ -19167,7 +19251,7 @@ export type StudioCodexCreateInput = {
|
|
|
19167
19251
|
labels?: StudioLabels;
|
|
19168
19252
|
};
|
|
19169
19253
|
/**
|
|
19170
|
-
* One reference library: a store of the people, places, products, sources and facts a piece draws on
|
|
19254
|
+
* One reference library: a store of the people, places, products, sources and facts a piece draws on. A library either belongs to one work — the library a work is created with — or is shared across the works of one organization.
|
|
19171
19255
|
*/
|
|
19172
19256
|
export type StudioCodex = {
|
|
19173
19257
|
/**
|
|
@@ -19202,6 +19286,10 @@ export type StudioCodex = {
|
|
|
19202
19286
|
* How many entries the library holds right now, which is what tells a caller whether the entry list still needs paging.
|
|
19203
19287
|
*/
|
|
19204
19288
|
entry_count: number;
|
|
19289
|
+
/**
|
|
19290
|
+
* Work this library belongs to, or null for a library shared across works; every work is created with one library of its own, named after it. Filter the library list by this value to read one work's own setting apart from the shared libraries.
|
|
19291
|
+
*/
|
|
19292
|
+
work: string;
|
|
19205
19293
|
labels: StudioLabels;
|
|
19206
19294
|
};
|
|
19207
19295
|
/**
|
|
@@ -19283,9 +19371,13 @@ export type StudioEntryCreateInput = {
|
|
|
19283
19371
|
[key: string]: string;
|
|
19284
19372
|
};
|
|
19285
19373
|
/**
|
|
19286
|
-
* Notes
|
|
19374
|
+
* Notes on this entry, which reach the writer's context pack on the line after the description and the facts; an empty string adds no line. Write here what the text must respect, not a private remark.
|
|
19287
19375
|
*/
|
|
19288
19376
|
notes?: string;
|
|
19377
|
+
/**
|
|
19378
|
+
* When this entry happens in the story, such as 2037 or 民国二十四年冬; at most 40 characters, and an empty string records no time. It is shown beside the entry and reaches the writer with it.
|
|
19379
|
+
*/
|
|
19380
|
+
time?: string;
|
|
19289
19381
|
/**
|
|
19290
19382
|
* When this entry reaches a context pack; when_mentioned is the default and keeps the pack small.
|
|
19291
19383
|
*/
|
|
@@ -19295,9 +19387,9 @@ export type StudioEntryCreateInput = {
|
|
|
19295
19387
|
*/
|
|
19296
19388
|
relations?: Array<StudioEntryRelationInput>;
|
|
19297
19389
|
/**
|
|
19298
|
-
*
|
|
19390
|
+
* Picture gallery of this entry, in write order: send pictures with a name and a description, or send a bare file identifier when the picture has no name yet and it is stored with both empty.
|
|
19299
19391
|
*/
|
|
19300
|
-
images?: Array<
|
|
19392
|
+
images?: Array<StudioPictureInput>;
|
|
19301
19393
|
};
|
|
19302
19394
|
/**
|
|
19303
19395
|
* One reference entry: something the text mentions and the writer should know about, with the facts that must stay consistent across units.
|
|
@@ -19362,7 +19454,7 @@ export type StudioEntry = {
|
|
|
19362
19454
|
[key: string]: string;
|
|
19363
19455
|
};
|
|
19364
19456
|
/**
|
|
19365
|
-
* Notes
|
|
19457
|
+
* Notes on this entry that reach the writer's context pack, rendered on the line after the description and the facts; an empty string adds no line. They are part of the setting rather than a private remark, so nothing that must stay out of the text belongs here.
|
|
19366
19458
|
*/
|
|
19367
19459
|
notes: string;
|
|
19368
19460
|
/**
|
|
@@ -19374,9 +19466,13 @@ export type StudioEntry = {
|
|
|
19374
19466
|
*/
|
|
19375
19467
|
relations: Array<StudioEntryRelation>;
|
|
19376
19468
|
/**
|
|
19377
|
-
*
|
|
19469
|
+
* Picture gallery of this entry, in the order the pictures were written; each carries a name and a description, and the gallery is shown beside the entry rather than sent to a writer.
|
|
19378
19470
|
*/
|
|
19379
|
-
images: Array<
|
|
19471
|
+
images: Array<StudioPicture>;
|
|
19472
|
+
/**
|
|
19473
|
+
* When this entry happens in the story, written the way the setting reads it, such as 2037 or 民国二十四年冬; an empty string means no time is recorded, which is also what entries written before this field read back as. At most 40 characters. This is the entry's own date, not a setting change recorded against a unit.
|
|
19474
|
+
*/
|
|
19475
|
+
time: string;
|
|
19380
19476
|
};
|
|
19381
19477
|
/**
|
|
19382
19478
|
* One page of reference entries with the cursor that fetches the next page.
|
|
@@ -19434,9 +19530,13 @@ export type StudioEntryUpdateInput = {
|
|
|
19434
19530
|
[key: string]: string;
|
|
19435
19531
|
};
|
|
19436
19532
|
/**
|
|
19437
|
-
* New notes
|
|
19533
|
+
* New notes on this entry, replacing the previous ones; they reach the writer's context pack on the line after the description and the facts, and an empty string removes that line.
|
|
19438
19534
|
*/
|
|
19439
19535
|
notes?: string;
|
|
19536
|
+
/**
|
|
19537
|
+
* New story time for this entry, replacing the previous one; at most 40 characters, and an empty string removes the time.
|
|
19538
|
+
*/
|
|
19539
|
+
time?: string;
|
|
19440
19540
|
/**
|
|
19441
19541
|
* When this entry reaches a context pack.
|
|
19442
19542
|
*/
|
|
@@ -19446,9 +19546,9 @@ export type StudioEntryUpdateInput = {
|
|
|
19446
19546
|
*/
|
|
19447
19547
|
relations?: Array<StudioEntryRelationInput>;
|
|
19448
19548
|
/**
|
|
19449
|
-
* Complete
|
|
19549
|
+
* Complete picture gallery for this entry, replacing the previous one and keeping the order you send; a picture left out stops being shown beside the entry.
|
|
19450
19550
|
*/
|
|
19451
|
-
images?: Array<
|
|
19551
|
+
images?: Array<StudioPictureInput>;
|
|
19452
19552
|
};
|
|
19453
19553
|
/**
|
|
19454
19554
|
* The writing style to create: its name and the sample writing that defines the voice.
|
|
@@ -19466,6 +19566,14 @@ export type StudioStyleCreateInput = {
|
|
|
19466
19566
|
* One to five paragraphs of writing in the intended voice; these paragraphs are what reach a writer, so choose them carefully.
|
|
19467
19567
|
*/
|
|
19468
19568
|
samples?: Array<string>;
|
|
19569
|
+
/**
|
|
19570
|
+
* Picture samples to store with the style, in the order you send them; a bare file identifier is stored as a picture with no name and no description.
|
|
19571
|
+
*/
|
|
19572
|
+
pictures?: Array<StudioPictureInput>;
|
|
19573
|
+
/**
|
|
19574
|
+
* Work this style should belong to, by its wk_ identifier; pass it so the work can attach the style later, since a work may only use its own styles. Omit it for a style that belongs to no single work.
|
|
19575
|
+
*/
|
|
19576
|
+
work?: string;
|
|
19469
19577
|
/**
|
|
19470
19578
|
* Wording and habits to keep, stated as instructions a writer can follow rather than as adjectives.
|
|
19471
19579
|
*/
|
|
@@ -19482,7 +19590,7 @@ export type StudioStyleCreateInput = {
|
|
|
19482
19590
|
};
|
|
19483
19591
|
};
|
|
19484
19592
|
/**
|
|
19485
|
-
* One writing style: the voice a piece is written in, held as sample writing plus the wording to use and to avoid.
|
|
19593
|
+
* One writing style: the voice a piece is written in, held as sample writing plus the wording to use and to avoid. A style belongs to one work, and a work can only use a style of its own, so the styles of another work are never attachable to it.
|
|
19486
19594
|
*/
|
|
19487
19595
|
export type StudioStyle = {
|
|
19488
19596
|
/**
|
|
@@ -19517,6 +19625,14 @@ export type StudioStyle = {
|
|
|
19517
19625
|
* One to five paragraphs of writing the piece should sound like; these paragraphs reach the context pack, so they carry the style.
|
|
19518
19626
|
*/
|
|
19519
19627
|
samples: Array<string>;
|
|
19628
|
+
/**
|
|
19629
|
+
* Picture samples of this style, in the order they were written; they show what the voice looks like on the page and are not sent to a writer.
|
|
19630
|
+
*/
|
|
19631
|
+
pictures: Array<StudioPicture>;
|
|
19632
|
+
/**
|
|
19633
|
+
* Work this style belongs to, or null for a style that belongs to no single work; a work may only use its own styles, so attaching a style of another work is refused with STYLE_NOT_IN_WORK.
|
|
19634
|
+
*/
|
|
19635
|
+
work: string;
|
|
19520
19636
|
/**
|
|
19521
19637
|
* Wording and habits to keep, such as a preferred term or a sentence rhythm, stated as instructions a writer can follow.
|
|
19522
19638
|
*/
|
|
@@ -19565,6 +19681,10 @@ export type StudioStyleUpdateInput = {
|
|
|
19565
19681
|
* Complete set of sample paragraphs, replacing the previous ones; removing a sample removes it from every later context pack.
|
|
19566
19682
|
*/
|
|
19567
19683
|
samples?: Array<string>;
|
|
19684
|
+
/**
|
|
19685
|
+
* Complete picture gallery for this style, replacing the previous one and keeping the order you send; a picture left out stops being shown.
|
|
19686
|
+
*/
|
|
19687
|
+
pictures?: Array<StudioPictureInput>;
|
|
19568
19688
|
/**
|
|
19569
19689
|
* Complete set of wording and habits to keep, replacing the previous ones.
|
|
19570
19690
|
*/
|
|
@@ -19996,11 +20116,11 @@ export type StudioReviewCreateInput = {
|
|
|
19996
20116
|
note?: string;
|
|
19997
20117
|
};
|
|
19998
20118
|
/**
|
|
19999
|
-
* One round of blind review as the sender sees it: the frozen draft revision,
|
|
20119
|
+
* One round of blind review as the sender sees it: the frozen draft revision, its seats as anonymous labels, what came back, and the round decision. Reviewers appear only by label, and the notes written to the review centre are not part of this shape.
|
|
20000
20120
|
*/
|
|
20001
20121
|
export type StudioReview = {
|
|
20002
20122
|
/**
|
|
20003
|
-
* Round identifier, the value the review path segment takes
|
|
20123
|
+
* Round identifier, the value the review path segment takes.
|
|
20004
20124
|
*/
|
|
20005
20125
|
id: string;
|
|
20006
20126
|
/**
|
|
@@ -20048,7 +20168,7 @@ export type StudioReview = {
|
|
|
20048
20168
|
*/
|
|
20049
20169
|
status: 'reviewing' | 'decided' | 'cancelled' | 'failed';
|
|
20050
20170
|
/**
|
|
20051
|
-
* The panel of this round, one entry per reviewer: the label the sender sees, the kind
|
|
20171
|
+
* The panel of this round, one entry per reviewer on the roster whose kind the round asks: the label the sender sees, the kind and how far that reviewer is. The order is the roster order, so the labels are stable for a given roster.
|
|
20052
20172
|
*/
|
|
20053
20173
|
seats: Array<StudioReviewSeat>;
|
|
20054
20174
|
/**
|
|
@@ -20064,20 +20184,12 @@ export type StudioReview = {
|
|
|
20064
20184
|
*/
|
|
20065
20185
|
decision: 'pass' | 'pass_after_revision' | 're_review' | 'reject';
|
|
20066
20186
|
screening: StudioScreeningTally;
|
|
20067
|
-
/**
|
|
20068
|
-
* True once this round has been appealed; each round takes at most one appeal.
|
|
20069
|
-
*/
|
|
20070
|
-
appealed: boolean;
|
|
20071
20187
|
/**
|
|
20072
20188
|
* Assignment record of this round, present only when view=audit was asked and the caller is an organization administrator. It names the reviewers and carries what the sender must not see, so never forward it to the sender.
|
|
20073
20189
|
*/
|
|
20074
20190
|
audit?: {
|
|
20075
20191
|
/**
|
|
20076
|
-
*
|
|
20077
|
-
*/
|
|
20078
|
-
seed: number;
|
|
20079
|
-
/**
|
|
20080
|
-
* Seats as assigned, one entry per reviewer with its label, the agent that reviewed, its kind and the tag it was drawn on.
|
|
20192
|
+
* Seats as assigned, one entry per reviewer with its label, the agent that reviewed and its kind.
|
|
20081
20193
|
*/
|
|
20082
20194
|
assignments: Array<StudioReviewerAssignment>;
|
|
20083
20195
|
/**
|
|
@@ -20104,22 +20216,9 @@ export type StudioReviewPage = {
|
|
|
20104
20216
|
next_page_token?: string;
|
|
20105
20217
|
};
|
|
20106
20218
|
/**
|
|
20107
|
-
*
|
|
20108
|
-
*/
|
|
20109
|
-
export type StudioReviewAppealInput = {
|
|
20110
|
-
/**
|
|
20111
|
-
* Reason for the appeal, recorded for the review centre; it does not reach the reviewers and cannot name which reviewer to draw.
|
|
20112
|
-
*/
|
|
20113
|
-
reason: string;
|
|
20114
|
-
};
|
|
20115
|
-
/**
|
|
20116
|
-
* How one work is reviewed: the seats that make up its panel, how many rounds it may take, and the revision these settings are at. The panel holds conditions, so the centre decides which reviewer fills each seat.
|
|
20219
|
+
* How one work is reviewed: how many rounds it may take and the revision these settings are at. Who reviews is not a setting but the work's reviewer roster, and every round asks the whole roster.
|
|
20117
20220
|
*/
|
|
20118
20221
|
export type StudioReviewSettings = {
|
|
20119
|
-
/**
|
|
20120
|
-
* Seats every round of this work is drawn against, each naming a kind, a tag and how many reviewers are drawn for it.
|
|
20121
|
-
*/
|
|
20122
|
-
seats: Array<StudioReviewerSeat>;
|
|
20123
20222
|
/**
|
|
20124
20223
|
* Most rounds this work may take, counting the first one; sending another round after that answers REVIEW_ROUND_LIMIT until a person raises this number.
|
|
20125
20224
|
*/
|
|
@@ -20130,28 +20229,24 @@ export type StudioReviewSettings = {
|
|
|
20130
20229
|
revision: number;
|
|
20131
20230
|
};
|
|
20132
20231
|
/**
|
|
20133
|
-
* The change to a work's review
|
|
20232
|
+
* The change to a work's review settings, carrying the revision it was read at.
|
|
20134
20233
|
*/
|
|
20135
20234
|
export type StudioReviewSettingsUpdateInput = {
|
|
20136
20235
|
/**
|
|
20137
20236
|
* Revision the settings read returned; a mismatch means somebody else changed the panel in between and this call is refused, so read the settings again and repeat with the new revision.
|
|
20138
20237
|
*/
|
|
20139
20238
|
expected_revision: number;
|
|
20140
|
-
/**
|
|
20141
|
-
* Seats the panel should have from now on, replacing the current seats whole; leave the field out to keep the current panel.
|
|
20142
|
-
*/
|
|
20143
|
-
seats?: Array<StudioReviewerSeat>;
|
|
20144
20239
|
/**
|
|
20145
20240
|
* Most rounds the work may take from now on, counting the first; leave the field out to keep the current limit. Rounds already sent are not undone by raising or lowering it.
|
|
20146
20241
|
*/
|
|
20147
20242
|
max_rounds?: number;
|
|
20148
20243
|
};
|
|
20149
20244
|
/**
|
|
20150
|
-
* One page of reviewers with the cursor that fetches the next page.
|
|
20245
|
+
* One page of this work's reviewers with the cursor that fetches the next page.
|
|
20151
20246
|
*/
|
|
20152
20247
|
export type StudioReviewerPage = {
|
|
20153
20248
|
/**
|
|
20154
|
-
* Reviewers
|
|
20249
|
+
* Reviewers on this page, in the order they were added, which is the order a round labels them in.
|
|
20155
20250
|
*/
|
|
20156
20251
|
items: Array<StudioReviewer>;
|
|
20157
20252
|
/**
|
|
@@ -20160,16 +20255,20 @@ export type StudioReviewerPage = {
|
|
|
20160
20255
|
next_page_token?: string;
|
|
20161
20256
|
};
|
|
20162
20257
|
/**
|
|
20163
|
-
* The
|
|
20258
|
+
* The reviewer to add to a work's roster.
|
|
20164
20259
|
*/
|
|
20165
|
-
export type
|
|
20260
|
+
export type StudioReviewerCreateInput = {
|
|
20166
20261
|
/**
|
|
20167
|
-
*
|
|
20262
|
+
* Service agent of this organization to add, by the agent_ id /v1/agents returns for it; the agent must exist in this organization and be a service agent, or the call answers REVIEWER_NOT_SERVICE_AGENT.
|
|
20168
20263
|
*/
|
|
20169
|
-
|
|
20264
|
+
agent: string;
|
|
20265
|
+
/**
|
|
20266
|
+
* Kind this reviewer reviews as on this roster: expert writes a scored report, audience fills a screening card.
|
|
20267
|
+
*/
|
|
20268
|
+
kind: 'expert' | 'audience';
|
|
20170
20269
|
};
|
|
20171
20270
|
/**
|
|
20172
|
-
* One reviewer
|
|
20271
|
+
* One reviewer on a work's roster: an agent of this organization that reviews every round of this work of its kind. Its display name comes from the agent, so it is what a person sees; the round itself only ever shows the sender a label.
|
|
20173
20272
|
*/
|
|
20174
20273
|
export type StudioReviewer = {
|
|
20175
20274
|
/**
|
|
@@ -20181,29 +20280,26 @@ export type StudioReviewer = {
|
|
|
20181
20280
|
*/
|
|
20182
20281
|
object: string;
|
|
20183
20282
|
/**
|
|
20184
|
-
*
|
|
20185
|
-
*/
|
|
20186
|
-
kind: 'expert' | 'audience';
|
|
20187
|
-
/**
|
|
20188
|
-
* Display name of the reviewer, such as 宝妈, shown where a person reads the round; it is not the identity the round keeps hidden.
|
|
20283
|
+
* Identifier of the work this roster belongs to; a reviewer is on one work's roster and has no address outside it.
|
|
20189
20284
|
*/
|
|
20190
|
-
|
|
20191
|
-
/**
|
|
20192
|
-
* Tags this reviewer matches, which decide the seats it can fill; a seat with a tag no reviewer carries cannot be drawn.
|
|
20193
|
-
*/
|
|
20194
|
-
tags: Array<string>;
|
|
20285
|
+
work: string;
|
|
20195
20286
|
/**
|
|
20196
|
-
*
|
|
20287
|
+
* Kind this reviewer reviews as on this roster, which decides which rounds ask it and what it is asked for.
|
|
20197
20288
|
*/
|
|
20198
|
-
|
|
20289
|
+
kind: 'expert' | 'audience';
|
|
20199
20290
|
/**
|
|
20200
|
-
*
|
|
20291
|
+
* Display name of the reviewer agent, such as 宝妈, shown where a person reads the roster. An agent that no longer exists still has a row, and its identifier is shown in place of a name.
|
|
20201
20292
|
*/
|
|
20202
|
-
|
|
20293
|
+
name: string;
|
|
20294
|
+
};
|
|
20295
|
+
/**
|
|
20296
|
+
* The change to one reviewer on a work's roster.
|
|
20297
|
+
*/
|
|
20298
|
+
export type StudioReviewerUpdateInput = {
|
|
20203
20299
|
/**
|
|
20204
|
-
*
|
|
20300
|
+
* Kind this reviewer reviews as from now on; rounds already sent keep the kind they were sent with.
|
|
20205
20301
|
*/
|
|
20206
|
-
|
|
20302
|
+
kind: 'expert' | 'audience';
|
|
20207
20303
|
};
|
|
20208
20304
|
export type VaultVaultPage = {
|
|
20209
20305
|
/**
|
|
@@ -31817,6 +31913,10 @@ export type MediaProvenance = {
|
|
|
31817
31913
|
* Prompt submitted for this operation, when the operation used one. Omitted for operations without a prompt, such as a plain edit.
|
|
31818
31914
|
*/
|
|
31819
31915
|
prompt?: string;
|
|
31916
|
+
/**
|
|
31917
|
+
* The generation parameters this asset was made with, recorded from the normalised request the job ran. Its kind says which parameters follow. Omitted on assets written before parameters were recorded; absent never means a default was used.
|
|
31918
|
+
*/
|
|
31919
|
+
parameters?: MediaGenerationParameters;
|
|
31820
31920
|
/**
|
|
31821
31921
|
* Assets this result was generated or edited from, each with the role it played. Empty when the operation used no reference asset.
|
|
31822
31922
|
*/
|
|
@@ -32345,9 +32445,9 @@ export type MediaSpeechCreateInput = {
|
|
|
32345
32445
|
*/
|
|
32346
32446
|
input: string;
|
|
32347
32447
|
/**
|
|
32348
|
-
* Voice
|
|
32448
|
+
* Voice to synthesize with. Omit it to use the model’s default voice. The available values are the ids in the types.speech list of GET /media/v1/generation/capabilities, beside the voices of the model you are using, plus a voice material id of this same library. A voice that is neither is refused with INVALID_PARAMS before any job is created, so a wrong name costs nothing — read the capabilities first instead of guessing. Example ids for the platform speech model: zh_female_vv_uranus_bigtts (the default), zh_female_wenroumama_uranus_bigtts (a gentle female voice), zh_male_m191_uranus_bigtts. OpenAI voice names such as alloy are not valid here.
|
|
32349
32449
|
*/
|
|
32350
|
-
voice
|
|
32450
|
+
voice?: string;
|
|
32351
32451
|
/**
|
|
32352
32452
|
* Emotion and style guidance for the synthesized speech.
|
|
32353
32453
|
*/
|
|
@@ -32834,7 +32934,7 @@ export type StudioPlatformLimits = {
|
|
|
32834
32934
|
image_formats?: Array<'jpeg' | 'png' | 'webp' | 'gif'>;
|
|
32835
32935
|
};
|
|
32836
32936
|
/**
|
|
32837
|
-
* What this work is for: who reads it, what that reader should get or do, the one message it carries,
|
|
32937
|
+
* What this work is for: who reads it, what that reader should get or do, and the one message it carries. Limits such as a length belong to a draft's brief, not to the goal; a goal with constraints or any other unknown field answers INVALID_PARAMS.
|
|
32838
32938
|
*/
|
|
32839
32939
|
export type StudioGoal = {
|
|
32840
32940
|
/**
|
|
@@ -32849,27 +32949,6 @@ export type StudioGoal = {
|
|
|
32849
32949
|
* The single message the piece carries, one sentence; changing it turns every draft derived from the message stale.
|
|
32850
32950
|
*/
|
|
32851
32951
|
message: string;
|
|
32852
|
-
/**
|
|
32853
|
-
* Length, forbidden wording, deadline and any other bound the writing must respect, carried into the context pack.
|
|
32854
|
-
*/
|
|
32855
|
-
constraints: string;
|
|
32856
|
-
};
|
|
32857
|
-
/**
|
|
32858
|
-
* The original requirement as it arrives with a new work: the person's text, any attached source files, and the points split from it.
|
|
32859
|
-
*/
|
|
32860
|
-
export type StudioBriefInput = {
|
|
32861
|
-
/**
|
|
32862
|
-
* The requirement in the person's own words, stored unchanged and handed to the writer in the context pack.
|
|
32863
|
-
*/
|
|
32864
|
-
text?: string;
|
|
32865
|
-
/**
|
|
32866
|
-
* Source files to keep with the brief, referenced by file identifiers from the file service.
|
|
32867
|
-
*/
|
|
32868
|
-
attachments?: Array<string>;
|
|
32869
|
-
/**
|
|
32870
|
-
* Requirements split out of the text, one string per point; splitting is the caller's job because software cannot read intent.
|
|
32871
|
-
*/
|
|
32872
|
-
points?: Array<string>;
|
|
32873
32952
|
};
|
|
32874
32953
|
/**
|
|
32875
32954
|
* Caller-chosen key and value pairs kept on a resource; the keys are the caller's own names and no platform meaning is attached to them.
|
|
@@ -32878,25 +32957,21 @@ export type StudioLabels = {
|
|
|
32878
32957
|
[key: string]: string;
|
|
32879
32958
|
};
|
|
32880
32959
|
/**
|
|
32881
|
-
* The
|
|
32960
|
+
* The work this one was created from, recorded at the moment of the copy, or null when the work was started from scratch. The copy is a snapshot rather than a link: after creation the two works are independent, and changing one never reaches the other.
|
|
32882
32961
|
*/
|
|
32883
|
-
export type
|
|
32962
|
+
export type StudioWorkBaseline = {
|
|
32884
32963
|
/**
|
|
32885
|
-
*
|
|
32964
|
+
* Identifier of the work that was copied; keep it to say where this work came from, and note that it is not a parent, so nothing written here flows back to it.
|
|
32886
32965
|
*/
|
|
32887
|
-
|
|
32888
|
-
/**
|
|
32889
|
-
* Files the person attached as source material, referenced by their file identifiers.
|
|
32890
|
-
*/
|
|
32891
|
-
attachments?: Array<string>;
|
|
32966
|
+
work: string;
|
|
32892
32967
|
/**
|
|
32893
|
-
*
|
|
32968
|
+
* Title the source work carried when the copy was made, kept as it was so a later rename of the source does not rewrite this history.
|
|
32894
32969
|
*/
|
|
32895
|
-
|
|
32970
|
+
title: string;
|
|
32896
32971
|
/**
|
|
32897
|
-
*
|
|
32972
|
+
* When the copy was made, in RFC 3339 UTC; it never moves afterwards.
|
|
32898
32973
|
*/
|
|
32899
|
-
|
|
32974
|
+
time: string;
|
|
32900
32975
|
};
|
|
32901
32976
|
/**
|
|
32902
32977
|
* A link back to what this resource was derived from, together with the revision it was built on; the source moving past that revision makes the derivation stale.
|
|
@@ -32998,6 +33073,18 @@ export type StudioWorkSummary = {
|
|
|
32998
33073
|
* Console address of the work, safe to show to the person who asked for it.
|
|
32999
33074
|
*/
|
|
33000
33075
|
viewer_url: string;
|
|
33076
|
+
/**
|
|
33077
|
+
* Cover file of the work, the file_ id a cover image was uploaded as, or null when the work has none.
|
|
33078
|
+
*/
|
|
33079
|
+
cover: string | null;
|
|
33080
|
+
/**
|
|
33081
|
+
* The work's one-sentence message, so a list can show it without reading each work.
|
|
33082
|
+
*/
|
|
33083
|
+
message: string;
|
|
33084
|
+
/**
|
|
33085
|
+
* Number of entries in the work's own reference libraries.
|
|
33086
|
+
*/
|
|
33087
|
+
entry_count: number;
|
|
33001
33088
|
};
|
|
33002
33089
|
/**
|
|
33003
33090
|
* One near match offered for a reference that resolved to nothing.
|
|
@@ -33153,36 +33240,6 @@ export type StudioCheckResult = {
|
|
|
33153
33240
|
*/
|
|
33154
33241
|
hard: boolean;
|
|
33155
33242
|
};
|
|
33156
|
-
/**
|
|
33157
|
-
* A new brief point with its scope.
|
|
33158
|
-
*/
|
|
33159
|
-
export type StudioBriefPointInput = {
|
|
33160
|
-
/**
|
|
33161
|
-
* The requirement itself.
|
|
33162
|
-
*/
|
|
33163
|
-
text: string;
|
|
33164
|
-
/**
|
|
33165
|
-
* unit (the default) is a requirement that must land in some unit: a plot beat, a selling point, a fact the piece has to state; a unit claims it and the coverage check follows it. work is a constraint on the whole piece that no single unit can claim: the period, the voice, the point of view, the cast, words to avoid; it is handed to every context pack and listed among the review's semantic questions, and it is left out of the coverage check.
|
|
33166
|
-
*/
|
|
33167
|
-
scope?: 'unit' | 'work';
|
|
33168
|
-
};
|
|
33169
|
-
/**
|
|
33170
|
-
* One brief point to reword, keeping its key so units that already claimed it stay attached.
|
|
33171
|
-
*/
|
|
33172
|
-
export type StudioBriefPointEdit = {
|
|
33173
|
-
/**
|
|
33174
|
-
* Key of the point to reword, taken from the brief as it currently reads.
|
|
33175
|
-
*/
|
|
33176
|
-
key: string;
|
|
33177
|
-
/**
|
|
33178
|
-
* Text that replaces the current point, usually a more specific version of the same requirement.
|
|
33179
|
-
*/
|
|
33180
|
-
text: string;
|
|
33181
|
-
/**
|
|
33182
|
-
* Move the point to the other scope; leave it out to keep the scope it has.
|
|
33183
|
-
*/
|
|
33184
|
-
scope?: 'unit' | 'work';
|
|
33185
|
-
};
|
|
33186
33243
|
/**
|
|
33187
33244
|
* One unit of an outline handed in by the caller, with its children nested inside it.
|
|
33188
33245
|
*/
|
|
@@ -33229,6 +33286,27 @@ export type StudioDraftSourceInput = {
|
|
|
33229
33286
|
*/
|
|
33230
33287
|
draft?: string;
|
|
33231
33288
|
};
|
|
33289
|
+
/**
|
|
33290
|
+
* The requirement as it arrives with a new draft: the person's text, any attached source files, the constraints and the points split from it.
|
|
33291
|
+
*/
|
|
33292
|
+
export type StudioBriefInput = {
|
|
33293
|
+
/**
|
|
33294
|
+
* The requirement in the person's own words, stored unchanged and handed to the writer in the context pack.
|
|
33295
|
+
*/
|
|
33296
|
+
text?: string;
|
|
33297
|
+
/**
|
|
33298
|
+
* Source files to keep with the brief, referenced by file identifiers from the file service.
|
|
33299
|
+
*/
|
|
33300
|
+
attachments?: Array<string>;
|
|
33301
|
+
/**
|
|
33302
|
+
* Limits this draft is written under, one per line, such as a length (3000 字以内) or banned wording; the length check reads it.
|
|
33303
|
+
*/
|
|
33304
|
+
constraints?: string;
|
|
33305
|
+
/**
|
|
33306
|
+
* Requirements split out of the text, one string per point; splitting is the caller's job because software cannot read intent.
|
|
33307
|
+
*/
|
|
33308
|
+
points?: Array<string>;
|
|
33309
|
+
};
|
|
33232
33310
|
/**
|
|
33233
33311
|
* One draft of a work: a way of delivering it in one genre, carrying the properties that genre asks for and the revisions the writes inside it compare against.
|
|
33234
33312
|
*/
|
|
@@ -33261,6 +33339,7 @@ export type StudioDraft = {
|
|
|
33261
33339
|
* In-work key of this draft, such as novel or xiaohongshu; it is the value the draft path segment takes.
|
|
33262
33340
|
*/
|
|
33263
33341
|
key: string;
|
|
33342
|
+
brief: StudioBrief;
|
|
33264
33343
|
/**
|
|
33265
33344
|
* Genre this draft was created with, which decides the kinds, properties, checks and writing rules it obeys.
|
|
33266
33345
|
*/
|
|
@@ -33313,6 +33392,61 @@ export type StudioDraft = {
|
|
|
33313
33392
|
*/
|
|
33314
33393
|
upstream_pending: boolean;
|
|
33315
33394
|
};
|
|
33395
|
+
/**
|
|
33396
|
+
* A new brief point with its scope.
|
|
33397
|
+
*/
|
|
33398
|
+
export type StudioBriefPointInput = {
|
|
33399
|
+
/**
|
|
33400
|
+
* The requirement itself.
|
|
33401
|
+
*/
|
|
33402
|
+
text: string;
|
|
33403
|
+
/**
|
|
33404
|
+
* unit (the default) is a requirement that must land in some unit: a plot beat, a selling point, a fact the piece has to state; a unit claims it and the coverage check follows it. work is a constraint on the whole piece that no single unit can claim: the period, the voice, the point of view, the cast, words to avoid; it is handed to every context pack and listed among the review's semantic questions, and it is left out of the coverage check.
|
|
33405
|
+
*/
|
|
33406
|
+
scope?: 'unit' | 'work';
|
|
33407
|
+
};
|
|
33408
|
+
/**
|
|
33409
|
+
* One brief point to reword, keeping its key so units that already claimed it stay attached.
|
|
33410
|
+
*/
|
|
33411
|
+
export type StudioBriefPointEdit = {
|
|
33412
|
+
/**
|
|
33413
|
+
* Key of the point to reword, taken from the brief as it currently reads.
|
|
33414
|
+
*/
|
|
33415
|
+
key: string;
|
|
33416
|
+
/**
|
|
33417
|
+
* Text that replaces the current point, usually a more specific version of the same requirement.
|
|
33418
|
+
*/
|
|
33419
|
+
text: string;
|
|
33420
|
+
/**
|
|
33421
|
+
* Move the point to the other scope; leave it out to keep the scope it has.
|
|
33422
|
+
*/
|
|
33423
|
+
scope?: 'unit' | 'work';
|
|
33424
|
+
};
|
|
33425
|
+
/**
|
|
33426
|
+
* The requirement of one draft kept as it was given: the person's own text, the files they attached, the points split out of it so the software can check that each one landed, and the constraints the draft is written under.
|
|
33427
|
+
*/
|
|
33428
|
+
export type StudioBrief = {
|
|
33429
|
+
/**
|
|
33430
|
+
* The requirement exactly as the person gave it, never rewritten by software; it is handed to the writer in the context pack.
|
|
33431
|
+
*/
|
|
33432
|
+
text?: string;
|
|
33433
|
+
/**
|
|
33434
|
+
* Files the person attached as source material, referenced by their file identifiers.
|
|
33435
|
+
*/
|
|
33436
|
+
attachments?: Array<string>;
|
|
33437
|
+
/**
|
|
33438
|
+
* Requirements split out of the brief, each with a stable key. A unit point no unit claims is reported as unplaced; a work point (a constraint on the whole piece) is never claimed and is checked in review instead.
|
|
33439
|
+
*/
|
|
33440
|
+
points?: Array<StudioBriefPoint>;
|
|
33441
|
+
/**
|
|
33442
|
+
* Limits this draft is written under, one per line: a length such as 3000 字以内 or 2000 字左右, banned wording, a deadline. The length check reads the length here and it replaces the genre's range; the context pack carries the text.
|
|
33443
|
+
*/
|
|
33444
|
+
constraints?: string;
|
|
33445
|
+
/**
|
|
33446
|
+
* Brief revision, independent of the draft's own revision; pass it as expected_revision when changing the brief.
|
|
33447
|
+
*/
|
|
33448
|
+
revision?: number;
|
|
33449
|
+
};
|
|
33316
33450
|
/**
|
|
33317
33451
|
* One requirement point of the brief and the units that claim it.
|
|
33318
33452
|
*/
|
|
@@ -33499,6 +33633,10 @@ export type StudioEntryRelationInput = {
|
|
|
33499
33633
|
*/
|
|
33500
33634
|
label: string;
|
|
33501
33635
|
};
|
|
33636
|
+
/**
|
|
33637
|
+
* One picture to write: either the object below, or a bare file identifier string, which is stored as a picture whose name and description are both empty. Use the object form as soon as the picture has a name a person should read, since a gallery of bare identifiers is unreadable.
|
|
33638
|
+
*/
|
|
33639
|
+
export type StudioPictureInput = string | StudioPicture;
|
|
33502
33640
|
/**
|
|
33503
33641
|
* One relation between two reference entries, named the way the library reads it.
|
|
33504
33642
|
*/
|
|
@@ -33512,6 +33650,23 @@ export type StudioEntryRelation = {
|
|
|
33512
33650
|
*/
|
|
33513
33651
|
label: string;
|
|
33514
33652
|
};
|
|
33653
|
+
/**
|
|
33654
|
+
* One picture of a gallery: a file identifier plus the two labels a person reads beside it. The order the pictures are written in is the order they are read back in, so the first is the cover of that gallery.
|
|
33655
|
+
*/
|
|
33656
|
+
export type StudioPicture = {
|
|
33657
|
+
/**
|
|
33658
|
+
* Identifier of the uploaded file, from the file service; the bytes stay there and the gallery only references them, so attaching the same file to several entries and styles does not copy it.
|
|
33659
|
+
*/
|
|
33660
|
+
file: string;
|
|
33661
|
+
/**
|
|
33662
|
+
* Short name shown under the picture, such as a view or a costume; at most 40 characters after trimming. Send an empty string when the picture has no name yet, which is what a bare file identifier in images is stored as.
|
|
33663
|
+
*/
|
|
33664
|
+
name: string;
|
|
33665
|
+
/**
|
|
33666
|
+
* What this particular picture shows and why it was chosen, such as the lighting or the angle; at most 200 characters, and an empty string means no description.
|
|
33667
|
+
*/
|
|
33668
|
+
description: string;
|
|
33669
|
+
};
|
|
33515
33670
|
/**
|
|
33516
33671
|
* One node of a template outline: the kind of unit to create and the intent it starts with.
|
|
33517
33672
|
*/
|
|
@@ -33719,25 +33874,21 @@ export type StudioActor = {
|
|
|
33719
33874
|
label?: string;
|
|
33720
33875
|
};
|
|
33721
33876
|
/**
|
|
33722
|
-
* One seat of a round as the sender sees it:
|
|
33877
|
+
* One seat of a round as the sender sees it: the label to show it as and how far that reviewer is.
|
|
33723
33878
|
*/
|
|
33724
33879
|
export type StudioReviewSeat = {
|
|
33725
33880
|
/**
|
|
33726
|
-
* Anonymised label of this reviewer inside the round, A, B, C and so on in
|
|
33881
|
+
* Anonymised label of this reviewer inside the round, A, B, C and so on in roster order; reports and screening cards name the seat by this label, and it never carries the reviewer identity.
|
|
33727
33882
|
*/
|
|
33728
33883
|
label: string;
|
|
33729
33884
|
/**
|
|
33730
|
-
* Kind
|
|
33885
|
+
* Kind this seat reviews as, taken from the work's reviewer roster.
|
|
33731
33886
|
*/
|
|
33732
33887
|
kind: 'expert' | 'audience';
|
|
33733
|
-
/**
|
|
33734
|
-
* Tag this seat was drawn on, matching the work settings; it says what sort of reader or specialist this seat is, such as 宝妈 or 出版编辑.
|
|
33735
|
-
*/
|
|
33736
|
-
tag: string;
|
|
33737
33888
|
/**
|
|
33738
33889
|
* How far this seat is.
|
|
33739
33890
|
*/
|
|
33740
|
-
state: 'waiting' | 'answered' | '
|
|
33891
|
+
state: 'waiting' | 'answered' | 'failed';
|
|
33741
33892
|
};
|
|
33742
33893
|
/**
|
|
33743
33894
|
* One expert reviewer's report as the sender sees it: the scores, the verdict and the notes on units. The confidential part of the report is not in this shape.
|
|
@@ -33854,17 +34005,13 @@ export type StudioReviewerAssignment = {
|
|
|
33854
34005
|
*/
|
|
33855
34006
|
label: string;
|
|
33856
34007
|
/**
|
|
33857
|
-
* Reviewer agent that took this seat, the value
|
|
34008
|
+
* Reviewer agent that took this seat, the value this work's reviewer list returns.
|
|
33858
34009
|
*/
|
|
33859
34010
|
agent: string;
|
|
33860
34011
|
/**
|
|
33861
|
-
* Kind
|
|
34012
|
+
* Kind this seat reviewed as.
|
|
33862
34013
|
*/
|
|
33863
34014
|
kind: 'expert' | 'audience';
|
|
33864
|
-
/**
|
|
33865
|
-
* Tag this seat was drawn on.
|
|
33866
|
-
*/
|
|
33867
|
-
tag: string;
|
|
33868
34015
|
};
|
|
33869
34016
|
/**
|
|
33870
34017
|
* The confidential part of one expert report, written to the review centre and deliberately not shown to the sender.
|
|
@@ -33892,23 +34039,6 @@ export type StudioReviewSessionRef = {
|
|
|
33892
34039
|
*/
|
|
33893
34040
|
session: string;
|
|
33894
34041
|
};
|
|
33895
|
-
/**
|
|
33896
|
-
* One seat condition of a work's review panel: which kind of reviewer, on which tag, and how many. Which reviewer fills it is decided by the draw, not here.
|
|
33897
|
-
*/
|
|
33898
|
-
export type StudioReviewerSeat = {
|
|
33899
|
-
/**
|
|
33900
|
-
* Kind of reviewer this seat asks for.
|
|
33901
|
-
*/
|
|
33902
|
-
kind: 'expert' | 'audience';
|
|
33903
|
-
/**
|
|
33904
|
-
* Tag a reviewer must carry to fill this seat, such as 宝妈 or 出版编辑; it should be one the reviewer list shows, or the seat cannot be filled.
|
|
33905
|
-
*/
|
|
33906
|
-
tag: string;
|
|
33907
|
-
/**
|
|
33908
|
-
* How many reviewers this seat asks for; the round cannot start until this many are drawn, so a work whose seats ask for more than the library holds answers REVIEWER_POOL_EMPTY.
|
|
33909
|
-
*/
|
|
33910
|
-
count: number;
|
|
33911
|
-
};
|
|
33912
34042
|
export type VaultVaultEvent = {
|
|
33913
34043
|
/**
|
|
33914
34044
|
* Unique identifier of this recorded audit event.
|
|
@@ -38571,6 +38701,80 @@ export type MediaProcessingState = 'pending' | 'processing' | 'ready' | 'partial
|
|
|
38571
38701
|
* Task state: pending awaits execution; running is executing; ready succeeded; failed terminated unsuccessfully; unsupported cannot process this input; skipped was disabled or does not apply.
|
|
38572
38702
|
*/
|
|
38573
38703
|
export type MediaKindState = 'pending' | 'running' | 'ready' | 'failed' | 'unsupported' | 'skipped';
|
|
38704
|
+
/**
|
|
38705
|
+
* What a generation or edit was asked for, as a closed set keyed by kind: speech, image, video or edit.
|
|
38706
|
+
*/
|
|
38707
|
+
export type MediaGenerationParameters = {
|
|
38708
|
+
/**
|
|
38709
|
+
* Discriminator: speech marks these as speech generation parameters.
|
|
38710
|
+
*/
|
|
38711
|
+
kind: 'speech';
|
|
38712
|
+
/**
|
|
38713
|
+
* Voice the recording was spoken with: the voice named in the request, or the model’s default voice when the request named none; a voice material id when a cloned voice was used.
|
|
38714
|
+
*/
|
|
38715
|
+
voice: string;
|
|
38716
|
+
/**
|
|
38717
|
+
* Speaking speed passed to the provider unchanged. Omitted when the request set none and the provider default applied.
|
|
38718
|
+
*/
|
|
38719
|
+
speed?: number;
|
|
38720
|
+
/**
|
|
38721
|
+
* Audio format the recording was delivered in, such as mp3, pcm or opus.
|
|
38722
|
+
*/
|
|
38723
|
+
response_format?: string;
|
|
38724
|
+
} | {
|
|
38725
|
+
/**
|
|
38726
|
+
* Discriminator: image marks these as image generation parameters.
|
|
38727
|
+
*/
|
|
38728
|
+
kind: 'image';
|
|
38729
|
+
/**
|
|
38730
|
+
* Width-to-height ratio of the requested size, reduced to lowest terms such as 16:9. Omitted when the request named no size.
|
|
38731
|
+
*/
|
|
38732
|
+
aspect_ratio?: string;
|
|
38733
|
+
/**
|
|
38734
|
+
* Number of images the request asked for; each became its own asset.
|
|
38735
|
+
*/
|
|
38736
|
+
n: number;
|
|
38737
|
+
/**
|
|
38738
|
+
* Whether the results were committed as plain images or as stickers with transparent backgrounds.
|
|
38739
|
+
*/
|
|
38740
|
+
output: 'image' | 'sticker';
|
|
38741
|
+
} | {
|
|
38742
|
+
/**
|
|
38743
|
+
* Discriminator: video marks these as video generation parameters.
|
|
38744
|
+
*/
|
|
38745
|
+
kind: 'video';
|
|
38746
|
+
/**
|
|
38747
|
+
* What the video was anchored to: text only, a first frame image, or a first and last frame.
|
|
38748
|
+
*/
|
|
38749
|
+
mode: 'text' | 'image' | 'first_last';
|
|
38750
|
+
/**
|
|
38751
|
+
* Requested clip length in seconds. Omitted when the request named none and the model default applied.
|
|
38752
|
+
*/
|
|
38753
|
+
duration_seconds?: number;
|
|
38754
|
+
/**
|
|
38755
|
+
* Requested output resolution. Omitted when the request named none and the model default applied.
|
|
38756
|
+
*/
|
|
38757
|
+
resolution?: string;
|
|
38758
|
+
/**
|
|
38759
|
+
* Width-to-height ratio of the video, such as 16:9, as the job ran it.
|
|
38760
|
+
*/
|
|
38761
|
+
aspect_ratio?: string;
|
|
38762
|
+
} | {
|
|
38763
|
+
/**
|
|
38764
|
+
* Discriminator: edit marks these as edit generation parameters.
|
|
38765
|
+
*/
|
|
38766
|
+
kind: 'edit';
|
|
38767
|
+
/**
|
|
38768
|
+
* Edit operation applied to the parent asset, such as variations or inpaint.
|
|
38769
|
+
*/
|
|
38770
|
+
operation: string;
|
|
38771
|
+
/**
|
|
38772
|
+
* The operation’s own non-text settings by name, such as strength for variations. Omitted when the operation has none.
|
|
38773
|
+
*/
|
|
38774
|
+
options?: {
|
|
38775
|
+
[key: string]: string | number | boolean;
|
|
38776
|
+
};
|
|
38777
|
+
};
|
|
38574
38778
|
export type MediaTranscriptCorrection = {
|
|
38575
38779
|
/**
|
|
38576
38780
|
* Accepted local edits, including deterministic Arabic quantity normalization. Unsupported model edits are discarded.
|
|
@@ -38692,7 +38896,7 @@ export type MediaSemanticMatch = {
|
|
|
38692
38896
|
*/
|
|
38693
38897
|
export type MediaMediaEventType = 'library.status_provisioning' | 'library.status_active' | 'library.status_deleting' | 'library.status_deleted' | 'library.status_failed' | 'library.restored' | 'library.updated' | 'asset.created' | 'asset.updated' | 'asset.overwritten' | 'asset.renamed' | 'asset.deleted' | 'understanding.status_ready' | 'understanding.status_failed' | 'understanding.status_unsupported' | 'search.indexed' | 'batch.succeeded' | 'batch.failed' | 'library.understanding_drained' | 'batch.created' | 'generation.created' | 'generation.succeeded' | 'generation.failed' | 'generation.cancelled';
|
|
38694
38898
|
/**
|
|
38695
|
-
* One model Praxis offers for a kind of generation, with what it costs.
|
|
38899
|
+
* One model Praxis offers for a kind of generation, with what it costs. A video model also carries the modes it can be driven in and the durations, aspect ratios and resolutions the platform model catalogue has registered for it (modes, duration_seconds, aspect_ratios, resolutions); those four are present on every video model of types.video and on no other type, and a list they carry empty means the platform has not registered that option yet — read them before requesting rather than assuming a value.
|
|
38696
38900
|
*/
|
|
38697
38901
|
export type MediaGenerationCapabilityModel = {
|
|
38698
38902
|
/**
|
|
@@ -38715,6 +38919,30 @@ export type MediaGenerationCapabilityModel = {
|
|
|
38715
38919
|
* What Praxis charges for this model on this type, or null when the catalogue carries no rate for it. Null is not free: it means no price is published, and the actual charge is recorded on the Job when it runs.
|
|
38716
38920
|
*/
|
|
38717
38921
|
price?: MediaGenerationCapabilityPrice | null;
|
|
38922
|
+
/**
|
|
38923
|
+
* Speech models the platform publishes voices for only: the voice a speech request of this model uses when it omits voice. Absent when the platform publishes no voice list for the model, in which case voice is required.
|
|
38924
|
+
*/
|
|
38925
|
+
default_voice?: string;
|
|
38926
|
+
/**
|
|
38927
|
+
* Speech models the platform publishes voices for only: every voice this model accepts. Pass an id from here back as voice on a speech request; a voice that is neither one of these nor a voice material of the library is refused with INVALID_PARAMS before any job is created. Absent when the platform publishes no voice list for the model.
|
|
38928
|
+
*/
|
|
38929
|
+
voices?: Array<MediaSpeechVoice>;
|
|
38930
|
+
/**
|
|
38931
|
+
* Video models only: how this model can be driven. text generates from the prompt alone; image also accepts a first frame; first_last accepts a first and a last frame. Read this before requesting video: send mode image or first_last with the frames only for a model that lists it, and send mode text for a model that lists text alone. The list comes from the platform model catalogue, so a mode absent here is a mode this model does not take.
|
|
38932
|
+
*/
|
|
38933
|
+
modes?: Array<'text' | 'image' | 'first_last'>;
|
|
38934
|
+
/**
|
|
38935
|
+
* Video models only: the durations in seconds the platform has registered for this model, ascending. Read it before requesting and pass one of these as duration_seconds; an empty list means the platform has not registered durations for the model yet, so omit duration_seconds and the model’s own default applies. It is never a substituted default: an empty list is not a claim that any duration works.
|
|
38936
|
+
*/
|
|
38937
|
+
duration_seconds?: Array<number>;
|
|
38938
|
+
/**
|
|
38939
|
+
* Video models only: the aspect ratios the platform has registered for this model, such as 16:9, 9:16 or 1:1. Read it before requesting and pass one of these as aspect_ratio; an empty list means the platform has not registered ratios for the model yet, so omit aspect_ratio and the default_aspect_ratio of this answer applies.
|
|
38940
|
+
*/
|
|
38941
|
+
aspect_ratios?: Array<string>;
|
|
38942
|
+
/**
|
|
38943
|
+
* Video models only: the quality or resolution names the platform has registered for this model, such as 720p or 1080p. Read it before requesting and pass one of these as resolution; an empty list means the platform has not registered resolutions for the model yet, so omit resolution and the model’s own default applies.
|
|
38944
|
+
*/
|
|
38945
|
+
resolutions?: Array<string>;
|
|
38718
38946
|
};
|
|
38719
38947
|
/**
|
|
38720
38948
|
* Auto-resume enabled flag for paused sandboxes. Default false.
|
|
@@ -38820,23 +39048,6 @@ export type StudioSecondRange = {
|
|
|
38820
39048
|
*/
|
|
38821
39049
|
max?: number;
|
|
38822
39050
|
};
|
|
38823
|
-
/**
|
|
38824
|
-
* One requirement taken out of the brief, kept under a stable key so units can claim it and the coverage check can follow it.
|
|
38825
|
-
*/
|
|
38826
|
-
export type StudioBriefPoint = {
|
|
38827
|
-
/**
|
|
38828
|
-
* Stable key of the point inside this work, assigned in order as p1, p2 and so on; keys are never reused after a point is dropped.
|
|
38829
|
-
*/
|
|
38830
|
-
key: string;
|
|
38831
|
-
/**
|
|
38832
|
-
* The requirement itself, short enough to be claimed by one unit and specific enough to be checked.
|
|
38833
|
-
*/
|
|
38834
|
-
text: string;
|
|
38835
|
-
/**
|
|
38836
|
-
* unit (the default) is a requirement that must land in some unit: a plot beat, a selling point, a fact the piece has to state; a unit claims it and the coverage check follows it. work is a constraint on the whole piece that no single unit can claim: the period, the voice, the point of view, the cast, words to avoid; it is handed to every context pack and listed among the review's semantic questions, and it is left out of the coverage check.
|
|
38837
|
-
*/
|
|
38838
|
-
scope?: 'unit' | 'work';
|
|
38839
|
-
};
|
|
38840
39051
|
/**
|
|
38841
39052
|
* What a draft was derived from, kept with the revision it was built on so staleness can be decided without guessing.
|
|
38842
39053
|
*/
|
|
@@ -38942,6 +39153,23 @@ export type StudioBlock = {
|
|
|
38942
39153
|
*/
|
|
38943
39154
|
level?: number;
|
|
38944
39155
|
};
|
|
39156
|
+
/**
|
|
39157
|
+
* One requirement taken out of the brief, kept under a stable key so units can claim it and the coverage check can follow it.
|
|
39158
|
+
*/
|
|
39159
|
+
export type StudioBriefPoint = {
|
|
39160
|
+
/**
|
|
39161
|
+
* Stable key of the point inside this work, assigned in order as p1, p2 and so on; keys are never reused after a point is dropped.
|
|
39162
|
+
*/
|
|
39163
|
+
key: string;
|
|
39164
|
+
/**
|
|
39165
|
+
* The requirement itself, short enough to be claimed by one unit and specific enough to be checked.
|
|
39166
|
+
*/
|
|
39167
|
+
text: string;
|
|
39168
|
+
/**
|
|
39169
|
+
* unit (the default) is a requirement that must land in some unit: a plot beat, a selling point, a fact the piece has to state; a unit claims it and the coverage check follows it. work is a constraint on the whole piece that no single unit can claim: the period, the voice, the point of view, the cast, words to avoid; it is handed to every context pack and listed among the review's semantic questions, and it is left out of the coverage check.
|
|
39170
|
+
*/
|
|
39171
|
+
scope?: 'unit' | 'work';
|
|
39172
|
+
};
|
|
38945
39173
|
/**
|
|
38946
39174
|
* One reference entry to tie to a unit, with the role it plays in this genre.
|
|
38947
39175
|
*/
|
|
@@ -40163,6 +40391,31 @@ export type MediaGenerationCapabilityPrice = {
|
|
|
40163
40391
|
[key: string]: string;
|
|
40164
40392
|
};
|
|
40165
40393
|
};
|
|
40394
|
+
/**
|
|
40395
|
+
* One voice a speech model accepts, with the words a caller needs to choose it. Cloning a voice from recordings is not available yet, so these platform voices are the only ones a speech request may name besides the library’s own voice materials.
|
|
40396
|
+
*/
|
|
40397
|
+
export type MediaSpeechVoice = {
|
|
40398
|
+
/**
|
|
40399
|
+
* Voice identifier, passed back unchanged as voice on a speech request.
|
|
40400
|
+
*/
|
|
40401
|
+
id: string;
|
|
40402
|
+
/**
|
|
40403
|
+
* Name to show a person, such as 云舟 2.0.
|
|
40404
|
+
*/
|
|
40405
|
+
name: string;
|
|
40406
|
+
/**
|
|
40407
|
+
* Voice gender, for picking a voice by description ("a gentle female voice") rather than by identifier.
|
|
40408
|
+
*/
|
|
40409
|
+
gender: 'female' | 'male';
|
|
40410
|
+
/**
|
|
40411
|
+
* Language or language pair the voice speaks, for example 中文 or 中英双语.
|
|
40412
|
+
*/
|
|
40413
|
+
language: string;
|
|
40414
|
+
/**
|
|
40415
|
+
* How the voice sounds, for example 柔和甜润 or 阳光正气; the shortest way to match a described tone to a real voice.
|
|
40416
|
+
*/
|
|
40417
|
+
style: string;
|
|
40418
|
+
};
|
|
40166
40419
|
export type SandboxSandboxIamToken = {
|
|
40167
40420
|
/**
|
|
40168
40421
|
* Audience of the workload token, stored exactly as provided.
|
|
@@ -41812,6 +42065,18 @@ export type DevopsFlagEnvironmentPath = string;
|
|
|
41812
42065
|
* The progressive rollout identifier returned by the progressive rollout create answer.
|
|
41813
42066
|
*/
|
|
41814
42067
|
export type DevopsProgressiveRolloutIdPath = string;
|
|
42068
|
+
/**
|
|
42069
|
+
* Identifies the DevOps environment (dve_…) whose deploy state you address, from the project's environment list.
|
|
42070
|
+
*/
|
|
42071
|
+
export type DevopsEnvironmentPath = string;
|
|
42072
|
+
/**
|
|
42073
|
+
* The deploy target's repository path, URL-encoded as one segment: services/ontology is written services%2Fontology.
|
|
42074
|
+
*/
|
|
42075
|
+
export type DevopsTargetPath = string;
|
|
42076
|
+
/**
|
|
42077
|
+
* The ID of the lock this call holds, exactly as OpenTofu received it from the lock call. Required while a lock is held; a missing or different ID answers 409 LOCK_CONFLICT.
|
|
42078
|
+
*/
|
|
42079
|
+
export type DevopsLockId = string;
|
|
41815
42080
|
/**
|
|
41816
42081
|
* A type name from types.list, with its dots preserved — a display label is not accepted.
|
|
41817
42082
|
*/
|
|
@@ -41900,6 +42165,10 @@ export type StudioDraftPath = string;
|
|
|
41900
42165
|
* Unit being addressed, written as its in-work number such as 12, as #12, or as its unt_ identifier; the number never changes when the unit is moved.
|
|
41901
42166
|
*/
|
|
41902
42167
|
export type StudioUnitPath = string;
|
|
42168
|
+
/**
|
|
42169
|
+
* Narrow the list to what belongs to one work, by its wk_ identifier, which is how one work's own setting is told apart from the organization's shared material; omit it to list everything this organization owns.
|
|
42170
|
+
*/
|
|
42171
|
+
export type StudioWorkFilter = string;
|
|
41903
42172
|
/**
|
|
41904
42173
|
* Reference library being addressed, given by its cdx_ identifier; a library has no name-based address, so read the library list first when only the name is known.
|
|
41905
42174
|
*/
|
|
@@ -41925,7 +42194,7 @@ export type StudioThemePath = string;
|
|
|
41925
42194
|
*/
|
|
41926
42195
|
export type StudioRenditionPath = string;
|
|
41927
42196
|
/**
|
|
41928
|
-
* Blind review round being addressed, by its rv_ identifier from the send answer or from the round list
|
|
42197
|
+
* Blind review round being addressed, by its rv_ identifier from the send answer or from the round list.
|
|
41929
42198
|
*/
|
|
41930
42199
|
export type StudioReviewPath = string;
|
|
41931
42200
|
/**
|
|
@@ -41933,11 +42202,7 @@ export type StudioReviewPath = string;
|
|
|
41933
42202
|
*/
|
|
41934
42203
|
export type StudioReviewView = 'full' | 'audit';
|
|
41935
42204
|
/**
|
|
41936
|
-
* Reviewer
|
|
41937
|
-
*/
|
|
41938
|
-
export type StudioReviewerKind = 'expert' | 'audience';
|
|
41939
|
-
/**
|
|
41940
|
-
* Reviewer being addressed, by the agent value the reviewer list returns for it; a reviewer is an agent of this organization's reviewer library, so it has no other address.
|
|
42205
|
+
* Reviewer being addressed, by the agent value this work's reviewer list returns for it; a reviewer is a member of one work's roster, so it has no address outside that work.
|
|
41941
42206
|
*/
|
|
41942
42207
|
export type StudioReviewerPath = string;
|
|
41943
42208
|
export type ApplyAgentVersionData = {
|
|
@@ -46088,7 +46353,11 @@ export type ComputersRetrieveResponses = {
|
|
|
46088
46353
|
*/
|
|
46089
46354
|
archived_at: string | null;
|
|
46090
46355
|
/**
|
|
46091
|
-
*
|
|
46356
|
+
* Kind of machine backing this computer: light is the lightweight computer, full is a full sandbox with programs, background processes and media.
|
|
46357
|
+
*/
|
|
46358
|
+
machine: 'light' | 'full';
|
|
46359
|
+
/**
|
|
46360
|
+
* Deprecated: use machine instead (light = virtual, full = sandbox). Kept for compatibility.
|
|
46092
46361
|
*/
|
|
46093
46362
|
implementation: 'virtual' | 'sandbox';
|
|
46094
46363
|
/**
|
|
@@ -82963,6 +83232,264 @@ export type DevopsProgressiveRolloutsRollbackResponses = {
|
|
|
82963
83232
|
200: DevopsProgressiveRollout;
|
|
82964
83233
|
};
|
|
82965
83234
|
export type DevopsProgressiveRolloutsRollbackResponse = DevopsProgressiveRolloutsRollbackResponses[keyof DevopsProgressiveRolloutsRollbackResponses];
|
|
83235
|
+
export type DevopsTofuStateDeleteData = {
|
|
83236
|
+
body?: never;
|
|
83237
|
+
path: {
|
|
83238
|
+
/**
|
|
83239
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
83240
|
+
*/
|
|
83241
|
+
project: string;
|
|
83242
|
+
/**
|
|
83243
|
+
* Identifies the DevOps environment (dve_…) whose deploy state you address, from the project's environment list.
|
|
83244
|
+
*/
|
|
83245
|
+
environment: string;
|
|
83246
|
+
/**
|
|
83247
|
+
* The deploy target's repository path, URL-encoded as one segment: services/ontology is written services%2Fontology.
|
|
83248
|
+
*/
|
|
83249
|
+
target: string;
|
|
83250
|
+
};
|
|
83251
|
+
query?: {
|
|
83252
|
+
/**
|
|
83253
|
+
* The ID of the lock this call holds, exactly as OpenTofu received it from the lock call. Required while a lock is held; a missing or different ID answers 409 LOCK_CONFLICT.
|
|
83254
|
+
*/
|
|
83255
|
+
ID?: string;
|
|
83256
|
+
};
|
|
83257
|
+
url: '/devops/v1/projects/{project}/environments/{environment}/targets/{target}/state';
|
|
83258
|
+
};
|
|
83259
|
+
export type DevopsTofuStateDeleteErrors = {
|
|
83260
|
+
/**
|
|
83261
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
83262
|
+
*/
|
|
83263
|
+
401: DevopsDevOpsError;
|
|
83264
|
+
/**
|
|
83265
|
+
* NOT_FOUND means the project or environment does not exist for this organization, or, on a read, that the target has no state yet. Nothing is revealed about another organization's projects. OpenTofu reads a missing state as empty.
|
|
83266
|
+
*/
|
|
83267
|
+
404: DevopsDevOpsError;
|
|
83268
|
+
/**
|
|
83269
|
+
* LOCK_CONFLICT means the state is locked by another holder or the ID names a lock that is not held; STALE_SERIAL means the write is older than the stored state of the same lineage. Nothing changed; re-run the deploy so OpenTofu takes the lock and reads the current state.
|
|
83270
|
+
*/
|
|
83271
|
+
409: DevopsDevOpsError;
|
|
83272
|
+
/**
|
|
83273
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
83274
|
+
*/
|
|
83275
|
+
500: DevopsDevOpsError;
|
|
83276
|
+
};
|
|
83277
|
+
export type DevopsTofuStateDeleteError = DevopsTofuStateDeleteErrors[keyof DevopsTofuStateDeleteErrors];
|
|
83278
|
+
export type DevopsTofuStateDeleteResponses = {
|
|
83279
|
+
/**
|
|
83280
|
+
* The current state is gone; the kept versions remain.
|
|
83281
|
+
*/
|
|
83282
|
+
200: unknown;
|
|
83283
|
+
};
|
|
83284
|
+
export type DevopsTofuStateGetData = {
|
|
83285
|
+
body?: never;
|
|
83286
|
+
path: {
|
|
83287
|
+
/**
|
|
83288
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
83289
|
+
*/
|
|
83290
|
+
project: string;
|
|
83291
|
+
/**
|
|
83292
|
+
* Identifies the DevOps environment (dve_…) whose deploy state you address, from the project's environment list.
|
|
83293
|
+
*/
|
|
83294
|
+
environment: string;
|
|
83295
|
+
/**
|
|
83296
|
+
* The deploy target's repository path, URL-encoded as one segment: services/ontology is written services%2Fontology.
|
|
83297
|
+
*/
|
|
83298
|
+
target: string;
|
|
83299
|
+
};
|
|
83300
|
+
query?: never;
|
|
83301
|
+
url: '/devops/v1/projects/{project}/environments/{environment}/targets/{target}/state';
|
|
83302
|
+
};
|
|
83303
|
+
export type DevopsTofuStateGetErrors = {
|
|
83304
|
+
/**
|
|
83305
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
83306
|
+
*/
|
|
83307
|
+
401: DevopsDevOpsError;
|
|
83308
|
+
/**
|
|
83309
|
+
* NOT_FOUND means the project or environment does not exist for this organization, or, on a read, that the target has no state yet. Nothing is revealed about another organization's projects. OpenTofu reads a missing state as empty.
|
|
83310
|
+
*/
|
|
83311
|
+
404: DevopsDevOpsError;
|
|
83312
|
+
/**
|
|
83313
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
83314
|
+
*/
|
|
83315
|
+
500: DevopsDevOpsError;
|
|
83316
|
+
};
|
|
83317
|
+
export type DevopsTofuStateGetError = DevopsTofuStateGetErrors[keyof DevopsTofuStateGetErrors];
|
|
83318
|
+
export type DevopsTofuStateGetResponses = {
|
|
83319
|
+
/**
|
|
83320
|
+
* The current state document, byte for byte as the last write stored it.
|
|
83321
|
+
*/
|
|
83322
|
+
200: DevopsTofuState;
|
|
83323
|
+
};
|
|
83324
|
+
export type DevopsTofuStateGetResponse = DevopsTofuStateGetResponses[keyof DevopsTofuStateGetResponses];
|
|
83325
|
+
export type DevopsTofuStateWriteData = {
|
|
83326
|
+
/**
|
|
83327
|
+
* The OpenTofu state document; its serial and lineage fields are required.
|
|
83328
|
+
*/
|
|
83329
|
+
body: DevopsTofuState;
|
|
83330
|
+
path: {
|
|
83331
|
+
/**
|
|
83332
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
83333
|
+
*/
|
|
83334
|
+
project: string;
|
|
83335
|
+
/**
|
|
83336
|
+
* Identifies the DevOps environment (dve_…) whose deploy state you address, from the project's environment list.
|
|
83337
|
+
*/
|
|
83338
|
+
environment: string;
|
|
83339
|
+
/**
|
|
83340
|
+
* The deploy target's repository path, URL-encoded as one segment: services/ontology is written services%2Fontology.
|
|
83341
|
+
*/
|
|
83342
|
+
target: string;
|
|
83343
|
+
};
|
|
83344
|
+
query?: {
|
|
83345
|
+
/**
|
|
83346
|
+
* The ID of the lock this call holds, exactly as OpenTofu received it from the lock call. Required while a lock is held; a missing or different ID answers 409 LOCK_CONFLICT.
|
|
83347
|
+
*/
|
|
83348
|
+
ID?: string;
|
|
83349
|
+
};
|
|
83350
|
+
url: '/devops/v1/projects/{project}/environments/{environment}/targets/{target}/state';
|
|
83351
|
+
};
|
|
83352
|
+
export type DevopsTofuStateWriteErrors = {
|
|
83353
|
+
/**
|
|
83354
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
83355
|
+
*/
|
|
83356
|
+
400: DevopsDevOpsError;
|
|
83357
|
+
/**
|
|
83358
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
83359
|
+
*/
|
|
83360
|
+
401: DevopsDevOpsError;
|
|
83361
|
+
/**
|
|
83362
|
+
* NOT_FOUND means the project or environment does not exist for this organization, or, on a read, that the target has no state yet. Nothing is revealed about another organization's projects. OpenTofu reads a missing state as empty.
|
|
83363
|
+
*/
|
|
83364
|
+
404: DevopsDevOpsError;
|
|
83365
|
+
/**
|
|
83366
|
+
* LOCK_CONFLICT means the state is locked by another holder or the ID names a lock that is not held; STALE_SERIAL means the write is older than the stored state of the same lineage. Nothing changed; re-run the deploy so OpenTofu takes the lock and reads the current state.
|
|
83367
|
+
*/
|
|
83368
|
+
409: DevopsDevOpsError;
|
|
83369
|
+
/**
|
|
83370
|
+
* PAYLOAD_TOO_LARGE means the state document is over 1 MiB; split the target's resources so each state stays smaller. Nothing was stored.
|
|
83371
|
+
*/
|
|
83372
|
+
413: DevopsDevOpsError;
|
|
83373
|
+
/**
|
|
83374
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
83375
|
+
*/
|
|
83376
|
+
500: DevopsDevOpsError;
|
|
83377
|
+
};
|
|
83378
|
+
export type DevopsTofuStateWriteError = DevopsTofuStateWriteErrors[keyof DevopsTofuStateWriteErrors];
|
|
83379
|
+
export type DevopsTofuStateWriteResponses = {
|
|
83380
|
+
/**
|
|
83381
|
+
* The state was stored and a version of it was kept.
|
|
83382
|
+
*/
|
|
83383
|
+
200: unknown;
|
|
83384
|
+
};
|
|
83385
|
+
export type DevopsTofuStateUnlockData = {
|
|
83386
|
+
/**
|
|
83387
|
+
* The lock info OpenTofu sends; only ID is read.
|
|
83388
|
+
*/
|
|
83389
|
+
body?: DevopsTofuLockInfo;
|
|
83390
|
+
path: {
|
|
83391
|
+
/**
|
|
83392
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
83393
|
+
*/
|
|
83394
|
+
project: string;
|
|
83395
|
+
/**
|
|
83396
|
+
* Identifies the DevOps environment (dve_…) whose deploy state you address, from the project's environment list.
|
|
83397
|
+
*/
|
|
83398
|
+
environment: string;
|
|
83399
|
+
/**
|
|
83400
|
+
* The deploy target's repository path, URL-encoded as one segment: services/ontology is written services%2Fontology.
|
|
83401
|
+
*/
|
|
83402
|
+
target: string;
|
|
83403
|
+
};
|
|
83404
|
+
query?: {
|
|
83405
|
+
/**
|
|
83406
|
+
* The ID of the lock this call holds, exactly as OpenTofu received it from the lock call. Required while a lock is held; a missing or different ID answers 409 LOCK_CONFLICT.
|
|
83407
|
+
*/
|
|
83408
|
+
ID?: string;
|
|
83409
|
+
};
|
|
83410
|
+
url: '/devops/v1/projects/{project}/environments/{environment}/targets/{target}/state/lock';
|
|
83411
|
+
};
|
|
83412
|
+
export type DevopsTofuStateUnlockErrors = {
|
|
83413
|
+
/**
|
|
83414
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
83415
|
+
*/
|
|
83416
|
+
400: DevopsDevOpsError;
|
|
83417
|
+
/**
|
|
83418
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
83419
|
+
*/
|
|
83420
|
+
401: DevopsDevOpsError;
|
|
83421
|
+
/**
|
|
83422
|
+
* NOT_FOUND means the project or environment does not exist for this organization, or, on a read, that the target has no state yet. Nothing is revealed about another organization's projects. OpenTofu reads a missing state as empty.
|
|
83423
|
+
*/
|
|
83424
|
+
404: DevopsDevOpsError;
|
|
83425
|
+
/**
|
|
83426
|
+
* LOCK_CONFLICT means the state is locked by another holder or the ID names a lock that is not held; STALE_SERIAL means the write is older than the stored state of the same lineage. Nothing changed; re-run the deploy so OpenTofu takes the lock and reads the current state.
|
|
83427
|
+
*/
|
|
83428
|
+
409: DevopsDevOpsError;
|
|
83429
|
+
/**
|
|
83430
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
83431
|
+
*/
|
|
83432
|
+
500: DevopsDevOpsError;
|
|
83433
|
+
};
|
|
83434
|
+
export type DevopsTofuStateUnlockError = DevopsTofuStateUnlockErrors[keyof DevopsTofuStateUnlockErrors];
|
|
83435
|
+
export type DevopsTofuStateUnlockResponses = {
|
|
83436
|
+
/**
|
|
83437
|
+
* The lock is released, or was not held.
|
|
83438
|
+
*/
|
|
83439
|
+
200: unknown;
|
|
83440
|
+
};
|
|
83441
|
+
export type DevopsTofuStateLockData = {
|
|
83442
|
+
/**
|
|
83443
|
+
* The lock info OpenTofu sends; ID is required and Who names the holder.
|
|
83444
|
+
*/
|
|
83445
|
+
body: DevopsTofuLockInfo;
|
|
83446
|
+
path: {
|
|
83447
|
+
/**
|
|
83448
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
83449
|
+
*/
|
|
83450
|
+
project: string;
|
|
83451
|
+
/**
|
|
83452
|
+
* Identifies the DevOps environment (dve_…) whose deploy state you address, from the project's environment list.
|
|
83453
|
+
*/
|
|
83454
|
+
environment: string;
|
|
83455
|
+
/**
|
|
83456
|
+
* The deploy target's repository path, URL-encoded as one segment: services/ontology is written services%2Fontology.
|
|
83457
|
+
*/
|
|
83458
|
+
target: string;
|
|
83459
|
+
};
|
|
83460
|
+
query?: never;
|
|
83461
|
+
url: '/devops/v1/projects/{project}/environments/{environment}/targets/{target}/state/lock';
|
|
83462
|
+
};
|
|
83463
|
+
export type DevopsTofuStateLockErrors = {
|
|
83464
|
+
/**
|
|
83465
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
83466
|
+
*/
|
|
83467
|
+
400: DevopsDevOpsError;
|
|
83468
|
+
/**
|
|
83469
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
83470
|
+
*/
|
|
83471
|
+
401: DevopsDevOpsError;
|
|
83472
|
+
/**
|
|
83473
|
+
* NOT_FOUND means the project or environment does not exist for this organization, or, on a read, that the target has no state yet. Nothing is revealed about another organization's projects. OpenTofu reads a missing state as empty.
|
|
83474
|
+
*/
|
|
83475
|
+
404: DevopsDevOpsError;
|
|
83476
|
+
/**
|
|
83477
|
+
* LOCKED means another holder has the lock; the body is that holder's lock info. Nothing changed.
|
|
83478
|
+
*/
|
|
83479
|
+
423: DevopsTofuLockInfo;
|
|
83480
|
+
/**
|
|
83481
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
83482
|
+
*/
|
|
83483
|
+
500: DevopsDevOpsError;
|
|
83484
|
+
};
|
|
83485
|
+
export type DevopsTofuStateLockError = DevopsTofuStateLockErrors[keyof DevopsTofuStateLockErrors];
|
|
83486
|
+
export type DevopsTofuStateLockResponses = {
|
|
83487
|
+
/**
|
|
83488
|
+
* The lock is yours; the answer repeats the lock info.
|
|
83489
|
+
*/
|
|
83490
|
+
200: DevopsTofuLockInfo;
|
|
83491
|
+
};
|
|
83492
|
+
export type DevopsTofuStateLockResponse = DevopsTofuStateLockResponses[keyof DevopsTofuStateLockResponses];
|
|
82966
83493
|
export type KnowledgeListVectorStoresData = {
|
|
82967
83494
|
body?: never;
|
|
82968
83495
|
path?: never;
|
|
@@ -87290,9 +87817,9 @@ export type MediaCreateSpeechData = {
|
|
|
87290
87817
|
*/
|
|
87291
87818
|
input: string;
|
|
87292
87819
|
/**
|
|
87293
|
-
* Voice
|
|
87820
|
+
* Voice to synthesize with. Omit it to use the model’s default voice. The available values are the ids in the types.speech list of GET /media/v1/generation/capabilities, beside the voices of the model you are using, plus a voice material id of this same library. A voice that is neither is refused with INVALID_PARAMS before any job is created, so a wrong name costs nothing — read the capabilities first instead of guessing. Example ids for the platform speech model: zh_female_vv_uranus_bigtts (the default), zh_female_wenroumama_uranus_bigtts (a gentle female voice), zh_male_m191_uranus_bigtts. OpenAI voice names such as alloy are not valid here.
|
|
87294
87821
|
*/
|
|
87295
|
-
voice
|
|
87822
|
+
voice?: string;
|
|
87296
87823
|
/**
|
|
87297
87824
|
* Emotion and style guidance for the synthesized speech.
|
|
87298
87825
|
*/
|
|
@@ -87327,7 +87854,7 @@ export type MediaCreateSpeechData = {
|
|
|
87327
87854
|
};
|
|
87328
87855
|
export type MediaCreateSpeechErrors = {
|
|
87329
87856
|
/**
|
|
87330
|
-
* OPERATION_NOT_SUPPORTED: instructions or language was sent, a response_format other than mp3 or pcm was named for a text long enough to need several segments
|
|
87857
|
+
* OPERATION_NOT_SUPPORTED: instructions or language was sent, a response_format other than mp3 or pcm was named for a text long enough to need several segments. INVALID_PARAMS: input or voice is missing, input has no speakable text, voice is blank, speed is not a number, or the text needs more than 50 segments. Correct the reported field, or split a very long text into several requests.
|
|
87331
87858
|
*/
|
|
87332
87859
|
400: MediaMediaError;
|
|
87333
87860
|
/**
|
|
@@ -90620,7 +91147,7 @@ export type StudioWorksListResponses = {
|
|
|
90620
91147
|
export type StudioWorksListResponse = StudioWorksListResponses[keyof StudioWorksListResponses];
|
|
90621
91148
|
export type StudioWorksCreateData = {
|
|
90622
91149
|
/**
|
|
90623
|
-
* The work to create: its title
|
|
91150
|
+
* The work to create: its title and the goal it serves.
|
|
90624
91151
|
*/
|
|
90625
91152
|
body: StudioWorkCreateInput;
|
|
90626
91153
|
path?: never;
|
|
@@ -90636,6 +91163,10 @@ export type StudioWorksCreateErrors = {
|
|
|
90636
91163
|
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
90637
91164
|
*/
|
|
90638
91165
|
401: StudioStudioError;
|
|
91166
|
+
/**
|
|
91167
|
+
* BASELINE_NOT_FOUND means the work named as the source of a copy does not exist in this organization, or belongs to another one; list the works and pass the wk_ identifier or slug of one of them.
|
|
91168
|
+
*/
|
|
91169
|
+
404: StudioStudioError;
|
|
90639
91170
|
/**
|
|
90640
91171
|
* SLUG_TAKEN means another work in this organization already answers to that slug, including a previously renamed one; pick a different slug or omit it and let one be derived.
|
|
90641
91172
|
*/
|
|
@@ -90648,7 +91179,7 @@ export type StudioWorksCreateErrors = {
|
|
|
90648
91179
|
export type StudioWorksCreateError = StudioWorksCreateErrors[keyof StudioWorksCreateErrors];
|
|
90649
91180
|
export type StudioWorksCreateResponses = {
|
|
90650
91181
|
/**
|
|
90651
|
-
* The new work with its goal
|
|
91182
|
+
* The new work with its goal and empty draft list; keep its slug for every later call.
|
|
90652
91183
|
*/
|
|
90653
91184
|
201: StudioWork;
|
|
90654
91185
|
};
|
|
@@ -90752,7 +91283,7 @@ export type StudioWorksUpdateData = {
|
|
|
90752
91283
|
};
|
|
90753
91284
|
export type StudioWorksUpdateErrors = {
|
|
90754
91285
|
/**
|
|
90755
|
-
* INVALID_PARAMS means a field is missing, malformed or not allowed
|
|
91286
|
+
* INVALID_PARAMS means a named field is missing, malformed or not allowed; correct it and repeat the call. STYLE_NOT_IN_WORK means the style belongs to another work, and a work may only use its own styles: list the styles with the work filter set to this work, create a style with work set to it if none fits, and attach one of those.
|
|
90756
91287
|
*/
|
|
90757
91288
|
400: StudioStudioError;
|
|
90758
91289
|
/**
|
|
@@ -90760,7 +91291,7 @@ export type StudioWorksUpdateErrors = {
|
|
|
90760
91291
|
*/
|
|
90761
91292
|
401: StudioStudioError;
|
|
90762
91293
|
/**
|
|
90763
|
-
* WORK_NOT_FOUND means
|
|
91294
|
+
* WORK_NOT_FOUND or STYLE_NOT_FOUND means the work or the style named is not reachable in this organization; read the work for a reachable address and the style list for an identifier it returns.
|
|
90764
91295
|
*/
|
|
90765
91296
|
404: StudioStudioError;
|
|
90766
91297
|
/**
|
|
@@ -90780,7 +91311,182 @@ export type StudioWorksUpdateResponses = {
|
|
|
90780
91311
|
200: StudioWorkWriteResult;
|
|
90781
91312
|
};
|
|
90782
91313
|
export type StudioWorksUpdateResponse = StudioWorksUpdateResponses[keyof StudioWorksUpdateResponses];
|
|
90783
|
-
export type
|
|
91314
|
+
export type StudioDraftsListData = {
|
|
91315
|
+
body?: never;
|
|
91316
|
+
path: {
|
|
91317
|
+
/**
|
|
91318
|
+
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
91319
|
+
*/
|
|
91320
|
+
work: string;
|
|
91321
|
+
};
|
|
91322
|
+
query?: never;
|
|
91323
|
+
url: '/studio/v1/works/{work}/drafts';
|
|
91324
|
+
};
|
|
91325
|
+
export type StudioDraftsListErrors = {
|
|
91326
|
+
/**
|
|
91327
|
+
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
91328
|
+
*/
|
|
91329
|
+
400: StudioStudioError;
|
|
91330
|
+
/**
|
|
91331
|
+
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
91332
|
+
*/
|
|
91333
|
+
401: StudioStudioError;
|
|
91334
|
+
/**
|
|
91335
|
+
* WORK_NOT_FOUND means no work in this organization matches that slug or identifier; use the value from the work list, or resolve a loose name first.
|
|
91336
|
+
*/
|
|
91337
|
+
404: StudioStudioError;
|
|
91338
|
+
/**
|
|
91339
|
+
* INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.
|
|
91340
|
+
*/
|
|
91341
|
+
500: StudioStudioError;
|
|
91342
|
+
};
|
|
91343
|
+
export type StudioDraftsListError = StudioDraftsListErrors[keyof StudioDraftsListErrors];
|
|
91344
|
+
export type StudioDraftsListResponses = {
|
|
91345
|
+
/**
|
|
91346
|
+
* Every draft of the work with its genre, revision, size and staleness.
|
|
91347
|
+
*/
|
|
91348
|
+
200: StudioDraftList;
|
|
91349
|
+
};
|
|
91350
|
+
export type StudioDraftsListResponse = StudioDraftsListResponses[keyof StudioDraftsListResponses];
|
|
91351
|
+
export type StudioDraftsCreateData = {
|
|
91352
|
+
/**
|
|
91353
|
+
* The draft to create: its genre, and optionally a title, a template, an outline and what it derives from.
|
|
91354
|
+
*/
|
|
91355
|
+
body: StudioDraftCreateInput;
|
|
91356
|
+
path: {
|
|
91357
|
+
/**
|
|
91358
|
+
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
91359
|
+
*/
|
|
91360
|
+
work: string;
|
|
91361
|
+
};
|
|
91362
|
+
query?: never;
|
|
91363
|
+
url: '/studio/v1/works/{work}/drafts';
|
|
91364
|
+
};
|
|
91365
|
+
export type StudioDraftsCreateErrors = {
|
|
91366
|
+
/**
|
|
91367
|
+
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
91368
|
+
*/
|
|
91369
|
+
400: StudioStudioError;
|
|
91370
|
+
/**
|
|
91371
|
+
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
91372
|
+
*/
|
|
91373
|
+
401: StudioStudioError;
|
|
91374
|
+
/**
|
|
91375
|
+
* WORK_NOT_FOUND or DRAFT_NOT_FOUND means the work or the draft inside it is not reachable; use the slug and the draft key from the lists, or resolve a loose name first. A draft renamed earlier still answers under its previous key.
|
|
91376
|
+
*/
|
|
91377
|
+
404: StudioStudioError;
|
|
91378
|
+
/**
|
|
91379
|
+
* DRAFT_KEY_TAKEN means another draft of this work already answers to that key; pick a different key or leave it out and let one be derived from the genre.
|
|
91380
|
+
*/
|
|
91381
|
+
409: StudioStudioError;
|
|
91382
|
+
/**
|
|
91383
|
+
* INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.
|
|
91384
|
+
*/
|
|
91385
|
+
500: StudioStudioError;
|
|
91386
|
+
};
|
|
91387
|
+
export type StudioDraftsCreateError = StudioDraftsCreateErrors[keyof StudioDraftsCreateErrors];
|
|
91388
|
+
export type StudioDraftsCreateResponses = {
|
|
91389
|
+
/**
|
|
91390
|
+
* The new draft with its unit tree, its properties and its revisions; keep the draft key for the calls inside it.
|
|
91391
|
+
*/
|
|
91392
|
+
201: StudioDraftDetail;
|
|
91393
|
+
};
|
|
91394
|
+
export type StudioDraftsCreateResponse = StudioDraftsCreateResponses[keyof StudioDraftsCreateResponses];
|
|
91395
|
+
export type StudioDraftsGetData = {
|
|
91396
|
+
body?: never;
|
|
91397
|
+
path: {
|
|
91398
|
+
/**
|
|
91399
|
+
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
91400
|
+
*/
|
|
91401
|
+
work: string;
|
|
91402
|
+
/**
|
|
91403
|
+
* Draft being addressed, either its in-work key such as novel or its drf_ identifier; a key renamed earlier still resolves through its previous value.
|
|
91404
|
+
*/
|
|
91405
|
+
draft: string;
|
|
91406
|
+
};
|
|
91407
|
+
query?: {
|
|
91408
|
+
/**
|
|
91409
|
+
* Extra parts to include, comma separated: units adds the unit tree without bodies, and status adds the computed todo list of this draft.
|
|
91410
|
+
*/
|
|
91411
|
+
expand?: Array<'units' | 'status'>;
|
|
91412
|
+
};
|
|
91413
|
+
url: '/studio/v1/works/{work}/drafts/{draft}';
|
|
91414
|
+
};
|
|
91415
|
+
export type StudioDraftsGetErrors = {
|
|
91416
|
+
/**
|
|
91417
|
+
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
91418
|
+
*/
|
|
91419
|
+
400: StudioStudioError;
|
|
91420
|
+
/**
|
|
91421
|
+
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
91422
|
+
*/
|
|
91423
|
+
401: StudioStudioError;
|
|
91424
|
+
/**
|
|
91425
|
+
* WORK_NOT_FOUND or DRAFT_NOT_FOUND means the work or the draft inside it is not reachable; use the slug and the draft key from the lists, or resolve a loose name first. A draft renamed earlier still answers under its previous key.
|
|
91426
|
+
*/
|
|
91427
|
+
404: StudioStudioError;
|
|
91428
|
+
/**
|
|
91429
|
+
* INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.
|
|
91430
|
+
*/
|
|
91431
|
+
500: StudioStudioError;
|
|
91432
|
+
};
|
|
91433
|
+
export type StudioDraftsGetError = StudioDraftsGetErrors[keyof StudioDraftsGetErrors];
|
|
91434
|
+
export type StudioDraftsGetResponses = {
|
|
91435
|
+
/**
|
|
91436
|
+
* The draft with its properties and revisions, plus its units or todos when asked for.
|
|
91437
|
+
*/
|
|
91438
|
+
200: StudioDraftDetail;
|
|
91439
|
+
};
|
|
91440
|
+
export type StudioDraftsGetResponse = StudioDraftsGetResponses[keyof StudioDraftsGetResponses];
|
|
91441
|
+
export type StudioDraftsUpdateData = {
|
|
91442
|
+
/**
|
|
91443
|
+
* The draft fields to change, with the update mask that names them.
|
|
91444
|
+
*/
|
|
91445
|
+
body: StudioDraftUpdateInput;
|
|
91446
|
+
path: {
|
|
91447
|
+
/**
|
|
91448
|
+
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
91449
|
+
*/
|
|
91450
|
+
work: string;
|
|
91451
|
+
/**
|
|
91452
|
+
* Draft being addressed, either its in-work key such as novel or its drf_ identifier; a key renamed earlier still resolves through its previous value.
|
|
91453
|
+
*/
|
|
91454
|
+
draft: string;
|
|
91455
|
+
};
|
|
91456
|
+
query?: never;
|
|
91457
|
+
url: '/studio/v1/works/{work}/drafts/{draft}';
|
|
91458
|
+
};
|
|
91459
|
+
export type StudioDraftsUpdateErrors = {
|
|
91460
|
+
/**
|
|
91461
|
+
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
91462
|
+
*/
|
|
91463
|
+
400: StudioStudioError;
|
|
91464
|
+
/**
|
|
91465
|
+
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
91466
|
+
*/
|
|
91467
|
+
401: StudioStudioError;
|
|
91468
|
+
/**
|
|
91469
|
+
* WORK_NOT_FOUND or DRAFT_NOT_FOUND means the work or the draft inside it is not reachable; use the slug and the draft key from the lists, or resolve a loose name first. A draft renamed earlier still answers under its previous key.
|
|
91470
|
+
*/
|
|
91471
|
+
404: StudioStudioError;
|
|
91472
|
+
/**
|
|
91473
|
+
* REVISION_CONFLICT means the resource changed since the expected_revision you sent, so nothing was written; re-read it, merge the other change into yours and repeat the call with the revision you just read.
|
|
91474
|
+
*/
|
|
91475
|
+
409: StudioStudioError;
|
|
91476
|
+
/**
|
|
91477
|
+
* INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.
|
|
91478
|
+
*/
|
|
91479
|
+
500: StudioStudioError;
|
|
91480
|
+
};
|
|
91481
|
+
export type StudioDraftsUpdateError = StudioDraftsUpdateErrors[keyof StudioDraftsUpdateErrors];
|
|
91482
|
+
export type StudioDraftsUpdateResponses = {
|
|
91483
|
+
/**
|
|
91484
|
+
* The updated draft with its checks and the next todos of the work.
|
|
91485
|
+
*/
|
|
91486
|
+
200: StudioDraftWriteResult;
|
|
91487
|
+
};
|
|
91488
|
+
export type StudioDraftsUpdateResponse = StudioDraftsUpdateResponses[keyof StudioDraftsUpdateResponses];
|
|
91489
|
+
export type StudioDraftsUpdateBriefData = {
|
|
90784
91490
|
/**
|
|
90785
91491
|
* The brief change: new text or points to add, points to edit, and points to drop.
|
|
90786
91492
|
*/
|
|
@@ -90790,11 +91496,15 @@ export type StudioWorksUpdateBriefData = {
|
|
|
90790
91496
|
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
90791
91497
|
*/
|
|
90792
91498
|
work: string;
|
|
91499
|
+
/**
|
|
91500
|
+
* Draft being addressed, either its in-work key such as novel or its drf_ identifier; a key renamed earlier still resolves through its previous value.
|
|
91501
|
+
*/
|
|
91502
|
+
draft: string;
|
|
90793
91503
|
};
|
|
90794
91504
|
query?: never;
|
|
90795
|
-
url: '/studio/v1/works/{work}/brief';
|
|
91505
|
+
url: '/studio/v1/works/{work}/drafts/{draft}/brief';
|
|
90796
91506
|
};
|
|
90797
|
-
export type
|
|
91507
|
+
export type StudioDraftsUpdateBriefErrors = {
|
|
90798
91508
|
/**
|
|
90799
91509
|
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
90800
91510
|
*/
|
|
@@ -90804,7 +91514,7 @@ export type StudioWorksUpdateBriefErrors = {
|
|
|
90804
91514
|
*/
|
|
90805
91515
|
401: StudioStudioError;
|
|
90806
91516
|
/**
|
|
90807
|
-
* WORK_NOT_FOUND or BRIEF_POINT_NOT_FOUND means the work is not reachable or the named brief point no longer exists; re-read the
|
|
91517
|
+
* WORK_NOT_FOUND, DRAFT_NOT_FOUND or BRIEF_POINT_NOT_FOUND means the work or draft is not reachable or the named brief point no longer exists; re-read the draft and use the point keys its brief currently carries.
|
|
90808
91518
|
*/
|
|
90809
91519
|
404: StudioStudioError;
|
|
90810
91520
|
/**
|
|
@@ -90816,189 +91526,14 @@ export type StudioWorksUpdateBriefErrors = {
|
|
|
90816
91526
|
*/
|
|
90817
91527
|
500: StudioStudioError;
|
|
90818
91528
|
};
|
|
90819
|
-
export type
|
|
90820
|
-
export type
|
|
91529
|
+
export type StudioDraftsUpdateBriefError = StudioDraftsUpdateBriefErrors[keyof StudioDraftsUpdateBriefErrors];
|
|
91530
|
+
export type StudioDraftsUpdateBriefResponses = {
|
|
90821
91531
|
/**
|
|
90822
91532
|
* The updated brief together with its checks and the next todos.
|
|
90823
91533
|
*/
|
|
90824
91534
|
200: StudioBriefWriteResult;
|
|
90825
91535
|
};
|
|
90826
|
-
export type
|
|
90827
|
-
export type StudioDraftsListData = {
|
|
90828
|
-
body?: never;
|
|
90829
|
-
path: {
|
|
90830
|
-
/**
|
|
90831
|
-
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
90832
|
-
*/
|
|
90833
|
-
work: string;
|
|
90834
|
-
};
|
|
90835
|
-
query?: never;
|
|
90836
|
-
url: '/studio/v1/works/{work}/drafts';
|
|
90837
|
-
};
|
|
90838
|
-
export type StudioDraftsListErrors = {
|
|
90839
|
-
/**
|
|
90840
|
-
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
90841
|
-
*/
|
|
90842
|
-
400: StudioStudioError;
|
|
90843
|
-
/**
|
|
90844
|
-
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
90845
|
-
*/
|
|
90846
|
-
401: StudioStudioError;
|
|
90847
|
-
/**
|
|
90848
|
-
* WORK_NOT_FOUND means no work in this organization matches that slug or identifier; use the value from the work list, or resolve a loose name first.
|
|
90849
|
-
*/
|
|
90850
|
-
404: StudioStudioError;
|
|
90851
|
-
/**
|
|
90852
|
-
* INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.
|
|
90853
|
-
*/
|
|
90854
|
-
500: StudioStudioError;
|
|
90855
|
-
};
|
|
90856
|
-
export type StudioDraftsListError = StudioDraftsListErrors[keyof StudioDraftsListErrors];
|
|
90857
|
-
export type StudioDraftsListResponses = {
|
|
90858
|
-
/**
|
|
90859
|
-
* Every draft of the work with its genre, revision, size and staleness.
|
|
90860
|
-
*/
|
|
90861
|
-
200: StudioDraftList;
|
|
90862
|
-
};
|
|
90863
|
-
export type StudioDraftsListResponse = StudioDraftsListResponses[keyof StudioDraftsListResponses];
|
|
90864
|
-
export type StudioDraftsCreateData = {
|
|
90865
|
-
/**
|
|
90866
|
-
* The draft to create: its genre, and optionally a title, a template, an outline and what it derives from.
|
|
90867
|
-
*/
|
|
90868
|
-
body: StudioDraftCreateInput;
|
|
90869
|
-
path: {
|
|
90870
|
-
/**
|
|
90871
|
-
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
90872
|
-
*/
|
|
90873
|
-
work: string;
|
|
90874
|
-
};
|
|
90875
|
-
query?: never;
|
|
90876
|
-
url: '/studio/v1/works/{work}/drafts';
|
|
90877
|
-
};
|
|
90878
|
-
export type StudioDraftsCreateErrors = {
|
|
90879
|
-
/**
|
|
90880
|
-
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
90881
|
-
*/
|
|
90882
|
-
400: StudioStudioError;
|
|
90883
|
-
/**
|
|
90884
|
-
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
90885
|
-
*/
|
|
90886
|
-
401: StudioStudioError;
|
|
90887
|
-
/**
|
|
90888
|
-
* WORK_NOT_FOUND or DRAFT_NOT_FOUND means the work or the draft inside it is not reachable; use the slug and the draft key from the lists, or resolve a loose name first. A draft renamed earlier still answers under its previous key.
|
|
90889
|
-
*/
|
|
90890
|
-
404: StudioStudioError;
|
|
90891
|
-
/**
|
|
90892
|
-
* DRAFT_KEY_TAKEN means another draft of this work already answers to that key; pick a different key or leave it out and let one be derived from the genre.
|
|
90893
|
-
*/
|
|
90894
|
-
409: StudioStudioError;
|
|
90895
|
-
/**
|
|
90896
|
-
* INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.
|
|
90897
|
-
*/
|
|
90898
|
-
500: StudioStudioError;
|
|
90899
|
-
};
|
|
90900
|
-
export type StudioDraftsCreateError = StudioDraftsCreateErrors[keyof StudioDraftsCreateErrors];
|
|
90901
|
-
export type StudioDraftsCreateResponses = {
|
|
90902
|
-
/**
|
|
90903
|
-
* The new draft with its unit tree, its properties and its revisions; keep the draft key for the calls inside it.
|
|
90904
|
-
*/
|
|
90905
|
-
201: StudioDraftDetail;
|
|
90906
|
-
};
|
|
90907
|
-
export type StudioDraftsCreateResponse = StudioDraftsCreateResponses[keyof StudioDraftsCreateResponses];
|
|
90908
|
-
export type StudioDraftsGetData = {
|
|
90909
|
-
body?: never;
|
|
90910
|
-
path: {
|
|
90911
|
-
/**
|
|
90912
|
-
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
90913
|
-
*/
|
|
90914
|
-
work: string;
|
|
90915
|
-
/**
|
|
90916
|
-
* Draft being addressed, either its in-work key such as novel or its drf_ identifier; a key renamed earlier still resolves through its previous value.
|
|
90917
|
-
*/
|
|
90918
|
-
draft: string;
|
|
90919
|
-
};
|
|
90920
|
-
query?: {
|
|
90921
|
-
/**
|
|
90922
|
-
* Extra parts to include, comma separated: units adds the unit tree without bodies, and status adds the computed todo list of this draft.
|
|
90923
|
-
*/
|
|
90924
|
-
expand?: Array<'units' | 'status'>;
|
|
90925
|
-
};
|
|
90926
|
-
url: '/studio/v1/works/{work}/drafts/{draft}';
|
|
90927
|
-
};
|
|
90928
|
-
export type StudioDraftsGetErrors = {
|
|
90929
|
-
/**
|
|
90930
|
-
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
90931
|
-
*/
|
|
90932
|
-
400: StudioStudioError;
|
|
90933
|
-
/**
|
|
90934
|
-
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
90935
|
-
*/
|
|
90936
|
-
401: StudioStudioError;
|
|
90937
|
-
/**
|
|
90938
|
-
* WORK_NOT_FOUND or DRAFT_NOT_FOUND means the work or the draft inside it is not reachable; use the slug and the draft key from the lists, or resolve a loose name first. A draft renamed earlier still answers under its previous key.
|
|
90939
|
-
*/
|
|
90940
|
-
404: StudioStudioError;
|
|
90941
|
-
/**
|
|
90942
|
-
* INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.
|
|
90943
|
-
*/
|
|
90944
|
-
500: StudioStudioError;
|
|
90945
|
-
};
|
|
90946
|
-
export type StudioDraftsGetError = StudioDraftsGetErrors[keyof StudioDraftsGetErrors];
|
|
90947
|
-
export type StudioDraftsGetResponses = {
|
|
90948
|
-
/**
|
|
90949
|
-
* The draft with its properties and revisions, plus its units or todos when asked for.
|
|
90950
|
-
*/
|
|
90951
|
-
200: StudioDraftDetail;
|
|
90952
|
-
};
|
|
90953
|
-
export type StudioDraftsGetResponse = StudioDraftsGetResponses[keyof StudioDraftsGetResponses];
|
|
90954
|
-
export type StudioDraftsUpdateData = {
|
|
90955
|
-
/**
|
|
90956
|
-
* The draft fields to change, with the update mask that names them.
|
|
90957
|
-
*/
|
|
90958
|
-
body: StudioDraftUpdateInput;
|
|
90959
|
-
path: {
|
|
90960
|
-
/**
|
|
90961
|
-
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
90962
|
-
*/
|
|
90963
|
-
work: string;
|
|
90964
|
-
/**
|
|
90965
|
-
* Draft being addressed, either its in-work key such as novel or its drf_ identifier; a key renamed earlier still resolves through its previous value.
|
|
90966
|
-
*/
|
|
90967
|
-
draft: string;
|
|
90968
|
-
};
|
|
90969
|
-
query?: never;
|
|
90970
|
-
url: '/studio/v1/works/{work}/drafts/{draft}';
|
|
90971
|
-
};
|
|
90972
|
-
export type StudioDraftsUpdateErrors = {
|
|
90973
|
-
/**
|
|
90974
|
-
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
90975
|
-
*/
|
|
90976
|
-
400: StudioStudioError;
|
|
90977
|
-
/**
|
|
90978
|
-
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
90979
|
-
*/
|
|
90980
|
-
401: StudioStudioError;
|
|
90981
|
-
/**
|
|
90982
|
-
* WORK_NOT_FOUND or DRAFT_NOT_FOUND means the work or the draft inside it is not reachable; use the slug and the draft key from the lists, or resolve a loose name first. A draft renamed earlier still answers under its previous key.
|
|
90983
|
-
*/
|
|
90984
|
-
404: StudioStudioError;
|
|
90985
|
-
/**
|
|
90986
|
-
* REVISION_CONFLICT means the resource changed since the expected_revision you sent, so nothing was written; re-read it, merge the other change into yours and repeat the call with the revision you just read.
|
|
90987
|
-
*/
|
|
90988
|
-
409: StudioStudioError;
|
|
90989
|
-
/**
|
|
90990
|
-
* INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.
|
|
90991
|
-
*/
|
|
90992
|
-
500: StudioStudioError;
|
|
90993
|
-
};
|
|
90994
|
-
export type StudioDraftsUpdateError = StudioDraftsUpdateErrors[keyof StudioDraftsUpdateErrors];
|
|
90995
|
-
export type StudioDraftsUpdateResponses = {
|
|
90996
|
-
/**
|
|
90997
|
-
* The updated draft with its checks and the next todos of the work.
|
|
90998
|
-
*/
|
|
90999
|
-
200: StudioDraftWriteResult;
|
|
91000
|
-
};
|
|
91001
|
-
export type StudioDraftsUpdateResponse = StudioDraftsUpdateResponses[keyof StudioDraftsUpdateResponses];
|
|
91536
|
+
export type StudioDraftsUpdateBriefResponse = StudioDraftsUpdateBriefResponses[keyof StudioDraftsUpdateBriefResponses];
|
|
91002
91537
|
export type StudioDraftsOutlineData = {
|
|
91003
91538
|
body?: never;
|
|
91004
91539
|
path: {
|
|
@@ -91641,6 +92176,10 @@ export type StudioCodexesListData = {
|
|
|
91641
92176
|
* Cursor from the previous answer's next_page_token; it is opaque, so pass it back unchanged and never build one from an id or an offset.
|
|
91642
92177
|
*/
|
|
91643
92178
|
page_token?: string;
|
|
92179
|
+
/**
|
|
92180
|
+
* Narrow the list to what belongs to one work, by its wk_ identifier, which is how one work's own setting is told apart from the organization's shared material; omit it to list everything this organization owns.
|
|
92181
|
+
*/
|
|
92182
|
+
work?: string;
|
|
91644
92183
|
};
|
|
91645
92184
|
url: '/studio/v1/codexes';
|
|
91646
92185
|
};
|
|
@@ -92047,6 +92586,10 @@ export type StudioStylesListData = {
|
|
|
92047
92586
|
* Cursor from the previous answer's next_page_token; it is opaque, so pass it back unchanged and never build one from an id or an offset.
|
|
92048
92587
|
*/
|
|
92049
92588
|
page_token?: string;
|
|
92589
|
+
/**
|
|
92590
|
+
* Narrow the list to what belongs to one work, by its wk_ identifier, which is how one work's own setting is told apart from the organization's shared material; omit it to list everything this organization owns.
|
|
92591
|
+
*/
|
|
92592
|
+
work?: string;
|
|
92050
92593
|
};
|
|
92051
92594
|
url: '/studio/v1/styles';
|
|
92052
92595
|
};
|
|
@@ -93003,7 +93546,7 @@ export type StudioWorksReviewsCreateErrors = {
|
|
|
93003
93546
|
*/
|
|
93004
93547
|
404: StudioStudioError;
|
|
93005
93548
|
/**
|
|
93006
|
-
* DRAFT_NOT_READY means the draft still has units without a body or fails a hard check, so finish it and send again. REVIEW_IN_PROGRESS means this draft already has a round running, so read that round or cancel it before sending another. REVIEW_ROUND_LIMIT means the work has used its max_rounds, so a person raises the limit in the review settings.
|
|
93549
|
+
* DRAFT_NOT_READY means the draft still has units without a body or fails a hard check, so finish it and send again. REVIEW_IN_PROGRESS means this draft already has a round running, so read that round or cancel it before sending another. REVIEW_ROUND_LIMIT means the work has used its max_rounds, so a person raises the limit in the review settings. NO_REVIEWERS means this work's reviewer roster has nobody of the kind this round asks, so a person adds a reviewer to the work before sending it again.
|
|
93007
93550
|
*/
|
|
93008
93551
|
409: StudioStudioError;
|
|
93009
93552
|
/**
|
|
@@ -93014,7 +93557,7 @@ export type StudioWorksReviewsCreateErrors = {
|
|
|
93014
93557
|
export type StudioWorksReviewsCreateError = StudioWorksReviewsCreateErrors[keyof StudioWorksReviewsCreateErrors];
|
|
93015
93558
|
export type StudioWorksReviewsCreateResponses = {
|
|
93016
93559
|
/**
|
|
93017
|
-
* The new round in status reviewing, with
|
|
93560
|
+
* The new round in status reviewing, with the roster asked in and its seats fixed; keep its id to read the round and to send the next one.
|
|
93018
93561
|
*/
|
|
93019
93562
|
201: StudioReview;
|
|
93020
93563
|
};
|
|
@@ -93027,7 +93570,7 @@ export type StudioWorksReviewsRetrieveData = {
|
|
|
93027
93570
|
*/
|
|
93028
93571
|
work: string;
|
|
93029
93572
|
/**
|
|
93030
|
-
* Blind review round being addressed, by its rv_ identifier from the send answer or from the round list
|
|
93573
|
+
* Blind review round being addressed, by its rv_ identifier from the send answer or from the round list.
|
|
93031
93574
|
*/
|
|
93032
93575
|
review: string;
|
|
93033
93576
|
};
|
|
@@ -93065,54 +93608,6 @@ export type StudioWorksReviewsRetrieveResponses = {
|
|
|
93065
93608
|
200: StudioReview;
|
|
93066
93609
|
};
|
|
93067
93610
|
export type StudioWorksReviewsRetrieveResponse = StudioWorksReviewsRetrieveResponses[keyof StudioWorksReviewsRetrieveResponses];
|
|
93068
|
-
export type StudioWorksReviewsAppealData = {
|
|
93069
|
-
/**
|
|
93070
|
-
* Why the outcome is being appealed, written for the review centre to read.
|
|
93071
|
-
*/
|
|
93072
|
-
body: StudioReviewAppealInput;
|
|
93073
|
-
path: {
|
|
93074
|
-
/**
|
|
93075
|
-
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
93076
|
-
*/
|
|
93077
|
-
work: string;
|
|
93078
|
-
/**
|
|
93079
|
-
* Blind review round being addressed, by its rv_ identifier from the send answer or from the round list; the identifier stays the same when the round is appealed.
|
|
93080
|
-
*/
|
|
93081
|
-
review: string;
|
|
93082
|
-
};
|
|
93083
|
-
query?: never;
|
|
93084
|
-
url: '/studio/v1/works/{work}/reviews/{review}:appeal';
|
|
93085
|
-
};
|
|
93086
|
-
export type StudioWorksReviewsAppealErrors = {
|
|
93087
|
-
/**
|
|
93088
|
-
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
93089
|
-
*/
|
|
93090
|
-
400: StudioStudioError;
|
|
93091
|
-
/**
|
|
93092
|
-
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
93093
|
-
*/
|
|
93094
|
-
401: StudioStudioError;
|
|
93095
|
-
/**
|
|
93096
|
-
* REVIEW_NOT_FOUND or WORK_NOT_FOUND means the round or its work is not reachable; use the rv_ identifier from the round list and the work slug, since a round of another organization answers the same way.
|
|
93097
|
-
*/
|
|
93098
|
-
404: StudioStudioError;
|
|
93099
|
-
/**
|
|
93100
|
-
* REVIEW_ALREADY_APPEALED means this round was already appealed once; every round takes at most one appeal, so read the round with the extra seat instead of appealing again, or send the next round with revision_of.
|
|
93101
|
-
*/
|
|
93102
|
-
409: StudioStudioError;
|
|
93103
|
-
/**
|
|
93104
|
-
* INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.
|
|
93105
|
-
*/
|
|
93106
|
-
500: StudioStudioError;
|
|
93107
|
-
};
|
|
93108
|
-
export type StudioWorksReviewsAppealError = StudioWorksReviewsAppealErrors[keyof StudioWorksReviewsAppealErrors];
|
|
93109
|
-
export type StudioWorksReviewsAppealResponses = {
|
|
93110
|
-
/**
|
|
93111
|
-
* The same round with the extra seat added and status back to reviewing.
|
|
93112
|
-
*/
|
|
93113
|
-
200: StudioReview;
|
|
93114
|
-
};
|
|
93115
|
-
export type StudioWorksReviewsAppealResponse = StudioWorksReviewsAppealResponses[keyof StudioWorksReviewsAppealResponses];
|
|
93116
93611
|
export type StudioWorksReviewsCancelData = {
|
|
93117
93612
|
body?: never;
|
|
93118
93613
|
path: {
|
|
@@ -93121,7 +93616,7 @@ export type StudioWorksReviewsCancelData = {
|
|
|
93121
93616
|
*/
|
|
93122
93617
|
work: string;
|
|
93123
93618
|
/**
|
|
93124
|
-
* Blind review round being addressed, by its rv_ identifier from the send answer or from the round list
|
|
93619
|
+
* Blind review round being addressed, by its rv_ identifier from the send answer or from the round list.
|
|
93125
93620
|
*/
|
|
93126
93621
|
review: string;
|
|
93127
93622
|
};
|
|
@@ -93138,7 +93633,7 @@ export type StudioWorksReviewsCancelErrors = {
|
|
|
93138
93633
|
*/
|
|
93139
93634
|
401: StudioStudioError;
|
|
93140
93635
|
/**
|
|
93141
|
-
* PERMISSION_DENIED means the caller is not a person of this organization:
|
|
93636
|
+
* PERMISSION_DENIED means the caller is not a person of this organization: the reviewer roster, the review settings and cancelling a round are the owner's decisions and an agent cannot make them. Report what needs to change to the person who owns the work instead of repeating the call.
|
|
93142
93637
|
*/
|
|
93143
93638
|
403: StudioStudioError;
|
|
93144
93639
|
/**
|
|
@@ -93194,14 +93689,14 @@ export type StudioWorksReviewSettingsRetrieveErrors = {
|
|
|
93194
93689
|
export type StudioWorksReviewSettingsRetrieveError = StudioWorksReviewSettingsRetrieveErrors[keyof StudioWorksReviewSettingsRetrieveErrors];
|
|
93195
93690
|
export type StudioWorksReviewSettingsRetrieveResponses = {
|
|
93196
93691
|
/**
|
|
93197
|
-
* The work's review settings with
|
|
93692
|
+
* The work's review settings with its maximum rounds and current revision.
|
|
93198
93693
|
*/
|
|
93199
93694
|
200: StudioReviewSettings;
|
|
93200
93695
|
};
|
|
93201
93696
|
export type StudioWorksReviewSettingsRetrieveResponse = StudioWorksReviewSettingsRetrieveResponses[keyof StudioWorksReviewSettingsRetrieveResponses];
|
|
93202
93697
|
export type StudioWorksReviewSettingsUpdateData = {
|
|
93203
93698
|
/**
|
|
93204
|
-
* The settings to change: the
|
|
93699
|
+
* The settings to change: the maximum rounds, and the revision the current settings were read at.
|
|
93205
93700
|
*/
|
|
93206
93701
|
body: StudioReviewSettingsUpdateInput;
|
|
93207
93702
|
path: {
|
|
@@ -93223,7 +93718,7 @@ export type StudioWorksReviewSettingsUpdateErrors = {
|
|
|
93223
93718
|
*/
|
|
93224
93719
|
401: StudioStudioError;
|
|
93225
93720
|
/**
|
|
93226
|
-
* PERMISSION_DENIED means the caller is not a person of this organization:
|
|
93721
|
+
* PERMISSION_DENIED means the caller is not a person of this organization: the reviewer roster, the review settings and cancelling a round are the owner's decisions and an agent cannot make them. Report what needs to change to the person who owns the work instead of repeating the call.
|
|
93227
93722
|
*/
|
|
93228
93723
|
403: StudioStudioError;
|
|
93229
93724
|
/**
|
|
@@ -93247,14 +93742,15 @@ export type StudioWorksReviewSettingsUpdateResponses = {
|
|
|
93247
93742
|
200: StudioReviewSettings;
|
|
93248
93743
|
};
|
|
93249
93744
|
export type StudioWorksReviewSettingsUpdateResponse = StudioWorksReviewSettingsUpdateResponses[keyof StudioWorksReviewSettingsUpdateResponses];
|
|
93250
|
-
export type
|
|
93745
|
+
export type StudioWorksReviewersListData = {
|
|
93251
93746
|
body?: never;
|
|
93252
|
-
path
|
|
93253
|
-
query?: {
|
|
93747
|
+
path: {
|
|
93254
93748
|
/**
|
|
93255
|
-
*
|
|
93749
|
+
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
93256
93750
|
*/
|
|
93257
|
-
|
|
93751
|
+
work: string;
|
|
93752
|
+
};
|
|
93753
|
+
query?: {
|
|
93258
93754
|
/**
|
|
93259
93755
|
* How many items this page returns, 1 to 100; omitted uses the service default. Treat the answer as one page, not the whole set, and keep following next_page_token while it is present.
|
|
93260
93756
|
*/
|
|
@@ -93264,9 +93760,9 @@ export type StudioReviewersListData = {
|
|
|
93264
93760
|
*/
|
|
93265
93761
|
page_token?: string;
|
|
93266
93762
|
};
|
|
93267
|
-
url: '/studio/v1/reviewers';
|
|
93763
|
+
url: '/studio/v1/works/{work}/reviewers';
|
|
93268
93764
|
};
|
|
93269
|
-
export type
|
|
93765
|
+
export type StudioWorksReviewersListErrors = {
|
|
93270
93766
|
/**
|
|
93271
93767
|
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
93272
93768
|
*/
|
|
@@ -93275,34 +93771,135 @@ export type StudioReviewersListErrors = {
|
|
|
93275
93771
|
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
93276
93772
|
*/
|
|
93277
93773
|
401: StudioStudioError;
|
|
93774
|
+
/**
|
|
93775
|
+
* WORK_NOT_FOUND means no work in this organization matches that slug or identifier; use the value from the work list, or resolve a loose name first.
|
|
93776
|
+
*/
|
|
93777
|
+
404: StudioStudioError;
|
|
93278
93778
|
/**
|
|
93279
93779
|
* INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.
|
|
93280
93780
|
*/
|
|
93281
93781
|
500: StudioStudioError;
|
|
93282
93782
|
};
|
|
93283
|
-
export type
|
|
93284
|
-
export type
|
|
93783
|
+
export type StudioWorksReviewersListError = StudioWorksReviewersListErrors[keyof StudioWorksReviewersListErrors];
|
|
93784
|
+
export type StudioWorksReviewersListResponses = {
|
|
93285
93785
|
/**
|
|
93286
|
-
* One page of reviewers with their kinds
|
|
93786
|
+
* One page of this work's reviewers with their kinds and display names, and the cursor for the next page.
|
|
93287
93787
|
*/
|
|
93288
93788
|
200: StudioReviewerPage;
|
|
93289
93789
|
};
|
|
93290
|
-
export type
|
|
93291
|
-
export type
|
|
93790
|
+
export type StudioWorksReviewersListResponse = StudioWorksReviewersListResponses[keyof StudioWorksReviewersListResponses];
|
|
93791
|
+
export type StudioWorksReviewersCreateData = {
|
|
93792
|
+
/**
|
|
93793
|
+
* The reviewer to add: the agent and the kind it reviews as on this roster.
|
|
93794
|
+
*/
|
|
93795
|
+
body: StudioReviewerCreateInput;
|
|
93796
|
+
path: {
|
|
93797
|
+
/**
|
|
93798
|
+
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
93799
|
+
*/
|
|
93800
|
+
work: string;
|
|
93801
|
+
};
|
|
93802
|
+
query?: never;
|
|
93803
|
+
url: '/studio/v1/works/{work}/reviewers';
|
|
93804
|
+
};
|
|
93805
|
+
export type StudioWorksReviewersCreateErrors = {
|
|
93806
|
+
/**
|
|
93807
|
+
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
93808
|
+
*/
|
|
93809
|
+
400: StudioStudioError;
|
|
93810
|
+
/**
|
|
93811
|
+
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
93812
|
+
*/
|
|
93813
|
+
401: StudioStudioError;
|
|
93814
|
+
/**
|
|
93815
|
+
* PERMISSION_DENIED means the caller is not a person of this organization: the reviewer roster, the review settings and cancelling a round are the owner's decisions and an agent cannot make them. Report what needs to change to the person who owns the work instead of repeating the call.
|
|
93816
|
+
*/
|
|
93817
|
+
403: StudioStudioError;
|
|
93818
|
+
/**
|
|
93819
|
+
* WORK_NOT_FOUND means no work in this organization matches that slug or identifier; use the value from the work list, or resolve a loose name first.
|
|
93820
|
+
*/
|
|
93821
|
+
404: StudioStudioError;
|
|
93822
|
+
/**
|
|
93823
|
+
* REVIEWER_NOT_SERVICE_AGENT means that agent is not a service agent of this organization, so it cannot review; add one of the organization's service agents instead. REVIEWER_ALREADY_ADDED means the agent is already on this work's roster, so change its kind with the update operation rather than adding it again.
|
|
93824
|
+
*/
|
|
93825
|
+
409: StudioStudioError;
|
|
93826
|
+
/**
|
|
93827
|
+
* INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.
|
|
93828
|
+
*/
|
|
93829
|
+
500: StudioStudioError;
|
|
93830
|
+
};
|
|
93831
|
+
export type StudioWorksReviewersCreateError = StudioWorksReviewersCreateErrors[keyof StudioWorksReviewersCreateErrors];
|
|
93832
|
+
export type StudioWorksReviewersCreateResponses = {
|
|
93833
|
+
/**
|
|
93834
|
+
* The reviewer as it now stands on the roster, with its display name.
|
|
93835
|
+
*/
|
|
93836
|
+
201: StudioReviewer;
|
|
93837
|
+
};
|
|
93838
|
+
export type StudioWorksReviewersCreateResponse = StudioWorksReviewersCreateResponses[keyof StudioWorksReviewersCreateResponses];
|
|
93839
|
+
export type StudioWorksReviewersDeleteData = {
|
|
93840
|
+
body?: never;
|
|
93841
|
+
path: {
|
|
93842
|
+
/**
|
|
93843
|
+
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
93844
|
+
*/
|
|
93845
|
+
work: string;
|
|
93846
|
+
/**
|
|
93847
|
+
* Reviewer being addressed, by the agent value this work's reviewer list returns for it; a reviewer is a member of one work's roster, so it has no address outside that work.
|
|
93848
|
+
*/
|
|
93849
|
+
agent: string;
|
|
93850
|
+
};
|
|
93851
|
+
query?: never;
|
|
93852
|
+
url: '/studio/v1/works/{work}/reviewers/{agent}';
|
|
93853
|
+
};
|
|
93854
|
+
export type StudioWorksReviewersDeleteErrors = {
|
|
93855
|
+
/**
|
|
93856
|
+
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
93857
|
+
*/
|
|
93858
|
+
400: StudioStudioError;
|
|
93859
|
+
/**
|
|
93860
|
+
* The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
|
|
93861
|
+
*/
|
|
93862
|
+
401: StudioStudioError;
|
|
93863
|
+
/**
|
|
93864
|
+
* PERMISSION_DENIED means the caller is not a person of this organization: the reviewer roster, the review settings and cancelling a round are the owner's decisions and an agent cannot make them. Report what needs to change to the person who owns the work instead of repeating the call.
|
|
93865
|
+
*/
|
|
93866
|
+
403: StudioStudioError;
|
|
93867
|
+
/**
|
|
93868
|
+
* REVIEWER_NOT_FOUND means that agent is not on this work's reviewer roster; read the work's reviewer list and pass one of the agent values it returns, since another work's reviewer answers the same way.
|
|
93869
|
+
*/
|
|
93870
|
+
404: StudioStudioError;
|
|
93871
|
+
/**
|
|
93872
|
+
* INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.
|
|
93873
|
+
*/
|
|
93874
|
+
500: StudioStudioError;
|
|
93875
|
+
};
|
|
93876
|
+
export type StudioWorksReviewersDeleteError = StudioWorksReviewersDeleteErrors[keyof StudioWorksReviewersDeleteErrors];
|
|
93877
|
+
export type StudioWorksReviewersDeleteResponses = {
|
|
93878
|
+
/**
|
|
93879
|
+
* The reviewer is off the roster; rounds already sent are unchanged.
|
|
93880
|
+
*/
|
|
93881
|
+
200: StudioDeleted;
|
|
93882
|
+
};
|
|
93883
|
+
export type StudioWorksReviewersDeleteResponse = StudioWorksReviewersDeleteResponses[keyof StudioWorksReviewersDeleteResponses];
|
|
93884
|
+
export type StudioWorksReviewersUpdateData = {
|
|
93292
93885
|
/**
|
|
93293
|
-
* The reviewer
|
|
93886
|
+
* The kind this reviewer should review as from now on.
|
|
93294
93887
|
*/
|
|
93295
93888
|
body: StudioReviewerUpdateInput;
|
|
93296
93889
|
path: {
|
|
93297
93890
|
/**
|
|
93298
|
-
*
|
|
93891
|
+
* The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value.
|
|
93892
|
+
*/
|
|
93893
|
+
work: string;
|
|
93894
|
+
/**
|
|
93895
|
+
* Reviewer being addressed, by the agent value this work's reviewer list returns for it; a reviewer is a member of one work's roster, so it has no address outside that work.
|
|
93299
93896
|
*/
|
|
93300
93897
|
agent: string;
|
|
93301
93898
|
};
|
|
93302
93899
|
query?: never;
|
|
93303
|
-
url: '/studio/v1/reviewers/{agent}';
|
|
93900
|
+
url: '/studio/v1/works/{work}/reviewers/{agent}';
|
|
93304
93901
|
};
|
|
93305
|
-
export type
|
|
93902
|
+
export type StudioWorksReviewersUpdateErrors = {
|
|
93306
93903
|
/**
|
|
93307
93904
|
* INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
|
|
93308
93905
|
*/
|
|
@@ -93312,11 +93909,11 @@ export type StudioReviewersUpdateErrors = {
|
|
|
93312
93909
|
*/
|
|
93313
93910
|
401: StudioStudioError;
|
|
93314
93911
|
/**
|
|
93315
|
-
* PERMISSION_DENIED means the caller is not a person of this organization:
|
|
93912
|
+
* PERMISSION_DENIED means the caller is not a person of this organization: the reviewer roster, the review settings and cancelling a round are the owner's decisions and an agent cannot make them. Report what needs to change to the person who owns the work instead of repeating the call.
|
|
93316
93913
|
*/
|
|
93317
93914
|
403: StudioStudioError;
|
|
93318
93915
|
/**
|
|
93319
|
-
* REVIEWER_NOT_FOUND means
|
|
93916
|
+
* REVIEWER_NOT_FOUND means that agent is not on this work's reviewer roster; read the work's reviewer list and pass one of the agent values it returns, since another work's reviewer answers the same way.
|
|
93320
93917
|
*/
|
|
93321
93918
|
404: StudioStudioError;
|
|
93322
93919
|
/**
|
|
@@ -93324,14 +93921,14 @@ export type StudioReviewersUpdateErrors = {
|
|
|
93324
93921
|
*/
|
|
93325
93922
|
500: StudioStudioError;
|
|
93326
93923
|
};
|
|
93327
|
-
export type
|
|
93328
|
-
export type
|
|
93924
|
+
export type StudioWorksReviewersUpdateError = StudioWorksReviewersUpdateErrors[keyof StudioWorksReviewersUpdateErrors];
|
|
93925
|
+
export type StudioWorksReviewersUpdateResponses = {
|
|
93329
93926
|
/**
|
|
93330
|
-
* The reviewer with its new
|
|
93927
|
+
* The reviewer with its new kind; the rest of its entry is unchanged.
|
|
93331
93928
|
*/
|
|
93332
93929
|
200: StudioReviewer;
|
|
93333
93930
|
};
|
|
93334
|
-
export type
|
|
93931
|
+
export type StudioWorksReviewersUpdateResponse = StudioWorksReviewersUpdateResponses[keyof StudioWorksReviewersUpdateResponses];
|
|
93335
93932
|
export type VaultListVaultsData = {
|
|
93336
93933
|
body?: never;
|
|
93337
93934
|
path?: never;
|